wp/wp-includes/js/dist/block-library.js
changeset 16 a86126ab1dd4
parent 9 177826044cd9
child 18 be944660c56a
equal deleted inserted replaced
15:3d4e9c994f10 16:a86126ab1dd4
    80 /******/ 	// __webpack_public_path__
    80 /******/ 	// __webpack_public_path__
    81 /******/ 	__webpack_require__.p = "";
    81 /******/ 	__webpack_require__.p = "";
    82 /******/
    82 /******/
    83 /******/
    83 /******/
    84 /******/ 	// Load entry module and return exports
    84 /******/ 	// Load entry module and return exports
    85 /******/ 	return __webpack_require__(__webpack_require__.s = 256);
    85 /******/ 	return __webpack_require__(__webpack_require__.s = 436);
    86 /******/ })
    86 /******/ })
    87 /************************************************************************/
    87 /************************************************************************/
    88 /******/ ([
    88 /******/ ({
    89 /* 0 */
    89 
       
    90 /***/ 0:
    90 /***/ (function(module, exports) {
    91 /***/ (function(module, exports) {
    91 
    92 
    92 (function() { module.exports = this["wp"]["element"]; }());
    93 (function() { module.exports = this["wp"]["element"]; }());
    93 
    94 
    94 /***/ }),
    95 /***/ }),
    95 /* 1 */
    96 
       
    97 /***/ 1:
    96 /***/ (function(module, exports) {
    98 /***/ (function(module, exports) {
    97 
    99 
    98 (function() { module.exports = this["wp"]["i18n"]; }());
   100 (function() { module.exports = this["wp"]["i18n"]; }());
    99 
   101 
   100 /***/ }),
   102 /***/ }),
   101 /* 2 */
   103 
       
   104 /***/ 10:
   102 /***/ (function(module, exports) {
   105 /***/ (function(module, exports) {
   103 
   106 
   104 (function() { module.exports = this["lodash"]; }());
   107 (function() { module.exports = this["wp"]["blocks"]; }());
   105 
   108 
   106 /***/ }),
   109 /***/ }),
   107 /* 3 */
   110 
   108 /***/ (function(module, __webpack_exports__, __webpack_require__) {
   111 /***/ 100:
   109 
   112 /***/ (function(module, exports) {
   110 "use strict";
   113 
   111 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _assertThisInitialized; });
   114 (function() { module.exports = this["wp"]["notices"]; }());
   112 function _assertThisInitialized(self) {
       
   113   if (self === void 0) {
       
   114     throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
       
   115   }
       
   116 
       
   117   return self;
       
   118 }
       
   119 
   115 
   120 /***/ }),
   116 /***/ }),
   121 /* 4 */
   117 
       
   118 /***/ 103:
   122 /***/ (function(module, exports) {
   119 /***/ (function(module, exports) {
   123 
   120 
   124 (function() { module.exports = this["wp"]["components"]; }());
   121 (function() { module.exports = this["wp"]["autop"]; }());
   125 
   122 
   126 /***/ }),
   123 /***/ }),
   127 /* 5 */
   124 
   128 /***/ (function(module, exports) {
   125 /***/ 105:
   129 
   126 /***/ (function(module, exports, __webpack_require__) {
   130 (function() { module.exports = this["wp"]["data"]; }());
   127 
       
   128 var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
       
   129   Copyright (c) 2017 Jed Watson.
       
   130   Licensed under the MIT License (MIT), see
       
   131   http://jedwatson.github.io/classnames
       
   132 */
       
   133 /* global define */
       
   134 
       
   135 (function () {
       
   136 	'use strict';
       
   137 
       
   138 	var classNames = (function () {
       
   139 		// don't inherit from Object so we can skip hasOwnProperty check later
       
   140 		// http://stackoverflow.com/questions/15518328/creating-js-object-with-object-createnull#answer-21079232
       
   141 		function StorageObject() {}
       
   142 		StorageObject.prototype = Object.create(null);
       
   143 
       
   144 		function _parseArray (resultSet, array) {
       
   145 			var length = array.length;
       
   146 
       
   147 			for (var i = 0; i < length; ++i) {
       
   148 				_parse(resultSet, array[i]);
       
   149 			}
       
   150 		}
       
   151 
       
   152 		var hasOwn = {}.hasOwnProperty;
       
   153 
       
   154 		function _parseNumber (resultSet, num) {
       
   155 			resultSet[num] = true;
       
   156 		}
       
   157 
       
   158 		function _parseObject (resultSet, object) {
       
   159 			for (var k in object) {
       
   160 				if (hasOwn.call(object, k)) {
       
   161 					// set value to false instead of deleting it to avoid changing object structure
       
   162 					// https://www.smashingmagazine.com/2012/11/writing-fast-memory-efficient-javascript/#de-referencing-misconceptions
       
   163 					resultSet[k] = !!object[k];
       
   164 				}
       
   165 			}
       
   166 		}
       
   167 
       
   168 		var SPACE = /\s+/;
       
   169 		function _parseString (resultSet, str) {
       
   170 			var array = str.split(SPACE);
       
   171 			var length = array.length;
       
   172 
       
   173 			for (var i = 0; i < length; ++i) {
       
   174 				resultSet[array[i]] = true;
       
   175 			}
       
   176 		}
       
   177 
       
   178 		function _parse (resultSet, arg) {
       
   179 			if (!arg) return;
       
   180 			var argType = typeof arg;
       
   181 
       
   182 			// 'foo bar'
       
   183 			if (argType === 'string') {
       
   184 				_parseString(resultSet, arg);
       
   185 
       
   186 			// ['foo', 'bar', ...]
       
   187 			} else if (Array.isArray(arg)) {
       
   188 				_parseArray(resultSet, arg);
       
   189 
       
   190 			// { 'foo': true, ... }
       
   191 			} else if (argType === 'object') {
       
   192 				_parseObject(resultSet, arg);
       
   193 
       
   194 			// '130'
       
   195 			} else if (argType === 'number') {
       
   196 				_parseNumber(resultSet, arg);
       
   197 			}
       
   198 		}
       
   199 
       
   200 		function _classNames () {
       
   201 			// don't leak arguments
       
   202 			// https://github.com/petkaantonov/bluebird/wiki/Optimization-killers#32-leaking-arguments
       
   203 			var len = arguments.length;
       
   204 			var args = Array(len);
       
   205 			for (var i = 0; i < len; i++) {
       
   206 				args[i] = arguments[i];
       
   207 			}
       
   208 
       
   209 			var classSet = new StorageObject();
       
   210 			_parseArray(classSet, args);
       
   211 
       
   212 			var list = [];
       
   213 
       
   214 			for (var k in classSet) {
       
   215 				if (classSet[k]) {
       
   216 					list.push(k)
       
   217 				}
       
   218 			}
       
   219 
       
   220 			return list.join(' ');
       
   221 		}
       
   222 
       
   223 		return _classNames;
       
   224 	})();
       
   225 
       
   226 	if ( true && module.exports) {
       
   227 		classNames.default = classNames;
       
   228 		module.exports = classNames;
       
   229 	} else if (true) {
       
   230 		// register as 'classnames', consistent with npm package name
       
   231 		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
       
   232 			return classNames;
       
   233 		}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
       
   234 				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
       
   235 	} else {}
       
   236 }());
       
   237 
   131 
   238 
   132 /***/ }),
   239 /***/ }),
   133 /* 6 */
   240 
   134 /***/ (function(module, exports) {
   241 /***/ 11:
   135 
       
   136 (function() { module.exports = this["wp"]["compose"]; }());
       
   137 
       
   138 /***/ }),
       
   139 /* 7 */
       
   140 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   141 
       
   142 "use strict";
       
   143 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; });
       
   144 /* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(15);
       
   145 
       
   146 function _objectSpread(target) {
       
   147   for (var i = 1; i < arguments.length; i++) {
       
   148     var source = arguments[i] != null ? arguments[i] : {};
       
   149     var ownKeys = Object.keys(source);
       
   150 
       
   151     if (typeof Object.getOwnPropertySymbols === 'function') {
       
   152       ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
       
   153         return Object.getOwnPropertyDescriptor(source, sym).enumerable;
       
   154       }));
       
   155     }
       
   156 
       
   157     ownKeys.forEach(function (key) {
       
   158       Object(_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]);
       
   159     });
       
   160   }
       
   161 
       
   162   return target;
       
   163 }
       
   164 
       
   165 /***/ }),
       
   166 /* 8 */
       
   167 /***/ (function(module, exports) {
       
   168 
       
   169 (function() { module.exports = this["wp"]["blockEditor"]; }());
       
   170 
       
   171 /***/ }),
       
   172 /* 9 */
       
   173 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   174 
       
   175 "use strict";
       
   176 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _createClass; });
       
   177 function _defineProperties(target, props) {
       
   178   for (var i = 0; i < props.length; i++) {
       
   179     var descriptor = props[i];
       
   180     descriptor.enumerable = descriptor.enumerable || false;
       
   181     descriptor.configurable = true;
       
   182     if ("value" in descriptor) descriptor.writable = true;
       
   183     Object.defineProperty(target, descriptor.key, descriptor);
       
   184   }
       
   185 }
       
   186 
       
   187 function _createClass(Constructor, protoProps, staticProps) {
       
   188   if (protoProps) _defineProperties(Constructor.prototype, protoProps);
       
   189   if (staticProps) _defineProperties(Constructor, staticProps);
       
   190   return Constructor;
       
   191 }
       
   192 
       
   193 /***/ }),
       
   194 /* 10 */
       
   195 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   196 
       
   197 "use strict";
       
   198 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _classCallCheck; });
       
   199 function _classCallCheck(instance, Constructor) {
       
   200   if (!(instance instanceof Constructor)) {
       
   201     throw new TypeError("Cannot call a class as a function");
       
   202   }
       
   203 }
       
   204 
       
   205 /***/ }),
       
   206 /* 11 */
       
   207 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   208 
       
   209 "use strict";
       
   210 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; });
       
   211 /* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32);
       
   212 /* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
       
   213 
       
   214 
       
   215 function _possibleConstructorReturn(self, call) {
       
   216   if (call && (Object(_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(call) === "object" || typeof call === "function")) {
       
   217     return call;
       
   218   }
       
   219 
       
   220   return Object(_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(self);
       
   221 }
       
   222 
       
   223 /***/ }),
       
   224 /* 12 */
       
   225 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   226 
       
   227 "use strict";
       
   228 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _getPrototypeOf; });
       
   229 function _getPrototypeOf(o) {
       
   230   _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
       
   231     return o.__proto__ || Object.getPrototypeOf(o);
       
   232   };
       
   233   return _getPrototypeOf(o);
       
   234 }
       
   235 
       
   236 /***/ }),
       
   237 /* 13 */
       
   238 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   239 
       
   240 "use strict";
       
   241 
       
   242 // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
       
   243 function _setPrototypeOf(o, p) {
       
   244   _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
       
   245     o.__proto__ = p;
       
   246     return o;
       
   247   };
       
   248 
       
   249   return _setPrototypeOf(o, p);
       
   250 }
       
   251 // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
       
   252 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _inherits; });
       
   253 
       
   254 function _inherits(subClass, superClass) {
       
   255   if (typeof superClass !== "function" && superClass !== null) {
       
   256     throw new TypeError("Super expression must either be null or a function");
       
   257   }
       
   258 
       
   259   subClass.prototype = Object.create(superClass && superClass.prototype, {
       
   260     constructor: {
       
   261       value: subClass,
       
   262       writable: true,
       
   263       configurable: true
       
   264     }
       
   265   });
       
   266   if (superClass) _setPrototypeOf(subClass, superClass);
       
   267 }
       
   268 
       
   269 /***/ }),
       
   270 /* 14 */
       
   271 /***/ (function(module, exports) {
       
   272 
       
   273 (function() { module.exports = this["wp"]["blocks"]; }());
       
   274 
       
   275 /***/ }),
       
   276 /* 15 */
       
   277 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   278 
       
   279 "use strict";
       
   280 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; });
       
   281 function _defineProperty(obj, key, value) {
       
   282   if (key in obj) {
       
   283     Object.defineProperty(obj, key, {
       
   284       value: value,
       
   285       enumerable: true,
       
   286       configurable: true,
       
   287       writable: true
       
   288     });
       
   289   } else {
       
   290     obj[key] = value;
       
   291   }
       
   292 
       
   293   return obj;
       
   294 }
       
   295 
       
   296 /***/ }),
       
   297 /* 16 */
       
   298 /***/ (function(module, exports, __webpack_require__) {
   242 /***/ (function(module, exports, __webpack_require__) {
   299 
   243 
   300 var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
   244 var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
   301   Copyright (c) 2017 Jed Watson.
   245   Copyright (c) 2017 Jed Watson.
   302   Licensed under the MIT License (MIT), see
   246   Licensed under the MIT License (MIT), see
   349 	} else {}
   293 	} else {}
   350 }());
   294 }());
   351 
   295 
   352 
   296 
   353 /***/ }),
   297 /***/ }),
   354 /* 17 */
   298 
       
   299 /***/ 12:
   355 /***/ (function(module, __webpack_exports__, __webpack_require__) {
   300 /***/ (function(module, __webpack_exports__, __webpack_require__) {
   356 
   301 
   357 "use strict";
   302 "use strict";
   358 
   303 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _assertThisInitialized; });
   359 // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
   304 function _assertThisInitialized(self) {
   360 function _arrayWithoutHoles(arr) {
   305   if (self === void 0) {
   361   if (Array.isArray(arr)) {
   306     throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
   362     for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) {
       
   363       arr2[i] = arr[i];
       
   364     }
       
   365 
       
   366     return arr2;
       
   367   }
   307   }
       
   308 
       
   309   return self;
   368 }
   310 }
   369 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
   311 
   370 var iterableToArray = __webpack_require__(34);
   312 /***/ }),
   371 
   313 
   372 // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
   314 /***/ 13:
   373 function _nonIterableSpread() {
   315 /***/ (function(module, exports) {
   374   throw new TypeError("Invalid attempt to spread non-iterable instance");
   316 
       
   317 (function() { module.exports = this["React"]; }());
       
   318 
       
   319 /***/ }),
       
   320 
       
   321 /***/ 137:
       
   322 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   323 
       
   324 "use strict";
       
   325 /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5);
       
   326 /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(15);
       
   327 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(0);
       
   328 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__);
       
   329 
       
   330 
       
   331 
       
   332 function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
   333 
       
   334 function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
   335 
       
   336 /**
       
   337  * WordPress dependencies
       
   338  */
       
   339  // Disable reason: JSDoc linter doesn't seem to parse the union (`&`) correctly.
       
   340 
       
   341 /* eslint-disable jsdoc/valid-types */
       
   342 
       
   343 /** @typedef {{icon: JSX.Element, size?: number} & import('react').ComponentPropsWithoutRef<'SVG'>} IconProps */
       
   344 
       
   345 /* eslint-enable jsdoc/valid-types */
       
   346 
       
   347 /**
       
   348  * Return an SVG icon.
       
   349  *
       
   350  * @param {IconProps} props icon is the SVG component to render
       
   351  *                          size is a number specifiying the icon size in pixels
       
   352  *                          Other props will be passed to wrapped SVG component
       
   353  *
       
   354  * @return {JSX.Element}  Icon component
       
   355  */
       
   356 
       
   357 function Icon(_ref) {
       
   358   var icon = _ref.icon,
       
   359       _ref$size = _ref.size,
       
   360       size = _ref$size === void 0 ? 24 : _ref$size,
       
   361       props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref, ["icon", "size"]);
       
   362 
       
   363   return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["cloneElement"])(icon, _objectSpread({
       
   364     width: size,
       
   365     height: size
       
   366   }, props));
   375 }
   367 }
   376 // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
   368 
   377 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _toConsumableArray; });
   369 /* harmony default export */ __webpack_exports__["a"] = (Icon);
   378 
   370 
   379 
       
   380 
       
   381 function _toConsumableArray(arr) {
       
   382   return _arrayWithoutHoles(arr) || Object(iterableToArray["a" /* default */])(arr) || _nonIterableSpread();
       
   383 }
       
   384 
   371 
   385 /***/ }),
   372 /***/ }),
   386 /* 18 */
   373 
   387 /***/ (function(module, exports) {
   374 /***/ 14:
   388 
       
   389 (function() { module.exports = this["wp"]["keycodes"]; }());
       
   390 
       
   391 /***/ }),
       
   392 /* 19 */
       
   393 /***/ (function(module, __webpack_exports__, __webpack_require__) {
   375 /***/ (function(module, __webpack_exports__, __webpack_require__) {
   394 
   376 
   395 "use strict";
   377 "use strict";
   396 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
   378 
   397 function _extends() {
   379 // EXPORTS
   398   _extends = Object.assign || function (target) {
   380 __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _slicedToArray; });
   399     for (var i = 1; i < arguments.length; i++) {
       
   400       var source = arguments[i];
       
   401 
       
   402       for (var key in source) {
       
   403         if (Object.prototype.hasOwnProperty.call(source, key)) {
       
   404           target[key] = source[key];
       
   405         }
       
   406       }
       
   407     }
       
   408 
       
   409     return target;
       
   410   };
       
   411 
       
   412   return _extends.apply(this, arguments);
       
   413 }
       
   414 
       
   415 /***/ }),
       
   416 /* 20 */
       
   417 /***/ (function(module, exports) {
       
   418 
       
   419 (function() { module.exports = this["wp"]["richText"]; }());
       
   420 
       
   421 /***/ }),
       
   422 /* 21 */
       
   423 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   424 
       
   425 "use strict";
       
   426 
       
   427 // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
       
   428 function _objectWithoutPropertiesLoose(source, excluded) {
       
   429   if (source == null) return {};
       
   430   var target = {};
       
   431   var sourceKeys = Object.keys(source);
       
   432   var key, i;
       
   433 
       
   434   for (i = 0; i < sourceKeys.length; i++) {
       
   435     key = sourceKeys[i];
       
   436     if (excluded.indexOf(key) >= 0) continue;
       
   437     target[key] = source[key];
       
   438   }
       
   439 
       
   440   return target;
       
   441 }
       
   442 // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
       
   443 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
       
   444 
       
   445 function _objectWithoutProperties(source, excluded) {
       
   446   if (source == null) return {};
       
   447   var target = _objectWithoutPropertiesLoose(source, excluded);
       
   448   var key, i;
       
   449 
       
   450   if (Object.getOwnPropertySymbols) {
       
   451     var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
       
   452 
       
   453     for (i = 0; i < sourceSymbolKeys.length; i++) {
       
   454       key = sourceSymbolKeys[i];
       
   455       if (excluded.indexOf(key) >= 0) continue;
       
   456       if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
       
   457       target[key] = source[key];
       
   458     }
       
   459   }
       
   460 
       
   461   return target;
       
   462 }
       
   463 
       
   464 /***/ }),
       
   465 /* 22 */
       
   466 /***/ (function(module, exports) {
       
   467 
       
   468 (function() { module.exports = this["wp"]["editor"]; }());
       
   469 
       
   470 /***/ }),
       
   471 /* 23 */,
       
   472 /* 24 */,
       
   473 /* 25 */
       
   474 /***/ (function(module, exports) {
       
   475 
       
   476 (function() { module.exports = this["wp"]["url"]; }());
       
   477 
       
   478 /***/ }),
       
   479 /* 26 */,
       
   480 /* 27 */,
       
   481 /* 28 */
       
   482 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   483 
       
   484 "use strict";
       
   485 
   381 
   486 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
   382 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
   487 var arrayWithHoles = __webpack_require__(37);
   383 var arrayWithHoles = __webpack_require__(38);
   488 
   384 
   489 // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
   385 // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
   490 function _iterableToArrayLimit(arr, i) {
   386 function _iterableToArrayLimit(arr, i) {
       
   387   if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
   491   var _arr = [];
   388   var _arr = [];
   492   var _n = true;
   389   var _n = true;
   493   var _d = false;
   390   var _d = false;
   494   var _e = undefined;
   391   var _e = undefined;
   495 
   392 
   510     }
   407     }
   511   }
   408   }
   512 
   409 
   513   return _arr;
   410   return _arr;
   514 }
   411 }
       
   412 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
       
   413 var unsupportedIterableToArray = __webpack_require__(29);
       
   414 
   515 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
   415 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
   516 var nonIterableRest = __webpack_require__(38);
   416 var nonIterableRest = __webpack_require__(39);
   517 
   417 
   518 // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
   418 // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
   519 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; });
   419 
   520 
   420 
   521 
   421 
   522 
   422 
   523 function _slicedToArray(arr, i) {
   423 function _slicedToArray(arr, i) {
   524   return Object(arrayWithHoles["a" /* default */])(arr) || _iterableToArrayLimit(arr, i) || Object(nonIterableRest["a" /* default */])();
   424   return Object(arrayWithHoles["a" /* default */])(arr) || _iterableToArrayLimit(arr, i) || Object(unsupportedIterableToArray["a" /* default */])(arr, i) || Object(nonIterableRest["a" /* default */])();
   525 }
   425 }
   526 
   426 
   527 /***/ }),
   427 /***/ }),
   528 /* 29 */
   428 
       
   429 /***/ 15:
       
   430 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   431 
       
   432 "use strict";
       
   433 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
       
   434 /* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(41);
       
   435 
       
   436 function _objectWithoutProperties(source, excluded) {
       
   437   if (source == null) return {};
       
   438   var target = Object(_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(source, excluded);
       
   439   var key, i;
       
   440 
       
   441   if (Object.getOwnPropertySymbols) {
       
   442     var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
       
   443 
       
   444     for (i = 0; i < sourceSymbolKeys.length; i++) {
       
   445       key = sourceSymbolKeys[i];
       
   446       if (excluded.indexOf(key) >= 0) continue;
       
   447       if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
       
   448       target[key] = source[key];
       
   449     }
       
   450   }
       
   451 
       
   452   return target;
       
   453 }
       
   454 
       
   455 /***/ }),
       
   456 
       
   457 /***/ 155:
       
   458 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   459 
       
   460 "use strict";
       
   461 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
   462 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
   463 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
       
   464 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
       
   465 
       
   466 
       
   467 /**
       
   468  * WordPress dependencies
       
   469  */
       
   470 
       
   471 var check = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
       
   472   xmlns: "http://www.w3.org/2000/svg",
       
   473   viewBox: "0 0 24 24"
       
   474 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
   475   d: "M9 18.6L3.5 13l1-1L9 16.4l9.5-9.9 1 1z"
       
   476 }));
       
   477 /* harmony default export */ __webpack_exports__["a"] = (check);
       
   478 
       
   479 
       
   480 /***/ }),
       
   481 
       
   482 /***/ 16:
       
   483 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   484 
       
   485 "use strict";
       
   486 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _getPrototypeOf; });
       
   487 function _getPrototypeOf(o) {
       
   488   _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
       
   489     return o.__proto__ || Object.getPrototypeOf(o);
       
   490   };
       
   491   return _getPrototypeOf(o);
       
   492 }
       
   493 
       
   494 /***/ }),
       
   495 
       
   496 /***/ 177:
       
   497 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   498 
       
   499 "use strict";
       
   500 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
   501 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
   502 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
       
   503 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
       
   504 
       
   505 
       
   506 /**
       
   507  * WordPress dependencies
       
   508  */
       
   509 
       
   510 var closeSmall = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
       
   511   xmlns: "http://www.w3.org/2000/svg",
       
   512   viewBox: "0 0 24 24"
       
   513 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
   514   d: "M13 11.9l3.3-3.4-1.1-1-3.2 3.3-3.2-3.3-1.1 1 3.3 3.4-3.5 3.6 1 1L12 13l3.5 3.5 1-1z"
       
   515 }));
       
   516 /* harmony default export */ __webpack_exports__["a"] = (closeSmall);
       
   517 
       
   518 
       
   519 /***/ }),
       
   520 
       
   521 /***/ 18:
       
   522 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   523 
       
   524 "use strict";
       
   525 
       
   526 // EXPORTS
       
   527 __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _toConsumableArray; });
       
   528 
       
   529 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
       
   530 var arrayLikeToArray = __webpack_require__(26);
       
   531 
       
   532 // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
       
   533 
       
   534 function _arrayWithoutHoles(arr) {
       
   535   if (Array.isArray(arr)) return Object(arrayLikeToArray["a" /* default */])(arr);
       
   536 }
       
   537 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
       
   538 var iterableToArray = __webpack_require__(35);
       
   539 
       
   540 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
       
   541 var unsupportedIterableToArray = __webpack_require__(29);
       
   542 
       
   543 // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
       
   544 function _nonIterableSpread() {
       
   545   throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
       
   546 }
       
   547 // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
       
   548 
       
   549 
       
   550 
       
   551 
       
   552 function _toConsumableArray(arr) {
       
   553   return _arrayWithoutHoles(arr) || Object(iterableToArray["a" /* default */])(arr) || Object(unsupportedIterableToArray["a" /* default */])(arr) || _nonIterableSpread();
       
   554 }
       
   555 
       
   556 /***/ }),
       
   557 
       
   558 /***/ 180:
       
   559 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   560 
       
   561 "use strict";
       
   562 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
   563 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
   564 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
       
   565 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
       
   566 
       
   567 
       
   568 /**
       
   569  * WordPress dependencies
       
   570  */
       
   571 
       
   572 var link = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
       
   573   xmlns: "http://www.w3.org/2000/svg",
       
   574   viewBox: "0 0 24 24"
       
   575 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
   576   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"
       
   577 }));
       
   578 /* harmony default export */ __webpack_exports__["a"] = (link);
       
   579 
       
   580 
       
   581 /***/ }),
       
   582 
       
   583 /***/ 19:
       
   584 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   585 
       
   586 "use strict";
       
   587 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _createClass; });
       
   588 function _defineProperties(target, props) {
       
   589   for (var i = 0; i < props.length; i++) {
       
   590     var descriptor = props[i];
       
   591     descriptor.enumerable = descriptor.enumerable || false;
       
   592     descriptor.configurable = true;
       
   593     if ("value" in descriptor) descriptor.writable = true;
       
   594     Object.defineProperty(target, descriptor.key, descriptor);
       
   595   }
       
   596 }
       
   597 
       
   598 function _createClass(Constructor, protoProps, staticProps) {
       
   599   if (protoProps) _defineProperties(Constructor.prototype, protoProps);
       
   600   if (staticProps) _defineProperties(Constructor, staticProps);
       
   601   return Constructor;
       
   602 }
       
   603 
       
   604 /***/ }),
       
   605 
       
   606 /***/ 2:
   529 /***/ (function(module, exports) {
   607 /***/ (function(module, exports) {
   530 
   608 
   531 (function() { module.exports = this["moment"]; }());
   609 (function() { module.exports = this["lodash"]; }());
   532 
   610 
   533 /***/ }),
   611 /***/ }),
   534 /* 30 */,
   612 
   535 /* 31 */,
   613 /***/ 20:
   536 /* 32 */
   614 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   615 
       
   616 "use strict";
       
   617 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _classCallCheck; });
       
   618 function _classCallCheck(instance, Constructor) {
       
   619   if (!(instance instanceof Constructor)) {
       
   620     throw new TypeError("Cannot call a class as a function");
       
   621   }
       
   622 }
       
   623 
       
   624 /***/ }),
       
   625 
       
   626 /***/ 203:
       
   627 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   628 
       
   629 "use strict";
       
   630 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
   631 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
   632 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
       
   633 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
       
   634 
       
   635 
       
   636 /**
       
   637  * WordPress dependencies
       
   638  */
       
   639 
       
   640 var keyboardReturn = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
       
   641   xmlns: "http://www.w3.org/2000/svg",
       
   642   viewBox: "-2 -2 24 24"
       
   643 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
   644   d: "M16 4h2v9H7v3l-5-4 5-4v3h9V4z"
       
   645 }));
       
   646 /* harmony default export */ __webpack_exports__["a"] = (keyboardReturn);
       
   647 
       
   648 
       
   649 /***/ }),
       
   650 
       
   651 /***/ 204:
       
   652 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   653 
       
   654 "use strict";
       
   655 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
   656 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
   657 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
       
   658 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
       
   659 
       
   660 
       
   661 /**
       
   662  * WordPress dependencies
       
   663  */
       
   664 
       
   665 var upload = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
       
   666   xmlns: "http://www.w3.org/2000/svg",
       
   667   viewBox: "0 0 24 24"
       
   668 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
   669   d: "M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"
       
   670 }));
       
   671 /* harmony default export */ __webpack_exports__["a"] = (upload);
       
   672 
       
   673 
       
   674 /***/ }),
       
   675 
       
   676 /***/ 205:
       
   677 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   678 
       
   679 "use strict";
       
   680 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
   681 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
   682 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
       
   683 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
       
   684 
       
   685 
       
   686 /**
       
   687  * WordPress dependencies
       
   688  */
       
   689 
       
   690 var linkOff = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
       
   691   xmlns: "http://www.w3.org/2000/svg",
       
   692   viewBox: "0 0 24 24"
       
   693 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
   694   d: "M15.6 7.3h-.7l1.6-3.5-.9-.4-3.9 8.5H9v1.5h2l-1.3 2.8H8.4c-2 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7H10V7.3H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H9l-1.4 3.2.9.4 5.7-12.5h1.4c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.9 0 5.2-2.3 5.2-5.2 0-2.9-2.4-5.2-5.2-5.2z"
       
   695 }));
       
   696 /* harmony default export */ __webpack_exports__["a"] = (linkOff);
       
   697 
       
   698 
       
   699 /***/ }),
       
   700 
       
   701 /***/ 21:
       
   702 /***/ (function(module, exports) {
       
   703 
       
   704 (function() { module.exports = this["wp"]["keycodes"]; }());
       
   705 
       
   706 /***/ }),
       
   707 
       
   708 /***/ 22:
       
   709 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   710 
       
   711 "use strict";
       
   712 
       
   713 // EXPORTS
       
   714 __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _inherits; });
       
   715 
       
   716 // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
       
   717 function _setPrototypeOf(o, p) {
       
   718   _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
       
   719     o.__proto__ = p;
       
   720     return o;
       
   721   };
       
   722 
       
   723   return _setPrototypeOf(o, p);
       
   724 }
       
   725 // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
       
   726 
       
   727 function _inherits(subClass, superClass) {
       
   728   if (typeof superClass !== "function" && superClass !== null) {
       
   729     throw new TypeError("Super expression must either be null or a function");
       
   730   }
       
   731 
       
   732   subClass.prototype = Object.create(superClass && superClass.prototype, {
       
   733     constructor: {
       
   734       value: subClass,
       
   735       writable: true,
       
   736       configurable: true
       
   737     }
       
   738   });
       
   739   if (superClass) _setPrototypeOf(subClass, superClass);
       
   740 }
       
   741 
       
   742 /***/ }),
       
   743 
       
   744 /***/ 23:
       
   745 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   746 
       
   747 "use strict";
       
   748 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; });
       
   749 /* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40);
       
   750 /* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(12);
       
   751 
       
   752 
       
   753 function _possibleConstructorReturn(self, call) {
       
   754   if (call && (Object(_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(call) === "object" || typeof call === "function")) {
       
   755     return call;
       
   756   }
       
   757 
       
   758   return Object(_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(self);
       
   759 }
       
   760 
       
   761 /***/ }),
       
   762 
       
   763 /***/ 25:
       
   764 /***/ (function(module, exports) {
       
   765 
       
   766 (function() { module.exports = this["wp"]["richText"]; }());
       
   767 
       
   768 /***/ }),
       
   769 
       
   770 /***/ 26:
       
   771 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   772 
       
   773 "use strict";
       
   774 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayLikeToArray; });
       
   775 function _arrayLikeToArray(arr, len) {
       
   776   if (len == null || len > arr.length) len = arr.length;
       
   777 
       
   778   for (var i = 0, arr2 = new Array(len); i < len; i++) {
       
   779     arr2[i] = arr[i];
       
   780   }
       
   781 
       
   782   return arr2;
       
   783 }
       
   784 
       
   785 /***/ }),
       
   786 
       
   787 /***/ 267:
       
   788 /***/ (function(module, exports, __webpack_require__) {
       
   789 
       
   790 /*! Fast Average Color | © 2019 Denis Seleznev | MIT License | https://github.com/hcodes/fast-average-color/ */
       
   791 (function (global, factory) {
       
   792 	 true ? module.exports = factory() :
       
   793 	undefined;
       
   794 }(this, (function () { 'use strict';
       
   795 
       
   796 function _classCallCheck(instance, Constructor) {
       
   797   if (!(instance instanceof Constructor)) {
       
   798     throw new TypeError("Cannot call a class as a function");
       
   799   }
       
   800 }
       
   801 
       
   802 function _defineProperties(target, props) {
       
   803   for (var i = 0; i < props.length; i++) {
       
   804     var descriptor = props[i];
       
   805     descriptor.enumerable = descriptor.enumerable || false;
       
   806     descriptor.configurable = true;
       
   807     if ("value" in descriptor) descriptor.writable = true;
       
   808     Object.defineProperty(target, descriptor.key, descriptor);
       
   809   }
       
   810 }
       
   811 
       
   812 function _createClass(Constructor, protoProps, staticProps) {
       
   813   if (protoProps) _defineProperties(Constructor.prototype, protoProps);
       
   814   if (staticProps) _defineProperties(Constructor, staticProps);
       
   815   return Constructor;
       
   816 }
       
   817 
       
   818 function _slicedToArray(arr, i) {
       
   819   return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
       
   820 }
       
   821 
       
   822 function _arrayWithHoles(arr) {
       
   823   if (Array.isArray(arr)) return arr;
       
   824 }
       
   825 
       
   826 function _iterableToArrayLimit(arr, i) {
       
   827   var _arr = [];
       
   828   var _n = true;
       
   829   var _d = false;
       
   830   var _e = undefined;
       
   831 
       
   832   try {
       
   833     for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
       
   834       _arr.push(_s.value);
       
   835 
       
   836       if (i && _arr.length === i) break;
       
   837     }
       
   838   } catch (err) {
       
   839     _d = true;
       
   840     _e = err;
       
   841   } finally {
       
   842     try {
       
   843       if (!_n && _i["return"] != null) _i["return"]();
       
   844     } finally {
       
   845       if (_d) throw _e;
       
   846     }
       
   847   }
       
   848 
       
   849   return _arr;
       
   850 }
       
   851 
       
   852 function _nonIterableRest() {
       
   853   throw new TypeError("Invalid attempt to destructure non-iterable instance");
       
   854 }
       
   855 
       
   856 var FastAverageColor =
       
   857 /*#__PURE__*/
       
   858 function () {
       
   859   function FastAverageColor() {
       
   860     _classCallCheck(this, FastAverageColor);
       
   861   }
       
   862 
       
   863   _createClass(FastAverageColor, [{
       
   864     key: "getColorAsync",
       
   865 
       
   866     /**
       
   867      * Get asynchronously the average color from not loaded image.
       
   868      *
       
   869      * @param {HTMLImageElement} resource
       
   870      * @param {Function} callback
       
   871      * @param {Object|null} [options]
       
   872      * @param {Array}  [options.defaultColor=[255, 255, 255, 255]]
       
   873      * @param {*}      [options.data]
       
   874      * @param {string} [options.mode="speed"] "precision" or "speed"
       
   875      * @param {string} [options.algorithm="sqrt"] "simple", "sqrt" or "dominant"
       
   876      * @param {number} [options.step=1]
       
   877      * @param {number} [options.left=0]
       
   878      * @param {number} [options.top=0]
       
   879      * @param {number} [options.width=width of resource]
       
   880      * @param {number} [options.height=height of resource]
       
   881      */
       
   882     value: function getColorAsync(resource, callback, options) {
       
   883       if (resource.complete) {
       
   884         callback.call(resource, this.getColor(resource, options), options && options.data);
       
   885       } else {
       
   886         this._bindImageEvents(resource, callback, options);
       
   887       }
       
   888     }
       
   889     /**
       
   890      * Get the average color from images, videos and canvas.
       
   891      *
       
   892      * @param {HTMLImageElement|HTMLVideoElement|HTMLCanvasElement} resource
       
   893      * @param {Object|null} [options]
       
   894      * @param {Array}  [options.defaultColor=[255, 255, 255, 255]]
       
   895      * @param {*}      [options.data]
       
   896      * @param {string} [options.mode="speed"] "precision" or "speed"
       
   897      * @param {string} [options.algorithm="sqrt"] "simple", "sqrt" or "dominant"
       
   898      * @param {number} [options.step=1]
       
   899      * @param {number} [options.left=0]
       
   900      * @param {number} [options.top=0]
       
   901      * @param {number} [options.width=width of resource]
       
   902      * @param {number} [options.height=height of resource]
       
   903      *
       
   904      * @returns {Object}
       
   905      */
       
   906 
       
   907   }, {
       
   908     key: "getColor",
       
   909     value: function getColor(resource, options) {
       
   910       options = options || {};
       
   911 
       
   912       var defaultColor = this._getDefaultColor(options),
       
   913           originalSize = this._getOriginalSize(resource),
       
   914           size = this._prepareSizeAndPosition(originalSize, options);
       
   915 
       
   916       var error = null,
       
   917           value = defaultColor;
       
   918 
       
   919       if (!size.srcWidth || !size.srcHeight || !size.destWidth || !size.destHeight) {
       
   920         return this._prepareResult(defaultColor, new Error('FastAverageColor: Incorrect sizes.'));
       
   921       }
       
   922 
       
   923       if (!this._ctx) {
       
   924         this._canvas = this._makeCanvas();
       
   925         this._ctx = this._canvas.getContext && this._canvas.getContext('2d');
       
   926 
       
   927         if (!this._ctx) {
       
   928           return this._prepareResult(defaultColor, new Error('FastAverageColor: Canvas Context 2D is not supported in this browser.'));
       
   929         }
       
   930       }
       
   931 
       
   932       this._canvas.width = size.destWidth;
       
   933       this._canvas.height = size.destHeight;
       
   934 
       
   935       try {
       
   936         this._ctx.clearRect(0, 0, size.destWidth, size.destHeight);
       
   937 
       
   938         this._ctx.drawImage(resource, size.srcLeft, size.srcTop, size.srcWidth, size.srcHeight, 0, 0, size.destWidth, size.destHeight);
       
   939 
       
   940         var bitmapData = this._ctx.getImageData(0, 0, size.destWidth, size.destHeight).data;
       
   941 
       
   942         value = this.getColorFromArray4(bitmapData, options);
       
   943       } catch (e) {
       
   944         // Security error, CORS
       
   945         // https://developer.mozilla.org/en/docs/Web/HTML/CORS_enabled_image
       
   946         error = e;
       
   947       }
       
   948 
       
   949       return this._prepareResult(value, error);
       
   950     }
       
   951     /**
       
   952      * Get the average color from a array when 1 pixel is 4 bytes.
       
   953      *
       
   954      * @param {Array|Uint8Array} arr
       
   955      * @param {Object} [options]
       
   956      * @param {string} [options.algorithm="sqrt"] "simple", "sqrt" or "dominant"
       
   957      * @param {Array}  [options.defaultColor=[255, 255, 255, 255]]
       
   958      * @param {number} [options.step=1]
       
   959      *
       
   960      * @returns {Array} [red (0-255), green (0-255), blue (0-255), alpha (0-255)]
       
   961      */
       
   962 
       
   963   }, {
       
   964     key: "getColorFromArray4",
       
   965     value: function getColorFromArray4(arr, options) {
       
   966       options = options || {};
       
   967       var bytesPerPixel = 4,
       
   968           arrLength = arr.length;
       
   969 
       
   970       if (arrLength < bytesPerPixel) {
       
   971         return this._getDefaultColor(options);
       
   972       }
       
   973 
       
   974       var len = arrLength - arrLength % bytesPerPixel,
       
   975           preparedStep = (options.step || 1) * bytesPerPixel,
       
   976           algorithm = '_' + (options.algorithm || 'sqrt') + 'Algorithm';
       
   977 
       
   978       if (typeof this[algorithm] !== 'function') {
       
   979         throw new Error("FastAverageColor: ".concat(options.algorithm, " is unknown algorithm."));
       
   980       }
       
   981 
       
   982       return this[algorithm](arr, len, preparedStep);
       
   983     }
       
   984     /**
       
   985      * Destroy the instance.
       
   986      */
       
   987 
       
   988   }, {
       
   989     key: "destroy",
       
   990     value: function destroy() {
       
   991       delete this._canvas;
       
   992       delete this._ctx;
       
   993     }
       
   994   }, {
       
   995     key: "_getDefaultColor",
       
   996     value: function _getDefaultColor(options) {
       
   997       return this._getOption(options, 'defaultColor', [255, 255, 255, 255]);
       
   998     }
       
   999   }, {
       
  1000     key: "_getOption",
       
  1001     value: function _getOption(options, name, defaultValue) {
       
  1002       return typeof options[name] === 'undefined' ? defaultValue : options[name];
       
  1003     }
       
  1004   }, {
       
  1005     key: "_prepareSizeAndPosition",
       
  1006     value: function _prepareSizeAndPosition(originalSize, options) {
       
  1007       var srcLeft = this._getOption(options, 'left', 0),
       
  1008           srcTop = this._getOption(options, 'top', 0),
       
  1009           srcWidth = this._getOption(options, 'width', originalSize.width),
       
  1010           srcHeight = this._getOption(options, 'height', originalSize.height),
       
  1011           destWidth = srcWidth,
       
  1012           destHeight = srcHeight;
       
  1013 
       
  1014       if (options.mode === 'precision') {
       
  1015         return {
       
  1016           srcLeft: srcLeft,
       
  1017           srcTop: srcTop,
       
  1018           srcWidth: srcWidth,
       
  1019           srcHeight: srcHeight,
       
  1020           destWidth: destWidth,
       
  1021           destHeight: destHeight
       
  1022         };
       
  1023       }
       
  1024 
       
  1025       var maxSize = 100,
       
  1026           minSize = 10;
       
  1027       var factor;
       
  1028 
       
  1029       if (srcWidth > srcHeight) {
       
  1030         factor = srcWidth / srcHeight;
       
  1031         destWidth = maxSize;
       
  1032         destHeight = Math.round(destWidth / factor);
       
  1033       } else {
       
  1034         factor = srcHeight / srcWidth;
       
  1035         destHeight = maxSize;
       
  1036         destWidth = Math.round(destHeight / factor);
       
  1037       }
       
  1038 
       
  1039       if (destWidth > srcWidth || destHeight > srcHeight || destWidth < minSize || destHeight < minSize) {
       
  1040         destWidth = srcWidth;
       
  1041         destHeight = srcHeight;
       
  1042       }
       
  1043 
       
  1044       return {
       
  1045         srcLeft: srcLeft,
       
  1046         srcTop: srcTop,
       
  1047         srcWidth: srcWidth,
       
  1048         srcHeight: srcHeight,
       
  1049         destWidth: destWidth,
       
  1050         destHeight: destHeight
       
  1051       };
       
  1052     }
       
  1053   }, {
       
  1054     key: "_simpleAlgorithm",
       
  1055     value: function _simpleAlgorithm(arr, len, preparedStep) {
       
  1056       var redTotal = 0,
       
  1057           greenTotal = 0,
       
  1058           blueTotal = 0,
       
  1059           alphaTotal = 0,
       
  1060           count = 0;
       
  1061 
       
  1062       for (var i = 0; i < len; i += preparedStep) {
       
  1063         var alpha = arr[i + 3],
       
  1064             red = arr[i] * alpha,
       
  1065             green = arr[i + 1] * alpha,
       
  1066             blue = arr[i + 2] * alpha;
       
  1067         redTotal += red;
       
  1068         greenTotal += green;
       
  1069         blueTotal += blue;
       
  1070         alphaTotal += alpha;
       
  1071         count++;
       
  1072       }
       
  1073 
       
  1074       return alphaTotal ? [Math.round(redTotal / alphaTotal), Math.round(greenTotal / alphaTotal), Math.round(blueTotal / alphaTotal), Math.round(alphaTotal / count)] : [0, 0, 0, 0];
       
  1075     }
       
  1076   }, {
       
  1077     key: "_sqrtAlgorithm",
       
  1078     value: function _sqrtAlgorithm(arr, len, preparedStep) {
       
  1079       var redTotal = 0,
       
  1080           greenTotal = 0,
       
  1081           blueTotal = 0,
       
  1082           alphaTotal = 0,
       
  1083           count = 0;
       
  1084 
       
  1085       for (var i = 0; i < len; i += preparedStep) {
       
  1086         var red = arr[i],
       
  1087             green = arr[i + 1],
       
  1088             blue = arr[i + 2],
       
  1089             alpha = arr[i + 3];
       
  1090         redTotal += red * red * alpha;
       
  1091         greenTotal += green * green * alpha;
       
  1092         blueTotal += blue * blue * alpha;
       
  1093         alphaTotal += alpha;
       
  1094         count++;
       
  1095       }
       
  1096 
       
  1097       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];
       
  1098     }
       
  1099   }, {
       
  1100     key: "_dominantAlgorithm",
       
  1101     value: function _dominantAlgorithm(arr, len, preparedStep) {
       
  1102       var colorHash = {},
       
  1103           divider = 24;
       
  1104 
       
  1105       for (var i = 0; i < len; i += preparedStep) {
       
  1106         var red = arr[i],
       
  1107             green = arr[i + 1],
       
  1108             blue = arr[i + 2],
       
  1109             alpha = arr[i + 3],
       
  1110             key = Math.round(red / divider) + ',' + Math.round(green / divider) + ',' + Math.round(blue / divider);
       
  1111 
       
  1112         if (colorHash[key]) {
       
  1113           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];
       
  1114         } else {
       
  1115           colorHash[key] = [red * alpha, green * alpha, blue * alpha, alpha, 1];
       
  1116         }
       
  1117       }
       
  1118 
       
  1119       var buffer = Object.keys(colorHash).map(function (key) {
       
  1120         return colorHash[key];
       
  1121       }).sort(function (a, b) {
       
  1122         var countA = a[4],
       
  1123             countB = b[4];
       
  1124         return countA > countB ? -1 : countA === countB ? 0 : 1;
       
  1125       });
       
  1126 
       
  1127       var _buffer$ = _slicedToArray(buffer[0], 5),
       
  1128           redTotal = _buffer$[0],
       
  1129           greenTotal = _buffer$[1],
       
  1130           blueTotal = _buffer$[2],
       
  1131           alphaTotal = _buffer$[3],
       
  1132           count = _buffer$[4];
       
  1133 
       
  1134       return alphaTotal ? [Math.round(redTotal / alphaTotal), Math.round(greenTotal / alphaTotal), Math.round(blueTotal / alphaTotal), Math.round(alphaTotal / count)] : [0, 0, 0, 0];
       
  1135     }
       
  1136   }, {
       
  1137     key: "_bindImageEvents",
       
  1138     value: function _bindImageEvents(resource, callback, options) {
       
  1139       var _this = this;
       
  1140 
       
  1141       options = options || {};
       
  1142 
       
  1143       var data = options && options.data,
       
  1144           defaultColor = this._getDefaultColor(options),
       
  1145           onload = function onload() {
       
  1146         unbindEvents();
       
  1147         callback.call(resource, _this.getColor(resource, options), data);
       
  1148       },
       
  1149           onerror = function onerror() {
       
  1150         unbindEvents();
       
  1151         callback.call(resource, _this._prepareResult(defaultColor, new Error('Image error')), data);
       
  1152       },
       
  1153           onabort = function onabort() {
       
  1154         unbindEvents();
       
  1155         callback.call(resource, _this._prepareResult(defaultColor, new Error('Image abort')), data);
       
  1156       },
       
  1157           unbindEvents = function unbindEvents() {
       
  1158         resource.removeEventListener('load', onload);
       
  1159         resource.removeEventListener('error', onerror);
       
  1160         resource.removeEventListener('abort', onabort);
       
  1161       };
       
  1162 
       
  1163       resource.addEventListener('load', onload);
       
  1164       resource.addEventListener('error', onerror);
       
  1165       resource.addEventListener('abort', onabort);
       
  1166     }
       
  1167   }, {
       
  1168     key: "_prepareResult",
       
  1169     value: function _prepareResult(value, error) {
       
  1170       var rgb = value.slice(0, 3),
       
  1171           rgba = [].concat(rgb, value[3] / 255),
       
  1172           isDark = this._isDark(value);
       
  1173 
       
  1174       return {
       
  1175         error: error,
       
  1176         value: value,
       
  1177         rgb: 'rgb(' + rgb.join(',') + ')',
       
  1178         rgba: 'rgba(' + rgba.join(',') + ')',
       
  1179         hex: this._arrayToHex(rgb),
       
  1180         hexa: this._arrayToHex(value),
       
  1181         isDark: isDark,
       
  1182         isLight: !isDark
       
  1183       };
       
  1184     }
       
  1185   }, {
       
  1186     key: "_getOriginalSize",
       
  1187     value: function _getOriginalSize(resource) {
       
  1188       if (resource instanceof HTMLImageElement) {
       
  1189         return {
       
  1190           width: resource.naturalWidth,
       
  1191           height: resource.naturalHeight
       
  1192         };
       
  1193       }
       
  1194 
       
  1195       if (resource instanceof HTMLVideoElement) {
       
  1196         return {
       
  1197           width: resource.videoWidth,
       
  1198           height: resource.videoHeight
       
  1199         };
       
  1200       }
       
  1201 
       
  1202       return {
       
  1203         width: resource.width,
       
  1204         height: resource.height
       
  1205       };
       
  1206     }
       
  1207   }, {
       
  1208     key: "_toHex",
       
  1209     value: function _toHex(num) {
       
  1210       var str = num.toString(16);
       
  1211       return str.length === 1 ? '0' + str : str;
       
  1212     }
       
  1213   }, {
       
  1214     key: "_arrayToHex",
       
  1215     value: function _arrayToHex(arr) {
       
  1216       return '#' + arr.map(this._toHex).join('');
       
  1217     }
       
  1218   }, {
       
  1219     key: "_isDark",
       
  1220     value: function _isDark(color) {
       
  1221       // http://www.w3.org/TR/AERT#color-contrast
       
  1222       var result = (color[0] * 299 + color[1] * 587 + color[2] * 114) / 1000;
       
  1223       return result < 128;
       
  1224     }
       
  1225   }, {
       
  1226     key: "_makeCanvas",
       
  1227     value: function _makeCanvas() {
       
  1228       return typeof window === 'undefined' ? new OffscreenCanvas(1, 1) : document.createElement('canvas');
       
  1229     }
       
  1230   }]);
       
  1231 
       
  1232   return FastAverageColor;
       
  1233 }();
       
  1234 
       
  1235 return FastAverageColor;
       
  1236 
       
  1237 })));
       
  1238 
       
  1239 
       
  1240 /***/ }),
       
  1241 
       
  1242 /***/ 287:
       
  1243 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  1244 
       
  1245 "use strict";
       
  1246 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
  1247 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
  1248 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
       
  1249 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
       
  1250 
       
  1251 
       
  1252 /**
       
  1253  * WordPress dependencies
       
  1254  */
       
  1255 
       
  1256 var alignLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
       
  1257   xmlns: "http://www.w3.org/2000/svg",
       
  1258   viewBox: "0 0 24 24"
       
  1259 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
  1260   d: "M4 19.8h8.9v-1.5H4v1.5zm8.9-15.6H4v1.5h8.9V4.2zm-8.9 7v1.5h16v-1.5H4z"
       
  1261 }));
       
  1262 /* harmony default export */ __webpack_exports__["a"] = (alignLeft);
       
  1263 
       
  1264 
       
  1265 /***/ }),
       
  1266 
       
  1267 /***/ 288:
       
  1268 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  1269 
       
  1270 "use strict";
       
  1271 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
  1272 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
  1273 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
       
  1274 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
       
  1275 
       
  1276 
       
  1277 /**
       
  1278  * WordPress dependencies
       
  1279  */
       
  1280 
       
  1281 var alignCenter = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
       
  1282   xmlns: "http://www.w3.org/2000/svg",
       
  1283   viewBox: "0 0 24 24"
       
  1284 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
  1285   d: "M16.4 4.2H7.6v1.5h8.9V4.2zM4 11.2v1.5h16v-1.5H4zm3.6 8.6h8.9v-1.5H7.6v1.5z"
       
  1286 }));
       
  1287 /* harmony default export */ __webpack_exports__["a"] = (alignCenter);
       
  1288 
       
  1289 
       
  1290 /***/ }),
       
  1291 
       
  1292 /***/ 289:
       
  1293 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  1294 
       
  1295 "use strict";
       
  1296 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
  1297 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
  1298 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
       
  1299 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
       
  1300 
       
  1301 
       
  1302 /**
       
  1303  * WordPress dependencies
       
  1304  */
       
  1305 
       
  1306 var alignRight = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
       
  1307   xmlns: "http://www.w3.org/2000/svg",
       
  1308   viewBox: "0 0 24 24"
       
  1309 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
  1310   d: "M11.1 19.8H20v-1.5h-8.9v1.5zm0-15.6v1.5H20V4.2h-8.9zM4 12.8h16v-1.5H4v1.5z"
       
  1311 }));
       
  1312 /* harmony default export */ __webpack_exports__["a"] = (alignRight);
       
  1313 
       
  1314 
       
  1315 /***/ }),
       
  1316 
       
  1317 /***/ 29:
       
  1318 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  1319 
       
  1320 "use strict";
       
  1321 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
       
  1322 /* harmony import */ var _arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26);
       
  1323 
       
  1324 function _unsupportedIterableToArray(o, minLen) {
       
  1325   if (!o) return;
       
  1326   if (typeof o === "string") return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
       
  1327   var n = Object.prototype.toString.call(o).slice(8, -1);
       
  1328   if (n === "Object" && o.constructor) n = o.constructor.name;
       
  1329   if (n === "Map" || n === "Set") return Array.from(o);
       
  1330   if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
       
  1331 }
       
  1332 
       
  1333 /***/ }),
       
  1334 
       
  1335 /***/ 291:
       
  1336 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  1337 
       
  1338 "use strict";
       
  1339 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
  1340 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
  1341 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
       
  1342 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
       
  1343 
       
  1344 
       
  1345 /**
       
  1346  * WordPress dependencies
       
  1347  */
       
  1348 
       
  1349 var search = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
       
  1350   xmlns: "http://www.w3.org/2000/svg",
       
  1351   viewBox: "0 0 24 24"
       
  1352 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
  1353   d: "M13.5 6C10.5 6 8 8.5 8 11.5c0 1.1.3 2.1.9 3l-3.4 3 1 1.1 3.4-2.9c1 .9 2.2 1.4 3.6 1.4 3 0 5.5-2.5 5.5-5.5C19 8.5 16.5 6 13.5 6zm0 9.5c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z"
       
  1354 }));
       
  1355 /* harmony default export */ __webpack_exports__["a"] = (search);
       
  1356 
       
  1357 
       
  1358 /***/ }),
       
  1359 
       
  1360 /***/ 292:
       
  1361 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  1362 
       
  1363 "use strict";
       
  1364 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
  1365 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
  1366 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
       
  1367 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
       
  1368 
       
  1369 
       
  1370 /**
       
  1371  * WordPress dependencies
       
  1372  */
       
  1373 
       
  1374 var chevronRight = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
       
  1375   xmlns: "http://www.w3.org/2000/svg",
       
  1376   viewBox: "0 0 24 24"
       
  1377 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
  1378   d: "M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"
       
  1379 }));
       
  1380 /* harmony default export */ __webpack_exports__["a"] = (chevronRight);
       
  1381 
       
  1382 
       
  1383 /***/ }),
       
  1384 
       
  1385 /***/ 293:
       
  1386 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  1387 
       
  1388 "use strict";
       
  1389 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
  1390 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
  1391 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
       
  1392 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
       
  1393 
       
  1394 
       
  1395 /**
       
  1396  * WordPress dependencies
       
  1397  */
       
  1398 
       
  1399 var chevronLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
       
  1400   xmlns: "http://www.w3.org/2000/svg",
       
  1401   viewBox: "0 0 24 24"
       
  1402 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
  1403   d: "M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"
       
  1404 }));
       
  1405 /* harmony default export */ __webpack_exports__["a"] = (chevronLeft);
       
  1406 
       
  1407 
       
  1408 /***/ }),
       
  1409 
       
  1410 /***/ 299:
       
  1411 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  1412 
       
  1413 "use strict";
       
  1414 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
  1415 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
  1416 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
       
  1417 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
       
  1418 
       
  1419 
       
  1420 /**
       
  1421  * WordPress dependencies
       
  1422  */
       
  1423 
       
  1424 var pencil = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
       
  1425   xmlns: "http://www.w3.org/2000/svg",
       
  1426   viewBox: "-2 -2 24 24"
       
  1427 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
  1428   d: "M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6zM13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z"
       
  1429 }));
       
  1430 /* harmony default export */ __webpack_exports__["a"] = (pencil);
       
  1431 
       
  1432 
       
  1433 /***/ }),
       
  1434 
       
  1435 /***/ 3:
       
  1436 /***/ (function(module, exports) {
       
  1437 
       
  1438 (function() { module.exports = this["wp"]["components"]; }());
       
  1439 
       
  1440 /***/ }),
       
  1441 
       
  1442 /***/ 300:
       
  1443 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  1444 
       
  1445 "use strict";
       
  1446 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
  1447 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
  1448 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
       
  1449 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
       
  1450 
       
  1451 
       
  1452 /**
       
  1453  * WordPress dependencies
       
  1454  */
       
  1455 
       
  1456 var edit = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
       
  1457   xmlns: "http://www.w3.org/2000/svg",
       
  1458   viewBox: "0 0 24 24"
       
  1459 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
  1460   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"
       
  1461 }));
       
  1462 /* harmony default export */ __webpack_exports__["a"] = (edit);
       
  1463 
       
  1464 
       
  1465 /***/ }),
       
  1466 
       
  1467 /***/ 301:
       
  1468 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  1469 
       
  1470 "use strict";
       
  1471 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
  1472 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
  1473 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
       
  1474 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
       
  1475 
       
  1476 
       
  1477 /**
       
  1478  * WordPress dependencies
       
  1479  */
       
  1480 
       
  1481 var code = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
       
  1482   viewBox: "0 0 24 24",
       
  1483   xmlns: "http://www.w3.org/2000/svg"
       
  1484 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
  1485   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"
       
  1486 }));
       
  1487 /* harmony default export */ __webpack_exports__["a"] = (code);
       
  1488 
       
  1489 
       
  1490 /***/ }),
       
  1491 
       
  1492 /***/ 302:
       
  1493 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  1494 
       
  1495 "use strict";
       
  1496 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
  1497 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
  1498 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
       
  1499 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
       
  1500 
       
  1501 
       
  1502 /**
       
  1503  * WordPress dependencies
       
  1504  */
       
  1505 
       
  1506 var grid = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
       
  1507   xmlns: "http://www.w3.org/2000/svg",
       
  1508   viewBox: "-2 -2 24 24"
       
  1509 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
  1510   d: "M9 9V3H3v6h6zm8 0V3h-6v6h6zm-8 8v-6H3v6h6zm8 0v-6h-6v6h6z"
       
  1511 }));
       
  1512 /* harmony default export */ __webpack_exports__["a"] = (grid);
       
  1513 
       
  1514 
       
  1515 /***/ }),
       
  1516 
       
  1517 /***/ 31:
       
  1518 /***/ (function(module, exports) {
       
  1519 
       
  1520 (function() { module.exports = this["wp"]["url"]; }());
       
  1521 
       
  1522 /***/ }),
       
  1523 
       
  1524 /***/ 35:
       
  1525 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  1526 
       
  1527 "use strict";
       
  1528 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
       
  1529 function _iterableToArray(iter) {
       
  1530   if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
       
  1531 }
       
  1532 
       
  1533 /***/ }),
       
  1534 
       
  1535 /***/ 37:
       
  1536 /***/ (function(module, exports) {
       
  1537 
       
  1538 (function() { module.exports = this["wp"]["deprecated"]; }());
       
  1539 
       
  1540 /***/ }),
       
  1541 
       
  1542 /***/ 38:
       
  1543 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  1544 
       
  1545 "use strict";
       
  1546 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; });
       
  1547 function _arrayWithHoles(arr) {
       
  1548   if (Array.isArray(arr)) return arr;
       
  1549 }
       
  1550 
       
  1551 /***/ }),
       
  1552 
       
  1553 /***/ 39:
       
  1554 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  1555 
       
  1556 "use strict";
       
  1557 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; });
       
  1558 function _nonIterableRest() {
       
  1559   throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
       
  1560 }
       
  1561 
       
  1562 /***/ }),
       
  1563 
       
  1564 /***/ 4:
       
  1565 /***/ (function(module, exports) {
       
  1566 
       
  1567 (function() { module.exports = this["wp"]["data"]; }());
       
  1568 
       
  1569 /***/ }),
       
  1570 
       
  1571 /***/ 40:
   537 /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1572 /***/ (function(module, __webpack_exports__, __webpack_require__) {
   538 
  1573 
   539 "use strict";
  1574 "use strict";
   540 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; });
  1575 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; });
   541 function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); }
       
   542 
       
   543 function _typeof(obj) {
  1576 function _typeof(obj) {
   544   if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") {
  1577   "@babel/helpers - typeof";
       
  1578 
       
  1579   if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
   545     _typeof = function _typeof(obj) {
  1580     _typeof = function _typeof(obj) {
   546       return _typeof2(obj);
  1581       return typeof obj;
   547     };
  1582     };
   548   } else {
  1583   } else {
   549     _typeof = function _typeof(obj) {
  1584     _typeof = function _typeof(obj) {
   550       return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj);
  1585       return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
   551     };
  1586     };
   552   }
  1587   }
   553 
  1588 
   554   return _typeof(obj);
  1589   return _typeof(obj);
   555 }
  1590 }
   556 
  1591 
   557 /***/ }),
  1592 /***/ }),
   558 /* 33 */
  1593 
       
  1594 /***/ 41:
       
  1595 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  1596 
       
  1597 "use strict";
       
  1598 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; });
       
  1599 function _objectWithoutPropertiesLoose(source, excluded) {
       
  1600   if (source == null) return {};
       
  1601   var target = {};
       
  1602   var sourceKeys = Object.keys(source);
       
  1603   var key, i;
       
  1604 
       
  1605   for (i = 0; i < sourceKeys.length; i++) {
       
  1606     key = sourceKeys[i];
       
  1607     if (excluded.indexOf(key) >= 0) continue;
       
  1608     target[key] = source[key];
       
  1609   }
       
  1610 
       
  1611   return target;
       
  1612 }
       
  1613 
       
  1614 /***/ }),
       
  1615 
       
  1616 /***/ 43:
   559 /***/ (function(module, exports) {
  1617 /***/ (function(module, exports) {
   560 
  1618 
   561 (function() { module.exports = this["wp"]["apiFetch"]; }());
  1619 (function() { module.exports = this["moment"]; }());
   562 
  1620 
   563 /***/ }),
  1621 /***/ }),
   564 /* 34 */
  1622 
       
  1623 /***/ 436:
   565 /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1624 /***/ (function(module, __webpack_exports__, __webpack_require__) {
   566 
  1625 
   567 "use strict";
  1626 "use strict";
   568 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
  1627 // ESM COMPAT FLAG
   569 function _iterableToArray(iter) {
  1628 __webpack_require__.r(__webpack_exports__);
   570   if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
  1629 
       
  1630 // EXPORTS
       
  1631 __webpack_require__.d(__webpack_exports__, "registerCoreBlocks", function() { return /* binding */ build_module_registerCoreBlocks; });
       
  1632 __webpack_require__.d(__webpack_exports__, "__experimentalRegisterExperimentalCoreBlocks", function() { return /* binding */ __experimentalRegisterExperimentalCoreBlocks; });
       
  1633 
       
  1634 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/paragraph/index.js
       
  1635 var build_module_paragraph_namespaceObject = {};
       
  1636 __webpack_require__.r(build_module_paragraph_namespaceObject);
       
  1637 __webpack_require__.d(build_module_paragraph_namespaceObject, "metadata", function() { return paragraph_metadata; });
       
  1638 __webpack_require__.d(build_module_paragraph_namespaceObject, "name", function() { return paragraph_name; });
       
  1639 __webpack_require__.d(build_module_paragraph_namespaceObject, "settings", function() { return paragraph_settings; });
       
  1640 
       
  1641 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/image/index.js
       
  1642 var build_module_image_namespaceObject = {};
       
  1643 __webpack_require__.r(build_module_image_namespaceObject);
       
  1644 __webpack_require__.d(build_module_image_namespaceObject, "metadata", function() { return image_metadata; });
       
  1645 __webpack_require__.d(build_module_image_namespaceObject, "name", function() { return image_name; });
       
  1646 __webpack_require__.d(build_module_image_namespaceObject, "settings", function() { return image_settings; });
       
  1647 
       
  1648 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/heading/index.js
       
  1649 var build_module_heading_namespaceObject = {};
       
  1650 __webpack_require__.r(build_module_heading_namespaceObject);
       
  1651 __webpack_require__.d(build_module_heading_namespaceObject, "metadata", function() { return heading_metadata; });
       
  1652 __webpack_require__.d(build_module_heading_namespaceObject, "name", function() { return heading_name; });
       
  1653 __webpack_require__.d(build_module_heading_namespaceObject, "settings", function() { return heading_settings; });
       
  1654 
       
  1655 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/quote/index.js
       
  1656 var build_module_quote_namespaceObject = {};
       
  1657 __webpack_require__.r(build_module_quote_namespaceObject);
       
  1658 __webpack_require__.d(build_module_quote_namespaceObject, "metadata", function() { return quote_metadata; });
       
  1659 __webpack_require__.d(build_module_quote_namespaceObject, "name", function() { return quote_name; });
       
  1660 __webpack_require__.d(build_module_quote_namespaceObject, "settings", function() { return quote_settings; });
       
  1661 
       
  1662 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/gallery/index.js
       
  1663 var build_module_gallery_namespaceObject = {};
       
  1664 __webpack_require__.r(build_module_gallery_namespaceObject);
       
  1665 __webpack_require__.d(build_module_gallery_namespaceObject, "metadata", function() { return gallery_metadata; });
       
  1666 __webpack_require__.d(build_module_gallery_namespaceObject, "name", function() { return gallery_name; });
       
  1667 __webpack_require__.d(build_module_gallery_namespaceObject, "settings", function() { return gallery_settings; });
       
  1668 
       
  1669 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/archives/index.js
       
  1670 var archives_namespaceObject = {};
       
  1671 __webpack_require__.r(archives_namespaceObject);
       
  1672 __webpack_require__.d(archives_namespaceObject, "metadata", function() { return archives_metadata; });
       
  1673 __webpack_require__.d(archives_namespaceObject, "name", function() { return archives_name; });
       
  1674 __webpack_require__.d(archives_namespaceObject, "settings", function() { return archives_settings; });
       
  1675 
       
  1676 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/audio/index.js
       
  1677 var build_module_audio_namespaceObject = {};
       
  1678 __webpack_require__.r(build_module_audio_namespaceObject);
       
  1679 __webpack_require__.d(build_module_audio_namespaceObject, "metadata", function() { return audio_metadata; });
       
  1680 __webpack_require__.d(build_module_audio_namespaceObject, "name", function() { return audio_name; });
       
  1681 __webpack_require__.d(build_module_audio_namespaceObject, "settings", function() { return audio_settings; });
       
  1682 
       
  1683 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/button/index.js
       
  1684 var build_module_button_namespaceObject = {};
       
  1685 __webpack_require__.r(build_module_button_namespaceObject);
       
  1686 __webpack_require__.d(build_module_button_namespaceObject, "metadata", function() { return button_metadata; });
       
  1687 __webpack_require__.d(build_module_button_namespaceObject, "name", function() { return button_name; });
       
  1688 __webpack_require__.d(build_module_button_namespaceObject, "settings", function() { return button_settings; });
       
  1689 
       
  1690 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/buttons/index.js
       
  1691 var buttons_namespaceObject = {};
       
  1692 __webpack_require__.r(buttons_namespaceObject);
       
  1693 __webpack_require__.d(buttons_namespaceObject, "metadata", function() { return buttons_metadata; });
       
  1694 __webpack_require__.d(buttons_namespaceObject, "name", function() { return buttons_name; });
       
  1695 __webpack_require__.d(buttons_namespaceObject, "settings", function() { return buttons_settings; });
       
  1696 
       
  1697 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/calendar/index.js
       
  1698 var build_module_calendar_namespaceObject = {};
       
  1699 __webpack_require__.r(build_module_calendar_namespaceObject);
       
  1700 __webpack_require__.d(build_module_calendar_namespaceObject, "metadata", function() { return calendar_metadata; });
       
  1701 __webpack_require__.d(build_module_calendar_namespaceObject, "name", function() { return calendar_name; });
       
  1702 __webpack_require__.d(build_module_calendar_namespaceObject, "settings", function() { return calendar_settings; });
       
  1703 
       
  1704 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/categories/index.js
       
  1705 var categories_namespaceObject = {};
       
  1706 __webpack_require__.r(categories_namespaceObject);
       
  1707 __webpack_require__.d(categories_namespaceObject, "metadata", function() { return categories_metadata; });
       
  1708 __webpack_require__.d(categories_namespaceObject, "name", function() { return categories_name; });
       
  1709 __webpack_require__.d(categories_namespaceObject, "settings", function() { return categories_settings; });
       
  1710 
       
  1711 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/code/index.js
       
  1712 var code_namespaceObject = {};
       
  1713 __webpack_require__.r(code_namespaceObject);
       
  1714 __webpack_require__.d(code_namespaceObject, "metadata", function() { return code_metadata; });
       
  1715 __webpack_require__.d(code_namespaceObject, "name", function() { return code_name; });
       
  1716 __webpack_require__.d(code_namespaceObject, "settings", function() { return code_settings; });
       
  1717 
       
  1718 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/columns/index.js
       
  1719 var build_module_columns_namespaceObject = {};
       
  1720 __webpack_require__.r(build_module_columns_namespaceObject);
       
  1721 __webpack_require__.d(build_module_columns_namespaceObject, "metadata", function() { return columns_metadata; });
       
  1722 __webpack_require__.d(build_module_columns_namespaceObject, "name", function() { return columns_name; });
       
  1723 __webpack_require__.d(build_module_columns_namespaceObject, "settings", function() { return columns_settings; });
       
  1724 
       
  1725 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/column/index.js
       
  1726 var build_module_column_namespaceObject = {};
       
  1727 __webpack_require__.r(build_module_column_namespaceObject);
       
  1728 __webpack_require__.d(build_module_column_namespaceObject, "metadata", function() { return column_metadata; });
       
  1729 __webpack_require__.d(build_module_column_namespaceObject, "name", function() { return column_name; });
       
  1730 __webpack_require__.d(build_module_column_namespaceObject, "settings", function() { return column_settings; });
       
  1731 
       
  1732 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/cover/index.js
       
  1733 var build_module_cover_namespaceObject = {};
       
  1734 __webpack_require__.r(build_module_cover_namespaceObject);
       
  1735 __webpack_require__.d(build_module_cover_namespaceObject, "metadata", function() { return cover_metadata; });
       
  1736 __webpack_require__.d(build_module_cover_namespaceObject, "name", function() { return cover_name; });
       
  1737 __webpack_require__.d(build_module_cover_namespaceObject, "settings", function() { return cover_settings; });
       
  1738 
       
  1739 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/embed/index.js
       
  1740 var embed_namespaceObject = {};
       
  1741 __webpack_require__.r(embed_namespaceObject);
       
  1742 __webpack_require__.d(embed_namespaceObject, "name", function() { return embed_name; });
       
  1743 __webpack_require__.d(embed_namespaceObject, "settings", function() { return embed_settings; });
       
  1744 __webpack_require__.d(embed_namespaceObject, "common", function() { return embed_common; });
       
  1745 __webpack_require__.d(embed_namespaceObject, "others", function() { return embed_others; });
       
  1746 
       
  1747 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/file/index.js
       
  1748 var build_module_file_namespaceObject = {};
       
  1749 __webpack_require__.r(build_module_file_namespaceObject);
       
  1750 __webpack_require__.d(build_module_file_namespaceObject, "metadata", function() { return file_metadata; });
       
  1751 __webpack_require__.d(build_module_file_namespaceObject, "name", function() { return file_name; });
       
  1752 __webpack_require__.d(build_module_file_namespaceObject, "settings", function() { return file_settings; });
       
  1753 
       
  1754 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/html/index.js
       
  1755 var build_module_html_namespaceObject = {};
       
  1756 __webpack_require__.r(build_module_html_namespaceObject);
       
  1757 __webpack_require__.d(build_module_html_namespaceObject, "metadata", function() { return html_metadata; });
       
  1758 __webpack_require__.d(build_module_html_namespaceObject, "name", function() { return html_name; });
       
  1759 __webpack_require__.d(build_module_html_namespaceObject, "settings", function() { return html_settings; });
       
  1760 
       
  1761 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/media-text/index.js
       
  1762 var media_text_namespaceObject = {};
       
  1763 __webpack_require__.r(media_text_namespaceObject);
       
  1764 __webpack_require__.d(media_text_namespaceObject, "metadata", function() { return media_text_metadata; });
       
  1765 __webpack_require__.d(media_text_namespaceObject, "name", function() { return media_text_name; });
       
  1766 __webpack_require__.d(media_text_namespaceObject, "settings", function() { return media_text_settings; });
       
  1767 
       
  1768 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/latest-comments/index.js
       
  1769 var latest_comments_namespaceObject = {};
       
  1770 __webpack_require__.r(latest_comments_namespaceObject);
       
  1771 __webpack_require__.d(latest_comments_namespaceObject, "metadata", function() { return latest_comments_metadata; });
       
  1772 __webpack_require__.d(latest_comments_namespaceObject, "name", function() { return latest_comments_name; });
       
  1773 __webpack_require__.d(latest_comments_namespaceObject, "settings", function() { return latest_comments_settings; });
       
  1774 
       
  1775 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/latest-posts/index.js
       
  1776 var latest_posts_namespaceObject = {};
       
  1777 __webpack_require__.r(latest_posts_namespaceObject);
       
  1778 __webpack_require__.d(latest_posts_namespaceObject, "metadata", function() { return latest_posts_metadata; });
       
  1779 __webpack_require__.d(latest_posts_namespaceObject, "name", function() { return latest_posts_name; });
       
  1780 __webpack_require__.d(latest_posts_namespaceObject, "settings", function() { return latest_posts_settings; });
       
  1781 
       
  1782 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/list/index.js
       
  1783 var build_module_list_namespaceObject = {};
       
  1784 __webpack_require__.r(build_module_list_namespaceObject);
       
  1785 __webpack_require__.d(build_module_list_namespaceObject, "metadata", function() { return list_metadata; });
       
  1786 __webpack_require__.d(build_module_list_namespaceObject, "name", function() { return list_name; });
       
  1787 __webpack_require__.d(build_module_list_namespaceObject, "settings", function() { return list_settings; });
       
  1788 
       
  1789 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/missing/index.js
       
  1790 var missing_namespaceObject = {};
       
  1791 __webpack_require__.r(missing_namespaceObject);
       
  1792 __webpack_require__.d(missing_namespaceObject, "metadata", function() { return missing_metadata; });
       
  1793 __webpack_require__.d(missing_namespaceObject, "name", function() { return missing_name; });
       
  1794 __webpack_require__.d(missing_namespaceObject, "settings", function() { return missing_settings; });
       
  1795 
       
  1796 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/more/index.js
       
  1797 var build_module_more_namespaceObject = {};
       
  1798 __webpack_require__.r(build_module_more_namespaceObject);
       
  1799 __webpack_require__.d(build_module_more_namespaceObject, "metadata", function() { return more_metadata; });
       
  1800 __webpack_require__.d(build_module_more_namespaceObject, "name", function() { return more_name; });
       
  1801 __webpack_require__.d(build_module_more_namespaceObject, "settings", function() { return more_settings; });
       
  1802 
       
  1803 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/nextpage/index.js
       
  1804 var nextpage_namespaceObject = {};
       
  1805 __webpack_require__.r(nextpage_namespaceObject);
       
  1806 __webpack_require__.d(nextpage_namespaceObject, "metadata", function() { return nextpage_metadata; });
       
  1807 __webpack_require__.d(nextpage_namespaceObject, "name", function() { return nextpage_name; });
       
  1808 __webpack_require__.d(nextpage_namespaceObject, "settings", function() { return nextpage_settings; });
       
  1809 
       
  1810 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/preformatted/index.js
       
  1811 var build_module_preformatted_namespaceObject = {};
       
  1812 __webpack_require__.r(build_module_preformatted_namespaceObject);
       
  1813 __webpack_require__.d(build_module_preformatted_namespaceObject, "metadata", function() { return preformatted_metadata; });
       
  1814 __webpack_require__.d(build_module_preformatted_namespaceObject, "name", function() { return preformatted_name; });
       
  1815 __webpack_require__.d(build_module_preformatted_namespaceObject, "settings", function() { return preformatted_settings; });
       
  1816 
       
  1817 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/pullquote/index.js
       
  1818 var build_module_pullquote_namespaceObject = {};
       
  1819 __webpack_require__.r(build_module_pullquote_namespaceObject);
       
  1820 __webpack_require__.d(build_module_pullquote_namespaceObject, "metadata", function() { return pullquote_metadata; });
       
  1821 __webpack_require__.d(build_module_pullquote_namespaceObject, "name", function() { return pullquote_name; });
       
  1822 __webpack_require__.d(build_module_pullquote_namespaceObject, "settings", function() { return pullquote_settings; });
       
  1823 
       
  1824 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/block/index.js
       
  1825 var block_namespaceObject = {};
       
  1826 __webpack_require__.r(block_namespaceObject);
       
  1827 __webpack_require__.d(block_namespaceObject, "metadata", function() { return block_metadata; });
       
  1828 __webpack_require__.d(block_namespaceObject, "name", function() { return block_name; });
       
  1829 __webpack_require__.d(block_namespaceObject, "settings", function() { return block_settings; });
       
  1830 
       
  1831 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/rss/index.js
       
  1832 var build_module_rss_namespaceObject = {};
       
  1833 __webpack_require__.r(build_module_rss_namespaceObject);
       
  1834 __webpack_require__.d(build_module_rss_namespaceObject, "metadata", function() { return rss_metadata; });
       
  1835 __webpack_require__.d(build_module_rss_namespaceObject, "name", function() { return rss_name; });
       
  1836 __webpack_require__.d(build_module_rss_namespaceObject, "settings", function() { return rss_settings; });
       
  1837 
       
  1838 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/search/index.js
       
  1839 var search_namespaceObject = {};
       
  1840 __webpack_require__.r(search_namespaceObject);
       
  1841 __webpack_require__.d(search_namespaceObject, "metadata", function() { return search_metadata; });
       
  1842 __webpack_require__.d(search_namespaceObject, "name", function() { return search_name; });
       
  1843 __webpack_require__.d(search_namespaceObject, "settings", function() { return search_settings; });
       
  1844 
       
  1845 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/group/index.js
       
  1846 var build_module_group_namespaceObject = {};
       
  1847 __webpack_require__.r(build_module_group_namespaceObject);
       
  1848 __webpack_require__.d(build_module_group_namespaceObject, "metadata", function() { return group_metadata; });
       
  1849 __webpack_require__.d(build_module_group_namespaceObject, "name", function() { return group_name; });
       
  1850 __webpack_require__.d(build_module_group_namespaceObject, "settings", function() { return group_settings; });
       
  1851 
       
  1852 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/separator/index.js
       
  1853 var build_module_separator_namespaceObject = {};
       
  1854 __webpack_require__.r(build_module_separator_namespaceObject);
       
  1855 __webpack_require__.d(build_module_separator_namespaceObject, "metadata", function() { return separator_metadata; });
       
  1856 __webpack_require__.d(build_module_separator_namespaceObject, "name", function() { return separator_name; });
       
  1857 __webpack_require__.d(build_module_separator_namespaceObject, "settings", function() { return build_module_separator_settings; });
       
  1858 
       
  1859 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/shortcode/index.js
       
  1860 var build_module_shortcode_namespaceObject = {};
       
  1861 __webpack_require__.r(build_module_shortcode_namespaceObject);
       
  1862 __webpack_require__.d(build_module_shortcode_namespaceObject, "metadata", function() { return shortcode_metadata; });
       
  1863 __webpack_require__.d(build_module_shortcode_namespaceObject, "name", function() { return shortcode_name; });
       
  1864 __webpack_require__.d(build_module_shortcode_namespaceObject, "settings", function() { return shortcode_settings; });
       
  1865 
       
  1866 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/spacer/index.js
       
  1867 var spacer_namespaceObject = {};
       
  1868 __webpack_require__.r(spacer_namespaceObject);
       
  1869 __webpack_require__.d(spacer_namespaceObject, "metadata", function() { return spacer_metadata; });
       
  1870 __webpack_require__.d(spacer_namespaceObject, "name", function() { return spacer_name; });
       
  1871 __webpack_require__.d(spacer_namespaceObject, "settings", function() { return spacer_settings; });
       
  1872 
       
  1873 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/subhead/index.js
       
  1874 var subhead_namespaceObject = {};
       
  1875 __webpack_require__.r(subhead_namespaceObject);
       
  1876 __webpack_require__.d(subhead_namespaceObject, "metadata", function() { return subhead_metadata; });
       
  1877 __webpack_require__.d(subhead_namespaceObject, "name", function() { return subhead_name; });
       
  1878 __webpack_require__.d(subhead_namespaceObject, "settings", function() { return subhead_settings; });
       
  1879 
       
  1880 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/table/index.js
       
  1881 var build_module_table_namespaceObject = {};
       
  1882 __webpack_require__.r(build_module_table_namespaceObject);
       
  1883 __webpack_require__.d(build_module_table_namespaceObject, "metadata", function() { return table_metadata; });
       
  1884 __webpack_require__.d(build_module_table_namespaceObject, "name", function() { return table_name; });
       
  1885 __webpack_require__.d(build_module_table_namespaceObject, "settings", function() { return table_settings; });
       
  1886 
       
  1887 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/text-columns/index.js
       
  1888 var text_columns_namespaceObject = {};
       
  1889 __webpack_require__.r(text_columns_namespaceObject);
       
  1890 __webpack_require__.d(text_columns_namespaceObject, "metadata", function() { return text_columns_metadata; });
       
  1891 __webpack_require__.d(text_columns_namespaceObject, "name", function() { return text_columns_name; });
       
  1892 __webpack_require__.d(text_columns_namespaceObject, "settings", function() { return text_columns_settings; });
       
  1893 
       
  1894 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/verse/index.js
       
  1895 var build_module_verse_namespaceObject = {};
       
  1896 __webpack_require__.r(build_module_verse_namespaceObject);
       
  1897 __webpack_require__.d(build_module_verse_namespaceObject, "metadata", function() { return verse_metadata; });
       
  1898 __webpack_require__.d(build_module_verse_namespaceObject, "name", function() { return verse_name; });
       
  1899 __webpack_require__.d(build_module_verse_namespaceObject, "settings", function() { return verse_settings; });
       
  1900 
       
  1901 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/video/index.js
       
  1902 var build_module_video_namespaceObject = {};
       
  1903 __webpack_require__.r(build_module_video_namespaceObject);
       
  1904 __webpack_require__.d(build_module_video_namespaceObject, "metadata", function() { return video_metadata; });
       
  1905 __webpack_require__.d(build_module_video_namespaceObject, "name", function() { return video_name; });
       
  1906 __webpack_require__.d(build_module_video_namespaceObject, "settings", function() { return video_settings; });
       
  1907 
       
  1908 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/tag-cloud/index.js
       
  1909 var tag_cloud_namespaceObject = {};
       
  1910 __webpack_require__.r(tag_cloud_namespaceObject);
       
  1911 __webpack_require__.d(tag_cloud_namespaceObject, "metadata", function() { return tag_cloud_metadata; });
       
  1912 __webpack_require__.d(tag_cloud_namespaceObject, "name", function() { return tag_cloud_name; });
       
  1913 __webpack_require__.d(tag_cloud_namespaceObject, "settings", function() { return tag_cloud_settings; });
       
  1914 
       
  1915 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/classic/index.js
       
  1916 var build_module_classic_namespaceObject = {};
       
  1917 __webpack_require__.r(build_module_classic_namespaceObject);
       
  1918 __webpack_require__.d(build_module_classic_namespaceObject, "metadata", function() { return classic_metadata; });
       
  1919 __webpack_require__.d(build_module_classic_namespaceObject, "name", function() { return classic_name; });
       
  1920 __webpack_require__.d(build_module_classic_namespaceObject, "settings", function() { return classic_settings; });
       
  1921 
       
  1922 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/social-links/index.js
       
  1923 var social_links_namespaceObject = {};
       
  1924 __webpack_require__.r(social_links_namespaceObject);
       
  1925 __webpack_require__.d(social_links_namespaceObject, "metadata", function() { return social_links_metadata; });
       
  1926 __webpack_require__.d(social_links_namespaceObject, "name", function() { return social_links_name; });
       
  1927 __webpack_require__.d(social_links_namespaceObject, "settings", function() { return social_links_settings; });
       
  1928 
       
  1929 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/social-link/index.js
       
  1930 var social_link_namespaceObject = {};
       
  1931 __webpack_require__.r(social_link_namespaceObject);
       
  1932 __webpack_require__.d(social_link_namespaceObject, "metadata", function() { return social_link_metadata; });
       
  1933 __webpack_require__.d(social_link_namespaceObject, "name", function() { return social_link_name; });
       
  1934 __webpack_require__.d(social_link_namespaceObject, "settings", function() { return social_link_settings; });
       
  1935 
       
  1936 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
       
  1937 var toConsumableArray = __webpack_require__(18);
       
  1938 
       
  1939 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
       
  1940 var defineProperty = __webpack_require__(5);
       
  1941 
       
  1942 // EXTERNAL MODULE: external {"this":["wp","coreData"]}
       
  1943 var external_this_wp_coreData_ = __webpack_require__(98);
       
  1944 
       
  1945 // EXTERNAL MODULE: external {"this":["wp","notices"]}
       
  1946 var external_this_wp_notices_ = __webpack_require__(100);
       
  1947 
       
  1948 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
       
  1949 var external_this_wp_blockEditor_ = __webpack_require__(7);
       
  1950 
       
  1951 // EXTERNAL MODULE: external {"this":["wp","blocks"]}
       
  1952 var external_this_wp_blocks_ = __webpack_require__(10);
       
  1953 
       
  1954 // EXTERNAL MODULE: external {"this":"lodash"}
       
  1955 var external_this_lodash_ = __webpack_require__(2);
       
  1956 
       
  1957 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
  1958 var external_this_wp_i18n_ = __webpack_require__(1);
       
  1959 
       
  1960 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
  1961 var external_this_wp_element_ = __webpack_require__(0);
       
  1962 
       
  1963 // EXTERNAL MODULE: external {"this":["wp","primitives"]}
       
  1964 var external_this_wp_primitives_ = __webpack_require__(6);
       
  1965 
       
  1966 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/paragraph.js
       
  1967 
       
  1968 
       
  1969 /**
       
  1970  * WordPress dependencies
       
  1971  */
       
  1972 
       
  1973 var paragraph = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
  1974   xmlns: "http://www.w3.org/2000/svg",
       
  1975   viewBox: "0 0 24 24"
       
  1976 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
  1977   d: "M18.3 4H9.9v-.1l-.9.2c-2.3.4-4 2.4-4 4.8s1.7 4.4 4 4.8l.7.1V20h1.5V5.5h2.9V20h1.5V5.5h2.7V4z"
       
  1978 }));
       
  1979 /* harmony default export */ var library_paragraph = (paragraph);
       
  1980 
       
  1981 // EXTERNAL MODULE: ./node_modules/classnames/index.js
       
  1982 var classnames = __webpack_require__(11);
       
  1983 var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
       
  1984 
       
  1985 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/deprecated.js
       
  1986 
       
  1987 
       
  1988 
       
  1989 function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
  1990 
       
  1991 function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
  1992 
       
  1993 /**
       
  1994  * External dependencies
       
  1995  */
       
  1996 
       
  1997 
       
  1998 /**
       
  1999  * WordPress dependencies
       
  2000  */
       
  2001 
       
  2002 
       
  2003 
       
  2004 var deprecated_supports = {
       
  2005   className: false
       
  2006 };
       
  2007 var deprecated_blockAttributes = {
       
  2008   align: {
       
  2009     type: 'string'
       
  2010   },
       
  2011   content: {
       
  2012     type: 'string',
       
  2013     source: 'html',
       
  2014     selector: 'p',
       
  2015     default: ''
       
  2016   },
       
  2017   dropCap: {
       
  2018     type: 'boolean',
       
  2019     default: false
       
  2020   },
       
  2021   placeholder: {
       
  2022     type: 'string'
       
  2023   },
       
  2024   textColor: {
       
  2025     type: 'string'
       
  2026   },
       
  2027   backgroundColor: {
       
  2028     type: 'string'
       
  2029   },
       
  2030   fontSize: {
       
  2031     type: 'string'
       
  2032   },
       
  2033   direction: {
       
  2034     type: 'string',
       
  2035     enum: ['ltr', 'rtl']
       
  2036   },
       
  2037   style: {
       
  2038     type: 'object'
       
  2039   }
       
  2040 };
       
  2041 
       
  2042 var deprecated_migrateCustomColorsAndFontSizes = function migrateCustomColorsAndFontSizes(attributes) {
       
  2043   if (!attributes.customTextColor && !attributes.customBackgroundColor && !attributes.customFontSize) {
       
  2044     return attributes;
       
  2045   }
       
  2046 
       
  2047   var style = {};
       
  2048 
       
  2049   if (attributes.customTextColor || attributes.customBackgroundColor) {
       
  2050     style.color = {};
       
  2051   }
       
  2052 
       
  2053   if (attributes.customTextColor) {
       
  2054     style.color.text = attributes.customTextColor;
       
  2055   }
       
  2056 
       
  2057   if (attributes.customBackgroundColor) {
       
  2058     style.color.background = attributes.customBackgroundColor;
       
  2059   }
       
  2060 
       
  2061   if (attributes.customFontSize) {
       
  2062     style.typography = {
       
  2063       fontSize: attributes.customFontSize
       
  2064     };
       
  2065   }
       
  2066 
       
  2067   return _objectSpread({}, Object(external_this_lodash_["omit"])(attributes, ['customTextColor', 'customBackgroundColor', 'customFontSize']), {
       
  2068     style: style
       
  2069   });
       
  2070 };
       
  2071 
       
  2072 var deprecated = [{
       
  2073   supports: deprecated_supports,
       
  2074   attributes: _objectSpread({}, Object(external_this_lodash_["omit"])(deprecated_blockAttributes, ['style']), {
       
  2075     customTextColor: {
       
  2076       type: 'string'
       
  2077     },
       
  2078     customBackgroundColor: {
       
  2079       type: 'string'
       
  2080     },
       
  2081     customFontSize: {
       
  2082       type: 'number'
       
  2083     }
       
  2084   }),
       
  2085   migrate: deprecated_migrateCustomColorsAndFontSizes,
       
  2086   save: function save(_ref) {
       
  2087     var _classnames;
       
  2088 
       
  2089     var attributes = _ref.attributes;
       
  2090     var align = attributes.align,
       
  2091         content = attributes.content,
       
  2092         dropCap = attributes.dropCap,
       
  2093         backgroundColor = attributes.backgroundColor,
       
  2094         textColor = attributes.textColor,
       
  2095         customBackgroundColor = attributes.customBackgroundColor,
       
  2096         customTextColor = attributes.customTextColor,
       
  2097         fontSize = attributes.fontSize,
       
  2098         customFontSize = attributes.customFontSize,
       
  2099         direction = attributes.direction;
       
  2100     var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
       
  2101     var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
       
  2102     var fontSizeClass = Object(external_this_wp_blockEditor_["getFontSizeClass"])(fontSize);
       
  2103     var className = classnames_default()((_classnames = {
       
  2104       'has-text-color': textColor || customTextColor,
       
  2105       'has-background': backgroundColor || customBackgroundColor,
       
  2106       'has-drop-cap': dropCap
       
  2107     }, Object(defineProperty["a" /* default */])(_classnames, "has-text-align-".concat(align), align), Object(defineProperty["a" /* default */])(_classnames, fontSizeClass, fontSizeClass), Object(defineProperty["a" /* default */])(_classnames, textClass, textClass), Object(defineProperty["a" /* default */])(_classnames, backgroundClass, backgroundClass), _classnames));
       
  2108     var styles = {
       
  2109       backgroundColor: backgroundClass ? undefined : customBackgroundColor,
       
  2110       color: textClass ? undefined : customTextColor,
       
  2111       fontSize: fontSizeClass ? undefined : customFontSize
       
  2112     };
       
  2113     return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  2114       tagName: "p",
       
  2115       style: styles,
       
  2116       className: className ? className : undefined,
       
  2117       value: content,
       
  2118       dir: direction
       
  2119     });
       
  2120   }
       
  2121 }, {
       
  2122   supports: deprecated_supports,
       
  2123   attributes: _objectSpread({}, Object(external_this_lodash_["omit"])(deprecated_blockAttributes, ['style']), {
       
  2124     customTextColor: {
       
  2125       type: 'string'
       
  2126     },
       
  2127     customBackgroundColor: {
       
  2128       type: 'string'
       
  2129     },
       
  2130     customFontSize: {
       
  2131       type: 'number'
       
  2132     }
       
  2133   }),
       
  2134   migrate: deprecated_migrateCustomColorsAndFontSizes,
       
  2135   save: function save(_ref2) {
       
  2136     var _classnames2;
       
  2137 
       
  2138     var attributes = _ref2.attributes;
       
  2139     var align = attributes.align,
       
  2140         content = attributes.content,
       
  2141         dropCap = attributes.dropCap,
       
  2142         backgroundColor = attributes.backgroundColor,
       
  2143         textColor = attributes.textColor,
       
  2144         customBackgroundColor = attributes.customBackgroundColor,
       
  2145         customTextColor = attributes.customTextColor,
       
  2146         fontSize = attributes.fontSize,
       
  2147         customFontSize = attributes.customFontSize,
       
  2148         direction = attributes.direction;
       
  2149     var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
       
  2150     var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
       
  2151     var fontSizeClass = Object(external_this_wp_blockEditor_["getFontSizeClass"])(fontSize);
       
  2152     var className = classnames_default()((_classnames2 = {
       
  2153       'has-text-color': textColor || customTextColor,
       
  2154       'has-background': backgroundColor || customBackgroundColor,
       
  2155       'has-drop-cap': dropCap
       
  2156     }, Object(defineProperty["a" /* default */])(_classnames2, fontSizeClass, fontSizeClass), Object(defineProperty["a" /* default */])(_classnames2, textClass, textClass), Object(defineProperty["a" /* default */])(_classnames2, backgroundClass, backgroundClass), _classnames2));
       
  2157     var styles = {
       
  2158       backgroundColor: backgroundClass ? undefined : customBackgroundColor,
       
  2159       color: textClass ? undefined : customTextColor,
       
  2160       fontSize: fontSizeClass ? undefined : customFontSize,
       
  2161       textAlign: align
       
  2162     };
       
  2163     return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  2164       tagName: "p",
       
  2165       style: styles,
       
  2166       className: className ? className : undefined,
       
  2167       value: content,
       
  2168       dir: direction
       
  2169     });
       
  2170   }
       
  2171 }, {
       
  2172   supports: deprecated_supports,
       
  2173   attributes: _objectSpread({}, Object(external_this_lodash_["omit"])(deprecated_blockAttributes, ['style']), {
       
  2174     customTextColor: {
       
  2175       type: 'string'
       
  2176     },
       
  2177     customBackgroundColor: {
       
  2178       type: 'string'
       
  2179     },
       
  2180     customFontSize: {
       
  2181       type: 'number'
       
  2182     },
       
  2183     width: {
       
  2184       type: 'string'
       
  2185     }
       
  2186   }),
       
  2187   migrate: deprecated_migrateCustomColorsAndFontSizes,
       
  2188   save: function save(_ref3) {
       
  2189     var _classnames3;
       
  2190 
       
  2191     var attributes = _ref3.attributes;
       
  2192     var width = attributes.width,
       
  2193         align = attributes.align,
       
  2194         content = attributes.content,
       
  2195         dropCap = attributes.dropCap,
       
  2196         backgroundColor = attributes.backgroundColor,
       
  2197         textColor = attributes.textColor,
       
  2198         customBackgroundColor = attributes.customBackgroundColor,
       
  2199         customTextColor = attributes.customTextColor,
       
  2200         fontSize = attributes.fontSize,
       
  2201         customFontSize = attributes.customFontSize;
       
  2202     var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
       
  2203     var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
       
  2204     var fontSizeClass = fontSize && "is-".concat(fontSize, "-text");
       
  2205     var className = classnames_default()((_classnames3 = {}, Object(defineProperty["a" /* default */])(_classnames3, "align".concat(width), width), Object(defineProperty["a" /* default */])(_classnames3, 'has-background', backgroundColor || customBackgroundColor), Object(defineProperty["a" /* default */])(_classnames3, 'has-drop-cap', dropCap), Object(defineProperty["a" /* default */])(_classnames3, fontSizeClass, fontSizeClass), Object(defineProperty["a" /* default */])(_classnames3, textClass, textClass), Object(defineProperty["a" /* default */])(_classnames3, backgroundClass, backgroundClass), _classnames3));
       
  2206     var styles = {
       
  2207       backgroundColor: backgroundClass ? undefined : customBackgroundColor,
       
  2208       color: textClass ? undefined : customTextColor,
       
  2209       fontSize: fontSizeClass ? undefined : customFontSize,
       
  2210       textAlign: align
       
  2211     };
       
  2212     return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  2213       tagName: "p",
       
  2214       style: styles,
       
  2215       className: className ? className : undefined,
       
  2216       value: content
       
  2217     });
       
  2218   }
       
  2219 }, {
       
  2220   supports: deprecated_supports,
       
  2221   attributes: Object(external_this_lodash_["omit"])(_objectSpread({}, deprecated_blockAttributes, {
       
  2222     fontSize: {
       
  2223       type: 'number'
       
  2224     }
       
  2225   }), ['style']),
       
  2226   save: function save(_ref4) {
       
  2227     var _classnames4;
       
  2228 
       
  2229     var attributes = _ref4.attributes;
       
  2230     var width = attributes.width,
       
  2231         align = attributes.align,
       
  2232         content = attributes.content,
       
  2233         dropCap = attributes.dropCap,
       
  2234         backgroundColor = attributes.backgroundColor,
       
  2235         textColor = attributes.textColor,
       
  2236         fontSize = attributes.fontSize;
       
  2237     var className = classnames_default()((_classnames4 = {}, Object(defineProperty["a" /* default */])(_classnames4, "align".concat(width), width), Object(defineProperty["a" /* default */])(_classnames4, 'has-background', backgroundColor), Object(defineProperty["a" /* default */])(_classnames4, 'has-drop-cap', dropCap), _classnames4));
       
  2238     var styles = {
       
  2239       backgroundColor: backgroundColor,
       
  2240       color: textColor,
       
  2241       fontSize: fontSize,
       
  2242       textAlign: align
       
  2243     };
       
  2244     return Object(external_this_wp_element_["createElement"])("p", {
       
  2245       style: styles,
       
  2246       className: className ? className : undefined
       
  2247     }, content);
       
  2248   },
       
  2249   migrate: function migrate(attributes) {
       
  2250     return deprecated_migrateCustomColorsAndFontSizes(Object(external_this_lodash_["omit"])(_objectSpread({}, attributes, {
       
  2251       customFontSize: Object(external_this_lodash_["isFinite"])(attributes.fontSize) ? attributes.fontSize : undefined,
       
  2252       customTextColor: attributes.textColor && '#' === attributes.textColor[0] ? attributes.textColor : undefined,
       
  2253       customBackgroundColor: attributes.backgroundColor && '#' === attributes.backgroundColor[0] ? attributes.backgroundColor : undefined
       
  2254     })), ['fontSize', 'textColor', 'backgroundColor', 'style']);
       
  2255   }
       
  2256 }, {
       
  2257   supports: deprecated_supports,
       
  2258   attributes: _objectSpread({}, deprecated_blockAttributes, {
       
  2259     content: {
       
  2260       type: 'string',
       
  2261       source: 'html',
       
  2262       default: ''
       
  2263     }
       
  2264   }),
       
  2265   save: function save(_ref5) {
       
  2266     var attributes = _ref5.attributes;
       
  2267     return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["RawHTML"], null, attributes.content);
       
  2268   },
       
  2269   migrate: function migrate(attributes) {
       
  2270     return attributes;
       
  2271   }
       
  2272 }];
       
  2273 /* harmony default export */ var paragraph_deprecated = (deprecated);
       
  2274 
       
  2275 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
       
  2276 var slicedToArray = __webpack_require__(14);
       
  2277 
       
  2278 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
  2279 var external_this_wp_components_ = __webpack_require__(3);
       
  2280 
       
  2281 // EXTERNAL MODULE: external {"this":["wp","data"]}
       
  2282 var external_this_wp_data_ = __webpack_require__(4);
       
  2283 
       
  2284 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-ltr.js
       
  2285 
       
  2286 
       
  2287 /**
       
  2288  * WordPress dependencies
       
  2289  */
       
  2290 
       
  2291 var formatLtr = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
  2292   xmlns: "http://www.w3.org/2000/svg",
       
  2293   viewBox: "-2 -2 24 24"
       
  2294 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
  2295   d: "M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z"
       
  2296 }));
       
  2297 /* harmony default export */ var format_ltr = (formatLtr);
       
  2298 
       
  2299 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/edit.js
       
  2300 
       
  2301 
       
  2302 
       
  2303 
       
  2304 function edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
  2305 
       
  2306 function edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
  2307 
       
  2308 /**
       
  2309  * External dependencies
       
  2310  */
       
  2311 
       
  2312 /**
       
  2313  * WordPress dependencies
       
  2314  */
       
  2315 
       
  2316 
       
  2317 
       
  2318 
       
  2319 
       
  2320 
       
  2321 
       
  2322 
       
  2323 /**
       
  2324  * Browser dependencies
       
  2325  */
       
  2326 
       
  2327 var edit_window = window,
       
  2328     edit_getComputedStyle = edit_window.getComputedStyle;
       
  2329 var querySelector = window.document.querySelector.bind(document);
       
  2330 var edit_name = 'core/paragraph';
       
  2331 var PARAGRAPH_DROP_CAP_SELECTOR = 'p.has-drop-cap';
       
  2332 
       
  2333 function ParagraphRTLToolbar(_ref) {
       
  2334   var direction = _ref.direction,
       
  2335       setDirection = _ref.setDirection;
       
  2336   var isRTL = Object(external_this_wp_data_["useSelect"])(function (select) {
       
  2337     return !!select('core/block-editor').getSettings().isRTL;
       
  2338   }, []);
       
  2339   return isRTL && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], {
       
  2340     controls: [{
       
  2341       icon: format_ltr,
       
  2342       title: Object(external_this_wp_i18n_["_x"])('Left to right', 'editor button'),
       
  2343       isActive: direction === 'ltr',
       
  2344       onClick: function onClick() {
       
  2345         setDirection(direction === 'ltr' ? undefined : 'ltr');
       
  2346       }
       
  2347     }]
       
  2348   });
   571 }
  2349 }
   572 
  2350 
   573 /***/ }),
  2351 function useDropCap(isDropCap, fontSize, styleFontSize) {
   574 /* 35 */
  2352   var isDisabled = !Object(external_this_wp_blockEditor_["__experimentalUseEditorFeature"])('typography.dropCap');
   575 /***/ (function(module, exports) {
  2353 
   576 
  2354   var _useState = Object(external_this_wp_element_["useState"])(),
   577 (function() { module.exports = this["wp"]["blob"]; }());
  2355       _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
   578 
  2356       minimumHeight = _useState2[0],
   579 /***/ }),
  2357       setMinimumHeight = _useState2[1];
   580 /* 36 */
  2358 
   581 /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2359   var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) {
   582 
  2360     return select('core/block-editor').getSettings();
   583 "use strict";
  2361   }),
   584 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return embedContentIcon; });
  2362       fontSizes = _useSelect.fontSizes;
   585 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return embedAudioIcon; });
  2363 
   586 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return embedPhotoIcon; });
  2364   var fontSizeObject = Object(external_this_wp_blockEditor_["getFontSize"])(fontSizes, fontSize, styleFontSize);
   587 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return embedVideoIcon; });
  2365   Object(external_this_wp_element_["useEffect"])(function () {
   588 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return embedTwitterIcon; });
  2366     if (isDisabled) {
   589 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return embedYouTubeIcon; });
  2367       return;
   590 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return embedFacebookIcon; });
  2368     }
   591 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return embedInstagramIcon; });
  2369 
   592 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return embedWordPressIcon; });
  2370     var element = querySelector(PARAGRAPH_DROP_CAP_SELECTOR);
   593 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return embedSpotifyIcon; });
  2371 
   594 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return embedFlickrIcon; });
  2372     if (isDropCap && element) {
   595 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return embedVimeoIcon; });
  2373       setMinimumHeight(edit_getComputedStyle(element, 'first-letter').lineHeight);
   596 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return embedRedditIcon; });
  2374     } else if (minimumHeight) {
   597 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return embedTumbrIcon; });
  2375       setMinimumHeight(undefined);
   598 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return embedAmazonIcon; });
  2376     }
   599 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
  2377   }, [isDisabled, isDropCap, minimumHeight, setMinimumHeight, fontSizeObject.size]);
   600 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
  2378   return [!isDisabled, minimumHeight];
   601 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
  2379 }
   602 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__);
  2380 
   603 
  2381 function ParagraphBlock(_ref2) {
   604 
  2382   var attributes = _ref2.attributes,
   605 /**
  2383       mergeBlocks = _ref2.mergeBlocks,
   606  * WordPress dependencies
  2384       onReplace = _ref2.onReplace,
   607  */
  2385       onRemove = _ref2.onRemove,
   608 
  2386       setAttributes = _ref2.setAttributes;
   609 var embedContentIcon = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
  2387   var align = attributes.align,
       
  2388       content = attributes.content,
       
  2389       direction = attributes.direction,
       
  2390       dropCap = attributes.dropCap,
       
  2391       placeholder = attributes.placeholder,
       
  2392       fontSize = attributes.fontSize,
       
  2393       style = attributes.style;
       
  2394   var ref = Object(external_this_wp_element_["useRef"])();
       
  2395 
       
  2396   var _useDropCap = useDropCap(dropCap, fontSize, style === null || style === void 0 ? void 0 : style.fontSize),
       
  2397       _useDropCap2 = Object(slicedToArray["a" /* default */])(_useDropCap, 2),
       
  2398       isDropCapEnabled = _useDropCap2[0],
       
  2399       dropCapMinimumHeight = _useDropCap2[1];
       
  2400 
       
  2401   var styles = {
       
  2402     direction: direction,
       
  2403     minHeight: dropCapMinimumHeight
       
  2404   };
       
  2405   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["AlignmentToolbar"], {
       
  2406     value: align,
       
  2407     onChange: function onChange(newAlign) {
       
  2408       return setAttributes({
       
  2409         align: newAlign
       
  2410       });
       
  2411     }
       
  2412   }), Object(external_this_wp_element_["createElement"])(ParagraphRTLToolbar, {
       
  2413     direction: direction,
       
  2414     setDirection: function setDirection(newDirection) {
       
  2415       return setAttributes({
       
  2416         direction: newDirection
       
  2417       });
       
  2418     }
       
  2419   })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, isDropCapEnabled && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
  2420     title: Object(external_this_wp_i18n_["__"])('Text settings')
       
  2421   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
  2422     label: Object(external_this_wp_i18n_["__"])('Drop cap'),
       
  2423     checked: !!dropCap,
       
  2424     onChange: function onChange() {
       
  2425       return setAttributes({
       
  2426         dropCap: !dropCap
       
  2427       });
       
  2428     },
       
  2429     help: dropCap ? Object(external_this_wp_i18n_["__"])('Showing large initial letter.') : Object(external_this_wp_i18n_["__"])('Toggle to show a large initial letter.')
       
  2430   }))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
  2431     ref: ref,
       
  2432     identifier: "content",
       
  2433     tagName: external_this_wp_blockEditor_["__experimentalBlock"].p,
       
  2434     className: classnames_default()(Object(defineProperty["a" /* default */])({
       
  2435       'has-drop-cap': dropCap
       
  2436     }, "has-text-align-".concat(align), align)),
       
  2437     style: styles,
       
  2438     value: content,
       
  2439     onChange: function onChange(newContent) {
       
  2440       return setAttributes({
       
  2441         content: newContent
       
  2442       });
       
  2443     },
       
  2444     onSplit: function onSplit(value) {
       
  2445       if (!value) {
       
  2446         return Object(external_this_wp_blocks_["createBlock"])(edit_name);
       
  2447       }
       
  2448 
       
  2449       return Object(external_this_wp_blocks_["createBlock"])(edit_name, edit_objectSpread({}, attributes, {
       
  2450         content: value
       
  2451       }));
       
  2452     },
       
  2453     onMerge: mergeBlocks,
       
  2454     onReplace: onReplace,
       
  2455     onRemove: onRemove,
       
  2456     "aria-label": content ? Object(external_this_wp_i18n_["__"])('Paragraph block') : Object(external_this_wp_i18n_["__"])('Empty block; start writing or type forward slash to choose a block'),
       
  2457     placeholder: placeholder || Object(external_this_wp_i18n_["__"])('Start writing or type / to choose a block'),
       
  2458     __unstableEmbedURLOnPaste: true,
       
  2459     __unstableAllowPrefixTransformations: true
       
  2460   }));
       
  2461 }
       
  2462 
       
  2463 /* harmony default export */ var paragraph_edit = (ParagraphBlock);
       
  2464 
       
  2465 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/save.js
       
  2466 
       
  2467 
       
  2468 
       
  2469 /**
       
  2470  * External dependencies
       
  2471  */
       
  2472 
       
  2473 /**
       
  2474  * WordPress dependencies
       
  2475  */
       
  2476 
       
  2477 
       
  2478 function save_save(_ref) {
       
  2479   var attributes = _ref.attributes;
       
  2480   var align = attributes.align,
       
  2481       content = attributes.content,
       
  2482       dropCap = attributes.dropCap,
       
  2483       direction = attributes.direction;
       
  2484   var className = classnames_default()(Object(defineProperty["a" /* default */])({
       
  2485     'has-drop-cap': dropCap
       
  2486   }, "has-text-align-".concat(align), align));
       
  2487   return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  2488     tagName: "p",
       
  2489     className: className ? className : undefined,
       
  2490     value: content,
       
  2491     dir: direction
       
  2492   });
       
  2493 }
       
  2494 
       
  2495 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/transforms.js
       
  2496 /**
       
  2497  * WordPress dependencies
       
  2498  */
       
  2499 
       
  2500 /**
       
  2501  * Internal dependencies
       
  2502  */
       
  2503 
       
  2504 var _name$category$attrib = {
       
  2505   name: "core/paragraph",
       
  2506   category: "text",
       
  2507   attributes: {
       
  2508     align: {
       
  2509       type: "string"
       
  2510     },
       
  2511     content: {
       
  2512       type: "string",
       
  2513       source: "html",
       
  2514       selector: "p",
       
  2515       "default": ""
       
  2516     },
       
  2517     dropCap: {
       
  2518       type: "boolean",
       
  2519       "default": false
       
  2520     },
       
  2521     placeholder: {
       
  2522       type: "string"
       
  2523     },
       
  2524     direction: {
       
  2525       type: "string",
       
  2526       "enum": ["ltr", "rtl"]
       
  2527     }
       
  2528   },
       
  2529   supports: {
       
  2530     anchor: true,
       
  2531     className: false,
       
  2532     lightBlockWrapper: true,
       
  2533     __experimentalColor: {
       
  2534       linkColor: true
       
  2535     },
       
  2536     __experimentalFontSize: true,
       
  2537     __experimentalLineHeight: true,
       
  2538     __experimentalFeatures: {
       
  2539       typography: {
       
  2540         dropCap: true
       
  2541       }
       
  2542     },
       
  2543     __experimentalSelector: "p",
       
  2544     __unstablePasteTextInline: true
       
  2545   }
       
  2546 },
       
  2547     transforms_name = _name$category$attrib.name;
       
  2548 var transforms_transforms = {
       
  2549   from: [{
       
  2550     type: 'raw',
       
  2551     // Paragraph is a fallback and should be matched last.
       
  2552     priority: 20,
       
  2553     selector: 'p',
       
  2554     schema: function schema(_ref) {
       
  2555       var phrasingContentSchema = _ref.phrasingContentSchema,
       
  2556           isPaste = _ref.isPaste;
       
  2557       return {
       
  2558         p: {
       
  2559           children: phrasingContentSchema,
       
  2560           attributes: isPaste ? [] : ['style', 'id']
       
  2561         }
       
  2562       };
       
  2563     },
       
  2564     transform: function transform(node) {
       
  2565       var attributes = Object(external_this_wp_blocks_["getBlockAttributes"])(transforms_name, node.outerHTML);
       
  2566 
       
  2567       var _ref2 = node.style || {},
       
  2568           textAlign = _ref2.textAlign;
       
  2569 
       
  2570       if (textAlign === 'left' || textAlign === 'center' || textAlign === 'right') {
       
  2571         attributes.align = textAlign;
       
  2572       }
       
  2573 
       
  2574       return Object(external_this_wp_blocks_["createBlock"])(transforms_name, attributes);
       
  2575     }
       
  2576   }]
       
  2577 };
       
  2578 /* harmony default export */ var paragraph_transforms = (transforms_transforms);
       
  2579 
       
  2580 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/index.js
       
  2581 /**
       
  2582  * External dependencies
       
  2583  */
       
  2584 
       
  2585 /**
       
  2586  * WordPress dependencies
       
  2587  */
       
  2588 
       
  2589 
       
  2590 
       
  2591 /**
       
  2592  * Internal dependencies
       
  2593  */
       
  2594 
       
  2595 
       
  2596 
       
  2597 var paragraph_metadata = {
       
  2598   name: "core/paragraph",
       
  2599   category: "text",
       
  2600   attributes: {
       
  2601     align: {
       
  2602       type: "string"
       
  2603     },
       
  2604     content: {
       
  2605       type: "string",
       
  2606       source: "html",
       
  2607       selector: "p",
       
  2608       "default": ""
       
  2609     },
       
  2610     dropCap: {
       
  2611       type: "boolean",
       
  2612       "default": false
       
  2613     },
       
  2614     placeholder: {
       
  2615       type: "string"
       
  2616     },
       
  2617     direction: {
       
  2618       type: "string",
       
  2619       "enum": ["ltr", "rtl"]
       
  2620     }
       
  2621   },
       
  2622   supports: {
       
  2623     anchor: true,
       
  2624     className: false,
       
  2625     lightBlockWrapper: true,
       
  2626     __experimentalColor: {
       
  2627       linkColor: true
       
  2628     },
       
  2629     __experimentalFontSize: true,
       
  2630     __experimentalLineHeight: true,
       
  2631     __experimentalFeatures: {
       
  2632       typography: {
       
  2633         dropCap: true
       
  2634       }
       
  2635     },
       
  2636     __experimentalSelector: "p",
       
  2637     __unstablePasteTextInline: true
       
  2638   }
       
  2639 };
       
  2640 
       
  2641 
       
  2642 var paragraph_name = paragraph_metadata.name;
       
  2643 
       
  2644 var paragraph_settings = {
       
  2645   title: Object(external_this_wp_i18n_["__"])('Paragraph'),
       
  2646   description: Object(external_this_wp_i18n_["__"])('Start with the building block of all narrative.'),
       
  2647   icon: library_paragraph,
       
  2648   keywords: [Object(external_this_wp_i18n_["__"])('text')],
       
  2649   example: {
       
  2650     attributes: {
       
  2651       content: Object(external_this_wp_i18n_["__"])('In a village of La Mancha, the name of which I have no desire to call to mind, there lived not long since one of those gentlemen that keep a lance in the lance-rack, an old buckler, a lean hack, and a greyhound for coursing.'),
       
  2652       style: {
       
  2653         typography: {
       
  2654           fontSize: 28
       
  2655         }
       
  2656       },
       
  2657       dropCap: true
       
  2658     }
       
  2659   },
       
  2660   __experimentalLabel: function __experimentalLabel(attributes, _ref) {
       
  2661     var context = _ref.context;
       
  2662 
       
  2663     if (context === 'accessibility') {
       
  2664       var content = attributes.content;
       
  2665       return Object(external_this_lodash_["isEmpty"])(content) ? Object(external_this_wp_i18n_["__"])('Empty') : content;
       
  2666     }
       
  2667   },
       
  2668   transforms: paragraph_transforms,
       
  2669   deprecated: paragraph_deprecated,
       
  2670   merge: function merge(attributes, attributesToMerge) {
       
  2671     return {
       
  2672       content: (attributes.content || '') + (attributesToMerge.content || '')
       
  2673     };
       
  2674   },
       
  2675   edit: paragraph_edit,
       
  2676   save: save_save
       
  2677 };
       
  2678 
       
  2679 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/image.js
       
  2680 
       
  2681 
       
  2682 /**
       
  2683  * WordPress dependencies
       
  2684  */
       
  2685 
       
  2686 var image_image = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
   610   viewBox: "0 0 24 24",
  2687   viewBox: "0 0 24 24",
   611   xmlns: "http://www.w3.org/2000/svg"
  2688   xmlns: "http://www.w3.org/2000/svg"
   612 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
  2689 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
   613   d: "M0,0h24v24H0V0z",
  2690   d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"
   614   fill: "none"
       
   615 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
   616   d: "M19,4H5C3.89,4,3,4.9,3,6v12c0,1.1,0.89,2,2,2h14c1.1,0,2-0.9,2-2V6C21,4.9,20.11,4,19,4z M19,18H5V8h14V18z"
       
   617 }));
  2691 }));
   618 var embedAudioIcon = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
  2692 /* harmony default export */ var library_image = (image_image);
       
  2693 
       
  2694 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
       
  2695 var esm_extends = __webpack_require__(8);
       
  2696 
       
  2697 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/deprecated.js
       
  2698 
       
  2699 
       
  2700 
       
  2701 
       
  2702 /**
       
  2703  * External dependencies
       
  2704  */
       
  2705 
       
  2706 /**
       
  2707  * WordPress dependencies
       
  2708  */
       
  2709 
       
  2710 
       
  2711 var image_deprecated_blockAttributes = {
       
  2712   align: {
       
  2713     type: 'string'
       
  2714   },
       
  2715   url: {
       
  2716     type: 'string',
       
  2717     source: 'attribute',
       
  2718     selector: 'img',
       
  2719     attribute: 'src'
       
  2720   },
       
  2721   alt: {
       
  2722     type: 'string',
       
  2723     source: 'attribute',
       
  2724     selector: 'img',
       
  2725     attribute: 'alt',
       
  2726     default: ''
       
  2727   },
       
  2728   caption: {
       
  2729     type: 'string',
       
  2730     source: 'html',
       
  2731     selector: 'figcaption'
       
  2732   },
       
  2733   href: {
       
  2734     type: 'string',
       
  2735     source: 'attribute',
       
  2736     selector: 'figure > a',
       
  2737     attribute: 'href'
       
  2738   },
       
  2739   rel: {
       
  2740     type: 'string',
       
  2741     source: 'attribute',
       
  2742     selector: 'figure > a',
       
  2743     attribute: 'rel'
       
  2744   },
       
  2745   linkClass: {
       
  2746     type: 'string',
       
  2747     source: 'attribute',
       
  2748     selector: 'figure > a',
       
  2749     attribute: 'class'
       
  2750   },
       
  2751   id: {
       
  2752     type: 'number'
       
  2753   },
       
  2754   width: {
       
  2755     type: 'number'
       
  2756   },
       
  2757   height: {
       
  2758     type: 'number'
       
  2759   },
       
  2760   linkDestination: {
       
  2761     type: 'string',
       
  2762     default: 'none'
       
  2763   },
       
  2764   linkTarget: {
       
  2765     type: 'string',
       
  2766     source: 'attribute',
       
  2767     selector: 'figure > a',
       
  2768     attribute: 'target'
       
  2769   }
       
  2770 };
       
  2771 var deprecated_deprecated = [{
       
  2772   attributes: image_deprecated_blockAttributes,
       
  2773   save: function save(_ref) {
       
  2774     var _classnames;
       
  2775 
       
  2776     var attributes = _ref.attributes;
       
  2777     var url = attributes.url,
       
  2778         alt = attributes.alt,
       
  2779         caption = attributes.caption,
       
  2780         align = attributes.align,
       
  2781         href = attributes.href,
       
  2782         width = attributes.width,
       
  2783         height = attributes.height,
       
  2784         id = attributes.id;
       
  2785     var classes = classnames_default()((_classnames = {}, Object(defineProperty["a" /* default */])(_classnames, "align".concat(align), align), Object(defineProperty["a" /* default */])(_classnames, 'is-resized', width || height), _classnames));
       
  2786     var image = Object(external_this_wp_element_["createElement"])("img", {
       
  2787       src: url,
       
  2788       alt: alt,
       
  2789       className: id ? "wp-image-".concat(id) : null,
       
  2790       width: width,
       
  2791       height: height
       
  2792     });
       
  2793     return Object(external_this_wp_element_["createElement"])("figure", {
       
  2794       className: classes
       
  2795     }, href ? Object(external_this_wp_element_["createElement"])("a", {
       
  2796       href: href
       
  2797     }, image) : image, !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  2798       tagName: "figcaption",
       
  2799       value: caption
       
  2800     }));
       
  2801   }
       
  2802 }, {
       
  2803   attributes: image_deprecated_blockAttributes,
       
  2804   save: function save(_ref2) {
       
  2805     var attributes = _ref2.attributes;
       
  2806     var url = attributes.url,
       
  2807         alt = attributes.alt,
       
  2808         caption = attributes.caption,
       
  2809         align = attributes.align,
       
  2810         href = attributes.href,
       
  2811         width = attributes.width,
       
  2812         height = attributes.height,
       
  2813         id = attributes.id;
       
  2814     var image = Object(external_this_wp_element_["createElement"])("img", {
       
  2815       src: url,
       
  2816       alt: alt,
       
  2817       className: id ? "wp-image-".concat(id) : null,
       
  2818       width: width,
       
  2819       height: height
       
  2820     });
       
  2821     return Object(external_this_wp_element_["createElement"])("figure", {
       
  2822       className: align ? "align".concat(align) : null
       
  2823     }, href ? Object(external_this_wp_element_["createElement"])("a", {
       
  2824       href: href
       
  2825     }, image) : image, !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  2826       tagName: "figcaption",
       
  2827       value: caption
       
  2828     }));
       
  2829   }
       
  2830 }, {
       
  2831   attributes: image_deprecated_blockAttributes,
       
  2832   save: function save(_ref3) {
       
  2833     var attributes = _ref3.attributes;
       
  2834     var url = attributes.url,
       
  2835         alt = attributes.alt,
       
  2836         caption = attributes.caption,
       
  2837         align = attributes.align,
       
  2838         href = attributes.href,
       
  2839         width = attributes.width,
       
  2840         height = attributes.height;
       
  2841     var extraImageProps = width || height ? {
       
  2842       width: width,
       
  2843       height: height
       
  2844     } : {};
       
  2845     var image = Object(external_this_wp_element_["createElement"])("img", Object(esm_extends["a" /* default */])({
       
  2846       src: url,
       
  2847       alt: alt
       
  2848     }, extraImageProps));
       
  2849     var figureStyle = {};
       
  2850 
       
  2851     if (width) {
       
  2852       figureStyle = {
       
  2853         width: width
       
  2854       };
       
  2855     } else if (align === 'left' || align === 'right') {
       
  2856       figureStyle = {
       
  2857         maxWidth: '50%'
       
  2858       };
       
  2859     }
       
  2860 
       
  2861     return Object(external_this_wp_element_["createElement"])("figure", {
       
  2862       className: align ? "align".concat(align) : null,
       
  2863       style: figureStyle
       
  2864     }, href ? Object(external_this_wp_element_["createElement"])("a", {
       
  2865       href: href
       
  2866     }, image) : image, !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  2867       tagName: "figcaption",
       
  2868       value: caption
       
  2869     }));
       
  2870   }
       
  2871 }];
       
  2872 /* harmony default export */ var image_deprecated = (deprecated_deprecated);
       
  2873 
       
  2874 // EXTERNAL MODULE: external {"this":["wp","blob"]}
       
  2875 var external_this_wp_blob_ = __webpack_require__(44);
       
  2876 
       
  2877 // EXTERNAL MODULE: external {"this":["wp","compose"]}
       
  2878 var external_this_wp_compose_ = __webpack_require__(9);
       
  2879 
       
  2880 // EXTERNAL MODULE: external {"this":["wp","url"]}
       
  2881 var external_this_wp_url_ = __webpack_require__(31);
       
  2882 
       
  2883 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/crop.js
       
  2884 
       
  2885 
       
  2886 /**
       
  2887  * WordPress dependencies
       
  2888  */
       
  2889 
       
  2890 var crop_crop = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
  2891   xmlns: "http://www.w3.org/2000/svg",
       
  2892   viewBox: "0 0 24 24"
       
  2893 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
  2894   d: "M17.5 7v8H19V7c0-1.1-.9-2-2-2H9v1.5h8c.3 0 .5.2.5.5zM7 17.5c-.3 0-.5-.2-.5-.5V1H5v4H1v1.5h4V17c0 1.1.9 2 2 2h10.5v4H19v-4h4v-1.5H7z"
       
  2895 }));
       
  2896 /* harmony default export */ var library_crop = (crop_crop);
       
  2897 
       
  2898 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/upload.js
       
  2899 var upload = __webpack_require__(204);
       
  2900 
       
  2901 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/icons.js
       
  2902 
       
  2903 
       
  2904 /**
       
  2905  * WordPress dependencies
       
  2906  */
       
  2907 
       
  2908 var embedContentIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
   619   viewBox: "0 0 24 24",
  2909   viewBox: "0 0 24 24",
   620   xmlns: "http://www.w3.org/2000/svg"
  2910   xmlns: "http://www.w3.org/2000/svg"
   621 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
  2911 }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
   622   fill: "none",
  2912   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"
   623   d: "M0 0h24v24H0V0z"
       
   624 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
   625   d: "M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zM8 15c0-1.66 1.34-3 3-3 .35 0 .69.07 1 .18V6h5v2h-3v7.03c-.02 1.64-1.35 2.97-3 2.97-1.66 0-3-1.34-3-3z"
       
   626 }));
  2913 }));
   627 var embedPhotoIcon = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
  2914 var embedAudioIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
   628   viewBox: "0 0 24 24",
  2915   viewBox: "0 0 24 24",
   629   xmlns: "http://www.w3.org/2000/svg"
  2916   xmlns: "http://www.w3.org/2000/svg"
   630 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
  2917 }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
   631   d: "M0,0h24v24H0V0z",
  2918   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"
   632   fill: "none"
       
   633 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
   634   d: "M21,4H3C1.9,4,1,4.9,1,6v12c0,1.1,0.9,2,2,2h18c1.1,0,2-0.9,2-2V6C23,4.9,22.1,4,21,4z M21,18H3V6h18V18z"
       
   635 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Polygon"], {
       
   636   points: "14.5 11 11 15.51 8.5 12.5 5 17 19 17"
       
   637 }));
  2919 }));
   638 var embedVideoIcon = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
  2920 var embedPhotoIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
   639   viewBox: "0 0 24 24",
  2921   viewBox: "0 0 24 24",
   640   xmlns: "http://www.w3.org/2000/svg"
  2922   xmlns: "http://www.w3.org/2000/svg"
   641 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
  2923 }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
   642   d: "M0,0h24v24H0V0z",
  2924   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"
   643   fill: "none"
  2925 }));
   644 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
  2926 var embedVideoIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
   645   d: "m10 8v8l5-4-5-4zm9-5h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2zm0 16h-14v-14h14v14z"
  2927   viewBox: "0 0 24 24",
       
  2928   xmlns: "http://www.w3.org/2000/svg"
       
  2929 }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
  2930   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"
   646 }));
  2931 }));
   647 var embedTwitterIcon = {
  2932 var embedTwitterIcon = {
   648   foreground: '#1da1f2',
  2933   foreground: '#1da1f2',
   649   src: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
  2934   src: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
   650     xmlns: "http://www.w3.org/2000/svg",
  2935     xmlns: "http://www.w3.org/2000/svg",
   651     viewBox: "0 0 24 24"
  2936     viewBox: "0 0 24 24"
   652   }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["G"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
  2937   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["G"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
   653     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"
  2938     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"
   654   })))
  2939   })))
   655 };
  2940 };
   656 var embedYouTubeIcon = {
  2941 var embedYouTubeIcon = {
   657   foreground: '#ff0000',
  2942   foreground: '#ff0000',
   658   src: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
  2943   src: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
   659     viewBox: "0 0 24 24"
  2944     viewBox: "0 0 24 24"
   660   }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
  2945   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
   661     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"
  2946     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"
   662   }))
  2947   }))
   663 };
  2948 };
   664 var embedFacebookIcon = {
  2949 var embedFacebookIcon = {
   665   foreground: '#3b5998',
  2950   foreground: '#3b5998',
   666   src: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
  2951   src: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
   667     viewBox: "0 0 24 24"
  2952     viewBox: "0 0 24 24"
   668   }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
  2953   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
   669     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"
  2954     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"
   670   }))
  2955   }))
   671 };
  2956 };
   672 var embedInstagramIcon = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
  2957 var embedInstagramIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
   673   viewBox: "0 0 24 24"
  2958   viewBox: "0 0 24 24"
   674 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["G"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
  2959 }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["G"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
   675   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"
  2960   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"
   676 })));
  2961 })));
   677 var embedWordPressIcon = {
  2962 var embedWordPressIcon = {
   678   foreground: '#0073AA',
  2963   foreground: '#0073AA',
   679   src: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
  2964   src: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
   680     viewBox: "0 0 24 24"
  2965     viewBox: "0 0 24 24"
   681   }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["G"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
  2966   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["G"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
   682     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"
  2967     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"
   683   })))
  2968   })))
   684 };
  2969 };
   685 var embedSpotifyIcon = {
  2970 var embedSpotifyIcon = {
   686   foreground: '#1db954',
  2971   foreground: '#1db954',
   687   src: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
  2972   src: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
   688     viewBox: "0 0 24 24"
  2973     viewBox: "0 0 24 24"
   689   }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
  2974   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
   690     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"
  2975     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"
   691   }))
  2976   }))
   692 };
  2977 };
   693 var embedFlickrIcon = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
  2978 var embedFlickrIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
   694   viewBox: "0 0 24 24"
  2979   viewBox: "0 0 24 24"
   695 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
  2980 }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
   696   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"
  2981   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"
   697 }));
  2982 }));
   698 var embedVimeoIcon = {
  2983 var embedVimeoIcon = {
   699   foreground: '#1ab7ea',
  2984   foreground: '#1ab7ea',
   700   src: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
  2985   src: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
   701     xmlns: "http://www.w3.org/2000/svg",
  2986     xmlns: "http://www.w3.org/2000/svg",
   702     viewBox: "0 0 24 24"
  2987     viewBox: "0 0 24 24"
   703   }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["G"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
  2988   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["G"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
   704     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"
  2989     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"
   705   })))
  2990   })))
   706 };
  2991 };
   707 var embedRedditIcon = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
  2992 var embedRedditIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
   708   viewBox: "0 0 24 24"
  2993   viewBox: "0 0 24 24"
   709 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
  2994 }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
   710   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"
  2995   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"
   711 }));
  2996 }));
   712 var embedTumbrIcon = {
  2997 var embedTumblrIcon = {
   713   foreground: '#35465c',
  2998   foreground: '#35465c',
   714   src: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
  2999   src: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
   715     viewBox: "0 0 24 24"
  3000     viewBox: "0 0 24 24"
   716   }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
  3001   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
   717     d: "M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"
  3002     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"
   718   }))
  3003   }))
   719 };
  3004 };
   720 var embedAmazonIcon = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
  3005 var embedAmazonIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
   721   viewBox: "0 0 24 24"
  3006   viewBox: "0 0 24 24"
   722 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
  3007 }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
   723   d: "M18.42 14.58c-.51-.66-1.05-1.23-1.05-2.5V7.87c0-1.8.15-3.45-1.2-4.68-1.05-1.02-2.79-1.35-4.14-1.35-2.6 0-5.52.96-6.12 4.14-.06.36.18.54.4.57l2.66.3c.24-.03.42-.27.48-.5.24-1.12 1.17-1.63 2.2-1.63.56 0 1.22.21 1.55.7.4.56.33 1.31.33 1.97v.36c-1.59.18-3.66.27-5.16.93a4.63 4.63 0 0 0-2.93 4.44c0 2.82 1.8 4.23 4.1 4.23 1.95 0 3.03-.45 4.53-1.98.51.72.66 1.08 1.59 1.83.18.09.45.09.63-.1v.04l2.1-1.8c.24-.21.2-.48.03-.75zm-5.4-1.2c-.45.75-1.14 1.23-1.92 1.23-1.05 0-1.65-.81-1.65-1.98 0-2.31 2.1-2.73 4.08-2.73v.6c0 1.05.03 1.92-.5 2.88z"
  3008   d: "M18.42 14.58c-.51-.66-1.05-1.23-1.05-2.5V7.87c0-1.8.15-3.45-1.2-4.68-1.05-1.02-2.79-1.35-4.14-1.35-2.6 0-5.52.96-6.12 4.14-.06.36.18.54.4.57l2.66.3c.24-.03.42-.27.48-.5.24-1.12 1.17-1.63 2.2-1.63.56 0 1.22.21 1.55.7.4.56.33 1.31.33 1.97v.36c-1.59.18-3.66.27-5.16.93a4.63 4.63 0 0 0-2.93 4.44c0 2.82 1.8 4.23 4.1 4.23 1.95 0 3.03-.45 4.53-1.98.51.72.66 1.08 1.59 1.83.18.09.45.09.63-.1v.04l2.1-1.8c.24-.21.2-.48.03-.75zm-5.4-1.2c-.45.75-1.14 1.23-1.92 1.23-1.05 0-1.65-.81-1.65-1.98 0-2.31 2.1-2.73 4.08-2.73v.6c0 1.05.03 1.92-.5 2.88z"
   724 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
  3009 }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
   725   d: "M21.69 19.2a17.62 17.62 0 0 1-21.6-1.57c-.23-.2 0-.5.28-.33a23.88 23.88 0 0 0 20.93 1.3c.45-.19.84.3.39.6z"
  3010   d: "M21.69 19.2a17.62 17.62 0 0 1-21.6-1.57c-.23-.2 0-.5.28-.33a23.88 23.88 0 0 0 20.93 1.3c.45-.19.84.3.39.6z"
   726 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
  3011 }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
   727   d: "M22.8 17.96c-.36-.45-2.22-.2-3.1-.12-.23.03-.3-.18-.05-.36 1.5-1.05 3.96-.75 4.26-.39.3.36-.1 2.82-1.5 4.02-.21.18-.42.1-.3-.15.3-.8 1.02-2.58.69-3z"
  3012   d: "M22.8 17.96c-.36-.45-2.22-.2-3.1-.12-.23.03-.3-.18-.05-.36 1.5-1.05 3.96-.75 4.26-.39.3.36-.1 2.82-1.5 4.02-.21.18-.42.1-.3-.15.3-.8 1.02-2.58.69-3z"
   728 }));
  3013 }));
       
  3014 var embedAnimotoIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
  3015   viewBox: "0 0 24 24"
       
  3016 }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
  3017   d: "m.0206909 21 19.8160091-13.07806 3.5831 6.20826z",
       
  3018   fill: "#4bc7ee"
       
  3019 }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
  3020   d: "m23.7254 19.0205-10.1074-17.18468c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418h22.5655c1.279 0 1.8019-.8905 1.1599-1.9795z",
       
  3021   fill: "#d4cdcb"
       
  3022 }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
  3023   d: "m.0206909 21 15.2439091-16.38571 4.3029 7.32271z",
       
  3024   fill: "#c3d82e"
       
  3025 }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
  3026   d: "m13.618 1.83582c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418 15.2646-16.38573z",
       
  3027   fill: "#e4ecb0"
       
  3028 }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
  3029   d: "m.0206909 21 19.5468091-9.063 1.6621 2.8344z",
       
  3030   fill: "#209dbd"
       
  3031 }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
  3032   d: "m.0206909 21 17.9209091-11.82623 1.6259 2.76323z",
       
  3033   fill: "#7cb3c9"
       
  3034 }));
       
  3035 var embedDailymotionIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
  3036   viewBox: "0 0 24 24"
       
  3037 }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
  3038   d: "m12.1479 18.5957c-2.4949 0-4.28131-1.7558-4.28131-4.0658 0-2.2176 1.78641-4.0965 4.09651-4.0965 2.2793 0 4.0349 1.7864 4.0349 4.1581 0 2.2794-1.7556 4.0042-3.8501 4.0042zm8.3521-18.5957-4.5329 1v7c-1.1088-1.41691-2.8028-1.8787-4.8049-1.8787-2.09443 0-3.97329.76993-5.5133 2.27917-1.72483 1.66323-2.6489 3.78863-2.6489 6.16033 0 2.5873.98562 4.8049 2.89526 6.499 1.44763 1.2936 3.17251 1.9402 5.17454 1.9402 1.9713 0 3.4498-.5236 4.8973-1.9402v1.9402h4.5329c0-7.6359 0-15.3641 0-23z",
       
  3039   fill: "#333436"
       
  3040 }));
       
  3041 
       
  3042 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/core-embeds.js
       
  3043 /**
       
  3044  * Internal dependencies
       
  3045  */
       
  3046 
       
  3047 /**
       
  3048  * WordPress dependencies
       
  3049  */
       
  3050 
       
  3051 
       
  3052 
       
  3053 var common = [{
       
  3054   name: 'core-embed/twitter',
       
  3055   settings: {
       
  3056     title: 'Twitter',
       
  3057     icon: embedTwitterIcon,
       
  3058     keywords: ['tweet', Object(external_this_wp_i18n_["__"])('social')],
       
  3059     description: Object(external_this_wp_i18n_["__"])('Embed a tweet.')
       
  3060   },
       
  3061   patterns: [/^https?:\/\/(www\.)?twitter\.com\/.+/i]
       
  3062 }, {
       
  3063   name: 'core-embed/youtube',
       
  3064   settings: {
       
  3065     title: 'YouTube',
       
  3066     icon: embedYouTubeIcon,
       
  3067     keywords: [Object(external_this_wp_i18n_["__"])('music'), Object(external_this_wp_i18n_["__"])('video')],
       
  3068     description: Object(external_this_wp_i18n_["__"])('Embed a YouTube video.')
       
  3069   },
       
  3070   patterns: [/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i, /^https?:\/\/youtu\.be\/.+/i]
       
  3071 }, {
       
  3072   name: 'core-embed/facebook',
       
  3073   settings: {
       
  3074     title: 'Facebook',
       
  3075     icon: embedFacebookIcon,
       
  3076     keywords: [Object(external_this_wp_i18n_["__"])('social')],
       
  3077     description: Object(external_this_wp_i18n_["__"])('Embed a Facebook post.'),
       
  3078     previewable: false
       
  3079   },
       
  3080   patterns: [/^https?:\/\/www\.facebook.com\/.+/i]
       
  3081 }, {
       
  3082   name: 'core-embed/instagram',
       
  3083   settings: {
       
  3084     title: 'Instagram',
       
  3085     icon: embedInstagramIcon,
       
  3086     keywords: [Object(external_this_wp_i18n_["__"])('image'), Object(external_this_wp_i18n_["__"])('social')],
       
  3087     description: Object(external_this_wp_i18n_["__"])('Embed an Instagram post.')
       
  3088   },
       
  3089   patterns: [/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i]
       
  3090 }, {
       
  3091   name: 'core-embed/wordpress',
       
  3092   settings: {
       
  3093     title: 'WordPress',
       
  3094     icon: embedWordPressIcon,
       
  3095     keywords: [Object(external_this_wp_i18n_["__"])('post'), Object(external_this_wp_i18n_["__"])('blog')],
       
  3096     responsive: false,
       
  3097     description: Object(external_this_wp_i18n_["__"])('Embed a WordPress post.')
       
  3098   }
       
  3099 }, {
       
  3100   name: 'core-embed/soundcloud',
       
  3101   settings: {
       
  3102     title: 'SoundCloud',
       
  3103     icon: embedAudioIcon,
       
  3104     keywords: [Object(external_this_wp_i18n_["__"])('music'), Object(external_this_wp_i18n_["__"])('audio')],
       
  3105     description: Object(external_this_wp_i18n_["__"])('Embed SoundCloud content.')
       
  3106   },
       
  3107   patterns: [/^https?:\/\/(www\.)?soundcloud\.com\/.+/i]
       
  3108 }, {
       
  3109   name: 'core-embed/spotify',
       
  3110   settings: {
       
  3111     title: 'Spotify',
       
  3112     icon: embedSpotifyIcon,
       
  3113     keywords: [Object(external_this_wp_i18n_["__"])('music'), Object(external_this_wp_i18n_["__"])('audio')],
       
  3114     description: Object(external_this_wp_i18n_["__"])('Embed Spotify content.')
       
  3115   },
       
  3116   patterns: [/^https?:\/\/(open|play)\.spotify\.com\/.+/i]
       
  3117 }, {
       
  3118   name: 'core-embed/flickr',
       
  3119   settings: {
       
  3120     title: 'Flickr',
       
  3121     icon: embedFlickrIcon,
       
  3122     keywords: [Object(external_this_wp_i18n_["__"])('image')],
       
  3123     description: Object(external_this_wp_i18n_["__"])('Embed Flickr content.')
       
  3124   },
       
  3125   patterns: [/^https?:\/\/(www\.)?flickr\.com\/.+/i, /^https?:\/\/flic\.kr\/.+/i]
       
  3126 }, {
       
  3127   name: 'core-embed/vimeo',
       
  3128   settings: {
       
  3129     title: 'Vimeo',
       
  3130     icon: embedVimeoIcon,
       
  3131     keywords: [Object(external_this_wp_i18n_["__"])('video')],
       
  3132     description: Object(external_this_wp_i18n_["__"])('Embed a Vimeo video.')
       
  3133   },
       
  3134   patterns: [/^https?:\/\/(www\.)?vimeo\.com\/.+/i]
       
  3135 }];
       
  3136 var others = [{
       
  3137   name: 'core-embed/animoto',
       
  3138   settings: {
       
  3139     title: 'Animoto',
       
  3140     icon: embedAnimotoIcon,
       
  3141     description: Object(external_this_wp_i18n_["__"])('Embed an Animoto video.')
       
  3142   },
       
  3143   patterns: [/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i]
       
  3144 }, {
       
  3145   name: 'core-embed/cloudup',
       
  3146   settings: {
       
  3147     title: 'Cloudup',
       
  3148     icon: embedContentIcon,
       
  3149     description: Object(external_this_wp_i18n_["__"])('Embed Cloudup content.')
       
  3150   },
       
  3151   patterns: [/^https?:\/\/cloudup\.com\/.+/i]
       
  3152 }, {
       
  3153   // Deprecated since CollegeHumor content is now powered by YouTube
       
  3154   name: 'core-embed/collegehumor',
       
  3155   settings: {
       
  3156     title: 'CollegeHumor',
       
  3157     icon: embedVideoIcon,
       
  3158     description: Object(external_this_wp_i18n_["__"])('Embed CollegeHumor content.'),
       
  3159     supports: {
       
  3160       inserter: false
       
  3161     }
       
  3162   },
       
  3163   patterns: []
       
  3164 }, {
       
  3165   name: 'core-embed/crowdsignal',
       
  3166   settings: {
       
  3167     title: 'Crowdsignal',
       
  3168     icon: embedContentIcon,
       
  3169     keywords: ['polldaddy', Object(external_this_wp_i18n_["__"])('survey')],
       
  3170     transform: [{
       
  3171       type: 'block',
       
  3172       blocks: ['core-embed/polldaddy'],
       
  3173       transform: function transform(content) {
       
  3174         return Object(external_this_wp_blocks_["createBlock"])('core-embed/crowdsignal', {
       
  3175           content: content
       
  3176         });
       
  3177       }
       
  3178     }],
       
  3179     description: Object(external_this_wp_i18n_["__"])('Embed Crowdsignal (formerly Polldaddy) content.')
       
  3180   },
       
  3181   patterns: [/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i]
       
  3182 }, {
       
  3183   name: 'core-embed/dailymotion',
       
  3184   settings: {
       
  3185     title: 'Dailymotion',
       
  3186     icon: embedDailymotionIcon,
       
  3187     keywords: [Object(external_this_wp_i18n_["__"])('video')],
       
  3188     description: Object(external_this_wp_i18n_["__"])('Embed a Dailymotion video.')
       
  3189   },
       
  3190   patterns: [/^https?:\/\/(www\.)?dailymotion\.com\/.+/i]
       
  3191 }, {
       
  3192   name: 'core-embed/imgur',
       
  3193   settings: {
       
  3194     title: 'Imgur',
       
  3195     icon: embedPhotoIcon,
       
  3196     description: Object(external_this_wp_i18n_["__"])('Embed Imgur content.')
       
  3197   },
       
  3198   patterns: [/^https?:\/\/(.+\.)?imgur\.com\/.+/i]
       
  3199 }, {
       
  3200   name: 'core-embed/issuu',
       
  3201   settings: {
       
  3202     title: 'Issuu',
       
  3203     icon: embedContentIcon,
       
  3204     description: Object(external_this_wp_i18n_["__"])('Embed Issuu content.')
       
  3205   },
       
  3206   patterns: [/^https?:\/\/(www\.)?issuu\.com\/.+/i]
       
  3207 }, {
       
  3208   name: 'core-embed/kickstarter',
       
  3209   settings: {
       
  3210     title: 'Kickstarter',
       
  3211     icon: embedContentIcon,
       
  3212     description: Object(external_this_wp_i18n_["__"])('Embed Kickstarter content.')
       
  3213   },
       
  3214   patterns: [/^https?:\/\/(www\.)?kickstarter\.com\/.+/i, /^https?:\/\/kck\.st\/.+/i]
       
  3215 }, {
       
  3216   name: 'core-embed/meetup-com',
       
  3217   settings: {
       
  3218     title: 'Meetup.com',
       
  3219     icon: embedContentIcon,
       
  3220     description: Object(external_this_wp_i18n_["__"])('Embed Meetup.com content.')
       
  3221   },
       
  3222   patterns: [/^https?:\/\/(www\.)?meetu(\.ps|p\.com)\/.+/i]
       
  3223 }, {
       
  3224   name: 'core-embed/mixcloud',
       
  3225   settings: {
       
  3226     title: 'Mixcloud',
       
  3227     icon: embedAudioIcon,
       
  3228     keywords: [Object(external_this_wp_i18n_["__"])('music'), Object(external_this_wp_i18n_["__"])('audio')],
       
  3229     description: Object(external_this_wp_i18n_["__"])('Embed Mixcloud content.')
       
  3230   },
       
  3231   patterns: [/^https?:\/\/(www\.)?mixcloud\.com\/.+/i]
       
  3232 }, {
       
  3233   // Deprecated in favour of the core-embed/crowdsignal block
       
  3234   name: 'core-embed/polldaddy',
       
  3235   settings: {
       
  3236     title: 'Polldaddy',
       
  3237     icon: embedContentIcon,
       
  3238     description: Object(external_this_wp_i18n_["__"])('Embed Polldaddy content.'),
       
  3239     supports: {
       
  3240       inserter: false
       
  3241     }
       
  3242   },
       
  3243   patterns: []
       
  3244 }, {
       
  3245   name: 'core-embed/reddit',
       
  3246   settings: {
       
  3247     title: 'Reddit',
       
  3248     icon: embedRedditIcon,
       
  3249     description: Object(external_this_wp_i18n_["__"])('Embed a Reddit thread.')
       
  3250   },
       
  3251   patterns: [/^https?:\/\/(www\.)?reddit\.com\/.+/i]
       
  3252 }, {
       
  3253   name: 'core-embed/reverbnation',
       
  3254   settings: {
       
  3255     title: 'ReverbNation',
       
  3256     icon: embedAudioIcon,
       
  3257     description: Object(external_this_wp_i18n_["__"])('Embed ReverbNation content.')
       
  3258   },
       
  3259   patterns: [/^https?:\/\/(www\.)?reverbnation\.com\/.+/i]
       
  3260 }, {
       
  3261   name: 'core-embed/screencast',
       
  3262   settings: {
       
  3263     title: 'Screencast',
       
  3264     icon: embedVideoIcon,
       
  3265     description: Object(external_this_wp_i18n_["__"])('Embed Screencast content.')
       
  3266   },
       
  3267   patterns: [/^https?:\/\/(www\.)?screencast\.com\/.+/i]
       
  3268 }, {
       
  3269   name: 'core-embed/scribd',
       
  3270   settings: {
       
  3271     title: 'Scribd',
       
  3272     icon: embedContentIcon,
       
  3273     description: Object(external_this_wp_i18n_["__"])('Embed Scribd content.')
       
  3274   },
       
  3275   patterns: [/^https?:\/\/(www\.)?scribd\.com\/.+/i]
       
  3276 }, {
       
  3277   name: 'core-embed/slideshare',
       
  3278   settings: {
       
  3279     title: 'Slideshare',
       
  3280     icon: embedContentIcon,
       
  3281     description: Object(external_this_wp_i18n_["__"])('Embed Slideshare content.')
       
  3282   },
       
  3283   patterns: [/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i]
       
  3284 }, {
       
  3285   name: 'core-embed/smugmug',
       
  3286   settings: {
       
  3287     title: 'SmugMug',
       
  3288     icon: embedPhotoIcon,
       
  3289     description: Object(external_this_wp_i18n_["__"])('Embed SmugMug content.'),
       
  3290     previewable: false
       
  3291   },
       
  3292   patterns: [/^https?:\/\/(.+\.)?smugmug\.com\/.*/i]
       
  3293 }, {
       
  3294   // Deprecated in favour of the core-embed/speaker-deck block.
       
  3295   name: 'core-embed/speaker',
       
  3296   settings: {
       
  3297     title: 'Speaker',
       
  3298     icon: embedAudioIcon,
       
  3299     supports: {
       
  3300       inserter: false
       
  3301     }
       
  3302   },
       
  3303   patterns: []
       
  3304 }, {
       
  3305   name: 'core-embed/speaker-deck',
       
  3306   settings: {
       
  3307     title: 'Speaker Deck',
       
  3308     icon: embedContentIcon,
       
  3309     transform: [{
       
  3310       type: 'block',
       
  3311       blocks: ['core-embed/speaker'],
       
  3312       transform: function transform(content) {
       
  3313         return Object(external_this_wp_blocks_["createBlock"])('core-embed/speaker-deck', {
       
  3314           content: content
       
  3315         });
       
  3316       }
       
  3317     }],
       
  3318     description: Object(external_this_wp_i18n_["__"])('Embed Speaker Deck content.')
       
  3319   },
       
  3320   patterns: [/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i]
       
  3321 }, {
       
  3322   name: 'core-embed/tiktok',
       
  3323   settings: {
       
  3324     title: 'TikTok',
       
  3325     icon: embedVideoIcon,
       
  3326     keywords: [Object(external_this_wp_i18n_["__"])('video')],
       
  3327     description: Object(external_this_wp_i18n_["__"])('Embed a TikTok video.')
       
  3328   },
       
  3329   patterns: [/^https?:\/\/(www\.)?tiktok\.com\/.+/i]
       
  3330 }, {
       
  3331   name: 'core-embed/ted',
       
  3332   settings: {
       
  3333     title: 'TED',
       
  3334     icon: embedVideoIcon,
       
  3335     description: Object(external_this_wp_i18n_["__"])('Embed a TED video.')
       
  3336   },
       
  3337   patterns: [/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i]
       
  3338 }, {
       
  3339   name: 'core-embed/tumblr',
       
  3340   settings: {
       
  3341     title: 'Tumblr',
       
  3342     icon: embedTumblrIcon,
       
  3343     keywords: [Object(external_this_wp_i18n_["__"])('social')],
       
  3344     description: Object(external_this_wp_i18n_["__"])('Embed a Tumblr post.')
       
  3345   },
       
  3346   patterns: [/^https?:\/\/(www\.)?tumblr\.com\/.+/i]
       
  3347 }, {
       
  3348   name: 'core-embed/videopress',
       
  3349   settings: {
       
  3350     title: 'VideoPress',
       
  3351     icon: embedVideoIcon,
       
  3352     keywords: [Object(external_this_wp_i18n_["__"])('video')],
       
  3353     description: Object(external_this_wp_i18n_["__"])('Embed a VideoPress video.')
       
  3354   },
       
  3355   patterns: [/^https?:\/\/videopress\.com\/.+/i]
       
  3356 }, {
       
  3357   name: 'core-embed/wordpress-tv',
       
  3358   settings: {
       
  3359     title: 'WordPress.tv',
       
  3360     icon: embedVideoIcon,
       
  3361     description: Object(external_this_wp_i18n_["__"])('Embed a WordPress.tv video.')
       
  3362   },
       
  3363   patterns: [/^https?:\/\/wordpress\.tv\/.+/i]
       
  3364 }, {
       
  3365   name: 'core-embed/amazon-kindle',
       
  3366   settings: {
       
  3367     title: 'Amazon Kindle',
       
  3368     icon: embedAmazonIcon,
       
  3369     keywords: [Object(external_this_wp_i18n_["__"])('ebook')],
       
  3370     responsive: false,
       
  3371     description: Object(external_this_wp_i18n_["__"])('Embed Amazon Kindle content.')
       
  3372   },
       
  3373   patterns: [/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i, /^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i]
       
  3374 }];
       
  3375 
       
  3376 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/constants.js
       
  3377 var ASPECT_RATIOS = [// Common video resolutions.
       
  3378 {
       
  3379   ratio: '2.33',
       
  3380   className: 'wp-embed-aspect-21-9'
       
  3381 }, {
       
  3382   ratio: '2.00',
       
  3383   className: 'wp-embed-aspect-18-9'
       
  3384 }, {
       
  3385   ratio: '1.78',
       
  3386   className: 'wp-embed-aspect-16-9'
       
  3387 }, {
       
  3388   ratio: '1.33',
       
  3389   className: 'wp-embed-aspect-4-3'
       
  3390 }, // Vertical video and instagram square video support.
       
  3391 {
       
  3392   ratio: '1.00',
       
  3393   className: 'wp-embed-aspect-1-1'
       
  3394 }, {
       
  3395   ratio: '0.56',
       
  3396   className: 'wp-embed-aspect-9-16'
       
  3397 }, {
       
  3398   ratio: '0.50',
       
  3399   className: 'wp-embed-aspect-1-2'
       
  3400 }];
       
  3401 var DEFAULT_EMBED_BLOCK = 'core/embed';
       
  3402 var WORDPRESS_EMBED_BLOCK = 'core-embed/wordpress';
       
  3403 
       
  3404 // EXTERNAL MODULE: ./node_modules/classnames/dedupe.js
       
  3405 var dedupe = __webpack_require__(105);
       
  3406 var dedupe_default = /*#__PURE__*/__webpack_require__.n(dedupe);
       
  3407 
       
  3408 // EXTERNAL MODULE: ./node_modules/memize/index.js
       
  3409 var memize = __webpack_require__(60);
       
  3410 var memize_default = /*#__PURE__*/__webpack_require__.n(memize);
       
  3411 
       
  3412 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/util.js
       
  3413 
       
  3414 
       
  3415 
       
  3416 
       
  3417 function util_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
  3418 
       
  3419 function util_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { util_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { util_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
  3420 
       
  3421 /**
       
  3422  * Internal dependencies
       
  3423  */
       
  3424 
       
  3425 
       
  3426 /**
       
  3427  * External dependencies
       
  3428  */
       
  3429 
       
  3430 
       
  3431 
       
  3432 
       
  3433 /**
       
  3434  * WordPress dependencies
       
  3435  */
       
  3436 
       
  3437 
       
  3438 
       
  3439 /**
       
  3440  * Returns true if any of the regular expressions match the URL.
       
  3441  *
       
  3442  * @param {string}   url      The URL to test.
       
  3443  * @param {Array}    patterns The list of regular expressions to test agains.
       
  3444  * @return {boolean} True if any of the regular expressions match the URL.
       
  3445  */
       
  3446 
       
  3447 var matchesPatterns = function matchesPatterns(url) {
       
  3448   var patterns = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
       
  3449   return patterns.some(function (pattern) {
       
  3450     return url.match(pattern);
       
  3451   });
       
  3452 };
       
  3453 /**
       
  3454  * Finds the block name that should be used for the URL, based on the
       
  3455  * structure of the URL.
       
  3456  *
       
  3457  * @param {string}  url The URL to test.
       
  3458  * @return {string} The name of the block that should be used for this URL, e.g. core-embed/twitter
       
  3459  */
       
  3460 
       
  3461 var util_findBlock = function findBlock(url) {
       
  3462   for (var _i = 0, _arr = [].concat(Object(toConsumableArray["a" /* default */])(common), Object(toConsumableArray["a" /* default */])(others)); _i < _arr.length; _i++) {
       
  3463     var block = _arr[_i];
       
  3464 
       
  3465     if (matchesPatterns(url, block.patterns)) {
       
  3466       return block.name;
       
  3467     }
       
  3468   }
       
  3469 
       
  3470   return DEFAULT_EMBED_BLOCK;
       
  3471 };
       
  3472 var util_isFromWordPress = function isFromWordPress(html) {
       
  3473   return Object(external_this_lodash_["includes"])(html, 'class="wp-embedded-content"');
       
  3474 };
       
  3475 var util_getPhotoHtml = function getPhotoHtml(photo) {
       
  3476   // 100% width for the preview so it fits nicely into the document, some "thumbnails" are
       
  3477   // actually the full size photo. If thumbnails not found, use full image.
       
  3478   var imageUrl = photo.thumbnail_url ? photo.thumbnail_url : photo.url;
       
  3479   var photoPreview = Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_element_["createElement"])("img", {
       
  3480     src: imageUrl,
       
  3481     alt: photo.title,
       
  3482     width: "100%"
       
  3483   }));
       
  3484   return Object(external_this_wp_element_["renderToString"])(photoPreview);
       
  3485 };
       
  3486 /**
       
  3487  * Creates a more suitable embed block based on the passed in props
       
  3488  * and attributes generated from an embed block's preview.
       
  3489  *
       
  3490  * We require `attributesFromPreview` to be generated from the latest attributes
       
  3491  * and preview, and because of the way the react lifecycle operates, we can't
       
  3492  * guarantee that the attributes contained in the block's props are the latest
       
  3493  * versions, so we require that these are generated separately.
       
  3494  * See `getAttributesFromPreview` in the generated embed edit component.
       
  3495  *
       
  3496  * @param {Object} props                  The block's props.
       
  3497  * @param {Object} attributesFromPreview  Attributes generated from the block's most up to date preview.
       
  3498  * @return {Object|undefined} A more suitable embed block if one exists.
       
  3499  */
       
  3500 
       
  3501 var util_createUpgradedEmbedBlock = function createUpgradedEmbedBlock(props, attributesFromPreview) {
       
  3502   var preview = props.preview,
       
  3503       name = props.name;
       
  3504   var url = props.attributes.url;
       
  3505 
       
  3506   if (!url) {
       
  3507     return;
       
  3508   }
       
  3509 
       
  3510   var matchingBlock = util_findBlock(url);
       
  3511 
       
  3512   if (!Object(external_this_wp_blocks_["getBlockType"])(matchingBlock)) {
       
  3513     return;
       
  3514   } // WordPress blocks can work on multiple sites, and so don't have patterns,
       
  3515   // so if we're in a WordPress block, assume the user has chosen it for a WordPress URL.
       
  3516 
       
  3517 
       
  3518   if (WORDPRESS_EMBED_BLOCK !== name && DEFAULT_EMBED_BLOCK !== matchingBlock) {
       
  3519     // At this point, we have discovered a more suitable block for this url, so transform it.
       
  3520     if (name !== matchingBlock) {
       
  3521       return Object(external_this_wp_blocks_["createBlock"])(matchingBlock, {
       
  3522         url: url
       
  3523       });
       
  3524     }
       
  3525   }
       
  3526 
       
  3527   if (preview) {
       
  3528     var html = preview.html; // We can't match the URL for WordPress embeds, we have to check the HTML instead.
       
  3529 
       
  3530     if (util_isFromWordPress(html)) {
       
  3531       // If this is not the WordPress embed block, transform it into one.
       
  3532       if (WORDPRESS_EMBED_BLOCK !== name) {
       
  3533         return Object(external_this_wp_blocks_["createBlock"])(WORDPRESS_EMBED_BLOCK, util_objectSpread({
       
  3534           url: url
       
  3535         }, attributesFromPreview));
       
  3536       }
       
  3537     }
       
  3538   }
       
  3539 };
       
  3540 /**
       
  3541  * Returns class names with any relevant responsive aspect ratio names.
       
  3542  *
       
  3543  * @param {string}  html               The preview HTML that possibly contains an iframe with width and height set.
       
  3544  * @param {string}  existingClassNames Any existing class names.
       
  3545  * @param {boolean} allowResponsive    If the responsive class names should be added, or removed.
       
  3546  * @return {string} Deduped class names.
       
  3547  */
       
  3548 
       
  3549 function getClassNames(html) {
       
  3550   var existingClassNames = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
       
  3551   var allowResponsive = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
       
  3552 
       
  3553   if (!allowResponsive) {
       
  3554     // Remove all of the aspect ratio related class names.
       
  3555     var aspectRatioClassNames = {
       
  3556       'wp-has-aspect-ratio': false
       
  3557     };
       
  3558 
       
  3559     for (var ratioIndex = 0; ratioIndex < ASPECT_RATIOS.length; ratioIndex++) {
       
  3560       var aspectRatioToRemove = ASPECT_RATIOS[ratioIndex];
       
  3561       aspectRatioClassNames[aspectRatioToRemove.className] = false;
       
  3562     }
       
  3563 
       
  3564     return dedupe_default()(existingClassNames, aspectRatioClassNames);
       
  3565   }
       
  3566 
       
  3567   var previewDocument = document.implementation.createHTMLDocument('');
       
  3568   previewDocument.body.innerHTML = html;
       
  3569   var iframe = previewDocument.body.querySelector('iframe'); // If we have a fixed aspect iframe, and it's a responsive embed block.
       
  3570 
       
  3571   if (iframe && iframe.height && iframe.width) {
       
  3572     var aspectRatio = (iframe.width / iframe.height).toFixed(2); // Given the actual aspect ratio, find the widest ratio to support it.
       
  3573 
       
  3574     for (var _ratioIndex = 0; _ratioIndex < ASPECT_RATIOS.length; _ratioIndex++) {
       
  3575       var potentialRatio = ASPECT_RATIOS[_ratioIndex];
       
  3576 
       
  3577       if (aspectRatio >= potentialRatio.ratio) {
       
  3578         var _classnames;
       
  3579 
       
  3580         return dedupe_default()(existingClassNames, (_classnames = {}, Object(defineProperty["a" /* default */])(_classnames, potentialRatio.className, allowResponsive), Object(defineProperty["a" /* default */])(_classnames, 'wp-has-aspect-ratio', allowResponsive), _classnames));
       
  3581       }
       
  3582     }
       
  3583   }
       
  3584 
       
  3585   return existingClassNames;
       
  3586 }
       
  3587 /**
       
  3588  * Fallback behaviour for unembeddable URLs.
       
  3589  * Creates a paragraph block containing a link to the URL, and calls `onReplace`.
       
  3590  *
       
  3591  * @param {string}   url       The URL that could not be embedded.
       
  3592  * @param {Function} onReplace Function to call with the created fallback block.
       
  3593  */
       
  3594 
       
  3595 function util_fallback(url, onReplace) {
       
  3596   var link = Object(external_this_wp_element_["createElement"])("a", {
       
  3597     href: url
       
  3598   }, url);
       
  3599   onReplace(Object(external_this_wp_blocks_["createBlock"])('core/paragraph', {
       
  3600     content: Object(external_this_wp_element_["renderToString"])(link)
       
  3601   }));
       
  3602 }
       
  3603 /***
       
  3604  * Gets block attributes based on the preview and responsive state.
       
  3605  *
       
  3606  * @param {Object} preview The preview data.
       
  3607  * @param {string} title The block's title, e.g. Twitter.
       
  3608  * @param {Object} currentClassNames The block's current class names.
       
  3609  * @param {boolean} isResponsive Boolean indicating if the block supports responsive content.
       
  3610  * @param {boolean} allowResponsive Apply responsive classes to fixed size content.
       
  3611  * @return {Object} Attributes and values.
       
  3612  */
       
  3613 
       
  3614 var getAttributesFromPreview = memize_default()(function (preview, title, currentClassNames, isResponsive) {
       
  3615   var allowResponsive = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;
       
  3616 
       
  3617   if (!preview) {
       
  3618     return {};
       
  3619   }
       
  3620 
       
  3621   var attributes = {}; // Some plugins only return HTML with no type info, so default this to 'rich'.
       
  3622 
       
  3623   var _preview$type = preview.type,
       
  3624       type = _preview$type === void 0 ? 'rich' : _preview$type; // If we got a provider name from the API, use it for the slug, otherwise we use the title,
       
  3625   // because not all embed code gives us a provider name.
       
  3626 
       
  3627   var html = preview.html,
       
  3628       providerName = preview.provider_name;
       
  3629   var providerNameSlug = Object(external_this_lodash_["kebabCase"])(Object(external_this_lodash_["toLower"])('' !== providerName ? providerName : title));
       
  3630 
       
  3631   if (util_isFromWordPress(html)) {
       
  3632     type = 'wp-embed';
       
  3633   }
       
  3634 
       
  3635   if (html || 'photo' === type) {
       
  3636     attributes.type = type;
       
  3637     attributes.providerNameSlug = providerNameSlug;
       
  3638   }
       
  3639 
       
  3640   attributes.className = getClassNames(html, currentClassNames, isResponsive && allowResponsive);
       
  3641   return attributes;
       
  3642 });
       
  3643 
       
  3644 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/use-client-width.js
       
  3645 
       
  3646 
       
  3647 /**
       
  3648  * WordPress dependencies
       
  3649  */
       
  3650 
       
  3651 function useClientWidth(ref, dependencies) {
       
  3652   var _useState = Object(external_this_wp_element_["useState"])(),
       
  3653       _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
       
  3654       clientWidth = _useState2[0],
       
  3655       setClientWidth = _useState2[1];
       
  3656 
       
  3657   function calculateClientWidth() {
       
  3658     setClientWidth(ref.current.clientWidth);
       
  3659   }
       
  3660 
       
  3661   Object(external_this_wp_element_["useEffect"])(calculateClientWidth, dependencies);
       
  3662   Object(external_this_wp_element_["useEffect"])(function () {
       
  3663     var defaultView = ref.current.ownerDocument.defaultView;
       
  3664     defaultView.addEventListener('resize', calculateClientWidth);
       
  3665     return function () {
       
  3666       defaultView.removeEventListener('resize', calculateClientWidth);
       
  3667     };
       
  3668   }, []);
       
  3669   return clientWidth;
       
  3670 }
       
  3671 
       
  3672 // CONCATENATED MODULE: ./node_modules/react-easy-crop/node_modules/tslib/tslib.es6.js
       
  3673 /*! *****************************************************************************
       
  3674 Copyright (c) Microsoft Corporation.
       
  3675 
       
  3676 Permission to use, copy, modify, and/or distribute this software for any
       
  3677 purpose with or without fee is hereby granted.
       
  3678 
       
  3679 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
       
  3680 REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
       
  3681 AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
       
  3682 INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
       
  3683 LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
       
  3684 OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
       
  3685 PERFORMANCE OF THIS SOFTWARE.
       
  3686 ***************************************************************************** */
       
  3687 /* global Reflect, Promise */
       
  3688 
       
  3689 var extendStatics = function(d, b) {
       
  3690     extendStatics = Object.setPrototypeOf ||
       
  3691         ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
       
  3692         function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
       
  3693     return extendStatics(d, b);
       
  3694 };
       
  3695 
       
  3696 function __extends(d, b) {
       
  3697     extendStatics(d, b);
       
  3698     function __() { this.constructor = d; }
       
  3699     d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
       
  3700 }
       
  3701 
       
  3702 var __assign = function() {
       
  3703     __assign = Object.assign || function __assign(t) {
       
  3704         for (var s, i = 1, n = arguments.length; i < n; i++) {
       
  3705             s = arguments[i];
       
  3706             for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
       
  3707         }
       
  3708         return t;
       
  3709     }
       
  3710     return __assign.apply(this, arguments);
       
  3711 }
       
  3712 
       
  3713 function __rest(s, e) {
       
  3714     var t = {};
       
  3715     for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
       
  3716         t[p] = s[p];
       
  3717     if (s != null && typeof Object.getOwnPropertySymbols === "function")
       
  3718         for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
       
  3719             if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
       
  3720                 t[p[i]] = s[p[i]];
       
  3721         }
       
  3722     return t;
       
  3723 }
       
  3724 
       
  3725 function __decorate(decorators, target, key, desc) {
       
  3726     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
       
  3727     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
       
  3728     else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
       
  3729     return c > 3 && r && Object.defineProperty(target, key, r), r;
       
  3730 }
       
  3731 
       
  3732 function __param(paramIndex, decorator) {
       
  3733     return function (target, key) { decorator(target, key, paramIndex); }
       
  3734 }
       
  3735 
       
  3736 function __metadata(metadataKey, metadataValue) {
       
  3737     if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
       
  3738 }
       
  3739 
       
  3740 function __awaiter(thisArg, _arguments, P, generator) {
       
  3741     function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
       
  3742     return new (P || (P = Promise))(function (resolve, reject) {
       
  3743         function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
       
  3744         function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
       
  3745         function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
       
  3746         step((generator = generator.apply(thisArg, _arguments || [])).next());
       
  3747     });
       
  3748 }
       
  3749 
       
  3750 function __generator(thisArg, body) {
       
  3751     var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
       
  3752     return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
       
  3753     function verb(n) { return function (v) { return step([n, v]); }; }
       
  3754     function step(op) {
       
  3755         if (f) throw new TypeError("Generator is already executing.");
       
  3756         while (_) try {
       
  3757             if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
       
  3758             if (y = 0, t) op = [op[0] & 2, t.value];
       
  3759             switch (op[0]) {
       
  3760                 case 0: case 1: t = op; break;
       
  3761                 case 4: _.label++; return { value: op[1], done: false };
       
  3762                 case 5: _.label++; y = op[1]; op = [0]; continue;
       
  3763                 case 7: op = _.ops.pop(); _.trys.pop(); continue;
       
  3764                 default:
       
  3765                     if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
       
  3766                     if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
       
  3767                     if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
       
  3768                     if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
       
  3769                     if (t[2]) _.ops.pop();
       
  3770                     _.trys.pop(); continue;
       
  3771             }
       
  3772             op = body.call(thisArg, _);
       
  3773         } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
       
  3774         if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
       
  3775     }
       
  3776 }
       
  3777 
       
  3778 function __exportStar(m, exports) {
       
  3779     for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
       
  3780 }
       
  3781 
       
  3782 function __values(o) {
       
  3783     var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
       
  3784     if (m) return m.call(o);
       
  3785     if (o && typeof o.length === "number") return {
       
  3786         next: function () {
       
  3787             if (o && i >= o.length) o = void 0;
       
  3788             return { value: o && o[i++], done: !o };
       
  3789         }
       
  3790     };
       
  3791     throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
       
  3792 }
       
  3793 
       
  3794 function __read(o, n) {
       
  3795     var m = typeof Symbol === "function" && o[Symbol.iterator];
       
  3796     if (!m) return o;
       
  3797     var i = m.call(o), r, ar = [], e;
       
  3798     try {
       
  3799         while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
       
  3800     }
       
  3801     catch (error) { e = { error: error }; }
       
  3802     finally {
       
  3803         try {
       
  3804             if (r && !r.done && (m = i["return"])) m.call(i);
       
  3805         }
       
  3806         finally { if (e) throw e.error; }
       
  3807     }
       
  3808     return ar;
       
  3809 }
       
  3810 
       
  3811 function __spread() {
       
  3812     for (var ar = [], i = 0; i < arguments.length; i++)
       
  3813         ar = ar.concat(__read(arguments[i]));
       
  3814     return ar;
       
  3815 }
       
  3816 
       
  3817 function __spreadArrays() {
       
  3818     for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
       
  3819     for (var r = Array(s), k = 0, i = 0; i < il; i++)
       
  3820         for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
       
  3821             r[k] = a[j];
       
  3822     return r;
       
  3823 };
       
  3824 
       
  3825 function __await(v) {
       
  3826     return this instanceof __await ? (this.v = v, this) : new __await(v);
       
  3827 }
       
  3828 
       
  3829 function __asyncGenerator(thisArg, _arguments, generator) {
       
  3830     if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
       
  3831     var g = generator.apply(thisArg, _arguments || []), i, q = [];
       
  3832     return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
       
  3833     function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
       
  3834     function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
       
  3835     function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
       
  3836     function fulfill(value) { resume("next", value); }
       
  3837     function reject(value) { resume("throw", value); }
       
  3838     function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
       
  3839 }
       
  3840 
       
  3841 function __asyncDelegator(o) {
       
  3842     var i, p;
       
  3843     return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
       
  3844     function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
       
  3845 }
       
  3846 
       
  3847 function __asyncValues(o) {
       
  3848     if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
       
  3849     var m = o[Symbol.asyncIterator], i;
       
  3850     return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
       
  3851     function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
       
  3852     function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
       
  3853 }
       
  3854 
       
  3855 function __makeTemplateObject(cooked, raw) {
       
  3856     if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
       
  3857     return cooked;
       
  3858 };
       
  3859 
       
  3860 function __importStar(mod) {
       
  3861     if (mod && mod.__esModule) return mod;
       
  3862     var result = {};
       
  3863     if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
       
  3864     result.default = mod;
       
  3865     return result;
       
  3866 }
       
  3867 
       
  3868 function __importDefault(mod) {
       
  3869     return (mod && mod.__esModule) ? mod : { default: mod };
       
  3870 }
       
  3871 
       
  3872 function __classPrivateFieldGet(receiver, privateMap) {
       
  3873     if (!privateMap.has(receiver)) {
       
  3874         throw new TypeError("attempted to get private field on non-instance");
       
  3875     }
       
  3876     return privateMap.get(receiver);
       
  3877 }
       
  3878 
       
  3879 function __classPrivateFieldSet(receiver, privateMap, value) {
       
  3880     if (!privateMap.has(receiver)) {
       
  3881         throw new TypeError("attempted to set private field on non-instance");
       
  3882     }
       
  3883     privateMap.set(receiver, value);
       
  3884     return value;
       
  3885 }
       
  3886 
       
  3887 // EXTERNAL MODULE: external {"this":"React"}
       
  3888 var external_this_React_ = __webpack_require__(13);
       
  3889 var external_this_React_default = /*#__PURE__*/__webpack_require__.n(external_this_React_);
       
  3890 
       
  3891 // CONCATENATED MODULE: ./node_modules/react-easy-crop/index.module.js
       
  3892 
       
  3893 
       
  3894 
       
  3895 /**
       
  3896  * Compute the dimension of the crop area based on media size,
       
  3897  * aspect ratio and optionally rotation
       
  3898  */
       
  3899 
       
  3900 function getCropSize(mediaWidth, mediaHeight, containerWidth, containerHeight, aspect, rotation) {
       
  3901   if (rotation === void 0) {
       
  3902     rotation = 0;
       
  3903   }
       
  3904 
       
  3905   var _a = translateSize(mediaWidth, mediaHeight, rotation),
       
  3906       width = _a.width,
       
  3907       height = _a.height;
       
  3908 
       
  3909   var fittingWidth = Math.min(width, containerWidth);
       
  3910   var fittingHeight = Math.min(height, containerHeight);
       
  3911 
       
  3912   if (fittingWidth > fittingHeight * aspect) {
       
  3913     return {
       
  3914       width: fittingHeight * aspect,
       
  3915       height: fittingHeight
       
  3916     };
       
  3917   }
       
  3918 
       
  3919   return {
       
  3920     width: fittingWidth,
       
  3921     height: fittingWidth / aspect
       
  3922   };
       
  3923 }
       
  3924 /**
       
  3925  * Ensure a new media position stays in the crop area.
       
  3926  */
       
  3927 
       
  3928 function index_module_restrictPosition(position, mediaSize, cropSize, zoom, rotation) {
       
  3929   if (rotation === void 0) {
       
  3930     rotation = 0;
       
  3931   }
       
  3932 
       
  3933   var _a = translateSize(mediaSize.width, mediaSize.height, rotation),
       
  3934       width = _a.width,
       
  3935       height = _a.height;
       
  3936 
       
  3937   return {
       
  3938     x: restrictPositionCoord(position.x, width, cropSize.width, zoom),
       
  3939     y: restrictPositionCoord(position.y, height, cropSize.height, zoom)
       
  3940   };
       
  3941 }
       
  3942 
       
  3943 function restrictPositionCoord(position, mediaSize, cropSize, zoom) {
       
  3944   var maxPosition = mediaSize * zoom / 2 - cropSize / 2;
       
  3945   return Math.min(maxPosition, Math.max(position, -maxPosition));
       
  3946 }
       
  3947 
       
  3948 function getDistanceBetweenPoints(pointA, pointB) {
       
  3949   return Math.sqrt(Math.pow(pointA.y - pointB.y, 2) + Math.pow(pointA.x - pointB.x, 2));
       
  3950 }
       
  3951 function getRotationBetweenPoints(pointA, pointB) {
       
  3952   return Math.atan2(pointB.y - pointA.y, pointB.x - pointA.x) * 180 / Math.PI;
       
  3953 }
       
  3954 /**
       
  3955  * Compute the output cropped area of the media in percentages and pixels.
       
  3956  * x/y are the top-left coordinates on the src media
       
  3957  */
       
  3958 
       
  3959 function computeCroppedArea(crop, mediaSize, cropSize, aspect, zoom, rotation, restrictPosition) {
       
  3960   if (rotation === void 0) {
       
  3961     rotation = 0;
       
  3962   }
       
  3963 
       
  3964   if (restrictPosition === void 0) {
       
  3965     restrictPosition = true;
       
  3966   } // if the media is rotated by the user, we cannot limit the position anymore
       
  3967   // as it might need to be negative.
       
  3968 
       
  3969 
       
  3970   var limitAreaFn = restrictPosition && rotation === 0 ? limitArea : noOp;
       
  3971   var croppedAreaPercentages = {
       
  3972     x: limitAreaFn(100, ((mediaSize.width - cropSize.width / zoom) / 2 - crop.x / zoom) / mediaSize.width * 100),
       
  3973     y: limitAreaFn(100, ((mediaSize.height - cropSize.height / zoom) / 2 - crop.y / zoom) / mediaSize.height * 100),
       
  3974     width: limitAreaFn(100, cropSize.width / mediaSize.width * 100 / zoom),
       
  3975     height: limitAreaFn(100, cropSize.height / mediaSize.height * 100 / zoom)
       
  3976   }; // we compute the pixels size naively
       
  3977 
       
  3978   var widthInPixels = Math.round(limitAreaFn(mediaSize.naturalWidth, croppedAreaPercentages.width * mediaSize.naturalWidth / 100));
       
  3979   var heightInPixels = Math.round(limitAreaFn(mediaSize.naturalHeight, croppedAreaPercentages.height * mediaSize.naturalHeight / 100));
       
  3980   var isImgWiderThanHigh = mediaSize.naturalWidth >= mediaSize.naturalHeight * aspect; // then we ensure the width and height exactly match the aspect (to avoid rounding approximations)
       
  3981   // if the media is wider than high, when zoom is 0, the crop height will be equals to iamge height
       
  3982   // thus we want to compute the width from the height and aspect for accuracy.
       
  3983   // Otherwise, we compute the height from width and aspect.
       
  3984 
       
  3985   var sizePixels = isImgWiderThanHigh ? {
       
  3986     width: Math.round(heightInPixels * aspect),
       
  3987     height: heightInPixels
       
  3988   } : {
       
  3989     width: widthInPixels,
       
  3990     height: Math.round(widthInPixels / aspect)
       
  3991   };
       
  3992 
       
  3993   var croppedAreaPixels = __assign(__assign({}, sizePixels), {
       
  3994     x: Math.round(limitAreaFn(mediaSize.naturalWidth - sizePixels.width, croppedAreaPercentages.x * mediaSize.naturalWidth / 100)),
       
  3995     y: Math.round(limitAreaFn(mediaSize.naturalHeight - sizePixels.height, croppedAreaPercentages.y * mediaSize.naturalHeight / 100))
       
  3996   });
       
  3997 
       
  3998   return {
       
  3999     croppedAreaPercentages: croppedAreaPercentages,
       
  4000     croppedAreaPixels: croppedAreaPixels
       
  4001   };
       
  4002 }
       
  4003 /**
       
  4004  * Ensure the returned value is between 0 and max
       
  4005  */
       
  4006 
       
  4007 function limitArea(max, value) {
       
  4008   return Math.min(max, Math.max(0, value));
       
  4009 }
       
  4010 
       
  4011 function noOp(_max, value) {
       
  4012   return value;
       
  4013 }
       
  4014 /**
       
  4015  * Compute the crop and zoom from the croppedAreaPixels
       
  4016  */
       
  4017 
       
  4018 
       
  4019 function getZoomFromCroppedAreaPixels(croppedAreaPixels, mediaSize, cropSize) {
       
  4020   var mediaZoom = mediaSize.width / mediaSize.naturalWidth;
       
  4021 
       
  4022   if (cropSize) {
       
  4023     var isHeightMaxSize_1 = cropSize.height > cropSize.width;
       
  4024     return isHeightMaxSize_1 ? cropSize.height / mediaZoom / croppedAreaPixels.height : cropSize.width / mediaZoom / croppedAreaPixels.width;
       
  4025   }
       
  4026 
       
  4027   var aspect = croppedAreaPixels.width / croppedAreaPixels.height;
       
  4028   var isHeightMaxSize = mediaSize.naturalWidth >= mediaSize.naturalHeight * aspect;
       
  4029   return isHeightMaxSize ? mediaSize.naturalHeight / croppedAreaPixels.height : mediaSize.naturalWidth / croppedAreaPixels.width;
       
  4030 }
       
  4031 /**
       
  4032  * Compute the crop and zoom from the croppedAreaPixels
       
  4033  */
       
  4034 
       
  4035 
       
  4036 function getInitialCropFromCroppedAreaPixels(croppedAreaPixels, mediaSize, cropSize) {
       
  4037   var mediaZoom = mediaSize.width / mediaSize.naturalWidth;
       
  4038   var zoom = getZoomFromCroppedAreaPixels(croppedAreaPixels, mediaSize, cropSize);
       
  4039   var cropZoom = mediaZoom * zoom;
       
  4040   var crop = {
       
  4041     x: ((mediaSize.naturalWidth - croppedAreaPixels.width) / 2 - croppedAreaPixels.x) * cropZoom,
       
  4042     y: ((mediaSize.naturalHeight - croppedAreaPixels.height) / 2 - croppedAreaPixels.y) * cropZoom
       
  4043   };
       
  4044   return {
       
  4045     crop: crop,
       
  4046     zoom: zoom
       
  4047   };
       
  4048 }
       
  4049 /**
       
  4050  * Return the point that is the center of point a and b
       
  4051  */
       
  4052 
       
  4053 function getCenter(a, b) {
       
  4054   return {
       
  4055     x: (b.x + a.x) / 2,
       
  4056     y: (b.y + a.y) / 2
       
  4057   };
       
  4058 }
       
  4059 /**
       
  4060  *
       
  4061  * Returns an x,y point once rotated around xMid,yMid
       
  4062  */
       
  4063 
       
  4064 function rotateAroundMidPoint(x, y, xMid, yMid, degrees) {
       
  4065   var cos = Math.cos;
       
  4066   var sin = Math.sin;
       
  4067   var radian = degrees * Math.PI / 180; // Convert to radians
       
  4068   // Subtract midpoints, so that midpoint is translated to origin
       
  4069   // and add it in the end again
       
  4070 
       
  4071   var xr = (x - xMid) * cos(radian) - (y - yMid) * sin(radian) + xMid;
       
  4072   var yr = (x - xMid) * sin(radian) + (y - yMid) * cos(radian) + yMid;
       
  4073   return [xr, yr];
       
  4074 }
       
  4075 /**
       
  4076  * Returns the new bounding area of a rotated rectangle.
       
  4077  */
       
  4078 
       
  4079 function translateSize(width, height, rotation) {
       
  4080   var centerX = width / 2;
       
  4081   var centerY = height / 2;
       
  4082   var outerBounds = [rotateAroundMidPoint(0, 0, centerX, centerY, rotation), rotateAroundMidPoint(width, 0, centerX, centerY, rotation), rotateAroundMidPoint(width, height, centerX, centerY, rotation), rotateAroundMidPoint(0, height, centerX, centerY, rotation)];
       
  4083   var minX = Math.min.apply(Math, outerBounds.map(function (p) {
       
  4084     return p[0];
       
  4085   }));
       
  4086   var maxX = Math.max.apply(Math, outerBounds.map(function (p) {
       
  4087     return p[0];
       
  4088   }));
       
  4089   var minY = Math.min.apply(Math, outerBounds.map(function (p) {
       
  4090     return p[1];
       
  4091   }));
       
  4092   var maxY = Math.max.apply(Math, outerBounds.map(function (p) {
       
  4093     return p[1];
       
  4094   }));
       
  4095   return {
       
  4096     width: maxX - minX,
       
  4097     height: maxY - minY
       
  4098   };
       
  4099 }
       
  4100 /**
       
  4101  * Combine multiple class names into a single string.
       
  4102  */
       
  4103 
       
  4104 function index_module_classNames() {
       
  4105   var args = [];
       
  4106 
       
  4107   for (var _i = 0; _i < arguments.length; _i++) {
       
  4108     args[_i] = arguments[_i];
       
  4109   }
       
  4110 
       
  4111   return args.filter(function (value) {
       
  4112     if (typeof value === 'string' && value.length > 0) {
       
  4113       return true;
       
  4114     }
       
  4115 
       
  4116     return false;
       
  4117   }).join(' ').trim();
       
  4118 }
       
  4119 
       
  4120 var css = ".reactEasyCrop_Container {\n  position: absolute;\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  overflow: hidden;\n  user-select: none;\n  touch-action: none;\n  cursor: move;\n}\n\n.reactEasyCrop_Image,\n.reactEasyCrop_Video {\n  max-width: 100%;\n  max-height: 100%;\n  margin: auto;\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  left: 0;\n  right: 0;\n  will-change: transform; /* this improves performances and prevent painting issues on iOS Chrome */\n}\n\n.reactEasyCrop_CropArea {\n  position: absolute;\n  left: 50%;\n  top: 50%;\n  transform: translate(-50%, -50%);\n  border: 1px solid rgba(255, 255, 255, 0.5);\n  box-sizing: border-box;\n  box-shadow: 0 0 0 9999em;\n  color: rgba(0, 0, 0, 0.5);\n  overflow: hidden;\n}\n\n.reactEasyCrop_CropAreaRound {\n  border-radius: 50%;\n}\n\n.reactEasyCrop_CropAreaGrid::before {\n  content: ' ';\n  box-sizing: border-box;\n  position: absolute;\n  border: 1px solid rgba(255, 255, 255, 0.5);\n  top: 0;\n  bottom: 0;\n  left: 33.33%;\n  right: 33.33%;\n  border-top: 0;\n  border-bottom: 0;\n}\n\n.reactEasyCrop_CropAreaGrid::after {\n  content: ' ';\n  box-sizing: border-box;\n  position: absolute;\n  border: 1px solid rgba(255, 255, 255, 0.5);\n  top: 33.33%;\n  bottom: 33.33%;\n  left: 0;\n  right: 0;\n  border-left: 0;\n  border-right: 0;\n}\n";
       
  4121 
       
  4122 var MIN_ZOOM = 1;
       
  4123 var MAX_ZOOM = 3;
       
  4124 
       
  4125 var index_module_Cropper =
       
  4126 /** @class */
       
  4127 function (_super) {
       
  4128   __extends(Cropper, _super);
       
  4129 
       
  4130   function Cropper() {
       
  4131     var _this = _super !== null && _super.apply(this, arguments) || this;
       
  4132 
       
  4133     _this.imageRef = null;
       
  4134     _this.videoRef = null;
       
  4135     _this.containerRef = null;
       
  4136     _this.styleRef = null;
       
  4137     _this.containerRect = null;
       
  4138     _this.mediaSize = {
       
  4139       width: 0,
       
  4140       height: 0,
       
  4141       naturalWidth: 0,
       
  4142       naturalHeight: 0
       
  4143     };
       
  4144     _this.dragStartPosition = {
       
  4145       x: 0,
       
  4146       y: 0
       
  4147     };
       
  4148     _this.dragStartCrop = {
       
  4149       x: 0,
       
  4150       y: 0
       
  4151     };
       
  4152     _this.lastPinchDistance = 0;
       
  4153     _this.lastPinchRotation = 0;
       
  4154     _this.rafDragTimeout = null;
       
  4155     _this.rafPinchTimeout = null;
       
  4156     _this.wheelTimer = null;
       
  4157     _this.state = {
       
  4158       cropSize: null,
       
  4159       hasWheelJustStarted: false
       
  4160     }; // this is to prevent Safari on iOS >= 10 to zoom the page
       
  4161 
       
  4162     _this.preventZoomSafari = function (e) {
       
  4163       return e.preventDefault();
       
  4164     };
       
  4165 
       
  4166     _this.cleanEvents = function () {
       
  4167       document.removeEventListener('mousemove', _this.onMouseMove);
       
  4168       document.removeEventListener('mouseup', _this.onDragStopped);
       
  4169       document.removeEventListener('touchmove', _this.onTouchMove);
       
  4170       document.removeEventListener('touchend', _this.onDragStopped);
       
  4171     };
       
  4172 
       
  4173     _this.clearScrollEvent = function () {
       
  4174       if (_this.containerRef) _this.containerRef.removeEventListener('wheel', _this.onWheel);
       
  4175 
       
  4176       if (_this.wheelTimer) {
       
  4177         clearTimeout(_this.wheelTimer);
       
  4178       }
       
  4179     };
       
  4180 
       
  4181     _this.onMediaLoad = function () {
       
  4182       _this.computeSizes();
       
  4183 
       
  4184       _this.emitCropData();
       
  4185 
       
  4186       _this.setInitialCrop();
       
  4187 
       
  4188       if (_this.props.onMediaLoaded) {
       
  4189         _this.props.onMediaLoaded(_this.mediaSize);
       
  4190       }
       
  4191     };
       
  4192 
       
  4193     _this.setInitialCrop = function () {
       
  4194       var _a = _this.props,
       
  4195           initialCroppedAreaPixels = _a.initialCroppedAreaPixels,
       
  4196           cropSize = _a.cropSize;
       
  4197 
       
  4198       if (!initialCroppedAreaPixels) {
       
  4199         return;
       
  4200       }
       
  4201 
       
  4202       var _b = getInitialCropFromCroppedAreaPixels(initialCroppedAreaPixels, _this.mediaSize, cropSize),
       
  4203           crop = _b.crop,
       
  4204           zoom = _b.zoom;
       
  4205 
       
  4206       _this.props.onCropChange(crop);
       
  4207 
       
  4208       _this.props.onZoomChange && _this.props.onZoomChange(zoom);
       
  4209     };
       
  4210 
       
  4211     _this.computeSizes = function () {
       
  4212       var _a, _b, _c, _d;
       
  4213 
       
  4214       var mediaRef = _this.imageRef || _this.videoRef;
       
  4215 
       
  4216       if (mediaRef && _this.containerRef) {
       
  4217         _this.containerRect = _this.containerRef.getBoundingClientRect();
       
  4218         _this.mediaSize = {
       
  4219           width: mediaRef.offsetWidth,
       
  4220           height: mediaRef.offsetHeight,
       
  4221           naturalWidth: ((_a = _this.imageRef) === null || _a === void 0 ? void 0 : _a.naturalWidth) || ((_b = _this.videoRef) === null || _b === void 0 ? void 0 : _b.videoWidth) || 0,
       
  4222           naturalHeight: ((_c = _this.imageRef) === null || _c === void 0 ? void 0 : _c.naturalHeight) || ((_d = _this.videoRef) === null || _d === void 0 ? void 0 : _d.videoHeight) || 0
       
  4223         };
       
  4224         var cropSize = _this.props.cropSize ? _this.props.cropSize : getCropSize(mediaRef.offsetWidth, mediaRef.offsetHeight, _this.containerRect.width, _this.containerRect.height, _this.props.aspect, _this.props.rotation);
       
  4225 
       
  4226         _this.setState({
       
  4227           cropSize: cropSize
       
  4228         }, _this.recomputeCropPosition);
       
  4229       }
       
  4230     };
       
  4231 
       
  4232     _this.onMouseDown = function (e) {
       
  4233       e.preventDefault();
       
  4234       document.addEventListener('mousemove', _this.onMouseMove);
       
  4235       document.addEventListener('mouseup', _this.onDragStopped);
       
  4236 
       
  4237       _this.onDragStart(Cropper.getMousePoint(e));
       
  4238     };
       
  4239 
       
  4240     _this.onMouseMove = function (e) {
       
  4241       return _this.onDrag(Cropper.getMousePoint(e));
       
  4242     };
       
  4243 
       
  4244     _this.onTouchStart = function (e) {
       
  4245       e.preventDefault();
       
  4246       document.addEventListener('touchmove', _this.onTouchMove, {
       
  4247         passive: false
       
  4248       }); // iOS 11 now defaults to passive: true
       
  4249 
       
  4250       document.addEventListener('touchend', _this.onDragStopped);
       
  4251 
       
  4252       if (e.touches.length === 2) {
       
  4253         _this.onPinchStart(e);
       
  4254       } else if (e.touches.length === 1) {
       
  4255         _this.onDragStart(Cropper.getTouchPoint(e.touches[0]));
       
  4256       }
       
  4257     };
       
  4258 
       
  4259     _this.onTouchMove = function (e) {
       
  4260       // Prevent whole page from scrolling on iOS.
       
  4261       e.preventDefault();
       
  4262 
       
  4263       if (e.touches.length === 2) {
       
  4264         _this.onPinchMove(e);
       
  4265       } else if (e.touches.length === 1) {
       
  4266         _this.onDrag(Cropper.getTouchPoint(e.touches[0]));
       
  4267       }
       
  4268     };
       
  4269 
       
  4270     _this.onDragStart = function (_a) {
       
  4271       var x = _a.x,
       
  4272           y = _a.y;
       
  4273 
       
  4274       var _b, _c;
       
  4275 
       
  4276       _this.dragStartPosition = {
       
  4277         x: x,
       
  4278         y: y
       
  4279       };
       
  4280       _this.dragStartCrop = __assign({}, _this.props.crop);
       
  4281       (_c = (_b = _this.props).onInteractionStart) === null || _c === void 0 ? void 0 : _c.call(_b);
       
  4282     };
       
  4283 
       
  4284     _this.onDrag = function (_a) {
       
  4285       var x = _a.x,
       
  4286           y = _a.y;
       
  4287       if (_this.rafDragTimeout) window.cancelAnimationFrame(_this.rafDragTimeout);
       
  4288       _this.rafDragTimeout = window.requestAnimationFrame(function () {
       
  4289         if (!_this.state.cropSize) return;
       
  4290         if (x === undefined || y === undefined) return;
       
  4291         var offsetX = x - _this.dragStartPosition.x;
       
  4292         var offsetY = y - _this.dragStartPosition.y;
       
  4293         var requestedPosition = {
       
  4294           x: _this.dragStartCrop.x + offsetX,
       
  4295           y: _this.dragStartCrop.y + offsetY
       
  4296         };
       
  4297         var newPosition = _this.props.restrictPosition ? index_module_restrictPosition(requestedPosition, _this.mediaSize, _this.state.cropSize, _this.props.zoom, _this.props.rotation) : requestedPosition;
       
  4298 
       
  4299         _this.props.onCropChange(newPosition);
       
  4300       });
       
  4301     };
       
  4302 
       
  4303     _this.onDragStopped = function () {
       
  4304       var _a, _b;
       
  4305 
       
  4306       _this.cleanEvents();
       
  4307 
       
  4308       _this.emitCropData();
       
  4309 
       
  4310       (_b = (_a = _this.props).onInteractionEnd) === null || _b === void 0 ? void 0 : _b.call(_a);
       
  4311     };
       
  4312 
       
  4313     _this.onWheel = function (e) {
       
  4314       e.preventDefault();
       
  4315       var point = Cropper.getMousePoint(e);
       
  4316       var newZoom = _this.props.zoom - e.deltaY * _this.props.zoomSpeed / 200;
       
  4317 
       
  4318       _this.setNewZoom(newZoom, point);
       
  4319 
       
  4320       if (!_this.state.hasWheelJustStarted) {
       
  4321         _this.setState({
       
  4322           hasWheelJustStarted: true
       
  4323         }, function () {
       
  4324           var _a, _b;
       
  4325 
       
  4326           return (_b = (_a = _this.props).onInteractionStart) === null || _b === void 0 ? void 0 : _b.call(_a);
       
  4327         });
       
  4328       }
       
  4329 
       
  4330       if (_this.wheelTimer) {
       
  4331         clearTimeout(_this.wheelTimer);
       
  4332       }
       
  4333 
       
  4334       _this.wheelTimer = window.setTimeout(function () {
       
  4335         return _this.setState({
       
  4336           hasWheelJustStarted: false
       
  4337         }, function () {
       
  4338           var _a, _b;
       
  4339 
       
  4340           return (_b = (_a = _this.props).onInteractionEnd) === null || _b === void 0 ? void 0 : _b.call(_a);
       
  4341         });
       
  4342       }, 250);
       
  4343     };
       
  4344 
       
  4345     _this.getPointOnContainer = function (_a) {
       
  4346       var x = _a.x,
       
  4347           y = _a.y;
       
  4348 
       
  4349       if (!_this.containerRect) {
       
  4350         throw new Error('The Cropper is not mounted');
       
  4351       }
       
  4352 
       
  4353       return {
       
  4354         x: _this.containerRect.width / 2 - (x - _this.containerRect.left),
       
  4355         y: _this.containerRect.height / 2 - (y - _this.containerRect.top)
       
  4356       };
       
  4357     };
       
  4358 
       
  4359     _this.getPointOnMedia = function (_a) {
       
  4360       var x = _a.x,
       
  4361           y = _a.y;
       
  4362       var _b = _this.props,
       
  4363           crop = _b.crop,
       
  4364           zoom = _b.zoom;
       
  4365       return {
       
  4366         x: (x + crop.x) / zoom,
       
  4367         y: (y + crop.y) / zoom
       
  4368       };
       
  4369     };
       
  4370 
       
  4371     _this.setNewZoom = function (zoom, point) {
       
  4372       if (!_this.state.cropSize || !_this.props.onZoomChange) return;
       
  4373 
       
  4374       var zoomPoint = _this.getPointOnContainer(point);
       
  4375 
       
  4376       var zoomTarget = _this.getPointOnMedia(zoomPoint);
       
  4377 
       
  4378       var newZoom = Math.min(_this.props.maxZoom, Math.max(zoom, _this.props.minZoom));
       
  4379       var requestedPosition = {
       
  4380         x: zoomTarget.x * newZoom - zoomPoint.x,
       
  4381         y: zoomTarget.y * newZoom - zoomPoint.y
       
  4382       };
       
  4383       var newPosition = _this.props.restrictPosition ? index_module_restrictPosition(requestedPosition, _this.mediaSize, _this.state.cropSize, newZoom, _this.props.rotation) : requestedPosition;
       
  4384 
       
  4385       _this.props.onCropChange(newPosition);
       
  4386 
       
  4387       _this.props.onZoomChange(newZoom);
       
  4388     };
       
  4389 
       
  4390     _this.emitCropData = function () {
       
  4391       if (!_this.state.cropSize) return; // this is to ensure the crop is correctly restricted after a zoom back (https://github.com/ricardo-ch/react-easy-crop/issues/6)
       
  4392 
       
  4393       var restrictedPosition = _this.props.restrictPosition ? index_module_restrictPosition(_this.props.crop, _this.mediaSize, _this.state.cropSize, _this.props.zoom, _this.props.rotation) : _this.props.crop;
       
  4394 
       
  4395       var _a = computeCroppedArea(restrictedPosition, _this.mediaSize, _this.state.cropSize, _this.getAspect(), _this.props.zoom, _this.props.rotation, _this.props.restrictPosition),
       
  4396           croppedAreaPercentages = _a.croppedAreaPercentages,
       
  4397           croppedAreaPixels = _a.croppedAreaPixels;
       
  4398 
       
  4399       _this.props.onCropComplete && _this.props.onCropComplete(croppedAreaPercentages, croppedAreaPixels);
       
  4400     };
       
  4401 
       
  4402     _this.recomputeCropPosition = function () {
       
  4403       if (!_this.state.cropSize) return;
       
  4404       var newPosition = _this.props.restrictPosition ? index_module_restrictPosition(_this.props.crop, _this.mediaSize, _this.state.cropSize, _this.props.zoom, _this.props.rotation) : _this.props.crop;
       
  4405 
       
  4406       _this.props.onCropChange(newPosition);
       
  4407 
       
  4408       _this.emitCropData();
       
  4409     };
       
  4410 
       
  4411     return _this;
       
  4412   }
       
  4413 
       
  4414   Cropper.prototype.componentDidMount = function () {
       
  4415     window.addEventListener('resize', this.computeSizes);
       
  4416 
       
  4417     if (this.containerRef) {
       
  4418       this.props.zoomWithScroll && this.containerRef.addEventListener('wheel', this.onWheel, {
       
  4419         passive: false
       
  4420       });
       
  4421       this.containerRef.addEventListener('gesturestart', this.preventZoomSafari);
       
  4422       this.containerRef.addEventListener('gesturechange', this.preventZoomSafari);
       
  4423     }
       
  4424 
       
  4425     if (!this.props.disableAutomaticStylesInjection) {
       
  4426       this.styleRef = document.createElement('style');
       
  4427       this.styleRef.setAttribute('type', 'text/css');
       
  4428       this.styleRef.innerHTML = css;
       
  4429       document.head.appendChild(this.styleRef);
       
  4430     } // when rendered via SSR, the image can already be loaded and its onLoad callback will never be called
       
  4431 
       
  4432 
       
  4433     if (this.imageRef && this.imageRef.complete) {
       
  4434       this.onMediaLoad();
       
  4435     }
       
  4436   };
       
  4437 
       
  4438   Cropper.prototype.componentWillUnmount = function () {
       
  4439     window.removeEventListener('resize', this.computeSizes);
       
  4440 
       
  4441     if (this.containerRef) {
       
  4442       this.containerRef.removeEventListener('gesturestart', this.preventZoomSafari);
       
  4443       this.containerRef.removeEventListener('gesturechange', this.preventZoomSafari);
       
  4444     }
       
  4445 
       
  4446     if (this.styleRef) {
       
  4447       this.styleRef.remove();
       
  4448     }
       
  4449 
       
  4450     this.cleanEvents();
       
  4451     this.props.zoomWithScroll && this.clearScrollEvent();
       
  4452   };
       
  4453 
       
  4454   Cropper.prototype.componentDidUpdate = function (prevProps) {
       
  4455     var _a, _b, _c, _d;
       
  4456 
       
  4457     if (prevProps.rotation !== this.props.rotation) {
       
  4458       this.computeSizes();
       
  4459       this.recomputeCropPosition();
       
  4460     } else if (prevProps.aspect !== this.props.aspect) {
       
  4461       this.computeSizes();
       
  4462     } else if (prevProps.zoom !== this.props.zoom) {
       
  4463       this.recomputeCropPosition();
       
  4464     } else if (((_a = prevProps.cropSize) === null || _a === void 0 ? void 0 : _a.height) !== ((_b = this.props.cropSize) === null || _b === void 0 ? void 0 : _b.height) || ((_c = prevProps.cropSize) === null || _c === void 0 ? void 0 : _c.width) !== ((_d = this.props.cropSize) === null || _d === void 0 ? void 0 : _d.width)) {
       
  4465       this.computeSizes();
       
  4466     }
       
  4467 
       
  4468     if (prevProps.zoomWithScroll !== this.props.zoomWithScroll && this.containerRef) {
       
  4469       this.props.zoomWithScroll ? this.containerRef.addEventListener('wheel', this.onWheel, {
       
  4470         passive: false
       
  4471       }) : this.clearScrollEvent();
       
  4472     }
       
  4473   };
       
  4474 
       
  4475   Cropper.prototype.getAspect = function () {
       
  4476     var _a = this.props,
       
  4477         cropSize = _a.cropSize,
       
  4478         aspect = _a.aspect;
       
  4479 
       
  4480     if (cropSize) {
       
  4481       return cropSize.width / cropSize.height;
       
  4482     }
       
  4483 
       
  4484     return aspect;
       
  4485   };
       
  4486 
       
  4487   Cropper.prototype.onPinchStart = function (e) {
       
  4488     var pointA = Cropper.getTouchPoint(e.touches[0]);
       
  4489     var pointB = Cropper.getTouchPoint(e.touches[1]);
       
  4490     this.lastPinchDistance = getDistanceBetweenPoints(pointA, pointB);
       
  4491     this.lastPinchRotation = getRotationBetweenPoints(pointA, pointB);
       
  4492     this.onDragStart(getCenter(pointA, pointB));
       
  4493   };
       
  4494 
       
  4495   Cropper.prototype.onPinchMove = function (e) {
       
  4496     var _this = this;
       
  4497 
       
  4498     var pointA = Cropper.getTouchPoint(e.touches[0]);
       
  4499     var pointB = Cropper.getTouchPoint(e.touches[1]);
       
  4500     var center = getCenter(pointA, pointB);
       
  4501     this.onDrag(center);
       
  4502     if (this.rafPinchTimeout) window.cancelAnimationFrame(this.rafPinchTimeout);
       
  4503     this.rafPinchTimeout = window.requestAnimationFrame(function () {
       
  4504       var distance = getDistanceBetweenPoints(pointA, pointB);
       
  4505       var newZoom = _this.props.zoom * (distance / _this.lastPinchDistance);
       
  4506 
       
  4507       _this.setNewZoom(newZoom, center);
       
  4508 
       
  4509       _this.lastPinchDistance = distance;
       
  4510       var rotation = getRotationBetweenPoints(pointA, pointB);
       
  4511       var newRotation = _this.props.rotation + (rotation - _this.lastPinchRotation);
       
  4512       _this.props.onRotationChange && _this.props.onRotationChange(newRotation);
       
  4513       _this.lastPinchRotation = rotation;
       
  4514     });
       
  4515   };
       
  4516 
       
  4517   Cropper.prototype.render = function () {
       
  4518     var _this = this;
       
  4519 
       
  4520     var _a = this.props,
       
  4521         image = _a.image,
       
  4522         video = _a.video,
       
  4523         mediaProps = _a.mediaProps,
       
  4524         transform = _a.transform,
       
  4525         _b = _a.crop,
       
  4526         x = _b.x,
       
  4527         y = _b.y,
       
  4528         rotation = _a.rotation,
       
  4529         zoom = _a.zoom,
       
  4530         cropShape = _a.cropShape,
       
  4531         showGrid = _a.showGrid,
       
  4532         _c = _a.style,
       
  4533         containerStyle = _c.containerStyle,
       
  4534         cropAreaStyle = _c.cropAreaStyle,
       
  4535         mediaStyle = _c.mediaStyle,
       
  4536         _d = _a.classes,
       
  4537         containerClassName = _d.containerClassName,
       
  4538         cropAreaClassName = _d.cropAreaClassName,
       
  4539         mediaClassName = _d.mediaClassName;
       
  4540     return external_this_React_default.a.createElement("div", {
       
  4541       onMouseDown: this.onMouseDown,
       
  4542       onTouchStart: this.onTouchStart,
       
  4543       ref: function ref(el) {
       
  4544         return _this.containerRef = el;
       
  4545       },
       
  4546       "data-testid": "container",
       
  4547       style: containerStyle,
       
  4548       className: index_module_classNames('reactEasyCrop_Container', containerClassName)
       
  4549     }, image ? external_this_React_default.a.createElement("img", __assign({
       
  4550       alt: "",
       
  4551       className: index_module_classNames('reactEasyCrop_Image', mediaClassName)
       
  4552     }, mediaProps, {
       
  4553       src: image,
       
  4554       ref: function ref(el) {
       
  4555         return _this.imageRef = el;
       
  4556       },
       
  4557       style: __assign(__assign({}, mediaStyle), {
       
  4558         transform: transform || "translate(" + x + "px, " + y + "px) rotate(" + rotation + "deg) scale(" + zoom + ")"
       
  4559       }),
       
  4560       onLoad: this.onMediaLoad
       
  4561     })) : video && external_this_React_default.a.createElement("video", __assign({
       
  4562       autoPlay: true,
       
  4563       loop: true,
       
  4564       muted: true,
       
  4565       className: index_module_classNames('reactEasyCrop_Video', mediaClassName)
       
  4566     }, mediaProps, {
       
  4567       src: video,
       
  4568       ref: function ref(el) {
       
  4569         return _this.videoRef = el;
       
  4570       },
       
  4571       onLoadedMetadata: this.onMediaLoad,
       
  4572       style: __assign(__assign({}, mediaStyle), {
       
  4573         transform: transform || "translate(" + x + "px, " + y + "px) rotate(" + rotation + "deg) scale(" + zoom + ")"
       
  4574       }),
       
  4575       controls: false
       
  4576     })), this.state.cropSize && external_this_React_default.a.createElement("div", {
       
  4577       style: __assign(__assign({}, cropAreaStyle), {
       
  4578         width: this.state.cropSize.width,
       
  4579         height: this.state.cropSize.height
       
  4580       }),
       
  4581       "data-testid": "cropper",
       
  4582       className: index_module_classNames('reactEasyCrop_CropArea', cropShape === 'round' && 'reactEasyCrop_CropAreaRound', showGrid && 'reactEasyCrop_CropAreaGrid', cropAreaClassName)
       
  4583     }));
       
  4584   };
       
  4585 
       
  4586   Cropper.defaultProps = {
       
  4587     zoom: 1,
       
  4588     rotation: 0,
       
  4589     aspect: 4 / 3,
       
  4590     maxZoom: MAX_ZOOM,
       
  4591     minZoom: MIN_ZOOM,
       
  4592     cropShape: 'rect',
       
  4593     showGrid: true,
       
  4594     style: {},
       
  4595     classes: {},
       
  4596     mediaProps: {},
       
  4597     zoomSpeed: 1,
       
  4598     restrictPosition: true,
       
  4599     zoomWithScroll: true
       
  4600   };
       
  4601 
       
  4602   Cropper.getMousePoint = function (e) {
       
  4603     return {
       
  4604       x: Number(e.clientX),
       
  4605       y: Number(e.clientY)
       
  4606     };
       
  4607   };
       
  4608 
       
  4609   Cropper.getTouchPoint = function (touch) {
       
  4610     return {
       
  4611       x: Number(touch.clientX),
       
  4612       y: Number(touch.clientY)
       
  4613     };
       
  4614   };
       
  4615 
       
  4616   return Cropper;
       
  4617 }(external_this_React_default.a.Component);
       
  4618 
       
  4619 /* harmony default export */ var index_module = (index_module_Cropper);
       
  4620 
       
  4621 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/check.js
       
  4622 var check = __webpack_require__(155);
       
  4623 
       
  4624 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/aspect-ratio.js
       
  4625 
       
  4626 
       
  4627 /**
       
  4628  * WordPress dependencies
       
  4629  */
       
  4630 
       
  4631 var aspect_ratio_aspectRatio = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
  4632   xmlns: "http://www.w3.org/2000/svg",
       
  4633   viewBox: "0 0 24 24"
       
  4634 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
  4635   d: "M18.5 5.5h-13c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2v-9c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5h-13c-.3 0-.5-.2-.5-.5v-9c0-.3.2-.5.5-.5h13c.3 0 .5.2.5.5v9zM6.5 12H8v-2h2V8.5H6.5V12zm9.5 2h-2v1.5h3.5V12H16v2z"
       
  4636 }));
       
  4637 /* harmony default export */ var aspect_ratio = (aspect_ratio_aspectRatio);
       
  4638 
       
  4639 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/search.js
       
  4640 var search = __webpack_require__(291);
       
  4641 
       
  4642 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/rotate-right.js
       
  4643 
       
  4644 
       
  4645 /**
       
  4646  * WordPress dependencies
       
  4647  */
       
  4648 
       
  4649 var rotateRight = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
  4650   xmlns: "http://www.w3.org/2000/svg",
       
  4651   viewBox: "0 0 24 24"
       
  4652 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
  4653   d: "M15.1 4.8l-3-2.5V4c-4.4 0-8 3.6-8 8 0 3.7 2.5 6.9 6 7.7.3.1.6.1 1 .2l.2-1.5c-.4 0-.7-.1-1.1-.2l-.1.2v-.2c-2.6-.8-4.5-3.3-4.5-6.2 0-3.6 2.9-6.5 6.5-6.5v1.8l3-2.5zM20 11c-.2-1.4-.7-2.7-1.6-3.8l-1.2.8c.7.9 1.1 2 1.3 3.1L20 11zm-1.5 1.8c-.1.5-.2 1.1-.4 1.6s-.5 1-.8 1.5l1.2.9c.4-.5.8-1.1 1-1.8s.5-1.3.5-2l-1.5-.2zm-5.6 5.6l.2 1.5c1.4-.2 2.7-.7 3.8-1.6l-.9-1.1c-.9.7-2 1.1-3.1 1.2z"
       
  4654 }));
       
  4655 /* harmony default export */ var rotate_right = (rotateRight);
       
  4656 
       
  4657 // EXTERNAL MODULE: external {"this":["wp","apiFetch"]}
       
  4658 var external_this_wp_apiFetch_ = __webpack_require__(45);
       
  4659 var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_);
       
  4660 
       
  4661 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/image-editor.js
       
  4662 
       
  4663 
       
  4664 
       
  4665 /**
       
  4666  * External dependencies
       
  4667  */
       
  4668 
       
  4669 
       
  4670 /**
       
  4671  * WordPress dependencies
       
  4672  */
       
  4673 
       
  4674 
       
  4675 
       
  4676 
       
  4677 
       
  4678 
       
  4679 
       
  4680 
       
  4681 var image_editor_MIN_ZOOM = 100;
       
  4682 var image_editor_MAX_ZOOM = 300;
       
  4683 var POPOVER_PROPS = {
       
  4684   position: 'bottom right',
       
  4685   isAlternate: true
       
  4686 };
       
  4687 
       
  4688 function AspectGroup(_ref) {
       
  4689   var aspectRatios = _ref.aspectRatios,
       
  4690       isDisabled = _ref.isDisabled,
       
  4691       label = _ref.label,
       
  4692       _onClick = _ref.onClick,
       
  4693       value = _ref.value;
       
  4694   return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuGroup"], {
       
  4695     label: label
       
  4696   }, aspectRatios.map(function (_ref2) {
       
  4697     var title = _ref2.title,
       
  4698         aspect = _ref2.aspect;
       
  4699     return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], {
       
  4700       key: aspect,
       
  4701       isDisabled: isDisabled,
       
  4702       onClick: function onClick() {
       
  4703         _onClick(aspect);
       
  4704       },
       
  4705       role: "menuitemradio",
       
  4706       isSelected: aspect === value,
       
  4707       icon: aspect === value ? check["a" /* default */] : undefined
       
  4708     }, title);
       
  4709   }));
       
  4710 }
       
  4711 
       
  4712 function AspectMenu(_ref3) {
       
  4713   var isDisabled = _ref3.isDisabled,
       
  4714       _onClick2 = _ref3.onClick,
       
  4715       value = _ref3.value,
       
  4716       defaultValue = _ref3.defaultValue;
       
  4717   return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["DropdownMenu"], {
       
  4718     icon: aspect_ratio,
       
  4719     label: Object(external_this_wp_i18n_["__"])('Aspect Ratio'),
       
  4720     popoverProps: POPOVER_PROPS,
       
  4721     className: "wp-block-image__aspect-ratio"
       
  4722   }, function (_ref4) {
       
  4723     var onClose = _ref4.onClose;
       
  4724     return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(AspectGroup, {
       
  4725       isDisabled: isDisabled,
       
  4726       onClick: function onClick(aspect) {
       
  4727         _onClick2(aspect);
       
  4728 
       
  4729         onClose();
       
  4730       },
       
  4731       value: value,
       
  4732       aspectRatios: [{
       
  4733         title: Object(external_this_wp_i18n_["__"])('Original'),
       
  4734         aspect: defaultValue
       
  4735       }, {
       
  4736         title: Object(external_this_wp_i18n_["__"])('Square'),
       
  4737         aspect: 1
       
  4738       }]
       
  4739     }), Object(external_this_wp_element_["createElement"])(AspectGroup, {
       
  4740       label: Object(external_this_wp_i18n_["__"])('Landscape'),
       
  4741       isDisabled: isDisabled,
       
  4742       onClick: function onClick(aspect) {
       
  4743         _onClick2(aspect);
       
  4744 
       
  4745         onClose();
       
  4746       },
       
  4747       value: value,
       
  4748       aspectRatios: [{
       
  4749         title: Object(external_this_wp_i18n_["__"])('16:10'),
       
  4750         aspect: 16 / 10
       
  4751       }, {
       
  4752         title: Object(external_this_wp_i18n_["__"])('16:9'),
       
  4753         aspect: 16 / 9
       
  4754       }, {
       
  4755         title: Object(external_this_wp_i18n_["__"])('4:3'),
       
  4756         aspect: 4 / 3
       
  4757       }, {
       
  4758         title: Object(external_this_wp_i18n_["__"])('3:2'),
       
  4759         aspect: 3 / 2
       
  4760       }]
       
  4761     }), Object(external_this_wp_element_["createElement"])(AspectGroup, {
       
  4762       label: Object(external_this_wp_i18n_["__"])('Portrait'),
       
  4763       isDisabled: isDisabled,
       
  4764       onClick: function onClick(aspect) {
       
  4765         _onClick2(aspect);
       
  4766 
       
  4767         onClose();
       
  4768       },
       
  4769       value: value,
       
  4770       aspectRatios: [{
       
  4771         title: Object(external_this_wp_i18n_["__"])('10:16'),
       
  4772         aspect: 10 / 16
       
  4773       }, {
       
  4774         title: Object(external_this_wp_i18n_["__"])('9:16'),
       
  4775         aspect: 9 / 16
       
  4776       }, {
       
  4777         title: Object(external_this_wp_i18n_["__"])('3:4'),
       
  4778         aspect: 3 / 4
       
  4779       }, {
       
  4780         title: Object(external_this_wp_i18n_["__"])('2:3'),
       
  4781         aspect: 2 / 3
       
  4782       }]
       
  4783     }));
       
  4784   });
       
  4785 }
       
  4786 
       
  4787 function ImageEditor(_ref5) {
       
  4788   var id = _ref5.id,
       
  4789       url = _ref5.url,
       
  4790       setAttributes = _ref5.setAttributes,
       
  4791       naturalWidth = _ref5.naturalWidth,
       
  4792       naturalHeight = _ref5.naturalHeight,
       
  4793       width = _ref5.width,
       
  4794       height = _ref5.height,
       
  4795       clientWidth = _ref5.clientWidth,
       
  4796       setIsEditingImage = _ref5.setIsEditingImage;
       
  4797 
       
  4798   var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/notices'),
       
  4799       createErrorNotice = _useDispatch.createErrorNotice;
       
  4800 
       
  4801   var _useState = Object(external_this_wp_element_["useState"])(false),
       
  4802       _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
       
  4803       inProgress = _useState2[0],
       
  4804       setIsProgress = _useState2[1];
       
  4805 
       
  4806   var _useState3 = Object(external_this_wp_element_["useState"])(null),
       
  4807       _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2),
       
  4808       crop = _useState4[0],
       
  4809       setCrop = _useState4[1];
       
  4810 
       
  4811   var _useState5 = Object(external_this_wp_element_["useState"])({
       
  4812     x: 0,
       
  4813     y: 0
       
  4814   }),
       
  4815       _useState6 = Object(slicedToArray["a" /* default */])(_useState5, 2),
       
  4816       position = _useState6[0],
       
  4817       setPosition = _useState6[1];
       
  4818 
       
  4819   var _useState7 = Object(external_this_wp_element_["useState"])(100),
       
  4820       _useState8 = Object(slicedToArray["a" /* default */])(_useState7, 2),
       
  4821       zoom = _useState8[0],
       
  4822       setZoom = _useState8[1];
       
  4823 
       
  4824   var _useState9 = Object(external_this_wp_element_["useState"])(naturalWidth / naturalHeight),
       
  4825       _useState10 = Object(slicedToArray["a" /* default */])(_useState9, 2),
       
  4826       aspect = _useState10[0],
       
  4827       setAspect = _useState10[1];
       
  4828 
       
  4829   var _useState11 = Object(external_this_wp_element_["useState"])(0),
       
  4830       _useState12 = Object(slicedToArray["a" /* default */])(_useState11, 2),
       
  4831       rotation = _useState12[0],
       
  4832       setRotation = _useState12[1];
       
  4833 
       
  4834   var _useState13 = Object(external_this_wp_element_["useState"])(),
       
  4835       _useState14 = Object(slicedToArray["a" /* default */])(_useState13, 2),
       
  4836       editedUrl = _useState14[0],
       
  4837       setEditedUrl = _useState14[1];
       
  4838 
       
  4839   var editedWidth = width;
       
  4840   var editedHeight = height || clientWidth * naturalHeight / naturalWidth;
       
  4841   var naturalAspectRatio = naturalWidth / naturalHeight;
       
  4842 
       
  4843   if (rotation % 180 === 90) {
       
  4844     editedHeight = clientWidth * naturalWidth / naturalHeight;
       
  4845     naturalAspectRatio = naturalHeight / naturalWidth;
       
  4846   }
       
  4847 
       
  4848   function apply() {
       
  4849     setIsProgress(true);
       
  4850     var attrs = {}; // The crop script may return some very small, sub-pixel values when the image was not cropped.
       
  4851     // Crop only when the new size has changed by more than 0.1%.
       
  4852 
       
  4853     if (crop.width < 99.9 || crop.height < 99.9) {
       
  4854       attrs = crop;
       
  4855     }
       
  4856 
       
  4857     if (rotation > 0) {
       
  4858       attrs.rotation = rotation;
       
  4859     }
       
  4860 
       
  4861     attrs.src = url;
       
  4862     external_this_wp_apiFetch_default()({
       
  4863       path: "/wp/v2/media/".concat(id, "/edit"),
       
  4864       method: 'POST',
       
  4865       data: attrs
       
  4866     }).then(function (response) {
       
  4867       setAttributes({
       
  4868         id: response.id,
       
  4869         url: response.source_url,
       
  4870         height: height && width ? width / aspect : undefined
       
  4871       });
       
  4872     }).catch(function (error) {
       
  4873       createErrorNotice(Object(external_this_wp_i18n_["sprintf"])(
       
  4874       /* translators: 1. Error message */
       
  4875       Object(external_this_wp_i18n_["__"])('Could not edit image. %s'), error.message), {
       
  4876         id: 'image-editing-error',
       
  4877         type: 'snackbar'
       
  4878       });
       
  4879     }).finally(function () {
       
  4880       setIsProgress(false);
       
  4881       setIsEditingImage(false);
       
  4882     });
       
  4883   }
       
  4884 
       
  4885   function rotate() {
       
  4886     var angle = (rotation + 90) % 360;
       
  4887 
       
  4888     if (angle === 0) {
       
  4889       setEditedUrl();
       
  4890       setRotation(angle);
       
  4891       setAspect(1 / aspect);
       
  4892       setPosition({
       
  4893         x: -(position.y * naturalAspectRatio),
       
  4894         y: position.x * naturalAspectRatio
       
  4895       });
       
  4896       return;
       
  4897     }
       
  4898 
       
  4899     function editImage(event) {
       
  4900       var canvas = document.createElement('canvas');
       
  4901       var translateX = 0;
       
  4902       var translateY = 0;
       
  4903 
       
  4904       if (angle % 180) {
       
  4905         canvas.width = event.target.height;
       
  4906         canvas.height = event.target.width;
       
  4907       } else {
       
  4908         canvas.width = event.target.width;
       
  4909         canvas.height = event.target.height;
       
  4910       }
       
  4911 
       
  4912       if (angle === 90 || angle === 180) {
       
  4913         translateX = canvas.width;
       
  4914       }
       
  4915 
       
  4916       if (angle === 270 || angle === 180) {
       
  4917         translateY = canvas.height;
       
  4918       }
       
  4919 
       
  4920       var context = canvas.getContext('2d');
       
  4921       context.translate(translateX, translateY);
       
  4922       context.rotate(angle * Math.PI / 180);
       
  4923       context.drawImage(event.target, 0, 0);
       
  4924       canvas.toBlob(function (blob) {
       
  4925         setEditedUrl(URL.createObjectURL(blob));
       
  4926         setRotation(angle);
       
  4927         setAspect(1 / aspect);
       
  4928         setPosition({
       
  4929           x: -(position.y * naturalAspectRatio),
       
  4930           y: position.x * naturalAspectRatio
       
  4931         });
       
  4932       });
       
  4933     }
       
  4934 
       
  4935     var el = new window.Image();
       
  4936     el.src = url;
       
  4937     el.onload = editImage;
       
  4938   }
       
  4939 
       
  4940   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("div", {
       
  4941     className: classnames_default()('wp-block-image__crop-area', {
       
  4942       'is-applying': inProgress
       
  4943     }),
       
  4944     style: {
       
  4945       width: editedWidth,
       
  4946       height: editedHeight
       
  4947     }
       
  4948   }, Object(external_this_wp_element_["createElement"])(index_module, {
       
  4949     image: editedUrl || url,
       
  4950     disabled: inProgress,
       
  4951     minZoom: image_editor_MIN_ZOOM / 100,
       
  4952     maxZoom: image_editor_MAX_ZOOM / 100,
       
  4953     crop: position,
       
  4954     zoom: zoom / 100,
       
  4955     aspect: aspect,
       
  4956     onCropChange: setPosition,
       
  4957     onCropComplete: function onCropComplete(newCropPercent) {
       
  4958       setCrop(newCropPercent);
       
  4959     },
       
  4960     onZoomChange: function onZoomChange(newZoom) {
       
  4961       setZoom(newZoom * 100);
       
  4962     }
       
  4963   }), inProgress && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null)), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dropdown"], {
       
  4964     contentClassName: "wp-block-image__zoom",
       
  4965     popoverProps: POPOVER_PROPS,
       
  4966     renderToggle: function renderToggle(_ref6) {
       
  4967       var isOpen = _ref6.isOpen,
       
  4968           onToggle = _ref6.onToggle;
       
  4969       return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarButton"], {
       
  4970         icon: search["a" /* default */],
       
  4971         label: Object(external_this_wp_i18n_["__"])('Zoom'),
       
  4972         onClick: onToggle,
       
  4973         "aria-expanded": isOpen,
       
  4974         disabled: inProgress
       
  4975       });
       
  4976     },
       
  4977     renderContent: function renderContent() {
       
  4978       return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], {
       
  4979         min: image_editor_MIN_ZOOM,
       
  4980         max: image_editor_MAX_ZOOM,
       
  4981         value: Math.round(zoom),
       
  4982         onChange: setZoom
       
  4983       });
       
  4984     }
       
  4985   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["__experimentalToolbarItem"], null, function (toggleProps) {
       
  4986     return Object(external_this_wp_element_["createElement"])(AspectMenu, {
       
  4987       toggleProps: toggleProps,
       
  4988       isDisabled: inProgress,
       
  4989       onClick: setAspect,
       
  4990       value: aspect,
       
  4991       defaultValue: naturalWidth / naturalHeight
       
  4992     });
       
  4993   })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarButton"], {
       
  4994     icon: rotate_right,
       
  4995     label: Object(external_this_wp_i18n_["__"])('Rotate'),
       
  4996     onClick: rotate,
       
  4997     disabled: inProgress
       
  4998   })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarButton"], {
       
  4999     onClick: apply,
       
  5000     disabled: inProgress
       
  5001   }, Object(external_this_wp_i18n_["__"])('Apply')), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarButton"], {
       
  5002     onClick: function onClick() {
       
  5003       return setIsEditingImage(false);
       
  5004     }
       
  5005   }, Object(external_this_wp_i18n_["__"])('Cancel')))));
       
  5006 }
       
  5007 
       
  5008 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/constants.js
       
  5009 var MIN_SIZE = 20;
       
  5010 var LINK_DESTINATION_NONE = 'none';
       
  5011 var LINK_DESTINATION_MEDIA = 'media';
       
  5012 var LINK_DESTINATION_ATTACHMENT = 'attachment';
       
  5013 var LINK_DESTINATION_CUSTOM = 'custom';
       
  5014 var NEW_TAB_REL = ['noreferrer', 'noopener'];
       
  5015 var ALLOWED_MEDIA_TYPES = ['image'];
       
  5016 var DEFAULT_SIZE_SLUG = 'large';
       
  5017 
       
  5018 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/image.js
       
  5019 
       
  5020 
       
  5021 
       
  5022 /**
       
  5023  * External dependencies
       
  5024  */
       
  5025 
       
  5026 /**
       
  5027  * WordPress dependencies
       
  5028  */
       
  5029 
       
  5030 
       
  5031 
       
  5032 
       
  5033 
       
  5034 
       
  5035 
       
  5036 
       
  5037 
       
  5038 
       
  5039 
       
  5040 /**
       
  5041  * Internal dependencies
       
  5042  */
       
  5043 
       
  5044 
       
  5045 
       
  5046 
       
  5047 
       
  5048 /**
       
  5049  * Module constants
       
  5050  */
       
  5051 
       
  5052 
       
  5053 
       
  5054 function getFilename(url) {
       
  5055   var path = Object(external_this_wp_url_["getPath"])(url);
       
  5056 
       
  5057   if (path) {
       
  5058     return Object(external_this_lodash_["last"])(path.split('/'));
       
  5059   }
       
  5060 }
       
  5061 
       
  5062 function Image(_ref) {
       
  5063   var _ref$attributes = _ref.attributes,
       
  5064       _ref$attributes$url = _ref$attributes.url,
       
  5065       url = _ref$attributes$url === void 0 ? '' : _ref$attributes$url,
       
  5066       alt = _ref$attributes.alt,
       
  5067       caption = _ref$attributes.caption,
       
  5068       align = _ref$attributes.align,
       
  5069       id = _ref$attributes.id,
       
  5070       href = _ref$attributes.href,
       
  5071       rel = _ref$attributes.rel,
       
  5072       linkClass = _ref$attributes.linkClass,
       
  5073       linkDestination = _ref$attributes.linkDestination,
       
  5074       title = _ref$attributes.title,
       
  5075       width = _ref$attributes.width,
       
  5076       height = _ref$attributes.height,
       
  5077       linkTarget = _ref$attributes.linkTarget,
       
  5078       sizeSlug = _ref$attributes.sizeSlug,
       
  5079       setAttributes = _ref.setAttributes,
       
  5080       isSelected = _ref.isSelected,
       
  5081       insertBlocksAfter = _ref.insertBlocksAfter,
       
  5082       onReplace = _ref.onReplace,
       
  5083       onSelectImage = _ref.onSelectImage,
       
  5084       onSelectURL = _ref.onSelectURL,
       
  5085       onUploadError = _ref.onUploadError,
       
  5086       containerRef = _ref.containerRef;
       
  5087   var image = Object(external_this_wp_data_["useSelect"])(function (select) {
       
  5088     var _select = select('core'),
       
  5089         getMedia = _select.getMedia;
       
  5090 
       
  5091     return id && isSelected ? getMedia(id) : null;
       
  5092   }, [id, isSelected]);
       
  5093 
       
  5094   var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) {
       
  5095     var _select2 = select('core/block-editor'),
       
  5096         getSettings = _select2.getSettings;
       
  5097 
       
  5098     return Object(external_this_lodash_["pick"])(getSettings(), ['imageEditing', 'imageSizes', 'isRTL', 'maxWidth', 'mediaUpload']);
       
  5099   }),
       
  5100       imageEditing = _useSelect.imageEditing,
       
  5101       imageSizes = _useSelect.imageSizes,
       
  5102       isRTL = _useSelect.isRTL,
       
  5103       maxWidth = _useSelect.maxWidth,
       
  5104       mediaUpload = _useSelect.mediaUpload;
       
  5105 
       
  5106   var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'),
       
  5107       toggleSelection = _useDispatch.toggleSelection;
       
  5108 
       
  5109   var _useDispatch2 = Object(external_this_wp_data_["useDispatch"])('core/notices'),
       
  5110       createErrorNotice = _useDispatch2.createErrorNotice,
       
  5111       createSuccessNotice = _useDispatch2.createSuccessNotice;
       
  5112 
       
  5113   var isLargeViewport = Object(external_this_wp_compose_["useViewportMatch"])('medium');
       
  5114 
       
  5115   var _useState = Object(external_this_wp_element_["useState"])(false),
       
  5116       _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
       
  5117       captionFocused = _useState2[0],
       
  5118       setCaptionFocused = _useState2[1];
       
  5119 
       
  5120   var isWideAligned = Object(external_this_lodash_["includes"])(['wide', 'full'], align);
       
  5121 
       
  5122   var _useState3 = Object(external_this_wp_element_["useState"])({}),
       
  5123       _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2),
       
  5124       _useState4$ = _useState4[0],
       
  5125       naturalWidth = _useState4$.naturalWidth,
       
  5126       naturalHeight = _useState4$.naturalHeight,
       
  5127       setNaturalSize = _useState4[1];
       
  5128 
       
  5129   var _useState5 = Object(external_this_wp_element_["useState"])(false),
       
  5130       _useState6 = Object(slicedToArray["a" /* default */])(_useState5, 2),
       
  5131       isEditingImage = _useState6[0],
       
  5132       setIsEditingImage = _useState6[1];
       
  5133 
       
  5134   var _useState7 = Object(external_this_wp_element_["useState"])(),
       
  5135       _useState8 = Object(slicedToArray["a" /* default */])(_useState7, 2),
       
  5136       externalBlob = _useState8[0],
       
  5137       setExternalBlob = _useState8[1];
       
  5138 
       
  5139   var clientWidth = useClientWidth(containerRef, [align]);
       
  5140   var isResizable = !isWideAligned && isLargeViewport;
       
  5141   var imageSizeOptions = Object(external_this_lodash_["map"])(Object(external_this_lodash_["filter"])(imageSizes, function (_ref2) {
       
  5142     var slug = _ref2.slug;
       
  5143     return Object(external_this_lodash_["get"])(image, ['media_details', 'sizes', slug, 'source_url']);
       
  5144   }), function (_ref3) {
       
  5145     var name = _ref3.name,
       
  5146         slug = _ref3.slug;
       
  5147     return {
       
  5148       value: slug,
       
  5149       label: name
       
  5150     };
       
  5151   });
       
  5152   Object(external_this_wp_element_["useEffect"])(function () {
       
  5153     if (!isSelected) {
       
  5154       setCaptionFocused(false);
       
  5155     }
       
  5156   }, [isSelected]); // If an image is externally hosted, try to fetch the image data. This may
       
  5157   // fail if the image host doesn't allow CORS with the domain. If it works,
       
  5158   // we can enable a button in the toolbar to upload the image.
       
  5159 
       
  5160   Object(external_this_wp_element_["useEffect"])(function () {
       
  5161     if (!edit_isExternalImage(id, url) || !isSelected || externalBlob) {
       
  5162       return;
       
  5163     }
       
  5164 
       
  5165     window.fetch(url).then(function (response) {
       
  5166       return response.blob();
       
  5167     }).then(function (blob) {
       
  5168       return setExternalBlob(blob);
       
  5169     });
       
  5170   }, [id, url, isSelected, externalBlob]);
       
  5171 
       
  5172   function onResizeStart() {
       
  5173     toggleSelection(false);
       
  5174   }
       
  5175 
       
  5176   function _onResizeStop() {
       
  5177     toggleSelection(true);
       
  5178   }
       
  5179 
       
  5180   function onImageError() {
       
  5181     // Check if there's an embed block that handles this URL.
       
  5182     var embedBlock = util_createUpgradedEmbedBlock({
       
  5183       attributes: {
       
  5184         url: url
       
  5185       }
       
  5186     });
       
  5187 
       
  5188     if (undefined !== embedBlock) {
       
  5189       onReplace(embedBlock);
       
  5190     }
       
  5191   }
       
  5192 
       
  5193   function onSetHref(props) {
       
  5194     setAttributes(props);
       
  5195   }
       
  5196 
       
  5197   function onSetTitle(value) {
       
  5198     // This is the HTML title attribute, separate from the media object
       
  5199     // title.
       
  5200     setAttributes({
       
  5201       title: value
       
  5202     });
       
  5203   }
       
  5204 
       
  5205   function onFocusCaption() {
       
  5206     if (!captionFocused) {
       
  5207       setCaptionFocused(true);
       
  5208     }
       
  5209   }
       
  5210 
       
  5211   function onImageClick() {
       
  5212     if (captionFocused) {
       
  5213       setCaptionFocused(false);
       
  5214     }
       
  5215   }
       
  5216 
       
  5217   function updateAlt(newAlt) {
       
  5218     setAttributes({
       
  5219       alt: newAlt
       
  5220     });
       
  5221   }
       
  5222 
       
  5223   function updateImage(newSizeSlug) {
       
  5224     var newUrl = Object(external_this_lodash_["get"])(image, ['media_details', 'sizes', newSizeSlug, 'source_url']);
       
  5225 
       
  5226     if (!newUrl) {
       
  5227       return null;
       
  5228     }
       
  5229 
       
  5230     setAttributes({
       
  5231       url: newUrl,
       
  5232       width: undefined,
       
  5233       height: undefined,
       
  5234       sizeSlug: newSizeSlug
       
  5235     });
       
  5236   }
       
  5237 
       
  5238   function uploadExternal() {
       
  5239     mediaUpload({
       
  5240       filesList: [externalBlob],
       
  5241       onFileChange: function onFileChange(_ref4) {
       
  5242         var _ref5 = Object(slicedToArray["a" /* default */])(_ref4, 1),
       
  5243             img = _ref5[0];
       
  5244 
       
  5245         onSelectImage(img);
       
  5246 
       
  5247         if (Object(external_this_wp_blob_["isBlobURL"])(img.url)) {
       
  5248           return;
       
  5249         }
       
  5250 
       
  5251         setExternalBlob();
       
  5252         createSuccessNotice(Object(external_this_wp_i18n_["__"])('Image uploaded.'), {
       
  5253           type: 'snackbar'
       
  5254         });
       
  5255       },
       
  5256       allowedTypes: ALLOWED_MEDIA_TYPES,
       
  5257       onError: function onError(message) {
       
  5258         createErrorNotice(message, {
       
  5259           type: 'snackbar'
       
  5260         });
       
  5261       }
       
  5262     });
       
  5263   }
       
  5264 
       
  5265   Object(external_this_wp_element_["useEffect"])(function () {
       
  5266     if (!isSelected) {
       
  5267       setIsEditingImage(false);
       
  5268     }
       
  5269   }, [isSelected]);
       
  5270   var canEditImage = id && naturalWidth && naturalHeight && imageEditing;
       
  5271   var controls = Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, !isEditingImage && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalImageURLInputUI"], {
       
  5272     url: href || '',
       
  5273     onChangeUrl: onSetHref,
       
  5274     linkDestination: linkDestination,
       
  5275     mediaUrl: image && image.source_url,
       
  5276     mediaLink: image && image.link,
       
  5277     linkTarget: linkTarget,
       
  5278     linkClass: linkClass,
       
  5279     rel: rel
       
  5280   })), canEditImage && !isEditingImage && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarButton"], {
       
  5281     onClick: function onClick() {
       
  5282       return setIsEditingImage(true);
       
  5283     },
       
  5284     icon: library_crop,
       
  5285     label: Object(external_this_wp_i18n_["__"])('Crop')
       
  5286   })), externalBlob && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarButton"], {
       
  5287     onClick: uploadExternal,
       
  5288     icon: upload["a" /* default */],
       
  5289     label: Object(external_this_wp_i18n_["__"])('Upload external image')
       
  5290   })), !isEditingImage && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaReplaceFlow"], {
       
  5291     mediaId: id,
       
  5292     mediaURL: url,
       
  5293     allowedTypes: ALLOWED_MEDIA_TYPES,
       
  5294     accept: "image/*",
       
  5295     onSelect: onSelectImage,
       
  5296     onSelectURL: onSelectURL,
       
  5297     onError: onUploadError
       
  5298   })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
  5299     title: Object(external_this_wp_i18n_["__"])('Image settings')
       
  5300   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextareaControl"], {
       
  5301     label: Object(external_this_wp_i18n_["__"])('Alt text (alternative text)'),
       
  5302     value: alt,
       
  5303     onChange: updateAlt,
       
  5304     help: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], {
       
  5305       href: "https://www.w3.org/WAI/tutorials/images/decision-tree"
       
  5306     }, Object(external_this_wp_i18n_["__"])('Describe the purpose of the image')), Object(external_this_wp_i18n_["__"])('Leave empty if the image is purely decorative.'))
       
  5307   }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalImageSizeControl"], {
       
  5308     onChangeImage: updateImage,
       
  5309     onChange: function onChange(value) {
       
  5310       return setAttributes(value);
       
  5311     },
       
  5312     slug: sizeSlug,
       
  5313     width: width,
       
  5314     height: height,
       
  5315     imageSizeOptions: imageSizeOptions,
       
  5316     isResizable: isResizable,
       
  5317     imageWidth: naturalWidth,
       
  5318     imageHeight: naturalHeight
       
  5319   }))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorAdvancedControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
       
  5320     label: Object(external_this_wp_i18n_["__"])('Title attribute'),
       
  5321     value: title || '',
       
  5322     onChange: onSetTitle,
       
  5323     help: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_i18n_["__"])('Describe the role of this image on the page.'), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], {
       
  5324       href: "https://www.w3.org/TR/html52/dom.html#the-title-attribute"
       
  5325     }, Object(external_this_wp_i18n_["__"])('(Note: many devices and browsers do not display this text.)')))
       
  5326   })));
       
  5327   var filename = getFilename(url);
       
  5328   var defaultedAlt;
       
  5329 
       
  5330   if (alt) {
       
  5331     defaultedAlt = alt;
       
  5332   } else if (filename) {
       
  5333     defaultedAlt = Object(external_this_wp_i18n_["sprintf"])(
       
  5334     /* translators: %s: file name */
       
  5335     Object(external_this_wp_i18n_["__"])('This image has an empty alt attribute; its file name is %s'), filename);
       
  5336   } else {
       
  5337     defaultedAlt = Object(external_this_wp_i18n_["__"])('This image has an empty alt attribute');
       
  5338   }
       
  5339 
       
  5340   var img = // Disable reason: Image itself is not meant to be interactive, but
       
  5341   // should direct focus to block.
       
  5342 
       
  5343   /* eslint-disable jsx-a11y/no-noninteractive-element-interactions, jsx-a11y/click-events-have-key-events */
       
  5344   Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("img", {
       
  5345     src: url,
       
  5346     alt: defaultedAlt,
       
  5347     onClick: onImageClick,
       
  5348     onError: function onError() {
       
  5349       return onImageError();
       
  5350     },
       
  5351     onLoad: function onLoad(event) {
       
  5352       setNaturalSize(Object(external_this_lodash_["pick"])(event.target, ['naturalWidth', 'naturalHeight']));
       
  5353     }
       
  5354   }), Object(external_this_wp_blob_["isBlobURL"])(url) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null))
       
  5355   /* eslint-enable jsx-a11y/no-noninteractive-element-interactions, jsx-a11y/click-events-have-key-events */
       
  5356   ;
       
  5357   var imageWidthWithinContainer;
       
  5358   var imageHeightWithinContainer;
       
  5359 
       
  5360   if (clientWidth && naturalWidth && naturalHeight) {
       
  5361     var exceedMaxWidth = naturalWidth > clientWidth;
       
  5362     var ratio = naturalHeight / naturalWidth;
       
  5363     imageWidthWithinContainer = exceedMaxWidth ? clientWidth : naturalWidth;
       
  5364     imageHeightWithinContainer = exceedMaxWidth ? clientWidth * ratio : naturalHeight;
       
  5365   }
       
  5366 
       
  5367   if (canEditImage && isEditingImage) {
       
  5368     img = Object(external_this_wp_element_["createElement"])(ImageEditor, {
       
  5369       id: id,
       
  5370       url: url,
       
  5371       setAttributes: setAttributes,
       
  5372       naturalWidth: naturalWidth,
       
  5373       naturalHeight: naturalHeight,
       
  5374       width: width,
       
  5375       height: height,
       
  5376       clientWidth: clientWidth,
       
  5377       setIsEditingImage: setIsEditingImage
       
  5378     });
       
  5379   } else if (!isResizable || !imageWidthWithinContainer) {
       
  5380     img = Object(external_this_wp_element_["createElement"])("div", {
       
  5381       style: {
       
  5382         width: width,
       
  5383         height: height
       
  5384       }
       
  5385     }, img);
       
  5386   } else {
       
  5387     var currentWidth = width || imageWidthWithinContainer;
       
  5388     var currentHeight = height || imageHeightWithinContainer;
       
  5389 
       
  5390     var _ratio = naturalWidth / naturalHeight;
       
  5391 
       
  5392     var minWidth = naturalWidth < naturalHeight ? MIN_SIZE : MIN_SIZE * _ratio;
       
  5393     var minHeight = naturalHeight < naturalWidth ? MIN_SIZE : MIN_SIZE / _ratio; // With the current implementation of ResizableBox, an image needs an
       
  5394     // explicit pixel value for the max-width. In absence of being able to
       
  5395     // set the content-width, this max-width is currently dictated by the
       
  5396     // vanilla editor style. The following variable adds a buffer to this
       
  5397     // vanilla style, so 3rd party themes have some wiggleroom. This does,
       
  5398     // in most cases, allow you to scale the image beyond the width of the
       
  5399     // main column, though not infinitely.
       
  5400     // @todo It would be good to revisit this once a content-width variable
       
  5401     // becomes available.
       
  5402 
       
  5403     var maxWidthBuffer = maxWidth * 2.5;
       
  5404     var showRightHandle = false;
       
  5405     var showLeftHandle = false;
       
  5406     /* eslint-disable no-lonely-if */
       
  5407     // See https://github.com/WordPress/gutenberg/issues/7584.
       
  5408 
       
  5409     if (align === 'center') {
       
  5410       // When the image is centered, show both handles.
       
  5411       showRightHandle = true;
       
  5412       showLeftHandle = true;
       
  5413     } else if (isRTL) {
       
  5414       // In RTL mode the image is on the right by default.
       
  5415       // Show the right handle and hide the left handle only when it is
       
  5416       // aligned left. Otherwise always show the left handle.
       
  5417       if (align === 'left') {
       
  5418         showRightHandle = true;
       
  5419       } else {
       
  5420         showLeftHandle = true;
       
  5421       }
       
  5422     } else {
       
  5423       // Show the left handle and hide the right handle only when the
       
  5424       // image is aligned right. Otherwise always show the right handle.
       
  5425       if (align === 'right') {
       
  5426         showLeftHandle = true;
       
  5427       } else {
       
  5428         showRightHandle = true;
       
  5429       }
       
  5430     }
       
  5431     /* eslint-enable no-lonely-if */
       
  5432 
       
  5433 
       
  5434     img = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ResizableBox"], {
       
  5435       size: {
       
  5436         width: width,
       
  5437         height: height
       
  5438       },
       
  5439       showHandle: isSelected,
       
  5440       minWidth: minWidth,
       
  5441       maxWidth: maxWidthBuffer,
       
  5442       minHeight: minHeight,
       
  5443       maxHeight: maxWidthBuffer / _ratio,
       
  5444       lockAspectRatio: true,
       
  5445       enable: {
       
  5446         top: false,
       
  5447         right: showRightHandle,
       
  5448         bottom: true,
       
  5449         left: showLeftHandle
       
  5450       },
       
  5451       onResizeStart: onResizeStart,
       
  5452       onResizeStop: function onResizeStop(event, direction, elt, delta) {
       
  5453         _onResizeStop();
       
  5454 
       
  5455         setAttributes({
       
  5456           width: parseInt(currentWidth + delta.width, 10),
       
  5457           height: parseInt(currentHeight + delta.height, 10)
       
  5458         });
       
  5459       }
       
  5460     }, img);
       
  5461   }
       
  5462 
       
  5463   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, controls, img, (!external_this_wp_blockEditor_["RichText"].isEmpty(caption) || isSelected) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
  5464     tagName: "figcaption",
       
  5465     placeholder: Object(external_this_wp_i18n_["__"])('Write caption…'),
       
  5466     value: caption,
       
  5467     unstableOnFocus: onFocusCaption,
       
  5468     onChange: function onChange(value) {
       
  5469       return setAttributes({
       
  5470         caption: value
       
  5471       });
       
  5472     },
       
  5473     isSelected: captionFocused,
       
  5474     inlineToolbar: true,
       
  5475     __unstableOnSplitAtEnd: function __unstableOnSplitAtEnd() {
       
  5476       return insertBlocksAfter(Object(external_this_wp_blocks_["createBlock"])('core/paragraph'));
       
  5477     }
       
  5478   }));
       
  5479 }
       
  5480 
       
  5481 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/edit.js
       
  5482 
       
  5483 
       
  5484 
       
  5485 
       
  5486 function image_edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
  5487 
       
  5488 function image_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { image_edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { image_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
  5489 
       
  5490 /**
       
  5491  * External dependencies
       
  5492  */
       
  5493 
       
  5494 
       
  5495 /**
       
  5496  * WordPress dependencies
       
  5497  */
       
  5498 
       
  5499 
       
  5500 
       
  5501 
       
  5502 
       
  5503 
       
  5504 
       
  5505 
       
  5506 /**
       
  5507  * Internal dependencies
       
  5508  */
       
  5509 
       
  5510 
       
  5511 /**
       
  5512  * Module constants
       
  5513  */
       
  5514 
       
  5515 
       
  5516 var edit_pickRelevantMediaFiles = function pickRelevantMediaFiles(image) {
       
  5517   var imageProps = Object(external_this_lodash_["pick"])(image, ['alt', 'id', 'link', 'caption']);
       
  5518   imageProps.url = Object(external_this_lodash_["get"])(image, ['sizes', 'large', 'url']) || Object(external_this_lodash_["get"])(image, ['media_details', 'sizes', 'large', 'source_url']) || image.url;
       
  5519   return imageProps;
       
  5520 };
       
  5521 /**
       
  5522  * Is the URL a temporary blob URL? A blob URL is one that is used temporarily
       
  5523  * while the image is being uploaded and will not have an id yet allocated.
       
  5524  *
       
  5525  * @param {number=} id The id of the image.
       
  5526  * @param {string=} url The url of the image.
       
  5527  *
       
  5528  * @return {boolean} Is the URL a Blob URL
       
  5529  */
       
  5530 
       
  5531 var edit_isTemporaryImage = function isTemporaryImage(id, url) {
       
  5532   return !id && Object(external_this_wp_blob_["isBlobURL"])(url);
       
  5533 };
       
  5534 /**
       
  5535  * Is the url for the image hosted externally. An externally hosted image has no
       
  5536  * id and is not a blob url.
       
  5537  *
       
  5538  * @param {number=} id  The id of the image.
       
  5539  * @param {string=} url The url of the image.
       
  5540  *
       
  5541  * @return {boolean} Is the url an externally hosted url?
       
  5542  */
       
  5543 
       
  5544 
       
  5545 var edit_isExternalImage = function isExternalImage(id, url) {
       
  5546   return url && !id && !Object(external_this_wp_blob_["isBlobURL"])(url);
       
  5547 };
       
  5548 function ImageEdit(_ref) {
       
  5549   var attributes = _ref.attributes,
       
  5550       setAttributes = _ref.setAttributes,
       
  5551       isSelected = _ref.isSelected,
       
  5552       className = _ref.className,
       
  5553       noticeUI = _ref.noticeUI,
       
  5554       insertBlocksAfter = _ref.insertBlocksAfter,
       
  5555       noticeOperations = _ref.noticeOperations,
       
  5556       onReplace = _ref.onReplace;
       
  5557   var _attributes$url = attributes.url,
       
  5558       url = _attributes$url === void 0 ? '' : _attributes$url,
       
  5559       alt = attributes.alt,
       
  5560       caption = attributes.caption,
       
  5561       align = attributes.align,
       
  5562       id = attributes.id,
       
  5563       linkDestination = attributes.linkDestination,
       
  5564       width = attributes.width,
       
  5565       height = attributes.height,
       
  5566       sizeSlug = attributes.sizeSlug;
       
  5567   var ref = Object(external_this_wp_element_["useRef"])();
       
  5568   var mediaUpload = Object(external_this_wp_data_["useSelect"])(function (select) {
       
  5569     var _select = select('core/block-editor'),
       
  5570         getSettings = _select.getSettings;
       
  5571 
       
  5572     return getSettings().mediaUpload;
       
  5573   });
       
  5574 
       
  5575   function onUploadError(message) {
       
  5576     noticeOperations.removeAllNotices();
       
  5577     noticeOperations.createErrorNotice(message);
       
  5578   }
       
  5579 
       
  5580   function onSelectImage(media) {
       
  5581     if (!media || !media.url) {
       
  5582       setAttributes({
       
  5583         url: undefined,
       
  5584         alt: undefined,
       
  5585         id: undefined,
       
  5586         title: undefined,
       
  5587         caption: undefined
       
  5588       });
       
  5589       return;
       
  5590     }
       
  5591 
       
  5592     var mediaAttributes = edit_pickRelevantMediaFiles(media); // If the current image is temporary but an alt text was meanwhile
       
  5593     // written by the user, make sure the text is not overwritten.
       
  5594 
       
  5595     if (edit_isTemporaryImage(id, url)) {
       
  5596       if (alt) {
       
  5597         mediaAttributes = Object(external_this_lodash_["omit"])(mediaAttributes, ['alt']);
       
  5598       }
       
  5599     } // If a caption text was meanwhile written by the user,
       
  5600     // make sure the text is not overwritten by empty captions.
       
  5601 
       
  5602 
       
  5603     if (caption && !Object(external_this_lodash_["get"])(mediaAttributes, ['caption'])) {
       
  5604       mediaAttributes = Object(external_this_lodash_["omit"])(mediaAttributes, ['caption']);
       
  5605     }
       
  5606 
       
  5607     var additionalAttributes; // Reset the dimension attributes if changing to a different image.
       
  5608 
       
  5609     if (!media.id || media.id !== id) {
       
  5610       additionalAttributes = {
       
  5611         width: undefined,
       
  5612         height: undefined,
       
  5613         sizeSlug: DEFAULT_SIZE_SLUG
       
  5614       };
       
  5615     } else {
       
  5616       // Keep the same url when selecting the same file, so "Image Size"
       
  5617       // option is not changed.
       
  5618       additionalAttributes = {
       
  5619         url: url
       
  5620       };
       
  5621     } // Check if the image is linked to it's media.
       
  5622 
       
  5623 
       
  5624     if (linkDestination === LINK_DESTINATION_MEDIA) {
       
  5625       // Update the media link.
       
  5626       mediaAttributes.href = media.url;
       
  5627     } // Check if the image is linked to the attachment page.
       
  5628 
       
  5629 
       
  5630     if (linkDestination === LINK_DESTINATION_ATTACHMENT) {
       
  5631       // Update the media link.
       
  5632       mediaAttributes.href = media.link;
       
  5633     }
       
  5634 
       
  5635     setAttributes(image_edit_objectSpread({}, mediaAttributes, {}, additionalAttributes));
       
  5636   }
       
  5637 
       
  5638   function onSelectURL(newURL) {
       
  5639     if (newURL !== url) {
       
  5640       setAttributes({
       
  5641         url: newURL,
       
  5642         id: undefined,
       
  5643         sizeSlug: DEFAULT_SIZE_SLUG
       
  5644       });
       
  5645     }
       
  5646   }
       
  5647 
       
  5648   function updateAlignment(nextAlign) {
       
  5649     var extraUpdatedAttributes = ['wide', 'full'].includes(nextAlign) ? {
       
  5650       width: undefined,
       
  5651       height: undefined
       
  5652     } : {};
       
  5653     setAttributes(image_edit_objectSpread({}, extraUpdatedAttributes, {
       
  5654       align: nextAlign
       
  5655     }));
       
  5656   }
       
  5657 
       
  5658   var isTemp = edit_isTemporaryImage(id, url); // Upload a temporary image on mount.
       
  5659 
       
  5660   Object(external_this_wp_element_["useEffect"])(function () {
       
  5661     if (!isTemp) {
       
  5662       return;
       
  5663     }
       
  5664 
       
  5665     var file = Object(external_this_wp_blob_["getBlobByURL"])(url);
       
  5666 
       
  5667     if (file) {
       
  5668       mediaUpload({
       
  5669         filesList: [file],
       
  5670         onFileChange: function onFileChange(_ref2) {
       
  5671           var _ref3 = Object(slicedToArray["a" /* default */])(_ref2, 1),
       
  5672               img = _ref3[0];
       
  5673 
       
  5674           onSelectImage(img);
       
  5675         },
       
  5676         allowedTypes: ALLOWED_MEDIA_TYPES,
       
  5677         onError: function onError(message) {
       
  5678           noticeOperations.createErrorNotice(message);
       
  5679         }
       
  5680       });
       
  5681     }
       
  5682   }, []); // If an image is temporary, revoke the Blob url when it is uploaded (and is
       
  5683   // no longer temporary).
       
  5684 
       
  5685   Object(external_this_wp_element_["useEffect"])(function () {
       
  5686     if (!isTemp) {
       
  5687       return;
       
  5688     }
       
  5689 
       
  5690     return function () {
       
  5691       Object(external_this_wp_blob_["revokeBlobURL"])(url);
       
  5692     };
       
  5693   }, [isTemp]);
       
  5694   var isExternal = edit_isExternalImage(id, url);
       
  5695   var controls = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockAlignmentToolbar"], {
       
  5696     value: align,
       
  5697     onChange: updateAlignment
       
  5698   }));
       
  5699   var src = isExternal ? url : undefined;
       
  5700   var mediaPreview = !!url && Object(external_this_wp_element_["createElement"])("img", {
       
  5701     alt: Object(external_this_wp_i18n_["__"])('Edit image'),
       
  5702     title: Object(external_this_wp_i18n_["__"])('Edit image'),
       
  5703     className: 'edit-image-preview',
       
  5704     src: url
       
  5705   });
       
  5706   var mediaPlaceholder = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaPlaceholder"], {
       
  5707     icon: Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], {
       
  5708       icon: library_image
       
  5709     }),
       
  5710     onSelect: onSelectImage,
       
  5711     onSelectURL: onSelectURL,
       
  5712     notices: noticeUI,
       
  5713     onError: onUploadError,
       
  5714     accept: "image/*",
       
  5715     allowedTypes: ALLOWED_MEDIA_TYPES,
       
  5716     value: {
       
  5717       id: id,
       
  5718       src: src
       
  5719     },
       
  5720     mediaPreview: mediaPreview,
       
  5721     disableMediaButtons: url
       
  5722   });
       
  5723   var classes = classnames_default()(className, Object(defineProperty["a" /* default */])({
       
  5724     'is-transient': Object(external_this_wp_blob_["isBlobURL"])(url),
       
  5725     'is-resized': !!width || !!height,
       
  5726     'is-focused': isSelected
       
  5727   }, "size-".concat(sizeSlug), sizeSlug)); // Focussing the image caption after inserting an image relies on the
       
  5728   // component remounting. This needs to be fixed.
       
  5729 
       
  5730   var key = !!url;
       
  5731   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, controls, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalBlock"].figure, {
       
  5732     ref: ref,
       
  5733     className: classes,
       
  5734     key: key
       
  5735   }, url && Object(external_this_wp_element_["createElement"])(Image, {
       
  5736     attributes: attributes,
       
  5737     setAttributes: setAttributes,
       
  5738     isSelected: isSelected,
       
  5739     insertBlocksAfter: insertBlocksAfter,
       
  5740     onReplace: onReplace,
       
  5741     onSelectImage: onSelectImage,
       
  5742     onSelectURL: onSelectURL,
       
  5743     onUploadError: onUploadError,
       
  5744     containerRef: ref
       
  5745   }), mediaPlaceholder));
       
  5746 }
       
  5747 /* harmony default export */ var image_edit = (Object(external_this_wp_components_["withNotices"])(ImageEdit));
       
  5748 
       
  5749 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/save.js
       
  5750 
       
  5751 
       
  5752 
       
  5753 /**
       
  5754  * External dependencies
       
  5755  */
       
  5756 
       
  5757 
       
  5758 /**
       
  5759  * WordPress dependencies
       
  5760  */
       
  5761 
       
  5762 
       
  5763 function image_save_save(_ref) {
       
  5764   var _classnames;
       
  5765 
       
  5766   var attributes = _ref.attributes;
       
  5767   var url = attributes.url,
       
  5768       alt = attributes.alt,
       
  5769       caption = attributes.caption,
       
  5770       align = attributes.align,
       
  5771       href = attributes.href,
       
  5772       rel = attributes.rel,
       
  5773       linkClass = attributes.linkClass,
       
  5774       width = attributes.width,
       
  5775       height = attributes.height,
       
  5776       id = attributes.id,
       
  5777       linkTarget = attributes.linkTarget,
       
  5778       sizeSlug = attributes.sizeSlug,
       
  5779       title = attributes.title;
       
  5780   var newRel = Object(external_this_lodash_["isEmpty"])(rel) ? undefined : rel;
       
  5781   var classes = classnames_default()((_classnames = {}, Object(defineProperty["a" /* default */])(_classnames, "align".concat(align), align), Object(defineProperty["a" /* default */])(_classnames, "size-".concat(sizeSlug), sizeSlug), Object(defineProperty["a" /* default */])(_classnames, 'is-resized', width || height), _classnames));
       
  5782   var image = Object(external_this_wp_element_["createElement"])("img", {
       
  5783     src: url,
       
  5784     alt: alt,
       
  5785     className: id ? "wp-image-".concat(id) : null,
       
  5786     width: width,
       
  5787     height: height,
       
  5788     title: title
       
  5789   });
       
  5790   var figure = Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, href ? Object(external_this_wp_element_["createElement"])("a", {
       
  5791     className: linkClass,
       
  5792     href: href,
       
  5793     target: linkTarget,
       
  5794     rel: newRel
       
  5795   }, image) : image, !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  5796     tagName: "figcaption",
       
  5797     value: caption
       
  5798   }));
       
  5799 
       
  5800   if ('left' === align || 'right' === align || 'center' === align) {
       
  5801     return Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_element_["createElement"])("figure", {
       
  5802       className: classes
       
  5803     }, figure));
       
  5804   }
       
  5805 
       
  5806   return Object(external_this_wp_element_["createElement"])("figure", {
       
  5807     className: classes
       
  5808   }, figure);
       
  5809 }
       
  5810 
       
  5811 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/transforms.js
       
  5812 
       
  5813 
       
  5814 function transforms_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
  5815 
       
  5816 function transforms_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { transforms_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { transforms_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
  5817 
       
  5818 /**
       
  5819  * WordPress dependencies
       
  5820  */
       
  5821 
       
  5822 
       
  5823 function stripFirstImage(attributes, _ref) {
       
  5824   var shortcode = _ref.shortcode;
       
  5825 
       
  5826   var _document$implementat = document.implementation.createHTMLDocument(''),
       
  5827       body = _document$implementat.body;
       
  5828 
       
  5829   body.innerHTML = shortcode.content;
       
  5830   var nodeToRemove = body.querySelector('img'); // if an image has parents, find the topmost node to remove
       
  5831 
       
  5832   while (nodeToRemove && nodeToRemove.parentNode && nodeToRemove.parentNode !== body) {
       
  5833     nodeToRemove = nodeToRemove.parentNode;
       
  5834   }
       
  5835 
       
  5836   if (nodeToRemove) {
       
  5837     nodeToRemove.parentNode.removeChild(nodeToRemove);
       
  5838   }
       
  5839 
       
  5840   return body.innerHTML.trim();
       
  5841 }
       
  5842 
       
  5843 function getFirstAnchorAttributeFormHTML(html, attributeName) {
       
  5844   var _document$implementat2 = document.implementation.createHTMLDocument(''),
       
  5845       body = _document$implementat2.body;
       
  5846 
       
  5847   body.innerHTML = html;
       
  5848   var firstElementChild = body.firstElementChild;
       
  5849 
       
  5850   if (firstElementChild && firstElementChild.nodeName === 'A') {
       
  5851     return firstElementChild.getAttribute(attributeName) || undefined;
       
  5852   }
       
  5853 }
       
  5854 
       
  5855 var imageSchema = {
       
  5856   img: {
       
  5857     attributes: ['src', 'alt', 'title'],
       
  5858     classes: ['alignleft', 'aligncenter', 'alignright', 'alignnone', /^wp-image-\d+$/]
       
  5859   }
       
  5860 };
       
  5861 
       
  5862 var schema = function schema(_ref2) {
       
  5863   var phrasingContentSchema = _ref2.phrasingContentSchema;
       
  5864   return {
       
  5865     figure: {
       
  5866       require: ['img'],
       
  5867       children: transforms_objectSpread({}, imageSchema, {
       
  5868         a: {
       
  5869           attributes: ['href', 'rel', 'target'],
       
  5870           children: imageSchema
       
  5871         },
       
  5872         figcaption: {
       
  5873           children: phrasingContentSchema
       
  5874         }
       
  5875       })
       
  5876     }
       
  5877   };
       
  5878 };
       
  5879 
       
  5880 var image_transforms_transforms = {
       
  5881   from: [{
       
  5882     type: 'raw',
       
  5883     isMatch: function isMatch(node) {
       
  5884       return node.nodeName === 'FIGURE' && !!node.querySelector('img');
       
  5885     },
       
  5886     schema: schema,
       
  5887     transform: function transform(node) {
       
  5888       // Search both figure and image classes. Alignment could be
       
  5889       // set on either. ID is set on the image.
       
  5890       var className = node.className + ' ' + node.querySelector('img').className;
       
  5891       var alignMatches = /(?:^|\s)align(left|center|right)(?:$|\s)/.exec(className);
       
  5892       var anchor = node.id === '' ? undefined : node.id;
       
  5893       var align = alignMatches ? alignMatches[1] : undefined;
       
  5894       var idMatches = /(?:^|\s)wp-image-(\d+)(?:$|\s)/.exec(className);
       
  5895       var id = idMatches ? Number(idMatches[1]) : undefined;
       
  5896       var anchorElement = node.querySelector('a');
       
  5897       var linkDestination = anchorElement && anchorElement.href ? 'custom' : undefined;
       
  5898       var href = anchorElement && anchorElement.href ? anchorElement.href : undefined;
       
  5899       var rel = anchorElement && anchorElement.rel ? anchorElement.rel : undefined;
       
  5900       var linkClass = anchorElement && anchorElement.className ? anchorElement.className : undefined;
       
  5901       var attributes = Object(external_this_wp_blocks_["getBlockAttributes"])('core/image', node.outerHTML, {
       
  5902         align: align,
       
  5903         id: id,
       
  5904         linkDestination: linkDestination,
       
  5905         href: href,
       
  5906         rel: rel,
       
  5907         linkClass: linkClass,
       
  5908         anchor: anchor
       
  5909       });
       
  5910       return Object(external_this_wp_blocks_["createBlock"])('core/image', attributes);
       
  5911     }
       
  5912   }, {
       
  5913     type: 'files',
       
  5914     isMatch: function isMatch(files) {
       
  5915       return files.length === 1 && files[0].type.indexOf('image/') === 0;
       
  5916     },
       
  5917     transform: function transform(files) {
       
  5918       var file = files[0]; // We don't need to upload the media directly here
       
  5919       // It's already done as part of the `componentDidMount`
       
  5920       // int the image block
       
  5921 
       
  5922       return Object(external_this_wp_blocks_["createBlock"])('core/image', {
       
  5923         url: Object(external_this_wp_blob_["createBlobURL"])(file)
       
  5924       });
       
  5925     }
       
  5926   }, {
       
  5927     type: 'shortcode',
       
  5928     tag: 'caption',
       
  5929     attributes: {
       
  5930       url: {
       
  5931         type: 'string',
       
  5932         source: 'attribute',
       
  5933         attribute: 'src',
       
  5934         selector: 'img'
       
  5935       },
       
  5936       alt: {
       
  5937         type: 'string',
       
  5938         source: 'attribute',
       
  5939         attribute: 'alt',
       
  5940         selector: 'img'
       
  5941       },
       
  5942       caption: {
       
  5943         shortcode: stripFirstImage
       
  5944       },
       
  5945       href: {
       
  5946         shortcode: function shortcode(attributes, _ref3) {
       
  5947           var _shortcode = _ref3.shortcode;
       
  5948           return getFirstAnchorAttributeFormHTML(_shortcode.content, 'href');
       
  5949         }
       
  5950       },
       
  5951       rel: {
       
  5952         shortcode: function shortcode(attributes, _ref4) {
       
  5953           var _shortcode2 = _ref4.shortcode;
       
  5954           return getFirstAnchorAttributeFormHTML(_shortcode2.content, 'rel');
       
  5955         }
       
  5956       },
       
  5957       linkClass: {
       
  5958         shortcode: function shortcode(attributes, _ref5) {
       
  5959           var _shortcode3 = _ref5.shortcode;
       
  5960           return getFirstAnchorAttributeFormHTML(_shortcode3.content, 'class');
       
  5961         }
       
  5962       },
       
  5963       id: {
       
  5964         type: 'number',
       
  5965         shortcode: function shortcode(_ref6) {
       
  5966           var id = _ref6.named.id;
       
  5967 
       
  5968           if (!id) {
       
  5969             return;
       
  5970           }
       
  5971 
       
  5972           return parseInt(id.replace('attachment_', ''), 10);
       
  5973         }
       
  5974       },
       
  5975       align: {
       
  5976         type: 'string',
       
  5977         shortcode: function shortcode(_ref7) {
       
  5978           var _ref7$named$align = _ref7.named.align,
       
  5979               align = _ref7$named$align === void 0 ? 'alignnone' : _ref7$named$align;
       
  5980           return align.replace('align', '');
       
  5981         }
       
  5982       }
       
  5983     }
       
  5984   }]
       
  5985 };
       
  5986 /* harmony default export */ var image_transforms = (image_transforms_transforms);
       
  5987 
       
  5988 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/index.js
       
  5989 /**
       
  5990  * WordPress dependencies
       
  5991  */
       
  5992 
       
  5993 
       
  5994 /**
       
  5995  * Internal dependencies
       
  5996  */
       
  5997 
       
  5998 
       
  5999 
       
  6000 var image_metadata = {
       
  6001   name: "core/image",
       
  6002   category: "media",
       
  6003   attributes: {
       
  6004     align: {
       
  6005       type: "string"
       
  6006     },
       
  6007     url: {
       
  6008       type: "string",
       
  6009       source: "attribute",
       
  6010       selector: "img",
       
  6011       attribute: "src"
       
  6012     },
       
  6013     alt: {
       
  6014       type: "string",
       
  6015       source: "attribute",
       
  6016       selector: "img",
       
  6017       attribute: "alt",
       
  6018       "default": ""
       
  6019     },
       
  6020     caption: {
       
  6021       type: "string",
       
  6022       source: "html",
       
  6023       selector: "figcaption"
       
  6024     },
       
  6025     title: {
       
  6026       type: "string",
       
  6027       source: "attribute",
       
  6028       selector: "img",
       
  6029       attribute: "title"
       
  6030     },
       
  6031     href: {
       
  6032       type: "string",
       
  6033       source: "attribute",
       
  6034       selector: "figure > a",
       
  6035       attribute: "href"
       
  6036     },
       
  6037     rel: {
       
  6038       type: "string",
       
  6039       source: "attribute",
       
  6040       selector: "figure > a",
       
  6041       attribute: "rel"
       
  6042     },
       
  6043     linkClass: {
       
  6044       type: "string",
       
  6045       source: "attribute",
       
  6046       selector: "figure > a",
       
  6047       attribute: "class"
       
  6048     },
       
  6049     id: {
       
  6050       type: "number"
       
  6051     },
       
  6052     width: {
       
  6053       type: "number"
       
  6054     },
       
  6055     height: {
       
  6056       type: "number"
       
  6057     },
       
  6058     sizeSlug: {
       
  6059       type: "string"
       
  6060     },
       
  6061     linkDestination: {
       
  6062       type: "string",
       
  6063       "default": "none"
       
  6064     },
       
  6065     linkTarget: {
       
  6066       type: "string",
       
  6067       source: "attribute",
       
  6068       selector: "figure > a",
       
  6069       attribute: "target"
       
  6070     }
       
  6071   },
       
  6072   supports: {
       
  6073     anchor: true,
       
  6074     lightBlockWrapper: true
       
  6075   }
       
  6076 };
       
  6077 
       
  6078 
       
  6079 var image_name = image_metadata.name;
       
  6080 
       
  6081 var image_settings = {
       
  6082   title: Object(external_this_wp_i18n_["__"])('Image'),
       
  6083   description: Object(external_this_wp_i18n_["__"])('Insert an image to make a visual statement.'),
       
  6084   icon: library_image,
       
  6085   keywords: ['img', // "img" is not translated as it is intended to reflect the HTML <img> tag.
       
  6086   Object(external_this_wp_i18n_["__"])('photo')],
       
  6087   example: {
       
  6088     attributes: {
       
  6089       sizeSlug: 'large',
       
  6090       url: 'https://s.w.org/images/core/5.3/MtBlanc1.jpg',
       
  6091       // translators: Caption accompanying an image of the Mont Blanc, which serves as an example for the Image block.
       
  6092       caption: Object(external_this_wp_i18n_["__"])('Mont Blanc appears—still, snowy, and serene.')
       
  6093     }
       
  6094   },
       
  6095   styles: [{
       
  6096     name: 'default',
       
  6097     label: Object(external_this_wp_i18n_["_x"])('Default', 'block style'),
       
  6098     isDefault: true
       
  6099   }, {
       
  6100     name: 'rounded',
       
  6101     label: Object(external_this_wp_i18n_["_x"])('Rounded', 'block style')
       
  6102   }],
       
  6103   __experimentalLabel: function __experimentalLabel(attributes, _ref) {
       
  6104     var context = _ref.context;
       
  6105 
       
  6106     if (context === 'accessibility') {
       
  6107       var caption = attributes.caption,
       
  6108           alt = attributes.alt,
       
  6109           url = attributes.url;
       
  6110 
       
  6111       if (!url) {
       
  6112         return Object(external_this_wp_i18n_["__"])('Empty');
       
  6113       }
       
  6114 
       
  6115       if (!alt) {
       
  6116         return caption || '';
       
  6117       } // This is intended to be read by a screen reader.
       
  6118       // A period simply means a pause, no need to translate it.
       
  6119 
       
  6120 
       
  6121       return alt + (caption ? '. ' + caption : '');
       
  6122     }
       
  6123   },
       
  6124   getEditWrapperProps: function getEditWrapperProps(attributes) {
       
  6125     return {
       
  6126       'data-align': attributes.align
       
  6127     };
       
  6128   },
       
  6129   transforms: image_transforms,
       
  6130   edit: image_edit,
       
  6131   save: image_save_save,
       
  6132   deprecated: image_deprecated
       
  6133 };
       
  6134 
       
  6135 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/heading.js
       
  6136 
       
  6137 
       
  6138 /**
       
  6139  * WordPress dependencies
       
  6140  */
       
  6141 
       
  6142 var heading = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
  6143   xmlns: "http://www.w3.org/2000/svg",
       
  6144   viewBox: "0 0 24 24"
       
  6145 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
  6146   d: "M6.2 5.2v13.4l5.8-4.8 5.8 4.8V5.2z"
       
  6147 }));
       
  6148 /* harmony default export */ var library_heading = (heading);
       
  6149 
       
  6150 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/deprecated.js
       
  6151 
       
  6152 
       
  6153 
       
  6154 function deprecated_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
  6155 
       
  6156 function deprecated_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { deprecated_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { deprecated_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
  6157 
       
  6158 /**
       
  6159  * External dependencies
       
  6160  */
       
  6161 
       
  6162 
       
  6163 /**
       
  6164  * WordPress dependencies
       
  6165  */
       
  6166 
       
  6167 
       
  6168 var blockSupports = {
       
  6169   className: false,
       
  6170   anchor: true
       
  6171 };
       
  6172 var heading_deprecated_blockAttributes = {
       
  6173   align: {
       
  6174     type: 'string'
       
  6175   },
       
  6176   content: {
       
  6177     type: 'string',
       
  6178     source: 'html',
       
  6179     selector: 'h1,h2,h3,h4,h5,h6',
       
  6180     default: ''
       
  6181   },
       
  6182   level: {
       
  6183     type: 'number',
       
  6184     default: 2
       
  6185   },
       
  6186   placeholder: {
       
  6187     type: 'string'
       
  6188   }
       
  6189 };
       
  6190 
       
  6191 var deprecated_migrateCustomColors = function migrateCustomColors(attributes) {
       
  6192   if (!attributes.customTextColor) {
       
  6193     return attributes;
       
  6194   }
       
  6195 
       
  6196   var style = {
       
  6197     color: {
       
  6198       text: attributes.customTextColor
       
  6199     }
       
  6200   };
       
  6201   return deprecated_objectSpread({}, Object(external_this_lodash_["omit"])(attributes, ['customTextColor']), {
       
  6202     style: style
       
  6203   });
       
  6204 };
       
  6205 
       
  6206 var heading_deprecated_deprecated = [{
       
  6207   supports: blockSupports,
       
  6208   attributes: deprecated_objectSpread({}, heading_deprecated_blockAttributes, {
       
  6209     customTextColor: {
       
  6210       type: 'string'
       
  6211     },
       
  6212     textColor: {
       
  6213       type: 'string'
       
  6214     }
       
  6215   }),
       
  6216   migrate: deprecated_migrateCustomColors,
       
  6217   save: function save(_ref) {
       
  6218     var _classnames;
       
  6219 
       
  6220     var attributes = _ref.attributes;
       
  6221     var align = attributes.align,
       
  6222         content = attributes.content,
       
  6223         customTextColor = attributes.customTextColor,
       
  6224         level = attributes.level,
       
  6225         textColor = attributes.textColor;
       
  6226     var tagName = 'h' + level;
       
  6227     var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
       
  6228     var className = classnames_default()((_classnames = {}, Object(defineProperty["a" /* default */])(_classnames, textClass, textClass), Object(defineProperty["a" /* default */])(_classnames, 'has-text-color', textColor || customTextColor), Object(defineProperty["a" /* default */])(_classnames, "has-text-align-".concat(align), align), _classnames));
       
  6229     return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  6230       className: className ? className : undefined,
       
  6231       tagName: tagName,
       
  6232       style: {
       
  6233         color: textClass ? undefined : customTextColor
       
  6234       },
       
  6235       value: content
       
  6236     });
       
  6237   }
       
  6238 }, {
       
  6239   attributes: deprecated_objectSpread({}, heading_deprecated_blockAttributes, {
       
  6240     customTextColor: {
       
  6241       type: 'string'
       
  6242     },
       
  6243     textColor: {
       
  6244       type: 'string'
       
  6245     }
       
  6246   }),
       
  6247   migrate: deprecated_migrateCustomColors,
       
  6248   save: function save(_ref2) {
       
  6249     var _classnames2;
       
  6250 
       
  6251     var attributes = _ref2.attributes;
       
  6252     var align = attributes.align,
       
  6253         content = attributes.content,
       
  6254         customTextColor = attributes.customTextColor,
       
  6255         level = attributes.level,
       
  6256         textColor = attributes.textColor;
       
  6257     var tagName = 'h' + level;
       
  6258     var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
       
  6259     var className = classnames_default()((_classnames2 = {}, Object(defineProperty["a" /* default */])(_classnames2, textClass, textClass), Object(defineProperty["a" /* default */])(_classnames2, "has-text-align-".concat(align), align), _classnames2));
       
  6260     return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  6261       className: className ? className : undefined,
       
  6262       tagName: tagName,
       
  6263       style: {
       
  6264         color: textClass ? undefined : customTextColor
       
  6265       },
       
  6266       value: content
       
  6267     });
       
  6268   },
       
  6269   supports: blockSupports
       
  6270 }, {
       
  6271   supports: blockSupports,
       
  6272   attributes: deprecated_objectSpread({}, heading_deprecated_blockAttributes, {
       
  6273     customTextColor: {
       
  6274       type: 'string'
       
  6275     },
       
  6276     textColor: {
       
  6277       type: 'string'
       
  6278     }
       
  6279   }),
       
  6280   migrate: deprecated_migrateCustomColors,
       
  6281   save: function save(_ref3) {
       
  6282     var attributes = _ref3.attributes;
       
  6283     var align = attributes.align,
       
  6284         level = attributes.level,
       
  6285         content = attributes.content,
       
  6286         textColor = attributes.textColor,
       
  6287         customTextColor = attributes.customTextColor;
       
  6288     var tagName = 'h' + level;
       
  6289     var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
       
  6290     var className = classnames_default()(Object(defineProperty["a" /* default */])({}, textClass, textClass));
       
  6291     return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  6292       className: className ? className : undefined,
       
  6293       tagName: tagName,
       
  6294       style: {
       
  6295         textAlign: align,
       
  6296         color: textClass ? undefined : customTextColor
       
  6297       },
       
  6298       value: content
       
  6299     });
       
  6300   }
       
  6301 }];
       
  6302 /* harmony default export */ var heading_deprecated = (heading_deprecated_deprecated);
       
  6303 
       
  6304 // EXTERNAL MODULE: external {"this":["wp","keycodes"]}
       
  6305 var external_this_wp_keycodes_ = __webpack_require__(21);
       
  6306 
       
  6307 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/heading-level-icon.js
       
  6308 
       
  6309 
       
  6310 /**
       
  6311  * WordPress dependencies
       
  6312  */
       
  6313 
       
  6314 /** @typedef {import('@wordpress/element').WPComponent} WPComponent */
       
  6315 
       
  6316 /**
       
  6317  * HeadingLevelIcon props.
       
  6318  *
       
  6319  * @typedef WPHeadingLevelIconProps
       
  6320  *
       
  6321  * @property {number}   level     The heading level to show an icon for.
       
  6322  * @property {?boolean} isPressed Whether or not the icon should appear pressed; default: false.
       
  6323  */
       
  6324 
       
  6325 /**
       
  6326  * Heading level icon.
       
  6327  *
       
  6328  * @param {WPHeadingLevelIconProps} props Component props.
       
  6329  *
       
  6330  * @return {?WPComponent} The icon.
       
  6331  */
       
  6332 
       
  6333 function HeadingLevelIcon(_ref) {
       
  6334   var level = _ref.level,
       
  6335       _ref$isPressed = _ref.isPressed,
       
  6336       isPressed = _ref$isPressed === void 0 ? false : _ref$isPressed;
       
  6337   var levelToPath = {
       
  6338     1: 'M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z',
       
  6339     2: 'M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z',
       
  6340     3: 'M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z',
       
  6341     4: 'M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z',
       
  6342     5: 'M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z',
       
  6343     6: 'M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z'
       
  6344   };
       
  6345 
       
  6346   if (!levelToPath.hasOwnProperty(level)) {
       
  6347     return null;
       
  6348   }
       
  6349 
       
  6350   return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
  6351     width: "24",
       
  6352     height: "24",
       
  6353     viewBox: "0 0 20 20",
       
  6354     xmlns: "http://www.w3.org/2000/svg",
       
  6355     isPressed: isPressed
       
  6356   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
  6357     d: levelToPath[level]
       
  6358   }));
       
  6359 }
       
  6360 
       
  6361 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/heading-level-dropdown.js
       
  6362 
       
  6363 
       
  6364 /**
       
  6365  * WordPress dependencies
       
  6366  */
       
  6367 
       
  6368 
       
  6369 
       
  6370 /**
       
  6371  * Internal dependencies
       
  6372  */
       
  6373 
       
  6374 
       
  6375 var HEADING_LEVELS = [1, 2, 3, 4, 5, 6];
       
  6376 var heading_level_dropdown_POPOVER_PROPS = {
       
  6377   className: 'block-library-heading-level-dropdown',
       
  6378   isAlternate: true
       
  6379 };
       
  6380 /** @typedef {import('@wordpress/element').WPComponent} WPComponent */
       
  6381 
       
  6382 /**
       
  6383  * HeadingLevelDropdown props.
       
  6384  *
       
  6385  * @typedef WPHeadingLevelDropdownProps
       
  6386  *
       
  6387  * @property {number}                 selectedLevel The chosen heading level.
       
  6388  * @property {(newValue:number)=>any} onChange      Callback to run when
       
  6389  *                                                  toolbar value is changed.
       
  6390  */
       
  6391 
       
  6392 /**
       
  6393  * Dropdown for selecting a heading level (1 through 6).
       
  6394  *
       
  6395  * @param {WPHeadingLevelDropdownProps} props Component props.
       
  6396  *
       
  6397  * @return {WPComponent} The toolbar.
       
  6398  */
       
  6399 
       
  6400 function HeadingLevelDropdown(_ref) {
       
  6401   var selectedLevel = _ref.selectedLevel,
       
  6402       onChange = _ref.onChange;
       
  6403   return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dropdown"], {
       
  6404     popoverProps: heading_level_dropdown_POPOVER_PROPS,
       
  6405     renderToggle: function renderToggle(_ref2) {
       
  6406       var onToggle = _ref2.onToggle,
       
  6407           isOpen = _ref2.isOpen;
       
  6408 
       
  6409       var openOnArrowDown = function openOnArrowDown(event) {
       
  6410         if (!isOpen && event.keyCode === external_this_wp_keycodes_["DOWN"]) {
       
  6411           event.preventDefault();
       
  6412           event.stopPropagation();
       
  6413           onToggle();
       
  6414         }
       
  6415       };
       
  6416 
       
  6417       return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarButton"], {
       
  6418         "aria-expanded": isOpen,
       
  6419         "aria-haspopup": "true",
       
  6420         icon: Object(external_this_wp_element_["createElement"])(HeadingLevelIcon, {
       
  6421           level: selectedLevel
       
  6422         }),
       
  6423         label: Object(external_this_wp_i18n_["__"])('Change heading level'),
       
  6424         onClick: onToggle,
       
  6425         onKeyDown: openOnArrowDown,
       
  6426         showTooltip: true
       
  6427       });
       
  6428     },
       
  6429     renderContent: function renderContent() {
       
  6430       return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], {
       
  6431         className: "block-library-heading-level-toolbar",
       
  6432         __experimentalAccessibilityLabel: Object(external_this_wp_i18n_["__"])('Change heading level')
       
  6433       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], {
       
  6434         isCollapsed: false,
       
  6435         controls: HEADING_LEVELS.map(function (targetLevel) {
       
  6436           var isActive = targetLevel === selectedLevel;
       
  6437           return {
       
  6438             icon: Object(external_this_wp_element_["createElement"])(HeadingLevelIcon, {
       
  6439               level: targetLevel,
       
  6440               isPressed: isActive
       
  6441             }),
       
  6442             title: Object(external_this_wp_i18n_["sprintf"])( // translators: %s: heading level e.g: "1", "2", "3"
       
  6443             Object(external_this_wp_i18n_["__"])('Heading %d'), targetLevel),
       
  6444             isActive: isActive,
       
  6445             onClick: function onClick() {
       
  6446               onChange(targetLevel);
       
  6447             }
       
  6448           };
       
  6449         })
       
  6450       }));
       
  6451     }
       
  6452   });
       
  6453 }
       
  6454 
       
  6455 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/edit.js
       
  6456 
       
  6457 
       
  6458 
       
  6459 function heading_edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
  6460 
       
  6461 function heading_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { heading_edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { heading_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
  6462 
       
  6463 /**
       
  6464  * External dependencies
       
  6465  */
       
  6466 
       
  6467 /**
       
  6468  * WordPress dependencies
       
  6469  */
       
  6470 
       
  6471 
       
  6472 
       
  6473 
       
  6474 
       
  6475 /**
       
  6476  * Internal dependencies
       
  6477  */
       
  6478 
       
  6479 
       
  6480 
       
  6481 function HeadingEdit(_ref) {
       
  6482   var attributes = _ref.attributes,
       
  6483       setAttributes = _ref.setAttributes,
       
  6484       mergeBlocks = _ref.mergeBlocks,
       
  6485       onReplace = _ref.onReplace,
       
  6486       mergedStyle = _ref.mergedStyle;
       
  6487   var align = attributes.align,
       
  6488       content = attributes.content,
       
  6489       level = attributes.level,
       
  6490       placeholder = attributes.placeholder;
       
  6491   var tagName = 'h' + level;
       
  6492   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(HeadingLevelDropdown, {
       
  6493     selectedLevel: level,
       
  6494     onChange: function onChange(newLevel) {
       
  6495       return setAttributes({
       
  6496         level: newLevel
       
  6497       });
       
  6498     }
       
  6499   })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["AlignmentToolbar"], {
       
  6500     value: align,
       
  6501     onChange: function onChange(nextAlign) {
       
  6502       setAttributes({
       
  6503         align: nextAlign
       
  6504       });
       
  6505     }
       
  6506   })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
  6507     identifier: "content",
       
  6508     tagName: external_this_wp_blockEditor_["__experimentalBlock"][tagName],
       
  6509     value: content,
       
  6510     onChange: function onChange(value) {
       
  6511       return setAttributes({
       
  6512         content: value
       
  6513       });
       
  6514     },
       
  6515     onMerge: mergeBlocks,
       
  6516     onSplit: function onSplit(value) {
       
  6517       if (!value) {
       
  6518         return Object(external_this_wp_blocks_["createBlock"])('core/paragraph');
       
  6519       }
       
  6520 
       
  6521       return Object(external_this_wp_blocks_["createBlock"])('core/heading', heading_edit_objectSpread({}, attributes, {
       
  6522         content: value
       
  6523       }));
       
  6524     },
       
  6525     onReplace: onReplace,
       
  6526     onRemove: function onRemove() {
       
  6527       return onReplace([]);
       
  6528     },
       
  6529     className: classnames_default()(Object(defineProperty["a" /* default */])({}, "has-text-align-".concat(align), align)),
       
  6530     placeholder: placeholder || Object(external_this_wp_i18n_["__"])('Write heading…'),
       
  6531     textAlign: align,
       
  6532     style: mergedStyle
       
  6533   }));
       
  6534 }
       
  6535 
       
  6536 /* harmony default export */ var heading_edit = (HeadingEdit);
       
  6537 
       
  6538 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/save.js
       
  6539 
       
  6540 
       
  6541 
       
  6542 /**
       
  6543  * External dependencies
       
  6544  */
       
  6545 
       
  6546 /**
       
  6547  * WordPress dependencies
       
  6548  */
       
  6549 
       
  6550 
       
  6551 function heading_save_save(_ref) {
       
  6552   var attributes = _ref.attributes;
       
  6553   var align = attributes.align,
       
  6554       content = attributes.content,
       
  6555       level = attributes.level;
       
  6556   var tagName = 'h' + level;
       
  6557   var className = classnames_default()(Object(defineProperty["a" /* default */])({}, "has-text-align-".concat(align), align));
       
  6558   return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  6559     className: className ? className : undefined,
       
  6560     tagName: tagName,
       
  6561     value: content
       
  6562   });
       
  6563 }
       
  6564 
       
  6565 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/shared.js
       
  6566 /**
       
  6567  * Given a node name string for a heading node, returns its numeric level.
       
  6568  *
       
  6569  * @param {string} nodeName Heading node name.
       
  6570  *
       
  6571  * @return {number} Heading level.
       
  6572  */
       
  6573 function getLevelFromHeadingNodeName(nodeName) {
       
  6574   return Number(nodeName.substr(1));
       
  6575 }
       
  6576 
       
  6577 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/transforms.js
       
  6578 
       
  6579 
       
  6580 /**
       
  6581  * WordPress dependencies
       
  6582  */
       
  6583 
       
  6584 /**
       
  6585  * Internal dependencies
       
  6586  */
       
  6587 
       
  6588 
       
  6589 var transforms_name$category$attrib = {
       
  6590   name: "core/heading",
       
  6591   category: "text",
       
  6592   attributes: {
       
  6593     align: {
       
  6594       type: "string"
       
  6595     },
       
  6596     content: {
       
  6597       type: "string",
       
  6598       source: "html",
       
  6599       selector: "h1,h2,h3,h4,h5,h6",
       
  6600       "default": ""
       
  6601     },
       
  6602     level: {
       
  6603       type: "number",
       
  6604       "default": 2
       
  6605     },
       
  6606     placeholder: {
       
  6607       type: "string"
       
  6608     }
       
  6609   },
       
  6610   supports: {
       
  6611     anchor: true,
       
  6612     className: false,
       
  6613     lightBlockWrapper: true,
       
  6614     __experimentalColor: {
       
  6615       linkColor: true
       
  6616     },
       
  6617     __experimentalFontSize: true,
       
  6618     __experimentalLineHeight: true,
       
  6619     __experimentalSelector: {
       
  6620       "core/heading/h1": "h1",
       
  6621       "core/heading/h2": "h2",
       
  6622       "core/heading/h3": "h3",
       
  6623       "core/heading/h4": "h4",
       
  6624       "core/heading/h5": "h5",
       
  6625       "core/heading/h6": "h6"
       
  6626     },
       
  6627     __unstablePasteTextInline: true
       
  6628   }
       
  6629 },
       
  6630     heading_transforms_name = transforms_name$category$attrib.name;
       
  6631 var heading_transforms_transforms = {
       
  6632   from: [{
       
  6633     type: 'block',
       
  6634     blocks: ['core/paragraph'],
       
  6635     transform: function transform(_ref) {
       
  6636       var content = _ref.content,
       
  6637           anchor = _ref.anchor;
       
  6638       return Object(external_this_wp_blocks_["createBlock"])(heading_transforms_name, {
       
  6639         content: content,
       
  6640         anchor: anchor
       
  6641       });
       
  6642     }
       
  6643   }, {
       
  6644     type: 'raw',
       
  6645     selector: 'h1,h2,h3,h4,h5,h6',
       
  6646     schema: function schema(_ref2) {
       
  6647       var phrasingContentSchema = _ref2.phrasingContentSchema,
       
  6648           isPaste = _ref2.isPaste;
       
  6649       var schema = {
       
  6650         children: phrasingContentSchema,
       
  6651         attributes: isPaste ? [] : ['style', 'id']
       
  6652       };
       
  6653       return {
       
  6654         h1: schema,
       
  6655         h2: schema,
       
  6656         h3: schema,
       
  6657         h4: schema,
       
  6658         h5: schema,
       
  6659         h6: schema
       
  6660       };
       
  6661     },
       
  6662     transform: function transform(node) {
       
  6663       var attributes = Object(external_this_wp_blocks_["getBlockAttributes"])(heading_transforms_name, node.outerHTML);
       
  6664 
       
  6665       var _ref3 = node.style || {},
       
  6666           textAlign = _ref3.textAlign;
       
  6667 
       
  6668       attributes.level = getLevelFromHeadingNodeName(node.nodeName);
       
  6669 
       
  6670       if (textAlign === 'left' || textAlign === 'center' || textAlign === 'right') {
       
  6671         attributes.align = textAlign;
       
  6672       }
       
  6673 
       
  6674       return Object(external_this_wp_blocks_["createBlock"])(heading_transforms_name, attributes);
       
  6675     }
       
  6676   }].concat(Object(toConsumableArray["a" /* default */])([2, 3, 4, 5, 6].map(function (level) {
       
  6677     return {
       
  6678       type: 'prefix',
       
  6679       prefix: Array(level + 1).join('#'),
       
  6680       transform: function transform(content) {
       
  6681         return Object(external_this_wp_blocks_["createBlock"])(heading_transforms_name, {
       
  6682           level: level,
       
  6683           content: content
       
  6684         });
       
  6685       }
       
  6686     };
       
  6687   }))),
       
  6688   to: [{
       
  6689     type: 'block',
       
  6690     blocks: ['core/paragraph'],
       
  6691     transform: function transform(_ref4) {
       
  6692       var content = _ref4.content,
       
  6693           anchor = _ref4.anchor;
       
  6694       return Object(external_this_wp_blocks_["createBlock"])('core/paragraph', {
       
  6695         content: content,
       
  6696         anchor: anchor
       
  6697       });
       
  6698     }
       
  6699   }]
       
  6700 };
       
  6701 /* harmony default export */ var heading_transforms = (heading_transforms_transforms);
       
  6702 
       
  6703 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/index.js
       
  6704 /**
       
  6705  * External dependencies
       
  6706  */
       
  6707 
       
  6708 /**
       
  6709  * WordPress dependencies
       
  6710  */
       
  6711 
       
  6712 
       
  6713 
       
  6714 /**
       
  6715  * Internal dependencies
       
  6716  */
       
  6717 
       
  6718 
       
  6719 
       
  6720 var heading_metadata = {
       
  6721   name: "core/heading",
       
  6722   category: "text",
       
  6723   attributes: {
       
  6724     align: {
       
  6725       type: "string"
       
  6726     },
       
  6727     content: {
       
  6728       type: "string",
       
  6729       source: "html",
       
  6730       selector: "h1,h2,h3,h4,h5,h6",
       
  6731       "default": ""
       
  6732     },
       
  6733     level: {
       
  6734       type: "number",
       
  6735       "default": 2
       
  6736     },
       
  6737     placeholder: {
       
  6738       type: "string"
       
  6739     }
       
  6740   },
       
  6741   supports: {
       
  6742     anchor: true,
       
  6743     className: false,
       
  6744     lightBlockWrapper: true,
       
  6745     __experimentalColor: {
       
  6746       linkColor: true
       
  6747     },
       
  6748     __experimentalFontSize: true,
       
  6749     __experimentalLineHeight: true,
       
  6750     __experimentalSelector: {
       
  6751       "core/heading/h1": "h1",
       
  6752       "core/heading/h2": "h2",
       
  6753       "core/heading/h3": "h3",
       
  6754       "core/heading/h4": "h4",
       
  6755       "core/heading/h5": "h5",
       
  6756       "core/heading/h6": "h6"
       
  6757     },
       
  6758     __unstablePasteTextInline: true
       
  6759   }
       
  6760 };
       
  6761 
       
  6762 
       
  6763 var heading_name = heading_metadata.name;
       
  6764 
       
  6765 var heading_settings = {
       
  6766   title: Object(external_this_wp_i18n_["__"])('Heading'),
       
  6767   description: Object(external_this_wp_i18n_["__"])('Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.'),
       
  6768   icon: library_heading,
       
  6769   keywords: [Object(external_this_wp_i18n_["__"])('title'), Object(external_this_wp_i18n_["__"])('subtitle')],
       
  6770   example: {
       
  6771     attributes: {
       
  6772       content: Object(external_this_wp_i18n_["__"])('Code is Poetry'),
       
  6773       level: 2
       
  6774     }
       
  6775   },
       
  6776   __experimentalLabel: function __experimentalLabel(attributes, _ref) {
       
  6777     var context = _ref.context;
       
  6778 
       
  6779     if (context === 'accessibility') {
       
  6780       var content = attributes.content,
       
  6781           level = attributes.level;
       
  6782       return Object(external_this_lodash_["isEmpty"])(content) ? Object(external_this_wp_i18n_["sprintf"])(
       
  6783       /* translators: accessibility text. %s: heading level. */
       
  6784       Object(external_this_wp_i18n_["__"])('Level %s. Empty.'), level) : Object(external_this_wp_i18n_["sprintf"])(
       
  6785       /* translators: accessibility text. 1: heading level. 2: heading content. */
       
  6786       Object(external_this_wp_i18n_["__"])('Level %1$s. %2$s'), level, content);
       
  6787     }
       
  6788   },
       
  6789   transforms: heading_transforms,
       
  6790   deprecated: heading_deprecated,
       
  6791   merge: function merge(attributes, attributesToMerge) {
       
  6792     return {
       
  6793       content: (attributes.content || '') + (attributesToMerge.content || '')
       
  6794     };
       
  6795   },
       
  6796   edit: heading_edit,
       
  6797   save: heading_save_save
       
  6798 };
       
  6799 
       
  6800 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/quote.js
       
  6801 
       
  6802 
       
  6803 /**
       
  6804  * WordPress dependencies
       
  6805  */
       
  6806 
       
  6807 var quote = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
  6808   viewBox: "0 0 24 24",
       
  6809   xmlns: "http://www.w3.org/2000/svg"
       
  6810 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
  6811   d: "M13 6v6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H13zm-9 6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H4v6z"
       
  6812 }));
       
  6813 /* harmony default export */ var library_quote = (quote);
       
  6814 
       
  6815 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/quote/deprecated.js
       
  6816 
       
  6817 
       
  6818 
       
  6819 function quote_deprecated_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
  6820 
       
  6821 function quote_deprecated_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { quote_deprecated_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { quote_deprecated_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
  6822 
       
  6823 /**
       
  6824  * External dependencies
       
  6825  */
       
  6826 
       
  6827 /**
       
  6828  * WordPress dependencies
       
  6829  */
       
  6830 
       
  6831 
       
  6832 var quote_deprecated_blockAttributes = {
       
  6833   value: {
       
  6834     type: 'string',
       
  6835     source: 'html',
       
  6836     selector: 'blockquote',
       
  6837     multiline: 'p',
       
  6838     default: ''
       
  6839   },
       
  6840   citation: {
       
  6841     type: 'string',
       
  6842     source: 'html',
       
  6843     selector: 'cite',
       
  6844     default: ''
       
  6845   },
       
  6846   align: {
       
  6847     type: 'string'
       
  6848   }
       
  6849 };
       
  6850 var quote_deprecated_deprecated = [{
       
  6851   attributes: quote_deprecated_blockAttributes,
       
  6852   save: function save(_ref) {
       
  6853     var attributes = _ref.attributes;
       
  6854     var align = attributes.align,
       
  6855         value = attributes.value,
       
  6856         citation = attributes.citation;
       
  6857     return Object(external_this_wp_element_["createElement"])("blockquote", {
       
  6858       style: {
       
  6859         textAlign: align ? align : null
       
  6860       }
       
  6861     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  6862       multiline: true,
       
  6863       value: value
       
  6864     }), !external_this_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  6865       tagName: "cite",
       
  6866       value: citation
       
  6867     }));
       
  6868   }
       
  6869 }, {
       
  6870   attributes: quote_deprecated_objectSpread({}, quote_deprecated_blockAttributes, {
       
  6871     style: {
       
  6872       type: 'number',
       
  6873       default: 1
       
  6874     }
       
  6875   }),
       
  6876   migrate: function migrate(attributes) {
       
  6877     if (attributes.style === 2) {
       
  6878       return quote_deprecated_objectSpread({}, Object(external_this_lodash_["omit"])(attributes, ['style']), {
       
  6879         className: attributes.className ? attributes.className + ' is-style-large' : 'is-style-large'
       
  6880       });
       
  6881     }
       
  6882 
       
  6883     return attributes;
       
  6884   },
       
  6885   save: function save(_ref2) {
       
  6886     var attributes = _ref2.attributes;
       
  6887     var align = attributes.align,
       
  6888         value = attributes.value,
       
  6889         citation = attributes.citation,
       
  6890         style = attributes.style;
       
  6891     return Object(external_this_wp_element_["createElement"])("blockquote", {
       
  6892       className: style === 2 ? 'is-large' : '',
       
  6893       style: {
       
  6894         textAlign: align ? align : null
       
  6895       }
       
  6896     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  6897       multiline: true,
       
  6898       value: value
       
  6899     }), !external_this_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  6900       tagName: "cite",
       
  6901       value: citation
       
  6902     }));
       
  6903   }
       
  6904 }, {
       
  6905   attributes: quote_deprecated_objectSpread({}, quote_deprecated_blockAttributes, {
       
  6906     citation: {
       
  6907       type: 'string',
       
  6908       source: 'html',
       
  6909       selector: 'footer',
       
  6910       default: ''
       
  6911     },
       
  6912     style: {
       
  6913       type: 'number',
       
  6914       default: 1
       
  6915     }
       
  6916   }),
       
  6917   save: function save(_ref3) {
       
  6918     var attributes = _ref3.attributes;
       
  6919     var align = attributes.align,
       
  6920         value = attributes.value,
       
  6921         citation = attributes.citation,
       
  6922         style = attributes.style;
       
  6923     return Object(external_this_wp_element_["createElement"])("blockquote", {
       
  6924       className: "blocks-quote-style-".concat(style),
       
  6925       style: {
       
  6926         textAlign: align ? align : null
       
  6927       }
       
  6928     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  6929       multiline: true,
       
  6930       value: value
       
  6931     }), !external_this_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  6932       tagName: "footer",
       
  6933       value: citation
       
  6934     }));
       
  6935   }
       
  6936 }];
       
  6937 /* harmony default export */ var quote_deprecated = (quote_deprecated_deprecated);
       
  6938 
       
  6939 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/quote/edit.js
       
  6940 
       
  6941 
       
  6942 
       
  6943 function quote_edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
  6944 
       
  6945 function quote_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { quote_edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { quote_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
  6946 
       
  6947 /**
       
  6948  * External dependencies
       
  6949  */
       
  6950 
       
  6951 /**
       
  6952  * WordPress dependencies
       
  6953  */
       
  6954 
       
  6955 
       
  6956 
       
  6957 
       
  6958 
       
  6959 function QuoteEdit(_ref) {
       
  6960   var attributes = _ref.attributes,
       
  6961       setAttributes = _ref.setAttributes,
       
  6962       isSelected = _ref.isSelected,
       
  6963       mergeBlocks = _ref.mergeBlocks,
       
  6964       onReplace = _ref.onReplace,
       
  6965       className = _ref.className,
       
  6966       insertBlocksAfter = _ref.insertBlocksAfter;
       
  6967   var align = attributes.align,
       
  6968       value = attributes.value,
       
  6969       citation = attributes.citation;
       
  6970   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["AlignmentToolbar"], {
       
  6971     value: align,
       
  6972     onChange: function onChange(nextAlign) {
       
  6973       setAttributes({
       
  6974         align: nextAlign
       
  6975       });
       
  6976     }
       
  6977   })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BlockQuotation"], {
       
  6978     className: classnames_default()(className, Object(defineProperty["a" /* default */])({}, "has-text-align-".concat(align), align))
       
  6979   }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
  6980     identifier: "value",
       
  6981     multiline: true,
       
  6982     value: value,
       
  6983     onChange: function onChange(nextValue) {
       
  6984       return setAttributes({
       
  6985         value: nextValue
       
  6986       });
       
  6987     },
       
  6988     onMerge: mergeBlocks,
       
  6989     onRemove: function onRemove(forward) {
       
  6990       var hasEmptyCitation = !citation || citation.length === 0;
       
  6991 
       
  6992       if (!forward && hasEmptyCitation) {
       
  6993         onReplace([]);
       
  6994       }
       
  6995     },
       
  6996     placeholder: // translators: placeholder text used for the quote
       
  6997     Object(external_this_wp_i18n_["__"])('Write quote…'),
       
  6998     onReplace: onReplace,
       
  6999     onSplit: function onSplit(piece) {
       
  7000       return Object(external_this_wp_blocks_["createBlock"])('core/quote', quote_edit_objectSpread({}, attributes, {
       
  7001         value: piece
       
  7002       }));
       
  7003     },
       
  7004     __unstableOnSplitMiddle: function __unstableOnSplitMiddle() {
       
  7005       return Object(external_this_wp_blocks_["createBlock"])('core/paragraph');
       
  7006     },
       
  7007     textAlign: align
       
  7008   }), (!external_this_wp_blockEditor_["RichText"].isEmpty(citation) || isSelected) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
  7009     identifier: "citation",
       
  7010     value: citation,
       
  7011     onChange: function onChange(nextCitation) {
       
  7012       return setAttributes({
       
  7013         citation: nextCitation
       
  7014       });
       
  7015     },
       
  7016     __unstableMobileNoFocusOnMount: true,
       
  7017     placeholder: // translators: placeholder text used for the citation
       
  7018     Object(external_this_wp_i18n_["__"])('Write citation…'),
       
  7019     className: "wp-block-quote__citation",
       
  7020     textAlign: align,
       
  7021     __unstableOnSplitAtEnd: function __unstableOnSplitAtEnd() {
       
  7022       return insertBlocksAfter(Object(external_this_wp_blocks_["createBlock"])('core/paragraph'));
       
  7023     }
       
  7024   })));
       
  7025 }
       
  7026 
       
  7027 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/quote/save.js
       
  7028 
       
  7029 
       
  7030 
       
  7031 /**
       
  7032  * External dependencies
       
  7033  */
       
  7034 
       
  7035 /**
       
  7036  * WordPress dependencies
       
  7037  */
       
  7038 
       
  7039 
       
  7040 function quote_save_save(_ref) {
       
  7041   var attributes = _ref.attributes;
       
  7042   var align = attributes.align,
       
  7043       value = attributes.value,
       
  7044       citation = attributes.citation;
       
  7045   var className = classnames_default()(Object(defineProperty["a" /* default */])({}, "has-text-align-".concat(align), align));
       
  7046   return Object(external_this_wp_element_["createElement"])("blockquote", {
       
  7047     className: className
       
  7048   }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  7049     multiline: true,
       
  7050     value: value
       
  7051   }), !external_this_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  7052     tagName: "cite",
       
  7053     value: citation
       
  7054   }));
       
  7055 }
       
  7056 
       
  7057 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
       
  7058 var objectWithoutProperties = __webpack_require__(15);
       
  7059 
       
  7060 // EXTERNAL MODULE: external {"this":["wp","richText"]}
       
  7061 var external_this_wp_richText_ = __webpack_require__(25);
       
  7062 
       
  7063 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/quote/transforms.js
       
  7064 
       
  7065 
       
  7066 
       
  7067 
       
  7068 function quote_transforms_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
  7069 
       
  7070 function quote_transforms_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { quote_transforms_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { quote_transforms_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
  7071 
       
  7072 /**
       
  7073  * WordPress dependencies
       
  7074  */
       
  7075 
       
  7076 
       
  7077 var quote_transforms_transforms = {
       
  7078   from: [{
       
  7079     type: 'block',
       
  7080     isMultiBlock: true,
       
  7081     blocks: ['core/paragraph'],
       
  7082     transform: function transform(attributes) {
       
  7083       return Object(external_this_wp_blocks_["createBlock"])('core/quote', {
       
  7084         value: Object(external_this_wp_richText_["toHTMLString"])({
       
  7085           value: Object(external_this_wp_richText_["join"])(attributes.map(function (_ref) {
       
  7086             var content = _ref.content;
       
  7087             return Object(external_this_wp_richText_["create"])({
       
  7088               html: content
       
  7089             });
       
  7090           }), "\u2028"),
       
  7091           multilineTag: 'p'
       
  7092         }),
       
  7093         anchor: attributes.anchor
       
  7094       });
       
  7095     }
       
  7096   }, {
       
  7097     type: 'block',
       
  7098     blocks: ['core/heading'],
       
  7099     transform: function transform(_ref2) {
       
  7100       var content = _ref2.content,
       
  7101           anchor = _ref2.anchor;
       
  7102       return Object(external_this_wp_blocks_["createBlock"])('core/quote', {
       
  7103         value: "<p>".concat(content, "</p>"),
       
  7104         anchor: anchor
       
  7105       });
       
  7106     }
       
  7107   }, {
       
  7108     type: 'block',
       
  7109     blocks: ['core/pullquote'],
       
  7110     transform: function transform(_ref3) {
       
  7111       var value = _ref3.value,
       
  7112           citation = _ref3.citation,
       
  7113           anchor = _ref3.anchor;
       
  7114       return Object(external_this_wp_blocks_["createBlock"])('core/quote', {
       
  7115         value: value,
       
  7116         citation: citation,
       
  7117         anchor: anchor
       
  7118       });
       
  7119     }
       
  7120   }, {
       
  7121     type: 'prefix',
       
  7122     prefix: '>',
       
  7123     transform: function transform(content) {
       
  7124       return Object(external_this_wp_blocks_["createBlock"])('core/quote', {
       
  7125         value: "<p>".concat(content, "</p>")
       
  7126       });
       
  7127     }
       
  7128   }, {
       
  7129     type: 'raw',
       
  7130     isMatch: function isMatch(node) {
       
  7131       var isParagraphOrSingleCite = function () {
       
  7132         var hasCitation = false;
       
  7133         return function (child) {
       
  7134           // Child is a paragraph.
       
  7135           if (child.nodeName === 'P') {
       
  7136             return true;
       
  7137           } // Child is a cite and no other cite child exists before it.
       
  7138 
       
  7139 
       
  7140           if (!hasCitation && child.nodeName === 'CITE') {
       
  7141             hasCitation = true;
       
  7142             return true;
       
  7143           }
       
  7144         };
       
  7145       }();
       
  7146 
       
  7147       return node.nodeName === 'BLOCKQUOTE' && // The quote block can only handle multiline paragraph
       
  7148       // content with an optional cite child.
       
  7149       Array.from(node.childNodes).every(isParagraphOrSingleCite);
       
  7150     },
       
  7151     schema: function schema(_ref4) {
       
  7152       var phrasingContentSchema = _ref4.phrasingContentSchema;
       
  7153       return {
       
  7154         blockquote: {
       
  7155           children: {
       
  7156             p: {
       
  7157               children: phrasingContentSchema
       
  7158             },
       
  7159             cite: {
       
  7160               children: phrasingContentSchema
       
  7161             }
       
  7162           }
       
  7163         }
       
  7164       };
       
  7165     }
       
  7166   }],
       
  7167   to: [{
       
  7168     type: 'block',
       
  7169     blocks: ['core/paragraph'],
       
  7170     transform: function transform(_ref5) {
       
  7171       var value = _ref5.value,
       
  7172           citation = _ref5.citation;
       
  7173       var paragraphs = [];
       
  7174 
       
  7175       if (value && value !== '<p></p>') {
       
  7176         paragraphs.push.apply(paragraphs, Object(toConsumableArray["a" /* default */])(Object(external_this_wp_richText_["split"])(Object(external_this_wp_richText_["create"])({
       
  7177           html: value,
       
  7178           multilineTag: 'p'
       
  7179         }), "\u2028").map(function (piece) {
       
  7180           return Object(external_this_wp_blocks_["createBlock"])('core/paragraph', {
       
  7181             content: Object(external_this_wp_richText_["toHTMLString"])({
       
  7182               value: piece
       
  7183             })
       
  7184           });
       
  7185         })));
       
  7186       }
       
  7187 
       
  7188       if (citation && citation !== '<p></p>') {
       
  7189         paragraphs.push(Object(external_this_wp_blocks_["createBlock"])('core/paragraph', {
       
  7190           content: citation
       
  7191         }));
       
  7192       }
       
  7193 
       
  7194       if (paragraphs.length === 0) {
       
  7195         return Object(external_this_wp_blocks_["createBlock"])('core/paragraph', {
       
  7196           content: ''
       
  7197         });
       
  7198       }
       
  7199 
       
  7200       return paragraphs;
       
  7201     }
       
  7202   }, {
       
  7203     type: 'block',
       
  7204     blocks: ['core/heading'],
       
  7205     transform: function transform(_ref6) {
       
  7206       var value = _ref6.value,
       
  7207           citation = _ref6.citation,
       
  7208           attrs = Object(objectWithoutProperties["a" /* default */])(_ref6, ["value", "citation"]);
       
  7209 
       
  7210       // If there is no quote content, use the citation as the
       
  7211       // content of the resulting heading. A nonexistent citation
       
  7212       // will result in an empty heading.
       
  7213       if (value === '<p></p>') {
       
  7214         return Object(external_this_wp_blocks_["createBlock"])('core/heading', {
       
  7215           content: citation
       
  7216         });
       
  7217       }
       
  7218 
       
  7219       var pieces = Object(external_this_wp_richText_["split"])(Object(external_this_wp_richText_["create"])({
       
  7220         html: value,
       
  7221         multilineTag: 'p'
       
  7222       }), "\u2028");
       
  7223       var headingBlock = Object(external_this_wp_blocks_["createBlock"])('core/heading', {
       
  7224         content: Object(external_this_wp_richText_["toHTMLString"])({
       
  7225           value: pieces[0]
       
  7226         })
       
  7227       });
       
  7228 
       
  7229       if (!citation && pieces.length === 1) {
       
  7230         return headingBlock;
       
  7231       }
       
  7232 
       
  7233       var quotePieces = pieces.slice(1);
       
  7234       var quoteBlock = Object(external_this_wp_blocks_["createBlock"])('core/quote', quote_transforms_objectSpread({}, attrs, {
       
  7235         citation: citation,
       
  7236         value: Object(external_this_wp_richText_["toHTMLString"])({
       
  7237           value: quotePieces.length ? Object(external_this_wp_richText_["join"])(pieces.slice(1), "\u2028") : Object(external_this_wp_richText_["create"])(),
       
  7238           multilineTag: 'p'
       
  7239         })
       
  7240       }));
       
  7241       return [headingBlock, quoteBlock];
       
  7242     }
       
  7243   }, {
       
  7244     type: 'block',
       
  7245     blocks: ['core/pullquote'],
       
  7246     transform: function transform(_ref7) {
       
  7247       var value = _ref7.value,
       
  7248           citation = _ref7.citation,
       
  7249           anchor = _ref7.anchor;
       
  7250       return Object(external_this_wp_blocks_["createBlock"])('core/pullquote', {
       
  7251         value: value,
       
  7252         citation: citation,
       
  7253         anchor: anchor
       
  7254       });
       
  7255     }
       
  7256   }]
       
  7257 };
       
  7258 /* harmony default export */ var quote_transforms = (quote_transforms_transforms);
       
  7259 
       
  7260 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/quote/index.js
       
  7261 
       
  7262 
       
  7263 function quote_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
  7264 
       
  7265 function quote_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { quote_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { quote_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
  7266 
       
  7267 /**
       
  7268  * WordPress dependencies
       
  7269  */
       
  7270 
       
  7271 
       
  7272 /**
       
  7273  * Internal dependencies
       
  7274  */
       
  7275 
       
  7276 
       
  7277 
       
  7278 var quote_metadata = {
       
  7279   name: "core/quote",
       
  7280   category: "text",
       
  7281   attributes: {
       
  7282     value: {
       
  7283       type: "string",
       
  7284       source: "html",
       
  7285       selector: "blockquote",
       
  7286       multiline: "p",
       
  7287       "default": ""
       
  7288     },
       
  7289     citation: {
       
  7290       type: "string",
       
  7291       source: "html",
       
  7292       selector: "cite",
       
  7293       "default": ""
       
  7294     },
       
  7295     align: {
       
  7296       type: "string"
       
  7297     }
       
  7298   },
       
  7299   supports: {
       
  7300     anchor: true
       
  7301   }
       
  7302 };
       
  7303 
       
  7304 
       
  7305 var quote_name = quote_metadata.name;
       
  7306 
       
  7307 var quote_settings = {
       
  7308   title: Object(external_this_wp_i18n_["__"])('Quote'),
       
  7309   description: Object(external_this_wp_i18n_["__"])('Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar'),
       
  7310   icon: library_quote,
       
  7311   keywords: [Object(external_this_wp_i18n_["__"])('blockquote'), Object(external_this_wp_i18n_["__"])('cite')],
       
  7312   example: {
       
  7313     attributes: {
       
  7314       value: '<p>' + Object(external_this_wp_i18n_["__"])('In quoting others, we cite ourselves.') + '</p>',
       
  7315       citation: 'Julio Cortázar',
       
  7316       className: 'is-style-large'
       
  7317     }
       
  7318   },
       
  7319   styles: [{
       
  7320     name: 'default',
       
  7321     label: Object(external_this_wp_i18n_["_x"])('Default', 'block style'),
       
  7322     isDefault: true
       
  7323   }, {
       
  7324     name: 'large',
       
  7325     label: Object(external_this_wp_i18n_["_x"])('Large', 'block style')
       
  7326   }],
       
  7327   transforms: quote_transforms,
       
  7328   edit: QuoteEdit,
       
  7329   save: quote_save_save,
       
  7330   merge: function merge(attributes, _ref) {
       
  7331     var value = _ref.value,
       
  7332         citation = _ref.citation;
       
  7333 
       
  7334     // Quote citations cannot be merged. Pick the second one unless it's
       
  7335     // empty.
       
  7336     if (!citation) {
       
  7337       citation = attributes.citation;
       
  7338     }
       
  7339 
       
  7340     if (!value || value === '<p></p>') {
       
  7341       return quote_objectSpread({}, attributes, {
       
  7342         citation: citation
       
  7343       });
       
  7344     }
       
  7345 
       
  7346     return quote_objectSpread({}, attributes, {
       
  7347       value: attributes.value + value,
       
  7348       citation: citation
       
  7349     });
       
  7350   },
       
  7351   deprecated: quote_deprecated
       
  7352 };
       
  7353 
       
  7354 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/gallery.js
       
  7355 
       
  7356 
       
  7357 /**
       
  7358  * WordPress dependencies
       
  7359  */
       
  7360 
       
  7361 var gallery = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
  7362   viewBox: "0 0 24 24",
       
  7363   xmlns: "http://www.w3.org/2000/svg"
       
  7364 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
  7365   d: "M20.2 8v11c0 .7-.6 1.2-1.2 1.2H6v1.5h13c1.5 0 2.7-1.2 2.7-2.8V8h-1.5zM18 16.4V4.6c0-.9-.7-1.6-1.6-1.6H4.6C3.7 3 3 3.7 3 4.6v11.8c0 .9.7 1.6 1.6 1.6h11.8c.9 0 1.6-.7 1.6-1.6zM4.5 4.6c0-.1.1-.1.1-.1h11.8c.1 0 .1.1.1.1V12l-2.3-1.7c-.3-.2-.6-.2-.9 0l-2.9 2.1L8 11.3c-.2-.1-.5-.1-.7 0l-2.9 1.5V4.6zm0 11.8v-1.8l3.2-1.7 2.4 1.2c.2.1.5.1.8-.1l2.8-2 2.8 2v2.5c0 .1-.1.1-.1.1H4.6c0-.1-.1-.2-.1-.2z"
       
  7366 }));
       
  7367 /* harmony default export */ var library_gallery = (gallery);
       
  7368 
       
  7369 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/shared.js
       
  7370 /**
       
  7371  * External dependencies
       
  7372  */
       
  7373 
       
  7374 function defaultColumnsNumber(attributes) {
       
  7375   return Math.min(3, attributes.images.length);
       
  7376 }
       
  7377 var shared_pickRelevantMediaFiles = function pickRelevantMediaFiles(image) {
       
  7378   var sizeSlug = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'large';
       
  7379   var imageProps = Object(external_this_lodash_["pick"])(image, ['alt', 'id', 'link', 'caption']);
       
  7380   imageProps.url = Object(external_this_lodash_["get"])(image, ['sizes', sizeSlug, 'url']) || Object(external_this_lodash_["get"])(image, ['media_details', 'sizes', sizeSlug, 'source_url']) || image.url;
       
  7381   var fullUrl = Object(external_this_lodash_["get"])(image, ['sizes', 'full', 'url']) || Object(external_this_lodash_["get"])(image, ['media_details', 'sizes', 'full', 'source_url']);
       
  7382 
       
  7383   if (fullUrl) {
       
  7384     imageProps.fullUrl = fullUrl;
       
  7385   }
       
  7386 
       
  7387   return imageProps;
       
  7388 };
       
  7389 
       
  7390 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/deprecated.js
       
  7391 
       
  7392 
       
  7393 
       
  7394 function gallery_deprecated_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
  7395 
       
  7396 function gallery_deprecated_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { gallery_deprecated_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { gallery_deprecated_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
  7397 
       
  7398 /**
       
  7399  * External dependencies
       
  7400  */
       
  7401 
       
  7402 
       
  7403 /**
       
  7404  * WordPress dependencies
       
  7405  */
       
  7406 
       
  7407 
       
  7408 /**
       
  7409  * Internal dependencies
       
  7410  */
       
  7411 
       
  7412 
       
  7413 var gallery_deprecated_deprecated = [{
       
  7414   attributes: {
       
  7415     images: {
       
  7416       type: 'array',
       
  7417       default: [],
       
  7418       source: 'query',
       
  7419       selector: '.blocks-gallery-item',
       
  7420       query: {
       
  7421         url: {
       
  7422           source: 'attribute',
       
  7423           selector: 'img',
       
  7424           attribute: 'src'
       
  7425         },
       
  7426         fullUrl: {
       
  7427           source: 'attribute',
       
  7428           selector: 'img',
       
  7429           attribute: 'data-full-url'
       
  7430         },
       
  7431         link: {
       
  7432           source: 'attribute',
       
  7433           selector: 'img',
       
  7434           attribute: 'data-link'
       
  7435         },
       
  7436         alt: {
       
  7437           source: 'attribute',
       
  7438           selector: 'img',
       
  7439           attribute: 'alt',
       
  7440           default: ''
       
  7441         },
       
  7442         id: {
       
  7443           source: 'attribute',
       
  7444           selector: 'img',
       
  7445           attribute: 'data-id'
       
  7446         },
       
  7447         caption: {
       
  7448           type: 'string',
       
  7449           source: 'html',
       
  7450           selector: '.blocks-gallery-item__caption'
       
  7451         }
       
  7452       }
       
  7453     },
       
  7454     ids: {
       
  7455       type: 'array',
       
  7456       default: []
       
  7457     },
       
  7458     columns: {
       
  7459       type: 'number'
       
  7460     },
       
  7461     caption: {
       
  7462       type: 'string',
       
  7463       source: 'html',
       
  7464       selector: '.blocks-gallery-caption'
       
  7465     },
       
  7466     imageCrop: {
       
  7467       type: 'boolean',
       
  7468       default: true
       
  7469     },
       
  7470     linkTo: {
       
  7471       type: 'string',
       
  7472       default: 'none'
       
  7473     }
       
  7474   },
       
  7475   supports: {
       
  7476     align: true
       
  7477   },
       
  7478   isEligible: function isEligible(_ref) {
       
  7479     var ids = _ref.ids;
       
  7480     return ids && ids.some(function (id) {
       
  7481       return typeof id === 'string';
       
  7482     });
       
  7483   },
       
  7484   migrate: function migrate(attributes) {
       
  7485     return gallery_deprecated_objectSpread({}, attributes, {
       
  7486       ids: Object(external_this_lodash_["map"])(attributes.ids, function (id) {
       
  7487         var parsedId = parseInt(id, 10);
       
  7488         return Number.isInteger(parsedId) ? parsedId : null;
       
  7489       })
       
  7490     });
       
  7491   },
       
  7492   save: function save(_ref2) {
       
  7493     var attributes = _ref2.attributes;
       
  7494     var images = attributes.images,
       
  7495         _attributes$columns = attributes.columns,
       
  7496         columns = _attributes$columns === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns,
       
  7497         imageCrop = attributes.imageCrop,
       
  7498         caption = attributes.caption,
       
  7499         linkTo = attributes.linkTo;
       
  7500     return Object(external_this_wp_element_["createElement"])("figure", {
       
  7501       className: "columns-".concat(columns, " ").concat(imageCrop ? 'is-cropped' : '')
       
  7502     }, Object(external_this_wp_element_["createElement"])("ul", {
       
  7503       className: "blocks-gallery-grid"
       
  7504     }, images.map(function (image) {
       
  7505       var href;
       
  7506 
       
  7507       switch (linkTo) {
       
  7508         case 'media':
       
  7509           href = image.fullUrl || image.url;
       
  7510           break;
       
  7511 
       
  7512         case 'attachment':
       
  7513           href = image.link;
       
  7514           break;
       
  7515       }
       
  7516 
       
  7517       var img = Object(external_this_wp_element_["createElement"])("img", {
       
  7518         src: image.url,
       
  7519         alt: image.alt,
       
  7520         "data-id": image.id,
       
  7521         "data-full-url": image.fullUrl,
       
  7522         "data-link": image.link,
       
  7523         className: image.id ? "wp-image-".concat(image.id) : null
       
  7524       });
       
  7525       return Object(external_this_wp_element_["createElement"])("li", {
       
  7526         key: image.id || image.url,
       
  7527         className: "blocks-gallery-item"
       
  7528       }, Object(external_this_wp_element_["createElement"])("figure", null, href ? Object(external_this_wp_element_["createElement"])("a", {
       
  7529         href: href
       
  7530       }, img) : img, !external_this_wp_blockEditor_["RichText"].isEmpty(image.caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  7531         tagName: "figcaption",
       
  7532         className: "blocks-gallery-item__caption",
       
  7533         value: image.caption
       
  7534       })));
       
  7535     })), !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  7536       tagName: "figcaption",
       
  7537       className: "blocks-gallery-caption",
       
  7538       value: caption
       
  7539     }));
       
  7540   }
       
  7541 }, {
       
  7542   attributes: {
       
  7543     images: {
       
  7544       type: 'array',
       
  7545       default: [],
       
  7546       source: 'query',
       
  7547       selector: 'ul.wp-block-gallery .blocks-gallery-item',
       
  7548       query: {
       
  7549         url: {
       
  7550           source: 'attribute',
       
  7551           selector: 'img',
       
  7552           attribute: 'src'
       
  7553         },
       
  7554         fullUrl: {
       
  7555           source: 'attribute',
       
  7556           selector: 'img',
       
  7557           attribute: 'data-full-url'
       
  7558         },
       
  7559         alt: {
       
  7560           source: 'attribute',
       
  7561           selector: 'img',
       
  7562           attribute: 'alt',
       
  7563           default: ''
       
  7564         },
       
  7565         id: {
       
  7566           source: 'attribute',
       
  7567           selector: 'img',
       
  7568           attribute: 'data-id'
       
  7569         },
       
  7570         link: {
       
  7571           source: 'attribute',
       
  7572           selector: 'img',
       
  7573           attribute: 'data-link'
       
  7574         },
       
  7575         caption: {
       
  7576           type: 'array',
       
  7577           source: 'children',
       
  7578           selector: 'figcaption'
       
  7579         }
       
  7580       }
       
  7581     },
       
  7582     ids: {
       
  7583       type: 'array',
       
  7584       default: []
       
  7585     },
       
  7586     columns: {
       
  7587       type: 'number'
       
  7588     },
       
  7589     imageCrop: {
       
  7590       type: 'boolean',
       
  7591       default: true
       
  7592     },
       
  7593     linkTo: {
       
  7594       type: 'string',
       
  7595       default: 'none'
       
  7596     }
       
  7597   },
       
  7598   supports: {
       
  7599     align: true
       
  7600   },
       
  7601   save: function save(_ref3) {
       
  7602     var attributes = _ref3.attributes;
       
  7603     var images = attributes.images,
       
  7604         _attributes$columns2 = attributes.columns,
       
  7605         columns = _attributes$columns2 === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns2,
       
  7606         imageCrop = attributes.imageCrop,
       
  7607         linkTo = attributes.linkTo;
       
  7608     return Object(external_this_wp_element_["createElement"])("ul", {
       
  7609       className: "columns-".concat(columns, " ").concat(imageCrop ? 'is-cropped' : '')
       
  7610     }, images.map(function (image) {
       
  7611       var href;
       
  7612 
       
  7613       switch (linkTo) {
       
  7614         case 'media':
       
  7615           href = image.fullUrl || image.url;
       
  7616           break;
       
  7617 
       
  7618         case 'attachment':
       
  7619           href = image.link;
       
  7620           break;
       
  7621       }
       
  7622 
       
  7623       var img = Object(external_this_wp_element_["createElement"])("img", {
       
  7624         src: image.url,
       
  7625         alt: image.alt,
       
  7626         "data-id": image.id,
       
  7627         "data-full-url": image.fullUrl,
       
  7628         "data-link": image.link,
       
  7629         className: image.id ? "wp-image-".concat(image.id) : null
       
  7630       });
       
  7631       return Object(external_this_wp_element_["createElement"])("li", {
       
  7632         key: image.id || image.url,
       
  7633         className: "blocks-gallery-item"
       
  7634       }, Object(external_this_wp_element_["createElement"])("figure", null, href ? Object(external_this_wp_element_["createElement"])("a", {
       
  7635         href: href
       
  7636       }, img) : img, image.caption && image.caption.length > 0 && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  7637         tagName: "figcaption",
       
  7638         value: image.caption
       
  7639       })));
       
  7640     }));
       
  7641   }
       
  7642 }, {
       
  7643   attributes: {
       
  7644     images: {
       
  7645       type: 'array',
       
  7646       default: [],
       
  7647       source: 'query',
       
  7648       selector: 'ul.wp-block-gallery .blocks-gallery-item',
       
  7649       query: {
       
  7650         url: {
       
  7651           source: 'attribute',
       
  7652           selector: 'img',
       
  7653           attribute: 'src'
       
  7654         },
       
  7655         alt: {
       
  7656           source: 'attribute',
       
  7657           selector: 'img',
       
  7658           attribute: 'alt',
       
  7659           default: ''
       
  7660         },
       
  7661         id: {
       
  7662           source: 'attribute',
       
  7663           selector: 'img',
       
  7664           attribute: 'data-id'
       
  7665         },
       
  7666         link: {
       
  7667           source: 'attribute',
       
  7668           selector: 'img',
       
  7669           attribute: 'data-link'
       
  7670         },
       
  7671         caption: {
       
  7672           type: 'array',
       
  7673           source: 'children',
       
  7674           selector: 'figcaption'
       
  7675         }
       
  7676       }
       
  7677     },
       
  7678     columns: {
       
  7679       type: 'number'
       
  7680     },
       
  7681     imageCrop: {
       
  7682       type: 'boolean',
       
  7683       default: true
       
  7684     },
       
  7685     linkTo: {
       
  7686       type: 'string',
       
  7687       default: 'none'
       
  7688     }
       
  7689   },
       
  7690   isEligible: function isEligible(_ref4) {
       
  7691     var images = _ref4.images,
       
  7692         ids = _ref4.ids;
       
  7693     return images && images.length > 0 && (!ids && images || ids && images && ids.length !== images.length || Object(external_this_lodash_["some"])(images, function (id, index) {
       
  7694       if (!id && ids[index] !== null) {
       
  7695         return true;
       
  7696       }
       
  7697 
       
  7698       return parseInt(id, 10) !== ids[index];
       
  7699     }));
       
  7700   },
       
  7701   migrate: function migrate(attributes) {
       
  7702     return gallery_deprecated_objectSpread({}, attributes, {
       
  7703       ids: Object(external_this_lodash_["map"])(attributes.images, function (_ref5) {
       
  7704         var id = _ref5.id;
       
  7705 
       
  7706         if (!id) {
       
  7707           return null;
       
  7708         }
       
  7709 
       
  7710         return parseInt(id, 10);
       
  7711       })
       
  7712     });
       
  7713   },
       
  7714   supports: {
       
  7715     align: true
       
  7716   },
       
  7717   save: function save(_ref6) {
       
  7718     var attributes = _ref6.attributes;
       
  7719     var images = attributes.images,
       
  7720         _attributes$columns3 = attributes.columns,
       
  7721         columns = _attributes$columns3 === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns3,
       
  7722         imageCrop = attributes.imageCrop,
       
  7723         linkTo = attributes.linkTo;
       
  7724     return Object(external_this_wp_element_["createElement"])("ul", {
       
  7725       className: "columns-".concat(columns, " ").concat(imageCrop ? 'is-cropped' : '')
       
  7726     }, images.map(function (image) {
       
  7727       var href;
       
  7728 
       
  7729       switch (linkTo) {
       
  7730         case 'media':
       
  7731           href = image.url;
       
  7732           break;
       
  7733 
       
  7734         case 'attachment':
       
  7735           href = image.link;
       
  7736           break;
       
  7737       }
       
  7738 
       
  7739       var img = Object(external_this_wp_element_["createElement"])("img", {
       
  7740         src: image.url,
       
  7741         alt: image.alt,
       
  7742         "data-id": image.id,
       
  7743         "data-link": image.link,
       
  7744         className: image.id ? "wp-image-".concat(image.id) : null
       
  7745       });
       
  7746       return Object(external_this_wp_element_["createElement"])("li", {
       
  7747         key: image.id || image.url,
       
  7748         className: "blocks-gallery-item"
       
  7749       }, Object(external_this_wp_element_["createElement"])("figure", null, href ? Object(external_this_wp_element_["createElement"])("a", {
       
  7750         href: href
       
  7751       }, img) : img, image.caption && image.caption.length > 0 && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  7752         tagName: "figcaption",
       
  7753         value: image.caption
       
  7754       })));
       
  7755     }));
       
  7756   }
       
  7757 }, {
       
  7758   attributes: {
       
  7759     images: {
       
  7760       type: 'array',
       
  7761       default: [],
       
  7762       source: 'query',
       
  7763       selector: 'div.wp-block-gallery figure.blocks-gallery-image img',
       
  7764       query: {
       
  7765         url: {
       
  7766           source: 'attribute',
       
  7767           attribute: 'src'
       
  7768         },
       
  7769         alt: {
       
  7770           source: 'attribute',
       
  7771           attribute: 'alt',
       
  7772           default: ''
       
  7773         },
       
  7774         id: {
       
  7775           source: 'attribute',
       
  7776           attribute: 'data-id'
       
  7777         }
       
  7778       }
       
  7779     },
       
  7780     columns: {
       
  7781       type: 'number'
       
  7782     },
       
  7783     imageCrop: {
       
  7784       type: 'boolean',
       
  7785       default: true
       
  7786     },
       
  7787     linkTo: {
       
  7788       type: 'string',
       
  7789       default: 'none'
       
  7790     },
       
  7791     align: {
       
  7792       type: 'string',
       
  7793       default: 'none'
       
  7794     }
       
  7795   },
       
  7796   supports: {
       
  7797     align: true
       
  7798   },
       
  7799   save: function save(_ref7) {
       
  7800     var attributes = _ref7.attributes;
       
  7801     var images = attributes.images,
       
  7802         _attributes$columns4 = attributes.columns,
       
  7803         columns = _attributes$columns4 === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns4,
       
  7804         align = attributes.align,
       
  7805         imageCrop = attributes.imageCrop,
       
  7806         linkTo = attributes.linkTo;
       
  7807     var className = classnames_default()("columns-".concat(columns), {
       
  7808       alignnone: align === 'none',
       
  7809       'is-cropped': imageCrop
       
  7810     });
       
  7811     return Object(external_this_wp_element_["createElement"])("div", {
       
  7812       className: className
       
  7813     }, images.map(function (image) {
       
  7814       var href;
       
  7815 
       
  7816       switch (linkTo) {
       
  7817         case 'media':
       
  7818           href = image.url;
       
  7819           break;
       
  7820 
       
  7821         case 'attachment':
       
  7822           href = image.link;
       
  7823           break;
       
  7824       }
       
  7825 
       
  7826       var img = Object(external_this_wp_element_["createElement"])("img", {
       
  7827         src: image.url,
       
  7828         alt: image.alt,
       
  7829         "data-id": image.id
       
  7830       });
       
  7831       return Object(external_this_wp_element_["createElement"])("figure", {
       
  7832         key: image.id || image.url,
       
  7833         className: "blocks-gallery-image"
       
  7834       }, href ? Object(external_this_wp_element_["createElement"])("a", {
       
  7835         href: href
       
  7836       }, img) : img);
       
  7837     }));
       
  7838   }
       
  7839 }];
       
  7840 /* harmony default export */ var gallery_deprecated = (gallery_deprecated_deprecated);
       
  7841 
       
  7842 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
  7843 var classCallCheck = __webpack_require__(20);
       
  7844 
       
  7845 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
  7846 var createClass = __webpack_require__(19);
       
  7847 
       
  7848 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
       
  7849 var assertThisInitialized = __webpack_require__(12);
       
  7850 
       
  7851 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
  7852 var possibleConstructorReturn = __webpack_require__(23);
       
  7853 
       
  7854 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
  7855 var getPrototypeOf = __webpack_require__(16);
       
  7856 
       
  7857 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
  7858 var inherits = __webpack_require__(22);
       
  7859 
       
  7860 // EXTERNAL MODULE: external {"this":["wp","viewport"]}
       
  7861 var external_this_wp_viewport_ = __webpack_require__(81);
       
  7862 
       
  7863 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/shared-icon.js
       
  7864 
       
  7865 
       
  7866 /**
       
  7867  * WordPress dependencies
       
  7868  */
       
  7869 
       
  7870 
       
  7871 var sharedIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], {
       
  7872   icon: library_gallery
       
  7873 });
       
  7874 
       
  7875 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-left.js
       
  7876 var chevron_left = __webpack_require__(293);
       
  7877 
       
  7878 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-right.js
       
  7879 var chevron_right = __webpack_require__(292);
       
  7880 
       
  7881 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/edit.js
       
  7882 var library_edit = __webpack_require__(300);
       
  7883 
       
  7884 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close-small.js
       
  7885 var close_small = __webpack_require__(177);
       
  7886 
       
  7887 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/gallery-image.js
       
  7888 
       
  7889 
       
  7890 
       
  7891 
       
  7892 
       
  7893 
       
  7894 
       
  7895 
       
  7896 function _createSuper(Derived) { return function () { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = Object(getPrototypeOf["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(possibleConstructorReturn["a" /* default */])(this, result); }; }
       
  7897 
       
  7898 function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
       
  7899 
       
  7900 /**
       
  7901  * External dependencies
       
  7902  */
       
  7903 
       
  7904 
       
  7905 /**
       
  7906  * WordPress dependencies
       
  7907  */
       
  7908 
       
  7909 
       
  7910 
       
  7911 
       
  7912 
       
  7913 
       
  7914 
       
  7915 
       
  7916 
       
  7917 
       
  7918 /**
       
  7919  * Internal dependencies
       
  7920  */
       
  7921 
       
  7922 
       
  7923 
       
  7924 var gallery_image_isTemporaryImage = function isTemporaryImage(id, url) {
       
  7925   return !id && Object(external_this_wp_blob_["isBlobURL"])(url);
       
  7926 };
       
  7927 
       
  7928 var gallery_image_GalleryImage = /*#__PURE__*/function (_Component) {
       
  7929   Object(inherits["a" /* default */])(GalleryImage, _Component);
       
  7930 
       
  7931   var _super = _createSuper(GalleryImage);
       
  7932 
       
  7933   function GalleryImage() {
       
  7934     var _this;
       
  7935 
       
  7936     Object(classCallCheck["a" /* default */])(this, GalleryImage);
       
  7937 
       
  7938     _this = _super.apply(this, arguments);
       
  7939     _this.onSelectImage = _this.onSelectImage.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  7940     _this.onSelectCaption = _this.onSelectCaption.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  7941     _this.onRemoveImage = _this.onRemoveImage.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  7942     _this.bindContainer = _this.bindContainer.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  7943     _this.onEdit = _this.onEdit.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  7944     _this.onSelectImageFromLibrary = _this.onSelectImageFromLibrary.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  7945     _this.onSelectCustomURL = _this.onSelectCustomURL.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  7946     _this.state = {
       
  7947       captionSelected: false,
       
  7948       isEditing: false
       
  7949     };
       
  7950     return _this;
       
  7951   }
       
  7952 
       
  7953   Object(createClass["a" /* default */])(GalleryImage, [{
       
  7954     key: "bindContainer",
       
  7955     value: function bindContainer(ref) {
       
  7956       this.container = ref;
       
  7957     }
       
  7958   }, {
       
  7959     key: "onSelectCaption",
       
  7960     value: function onSelectCaption() {
       
  7961       if (!this.state.captionSelected) {
       
  7962         this.setState({
       
  7963           captionSelected: true
       
  7964         });
       
  7965       }
       
  7966 
       
  7967       if (!this.props.isSelected) {
       
  7968         this.props.onSelect();
       
  7969       }
       
  7970     }
       
  7971   }, {
       
  7972     key: "onSelectImage",
       
  7973     value: function onSelectImage() {
       
  7974       if (!this.props.isSelected) {
       
  7975         this.props.onSelect();
       
  7976       }
       
  7977 
       
  7978       if (this.state.captionSelected) {
       
  7979         this.setState({
       
  7980           captionSelected: false
       
  7981         });
       
  7982       }
       
  7983     }
       
  7984   }, {
       
  7985     key: "onRemoveImage",
       
  7986     value: function onRemoveImage(event) {
       
  7987       if (this.container === document.activeElement && this.props.isSelected && [external_this_wp_keycodes_["BACKSPACE"], external_this_wp_keycodes_["DELETE"]].indexOf(event.keyCode) !== -1) {
       
  7988         event.stopPropagation();
       
  7989         event.preventDefault();
       
  7990         this.props.onRemove();
       
  7991       }
       
  7992     }
       
  7993   }, {
       
  7994     key: "onEdit",
       
  7995     value: function onEdit() {
       
  7996       this.setState({
       
  7997         isEditing: true
       
  7998       });
       
  7999     }
       
  8000   }, {
       
  8001     key: "componentDidUpdate",
       
  8002     value: function componentDidUpdate(prevProps) {
       
  8003       var _this$props = this.props,
       
  8004           isSelected = _this$props.isSelected,
       
  8005           image = _this$props.image,
       
  8006           url = _this$props.url,
       
  8007           __unstableMarkNextChangeAsNotPersistent = _this$props.__unstableMarkNextChangeAsNotPersistent;
       
  8008 
       
  8009       if (image && !url) {
       
  8010         __unstableMarkNextChangeAsNotPersistent();
       
  8011 
       
  8012         this.props.setAttributes({
       
  8013           url: image.source_url,
       
  8014           alt: image.alt_text
       
  8015         });
       
  8016       } // unselect the caption so when the user selects other image and comeback
       
  8017       // the caption is not immediately selected
       
  8018 
       
  8019 
       
  8020       if (this.state.captionSelected && !isSelected && prevProps.isSelected) {
       
  8021         this.setState({
       
  8022           captionSelected: false
       
  8023         });
       
  8024       }
       
  8025     }
       
  8026   }, {
       
  8027     key: "deselectOnBlur",
       
  8028     value: function deselectOnBlur() {
       
  8029       this.props.onDeselect();
       
  8030     }
       
  8031   }, {
       
  8032     key: "onSelectImageFromLibrary",
       
  8033     value: function onSelectImageFromLibrary(media) {
       
  8034       var _this$props2 = this.props,
       
  8035           setAttributes = _this$props2.setAttributes,
       
  8036           id = _this$props2.id,
       
  8037           url = _this$props2.url,
       
  8038           alt = _this$props2.alt,
       
  8039           caption = _this$props2.caption,
       
  8040           sizeSlug = _this$props2.sizeSlug;
       
  8041 
       
  8042       if (!media || !media.url) {
       
  8043         return;
       
  8044       }
       
  8045 
       
  8046       var mediaAttributes = shared_pickRelevantMediaFiles(media, sizeSlug); // If the current image is temporary but an alt text was meanwhile
       
  8047       // written by the user, make sure the text is not overwritten.
       
  8048 
       
  8049       if (gallery_image_isTemporaryImage(id, url)) {
       
  8050         if (alt) {
       
  8051           mediaAttributes = Object(external_this_lodash_["omit"])(mediaAttributes, ['alt']);
       
  8052         }
       
  8053       } // If a caption text was meanwhile written by the user,
       
  8054       // make sure the text is not overwritten by empty captions.
       
  8055 
       
  8056 
       
  8057       if (caption && !Object(external_this_lodash_["get"])(mediaAttributes, ['caption'])) {
       
  8058         mediaAttributes = Object(external_this_lodash_["omit"])(mediaAttributes, ['caption']);
       
  8059       }
       
  8060 
       
  8061       setAttributes(mediaAttributes);
       
  8062       this.setState({
       
  8063         isEditing: false
       
  8064       });
       
  8065     }
       
  8066   }, {
       
  8067     key: "onSelectCustomURL",
       
  8068     value: function onSelectCustomURL(newURL) {
       
  8069       var _this$props3 = this.props,
       
  8070           setAttributes = _this$props3.setAttributes,
       
  8071           url = _this$props3.url;
       
  8072 
       
  8073       if (newURL !== url) {
       
  8074         setAttributes({
       
  8075           url: newURL,
       
  8076           id: undefined
       
  8077         });
       
  8078         this.setState({
       
  8079           isEditing: false
       
  8080         });
       
  8081       }
       
  8082     }
       
  8083   }, {
       
  8084     key: "render",
       
  8085     value: function render() {
       
  8086       var _this$props4 = this.props,
       
  8087           url = _this$props4.url,
       
  8088           alt = _this$props4.alt,
       
  8089           id = _this$props4.id,
       
  8090           linkTo = _this$props4.linkTo,
       
  8091           link = _this$props4.link,
       
  8092           isFirstItem = _this$props4.isFirstItem,
       
  8093           isLastItem = _this$props4.isLastItem,
       
  8094           isSelected = _this$props4.isSelected,
       
  8095           caption = _this$props4.caption,
       
  8096           onRemove = _this$props4.onRemove,
       
  8097           onMoveForward = _this$props4.onMoveForward,
       
  8098           onMoveBackward = _this$props4.onMoveBackward,
       
  8099           setAttributes = _this$props4.setAttributes,
       
  8100           ariaLabel = _this$props4['aria-label'];
       
  8101       var isEditing = this.state.isEditing;
       
  8102       var href;
       
  8103 
       
  8104       switch (linkTo) {
       
  8105         case 'media':
       
  8106           href = url;
       
  8107           break;
       
  8108 
       
  8109         case 'attachment':
       
  8110           href = link;
       
  8111           break;
       
  8112       }
       
  8113 
       
  8114       var img = // Disable reason: Image itself is not meant to be interactive, but should
       
  8115       // direct image selection and unfocus caption fields.
       
  8116 
       
  8117       /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
       
  8118       Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("img", {
       
  8119         src: url,
       
  8120         alt: alt,
       
  8121         "data-id": id,
       
  8122         onClick: this.onSelectImage,
       
  8123         onFocus: this.onSelectImage,
       
  8124         onKeyDown: this.onRemoveImage,
       
  8125         tabIndex: "0",
       
  8126         "aria-label": ariaLabel,
       
  8127         ref: this.bindContainer
       
  8128       }), Object(external_this_wp_blob_["isBlobURL"])(url) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null))
       
  8129       /* eslint-enable jsx-a11y/no-noninteractive-element-interactions */
       
  8130       ;
       
  8131       var className = classnames_default()({
       
  8132         'is-selected': isSelected,
       
  8133         'is-transient': Object(external_this_wp_blob_["isBlobURL"])(url)
       
  8134       });
       
  8135       return Object(external_this_wp_element_["createElement"])("figure", {
       
  8136         className: className
       
  8137       }, !isEditing && (href ? Object(external_this_wp_element_["createElement"])("a", {
       
  8138         href: href
       
  8139       }, img) : img), isEditing && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaPlaceholder"], {
       
  8140         labels: {
       
  8141           title: Object(external_this_wp_i18n_["__"])('Edit gallery image')
       
  8142         },
       
  8143         icon: library_image,
       
  8144         onSelect: this.onSelectImageFromLibrary,
       
  8145         onSelectURL: this.onSelectCustomURL,
       
  8146         accept: "image/*",
       
  8147         allowedTypes: ['image'],
       
  8148         value: {
       
  8149           id: id,
       
  8150           src: url
       
  8151         }
       
  8152       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ButtonGroup"], {
       
  8153         className: "block-library-gallery-item__inline-menu is-left"
       
  8154       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
  8155         icon: chevron_left["a" /* default */],
       
  8156         onClick: isFirstItem ? undefined : onMoveBackward,
       
  8157         label: Object(external_this_wp_i18n_["__"])('Move image backward'),
       
  8158         "aria-disabled": isFirstItem,
       
  8159         disabled: !isSelected
       
  8160       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
  8161         icon: chevron_right["a" /* default */],
       
  8162         onClick: isLastItem ? undefined : onMoveForward,
       
  8163         label: Object(external_this_wp_i18n_["__"])('Move image forward'),
       
  8164         "aria-disabled": isLastItem,
       
  8165         disabled: !isSelected
       
  8166       })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ButtonGroup"], {
       
  8167         className: "block-library-gallery-item__inline-menu is-right"
       
  8168       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
  8169         icon: library_edit["a" /* default */],
       
  8170         onClick: this.onEdit,
       
  8171         label: Object(external_this_wp_i18n_["__"])('Replace image'),
       
  8172         disabled: !isSelected
       
  8173       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
  8174         icon: close_small["a" /* default */],
       
  8175         onClick: onRemove,
       
  8176         label: Object(external_this_wp_i18n_["__"])('Remove image'),
       
  8177         disabled: !isSelected
       
  8178       })), !isEditing && (isSelected || caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
  8179         tagName: "figcaption",
       
  8180         placeholder: isSelected ? Object(external_this_wp_i18n_["__"])('Write caption…') : null,
       
  8181         value: caption,
       
  8182         isSelected: this.state.captionSelected,
       
  8183         onChange: function onChange(newCaption) {
       
  8184           return setAttributes({
       
  8185             caption: newCaption
       
  8186           });
       
  8187         },
       
  8188         unstableOnFocus: this.onSelectCaption,
       
  8189         inlineToolbar: true
       
  8190       }));
       
  8191     }
       
  8192   }]);
       
  8193 
       
  8194   return GalleryImage;
       
  8195 }(external_this_wp_element_["Component"]);
       
  8196 
       
  8197 /* harmony default export */ var gallery_image = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, ownProps) {
       
  8198   var _select = select('core'),
       
  8199       getMedia = _select.getMedia;
       
  8200 
       
  8201   var id = ownProps.id;
       
  8202   return {
       
  8203     image: id ? getMedia(parseInt(id, 10)) : null
       
  8204   };
       
  8205 }), Object(external_this_wp_data_["withDispatch"])(function (dispatch) {
       
  8206   var _dispatch = dispatch('core/block-editor'),
       
  8207       __unstableMarkNextChangeAsNotPersistent = _dispatch.__unstableMarkNextChangeAsNotPersistent;
       
  8208 
       
  8209   return {
       
  8210     __unstableMarkNextChangeAsNotPersistent: __unstableMarkNextChangeAsNotPersistent
       
  8211   };
       
  8212 })])(gallery_image_GalleryImage));
       
  8213 
       
  8214 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/gallery.js
       
  8215 
       
  8216 
       
  8217 
       
  8218 
       
  8219 
       
  8220 /**
       
  8221  * External dependencies
       
  8222  */
       
  8223 
       
  8224 /**
       
  8225  * WordPress dependencies
       
  8226  */
       
  8227 
       
  8228 
       
  8229 
       
  8230 
       
  8231 
       
  8232 /**
       
  8233  * Internal dependencies
       
  8234  */
       
  8235 
       
  8236 
       
  8237 
       
  8238 var gallery_Gallery = function Gallery(props) {
       
  8239   var _classnames;
       
  8240 
       
  8241   var attributes = props.attributes,
       
  8242       className = props.className,
       
  8243       isSelected = props.isSelected,
       
  8244       setAttributes = props.setAttributes,
       
  8245       selectedImage = props.selectedImage,
       
  8246       mediaPlaceholder = props.mediaPlaceholder,
       
  8247       onMoveBackward = props.onMoveBackward,
       
  8248       onMoveForward = props.onMoveForward,
       
  8249       onRemoveImage = props.onRemoveImage,
       
  8250       onSelectImage = props.onSelectImage,
       
  8251       onDeselectImage = props.onDeselectImage,
       
  8252       onSetImageAttributes = props.onSetImageAttributes,
       
  8253       onFocusGalleryCaption = props.onFocusGalleryCaption,
       
  8254       insertBlocksAfter = props.insertBlocksAfter;
       
  8255   var align = attributes.align,
       
  8256       _attributes$columns = attributes.columns,
       
  8257       columns = _attributes$columns === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns,
       
  8258       caption = attributes.caption,
       
  8259       imageCrop = attributes.imageCrop,
       
  8260       images = attributes.images;
       
  8261   return Object(external_this_wp_element_["createElement"])("figure", {
       
  8262     className: classnames_default()(className, (_classnames = {}, Object(defineProperty["a" /* default */])(_classnames, "align".concat(align), align), Object(defineProperty["a" /* default */])(_classnames, "columns-".concat(columns), columns), Object(defineProperty["a" /* default */])(_classnames, 'is-cropped', imageCrop), _classnames))
       
  8263   }, Object(external_this_wp_element_["createElement"])("ul", {
       
  8264     className: "blocks-gallery-grid"
       
  8265   }, images.map(function (img, index) {
       
  8266     var ariaLabel = Object(external_this_wp_i18n_["sprintf"])(
       
  8267     /* translators: 1: the order number of the image. 2: the total number of images. */
       
  8268     Object(external_this_wp_i18n_["__"])('image %1$d of %2$d in gallery'), index + 1, images.length);
       
  8269     return Object(external_this_wp_element_["createElement"])("li", {
       
  8270       className: "blocks-gallery-item",
       
  8271       key: img.id || img.url
       
  8272     }, Object(external_this_wp_element_["createElement"])(gallery_image, {
       
  8273       url: img.url,
       
  8274       alt: img.alt,
       
  8275       id: img.id,
       
  8276       isFirstItem: index === 0,
       
  8277       isLastItem: index + 1 === images.length,
       
  8278       isSelected: isSelected && selectedImage === index,
       
  8279       onMoveBackward: onMoveBackward(index),
       
  8280       onMoveForward: onMoveForward(index),
       
  8281       onRemove: onRemoveImage(index),
       
  8282       onSelect: onSelectImage(index),
       
  8283       onDeselect: onDeselectImage(index),
       
  8284       setAttributes: function setAttributes(attrs) {
       
  8285         return onSetImageAttributes(index, attrs);
       
  8286       },
       
  8287       caption: img.caption,
       
  8288       "aria-label": ariaLabel,
       
  8289       sizeSlug: attributes.sizeSlug
       
  8290     }));
       
  8291   })), mediaPlaceholder, Object(external_this_wp_element_["createElement"])(RichTextVisibilityHelper, {
       
  8292     isHidden: !isSelected && external_this_wp_blockEditor_["RichText"].isEmpty(caption),
       
  8293     tagName: "figcaption",
       
  8294     className: "blocks-gallery-caption",
       
  8295     placeholder: Object(external_this_wp_i18n_["__"])('Write gallery caption…'),
       
  8296     value: caption,
       
  8297     unstableOnFocus: onFocusGalleryCaption,
       
  8298     onChange: function onChange(value) {
       
  8299       return setAttributes({
       
  8300         caption: value
       
  8301       });
       
  8302     },
       
  8303     inlineToolbar: true,
       
  8304     __unstableOnSplitAtEnd: function __unstableOnSplitAtEnd() {
       
  8305       return insertBlocksAfter(Object(external_this_wp_blocks_["createBlock"])('core/paragraph'));
       
  8306     }
       
  8307   }));
       
  8308 };
       
  8309 
       
  8310 function RichTextVisibilityHelper(_ref) {
       
  8311   var isHidden = _ref.isHidden,
       
  8312       richTextProps = Object(objectWithoutProperties["a" /* default */])(_ref, ["isHidden"]);
       
  8313 
       
  8314   return isHidden ? Object(external_this_wp_element_["createElement"])(external_this_wp_components_["VisuallyHidden"], Object(esm_extends["a" /* default */])({
       
  8315     as: external_this_wp_blockEditor_["RichText"]
       
  8316   }, richTextProps)) : Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], richTextProps);
       
  8317 }
       
  8318 
       
  8319 /* harmony default export */ var gallery_gallery = (gallery_Gallery);
       
  8320 
       
  8321 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/edit.js
       
  8322 
       
  8323 
       
  8324 
       
  8325 
       
  8326 
       
  8327 
       
  8328 
       
  8329 
       
  8330 
       
  8331 
       
  8332 
       
  8333 function gallery_edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
  8334 
       
  8335 function gallery_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { gallery_edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { gallery_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
  8336 
       
  8337 function edit_createSuper(Derived) { return function () { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (edit_isNativeReflectConstruct()) { var NewTarget = Object(getPrototypeOf["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(possibleConstructorReturn["a" /* default */])(this, result); }; }
       
  8338 
       
  8339 function edit_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
       
  8340 
       
  8341 /**
       
  8342  * External dependencies
       
  8343  */
       
  8344 
       
  8345 /**
       
  8346  * WordPress dependencies
       
  8347  */
       
  8348 
       
  8349 
       
  8350 
       
  8351 
       
  8352 
       
  8353 
       
  8354 
       
  8355 
       
  8356 
       
  8357 /**
       
  8358  * Internal dependencies
       
  8359  */
       
  8360 
       
  8361 
       
  8362 
       
  8363 
       
  8364 var MAX_COLUMNS = 8;
       
  8365 var linkOptions = [{
       
  8366   value: 'attachment',
       
  8367   label: Object(external_this_wp_i18n_["__"])('Attachment Page')
       
  8368 }, {
       
  8369   value: 'media',
       
  8370   label: Object(external_this_wp_i18n_["__"])('Media File')
       
  8371 }, {
       
  8372   value: 'none',
       
  8373   label: Object(external_this_wp_i18n_["__"])('None')
       
  8374 }];
       
  8375 var edit_ALLOWED_MEDIA_TYPES = ['image'];
       
  8376 var PLACEHOLDER_TEXT = external_this_wp_element_["Platform"].select({
       
  8377   web: Object(external_this_wp_i18n_["__"])('Drag images, upload new ones or select files from your library.'),
       
  8378   native: Object(external_this_wp_i18n_["__"])('ADD MEDIA')
       
  8379 });
       
  8380 var MOBILE_CONTROL_PROPS_RANGE_CONTROL = external_this_wp_element_["Platform"].select({
       
  8381   web: {},
       
  8382   native: {
       
  8383     type: 'stepper'
       
  8384   }
       
  8385 });
       
  8386 
       
  8387 var edit_GalleryEdit = /*#__PURE__*/function (_Component) {
       
  8388   Object(inherits["a" /* default */])(GalleryEdit, _Component);
       
  8389 
       
  8390   var _super = edit_createSuper(GalleryEdit);
       
  8391 
       
  8392   function GalleryEdit() {
       
  8393     var _this;
       
  8394 
       
  8395     Object(classCallCheck["a" /* default */])(this, GalleryEdit);
       
  8396 
       
  8397     _this = _super.apply(this, arguments);
       
  8398     _this.onSelectImage = _this.onSelectImage.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  8399     _this.onSelectImages = _this.onSelectImages.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  8400     _this.onDeselectImage = _this.onDeselectImage.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  8401     _this.setLinkTo = _this.setLinkTo.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  8402     _this.setColumnsNumber = _this.setColumnsNumber.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  8403     _this.toggleImageCrop = _this.toggleImageCrop.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  8404     _this.onMove = _this.onMove.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  8405     _this.onMoveForward = _this.onMoveForward.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  8406     _this.onMoveBackward = _this.onMoveBackward.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  8407     _this.onRemoveImage = _this.onRemoveImage.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  8408     _this.onUploadError = _this.onUploadError.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  8409     _this.setImageAttributes = _this.setImageAttributes.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  8410     _this.setAttributes = _this.setAttributes.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  8411     _this.onFocusGalleryCaption = _this.onFocusGalleryCaption.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  8412     _this.getImagesSizeOptions = _this.getImagesSizeOptions.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  8413     _this.updateImagesSize = _this.updateImagesSize.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  8414     _this.state = {
       
  8415       selectedImage: null,
       
  8416       attachmentCaptions: null
       
  8417     };
       
  8418     return _this;
       
  8419   }
       
  8420 
       
  8421   Object(createClass["a" /* default */])(GalleryEdit, [{
       
  8422     key: "setAttributes",
       
  8423     value: function setAttributes(attributes) {
       
  8424       if (attributes.ids) {
       
  8425         throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');
       
  8426       }
       
  8427 
       
  8428       if (attributes.images) {
       
  8429         attributes = gallery_edit_objectSpread({}, attributes, {
       
  8430           // Unlike images[ n ].id which is a string, always ensure the
       
  8431           // ids array contains numbers as per its attribute type.
       
  8432           ids: Object(external_this_lodash_["map"])(attributes.images, function (_ref) {
       
  8433             var id = _ref.id;
       
  8434             return parseInt(id, 10);
       
  8435           })
       
  8436         });
       
  8437       }
       
  8438 
       
  8439       this.props.setAttributes(attributes);
       
  8440     }
       
  8441   }, {
       
  8442     key: "onSelectImage",
       
  8443     value: function onSelectImage(index) {
       
  8444       var _this2 = this;
       
  8445 
       
  8446       return function () {
       
  8447         if (_this2.state.selectedImage !== index) {
       
  8448           _this2.setState({
       
  8449             selectedImage: index
       
  8450           });
       
  8451         }
       
  8452       };
       
  8453     }
       
  8454   }, {
       
  8455     key: "onDeselectImage",
       
  8456     value: function onDeselectImage(index) {
       
  8457       var _this3 = this;
       
  8458 
       
  8459       return function () {
       
  8460         if (_this3.state.selectedImage === index) {
       
  8461           _this3.setState({
       
  8462             selectedImage: null
       
  8463           });
       
  8464         }
       
  8465       };
       
  8466     }
       
  8467   }, {
       
  8468     key: "onMove",
       
  8469     value: function onMove(oldIndex, newIndex) {
       
  8470       var images = Object(toConsumableArray["a" /* default */])(this.props.attributes.images);
       
  8471 
       
  8472       images.splice(newIndex, 1, this.props.attributes.images[oldIndex]);
       
  8473       images.splice(oldIndex, 1, this.props.attributes.images[newIndex]);
       
  8474       this.setState({
       
  8475         selectedImage: newIndex
       
  8476       });
       
  8477       this.setAttributes({
       
  8478         images: images
       
  8479       });
       
  8480     }
       
  8481   }, {
       
  8482     key: "onMoveForward",
       
  8483     value: function onMoveForward(oldIndex) {
       
  8484       var _this4 = this;
       
  8485 
       
  8486       return function () {
       
  8487         if (oldIndex === _this4.props.attributes.images.length - 1) {
       
  8488           return;
       
  8489         }
       
  8490 
       
  8491         _this4.onMove(oldIndex, oldIndex + 1);
       
  8492       };
       
  8493     }
       
  8494   }, {
       
  8495     key: "onMoveBackward",
       
  8496     value: function onMoveBackward(oldIndex) {
       
  8497       var _this5 = this;
       
  8498 
       
  8499       return function () {
       
  8500         if (oldIndex === 0) {
       
  8501           return;
       
  8502         }
       
  8503 
       
  8504         _this5.onMove(oldIndex, oldIndex - 1);
       
  8505       };
       
  8506     }
       
  8507   }, {
       
  8508     key: "onRemoveImage",
       
  8509     value: function onRemoveImage(index) {
       
  8510       var _this6 = this;
       
  8511 
       
  8512       return function () {
       
  8513         var images = Object(external_this_lodash_["filter"])(_this6.props.attributes.images, function (img, i) {
       
  8514           return index !== i;
       
  8515         });
       
  8516         var columns = _this6.props.attributes.columns;
       
  8517 
       
  8518         _this6.setState({
       
  8519           selectedImage: null
       
  8520         });
       
  8521 
       
  8522         _this6.setAttributes({
       
  8523           images: images,
       
  8524           columns: columns ? Math.min(images.length, columns) : columns
       
  8525         });
       
  8526       };
       
  8527     }
       
  8528   }, {
       
  8529     key: "selectCaption",
       
  8530     value: function selectCaption(newImage, images, attachmentCaptions) {
       
  8531       // The image id in both the images and attachmentCaptions arrays is a
       
  8532       // string, so ensure comparison works correctly by converting the
       
  8533       // newImage.id to a string.
       
  8534       var newImageId = Object(external_this_lodash_["toString"])(newImage.id);
       
  8535       var currentImage = Object(external_this_lodash_["find"])(images, {
       
  8536         id: newImageId
       
  8537       });
       
  8538       var currentImageCaption = currentImage ? currentImage.caption : newImage.caption;
       
  8539 
       
  8540       if (!attachmentCaptions) {
       
  8541         return currentImageCaption;
       
  8542       }
       
  8543 
       
  8544       var attachment = Object(external_this_lodash_["find"])(attachmentCaptions, {
       
  8545         id: newImageId
       
  8546       }); // if the attachment caption is updated
       
  8547 
       
  8548       if (attachment && attachment.caption !== newImage.caption) {
       
  8549         return newImage.caption;
       
  8550       }
       
  8551 
       
  8552       return currentImageCaption;
       
  8553     }
       
  8554   }, {
       
  8555     key: "onSelectImages",
       
  8556     value: function onSelectImages(newImages) {
       
  8557       var _this7 = this;
       
  8558 
       
  8559       var _this$props$attribute = this.props.attributes,
       
  8560           columns = _this$props$attribute.columns,
       
  8561           images = _this$props$attribute.images,
       
  8562           sizeSlug = _this$props$attribute.sizeSlug;
       
  8563       var attachmentCaptions = this.state.attachmentCaptions;
       
  8564       this.setState({
       
  8565         attachmentCaptions: newImages.map(function (newImage) {
       
  8566           return {
       
  8567             // Store the attachmentCaption id as a string for consistency
       
  8568             // with the type of the id in the images attribute.
       
  8569             id: Object(external_this_lodash_["toString"])(newImage.id),
       
  8570             caption: newImage.caption
       
  8571           };
       
  8572         })
       
  8573       });
       
  8574       this.setAttributes({
       
  8575         images: newImages.map(function (newImage) {
       
  8576           return gallery_edit_objectSpread({}, shared_pickRelevantMediaFiles(newImage, sizeSlug), {
       
  8577             caption: _this7.selectCaption(newImage, images, attachmentCaptions),
       
  8578             // The id value is stored in a data attribute, so when the
       
  8579             // block is parsed it's converted to a string. Converting
       
  8580             // to a string here ensures it's type is consistent.
       
  8581             id: Object(external_this_lodash_["toString"])(newImage.id)
       
  8582           });
       
  8583         }),
       
  8584         columns: columns ? Math.min(newImages.length, columns) : columns
       
  8585       });
       
  8586     }
       
  8587   }, {
       
  8588     key: "onUploadError",
       
  8589     value: function onUploadError(message) {
       
  8590       var noticeOperations = this.props.noticeOperations;
       
  8591       noticeOperations.removeAllNotices();
       
  8592       noticeOperations.createErrorNotice(message);
       
  8593     }
       
  8594   }, {
       
  8595     key: "setLinkTo",
       
  8596     value: function setLinkTo(value) {
       
  8597       this.setAttributes({
       
  8598         linkTo: value
       
  8599       });
       
  8600     }
       
  8601   }, {
       
  8602     key: "setColumnsNumber",
       
  8603     value: function setColumnsNumber(value) {
       
  8604       this.setAttributes({
       
  8605         columns: value
       
  8606       });
       
  8607     }
       
  8608   }, {
       
  8609     key: "toggleImageCrop",
       
  8610     value: function toggleImageCrop() {
       
  8611       this.setAttributes({
       
  8612         imageCrop: !this.props.attributes.imageCrop
       
  8613       });
       
  8614     }
       
  8615   }, {
       
  8616     key: "getImageCropHelp",
       
  8617     value: function getImageCropHelp(checked) {
       
  8618       return checked ? Object(external_this_wp_i18n_["__"])('Thumbnails are cropped to align.') : Object(external_this_wp_i18n_["__"])('Thumbnails are not cropped.');
       
  8619     }
       
  8620   }, {
       
  8621     key: "onFocusGalleryCaption",
       
  8622     value: function onFocusGalleryCaption() {
       
  8623       this.setState({
       
  8624         selectedImage: null
       
  8625       });
       
  8626     }
       
  8627   }, {
       
  8628     key: "setImageAttributes",
       
  8629     value: function setImageAttributes(index, attributes) {
       
  8630       var images = this.props.attributes.images;
       
  8631       var setAttributes = this.setAttributes;
       
  8632 
       
  8633       if (!images[index]) {
       
  8634         return;
       
  8635       }
       
  8636 
       
  8637       setAttributes({
       
  8638         images: [].concat(Object(toConsumableArray["a" /* default */])(images.slice(0, index)), [gallery_edit_objectSpread({}, images[index], {}, attributes)], Object(toConsumableArray["a" /* default */])(images.slice(index + 1)))
       
  8639       });
       
  8640     }
       
  8641   }, {
       
  8642     key: "getImagesSizeOptions",
       
  8643     value: function getImagesSizeOptions() {
       
  8644       var _this$props = this.props,
       
  8645           imageSizes = _this$props.imageSizes,
       
  8646           resizedImages = _this$props.resizedImages;
       
  8647       return Object(external_this_lodash_["map"])(Object(external_this_lodash_["filter"])(imageSizes, function (_ref2) {
       
  8648         var slug = _ref2.slug;
       
  8649         return Object(external_this_lodash_["some"])(resizedImages, function (sizes) {
       
  8650           return sizes[slug];
       
  8651         });
       
  8652       }), function (_ref3) {
       
  8653         var name = _ref3.name,
       
  8654             slug = _ref3.slug;
       
  8655         return {
       
  8656           value: slug,
       
  8657           label: name
       
  8658         };
       
  8659       });
       
  8660     }
       
  8661   }, {
       
  8662     key: "updateImagesSize",
       
  8663     value: function updateImagesSize(sizeSlug) {
       
  8664       var _this$props2 = this.props,
       
  8665           images = _this$props2.attributes.images,
       
  8666           resizedImages = _this$props2.resizedImages;
       
  8667       var updatedImages = Object(external_this_lodash_["map"])(images, function (image) {
       
  8668         if (!image.id) {
       
  8669           return image;
       
  8670         }
       
  8671 
       
  8672         var url = Object(external_this_lodash_["get"])(resizedImages, [parseInt(image.id, 10), sizeSlug]);
       
  8673         return gallery_edit_objectSpread({}, image, {}, url && {
       
  8674           url: url
       
  8675         });
       
  8676       });
       
  8677       this.setAttributes({
       
  8678         images: updatedImages,
       
  8679         sizeSlug: sizeSlug
       
  8680       });
       
  8681     }
       
  8682   }, {
       
  8683     key: "componentDidMount",
       
  8684     value: function componentDidMount() {
       
  8685       var _this$props3 = this.props,
       
  8686           attributes = _this$props3.attributes,
       
  8687           mediaUpload = _this$props3.mediaUpload;
       
  8688       var images = attributes.images;
       
  8689 
       
  8690       if (external_this_wp_element_["Platform"].OS === 'web' && images && images.length > 0 && Object(external_this_lodash_["every"])(images, function (_ref4) {
       
  8691         var url = _ref4.url;
       
  8692         return Object(external_this_wp_blob_["isBlobURL"])(url);
       
  8693       })) {
       
  8694         var filesList = Object(external_this_lodash_["map"])(images, function (_ref5) {
       
  8695           var url = _ref5.url;
       
  8696           return Object(external_this_wp_blob_["getBlobByURL"])(url);
       
  8697         });
       
  8698         Object(external_this_lodash_["forEach"])(images, function (_ref6) {
       
  8699           var url = _ref6.url;
       
  8700           return Object(external_this_wp_blob_["revokeBlobURL"])(url);
       
  8701         });
       
  8702         mediaUpload({
       
  8703           filesList: filesList,
       
  8704           onFileChange: this.onSelectImages,
       
  8705           allowedTypes: ['image']
       
  8706         });
       
  8707       }
       
  8708     }
       
  8709   }, {
       
  8710     key: "componentDidUpdate",
       
  8711     value: function componentDidUpdate(prevProps) {
       
  8712       // Deselect images when deselecting the block
       
  8713       if (!this.props.isSelected && prevProps.isSelected) {
       
  8714         this.setState({
       
  8715           selectedImage: null,
       
  8716           captionSelected: false
       
  8717         });
       
  8718       }
       
  8719     }
       
  8720   }, {
       
  8721     key: "render",
       
  8722     value: function render() {
       
  8723       var _this$props4 = this.props,
       
  8724           attributes = _this$props4.attributes,
       
  8725           className = _this$props4.className,
       
  8726           isSelected = _this$props4.isSelected,
       
  8727           noticeUI = _this$props4.noticeUI,
       
  8728           insertBlocksAfter = _this$props4.insertBlocksAfter;
       
  8729       var _attributes$columns = attributes.columns,
       
  8730           columns = _attributes$columns === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns,
       
  8731           imageCrop = attributes.imageCrop,
       
  8732           images = attributes.images,
       
  8733           linkTo = attributes.linkTo,
       
  8734           sizeSlug = attributes.sizeSlug;
       
  8735       var hasImages = !!images.length;
       
  8736       var mediaPlaceholder = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaPlaceholder"], {
       
  8737         addToGallery: hasImages,
       
  8738         isAppender: hasImages,
       
  8739         className: className,
       
  8740         disableMediaButtons: hasImages && !isSelected,
       
  8741         icon: !hasImages && sharedIcon,
       
  8742         labels: {
       
  8743           title: !hasImages && Object(external_this_wp_i18n_["__"])('Gallery'),
       
  8744           instructions: !hasImages && PLACEHOLDER_TEXT
       
  8745         },
       
  8746         onSelect: this.onSelectImages,
       
  8747         accept: "image/*",
       
  8748         allowedTypes: edit_ALLOWED_MEDIA_TYPES,
       
  8749         multiple: true,
       
  8750         value: images,
       
  8751         onError: this.onUploadError,
       
  8752         notices: hasImages ? undefined : noticeUI,
       
  8753         onFocus: this.props.onFocus
       
  8754       });
       
  8755 
       
  8756       if (!hasImages) {
       
  8757         return mediaPlaceholder;
       
  8758       }
       
  8759 
       
  8760       var imageSizeOptions = this.getImagesSizeOptions();
       
  8761       var shouldShowSizeOptions = hasImages && !Object(external_this_lodash_["isEmpty"])(imageSizeOptions);
       
  8762       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
  8763         title: Object(external_this_wp_i18n_["__"])('Gallery settings')
       
  8764       }, images.length > 1 && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], Object(esm_extends["a" /* default */])({
       
  8765         label: Object(external_this_wp_i18n_["__"])('Columns'),
       
  8766         value: columns,
       
  8767         onChange: this.setColumnsNumber,
       
  8768         min: 1,
       
  8769         max: Math.min(MAX_COLUMNS, images.length)
       
  8770       }, MOBILE_CONTROL_PROPS_RANGE_CONTROL, {
       
  8771         required: true
       
  8772       })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
  8773         label: Object(external_this_wp_i18n_["__"])('Crop images'),
       
  8774         checked: !!imageCrop,
       
  8775         onChange: this.toggleImageCrop,
       
  8776         help: this.getImageCropHelp
       
  8777       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], {
       
  8778         label: Object(external_this_wp_i18n_["__"])('Link to'),
       
  8779         value: linkTo,
       
  8780         onChange: this.setLinkTo,
       
  8781         options: linkOptions
       
  8782       }), shouldShowSizeOptions && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], {
       
  8783         label: Object(external_this_wp_i18n_["__"])('Image size'),
       
  8784         value: sizeSlug,
       
  8785         options: imageSizeOptions,
       
  8786         onChange: this.updateImagesSize
       
  8787       }))), noticeUI, Object(external_this_wp_element_["createElement"])(gallery_gallery, Object(esm_extends["a" /* default */])({}, this.props, {
       
  8788         selectedImage: this.state.selectedImage,
       
  8789         mediaPlaceholder: mediaPlaceholder,
       
  8790         onMoveBackward: this.onMoveBackward,
       
  8791         onMoveForward: this.onMoveForward,
       
  8792         onRemoveImage: this.onRemoveImage,
       
  8793         onSelectImage: this.onSelectImage,
       
  8794         onDeselectImage: this.onDeselectImage,
       
  8795         onSetImageAttributes: this.setImageAttributes,
       
  8796         onFocusGalleryCaption: this.onFocusGalleryCaption,
       
  8797         insertBlocksAfter: insertBlocksAfter
       
  8798       })));
       
  8799     }
       
  8800   }]);
       
  8801 
       
  8802   return GalleryEdit;
       
  8803 }(external_this_wp_element_["Component"]);
       
  8804 
       
  8805 /* harmony default export */ var gallery_edit = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, _ref7) {
       
  8806   var ids = _ref7.attributes.ids,
       
  8807       isSelected = _ref7.isSelected;
       
  8808 
       
  8809   var _select = select('core'),
       
  8810       getMedia = _select.getMedia;
       
  8811 
       
  8812   var _select2 = select('core/block-editor'),
       
  8813       getSettings = _select2.getSettings;
       
  8814 
       
  8815   var _getSettings = getSettings(),
       
  8816       imageSizes = _getSettings.imageSizes,
       
  8817       mediaUpload = _getSettings.mediaUpload;
       
  8818 
       
  8819   var resizedImages = {};
       
  8820 
       
  8821   if (isSelected) {
       
  8822     resizedImages = Object(external_this_lodash_["reduce"])(ids, function (currentResizedImages, id) {
       
  8823       if (!id) {
       
  8824         return currentResizedImages;
       
  8825       }
       
  8826 
       
  8827       var image = getMedia(id);
       
  8828       var sizes = Object(external_this_lodash_["reduce"])(imageSizes, function (currentSizes, size) {
       
  8829         var defaultUrl = Object(external_this_lodash_["get"])(image, ['sizes', size.slug, 'url']);
       
  8830         var mediaDetailsUrl = Object(external_this_lodash_["get"])(image, ['media_details', 'sizes', size.slug, 'source_url']);
       
  8831         return gallery_edit_objectSpread({}, currentSizes, Object(defineProperty["a" /* default */])({}, size.slug, defaultUrl || mediaDetailsUrl));
       
  8832       }, {});
       
  8833       return gallery_edit_objectSpread({}, currentResizedImages, Object(defineProperty["a" /* default */])({}, parseInt(id, 10), sizes));
       
  8834     }, {});
       
  8835   }
       
  8836 
       
  8837   return {
       
  8838     imageSizes: imageSizes,
       
  8839     mediaUpload: mediaUpload,
       
  8840     resizedImages: resizedImages
       
  8841   };
       
  8842 }), external_this_wp_components_["withNotices"], Object(external_this_wp_viewport_["withViewportMatch"])({
       
  8843   isNarrow: '< small'
       
  8844 })])(edit_GalleryEdit));
       
  8845 
       
  8846 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/save.js
       
  8847 
       
  8848 
       
  8849 /**
       
  8850  * WordPress dependencies
       
  8851  */
       
  8852 
       
  8853 /**
       
  8854  * Internal dependencies
       
  8855  */
       
  8856 
       
  8857 
       
  8858 function gallery_save_save(_ref) {
       
  8859   var attributes = _ref.attributes;
       
  8860   var images = attributes.images,
       
  8861       _attributes$columns = attributes.columns,
       
  8862       columns = _attributes$columns === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns,
       
  8863       imageCrop = attributes.imageCrop,
       
  8864       caption = attributes.caption,
       
  8865       linkTo = attributes.linkTo;
       
  8866   return Object(external_this_wp_element_["createElement"])("figure", {
       
  8867     className: "columns-".concat(columns, " ").concat(imageCrop ? 'is-cropped' : '')
       
  8868   }, Object(external_this_wp_element_["createElement"])("ul", {
       
  8869     className: "blocks-gallery-grid"
       
  8870   }, images.map(function (image) {
       
  8871     var href;
       
  8872 
       
  8873     switch (linkTo) {
       
  8874       case 'media':
       
  8875         href = image.fullUrl || image.url;
       
  8876         break;
       
  8877 
       
  8878       case 'attachment':
       
  8879         href = image.link;
       
  8880         break;
       
  8881     }
       
  8882 
       
  8883     var img = Object(external_this_wp_element_["createElement"])("img", {
       
  8884       src: image.url,
       
  8885       alt: image.alt,
       
  8886       "data-id": image.id,
       
  8887       "data-full-url": image.fullUrl,
       
  8888       "data-link": image.link,
       
  8889       className: image.id ? "wp-image-".concat(image.id) : null
       
  8890     });
       
  8891     return Object(external_this_wp_element_["createElement"])("li", {
       
  8892       key: image.id || image.url,
       
  8893       className: "blocks-gallery-item"
       
  8894     }, Object(external_this_wp_element_["createElement"])("figure", null, href ? Object(external_this_wp_element_["createElement"])("a", {
       
  8895       href: href
       
  8896     }, img) : img, !external_this_wp_blockEditor_["RichText"].isEmpty(image.caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  8897       tagName: "figcaption",
       
  8898       className: "blocks-gallery-item__caption",
       
  8899       value: image.caption
       
  8900     })));
       
  8901   })), !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  8902     tagName: "figcaption",
       
  8903     className: "blocks-gallery-caption",
       
  8904     value: caption
       
  8905   }));
       
  8906 }
       
  8907 
       
  8908 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/transforms.js
       
  8909 /**
       
  8910  * External dependencies
       
  8911  */
       
  8912 
       
  8913 /**
       
  8914  * WordPress dependencies
       
  8915  */
       
  8916 
       
  8917 
       
  8918 
       
  8919 /**
       
  8920  * Internal dependencies
       
  8921  */
       
  8922 
       
  8923 
       
  8924 
       
  8925 var parseShortcodeIds = function parseShortcodeIds(ids) {
       
  8926   if (!ids) {
       
  8927     return [];
       
  8928   }
       
  8929 
       
  8930   return ids.split(',').map(function (id) {
       
  8931     return parseInt(id, 10);
       
  8932   });
       
  8933 };
       
  8934 
       
  8935 var gallery_transforms_transforms = {
       
  8936   from: [{
       
  8937     type: 'block',
       
  8938     isMultiBlock: true,
       
  8939     blocks: ['core/image'],
       
  8940     transform: function transform(attributes) {
       
  8941       // Init the align and size from the first item which may be either the placeholder or an image.
       
  8942       var _attributes$ = attributes[0],
       
  8943           align = _attributes$.align,
       
  8944           sizeSlug = _attributes$.sizeSlug; // Loop through all the images and check if they have the same align and size.
       
  8945 
       
  8946       align = Object(external_this_lodash_["every"])(attributes, ['align', align]) ? align : undefined;
       
  8947       sizeSlug = Object(external_this_lodash_["every"])(attributes, ['sizeSlug', sizeSlug]) ? sizeSlug : undefined;
       
  8948       var validImages = Object(external_this_lodash_["filter"])(attributes, function (_ref) {
       
  8949         var url = _ref.url;
       
  8950         return url;
       
  8951       });
       
  8952       return Object(external_this_wp_blocks_["createBlock"])('core/gallery', {
       
  8953         images: validImages.map(function (_ref2) {
       
  8954           var id = _ref2.id,
       
  8955               url = _ref2.url,
       
  8956               alt = _ref2.alt,
       
  8957               caption = _ref2.caption;
       
  8958           return {
       
  8959             id: Object(external_this_lodash_["toString"])(id),
       
  8960             url: url,
       
  8961             alt: alt,
       
  8962             caption: caption
       
  8963           };
       
  8964         }),
       
  8965         ids: validImages.map(function (_ref3) {
       
  8966           var id = _ref3.id;
       
  8967           return parseInt(id, 10);
       
  8968         }),
       
  8969         align: align,
       
  8970         sizeSlug: sizeSlug
       
  8971       });
       
  8972     }
       
  8973   }, {
       
  8974     type: 'shortcode',
       
  8975     tag: 'gallery',
       
  8976     attributes: {
       
  8977       images: {
       
  8978         type: 'array',
       
  8979         shortcode: function shortcode(_ref4) {
       
  8980           var ids = _ref4.named.ids;
       
  8981           return parseShortcodeIds(ids).map(function (id) {
       
  8982             return {
       
  8983               id: Object(external_this_lodash_["toString"])(id)
       
  8984             };
       
  8985           });
       
  8986         }
       
  8987       },
       
  8988       ids: {
       
  8989         type: 'array',
       
  8990         shortcode: function shortcode(_ref5) {
       
  8991           var ids = _ref5.named.ids;
       
  8992           return parseShortcodeIds(ids);
       
  8993         }
       
  8994       },
       
  8995       columns: {
       
  8996         type: 'number',
       
  8997         shortcode: function shortcode(_ref6) {
       
  8998           var _ref6$named$columns = _ref6.named.columns,
       
  8999               columns = _ref6$named$columns === void 0 ? '3' : _ref6$named$columns;
       
  9000           return parseInt(columns, 10);
       
  9001         }
       
  9002       },
       
  9003       linkTo: {
       
  9004         type: 'string',
       
  9005         shortcode: function shortcode(_ref7) {
       
  9006           var _ref7$named$link = _ref7.named.link,
       
  9007               link = _ref7$named$link === void 0 ? 'attachment' : _ref7$named$link;
       
  9008           return link === 'file' ? 'media' : link;
       
  9009         }
       
  9010       }
       
  9011     }
       
  9012   }, {
       
  9013     // When created by drag and dropping multiple files on an insertion point
       
  9014     type: 'files',
       
  9015     isMatch: function isMatch(files) {
       
  9016       return files.length !== 1 && Object(external_this_lodash_["every"])(files, function (file) {
       
  9017         return file.type.indexOf('image/') === 0;
       
  9018       });
       
  9019     },
       
  9020     transform: function transform(files) {
       
  9021       var block = Object(external_this_wp_blocks_["createBlock"])('core/gallery', {
       
  9022         images: files.map(function (file) {
       
  9023           return shared_pickRelevantMediaFiles({
       
  9024             url: Object(external_this_wp_blob_["createBlobURL"])(file)
       
  9025           });
       
  9026         })
       
  9027       });
       
  9028       return block;
       
  9029     }
       
  9030   }],
       
  9031   to: [{
       
  9032     type: 'block',
       
  9033     blocks: ['core/image'],
       
  9034     transform: function transform(_ref8) {
       
  9035       var images = _ref8.images,
       
  9036           align = _ref8.align,
       
  9037           sizeSlug = _ref8.sizeSlug,
       
  9038           ids = _ref8.ids;
       
  9039 
       
  9040       if (images.length > 0) {
       
  9041         return images.map(function (_ref9, index) {
       
  9042           var url = _ref9.url,
       
  9043               alt = _ref9.alt,
       
  9044               caption = _ref9.caption;
       
  9045           return Object(external_this_wp_blocks_["createBlock"])('core/image', {
       
  9046             id: ids[index],
       
  9047             url: url,
       
  9048             alt: alt,
       
  9049             caption: caption,
       
  9050             align: align,
       
  9051             sizeSlug: sizeSlug
       
  9052           });
       
  9053         });
       
  9054       }
       
  9055 
       
  9056       return Object(external_this_wp_blocks_["createBlock"])('core/image', {
       
  9057         align: align
       
  9058       });
       
  9059     }
       
  9060   }]
       
  9061 };
       
  9062 /* harmony default export */ var gallery_transforms = (gallery_transforms_transforms);
       
  9063 
       
  9064 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/index.js
       
  9065 /**
       
  9066  * WordPress dependencies
       
  9067  */
       
  9068 
       
  9069 
       
  9070 /**
       
  9071  * Internal dependencies
       
  9072  */
       
  9073 
       
  9074 
       
  9075 
       
  9076 var gallery_metadata = {
       
  9077   name: "core/gallery",
       
  9078   category: "media",
       
  9079   attributes: {
       
  9080     images: {
       
  9081       type: "array",
       
  9082       "default": [],
       
  9083       source: "query",
       
  9084       selector: ".blocks-gallery-item",
       
  9085       query: {
       
  9086         url: {
       
  9087           type: "string",
       
  9088           source: "attribute",
       
  9089           selector: "img",
       
  9090           attribute: "src"
       
  9091         },
       
  9092         fullUrl: {
       
  9093           type: "string",
       
  9094           source: "attribute",
       
  9095           selector: "img",
       
  9096           attribute: "data-full-url"
       
  9097         },
       
  9098         link: {
       
  9099           type: "string",
       
  9100           source: "attribute",
       
  9101           selector: "img",
       
  9102           attribute: "data-link"
       
  9103         },
       
  9104         alt: {
       
  9105           type: "string",
       
  9106           source: "attribute",
       
  9107           selector: "img",
       
  9108           attribute: "alt",
       
  9109           "default": ""
       
  9110         },
       
  9111         id: {
       
  9112           type: "string",
       
  9113           source: "attribute",
       
  9114           selector: "img",
       
  9115           attribute: "data-id"
       
  9116         },
       
  9117         caption: {
       
  9118           type: "string",
       
  9119           source: "html",
       
  9120           selector: ".blocks-gallery-item__caption"
       
  9121         }
       
  9122       }
       
  9123     },
       
  9124     ids: {
       
  9125       type: "array",
       
  9126       items: {
       
  9127         type: "number"
       
  9128       },
       
  9129       "default": []
       
  9130     },
       
  9131     columns: {
       
  9132       type: "number",
       
  9133       minimum: 1,
       
  9134       maximum: 8
       
  9135     },
       
  9136     caption: {
       
  9137       type: "string",
       
  9138       source: "html",
       
  9139       selector: ".blocks-gallery-caption"
       
  9140     },
       
  9141     imageCrop: {
       
  9142       type: "boolean",
       
  9143       "default": true
       
  9144     },
       
  9145     linkTo: {
       
  9146       type: "string",
       
  9147       "default": "none"
       
  9148     },
       
  9149     sizeSlug: {
       
  9150       type: "string",
       
  9151       "default": "large"
       
  9152     }
       
  9153   },
       
  9154   supports: {
       
  9155     anchor: true,
       
  9156     align: true
       
  9157   }
       
  9158 };
       
  9159 
       
  9160 
       
  9161 var gallery_name = gallery_metadata.name;
       
  9162 
       
  9163 var gallery_settings = {
       
  9164   title: Object(external_this_wp_i18n_["__"])('Gallery'),
       
  9165   description: Object(external_this_wp_i18n_["__"])('Display multiple images in a rich gallery.'),
       
  9166   icon: library_gallery,
       
  9167   keywords: [Object(external_this_wp_i18n_["__"])('images'), Object(external_this_wp_i18n_["__"])('photos')],
       
  9168   example: {
       
  9169     attributes: {
       
  9170       columns: 2,
       
  9171       images: [{
       
  9172         url: 'https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg'
       
  9173       }, {
       
  9174         url: 'https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg'
       
  9175       }]
       
  9176     }
       
  9177   },
       
  9178   transforms: gallery_transforms,
       
  9179   edit: gallery_edit,
       
  9180   save: gallery_save_save,
       
  9181   deprecated: gallery_deprecated
       
  9182 };
       
  9183 
       
  9184 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/archive.js
       
  9185 
       
  9186 
       
  9187 /**
       
  9188  * WordPress dependencies
       
  9189  */
       
  9190 
       
  9191 var archive = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
  9192   viewBox: "0 0 24 24",
       
  9193   xmlns: "http://www.w3.org/2000/svg"
       
  9194 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
  9195   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"
       
  9196 }));
       
  9197 /* harmony default export */ var library_archive = (archive);
       
  9198 
       
  9199 // EXTERNAL MODULE: external {"this":["wp","serverSideRender"]}
       
  9200 var external_this_wp_serverSideRender_ = __webpack_require__(83);
       
  9201 var external_this_wp_serverSideRender_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_serverSideRender_);
       
  9202 
       
  9203 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/archives/edit.js
       
  9204 
       
  9205 
       
  9206 /**
       
  9207  * WordPress dependencies
       
  9208  */
       
  9209 
       
  9210 
       
  9211 
       
  9212 
       
  9213 function ArchivesEdit(_ref) {
       
  9214   var attributes = _ref.attributes,
       
  9215       setAttributes = _ref.setAttributes;
       
  9216   var showPostCounts = attributes.showPostCounts,
       
  9217       displayAsDropdown = attributes.displayAsDropdown;
       
  9218   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
  9219     title: Object(external_this_wp_i18n_["__"])('Archives settings')
       
  9220   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
  9221     label: Object(external_this_wp_i18n_["__"])('Display as dropdown'),
       
  9222     checked: displayAsDropdown,
       
  9223     onChange: function onChange() {
       
  9224       return setAttributes({
       
  9225         displayAsDropdown: !displayAsDropdown
       
  9226       });
       
  9227     }
       
  9228   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
  9229     label: Object(external_this_wp_i18n_["__"])('Show post counts'),
       
  9230     checked: showPostCounts,
       
  9231     onChange: function onChange() {
       
  9232       return setAttributes({
       
  9233         showPostCounts: !showPostCounts
       
  9234       });
       
  9235     }
       
  9236   }))), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Disabled"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_serverSideRender_default.a, {
       
  9237     block: "core/archives",
       
  9238     attributes: attributes
       
  9239   })));
       
  9240 }
       
  9241 
       
  9242 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/archives/index.js
       
  9243 /**
       
  9244  * WordPress dependencies
       
  9245  */
       
  9246 
       
  9247 
       
  9248 /**
       
  9249  * Internal dependencies
       
  9250  */
       
  9251 
       
  9252 var archives_metadata = {
       
  9253   name: "core/archives",
       
  9254   category: "widgets",
       
  9255   attributes: {
       
  9256     align: {
       
  9257       type: "string",
       
  9258       "enum": ["left", "center", "right", "wide", "full"]
       
  9259     },
       
  9260     className: {
       
  9261       type: "string"
       
  9262     },
       
  9263     displayAsDropdown: {
       
  9264       type: "boolean",
       
  9265       "default": false
       
  9266     },
       
  9267     showPostCounts: {
       
  9268       type: "boolean",
       
  9269       "default": false
       
  9270     }
       
  9271   },
       
  9272   supports: {
       
  9273     align: true,
       
  9274     html: false
       
  9275   }
       
  9276 };
       
  9277 
       
  9278 var archives_name = archives_metadata.name;
       
  9279 
       
  9280 var archives_settings = {
       
  9281   title: Object(external_this_wp_i18n_["__"])('Archives'),
       
  9282   description: Object(external_this_wp_i18n_["__"])('Display a monthly archive of your posts.'),
       
  9283   icon: library_archive,
       
  9284   example: {},
       
  9285   edit: ArchivesEdit
       
  9286 };
       
  9287 
       
  9288 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/audio.js
       
  9289 
       
  9290 
       
  9291 /**
       
  9292  * WordPress dependencies
       
  9293  */
       
  9294 
       
  9295 var audio = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
  9296   viewBox: "0 0 24 24",
       
  9297   xmlns: "http://www.w3.org/2000/svg"
       
  9298 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
  9299   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"
       
  9300 }));
       
  9301 /* harmony default export */ var library_audio = (audio);
       
  9302 
       
  9303 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/deprecated.js
       
  9304 
       
  9305 
       
  9306 /**
       
  9307  * WordPress dependencies
       
  9308  */
       
  9309 
       
  9310 /* harmony default export */ var audio_deprecated = ([{
       
  9311   attributes: {
       
  9312     src: {
       
  9313       type: 'string',
       
  9314       source: 'attribute',
       
  9315       selector: 'audio',
       
  9316       attribute: 'src'
       
  9317     },
       
  9318     caption: {
       
  9319       type: 'string',
       
  9320       source: 'html',
       
  9321       selector: 'figcaption'
       
  9322     },
       
  9323     id: {
       
  9324       type: 'number'
       
  9325     },
       
  9326     autoplay: {
       
  9327       type: 'boolean',
       
  9328       source: 'attribute',
       
  9329       selector: 'audio',
       
  9330       attribute: 'autoplay'
       
  9331     },
       
  9332     loop: {
       
  9333       type: 'boolean',
       
  9334       source: 'attribute',
       
  9335       selector: 'audio',
       
  9336       attribute: 'loop'
       
  9337     },
       
  9338     preload: {
       
  9339       type: 'string',
       
  9340       source: 'attribute',
       
  9341       selector: 'audio',
       
  9342       attribute: 'preload'
       
  9343     }
       
  9344   },
       
  9345   supports: {
       
  9346     align: true
       
  9347   },
       
  9348   save: function save(_ref) {
       
  9349     var attributes = _ref.attributes;
       
  9350     var autoplay = attributes.autoplay,
       
  9351         caption = attributes.caption,
       
  9352         loop = attributes.loop,
       
  9353         preload = attributes.preload,
       
  9354         src = attributes.src;
       
  9355     return Object(external_this_wp_element_["createElement"])("figure", null, Object(external_this_wp_element_["createElement"])("audio", {
       
  9356       controls: "controls",
       
  9357       src: src,
       
  9358       autoPlay: autoplay,
       
  9359       loop: loop,
       
  9360       preload: preload
       
  9361     }), !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  9362       tagName: "figcaption",
       
  9363       value: caption
       
  9364     }));
       
  9365   }
       
  9366 }]);
       
  9367 
       
  9368 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/edit.js
       
  9369 
       
  9370 
       
  9371 
       
  9372 
       
  9373 /**
       
  9374  * WordPress dependencies
       
  9375  */
       
  9376 
       
  9377 
       
  9378 
       
  9379 
       
  9380 
       
  9381 
       
  9382 
       
  9383 
       
  9384 /**
       
  9385  * Internal dependencies
       
  9386  */
       
  9387 
       
  9388 
       
  9389 var audio_edit_ALLOWED_MEDIA_TYPES = ['audio'];
       
  9390 
       
  9391 function AudioEdit(_ref) {
       
  9392   var attributes = _ref.attributes,
       
  9393       noticeOperations = _ref.noticeOperations,
       
  9394       setAttributes = _ref.setAttributes,
       
  9395       onReplace = _ref.onReplace,
       
  9396       isSelected = _ref.isSelected,
       
  9397       noticeUI = _ref.noticeUI,
       
  9398       insertBlocksAfter = _ref.insertBlocksAfter;
       
  9399   var id = attributes.id,
       
  9400       autoplay = attributes.autoplay,
       
  9401       caption = attributes.caption,
       
  9402       loop = attributes.loop,
       
  9403       preload = attributes.preload,
       
  9404       src = attributes.src;
       
  9405   var mediaUpload = Object(external_this_wp_data_["useSelect"])(function (select) {
       
  9406     var _select = select('core/block-editor'),
       
  9407         getSettings = _select.getSettings;
       
  9408 
       
  9409     return getSettings().mediaUpload;
       
  9410   }, []);
       
  9411   Object(external_this_wp_element_["useEffect"])(function () {
       
  9412     if (!id && Object(external_this_wp_blob_["isBlobURL"])(src)) {
       
  9413       var file = Object(external_this_wp_blob_["getBlobByURL"])(src);
       
  9414 
       
  9415       if (file) {
       
  9416         mediaUpload({
       
  9417           filesList: [file],
       
  9418           onFileChange: function onFileChange(_ref2) {
       
  9419             var _ref3 = Object(slicedToArray["a" /* default */])(_ref2, 1),
       
  9420                 _ref3$ = _ref3[0],
       
  9421                 mediaId = _ref3$.id,
       
  9422                 url = _ref3$.url;
       
  9423 
       
  9424             setAttributes({
       
  9425               id: mediaId,
       
  9426               src: url
       
  9427             });
       
  9428           },
       
  9429           onError: function onError(e) {
       
  9430             setAttributes({
       
  9431               src: undefined,
       
  9432               id: undefined
       
  9433             });
       
  9434             noticeOperations.createErrorNotice(e);
       
  9435           },
       
  9436           allowedTypes: audio_edit_ALLOWED_MEDIA_TYPES
       
  9437         });
       
  9438       }
       
  9439     }
       
  9440   }, []);
       
  9441 
       
  9442   function toggleAttribute(attribute) {
       
  9443     return function (newValue) {
       
  9444       setAttributes(Object(defineProperty["a" /* default */])({}, attribute, newValue));
       
  9445     };
       
  9446   }
       
  9447 
       
  9448   function onSelectURL(newSrc) {
       
  9449     // Set the block's src from the edit component's state, and switch off
       
  9450     // the editing UI.
       
  9451     if (newSrc !== src) {
       
  9452       // Check if there's an embed block that handles this URL.
       
  9453       var embedBlock = util_createUpgradedEmbedBlock({
       
  9454         attributes: {
       
  9455           url: newSrc
       
  9456         }
       
  9457       });
       
  9458 
       
  9459       if (undefined !== embedBlock) {
       
  9460         onReplace(embedBlock);
       
  9461         return;
       
  9462       }
       
  9463 
       
  9464       setAttributes({
       
  9465         src: newSrc,
       
  9466         id: undefined
       
  9467       });
       
  9468     }
       
  9469   }
       
  9470 
       
  9471   function onUploadError(message) {
       
  9472     noticeOperations.removeAllNotices();
       
  9473     noticeOperations.createErrorNotice(message);
       
  9474   }
       
  9475 
       
  9476   function getAutoplayHelp(checked) {
       
  9477     return checked ? Object(external_this_wp_i18n_["__"])('Note: Autoplaying audio may cause usability issues for some visitors.') : null;
       
  9478   } // const { setAttributes, isSelected, noticeUI } = this.props;
       
  9479 
       
  9480 
       
  9481   function onSelectAudio(media) {
       
  9482     if (!media || !media.url) {
       
  9483       // in this case there was an error and we should continue in the editing state
       
  9484       // previous attributes should be removed because they may be temporary blob urls
       
  9485       setAttributes({
       
  9486         src: undefined,
       
  9487         id: undefined
       
  9488       });
       
  9489       return;
       
  9490     } // sets the block's attribute and updates the edit component from the
       
  9491     // selected media, then switches off the editing UI
       
  9492 
       
  9493 
       
  9494     setAttributes({
       
  9495       src: media.url,
       
  9496       id: media.id
       
  9497     });
       
  9498   }
       
  9499 
       
  9500   if (!src) {
       
  9501     return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalBlock"].div, null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaPlaceholder"], {
       
  9502       icon: Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], {
       
  9503         icon: library_audio
       
  9504       }),
       
  9505       onSelect: onSelectAudio,
       
  9506       onSelectURL: onSelectURL,
       
  9507       accept: "audio/*",
       
  9508       allowedTypes: audio_edit_ALLOWED_MEDIA_TYPES,
       
  9509       value: attributes,
       
  9510       notices: noticeUI,
       
  9511       onError: onUploadError
       
  9512     }));
       
  9513   }
       
  9514 
       
  9515   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaReplaceFlow"], {
       
  9516     mediaId: id,
       
  9517     mediaURL: src,
       
  9518     allowedTypes: audio_edit_ALLOWED_MEDIA_TYPES,
       
  9519     accept: "audio/*",
       
  9520     onSelect: onSelectAudio,
       
  9521     onSelectURL: onSelectURL,
       
  9522     onError: onUploadError
       
  9523   })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
  9524     title: Object(external_this_wp_i18n_["__"])('Audio settings')
       
  9525   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
  9526     label: Object(external_this_wp_i18n_["__"])('Autoplay'),
       
  9527     onChange: toggleAttribute('autoplay'),
       
  9528     checked: autoplay,
       
  9529     help: getAutoplayHelp
       
  9530   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
  9531     label: Object(external_this_wp_i18n_["__"])('Loop'),
       
  9532     onChange: toggleAttribute('loop'),
       
  9533     checked: loop
       
  9534   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], {
       
  9535     label: Object(external_this_wp_i18n_["__"])('Preload'),
       
  9536     value: preload || '' // `undefined` is required for the preload attribute to be unset.
       
  9537     ,
       
  9538     onChange: function onChange(value) {
       
  9539       return setAttributes({
       
  9540         preload: value || undefined
       
  9541       });
       
  9542     },
       
  9543     options: [{
       
  9544       value: '',
       
  9545       label: Object(external_this_wp_i18n_["__"])('Browser default')
       
  9546     }, {
       
  9547       value: 'auto',
       
  9548       label: Object(external_this_wp_i18n_["__"])('Auto')
       
  9549     }, {
       
  9550       value: 'metadata',
       
  9551       label: Object(external_this_wp_i18n_["__"])('Metadata')
       
  9552     }, {
       
  9553       value: 'none',
       
  9554       label: Object(external_this_wp_i18n_["__"])('None')
       
  9555     }]
       
  9556   }))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalBlock"].figure, null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Disabled"], null, Object(external_this_wp_element_["createElement"])("audio", {
       
  9557     controls: "controls",
       
  9558     src: src
       
  9559   })), (!external_this_wp_blockEditor_["RichText"].isEmpty(caption) || isSelected) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
  9560     tagName: "figcaption",
       
  9561     placeholder: Object(external_this_wp_i18n_["__"])('Write caption…'),
       
  9562     value: caption,
       
  9563     onChange: function onChange(value) {
       
  9564       return setAttributes({
       
  9565         caption: value
       
  9566       });
       
  9567     },
       
  9568     inlineToolbar: true,
       
  9569     __unstableOnSplitAtEnd: function __unstableOnSplitAtEnd() {
       
  9570       return insertBlocksAfter(Object(external_this_wp_blocks_["createBlock"])('core/paragraph'));
       
  9571     }
       
  9572   })));
       
  9573 }
       
  9574 
       
  9575 /* harmony default export */ var audio_edit = (Object(external_this_wp_components_["withNotices"])(AudioEdit));
       
  9576 
       
  9577 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/save.js
       
  9578 
       
  9579 
       
  9580 /**
       
  9581  * WordPress dependencies
       
  9582  */
       
  9583 
       
  9584 function audio_save_save(_ref) {
       
  9585   var attributes = _ref.attributes;
       
  9586   var autoplay = attributes.autoplay,
       
  9587       caption = attributes.caption,
       
  9588       loop = attributes.loop,
       
  9589       preload = attributes.preload,
       
  9590       src = attributes.src;
       
  9591   return src && Object(external_this_wp_element_["createElement"])("figure", null, Object(external_this_wp_element_["createElement"])("audio", {
       
  9592     controls: "controls",
       
  9593     src: src,
       
  9594     autoPlay: autoplay,
       
  9595     loop: loop,
       
  9596     preload: preload
       
  9597   }), !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  9598     tagName: "figcaption",
       
  9599     value: caption
       
  9600   }));
       
  9601 }
       
  9602 
       
  9603 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/transforms.js
       
  9604 /**
       
  9605  * WordPress dependencies
       
  9606  */
       
  9607 
       
  9608 
       
  9609 var audio_transforms_transforms = {
       
  9610   from: [{
       
  9611     type: 'files',
       
  9612     isMatch: function isMatch(files) {
       
  9613       return files.length === 1 && files[0].type.indexOf('audio/') === 0;
       
  9614     },
       
  9615     transform: function transform(files) {
       
  9616       var file = files[0]; // We don't need to upload the media directly here
       
  9617       // It's already done as part of the `componentDidMount`
       
  9618       // in the audio block
       
  9619 
       
  9620       var block = Object(external_this_wp_blocks_["createBlock"])('core/audio', {
       
  9621         src: Object(external_this_wp_blob_["createBlobURL"])(file)
       
  9622       });
       
  9623       return block;
       
  9624     }
       
  9625   }, {
       
  9626     type: 'shortcode',
       
  9627     tag: 'audio',
       
  9628     attributes: {
       
  9629       src: {
       
  9630         type: 'string',
       
  9631         shortcode: function shortcode(_ref) {
       
  9632           var src = _ref.named.src;
       
  9633           return src;
       
  9634         }
       
  9635       },
       
  9636       loop: {
       
  9637         type: 'string',
       
  9638         shortcode: function shortcode(_ref2) {
       
  9639           var loop = _ref2.named.loop;
       
  9640           return loop;
       
  9641         }
       
  9642       },
       
  9643       autoplay: {
       
  9644         type: 'string',
       
  9645         shortcode: function shortcode(_ref3) {
       
  9646           var autoplay = _ref3.named.autoplay;
       
  9647           return autoplay;
       
  9648         }
       
  9649       },
       
  9650       preload: {
       
  9651         type: 'string',
       
  9652         shortcode: function shortcode(_ref4) {
       
  9653           var preload = _ref4.named.preload;
       
  9654           return preload;
       
  9655         }
       
  9656       }
       
  9657     }
       
  9658   }]
       
  9659 };
       
  9660 /* harmony default export */ var audio_transforms = (audio_transforms_transforms);
       
  9661 
       
  9662 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/index.js
       
  9663 /**
       
  9664  * WordPress dependencies
       
  9665  */
       
  9666 
       
  9667 
       
  9668 /**
       
  9669  * Internal dependencies
       
  9670  */
       
  9671 
       
  9672 
       
  9673 
       
  9674 var audio_metadata = {
       
  9675   name: "core/audio",
       
  9676   category: "media",
       
  9677   attributes: {
       
  9678     src: {
       
  9679       type: "string",
       
  9680       source: "attribute",
       
  9681       selector: "audio",
       
  9682       attribute: "src"
       
  9683     },
       
  9684     caption: {
       
  9685       type: "string",
       
  9686       source: "html",
       
  9687       selector: "figcaption"
       
  9688     },
       
  9689     id: {
       
  9690       type: "number"
       
  9691     },
       
  9692     autoplay: {
       
  9693       type: "boolean",
       
  9694       source: "attribute",
       
  9695       selector: "audio",
       
  9696       attribute: "autoplay"
       
  9697     },
       
  9698     loop: {
       
  9699       type: "boolean",
       
  9700       source: "attribute",
       
  9701       selector: "audio",
       
  9702       attribute: "loop"
       
  9703     },
       
  9704     preload: {
       
  9705       type: "string",
       
  9706       source: "attribute",
       
  9707       selector: "audio",
       
  9708       attribute: "preload"
       
  9709     }
       
  9710   },
       
  9711   supports: {
       
  9712     anchor: true,
       
  9713     align: true,
       
  9714     lightBlockWrapper: true
       
  9715   }
       
  9716 };
       
  9717 
       
  9718 
       
  9719 var audio_name = audio_metadata.name;
       
  9720 
       
  9721 var audio_settings = {
       
  9722   title: Object(external_this_wp_i18n_["__"])('Audio'),
       
  9723   description: Object(external_this_wp_i18n_["__"])('Embed a simple audio player.'),
       
  9724   keywords: [Object(external_this_wp_i18n_["__"])('music'), Object(external_this_wp_i18n_["__"])('sound'), Object(external_this_wp_i18n_["__"])('podcast'), Object(external_this_wp_i18n_["__"])('recording')],
       
  9725   icon: library_audio,
       
  9726   transforms: audio_transforms,
       
  9727   deprecated: audio_deprecated,
       
  9728   edit: audio_edit,
       
  9729   save: audio_save_save
       
  9730 };
       
  9731 
       
  9732 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/button.js
       
  9733 
       
  9734 
       
  9735 /**
       
  9736  * WordPress dependencies
       
  9737  */
       
  9738 
       
  9739 var button_button = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
  9740   viewBox: "0 0 24 24",
       
  9741   xmlns: "http://www.w3.org/2000/svg"
       
  9742 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
  9743   d: "M19 6.5H5c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v7zM8 13h8v-1.5H8V13z"
       
  9744 }));
       
  9745 /* harmony default export */ var library_button = (button_button);
       
  9746 
       
  9747 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/buttons/transforms.js
       
  9748 /**
       
  9749  * WordPress dependencies
       
  9750  */
       
  9751 
       
  9752 /**
       
  9753  * Internal dependencies
       
  9754  */
       
  9755 
       
  9756 var _name$category$suppor = {
       
  9757   name: "core/buttons",
       
  9758   category: "design",
       
  9759   supports: {
       
  9760     anchor: true,
       
  9761     align: true,
       
  9762     alignWide: false,
       
  9763     lightBlockWrapper: true
       
  9764   }
       
  9765 },
       
  9766     buttons_transforms_name = _name$category$suppor.name;
       
  9767 var buttons_transforms_transforms = {
       
  9768   from: [{
       
  9769     type: 'block',
       
  9770     isMultiBlock: true,
       
  9771     blocks: ['core/button'],
       
  9772     transform: function transform(buttons) {
       
  9773       return (// Creates the buttons block
       
  9774         Object(external_this_wp_blocks_["createBlock"])(buttons_transforms_name, {}, // Loop the selected buttons
       
  9775         buttons.map(function (attributes) {
       
  9776           return (// Create singular button in the buttons block
       
  9777             Object(external_this_wp_blocks_["createBlock"])('core/button', attributes)
       
  9778           );
       
  9779         }))
       
  9780       );
       
  9781     }
       
  9782   }]
       
  9783 };
       
  9784 /* harmony default export */ var buttons_transforms = (buttons_transforms_transforms);
       
  9785 
       
  9786 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/button/deprecated.js
       
  9787 
       
  9788 
       
  9789 
       
  9790 function button_deprecated_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
  9791 
       
  9792 function button_deprecated_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { button_deprecated_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { button_deprecated_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
  9793 
       
  9794 /**
       
  9795  * External dependencies
       
  9796  */
       
  9797 
       
  9798 
       
  9799 /**
       
  9800  * WordPress dependencies
       
  9801  */
       
  9802 
       
  9803 
       
  9804 
       
  9805 var deprecated_migrateCustomColorsAndGradients = function migrateCustomColorsAndGradients(attributes) {
       
  9806   if (!attributes.customTextColor && !attributes.customBackgroundColor && !attributes.customGradient) {
       
  9807     return attributes;
       
  9808   }
       
  9809 
       
  9810   var style = {
       
  9811     color: {}
       
  9812   };
       
  9813 
       
  9814   if (attributes.customTextColor) {
       
  9815     style.color.text = attributes.customTextColor;
       
  9816   }
       
  9817 
       
  9818   if (attributes.customBackgroundColor) {
       
  9819     style.color.background = attributes.customBackgroundColor;
       
  9820   }
       
  9821 
       
  9822   if (attributes.customGradient) {
       
  9823     style.color.gradient = attributes.customGradient;
       
  9824   }
       
  9825 
       
  9826   return button_deprecated_objectSpread({}, Object(external_this_lodash_["omit"])(attributes, ['customTextColor', 'customBackgroundColor', 'customGradient']), {
       
  9827     style: style
       
  9828   });
       
  9829 };
       
  9830 
       
  9831 var deprecated_oldColorsMigration = function oldColorsMigration(attributes) {
       
  9832   return deprecated_migrateCustomColorsAndGradients(Object(external_this_lodash_["omit"])(button_deprecated_objectSpread({}, attributes, {
       
  9833     customTextColor: attributes.textColor && '#' === attributes.textColor[0] ? attributes.textColor : undefined,
       
  9834     customBackgroundColor: attributes.color && '#' === attributes.color[0] ? attributes.color : undefined
       
  9835   }), ['color', 'textColor']));
       
  9836 };
       
  9837 
       
  9838 var button_deprecated_blockAttributes = {
       
  9839   url: {
       
  9840     type: 'string',
       
  9841     source: 'attribute',
       
  9842     selector: 'a',
       
  9843     attribute: 'href'
       
  9844   },
       
  9845   title: {
       
  9846     type: 'string',
       
  9847     source: 'attribute',
       
  9848     selector: 'a',
       
  9849     attribute: 'title'
       
  9850   },
       
  9851   text: {
       
  9852     type: 'string',
       
  9853     source: 'html',
       
  9854     selector: 'a'
       
  9855   }
       
  9856 };
       
  9857 var button_deprecated_deprecated = [{
       
  9858   supports: {
       
  9859     align: true,
       
  9860     alignWide: false,
       
  9861     __experimentalColor: {
       
  9862       gradients: true
       
  9863     }
       
  9864   },
       
  9865   attributes: button_deprecated_objectSpread({}, button_deprecated_blockAttributes, {
       
  9866     linkTarget: {
       
  9867       type: 'string',
       
  9868       source: 'attribute',
       
  9869       selector: 'a',
       
  9870       attribute: 'target'
       
  9871     },
       
  9872     rel: {
       
  9873       type: 'string',
       
  9874       source: 'attribute',
       
  9875       selector: 'a',
       
  9876       attribute: 'rel'
       
  9877     },
       
  9878     placeholder: {
       
  9879       type: 'string'
       
  9880     },
       
  9881     borderRadius: {
       
  9882       type: 'number'
       
  9883     },
       
  9884     backgroundColor: {
       
  9885       type: 'string'
       
  9886     },
       
  9887     textColor: {
       
  9888       type: 'string'
       
  9889     },
       
  9890     gradient: {
       
  9891       type: 'string'
       
  9892     },
       
  9893     style: {
       
  9894       type: 'object'
       
  9895     }
       
  9896   }),
       
  9897   save: function save(_ref) {
       
  9898     var attributes = _ref.attributes;
       
  9899     var borderRadius = attributes.borderRadius,
       
  9900         linkTarget = attributes.linkTarget,
       
  9901         rel = attributes.rel,
       
  9902         text = attributes.text,
       
  9903         title = attributes.title,
       
  9904         url = attributes.url;
       
  9905     var buttonClasses = classnames_default()('wp-block-button__link', {
       
  9906       'no-border-radius': borderRadius === 0
       
  9907     });
       
  9908     var buttonStyle = {
       
  9909       borderRadius: borderRadius ? borderRadius + 'px' : undefined
       
  9910     };
       
  9911     return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  9912       tagName: "a",
       
  9913       className: buttonClasses,
       
  9914       href: url,
       
  9915       title: title,
       
  9916       style: buttonStyle,
       
  9917       value: text,
       
  9918       target: linkTarget,
       
  9919       rel: rel
       
  9920     });
       
  9921   }
       
  9922 }, {
       
  9923   supports: {
       
  9924     align: true,
       
  9925     alignWide: false
       
  9926   },
       
  9927   attributes: button_deprecated_objectSpread({}, button_deprecated_blockAttributes, {
       
  9928     linkTarget: {
       
  9929       type: 'string',
       
  9930       source: 'attribute',
       
  9931       selector: 'a',
       
  9932       attribute: 'target'
       
  9933     },
       
  9934     rel: {
       
  9935       type: 'string',
       
  9936       source: 'attribute',
       
  9937       selector: 'a',
       
  9938       attribute: 'rel'
       
  9939     },
       
  9940     placeholder: {
       
  9941       type: 'string'
       
  9942     },
       
  9943     borderRadius: {
       
  9944       type: 'number'
       
  9945     },
       
  9946     backgroundColor: {
       
  9947       type: 'string'
       
  9948     },
       
  9949     textColor: {
       
  9950       type: 'string'
       
  9951     },
       
  9952     customBackgroundColor: {
       
  9953       type: 'string'
       
  9954     },
       
  9955     customTextColor: {
       
  9956       type: 'string'
       
  9957     },
       
  9958     customGradient: {
       
  9959       type: 'string'
       
  9960     },
       
  9961     gradient: {
       
  9962       type: 'string'
       
  9963     }
       
  9964   }),
       
  9965   isEligible: function isEligible(attributes) {
       
  9966     return !!attributes.customTextColor || !!attributes.customBackgroundColor || !!attributes.customGradient;
       
  9967   },
       
  9968   migrate: deprecated_migrateCustomColorsAndGradients,
       
  9969   save: function save(_ref2) {
       
  9970     var _classnames;
       
  9971 
       
  9972     var attributes = _ref2.attributes;
       
  9973     var backgroundColor = attributes.backgroundColor,
       
  9974         borderRadius = attributes.borderRadius,
       
  9975         customBackgroundColor = attributes.customBackgroundColor,
       
  9976         customTextColor = attributes.customTextColor,
       
  9977         customGradient = attributes.customGradient,
       
  9978         linkTarget = attributes.linkTarget,
       
  9979         gradient = attributes.gradient,
       
  9980         rel = attributes.rel,
       
  9981         text = attributes.text,
       
  9982         textColor = attributes.textColor,
       
  9983         title = attributes.title,
       
  9984         url = attributes.url;
       
  9985     var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
       
  9986     var backgroundClass = !customGradient && Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
       
  9987 
       
  9988     var gradientClass = Object(external_this_wp_blockEditor_["__experimentalGetGradientClass"])(gradient);
       
  9989 
       
  9990     var buttonClasses = classnames_default()('wp-block-button__link', (_classnames = {
       
  9991       'has-text-color': textColor || customTextColor
       
  9992     }, Object(defineProperty["a" /* default */])(_classnames, textClass, textClass), Object(defineProperty["a" /* default */])(_classnames, 'has-background', backgroundColor || customBackgroundColor || customGradient || gradient), Object(defineProperty["a" /* default */])(_classnames, backgroundClass, backgroundClass), Object(defineProperty["a" /* default */])(_classnames, 'no-border-radius', borderRadius === 0), Object(defineProperty["a" /* default */])(_classnames, gradientClass, gradientClass), _classnames));
       
  9993     var buttonStyle = {
       
  9994       background: customGradient ? customGradient : undefined,
       
  9995       backgroundColor: backgroundClass || customGradient || gradient ? undefined : customBackgroundColor,
       
  9996       color: textClass ? undefined : customTextColor,
       
  9997       borderRadius: borderRadius ? borderRadius + 'px' : undefined
       
  9998     }; // The use of a `title` attribute here is soft-deprecated, but still applied
       
  9999     // if it had already been assigned, for the sake of backward-compatibility.
       
 10000     // A title will no longer be assigned for new or updated button block links.
       
 10001 
       
 10002     return Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 10003       tagName: "a",
       
 10004       className: buttonClasses,
       
 10005       href: url,
       
 10006       title: title,
       
 10007       style: buttonStyle,
       
 10008       value: text,
       
 10009       target: linkTarget,
       
 10010       rel: rel
       
 10011     }));
       
 10012   }
       
 10013 }, {
       
 10014   attributes: button_deprecated_objectSpread({}, button_deprecated_blockAttributes, {
       
 10015     align: {
       
 10016       type: 'string',
       
 10017       default: 'none'
       
 10018     },
       
 10019     backgroundColor: {
       
 10020       type: 'string'
       
 10021     },
       
 10022     textColor: {
       
 10023       type: 'string'
       
 10024     },
       
 10025     customBackgroundColor: {
       
 10026       type: 'string'
       
 10027     },
       
 10028     customTextColor: {
       
 10029       type: 'string'
       
 10030     },
       
 10031     linkTarget: {
       
 10032       type: 'string',
       
 10033       source: 'attribute',
       
 10034       selector: 'a',
       
 10035       attribute: 'target'
       
 10036     },
       
 10037     rel: {
       
 10038       type: 'string',
       
 10039       source: 'attribute',
       
 10040       selector: 'a',
       
 10041       attribute: 'rel'
       
 10042     },
       
 10043     placeholder: {
       
 10044       type: 'string'
       
 10045     }
       
 10046   }),
       
 10047   isEligible: function isEligible(attribute) {
       
 10048     return attribute.className && attribute.className.includes('is-style-squared');
       
 10049   },
       
 10050   migrate: function migrate(attributes) {
       
 10051     var newClassName = attributes.className;
       
 10052 
       
 10053     if (newClassName) {
       
 10054       newClassName = newClassName.replace(/is-style-squared[\s]?/, '').trim();
       
 10055     }
       
 10056 
       
 10057     return deprecated_migrateCustomColorsAndGradients(button_deprecated_objectSpread({}, attributes, {
       
 10058       className: newClassName ? newClassName : undefined,
       
 10059       borderRadius: 0
       
 10060     }));
       
 10061   },
       
 10062   save: function save(_ref3) {
       
 10063     var _classnames2;
       
 10064 
       
 10065     var attributes = _ref3.attributes;
       
 10066     var backgroundColor = attributes.backgroundColor,
       
 10067         customBackgroundColor = attributes.customBackgroundColor,
       
 10068         customTextColor = attributes.customTextColor,
       
 10069         linkTarget = attributes.linkTarget,
       
 10070         rel = attributes.rel,
       
 10071         text = attributes.text,
       
 10072         textColor = attributes.textColor,
       
 10073         title = attributes.title,
       
 10074         url = attributes.url;
       
 10075     var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
       
 10076     var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
       
 10077     var buttonClasses = classnames_default()('wp-block-button__link', (_classnames2 = {
       
 10078       'has-text-color': textColor || customTextColor
       
 10079     }, Object(defineProperty["a" /* default */])(_classnames2, textClass, textClass), Object(defineProperty["a" /* default */])(_classnames2, 'has-background', backgroundColor || customBackgroundColor), Object(defineProperty["a" /* default */])(_classnames2, backgroundClass, backgroundClass), _classnames2));
       
 10080     var buttonStyle = {
       
 10081       backgroundColor: backgroundClass ? undefined : customBackgroundColor,
       
 10082       color: textClass ? undefined : customTextColor
       
 10083     };
       
 10084     return Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 10085       tagName: "a",
       
 10086       className: buttonClasses,
       
 10087       href: url,
       
 10088       title: title,
       
 10089       style: buttonStyle,
       
 10090       value: text,
       
 10091       target: linkTarget,
       
 10092       rel: rel
       
 10093     }));
       
 10094   }
       
 10095 }, {
       
 10096   attributes: button_deprecated_objectSpread({}, button_deprecated_blockAttributes, {
       
 10097     align: {
       
 10098       type: 'string',
       
 10099       default: 'none'
       
 10100     },
       
 10101     backgroundColor: {
       
 10102       type: 'string'
       
 10103     },
       
 10104     textColor: {
       
 10105       type: 'string'
       
 10106     },
       
 10107     customBackgroundColor: {
       
 10108       type: 'string'
       
 10109     },
       
 10110     customTextColor: {
       
 10111       type: 'string'
       
 10112     }
       
 10113   }),
       
 10114   migrate: deprecated_oldColorsMigration,
       
 10115   save: function save(_ref4) {
       
 10116     var _classnames3;
       
 10117 
       
 10118     var attributes = _ref4.attributes;
       
 10119     var url = attributes.url,
       
 10120         text = attributes.text,
       
 10121         title = attributes.title,
       
 10122         backgroundColor = attributes.backgroundColor,
       
 10123         textColor = attributes.textColor,
       
 10124         customBackgroundColor = attributes.customBackgroundColor,
       
 10125         customTextColor = attributes.customTextColor;
       
 10126     var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
       
 10127     var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
       
 10128     var buttonClasses = classnames_default()('wp-block-button__link', (_classnames3 = {
       
 10129       'has-text-color': textColor || customTextColor
       
 10130     }, Object(defineProperty["a" /* default */])(_classnames3, textClass, textClass), Object(defineProperty["a" /* default */])(_classnames3, 'has-background', backgroundColor || customBackgroundColor), Object(defineProperty["a" /* default */])(_classnames3, backgroundClass, backgroundClass), _classnames3));
       
 10131     var buttonStyle = {
       
 10132       backgroundColor: backgroundClass ? undefined : customBackgroundColor,
       
 10133       color: textClass ? undefined : customTextColor
       
 10134     };
       
 10135     return Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 10136       tagName: "a",
       
 10137       className: buttonClasses,
       
 10138       href: url,
       
 10139       title: title,
       
 10140       style: buttonStyle,
       
 10141       value: text
       
 10142     }));
       
 10143   }
       
 10144 }, {
       
 10145   attributes: button_deprecated_objectSpread({}, button_deprecated_blockAttributes, {
       
 10146     color: {
       
 10147       type: 'string'
       
 10148     },
       
 10149     textColor: {
       
 10150       type: 'string'
       
 10151     },
       
 10152     align: {
       
 10153       type: 'string',
       
 10154       default: 'none'
       
 10155     }
       
 10156   }),
       
 10157   save: function save(_ref5) {
       
 10158     var attributes = _ref5.attributes;
       
 10159     var url = attributes.url,
       
 10160         text = attributes.text,
       
 10161         title = attributes.title,
       
 10162         align = attributes.align,
       
 10163         color = attributes.color,
       
 10164         textColor = attributes.textColor;
       
 10165     var buttonStyle = {
       
 10166       backgroundColor: color,
       
 10167       color: textColor
       
 10168     };
       
 10169     var linkClass = 'wp-block-button__link';
       
 10170     return Object(external_this_wp_element_["createElement"])("div", {
       
 10171       className: "align".concat(align)
       
 10172     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 10173       tagName: "a",
       
 10174       className: linkClass,
       
 10175       href: url,
       
 10176       title: title,
       
 10177       style: buttonStyle,
       
 10178       value: text
       
 10179     }));
       
 10180   },
       
 10181   migrate: deprecated_oldColorsMigration
       
 10182 }, {
       
 10183   attributes: button_deprecated_objectSpread({}, button_deprecated_blockAttributes, {
       
 10184     color: {
       
 10185       type: 'string'
       
 10186     },
       
 10187     textColor: {
       
 10188       type: 'string'
       
 10189     },
       
 10190     align: {
       
 10191       type: 'string',
       
 10192       default: 'none'
       
 10193     }
       
 10194   }),
       
 10195   save: function save(_ref6) {
       
 10196     var attributes = _ref6.attributes;
       
 10197     var url = attributes.url,
       
 10198         text = attributes.text,
       
 10199         title = attributes.title,
       
 10200         align = attributes.align,
       
 10201         color = attributes.color,
       
 10202         textColor = attributes.textColor;
       
 10203     return Object(external_this_wp_element_["createElement"])("div", {
       
 10204       className: "align".concat(align),
       
 10205       style: {
       
 10206         backgroundColor: color
       
 10207       }
       
 10208     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 10209       tagName: "a",
       
 10210       href: url,
       
 10211       title: title,
       
 10212       style: {
       
 10213         color: textColor
       
 10214       },
       
 10215       value: text
       
 10216     }));
       
 10217   },
       
 10218   migrate: deprecated_oldColorsMigration
       
 10219 }];
       
 10220 /* harmony default export */ var button_deprecated = (button_deprecated_deprecated);
       
 10221 
       
 10222 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link.js
       
 10223 var library_link = __webpack_require__(180);
       
 10224 
       
 10225 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link-off.js
       
 10226 var link_off = __webpack_require__(205);
       
 10227 
       
 10228 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/button/color-edit.js
       
 10229 
       
 10230 
       
 10231 
       
 10232 
       
 10233 function color_edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
 10234 
       
 10235 function color_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { color_edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { color_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
 10236 
       
 10237 /**
       
 10238  * External dependencies
       
 10239  */
       
 10240 
       
 10241 /**
       
 10242  * WordPress dependencies
       
 10243  */
       
 10244 
       
 10245 
       
 10246 
       
 10247 
       
 10248 /**
       
 10249  * Internal dependencies
       
 10250  */
       
 10251 
       
 10252 
       
 10253 var isWebPlatform = external_this_wp_element_["Platform"].OS === 'web'; // The code in this file is copied entirely from the "color" and "style" support flags
       
 10254 // The flag can't be used at the moment because of the extra wrapper around
       
 10255 // the button block markup.
       
 10256 
       
 10257 function getBlockDOMNode(clientId) {
       
 10258   return document.getElementById('block-' + clientId);
       
 10259 }
       
 10260 /**
       
 10261  * Removed undefined values from nested object.
       
 10262  *
       
 10263  * @param {*} object
       
 10264  * @return {*} Object cleaned from undefined values
       
 10265  */
       
 10266 
       
 10267 
       
 10268 var color_edit_cleanEmptyObject = function cleanEmptyObject(object) {
       
 10269   if (!Object(external_this_lodash_["isObject"])(object)) {
       
 10270     return object;
       
 10271   }
       
 10272 
       
 10273   var cleanedNestedObjects = Object(external_this_lodash_["pickBy"])(Object(external_this_lodash_["mapValues"])(object, cleanEmptyObject), external_this_lodash_["identity"]);
       
 10274   return Object(external_this_lodash_["isEqual"])(cleanedNestedObjects, {}) ? undefined : cleanedNestedObjects;
       
 10275 };
       
 10276 
       
 10277 function ColorPanel(_ref) {
       
 10278   var settings = _ref.settings,
       
 10279       clientId = _ref.clientId,
       
 10280       _ref$enableContrastCh = _ref.enableContrastChecking,
       
 10281       enableContrastChecking = _ref$enableContrastCh === void 0 ? true : _ref$enableContrastCh;
       
 10282   var _window = window,
       
 10283       getComputedStyle = _window.getComputedStyle,
       
 10284       Node = _window.Node;
       
 10285 
       
 10286   var _useState = Object(external_this_wp_element_["useState"])(),
       
 10287       _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
       
 10288       detectedBackgroundColor = _useState2[0],
       
 10289       setDetectedBackgroundColor = _useState2[1];
       
 10290 
       
 10291   var _useState3 = Object(external_this_wp_element_["useState"])(),
       
 10292       _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2),
       
 10293       detectedColor = _useState4[0],
       
 10294       setDetectedColor = _useState4[1];
       
 10295 
       
 10296   var title = isWebPlatform ? Object(external_this_wp_i18n_["__"])('Color settings') : Object(external_this_wp_i18n_["__"])('Color Settings');
       
 10297   Object(external_this_wp_element_["useEffect"])(function () {
       
 10298     if (isWebPlatform && !enableContrastChecking) {
       
 10299       return;
       
 10300     }
       
 10301 
       
 10302     var colorsDetectionElement = getBlockDOMNode(clientId);
       
 10303 
       
 10304     if (!colorsDetectionElement) {
       
 10305       return;
       
 10306     }
       
 10307 
       
 10308     setDetectedColor(getComputedStyle(colorsDetectionElement).color);
       
 10309     var backgroundColorNode = colorsDetectionElement;
       
 10310     var backgroundColor = getComputedStyle(backgroundColorNode).backgroundColor;
       
 10311 
       
 10312     while (backgroundColor === 'rgba(0, 0, 0, 0)' && backgroundColorNode.parentNode && backgroundColorNode.parentNode.nodeType === Node.ELEMENT_NODE) {
       
 10313       backgroundColorNode = backgroundColorNode.parentNode;
       
 10314       backgroundColor = getComputedStyle(backgroundColorNode).backgroundColor;
       
 10315     }
       
 10316 
       
 10317     setDetectedBackgroundColor(backgroundColor);
       
 10318   });
       
 10319   return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalPanelColorGradientSettings"], {
       
 10320     title: title,
       
 10321     initialOpen: false,
       
 10322     settings: settings
       
 10323   }, isWebPlatform && enableContrastChecking && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["ContrastChecker"], {
       
 10324     backgroundColor: detectedBackgroundColor,
       
 10325     textColor: detectedColor
       
 10326   })));
       
 10327 }
       
 10328 /**
       
 10329  * Inspector control panel containing the color related configuration
       
 10330  *
       
 10331  * @param {Object} props
       
 10332  *
       
 10333  * @return {WPElement} Color edit element.
       
 10334  */
       
 10335 
       
 10336 
       
 10337 function ColorEdit(props) {
       
 10338   var _style$color2, _style$color3, _style$color4;
       
 10339 
       
 10340   var attributes = props.attributes;
       
 10341 
       
 10342   var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) {
       
 10343     return select('core/block-editor').getSettings();
       
 10344   }, []),
       
 10345       colors = _useSelect.colors,
       
 10346       gradients = _useSelect.gradients; // Shouldn't be needed but right now the ColorGradientsPanel
       
 10347   // can trigger both onChangeColor and onChangeBackground
       
 10348   // synchronously causing our two callbacks to override changes
       
 10349   // from each other.
       
 10350 
       
 10351 
       
 10352   var localAttributes = Object(external_this_wp_element_["useRef"])(attributes);
       
 10353   Object(external_this_wp_element_["useEffect"])(function () {
       
 10354     localAttributes.current = attributes;
       
 10355   }, [attributes]);
       
 10356   var style = attributes.style,
       
 10357       textColor = attributes.textColor,
       
 10358       backgroundColor = attributes.backgroundColor,
       
 10359       gradient = attributes.gradient;
       
 10360   var gradientValue;
       
 10361 
       
 10362   if (gradient) {
       
 10363     gradientValue = Object(external_this_wp_blockEditor_["getGradientValueBySlug"])(gradients, gradient);
       
 10364   } else {
       
 10365     var _style$color;
       
 10366 
       
 10367     gradientValue = style === null || style === void 0 ? void 0 : (_style$color = style.color) === null || _style$color === void 0 ? void 0 : _style$color.gradient;
       
 10368   }
       
 10369 
       
 10370   var onChangeColor = function onChangeColor(name) {
       
 10371     return function (value) {
       
 10372       var _localAttributes$curr, _localAttributes$curr2;
       
 10373 
       
 10374       var colorObject = Object(external_this_wp_blockEditor_["getColorObjectByColorValue"])(colors, value);
       
 10375       var attributeName = name + 'Color';
       
 10376 
       
 10377       var newStyle = color_edit_objectSpread({}, localAttributes.current.style, {
       
 10378         color: color_edit_objectSpread({}, (_localAttributes$curr = localAttributes.current) === null || _localAttributes$curr === void 0 ? void 0 : (_localAttributes$curr2 = _localAttributes$curr.style) === null || _localAttributes$curr2 === void 0 ? void 0 : _localAttributes$curr2.color, Object(defineProperty["a" /* default */])({}, name, (colorObject === null || colorObject === void 0 ? void 0 : colorObject.slug) ? undefined : value))
       
 10379       });
       
 10380 
       
 10381       var newNamedColor = (colorObject === null || colorObject === void 0 ? void 0 : colorObject.slug) ? colorObject.slug : undefined;
       
 10382 
       
 10383       var newAttributes = Object(defineProperty["a" /* default */])({
       
 10384         style: color_edit_cleanEmptyObject(newStyle)
       
 10385       }, attributeName, newNamedColor);
       
 10386 
       
 10387       props.setAttributes(newAttributes);
       
 10388       localAttributes.current = color_edit_objectSpread({}, localAttributes.current, {}, newAttributes);
       
 10389     };
       
 10390   };
       
 10391 
       
 10392   var onChangeGradient = function onChangeGradient(value) {
       
 10393     var slug = Object(external_this_wp_blockEditor_["getGradientSlugByValue"])(gradients, value);
       
 10394     var newAttributes;
       
 10395 
       
 10396     if (slug) {
       
 10397       var _localAttributes$curr3, _localAttributes$curr4, _localAttributes$curr5;
       
 10398 
       
 10399       var newStyle = color_edit_objectSpread({}, (_localAttributes$curr3 = localAttributes.current) === null || _localAttributes$curr3 === void 0 ? void 0 : _localAttributes$curr3.style, {
       
 10400         color: color_edit_objectSpread({}, (_localAttributes$curr4 = localAttributes.current) === null || _localAttributes$curr4 === void 0 ? void 0 : (_localAttributes$curr5 = _localAttributes$curr4.style) === null || _localAttributes$curr5 === void 0 ? void 0 : _localAttributes$curr5.color, {
       
 10401           gradient: undefined
       
 10402         })
       
 10403       });
       
 10404 
       
 10405       newAttributes = {
       
 10406         style: color_edit_cleanEmptyObject(newStyle),
       
 10407         gradient: slug
       
 10408       };
       
 10409     } else {
       
 10410       var _localAttributes$curr6, _localAttributes$curr7, _localAttributes$curr8;
       
 10411 
       
 10412       var _newStyle = color_edit_objectSpread({}, (_localAttributes$curr6 = localAttributes.current) === null || _localAttributes$curr6 === void 0 ? void 0 : _localAttributes$curr6.style, {
       
 10413         color: color_edit_objectSpread({}, (_localAttributes$curr7 = localAttributes.current) === null || _localAttributes$curr7 === void 0 ? void 0 : (_localAttributes$curr8 = _localAttributes$curr7.style) === null || _localAttributes$curr8 === void 0 ? void 0 : _localAttributes$curr8.color, {
       
 10414           gradient: value
       
 10415         })
       
 10416       });
       
 10417 
       
 10418       newAttributes = {
       
 10419         style: color_edit_cleanEmptyObject(_newStyle),
       
 10420         gradient: undefined
       
 10421       };
       
 10422     }
       
 10423 
       
 10424     props.setAttributes(newAttributes);
       
 10425     localAttributes.current = color_edit_objectSpread({}, localAttributes.current, {}, newAttributes);
       
 10426   };
       
 10427 
       
 10428   return Object(external_this_wp_element_["createElement"])(ColorPanel, {
       
 10429     enableContrastChecking: !gradient && !(style === null || style === void 0 ? void 0 : (_style$color2 = style.color) === null || _style$color2 === void 0 ? void 0 : _style$color2.gradient),
       
 10430     clientId: props.clientId,
       
 10431     settings: [{
       
 10432       label: Object(external_this_wp_i18n_["__"])('Text Color'),
       
 10433       onColorChange: onChangeColor('text'),
       
 10434       colorValue: Object(external_this_wp_blockEditor_["getColorObjectByAttributeValues"])(colors, textColor, style === null || style === void 0 ? void 0 : (_style$color3 = style.color) === null || _style$color3 === void 0 ? void 0 : _style$color3.text).color
       
 10435     }, {
       
 10436       label: Object(external_this_wp_i18n_["__"])('Background Color'),
       
 10437       onColorChange: onChangeColor('background'),
       
 10438       colorValue: Object(external_this_wp_blockEditor_["getColorObjectByAttributeValues"])(colors, backgroundColor, style === null || style === void 0 ? void 0 : (_style$color4 = style.color) === null || _style$color4 === void 0 ? void 0 : _style$color4.background).color,
       
 10439       gradientValue: gradientValue,
       
 10440       onGradientChange: onChangeGradient
       
 10441     }]
       
 10442   });
       
 10443 }
       
 10444 
       
 10445 /* harmony default export */ var color_edit = (ColorEdit);
       
 10446 
       
 10447 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/button/color-props.js
       
 10448 
       
 10449 
       
 10450 /**
       
 10451  * External dependencies
       
 10452  */
       
 10453 
       
 10454 /**
       
 10455  * WordPress dependencies
       
 10456  */
       
 10457 
       
 10458  // The code in this file is copied entirely from the "color" and "style" support flags
       
 10459 // The flag can't be used at the moment because of the extra wrapper around
       
 10460 // the button block markup.
       
 10461 
       
 10462 function getColorAndStyleProps(attributes, colors) {
       
 10463   var _style$color, _style$color2, _style$color3, _style$color4, _classnames, _style$color5, _style$color6, _style$color7, _style$color8, _style$color9, _style$color10;
       
 10464 
       
 10465   var isEdit = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
       
 10466   // I'd have prefered to avoid the "style" attribute usage here
       
 10467   var backgroundColor = attributes.backgroundColor,
       
 10468       textColor = attributes.textColor,
       
 10469       gradient = attributes.gradient,
       
 10470       style = attributes.style;
       
 10471   var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
       
 10472 
       
 10473   var gradientClass = Object(external_this_wp_blockEditor_["__experimentalGetGradientClass"])(gradient);
       
 10474 
       
 10475   var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
       
 10476   var className = classnames_default()(textClass, gradientClass, (_classnames = {}, Object(defineProperty["a" /* default */])(_classnames, backgroundClass, !(style === null || style === void 0 ? void 0 : (_style$color = style.color) === null || _style$color === void 0 ? void 0 : _style$color.gradient) && !!backgroundClass), Object(defineProperty["a" /* default */])(_classnames, 'has-text-color', textColor || (style === null || style === void 0 ? void 0 : (_style$color2 = style.color) === null || _style$color2 === void 0 ? void 0 : _style$color2.text)), Object(defineProperty["a" /* default */])(_classnames, 'has-background', backgroundColor || (style === null || style === void 0 ? void 0 : (_style$color3 = style.color) === null || _style$color3 === void 0 ? void 0 : _style$color3.background) || gradient || (style === null || style === void 0 ? void 0 : (_style$color4 = style.color) === null || _style$color4 === void 0 ? void 0 : _style$color4.gradient)), _classnames));
       
 10477   var styleProp = (style === null || style === void 0 ? void 0 : (_style$color5 = style.color) === null || _style$color5 === void 0 ? void 0 : _style$color5.background) || (style === null || style === void 0 ? void 0 : (_style$color6 = style.color) === null || _style$color6 === void 0 ? void 0 : _style$color6.text) || (style === null || style === void 0 ? void 0 : (_style$color7 = style.color) === null || _style$color7 === void 0 ? void 0 : _style$color7.gradient) ? {
       
 10478     background: (style === null || style === void 0 ? void 0 : (_style$color8 = style.color) === null || _style$color8 === void 0 ? void 0 : _style$color8.gradient) ? style.color.gradient : undefined,
       
 10479     backgroundColor: (style === null || style === void 0 ? void 0 : (_style$color9 = style.color) === null || _style$color9 === void 0 ? void 0 : _style$color9.background) ? style.color.background : undefined,
       
 10480     color: (style === null || style === void 0 ? void 0 : (_style$color10 = style.color) === null || _style$color10 === void 0 ? void 0 : _style$color10.text) ? style.color.text : undefined
       
 10481   } : {}; // This is needed only for themes that don't load their color stylesheets in the editor
       
 10482   // We force an inline style to apply the color.
       
 10483 
       
 10484   if (isEdit) {
       
 10485     if (backgroundColor) {
       
 10486       var backgroundColorObject = Object(external_this_wp_blockEditor_["getColorObjectByAttributeValues"])(colors, backgroundColor);
       
 10487       styleProp.backgroundColor = backgroundColorObject.color;
       
 10488     }
       
 10489 
       
 10490     if (textColor) {
       
 10491       var textColorObject = Object(external_this_wp_blockEditor_["getColorObjectByAttributeValues"])(colors, textColor);
       
 10492       styleProp.color = textColorObject.color;
       
 10493     }
       
 10494   }
       
 10495 
       
 10496   return {
       
 10497     className: !!className ? className : undefined,
       
 10498     style: styleProp
       
 10499   };
       
 10500 }
       
 10501 
       
 10502 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/button/edit.js
       
 10503 
       
 10504 
       
 10505 
       
 10506 
       
 10507 function button_edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
 10508 
       
 10509 function button_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { button_edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { button_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
 10510 
       
 10511 /**
       
 10512  * External dependencies
       
 10513  */
       
 10514 
       
 10515 /**
       
 10516  * WordPress dependencies
       
 10517  */
       
 10518 
       
 10519 
       
 10520 
       
 10521 
       
 10522 
       
 10523 
       
 10524 
       
 10525 
       
 10526 
       
 10527 /**
       
 10528  * Internal dependencies
       
 10529  */
       
 10530 
       
 10531 
       
 10532 
       
 10533 var edit_NEW_TAB_REL = 'noreferrer noopener';
       
 10534 var MIN_BORDER_RADIUS_VALUE = 0;
       
 10535 var MAX_BORDER_RADIUS_VALUE = 50;
       
 10536 var INITIAL_BORDER_RADIUS_POSITION = 5;
       
 10537 
       
 10538 function BorderPanel(_ref) {
       
 10539   var _ref$borderRadius = _ref.borderRadius,
       
 10540       borderRadius = _ref$borderRadius === void 0 ? '' : _ref$borderRadius,
       
 10541       setAttributes = _ref.setAttributes;
       
 10542   var initialBorderRadius = borderRadius;
       
 10543   var setBorderRadius = Object(external_this_wp_element_["useCallback"])(function (newBorderRadius) {
       
 10544     if (newBorderRadius === undefined) setAttributes({
       
 10545       borderRadius: initialBorderRadius
       
 10546     });else setAttributes({
       
 10547       borderRadius: newBorderRadius
       
 10548     });
       
 10549   }, [setAttributes]);
       
 10550   return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 10551     title: Object(external_this_wp_i18n_["__"])('Border settings')
       
 10552   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], {
       
 10553     value: borderRadius,
       
 10554     label: Object(external_this_wp_i18n_["__"])('Border radius'),
       
 10555     min: MIN_BORDER_RADIUS_VALUE,
       
 10556     max: MAX_BORDER_RADIUS_VALUE,
       
 10557     initialPosition: INITIAL_BORDER_RADIUS_POSITION,
       
 10558     allowReset: true,
       
 10559     onChange: setBorderRadius
       
 10560   }));
       
 10561 }
       
 10562 
       
 10563 function URLPicker(_ref2) {
       
 10564   var _ref4;
       
 10565 
       
 10566   var isSelected = _ref2.isSelected,
       
 10567       url = _ref2.url,
       
 10568       setAttributes = _ref2.setAttributes,
       
 10569       opensInNewTab = _ref2.opensInNewTab,
       
 10570       onToggleOpenInNewTab = _ref2.onToggleOpenInNewTab;
       
 10571 
       
 10572   var _useState = Object(external_this_wp_element_["useState"])(false),
       
 10573       _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
       
 10574       isURLPickerOpen = _useState2[0],
       
 10575       setIsURLPickerOpen = _useState2[1];
       
 10576 
       
 10577   var urlIsSet = !!url;
       
 10578   var urlIsSetandSelected = urlIsSet && isSelected;
       
 10579 
       
 10580   var openLinkControl = function openLinkControl() {
       
 10581     setIsURLPickerOpen(true);
       
 10582     return false; // prevents default behaviour for event
       
 10583   };
       
 10584 
       
 10585   var unlinkButton = function unlinkButton() {
       
 10586     setAttributes({
       
 10587       url: undefined,
       
 10588       linkTarget: undefined,
       
 10589       rel: undefined
       
 10590     });
       
 10591     setIsURLPickerOpen(false);
       
 10592   };
       
 10593 
       
 10594   var linkControl = (isURLPickerOpen || urlIsSetandSelected) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], {
       
 10595     position: "bottom center",
       
 10596     onClose: function onClose() {
       
 10597       return setIsURLPickerOpen(false);
       
 10598     }
       
 10599   }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalLinkControl"], {
       
 10600     className: "wp-block-navigation-link__inline-link-input",
       
 10601     value: {
       
 10602       url: url,
       
 10603       opensInNewTab: opensInNewTab
       
 10604     },
       
 10605     onChange: function onChange(_ref3) {
       
 10606       var _ref3$url = _ref3.url,
       
 10607           newURL = _ref3$url === void 0 ? '' : _ref3$url,
       
 10608           newOpensInNewTab = _ref3.opensInNewTab;
       
 10609       setAttributes({
       
 10610         url: newURL
       
 10611       });
       
 10612 
       
 10613       if (opensInNewTab !== newOpensInNewTab) {
       
 10614         onToggleOpenInNewTab(newOpensInNewTab);
       
 10615       }
       
 10616     }
       
 10617   }));
       
 10618   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, !urlIsSet && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarButton"], {
       
 10619     name: "link",
       
 10620     icon: library_link["a" /* default */],
       
 10621     title: Object(external_this_wp_i18n_["__"])('Link'),
       
 10622     shortcut: external_this_wp_keycodes_["displayShortcut"].primary('k'),
       
 10623     onClick: openLinkControl
       
 10624   }), urlIsSetandSelected && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarButton"], {
       
 10625     name: "link",
       
 10626     icon: link_off["a" /* default */],
       
 10627     title: Object(external_this_wp_i18n_["__"])('Unlink'),
       
 10628     shortcut: external_this_wp_keycodes_["displayShortcut"].primaryShift('k'),
       
 10629     onClick: unlinkButton,
       
 10630     isActive: true
       
 10631   }))), isSelected && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["KeyboardShortcuts"], {
       
 10632     bindGlobal: true,
       
 10633     shortcuts: (_ref4 = {}, Object(defineProperty["a" /* default */])(_ref4, external_this_wp_keycodes_["rawShortcut"].primary('k'), openLinkControl), Object(defineProperty["a" /* default */])(_ref4, external_this_wp_keycodes_["rawShortcut"].primaryShift('k'), unlinkButton), _ref4)
       
 10634   }), linkControl);
       
 10635 }
       
 10636 
       
 10637 function ButtonEdit(props) {
       
 10638   var attributes = props.attributes,
       
 10639       setAttributes = props.setAttributes,
       
 10640       className = props.className,
       
 10641       isSelected = props.isSelected,
       
 10642       onReplace = props.onReplace,
       
 10643       mergeBlocks = props.mergeBlocks;
       
 10644   var borderRadius = attributes.borderRadius,
       
 10645       linkTarget = attributes.linkTarget,
       
 10646       placeholder = attributes.placeholder,
       
 10647       rel = attributes.rel,
       
 10648       text = attributes.text,
       
 10649       url = attributes.url;
       
 10650   var onSetLinkRel = Object(external_this_wp_element_["useCallback"])(function (value) {
       
 10651     setAttributes({
       
 10652       rel: value
       
 10653     });
       
 10654   }, [setAttributes]);
       
 10655 
       
 10656   var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) {
       
 10657     return select('core/block-editor').getSettings();
       
 10658   }, []),
       
 10659       colors = _useSelect.colors;
       
 10660 
       
 10661   var onToggleOpenInNewTab = Object(external_this_wp_element_["useCallback"])(function (value) {
       
 10662     var newLinkTarget = value ? '_blank' : undefined;
       
 10663     var updatedRel = rel;
       
 10664 
       
 10665     if (newLinkTarget && !rel) {
       
 10666       updatedRel = edit_NEW_TAB_REL;
       
 10667     } else if (!newLinkTarget && rel === edit_NEW_TAB_REL) {
       
 10668       updatedRel = undefined;
       
 10669     }
       
 10670 
       
 10671     setAttributes({
       
 10672       linkTarget: newLinkTarget,
       
 10673       rel: updatedRel
       
 10674     });
       
 10675   }, [rel, setAttributes]);
       
 10676   var colorProps = getColorAndStyleProps(attributes, colors, true);
       
 10677   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(color_edit, props), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalBlock"].div, null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 10678     placeholder: placeholder || Object(external_this_wp_i18n_["__"])('Add text…'),
       
 10679     value: text,
       
 10680     onChange: function onChange(value) {
       
 10681       return setAttributes({
       
 10682         text: value
       
 10683       });
       
 10684     },
       
 10685     withoutInteractiveFormatting: true,
       
 10686     className: classnames_default()(className, 'wp-block-button__link', colorProps.className, {
       
 10687       'no-border-radius': borderRadius === 0
       
 10688     }),
       
 10689     style: button_edit_objectSpread({
       
 10690       borderRadius: borderRadius ? borderRadius + 'px' : undefined
       
 10691     }, colorProps.style),
       
 10692     onSplit: function onSplit(value) {
       
 10693       return Object(external_this_wp_blocks_["createBlock"])('core/button', button_edit_objectSpread({}, attributes, {
       
 10694         text: value
       
 10695       }));
       
 10696     },
       
 10697     onReplace: onReplace,
       
 10698     onMerge: mergeBlocks,
       
 10699     identifier: "text"
       
 10700   })), Object(external_this_wp_element_["createElement"])(URLPicker, {
       
 10701     url: url,
       
 10702     setAttributes: setAttributes,
       
 10703     isSelected: isSelected,
       
 10704     opensInNewTab: linkTarget === '_blank',
       
 10705     onToggleOpenInNewTab: onToggleOpenInNewTab
       
 10706   }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(BorderPanel, {
       
 10707     borderRadius: borderRadius,
       
 10708     setAttributes: setAttributes
       
 10709   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 10710     title: Object(external_this_wp_i18n_["__"])('Link settings')
       
 10711   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 10712     label: Object(external_this_wp_i18n_["__"])('Open in new tab'),
       
 10713     onChange: onToggleOpenInNewTab,
       
 10714     checked: linkTarget === '_blank'
       
 10715   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
       
 10716     label: Object(external_this_wp_i18n_["__"])('Link rel'),
       
 10717     value: rel || '',
       
 10718     onChange: onSetLinkRel
       
 10719   }))));
       
 10720 }
       
 10721 
       
 10722 /* harmony default export */ var button_edit = (ButtonEdit);
       
 10723 
       
 10724 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/button/save.js
       
 10725 
       
 10726 
       
 10727 
       
 10728 function save_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
 10729 
       
 10730 function save_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { save_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { save_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
 10731 
       
 10732 /**
       
 10733  * External dependencies
       
 10734  */
       
 10735 
       
 10736 /**
       
 10737  * WordPress dependencies
       
 10738  */
       
 10739 
       
 10740 
       
 10741 /**
       
 10742  * Internal dependencies
       
 10743  */
       
 10744 
       
 10745 
       
 10746 function button_save_save(_ref) {
       
 10747   var attributes = _ref.attributes;
       
 10748   var borderRadius = attributes.borderRadius,
       
 10749       linkTarget = attributes.linkTarget,
       
 10750       rel = attributes.rel,
       
 10751       text = attributes.text,
       
 10752       title = attributes.title,
       
 10753       url = attributes.url;
       
 10754   var colorProps = getColorAndStyleProps(attributes);
       
 10755   var buttonClasses = classnames_default()('wp-block-button__link', colorProps.className, {
       
 10756     'no-border-radius': borderRadius === 0
       
 10757   });
       
 10758 
       
 10759   var buttonStyle = save_objectSpread({
       
 10760     borderRadius: borderRadius ? borderRadius + 'px' : undefined
       
 10761   }, colorProps.style); // The use of a `title` attribute here is soft-deprecated, but still applied
       
 10762   // if it had already been assigned, for the sake of backward-compatibility.
       
 10763   // A title will no longer be assigned for new or updated button block links.
       
 10764 
       
 10765 
       
 10766   return Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 10767     tagName: "a",
       
 10768     className: buttonClasses,
       
 10769     href: url,
       
 10770     title: title,
       
 10771     style: buttonStyle,
       
 10772     value: text,
       
 10773     target: linkTarget,
       
 10774     rel: rel
       
 10775   }));
       
 10776 }
       
 10777 
       
 10778 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/button/index.js
       
 10779 
       
 10780 
       
 10781 function button_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
 10782 
       
 10783 function button_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { button_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { button_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
 10784 
       
 10785 /**
       
 10786  * WordPress dependencies
       
 10787  */
       
 10788 
       
 10789 
       
 10790 /**
       
 10791  * Internal dependencies
       
 10792  */
       
 10793 
       
 10794 
       
 10795 
       
 10796 var button_metadata = {
       
 10797   name: "core/button",
       
 10798   category: "design",
       
 10799   parent: ["core/buttons"],
       
 10800   attributes: {
       
 10801     url: {
       
 10802       type: "string",
       
 10803       source: "attribute",
       
 10804       selector: "a",
       
 10805       attribute: "href"
       
 10806     },
       
 10807     title: {
       
 10808       type: "string",
       
 10809       source: "attribute",
       
 10810       selector: "a",
       
 10811       attribute: "title"
       
 10812     },
       
 10813     text: {
       
 10814       type: "string",
       
 10815       source: "html",
       
 10816       selector: "a"
       
 10817     },
       
 10818     linkTarget: {
       
 10819       type: "string",
       
 10820       source: "attribute",
       
 10821       selector: "a",
       
 10822       attribute: "target"
       
 10823     },
       
 10824     rel: {
       
 10825       type: "string",
       
 10826       source: "attribute",
       
 10827       selector: "a",
       
 10828       attribute: "rel"
       
 10829     },
       
 10830     placeholder: {
       
 10831       type: "string"
       
 10832     },
       
 10833     borderRadius: {
       
 10834       type: "number"
       
 10835     },
       
 10836     style: {
       
 10837       type: "object"
       
 10838     },
       
 10839     backgroundColor: {
       
 10840       type: "string"
       
 10841     },
       
 10842     textColor: {
       
 10843       type: "string"
       
 10844     },
       
 10845     gradient: {
       
 10846       type: "string"
       
 10847     }
       
 10848   },
       
 10849   supports: {
       
 10850     anchor: true,
       
 10851     align: true,
       
 10852     alignWide: false,
       
 10853     reusable: false,
       
 10854     lightBlockWrapper: true
       
 10855   }
       
 10856 };
       
 10857 
       
 10858 var button_name = button_metadata.name;
       
 10859 
       
 10860 var button_settings = {
       
 10861   title: Object(external_this_wp_i18n_["__"])('Button'),
       
 10862   description: Object(external_this_wp_i18n_["__"])('Prompt visitors to take action with a button-style link.'),
       
 10863   icon: library_button,
       
 10864   keywords: [Object(external_this_wp_i18n_["__"])('link')],
       
 10865   example: {
       
 10866     attributes: {
       
 10867       className: 'is-style-fill',
       
 10868       backgroundColor: 'vivid-green-cyan',
       
 10869       text: Object(external_this_wp_i18n_["__"])('Call to Action')
       
 10870     }
       
 10871   },
       
 10872   styles: [{
       
 10873     name: 'fill',
       
 10874     label: Object(external_this_wp_i18n_["__"])('Fill'),
       
 10875     isDefault: true
       
 10876   }, {
       
 10877     name: 'outline',
       
 10878     label: Object(external_this_wp_i18n_["__"])('Outline')
       
 10879   }],
       
 10880   edit: button_edit,
       
 10881   save: button_save_save,
       
 10882   deprecated: button_deprecated,
       
 10883   merge: function merge(a, _ref) {
       
 10884     var _ref$text = _ref.text,
       
 10885         text = _ref$text === void 0 ? '' : _ref$text;
       
 10886     return button_objectSpread({}, a, {
       
 10887       text: (a.text || '') + text
       
 10888     });
       
 10889   }
       
 10890 };
       
 10891 
       
 10892 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/buttons/edit.js
       
 10893 
       
 10894 
       
 10895 /**
       
 10896  * WordPress dependencies
       
 10897  */
       
 10898 
       
 10899 /**
       
 10900  * Internal dependencies
       
 10901  */
       
 10902 
       
 10903 
       
 10904 var ALLOWED_BLOCKS = [button_name];
       
 10905 var BUTTONS_TEMPLATE = [['core/button']]; // Inside buttons block alignment options are not supported.
       
 10906 
       
 10907 var alignmentHooksSetting = {
       
 10908   isEmbedButton: true
       
 10909 };
       
 10910 
       
 10911 function ButtonsEdit() {
       
 10912   return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalBlock"].div, null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalAlignmentHookSettingsProvider"], {
       
 10913     value: alignmentHooksSetting
       
 10914   }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"], {
       
 10915     allowedBlocks: ALLOWED_BLOCKS,
       
 10916     template: BUTTONS_TEMPLATE,
       
 10917     orientation: "horizontal"
       
 10918   })));
       
 10919 }
       
 10920 
       
 10921 /* harmony default export */ var buttons_edit = (ButtonsEdit);
       
 10922 
       
 10923 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/buttons/save.js
       
 10924 
       
 10925 
       
 10926 /**
       
 10927  * WordPress dependencies
       
 10928  */
       
 10929 
       
 10930 function buttons_save_save() {
       
 10931   return Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null));
       
 10932 }
       
 10933 
       
 10934 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/buttons/index.js
       
 10935 /**
       
 10936  * WordPress dependencies
       
 10937  */
       
 10938 
       
 10939 
       
 10940 /**
       
 10941  * Internal dependencies
       
 10942  */
       
 10943 
       
 10944 
       
 10945 
       
 10946 var buttons_metadata = {
       
 10947   name: "core/buttons",
       
 10948   category: "design",
       
 10949   supports: {
       
 10950     anchor: true,
       
 10951     align: true,
       
 10952     alignWide: false,
       
 10953     lightBlockWrapper: true
       
 10954   }
       
 10955 };
       
 10956 
       
 10957 var buttons_name = buttons_metadata.name;
       
 10958 
       
 10959 var buttons_settings = {
       
 10960   title: Object(external_this_wp_i18n_["__"])('Buttons'),
       
 10961   description: Object(external_this_wp_i18n_["__"])('Prompt visitors to take action with a group of button-style links.'),
       
 10962   icon: library_button,
       
 10963   keywords: [Object(external_this_wp_i18n_["__"])('link')],
       
 10964   transforms: buttons_transforms,
       
 10965   edit: buttons_edit,
       
 10966   save: buttons_save_save
       
 10967 };
       
 10968 
       
 10969 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/calendar.js
       
 10970 
       
 10971 
       
 10972 /**
       
 10973  * WordPress dependencies
       
 10974  */
       
 10975 
       
 10976 var calendar = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 10977   viewBox: "0 0 24 24",
       
 10978   xmlns: "http://www.w3.org/2000/svg"
       
 10979 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 10980   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"
       
 10981 }));
       
 10982 /* harmony default export */ var library_calendar = (calendar);
       
 10983 
       
 10984 // EXTERNAL MODULE: external {"this":"moment"}
       
 10985 var external_this_moment_ = __webpack_require__(43);
       
 10986 var external_this_moment_default = /*#__PURE__*/__webpack_require__.n(external_this_moment_);
       
 10987 
       
 10988 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/calendar/edit.js
       
 10989 
       
 10990 
       
 10991 
       
 10992 
       
 10993 
       
 10994 
       
 10995 
       
 10996 
       
 10997 
       
 10998 function calendar_edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
 10999 
       
 11000 function calendar_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { calendar_edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { calendar_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
 11001 
       
 11002 function calendar_edit_createSuper(Derived) { return function () { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (calendar_edit_isNativeReflectConstruct()) { var NewTarget = Object(getPrototypeOf["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(possibleConstructorReturn["a" /* default */])(this, result); }; }
       
 11003 
       
 11004 function calendar_edit_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
       
 11005 
       
 11006 /**
       
 11007  * External dependencies
       
 11008  */
       
 11009 
       
 11010 
       
 11011 /**
       
 11012  * WordPress dependencies
       
 11013  */
       
 11014 
       
 11015 
       
 11016 
       
 11017 
       
 11018 
       
 11019 
       
 11020 var edit_CalendarEdit = /*#__PURE__*/function (_Component) {
       
 11021   Object(inherits["a" /* default */])(CalendarEdit, _Component);
       
 11022 
       
 11023   var _super = calendar_edit_createSuper(CalendarEdit);
       
 11024 
       
 11025   function CalendarEdit() {
       
 11026     var _this;
       
 11027 
       
 11028     Object(classCallCheck["a" /* default */])(this, CalendarEdit);
       
 11029 
       
 11030     _this = _super.apply(this, arguments);
       
 11031     _this.getYearMonth = memize_default()(_this.getYearMonth.bind(Object(assertThisInitialized["a" /* default */])(_this)), {
       
 11032       maxSize: 1
       
 11033     });
       
 11034     _this.getServerSideAttributes = memize_default()(_this.getServerSideAttributes.bind(Object(assertThisInitialized["a" /* default */])(_this)), {
       
 11035       maxSize: 1
       
 11036     });
       
 11037     return _this;
       
 11038   }
       
 11039 
       
 11040   Object(createClass["a" /* default */])(CalendarEdit, [{
       
 11041     key: "getYearMonth",
       
 11042     value: function getYearMonth(date) {
       
 11043       if (!date) {
       
 11044         return {};
       
 11045       }
       
 11046 
       
 11047       var momentDate = external_this_moment_default()(date);
       
 11048       return {
       
 11049         year: momentDate.year(),
       
 11050         month: momentDate.month() + 1
       
 11051       };
       
 11052     }
       
 11053   }, {
       
 11054     key: "getServerSideAttributes",
       
 11055     value: function getServerSideAttributes(attributes, date) {
       
 11056       return calendar_edit_objectSpread({}, attributes, {}, this.getYearMonth(date));
       
 11057     }
       
 11058   }, {
       
 11059     key: "render",
       
 11060     value: function render() {
       
 11061       return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Disabled"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_serverSideRender_default.a, {
       
 11062         block: "core/calendar",
       
 11063         attributes: this.getServerSideAttributes(this.props.attributes, this.props.date)
       
 11064       }));
       
 11065     }
       
 11066   }]);
       
 11067 
       
 11068   return CalendarEdit;
       
 11069 }(external_this_wp_element_["Component"]);
       
 11070 
       
 11071 /* harmony default export */ var calendar_edit = (Object(external_this_wp_data_["withSelect"])(function (select) {
       
 11072   var coreEditorSelect = select('core/editor');
       
 11073 
       
 11074   if (!coreEditorSelect) {
       
 11075     return;
       
 11076   }
       
 11077 
       
 11078   var getEditedPostAttribute = coreEditorSelect.getEditedPostAttribute;
       
 11079   var postType = getEditedPostAttribute('type'); // Dates are used to overwrite year and month used on the calendar.
       
 11080   // This overwrite should only happen for 'post' post types.
       
 11081   // For other post types the calendar always displays the current month.
       
 11082 
       
 11083   return {
       
 11084     date: postType === 'post' ? getEditedPostAttribute('date') : undefined
       
 11085   };
       
 11086 })(edit_CalendarEdit));
       
 11087 
       
 11088 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/calendar/index.js
       
 11089 /**
       
 11090  * WordPress dependencies
       
 11091  */
       
 11092 
       
 11093 
       
 11094 /**
       
 11095  * Internal dependencies
       
 11096  */
       
 11097 
       
 11098 var calendar_metadata = {
       
 11099   name: "core/calendar",
       
 11100   category: "widgets",
       
 11101   attributes: {
       
 11102     align: {
       
 11103       type: "string",
       
 11104       "enum": ["left", "center", "right", "wide", "full"]
       
 11105     },
       
 11106     className: {
       
 11107       type: "string"
       
 11108     },
       
 11109     month: {
       
 11110       type: "integer"
       
 11111     },
       
 11112     year: {
       
 11113       type: "integer"
       
 11114     }
       
 11115   },
       
 11116   supports: {
       
 11117     align: true
       
 11118   }
       
 11119 };
       
 11120 
       
 11121 var calendar_name = calendar_metadata.name;
       
 11122 
       
 11123 var calendar_settings = {
       
 11124   title: Object(external_this_wp_i18n_["__"])('Calendar'),
       
 11125   description: Object(external_this_wp_i18n_["__"])('A calendar of your site’s posts.'),
       
 11126   icon: library_calendar,
       
 11127   keywords: [Object(external_this_wp_i18n_["__"])('posts'), Object(external_this_wp_i18n_["__"])('archive')],
       
 11128   example: {},
       
 11129   edit: calendar_edit
       
 11130 };
       
 11131 
       
 11132 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/category.js
       
 11133 
       
 11134 
       
 11135 /**
       
 11136  * WordPress dependencies
       
 11137  */
       
 11138 
       
 11139 var category_category = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 11140   viewBox: "0 0 24 24",
       
 11141   xmlns: "http://www.w3.org/2000/svg"
       
 11142 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 11143   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"
       
 11144 }));
       
 11145 /* harmony default export */ var library_category = (category_category);
       
 11146 
       
 11147 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/pin.js
       
 11148 
       
 11149 
       
 11150 /**
       
 11151  * WordPress dependencies
       
 11152  */
       
 11153 
       
 11154 var pin = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 11155   xmlns: "http://www.w3.org/2000/svg",
       
 11156   viewBox: "-2 -2 24 24"
       
 11157 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 11158   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"
       
 11159 }));
       
 11160 /* harmony default export */ var library_pin = (pin);
       
 11161 
       
 11162 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/categories/edit.js
       
 11163 
       
 11164 
       
 11165 
       
 11166 
       
 11167 
       
 11168 
       
 11169 
       
 11170 
       
 11171 function categories_edit_createSuper(Derived) { return function () { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (categories_edit_isNativeReflectConstruct()) { var NewTarget = Object(getPrototypeOf["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(possibleConstructorReturn["a" /* default */])(this, result); }; }
       
 11172 
       
 11173 function categories_edit_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
       
 11174 
       
 11175 /**
       
 11176  * External dependencies
       
 11177  */
       
 11178 
       
 11179 /**
       
 11180  * WordPress dependencies
       
 11181  */
       
 11182 
       
 11183 
       
 11184 
       
 11185 
       
 11186 
       
 11187 
       
 11188 
       
 11189 
       
 11190 
       
 11191 var edit_CategoriesEdit = /*#__PURE__*/function (_Component) {
       
 11192   Object(inherits["a" /* default */])(CategoriesEdit, _Component);
       
 11193 
       
 11194   var _super = categories_edit_createSuper(CategoriesEdit);
       
 11195 
       
 11196   function CategoriesEdit() {
       
 11197     var _this;
       
 11198 
       
 11199     Object(classCallCheck["a" /* default */])(this, CategoriesEdit);
       
 11200 
       
 11201     _this = _super.apply(this, arguments);
       
 11202     _this.toggleDisplayAsDropdown = _this.toggleDisplayAsDropdown.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 11203     _this.toggleShowPostCounts = _this.toggleShowPostCounts.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 11204     _this.toggleShowHierarchy = _this.toggleShowHierarchy.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 11205     return _this;
       
 11206   }
       
 11207 
       
 11208   Object(createClass["a" /* default */])(CategoriesEdit, [{
       
 11209     key: "toggleDisplayAsDropdown",
       
 11210     value: function toggleDisplayAsDropdown() {
       
 11211       var _this$props = this.props,
       
 11212           attributes = _this$props.attributes,
       
 11213           setAttributes = _this$props.setAttributes;
       
 11214       var displayAsDropdown = attributes.displayAsDropdown;
       
 11215       setAttributes({
       
 11216         displayAsDropdown: !displayAsDropdown
       
 11217       });
       
 11218     }
       
 11219   }, {
       
 11220     key: "toggleShowPostCounts",
       
 11221     value: function toggleShowPostCounts() {
       
 11222       var _this$props2 = this.props,
       
 11223           attributes = _this$props2.attributes,
       
 11224           setAttributes = _this$props2.setAttributes;
       
 11225       var showPostCounts = attributes.showPostCounts;
       
 11226       setAttributes({
       
 11227         showPostCounts: !showPostCounts
       
 11228       });
       
 11229     }
       
 11230   }, {
       
 11231     key: "toggleShowHierarchy",
       
 11232     value: function toggleShowHierarchy() {
       
 11233       var _this$props3 = this.props,
       
 11234           attributes = _this$props3.attributes,
       
 11235           setAttributes = _this$props3.setAttributes;
       
 11236       var showHierarchy = attributes.showHierarchy;
       
 11237       setAttributes({
       
 11238         showHierarchy: !showHierarchy
       
 11239       });
       
 11240     }
       
 11241   }, {
       
 11242     key: "getCategories",
       
 11243     value: function getCategories() {
       
 11244       var parentId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
       
 11245       var categories = this.props.categories;
       
 11246 
       
 11247       if (!categories || !categories.length) {
       
 11248         return [];
       
 11249       }
       
 11250 
       
 11251       if (parentId === null) {
       
 11252         return categories;
       
 11253       }
       
 11254 
       
 11255       return categories.filter(function (category) {
       
 11256         return category.parent === parentId;
       
 11257       });
       
 11258     }
       
 11259   }, {
       
 11260     key: "getCategoryListClassName",
       
 11261     value: function getCategoryListClassName(level) {
       
 11262       return "wp-block-categories__list wp-block-categories__list-level-".concat(level);
       
 11263     }
       
 11264   }, {
       
 11265     key: "renderCategoryName",
       
 11266     value: function renderCategoryName(category) {
       
 11267       if (!category.name) {
       
 11268         return Object(external_this_wp_i18n_["__"])('(Untitled)');
       
 11269       }
       
 11270 
       
 11271       return Object(external_this_lodash_["unescape"])(category.name).trim();
       
 11272     }
       
 11273   }, {
       
 11274     key: "renderCategoryList",
       
 11275     value: function renderCategoryList() {
       
 11276       var _this2 = this;
       
 11277 
       
 11278       var showHierarchy = this.props.attributes.showHierarchy;
       
 11279       var parentId = showHierarchy ? 0 : null;
       
 11280       var categories = this.getCategories(parentId);
       
 11281       return Object(external_this_wp_element_["createElement"])("ul", {
       
 11282         className: this.getCategoryListClassName(0)
       
 11283       }, categories.map(function (category) {
       
 11284         return _this2.renderCategoryListItem(category, 0);
       
 11285       }));
       
 11286     }
       
 11287   }, {
       
 11288     key: "renderCategoryListItem",
       
 11289     value: function renderCategoryListItem(category, level) {
       
 11290       var _this3 = this;
       
 11291 
       
 11292       var _this$props$attribute = this.props.attributes,
       
 11293           showHierarchy = _this$props$attribute.showHierarchy,
       
 11294           showPostCounts = _this$props$attribute.showPostCounts;
       
 11295       var childCategories = this.getCategories(category.id);
       
 11296       return Object(external_this_wp_element_["createElement"])("li", {
       
 11297         key: category.id
       
 11298       }, Object(external_this_wp_element_["createElement"])("a", {
       
 11299         href: category.link,
       
 11300         target: "_blank",
       
 11301         rel: "noreferrer noopener"
       
 11302       }, this.renderCategoryName(category)), showPostCounts && Object(external_this_wp_element_["createElement"])("span", {
       
 11303         className: "wp-block-categories__post-count"
       
 11304       }, ' ', "(", category.count, ")"), showHierarchy && !!childCategories.length && Object(external_this_wp_element_["createElement"])("ul", {
       
 11305         className: this.getCategoryListClassName(level + 1)
       
 11306       }, childCategories.map(function (childCategory) {
       
 11307         return _this3.renderCategoryListItem(childCategory, level + 1);
       
 11308       })));
       
 11309     }
       
 11310   }, {
       
 11311     key: "renderCategoryDropdown",
       
 11312     value: function renderCategoryDropdown() {
       
 11313       var _this4 = this;
       
 11314 
       
 11315       var instanceId = this.props.instanceId;
       
 11316       var showHierarchy = this.props.attributes.showHierarchy;
       
 11317       var parentId = showHierarchy ? 0 : null;
       
 11318       var categories = this.getCategories(parentId);
       
 11319       var selectId = "blocks-category-select-".concat(instanceId);
       
 11320       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["VisuallyHidden"], {
       
 11321         as: "label",
       
 11322         htmlFor: selectId
       
 11323       }, Object(external_this_wp_i18n_["__"])('Categories')), Object(external_this_wp_element_["createElement"])("select", {
       
 11324         id: selectId,
       
 11325         className: "wp-block-categories__dropdown"
       
 11326       }, categories.map(function (category) {
       
 11327         return _this4.renderCategoryDropdownItem(category, 0);
       
 11328       })));
       
 11329     }
       
 11330   }, {
       
 11331     key: "renderCategoryDropdownItem",
       
 11332     value: function renderCategoryDropdownItem(category, level) {
       
 11333       var _this5 = this;
       
 11334 
       
 11335       var _this$props$attribute2 = this.props.attributes,
       
 11336           showHierarchy = _this$props$attribute2.showHierarchy,
       
 11337           showPostCounts = _this$props$attribute2.showPostCounts;
       
 11338       var childCategories = this.getCategories(category.id);
       
 11339       return [Object(external_this_wp_element_["createElement"])("option", {
       
 11340         key: category.id
       
 11341       }, Object(external_this_lodash_["times"])(level * 3, function () {
       
 11342         return '\xa0';
       
 11343       }), this.renderCategoryName(category), !!showPostCounts ? " (".concat(category.count, ")") : ''), showHierarchy && !!childCategories.length && childCategories.map(function (childCategory) {
       
 11344         return _this5.renderCategoryDropdownItem(childCategory, level + 1);
       
 11345       })];
       
 11346     }
       
 11347   }, {
       
 11348     key: "render",
       
 11349     value: function render() {
       
 11350       var _this$props4 = this.props,
       
 11351           attributes = _this$props4.attributes,
       
 11352           isRequesting = _this$props4.isRequesting;
       
 11353       var displayAsDropdown = attributes.displayAsDropdown,
       
 11354           showHierarchy = attributes.showHierarchy,
       
 11355           showPostCounts = attributes.showPostCounts;
       
 11356       var inspectorControls = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 11357         title: Object(external_this_wp_i18n_["__"])('Categories settings')
       
 11358       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 11359         label: Object(external_this_wp_i18n_["__"])('Display as dropdown'),
       
 11360         checked: displayAsDropdown,
       
 11361         onChange: this.toggleDisplayAsDropdown
       
 11362       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 11363         label: Object(external_this_wp_i18n_["__"])('Show hierarchy'),
       
 11364         checked: showHierarchy,
       
 11365         onChange: this.toggleShowHierarchy
       
 11366       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 11367         label: Object(external_this_wp_i18n_["__"])('Show post counts'),
       
 11368         checked: showPostCounts,
       
 11369         onChange: this.toggleShowPostCounts
       
 11370       })));
       
 11371 
       
 11372       if (isRequesting) {
       
 11373         return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, inspectorControls, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], {
       
 11374           icon: library_pin,
       
 11375           label: Object(external_this_wp_i18n_["__"])('Categories')
       
 11376         }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null)));
       
 11377       }
       
 11378 
       
 11379       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, inspectorControls, Object(external_this_wp_element_["createElement"])("div", {
       
 11380         className: this.props.className
       
 11381       }, displayAsDropdown ? this.renderCategoryDropdown() : this.renderCategoryList()));
       
 11382     }
       
 11383   }]);
       
 11384 
       
 11385   return CategoriesEdit;
       
 11386 }(external_this_wp_element_["Component"]);
       
 11387 
       
 11388 /* harmony default export */ var categories_edit = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select) {
       
 11389   var _select = select('core'),
       
 11390       getEntityRecords = _select.getEntityRecords;
       
 11391 
       
 11392   var _select2 = select('core/data'),
       
 11393       isResolving = _select2.isResolving;
       
 11394 
       
 11395   var query = {
       
 11396     per_page: -1,
       
 11397     hide_empty: true
       
 11398   };
       
 11399   return {
       
 11400     categories: getEntityRecords('taxonomy', 'category', query),
       
 11401     isRequesting: isResolving('core', 'getEntityRecords', ['taxonomy', 'category', query])
       
 11402   };
       
 11403 }), external_this_wp_compose_["withInstanceId"])(edit_CategoriesEdit));
       
 11404 
       
 11405 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/categories/index.js
       
 11406 /**
       
 11407  * WordPress dependencies
       
 11408  */
       
 11409 
       
 11410 
       
 11411 /**
       
 11412  * Internal dependencies
       
 11413  */
       
 11414 
       
 11415 var categories_metadata = {
       
 11416   name: "core/categories",
       
 11417   category: "widgets",
       
 11418   attributes: {
       
 11419     align: {
       
 11420       type: "string",
       
 11421       "enum": ["left", "center", "right", "wide", "full"]
       
 11422     },
       
 11423     className: {
       
 11424       type: "string"
       
 11425     },
       
 11426     displayAsDropdown: {
       
 11427       type: "boolean",
       
 11428       "default": false
       
 11429     },
       
 11430     showHierarchy: {
       
 11431       type: "boolean",
       
 11432       "default": false
       
 11433     },
       
 11434     showPostCounts: {
       
 11435       type: "boolean",
       
 11436       "default": false
       
 11437     }
       
 11438   },
       
 11439   supports: {
       
 11440     align: true,
       
 11441     html: false
       
 11442   }
       
 11443 };
       
 11444 
       
 11445 var categories_name = categories_metadata.name;
       
 11446 
       
 11447 var categories_settings = {
       
 11448   title: Object(external_this_wp_i18n_["__"])('Categories'),
       
 11449   description: Object(external_this_wp_i18n_["__"])('Display a list of all categories.'),
       
 11450   icon: library_category,
       
 11451   example: {},
       
 11452   edit: categories_edit
       
 11453 };
       
 11454 
       
 11455 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/code.js
       
 11456 var code = __webpack_require__(301);
       
 11457 
       
 11458 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/edit.js
       
 11459 
       
 11460 
       
 11461 /**
       
 11462  * WordPress dependencies
       
 11463  */
       
 11464 
       
 11465 /**
       
 11466  * Internal dependencies
       
 11467  */
       
 11468 
       
 11469 
       
 11470 function CodeEdit(_ref) {
       
 11471   var attributes = _ref.attributes,
       
 11472       setAttributes = _ref.setAttributes;
       
 11473   return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalBlock"].pre, null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PlainText"], {
       
 11474     __experimentalVersion: 2,
       
 11475     tagName: "code",
       
 11476     value: attributes.content,
       
 11477     onChange: function onChange(content) {
       
 11478       return setAttributes({
       
 11479         content: content
       
 11480       });
       
 11481     },
       
 11482     placeholder: Object(external_this_wp_i18n_["__"])('Write code…'),
       
 11483     "aria-label": Object(external_this_wp_i18n_["__"])('Code')
       
 11484   }));
       
 11485 }
       
 11486 
       
 11487 // EXTERNAL MODULE: external {"this":["wp","escapeHtml"]}
       
 11488 var external_this_wp_escapeHtml_ = __webpack_require__(89);
       
 11489 
       
 11490 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/utils.js
       
 11491 /**
       
 11492  * External dependencies
       
 11493  */
       
 11494 
       
 11495 /**
       
 11496  * WordPress dependencies
       
 11497  */
       
 11498 
       
 11499 
       
 11500 /**
       
 11501  * Escapes ampersands, shortcodes, and links.
       
 11502  *
       
 11503  * @param {string} content The content of a code block.
       
 11504  * @return {string} The given content with some characters escaped.
       
 11505  */
       
 11506 
       
 11507 function utils_escape(content) {
       
 11508   return Object(external_this_lodash_["flow"])(external_this_wp_escapeHtml_["escapeEditableHTML"], escapeOpeningSquareBrackets, escapeProtocolInIsolatedUrls)(content || '');
       
 11509 }
       
 11510 /**
       
 11511  * Returns the given content with all opening shortcode characters converted
       
 11512  * into their HTML entity counterpart (i.e. [ => &#91;). For instance, a
       
 11513  * shortcode like [embed] becomes &#91;embed]
       
 11514  *
       
 11515  * This function replicates the escaping of HTML tags, where a tag like
       
 11516  * <strong> becomes &lt;strong>.
       
 11517  *
       
 11518  * @param {string}  content The content of a code block.
       
 11519  * @return {string} The given content with its opening shortcode characters
       
 11520  *                  converted into their HTML entity counterpart
       
 11521  *                  (i.e. [ => &#91;)
       
 11522  */
       
 11523 
       
 11524 function escapeOpeningSquareBrackets(content) {
       
 11525   return content.replace(/\[/g, '&#91;');
       
 11526 }
       
 11527 /**
       
 11528  * Converts the first two forward slashes of any isolated URL into their HTML
       
 11529  * counterparts (i.e. // => &#47;&#47;). For instance, https://youtube.com/watch?x
       
 11530  * becomes https:&#47;&#47;youtube.com/watch?x.
       
 11531  *
       
 11532  * An isolated URL is a URL that sits in its own line, surrounded only by spacing
       
 11533  * characters.
       
 11534  *
       
 11535  * See https://github.com/WordPress/wordpress-develop/blob/5.1.1/src/wp-includes/class-wp-embed.php#L403
       
 11536  *
       
 11537  * @param {string}  content The content of a code block.
       
 11538  * @return {string} The given content with its ampersands converted into
       
 11539  *                  their HTML entity counterpart (i.e. & => &amp;)
       
 11540  */
       
 11541 
       
 11542 
       
 11543 function escapeProtocolInIsolatedUrls(content) {
       
 11544   return content.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m, '$1&#47;&#47;$2');
       
 11545 }
       
 11546 
       
 11547 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/save.js
       
 11548 
       
 11549 
       
 11550 /**
       
 11551  * Internal dependencies
       
 11552  */
       
 11553 
       
 11554 function code_save_save(_ref) {
       
 11555   var attributes = _ref.attributes;
       
 11556   return Object(external_this_wp_element_["createElement"])("pre", null, Object(external_this_wp_element_["createElement"])("code", null, utils_escape(attributes.content)));
       
 11557 }
       
 11558 
       
 11559 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/transforms.js
       
 11560 /**
       
 11561  * WordPress dependencies
       
 11562  */
       
 11563 
       
 11564 var code_transforms_transforms = {
       
 11565   from: [{
       
 11566     type: 'enter',
       
 11567     regExp: /^```$/,
       
 11568     transform: function transform() {
       
 11569       return Object(external_this_wp_blocks_["createBlock"])('core/code');
       
 11570     }
       
 11571   }, {
       
 11572     type: 'block',
       
 11573     blocks: ['core/html'],
       
 11574     transform: function transform(_ref) {
       
 11575       var content = _ref.content;
       
 11576       return Object(external_this_wp_blocks_["createBlock"])('core/code', {
       
 11577         content: content
       
 11578       });
       
 11579     }
       
 11580   }, {
       
 11581     type: 'raw',
       
 11582     isMatch: function isMatch(node) {
       
 11583       return node.nodeName === 'PRE' && node.children.length === 1 && node.firstChild.nodeName === 'CODE';
       
 11584     },
       
 11585     schema: {
       
 11586       pre: {
       
 11587         children: {
       
 11588           code: {
       
 11589             children: {
       
 11590               '#text': {}
       
 11591             }
       
 11592           }
       
 11593         }
       
 11594       }
       
 11595     }
       
 11596   }]
       
 11597 };
       
 11598 /* harmony default export */ var code_transforms = (code_transforms_transforms);
       
 11599 
       
 11600 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/index.js
       
 11601 /**
       
 11602  * WordPress dependencies
       
 11603  */
       
 11604 
       
 11605 
       
 11606 /**
       
 11607  * Internal dependencies
       
 11608  */
       
 11609 
       
 11610 
       
 11611 var code_metadata = {
       
 11612   name: "core/code",
       
 11613   category: "text",
       
 11614   attributes: {
       
 11615     content: {
       
 11616       type: "string",
       
 11617       source: "text",
       
 11618       selector: "code"
       
 11619     }
       
 11620   },
       
 11621   supports: {
       
 11622     anchor: true,
       
 11623     html: false,
       
 11624     lightBlockWrapper: true
       
 11625   }
       
 11626 };
       
 11627 
       
 11628 
       
 11629 var code_name = code_metadata.name;
       
 11630 
       
 11631 var code_settings = {
       
 11632   title: Object(external_this_wp_i18n_["__"])('Code'),
       
 11633   description: Object(external_this_wp_i18n_["__"])('Display code snippets that respect your spacing and tabs.'),
       
 11634   icon: code["a" /* default */],
       
 11635   example: {
       
 11636     attributes: {
       
 11637       /* eslint-disable @wordpress/i18n-no-collapsible-whitespace */
       
 11638       // translators: Preserve \n markers for line breaks
       
 11639       content: Object(external_this_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 );')
       
 11640       /* eslint-enable @wordpress/i18n-no-collapsible-whitespace */
       
 11641 
       
 11642     }
       
 11643   },
       
 11644   transforms: code_transforms,
       
 11645   edit: CodeEdit,
       
 11646   save: code_save_save
       
 11647 };
       
 11648 
       
 11649 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/columns.js
       
 11650 
       
 11651 
       
 11652 /**
       
 11653  * WordPress dependencies
       
 11654  */
       
 11655 
       
 11656 var columns_columns = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 11657   viewBox: "0 0 24 24",
       
 11658   xmlns: "http://www.w3.org/2000/svg"
       
 11659 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 11660   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"
       
 11661 }));
       
 11662 /* harmony default export */ var library_columns = (columns_columns);
       
 11663 
       
 11664 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/deprecated.js
       
 11665 
       
 11666 
       
 11667 
       
 11668 function columns_deprecated_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
 11669 
       
 11670 function columns_deprecated_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { columns_deprecated_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { columns_deprecated_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
 11671 
       
 11672 function _createForOfIteratorHelper(o) { if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (o = _unsupportedIterableToArray(o))) { var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var it, normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
       
 11673 
       
 11674 function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(n); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
       
 11675 
       
 11676 function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
       
 11677 
       
 11678 /**
       
 11679  * External dependencies
       
 11680  */
       
 11681 
       
 11682 
       
 11683 /**
       
 11684  * WordPress dependencies
       
 11685  */
       
 11686 
       
 11687 
       
 11688 
       
 11689 /**
       
 11690  * Given an HTML string for a deprecated columns inner block, returns the
       
 11691  * column index to which the migrated inner block should be assigned. Returns
       
 11692  * undefined if the inner block was not assigned to a column.
       
 11693  *
       
 11694  * @param {string} originalContent Deprecated Columns inner block HTML.
       
 11695  *
       
 11696  * @return {?number} Column to which inner block is to be assigned.
       
 11697  */
       
 11698 
       
 11699 function getDeprecatedLayoutColumn(originalContent) {
       
 11700   var doc = getDeprecatedLayoutColumn.doc;
       
 11701 
       
 11702   if (!doc) {
       
 11703     doc = document.implementation.createHTMLDocument('');
       
 11704     getDeprecatedLayoutColumn.doc = doc;
       
 11705   }
       
 11706 
       
 11707   var columnMatch;
       
 11708   doc.body.innerHTML = originalContent;
       
 11709 
       
 11710   var _iterator = _createForOfIteratorHelper(doc.body.firstChild.classList),
       
 11711       _step;
       
 11712 
       
 11713   try {
       
 11714     for (_iterator.s(); !(_step = _iterator.n()).done;) {
       
 11715       var classListItem = _step.value;
       
 11716 
       
 11717       if (columnMatch = classListItem.match(/^layout-column-(\d+)$/)) {
       
 11718         return Number(columnMatch[1]) - 1;
       
 11719       }
       
 11720     }
       
 11721   } catch (err) {
       
 11722     _iterator.e(err);
       
 11723   } finally {
       
 11724     _iterator.f();
       
 11725   }
       
 11726 }
       
 11727 
       
 11728 var columns_deprecated_migrateCustomColors = function migrateCustomColors(attributes) {
       
 11729   if (!attributes.customTextColor && !attributes.customBackgroundColor) {
       
 11730     return attributes;
       
 11731   }
       
 11732 
       
 11733   var style = {
       
 11734     color: {}
       
 11735   };
       
 11736 
       
 11737   if (attributes.customTextColor) {
       
 11738     style.color.text = attributes.customTextColor;
       
 11739   }
       
 11740 
       
 11741   if (attributes.customBackgroundColor) {
       
 11742     style.color.background = attributes.customBackgroundColor;
       
 11743   }
       
 11744 
       
 11745   return columns_deprecated_objectSpread({}, Object(external_this_lodash_["omit"])(attributes, ['customTextColor', 'customBackgroundColor']), {
       
 11746     style: style
       
 11747   });
       
 11748 };
       
 11749 
       
 11750 /* harmony default export */ var columns_deprecated = ([{
       
 11751   attributes: {
       
 11752     verticalAlignment: {
       
 11753       type: 'string'
       
 11754     },
       
 11755     backgroundColor: {
       
 11756       type: 'string'
       
 11757     },
       
 11758     customBackgroundColor: {
       
 11759       type: 'string'
       
 11760     },
       
 11761     customTextColor: {
       
 11762       type: 'string'
       
 11763     },
       
 11764     textColor: {
       
 11765       type: 'string'
       
 11766     }
       
 11767   },
       
 11768   migrate: columns_deprecated_migrateCustomColors,
       
 11769   save: function save(_ref) {
       
 11770     var _classnames;
       
 11771 
       
 11772     var attributes = _ref.attributes;
       
 11773     var verticalAlignment = attributes.verticalAlignment,
       
 11774         backgroundColor = attributes.backgroundColor,
       
 11775         customBackgroundColor = attributes.customBackgroundColor,
       
 11776         textColor = attributes.textColor,
       
 11777         customTextColor = attributes.customTextColor;
       
 11778     var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
       
 11779     var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
       
 11780     var className = classnames_default()((_classnames = {
       
 11781       'has-background': backgroundColor || customBackgroundColor,
       
 11782       'has-text-color': textColor || customTextColor
       
 11783     }, Object(defineProperty["a" /* default */])(_classnames, backgroundClass, backgroundClass), Object(defineProperty["a" /* default */])(_classnames, textClass, textClass), Object(defineProperty["a" /* default */])(_classnames, "are-vertically-aligned-".concat(verticalAlignment), verticalAlignment), _classnames));
       
 11784     var style = {
       
 11785       backgroundColor: backgroundClass ? undefined : customBackgroundColor,
       
 11786       color: textClass ? undefined : customTextColor
       
 11787     };
       
 11788     return Object(external_this_wp_element_["createElement"])("div", {
       
 11789       className: className ? className : undefined,
       
 11790       style: style
       
 11791     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null));
       
 11792   }
       
 11793 }, {
       
 11794   attributes: {
       
 11795     columns: {
       
 11796       type: 'number',
       
 11797       default: 2
       
 11798     }
       
 11799   },
       
 11800   isEligible: function isEligible(attributes, innerBlocks) {
       
 11801     // Since isEligible is called on every valid instance of the
       
 11802     // Columns block and a deprecation is the unlikely case due to
       
 11803     // its subsequent migration, optimize for the `false` condition
       
 11804     // by performing a naive, inaccurate pass at inner blocks.
       
 11805     var isFastPassEligible = innerBlocks.some(function (innerBlock) {
       
 11806       return /layout-column-\d+/.test(innerBlock.originalContent);
       
 11807     });
       
 11808 
       
 11809     if (!isFastPassEligible) {
       
 11810       return false;
       
 11811     } // Only if the fast pass is considered eligible is the more
       
 11812     // accurate, durable, slower condition performed.
       
 11813 
       
 11814 
       
 11815     return innerBlocks.some(function (innerBlock) {
       
 11816       return getDeprecatedLayoutColumn(innerBlock.originalContent) !== undefined;
       
 11817     });
       
 11818   },
       
 11819   migrate: function migrate(attributes, innerBlocks) {
       
 11820     var columns = innerBlocks.reduce(function (accumulator, innerBlock) {
       
 11821       var originalContent = innerBlock.originalContent;
       
 11822       var columnIndex = getDeprecatedLayoutColumn(originalContent);
       
 11823 
       
 11824       if (columnIndex === undefined) {
       
 11825         columnIndex = 0;
       
 11826       }
       
 11827 
       
 11828       if (!accumulator[columnIndex]) {
       
 11829         accumulator[columnIndex] = [];
       
 11830       }
       
 11831 
       
 11832       accumulator[columnIndex].push(innerBlock);
       
 11833       return accumulator;
       
 11834     }, []);
       
 11835     var migratedInnerBlocks = columns.map(function (columnBlocks) {
       
 11836       return Object(external_this_wp_blocks_["createBlock"])('core/column', {}, columnBlocks);
       
 11837     });
       
 11838     return [Object(external_this_lodash_["omit"])(attributes, ['columns']), migratedInnerBlocks];
       
 11839   },
       
 11840   save: function save(_ref2) {
       
 11841     var attributes = _ref2.attributes;
       
 11842     var columns = attributes.columns;
       
 11843     return Object(external_this_wp_element_["createElement"])("div", {
       
 11844       className: "has-".concat(columns, "-columns")
       
 11845     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null));
       
 11846   }
       
 11847 }, {
       
 11848   attributes: {
       
 11849     columns: {
       
 11850       type: 'number',
       
 11851       default: 2
       
 11852     }
       
 11853   },
       
 11854   migrate: function migrate(attributes, innerBlocks) {
       
 11855     attributes = Object(external_this_lodash_["omit"])(attributes, ['columns']);
       
 11856     return [attributes, innerBlocks];
       
 11857   },
       
 11858   save: function save(_ref3) {
       
 11859     var attributes = _ref3.attributes;
       
 11860     var verticalAlignment = attributes.verticalAlignment,
       
 11861         columns = attributes.columns;
       
 11862     var wrapperClasses = classnames_default()("has-".concat(columns, "-columns"), Object(defineProperty["a" /* default */])({}, "are-vertically-aligned-".concat(verticalAlignment), verticalAlignment));
       
 11863     return Object(external_this_wp_element_["createElement"])("div", {
       
 11864       className: wrapperClasses
       
 11865     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null));
       
 11866   }
       
 11867 }]);
       
 11868 
       
 11869 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/utils.js
       
 11870 
       
 11871 
       
 11872 /**
       
 11873  * External dependencies
       
 11874  */
       
 11875 
       
 11876 /**
       
 11877  * Returns a column width attribute value rounded to standard precision.
       
 11878  * Returns `undefined` if the value is not a valid finite number.
       
 11879  *
       
 11880  * @param {?number} value Raw value.
       
 11881  *
       
 11882  * @return {number} Value rounded to standard precision.
       
 11883  */
       
 11884 
       
 11885 var toWidthPrecision = function toWidthPrecision(value) {
       
 11886   return Number.isFinite(value) ? parseFloat(value.toFixed(2)) : undefined;
       
 11887 };
       
 11888 /**
       
 11889  * Returns an effective width for a given block. An effective width is equal to
       
 11890  * its attribute value if set, or a computed value assuming equal distribution.
       
 11891  *
       
 11892  * @param {WPBlock} block           Block object.
       
 11893  * @param {number}  totalBlockCount Total number of blocks in Columns.
       
 11894  *
       
 11895  * @return {number} Effective column width.
       
 11896  */
       
 11897 
       
 11898 function getEffectiveColumnWidth(block, totalBlockCount) {
       
 11899   var _block$attributes$wid = block.attributes.width,
       
 11900       width = _block$attributes$wid === void 0 ? 100 / totalBlockCount : _block$attributes$wid;
       
 11901   return toWidthPrecision(width);
       
 11902 }
       
 11903 /**
       
 11904  * Returns the total width occupied by the given set of column blocks.
       
 11905  *
       
 11906  * @param {WPBlock[]} blocks          Block objects.
       
 11907  * @param {?number}   totalBlockCount Total number of blocks in Columns.
       
 11908  *                                    Defaults to number of blocks passed.
       
 11909  *
       
 11910  * @return {number} Total width occupied by blocks.
       
 11911  */
       
 11912 
       
 11913 function getTotalColumnsWidth(blocks) {
       
 11914   var totalBlockCount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : blocks.length;
       
 11915   return Object(external_this_lodash_["sumBy"])(blocks, function (block) {
       
 11916     return getEffectiveColumnWidth(block, totalBlockCount);
       
 11917   });
       
 11918 }
       
 11919 /**
       
 11920  * Returns an object of `clientId` → `width` of effective column widths.
       
 11921  *
       
 11922  * @param {WPBlock[]} blocks          Block objects.
       
 11923  * @param {?number}   totalBlockCount Total number of blocks in Columns.
       
 11924  *                                    Defaults to number of blocks passed.
       
 11925  *
       
 11926  * @return {Object<string,number>} Column widths.
       
 11927  */
       
 11928 
       
 11929 function getColumnWidths(blocks) {
       
 11930   var totalBlockCount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : blocks.length;
       
 11931   return blocks.reduce(function (accumulator, block) {
       
 11932     var width = getEffectiveColumnWidth(block, totalBlockCount);
       
 11933     return Object.assign(accumulator, Object(defineProperty["a" /* default */])({}, block.clientId, width));
       
 11934   }, {});
       
 11935 }
       
 11936 /**
       
 11937  * Returns an object of `clientId` → `width` of column widths as redistributed
       
 11938  * proportional to their current widths, constrained or expanded to fit within
       
 11939  * the given available width.
       
 11940  *
       
 11941  * @param {WPBlock[]} blocks          Block objects.
       
 11942  * @param {number}    availableWidth  Maximum width to fit within.
       
 11943  * @param {?number}   totalBlockCount Total number of blocks in Columns.
       
 11944  *                                    Defaults to number of blocks passed.
       
 11945  *
       
 11946  * @return {Object<string,number>} Redistributed column widths.
       
 11947  */
       
 11948 
       
 11949 function getRedistributedColumnWidths(blocks, availableWidth) {
       
 11950   var totalBlockCount = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : blocks.length;
       
 11951   var totalWidth = getTotalColumnsWidth(blocks, totalBlockCount);
       
 11952   var difference = availableWidth - totalWidth;
       
 11953   var adjustment = difference / blocks.length;
       
 11954   return Object(external_this_lodash_["mapValues"])(getColumnWidths(blocks, totalBlockCount), function (width) {
       
 11955     return toWidthPrecision(width + adjustment);
       
 11956   });
       
 11957 }
       
 11958 /**
       
 11959  * Returns true if column blocks within the provided set are assigned with
       
 11960  * explicit widths, or false otherwise.
       
 11961  *
       
 11962  * @param {WPBlock[]} blocks Block objects.
       
 11963  *
       
 11964  * @return {boolean} Whether columns have explicit widths.
       
 11965  */
       
 11966 
       
 11967 function hasExplicitColumnWidths(blocks) {
       
 11968   return blocks.every(function (block) {
       
 11969     return Number.isFinite(block.attributes.width);
       
 11970   });
       
 11971 }
       
 11972 /**
       
 11973  * Returns a copy of the given set of blocks with new widths assigned from the
       
 11974  * provided object of redistributed column widths.
       
 11975  *
       
 11976  * @param {WPBlock[]}             blocks Block objects.
       
 11977  * @param {Object<string,number>} widths Redistributed column widths.
       
 11978  *
       
 11979  * @return {WPBlock[]} blocks Mapped block objects.
       
 11980  */
       
 11981 
       
 11982 function getMappedColumnWidths(blocks, widths) {
       
 11983   return blocks.map(function (block) {
       
 11984     return Object(external_this_lodash_["merge"])({}, block, {
       
 11985       attributes: {
       
 11986         width: widths[block.clientId]
       
 11987       }
       
 11988     });
       
 11989   });
       
 11990 }
       
 11991 
       
 11992 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/edit.js
       
 11993 
       
 11994 
       
 11995 
       
 11996 
       
 11997 
       
 11998 /**
       
 11999  * External dependencies
       
 12000  */
       
 12001 
       
 12002 
       
 12003 /**
       
 12004  * WordPress dependencies
       
 12005  */
       
 12006 
       
 12007 
       
 12008 
       
 12009 
       
 12010 
       
 12011 
       
 12012 /**
       
 12013  * Internal dependencies
       
 12014  */
       
 12015 
       
 12016 
       
 12017 /**
       
 12018  * Allowed blocks constant is passed to InnerBlocks precisely as specified here.
       
 12019  * The contents of the array should never change.
       
 12020  * The array should contain the name of each block that is allowed.
       
 12021  * In columns block, the only block we allow is 'core/column'.
       
 12022  *
       
 12023  * @constant
       
 12024  * @type {string[]}
       
 12025  */
       
 12026 
       
 12027 var edit_ALLOWED_BLOCKS = ['core/column'];
       
 12028 
       
 12029 function ColumnsEditContainer(_ref) {
       
 12030   var attributes = _ref.attributes,
       
 12031       updateAlignment = _ref.updateAlignment,
       
 12032       updateColumns = _ref.updateColumns,
       
 12033       clientId = _ref.clientId;
       
 12034   var verticalAlignment = attributes.verticalAlignment;
       
 12035 
       
 12036   var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) {
       
 12037     return {
       
 12038       count: select('core/block-editor').getBlockCount(clientId)
       
 12039     };
       
 12040   }, [clientId]),
       
 12041       count = _useSelect.count;
       
 12042 
       
 12043   var classes = classnames_default()(Object(defineProperty["a" /* default */])({}, "are-vertically-aligned-".concat(verticalAlignment), verticalAlignment));
       
 12044   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockVerticalAlignmentToolbar"], {
       
 12045     onChange: updateAlignment,
       
 12046     value: verticalAlignment
       
 12047   })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], {
       
 12048     label: Object(external_this_wp_i18n_["__"])('Columns'),
       
 12049     value: count,
       
 12050     onChange: function onChange(value) {
       
 12051       return updateColumns(count, value);
       
 12052     },
       
 12053     min: 2,
       
 12054     max: Math.max(6, count)
       
 12055   }), count > 6 && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Notice"], {
       
 12056     status: "warning",
       
 12057     isDismissible: false
       
 12058   }, Object(external_this_wp_i18n_["__"])('This column count exceeds the recommended amount and may cause visual breakage.')))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"], {
       
 12059     allowedBlocks: edit_ALLOWED_BLOCKS,
       
 12060     orientation: "horizontal",
       
 12061     __experimentalTagName: external_this_wp_blockEditor_["__experimentalBlock"].div,
       
 12062     __experimentalPassedProps: {
       
 12063       className: classes
       
 12064     },
       
 12065     renderAppender: false
       
 12066   }));
       
 12067 }
       
 12068 
       
 12069 var ColumnsEditContainerWrapper = Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps, registry) {
       
 12070   return {
       
 12071     /**
       
 12072      * Update all child Column blocks with a new vertical alignment setting
       
 12073      * based on whatever alignment is passed in. This allows change to parent
       
 12074      * to overide anything set on a individual column basis.
       
 12075      *
       
 12076      * @param {string} verticalAlignment the vertical alignment setting
       
 12077      */
       
 12078     updateAlignment: function updateAlignment(verticalAlignment) {
       
 12079       var clientId = ownProps.clientId,
       
 12080           setAttributes = ownProps.setAttributes;
       
 12081 
       
 12082       var _dispatch = dispatch('core/block-editor'),
       
 12083           updateBlockAttributes = _dispatch.updateBlockAttributes;
       
 12084 
       
 12085       var _registry$select = registry.select('core/block-editor'),
       
 12086           getBlockOrder = _registry$select.getBlockOrder; // Update own alignment.
       
 12087 
       
 12088 
       
 12089       setAttributes({
       
 12090         verticalAlignment: verticalAlignment
       
 12091       }); // Update all child Column Blocks to match
       
 12092 
       
 12093       var innerBlockClientIds = getBlockOrder(clientId);
       
 12094       innerBlockClientIds.forEach(function (innerBlockClientId) {
       
 12095         updateBlockAttributes(innerBlockClientId, {
       
 12096           verticalAlignment: verticalAlignment
       
 12097         });
       
 12098       });
       
 12099     },
       
 12100 
       
 12101     /**
       
 12102      * Updates the column count, including necessary revisions to child Column
       
 12103      * blocks to grant required or redistribute available space.
       
 12104      *
       
 12105      * @param {number} previousColumns Previous column count.
       
 12106      * @param {number} newColumns      New column count.
       
 12107      */
       
 12108     updateColumns: function updateColumns(previousColumns, newColumns) {
       
 12109       var clientId = ownProps.clientId;
       
 12110 
       
 12111       var _dispatch2 = dispatch('core/block-editor'),
       
 12112           replaceInnerBlocks = _dispatch2.replaceInnerBlocks;
       
 12113 
       
 12114       var _registry$select2 = registry.select('core/block-editor'),
       
 12115           getBlocks = _registry$select2.getBlocks;
       
 12116 
       
 12117       var innerBlocks = getBlocks(clientId);
       
 12118       var hasExplicitWidths = hasExplicitColumnWidths(innerBlocks); // Redistribute available width for existing inner blocks.
       
 12119 
       
 12120       var isAddingColumn = newColumns > previousColumns;
       
 12121 
       
 12122       if (isAddingColumn && hasExplicitWidths) {
       
 12123         // If adding a new column, assign width to the new column equal to
       
 12124         // as if it were `1 / columns` of the total available space.
       
 12125         var newColumnWidth = toWidthPrecision(100 / newColumns); // Redistribute in consideration of pending block insertion as
       
 12126         // constraining the available working width.
       
 12127 
       
 12128         var widths = getRedistributedColumnWidths(innerBlocks, 100 - newColumnWidth);
       
 12129         innerBlocks = [].concat(Object(toConsumableArray["a" /* default */])(getMappedColumnWidths(innerBlocks, widths)), Object(toConsumableArray["a" /* default */])(Object(external_this_lodash_["times"])(newColumns - previousColumns, function () {
       
 12130           return Object(external_this_wp_blocks_["createBlock"])('core/column', {
       
 12131             width: newColumnWidth
       
 12132           });
       
 12133         })));
       
 12134       } else if (isAddingColumn) {
       
 12135         innerBlocks = [].concat(Object(toConsumableArray["a" /* default */])(innerBlocks), Object(toConsumableArray["a" /* default */])(Object(external_this_lodash_["times"])(newColumns - previousColumns, function () {
       
 12136           return Object(external_this_wp_blocks_["createBlock"])('core/column');
       
 12137         })));
       
 12138       } else {
       
 12139         // The removed column will be the last of the inner blocks.
       
 12140         innerBlocks = Object(external_this_lodash_["dropRight"])(innerBlocks, previousColumns - newColumns);
       
 12141 
       
 12142         if (hasExplicitWidths) {
       
 12143           // Redistribute as if block is already removed.
       
 12144           var _widths = getRedistributedColumnWidths(innerBlocks, 100);
       
 12145 
       
 12146           innerBlocks = getMappedColumnWidths(innerBlocks, _widths);
       
 12147         }
       
 12148       }
       
 12149 
       
 12150       replaceInnerBlocks(clientId, innerBlocks, false);
       
 12151     }
       
 12152   };
       
 12153 })(ColumnsEditContainer);
       
 12154 
       
 12155 var edit_createBlocksFromInnerBlocksTemplate = function createBlocksFromInnerBlocksTemplate(innerBlocksTemplate) {
       
 12156   return Object(external_this_lodash_["map"])(innerBlocksTemplate, function (_ref2) {
       
 12157     var _ref3 = Object(slicedToArray["a" /* default */])(_ref2, 3),
       
 12158         name = _ref3[0],
       
 12159         attributes = _ref3[1],
       
 12160         _ref3$ = _ref3[2],
       
 12161         innerBlocks = _ref3$ === void 0 ? [] : _ref3$;
       
 12162 
       
 12163     return Object(external_this_wp_blocks_["createBlock"])(name, attributes, createBlocksFromInnerBlocksTemplate(innerBlocks));
       
 12164   });
       
 12165 };
       
 12166 
       
 12167 var edit_ColumnsEdit = function ColumnsEdit(props) {
       
 12168   var clientId = props.clientId,
       
 12169       name = props.name;
       
 12170 
       
 12171   var _useSelect2 = Object(external_this_wp_data_["useSelect"])(function (select) {
       
 12172     var _select = select('core/blocks'),
       
 12173         getBlockVariations = _select.getBlockVariations,
       
 12174         getBlockType = _select.getBlockType,
       
 12175         getDefaultBlockVariation = _select.getDefaultBlockVariation;
       
 12176 
       
 12177     return {
       
 12178       blockType: getBlockType(name),
       
 12179       defaultVariation: getDefaultBlockVariation(name, 'block'),
       
 12180       hasInnerBlocks: select('core/block-editor').getBlocks(clientId).length > 0,
       
 12181       variations: getBlockVariations(name, 'block')
       
 12182     };
       
 12183   }, [clientId, name]),
       
 12184       blockType = _useSelect2.blockType,
       
 12185       defaultVariation = _useSelect2.defaultVariation,
       
 12186       hasInnerBlocks = _useSelect2.hasInnerBlocks,
       
 12187       variations = _useSelect2.variations;
       
 12188 
       
 12189   var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'),
       
 12190       replaceInnerBlocks = _useDispatch.replaceInnerBlocks;
       
 12191 
       
 12192   if (hasInnerBlocks) {
       
 12193     return Object(external_this_wp_element_["createElement"])(ColumnsEditContainerWrapper, props);
       
 12194   }
       
 12195 
       
 12196   return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalBlock"].div, null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalBlockVariationPicker"], {
       
 12197     icon: Object(external_this_lodash_["get"])(blockType, ['icon', 'src']),
       
 12198     label: Object(external_this_lodash_["get"])(blockType, ['title']),
       
 12199     variations: variations,
       
 12200     onSelect: function onSelect() {
       
 12201       var nextVariation = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultVariation;
       
 12202 
       
 12203       if (nextVariation.attributes) {
       
 12204         props.setAttributes(nextVariation.attributes);
       
 12205       }
       
 12206 
       
 12207       if (nextVariation.innerBlocks) {
       
 12208         replaceInnerBlocks(props.clientId, edit_createBlocksFromInnerBlocksTemplate(nextVariation.innerBlocks));
       
 12209       }
       
 12210     },
       
 12211     allowSkip: true
       
 12212   }));
       
 12213 };
       
 12214 
       
 12215 /* harmony default export */ var columns_edit = (edit_ColumnsEdit);
       
 12216 
       
 12217 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/save.js
       
 12218 
       
 12219 
       
 12220 
       
 12221 /**
       
 12222  * External dependencies
       
 12223  */
       
 12224 
       
 12225 /**
       
 12226  * WordPress dependencies
       
 12227  */
       
 12228 
       
 12229 
       
 12230 function columns_save_save(_ref) {
       
 12231   var attributes = _ref.attributes;
       
 12232   var verticalAlignment = attributes.verticalAlignment;
       
 12233   var className = classnames_default()(Object(defineProperty["a" /* default */])({}, "are-vertically-aligned-".concat(verticalAlignment), verticalAlignment));
       
 12234   return Object(external_this_wp_element_["createElement"])("div", {
       
 12235     className: className ? className : undefined
       
 12236   }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null));
       
 12237 }
       
 12238 
       
 12239 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/variations.js
       
 12240 
       
 12241 
       
 12242 /**
       
 12243  * WordPress dependencies
       
 12244  */
       
 12245 
       
 12246 
       
 12247 /** @typedef {import('@wordpress/blocks').WPBlockVariation} WPBlockVariation */
       
 12248 
       
 12249 /**
       
 12250  * Template option choices for predefined columns layouts.
       
 12251  *
       
 12252  * @type {WPBlockVariation[]}
       
 12253  */
       
 12254 
       
 12255 var variations_variations = [{
       
 12256   name: 'two-columns-equal',
       
 12257   title: Object(external_this_wp_i18n_["__"])('50 / 50'),
       
 12258   description: Object(external_this_wp_i18n_["__"])('Two columns; equal split'),
       
 12259   icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
 12260     width: "48",
       
 12261     height: "48",
       
 12262     viewBox: "0 0 48 48",
       
 12263     xmlns: "http://www.w3.org/2000/svg"
       
 12264   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 12265     fillRule: "evenodd",
       
 12266     clipRule: "evenodd",
       
 12267     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"
       
 12268   })),
       
 12269   isDefault: true,
       
 12270   innerBlocks: [['core/column'], ['core/column']],
       
 12271   scope: ['block']
       
 12272 }, {
       
 12273   name: 'two-columns-one-third-two-thirds',
       
 12274   title: Object(external_this_wp_i18n_["__"])('30 / 70'),
       
 12275   description: Object(external_this_wp_i18n_["__"])('Two columns; one-third, two-thirds split'),
       
 12276   icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
 12277     width: "48",
       
 12278     height: "48",
       
 12279     viewBox: "0 0 48 48",
       
 12280     xmlns: "http://www.w3.org/2000/svg"
       
 12281   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 12282     fillRule: "evenodd",
       
 12283     clipRule: "evenodd",
       
 12284     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"
       
 12285   })),
       
 12286   innerBlocks: [['core/column', {
       
 12287     width: 33.33
       
 12288   }], ['core/column', {
       
 12289     width: 66.66
       
 12290   }]],
       
 12291   scope: ['block']
       
 12292 }, {
       
 12293   name: 'two-columns-two-thirds-one-third',
       
 12294   title: Object(external_this_wp_i18n_["__"])('70 / 30'),
       
 12295   description: Object(external_this_wp_i18n_["__"])('Two columns; two-thirds, one-third split'),
       
 12296   icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
 12297     width: "48",
       
 12298     height: "48",
       
 12299     viewBox: "0 0 48 48",
       
 12300     xmlns: "http://www.w3.org/2000/svg"
       
 12301   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 12302     fillRule: "evenodd",
       
 12303     clipRule: "evenodd",
       
 12304     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"
       
 12305   })),
       
 12306   innerBlocks: [['core/column', {
       
 12307     width: 66.66
       
 12308   }], ['core/column', {
       
 12309     width: 33.33
       
 12310   }]],
       
 12311   scope: ['block']
       
 12312 }, {
       
 12313   name: 'three-columns-equal',
       
 12314   title: Object(external_this_wp_i18n_["__"])('33 / 33 / 33'),
       
 12315   description: Object(external_this_wp_i18n_["__"])('Three columns; equal split'),
       
 12316   icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
 12317     width: "48",
       
 12318     height: "48",
       
 12319     viewBox: "0 0 48 48",
       
 12320     xmlns: "http://www.w3.org/2000/svg"
       
 12321   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 12322     fillRule: "evenodd",
       
 12323     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"
       
 12324   })),
       
 12325   innerBlocks: [['core/column'], ['core/column'], ['core/column']],
       
 12326   scope: ['block']
       
 12327 }, {
       
 12328   name: 'three-columns-wider-center',
       
 12329   title: Object(external_this_wp_i18n_["__"])('25 / 50 / 25'),
       
 12330   description: Object(external_this_wp_i18n_["__"])('Three columns; wide center column'),
       
 12331   icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
 12332     width: "48",
       
 12333     height: "48",
       
 12334     viewBox: "0 0 48 48",
       
 12335     xmlns: "http://www.w3.org/2000/svg"
       
 12336   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 12337     fillRule: "evenodd",
       
 12338     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"
       
 12339   })),
       
 12340   innerBlocks: [['core/column', {
       
 12341     width: 25
       
 12342   }], ['core/column', {
       
 12343     width: 50
       
 12344   }], ['core/column', {
       
 12345     width: 25
       
 12346   }]],
       
 12347   scope: ['block']
       
 12348 }];
       
 12349 /* harmony default export */ var columns_variations = (variations_variations);
       
 12350 
       
 12351 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/index.js
       
 12352 /**
       
 12353  * WordPress dependencies
       
 12354  */
       
 12355 
       
 12356 
       
 12357 /**
       
 12358  * Internal dependencies
       
 12359  */
       
 12360 
       
 12361 
       
 12362 
       
 12363 var columns_metadata = {
       
 12364   name: "core/columns",
       
 12365   category: "design",
       
 12366   attributes: {
       
 12367     verticalAlignment: {
       
 12368       type: "string"
       
 12369     }
       
 12370   },
       
 12371   supports: {
       
 12372     anchor: true,
       
 12373     align: ["wide", "full"],
       
 12374     html: false,
       
 12375     lightBlockWrapper: true,
       
 12376     __experimentalColor: {
       
 12377       gradients: true,
       
 12378       linkColor: true
       
 12379     }
       
 12380   }
       
 12381 };
       
 12382 
       
 12383 
       
 12384 var columns_name = columns_metadata.name;
       
 12385 
       
 12386 var columns_settings = {
       
 12387   title: Object(external_this_wp_i18n_["__"])('Columns'),
       
 12388   icon: library_columns,
       
 12389   description: Object(external_this_wp_i18n_["__"])('Add a block that displays content in multiple columns, then add whatever content blocks you’d like.'),
       
 12390   variations: columns_variations,
       
 12391   example: {
       
 12392     innerBlocks: [{
       
 12393       name: 'core/column',
       
 12394       innerBlocks: [{
       
 12395         name: 'core/paragraph',
       
 12396         attributes: {
       
 12397           /* translators: example text. */
       
 12398           content: Object(external_this_wp_i18n_["__"])('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis.')
       
 12399         }
       
 12400       }, {
       
 12401         name: 'core/image',
       
 12402         attributes: {
       
 12403           url: 'https://s.w.org/images/core/5.3/Windbuchencom.jpg'
       
 12404         }
       
 12405       }, {
       
 12406         name: 'core/paragraph',
       
 12407         attributes: {
       
 12408           /* translators: example text. */
       
 12409           content: Object(external_this_wp_i18n_["__"])('Suspendisse commodo neque lacus, a dictum orci interdum et.')
       
 12410         }
       
 12411       }]
       
 12412     }, {
       
 12413       name: 'core/column',
       
 12414       innerBlocks: [{
       
 12415         name: 'core/paragraph',
       
 12416         attributes: {
       
 12417           /* translators: example text. */
       
 12418           content: Object(external_this_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.')
       
 12419         }
       
 12420       }, {
       
 12421         name: 'core/paragraph',
       
 12422         attributes: {
       
 12423           /* translators: example text. */
       
 12424           content: Object(external_this_wp_i18n_["__"])('Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.')
       
 12425         }
       
 12426       }]
       
 12427     }]
       
 12428   },
       
 12429   deprecated: columns_deprecated,
       
 12430   edit: columns_edit,
       
 12431   save: columns_save_save
       
 12432 };
       
 12433 
       
 12434 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/column.js
       
 12435 
       
 12436 
       
 12437 /**
       
 12438  * WordPress dependencies
       
 12439  */
       
 12440 
       
 12441 var column = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 12442   xmlns: "http://www.w3.org/2000/svg",
       
 12443   viewBox: "0 0 24 24"
       
 12444 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 12445   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"
       
 12446 }));
       
 12447 /* harmony default export */ var library_column = (column);
       
 12448 
       
 12449 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/column/edit.js
       
 12450 
       
 12451 
       
 12452 
       
 12453 /**
       
 12454  * External dependencies
       
 12455  */
       
 12456 
       
 12457 /**
       
 12458  * WordPress dependencies
       
 12459  */
       
 12460 
       
 12461 
       
 12462 
       
 12463 
       
 12464 
       
 12465 
       
 12466 function ColumnEdit(_ref) {
       
 12467   var _ref$attributes = _ref.attributes,
       
 12468       verticalAlignment = _ref$attributes.verticalAlignment,
       
 12469       width = _ref$attributes.width,
       
 12470       setAttributes = _ref.setAttributes,
       
 12471       clientId = _ref.clientId;
       
 12472   var classes = classnames_default()('block-core-columns', Object(defineProperty["a" /* default */])({}, "is-vertically-aligned-".concat(verticalAlignment), verticalAlignment));
       
 12473 
       
 12474   var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) {
       
 12475     var _select = select('core/block-editor'),
       
 12476         getBlockOrder = _select.getBlockOrder,
       
 12477         getBlockRootClientId = _select.getBlockRootClientId;
       
 12478 
       
 12479     return {
       
 12480       hasChildBlocks: getBlockOrder(clientId).length > 0,
       
 12481       rootClientId: getBlockRootClientId(clientId)
       
 12482     };
       
 12483   }, [clientId]),
       
 12484       hasChildBlocks = _useSelect.hasChildBlocks,
       
 12485       rootClientId = _useSelect.rootClientId;
       
 12486 
       
 12487   var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'),
       
 12488       updateBlockAttributes = _useDispatch.updateBlockAttributes;
       
 12489 
       
 12490   var updateAlignment = function updateAlignment(value) {
       
 12491     // Update own alignment.
       
 12492     setAttributes({
       
 12493       verticalAlignment: value
       
 12494     }); // Reset parent Columns block.
       
 12495 
       
 12496     updateBlockAttributes(rootClientId, {
       
 12497       verticalAlignment: null
       
 12498     });
       
 12499   };
       
 12500 
       
 12501   var hasWidth = Number.isFinite(width);
       
 12502   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockVerticalAlignmentToolbar"], {
       
 12503     onChange: updateAlignment,
       
 12504     value: verticalAlignment
       
 12505   })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 12506     title: Object(external_this_wp_i18n_["__"])('Column settings')
       
 12507   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], {
       
 12508     label: Object(external_this_wp_i18n_["__"])('Percentage width'),
       
 12509     value: width || '',
       
 12510     onChange: function onChange(nextWidth) {
       
 12511       setAttributes({
       
 12512         width: nextWidth
       
 12513       });
       
 12514     },
       
 12515     min: 0,
       
 12516     max: 100,
       
 12517     step: 0.1,
       
 12518     required: true,
       
 12519     allowReset: true,
       
 12520     placeholder: width === undefined ? Object(external_this_wp_i18n_["__"])('Auto') : undefined
       
 12521   }))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"], {
       
 12522     templateLock: false,
       
 12523     renderAppender: hasChildBlocks ? undefined : function () {
       
 12524       return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].ButtonBlockAppender, null);
       
 12525     },
       
 12526     __experimentalTagName: external_this_wp_blockEditor_["__experimentalBlock"].div,
       
 12527     __experimentalPassedProps: {
       
 12528       className: classes,
       
 12529       style: hasWidth ? {
       
 12530         flexBasis: width + '%'
       
 12531       } : undefined
       
 12532     }
       
 12533   }));
       
 12534 }
       
 12535 
       
 12536 /* harmony default export */ var column_edit = (ColumnEdit);
       
 12537 
       
 12538 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/column/save.js
       
 12539 
       
 12540 
       
 12541 
       
 12542 /**
       
 12543  * External dependencies
       
 12544  */
       
 12545 
       
 12546 /**
       
 12547  * WordPress dependencies
       
 12548  */
       
 12549 
       
 12550 
       
 12551 function column_save_save(_ref) {
       
 12552   var attributes = _ref.attributes;
       
 12553   var verticalAlignment = attributes.verticalAlignment,
       
 12554       width = attributes.width;
       
 12555   var wrapperClasses = classnames_default()(Object(defineProperty["a" /* default */])({}, "is-vertically-aligned-".concat(verticalAlignment), verticalAlignment));
       
 12556   var style;
       
 12557 
       
 12558   if (Number.isFinite(width)) {
       
 12559     style = {
       
 12560       flexBasis: width + '%'
       
 12561     };
       
 12562   }
       
 12563 
       
 12564   return Object(external_this_wp_element_["createElement"])("div", {
       
 12565     className: wrapperClasses,
       
 12566     style: style
       
 12567   }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null));
       
 12568 }
       
 12569 
       
 12570 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/column/index.js
       
 12571 /**
       
 12572  * WordPress dependencies
       
 12573  */
       
 12574 
       
 12575 
       
 12576 /**
       
 12577  * Internal dependencies
       
 12578  */
       
 12579 
       
 12580 
       
 12581 var column_metadata = {
       
 12582   name: "core/column",
       
 12583   category: "text",
       
 12584   parent: ["core/columns"],
       
 12585   attributes: {
       
 12586     verticalAlignment: {
       
 12587       type: "string"
       
 12588     },
       
 12589     width: {
       
 12590       type: "number",
       
 12591       min: 0,
       
 12592       max: 100
       
 12593     }
       
 12594   },
       
 12595   supports: {
       
 12596     anchor: true,
       
 12597     reusable: false,
       
 12598     html: false,
       
 12599     lightBlockWrapper: true
       
 12600   }
       
 12601 };
       
 12602 
       
 12603 var column_name = column_metadata.name;
       
 12604 
       
 12605 var column_settings = {
       
 12606   title: Object(external_this_wp_i18n_["__"])('Column'),
       
 12607   icon: library_column,
       
 12608   description: Object(external_this_wp_i18n_["__"])('A single column within a columns block.'),
       
 12609   edit: column_edit,
       
 12610   save: column_save_save
       
 12611 };
       
 12612 
       
 12613 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/cover.js
       
 12614 
       
 12615 
       
 12616 /**
       
 12617  * WordPress dependencies
       
 12618  */
       
 12619 
       
 12620 var cover = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 12621   xmlns: "http://www.w3.org/2000/svg",
       
 12622   viewBox: "0 0 24 24"
       
 12623 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 12624   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"
       
 12625 }));
       
 12626 /* harmony default export */ var library_cover = (cover);
       
 12627 
       
 12628 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/shared.js
       
 12629 
       
 12630 
       
 12631 function shared_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
 12632 
       
 12633 function shared_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { shared_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { shared_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
 12634 
       
 12635 var POSITION_CLASSNAMES = {
       
 12636   'top left': 'is-position-top-left',
       
 12637   'top center': 'is-position-top-center',
       
 12638   'top right': 'is-position-top-right',
       
 12639   'center left': 'is-position-center-left',
       
 12640   'center center': 'is-position-center-center',
       
 12641   center: 'is-position-center-center',
       
 12642   'center right': 'is-position-center-right',
       
 12643   'bottom left': 'is-position-bottom-left',
       
 12644   'bottom center': 'is-position-bottom-center',
       
 12645   'bottom right': 'is-position-bottom-right'
       
 12646 };
       
 12647 var IMAGE_BACKGROUND_TYPE = 'image';
       
 12648 var VIDEO_BACKGROUND_TYPE = 'video';
       
 12649 var COVER_MIN_HEIGHT = 50;
       
 12650 function backgroundImageStyles(url) {
       
 12651   return url ? {
       
 12652     backgroundImage: "url(".concat(url, ")")
       
 12653   } : {};
       
 12654 }
       
 12655 var CSS_UNITS = [{
       
 12656   value: 'px',
       
 12657   label: 'px',
       
 12658   default: 430
       
 12659 }, {
       
 12660   value: 'em',
       
 12661   label: 'em',
       
 12662   default: 20
       
 12663 }, {
       
 12664   value: 'rem',
       
 12665   label: 'rem',
       
 12666   default: 20
       
 12667 }, {
       
 12668   value: 'vw',
       
 12669   label: 'vw',
       
 12670   default: 20
       
 12671 }, {
       
 12672   value: 'vh',
       
 12673   label: 'vh',
       
 12674   default: 50
       
 12675 }];
       
 12676 function dimRatioToClass(ratio) {
       
 12677   return ratio === 0 || ratio === 50 || !ratio ? null : 'has-background-dim-' + 10 * Math.round(ratio / 10);
       
 12678 }
       
 12679 function attributesFromMedia(setAttributes) {
       
 12680   return function (media) {
       
 12681     if (!media || !media.url) {
       
 12682       setAttributes({
       
 12683         url: undefined,
       
 12684         id: undefined
       
 12685       });
       
 12686       return;
       
 12687     }
       
 12688 
       
 12689     var mediaType; // for media selections originated from a file upload.
       
 12690 
       
 12691     if (media.media_type) {
       
 12692       if (media.media_type === IMAGE_BACKGROUND_TYPE) {
       
 12693         mediaType = IMAGE_BACKGROUND_TYPE;
       
 12694       } else {
       
 12695         // only images and videos are accepted so if the media_type is not an image we can assume it is a video.
       
 12696         // Videos contain the media type of 'file' in the object returned from the rest api.
       
 12697         mediaType = VIDEO_BACKGROUND_TYPE;
       
 12698       }
       
 12699     } else {
       
 12700       // for media selections originated from existing files in the media library.
       
 12701       if (media.type !== IMAGE_BACKGROUND_TYPE && media.type !== VIDEO_BACKGROUND_TYPE) {
       
 12702         return;
       
 12703       }
       
 12704 
       
 12705       mediaType = media.type;
       
 12706     }
       
 12707 
       
 12708     setAttributes(shared_objectSpread({
       
 12709       url: media.url,
       
 12710       id: media.id,
       
 12711       backgroundType: mediaType
       
 12712     }, mediaType === VIDEO_BACKGROUND_TYPE ? {
       
 12713       focalPoint: undefined,
       
 12714       hasParallax: undefined
       
 12715     } : {}));
       
 12716   };
       
 12717 }
       
 12718 function getPositionClassName(contentPosition) {
       
 12719   if (contentPosition === undefined) return '';
       
 12720   return POSITION_CLASSNAMES[contentPosition];
       
 12721 }
       
 12722 function isContentPositionCenter(contentPosition) {
       
 12723   return !contentPosition || contentPosition === 'center center' || contentPosition === 'center';
       
 12724 }
       
 12725 
       
 12726 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/deprecated.js
       
 12727 
       
 12728 
       
 12729 
       
 12730 function cover_deprecated_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
 12731 
       
 12732 function cover_deprecated_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { cover_deprecated_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { cover_deprecated_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
 12733 
       
 12734 /**
       
 12735  * External dependencies
       
 12736  */
       
 12737 
       
 12738 
       
 12739 /**
       
 12740  * WordPress dependencies
       
 12741  */
       
 12742 
       
 12743 
       
 12744 
       
 12745 
       
 12746 /**
       
 12747  * Internal dependencies
       
 12748  */
       
 12749 
       
 12750 
       
 12751 var cover_deprecated_blockAttributes = {
       
 12752   url: {
       
 12753     type: 'string'
       
 12754   },
       
 12755   id: {
       
 12756     type: 'number'
       
 12757   },
       
 12758   hasParallax: {
       
 12759     type: 'boolean',
       
 12760     default: false
       
 12761   },
       
 12762   dimRatio: {
       
 12763     type: 'number',
       
 12764     default: 50
       
 12765   },
       
 12766   overlayColor: {
       
 12767     type: 'string'
       
 12768   },
       
 12769   customOverlayColor: {
       
 12770     type: 'string'
       
 12771   },
       
 12772   backgroundType: {
       
 12773     type: 'string',
       
 12774     default: 'image'
       
 12775   },
       
 12776   focalPoint: {
       
 12777     type: 'object'
       
 12778   }
       
 12779 };
       
 12780 var cover_deprecated_deprecated = [{
       
 12781   attributes: cover_deprecated_objectSpread({}, cover_deprecated_blockAttributes, {
       
 12782     title: {
       
 12783       type: 'string',
       
 12784       source: 'html',
       
 12785       selector: 'p'
       
 12786     },
       
 12787     contentAlign: {
       
 12788       type: 'string',
       
 12789       default: 'center'
       
 12790     },
       
 12791     minHeight: {
       
 12792       type: 'number'
       
 12793     },
       
 12794     gradient: {
       
 12795       type: 'string'
       
 12796     },
       
 12797     customGradient: {
       
 12798       type: 'string'
       
 12799     }
       
 12800   }),
       
 12801   save: function save(_ref) {
       
 12802     var attributes = _ref.attributes;
       
 12803     var backgroundType = attributes.backgroundType,
       
 12804         gradient = attributes.gradient,
       
 12805         customGradient = attributes.customGradient,
       
 12806         customOverlayColor = attributes.customOverlayColor,
       
 12807         dimRatio = attributes.dimRatio,
       
 12808         focalPoint = attributes.focalPoint,
       
 12809         hasParallax = attributes.hasParallax,
       
 12810         overlayColor = attributes.overlayColor,
       
 12811         url = attributes.url,
       
 12812         minHeight = attributes.minHeight;
       
 12813     var overlayColorClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', overlayColor);
       
 12814 
       
 12815     var gradientClass = Object(external_this_wp_blockEditor_["__experimentalGetGradientClass"])(gradient);
       
 12816 
       
 12817     var style = backgroundType === IMAGE_BACKGROUND_TYPE ? backgroundImageStyles(url) : {};
       
 12818 
       
 12819     if (!overlayColorClass) {
       
 12820       style.backgroundColor = customOverlayColor;
       
 12821     }
       
 12822 
       
 12823     if (focalPoint && !hasParallax) {
       
 12824       style.backgroundPosition = "".concat(Math.round(focalPoint.x * 100), "% ").concat(Math.round(focalPoint.y * 100), "%");
       
 12825     }
       
 12826 
       
 12827     if (customGradient && !url) {
       
 12828       style.background = customGradient;
       
 12829     }
       
 12830 
       
 12831     style.minHeight = minHeight || undefined;
       
 12832     var classes = classnames_default()(dimRatioToClass(dimRatio), overlayColorClass, Object(defineProperty["a" /* default */])({
       
 12833       'has-background-dim': dimRatio !== 0,
       
 12834       'has-parallax': hasParallax,
       
 12835       'has-background-gradient': customGradient
       
 12836     }, gradientClass, !url && gradientClass));
       
 12837     return Object(external_this_wp_element_["createElement"])("div", {
       
 12838       className: classes,
       
 12839       style: style
       
 12840     }, url && (gradient || customGradient) && dimRatio !== 0 && Object(external_this_wp_element_["createElement"])("span", {
       
 12841       "aria-hidden": "true",
       
 12842       className: classnames_default()('wp-block-cover__gradient-background', gradientClass),
       
 12843       style: customGradient ? {
       
 12844         background: customGradient
       
 12845       } : undefined
       
 12846     }), VIDEO_BACKGROUND_TYPE === backgroundType && url && Object(external_this_wp_element_["createElement"])("video", {
       
 12847       className: "wp-block-cover__video-background",
       
 12848       autoPlay: true,
       
 12849       muted: true,
       
 12850       loop: true,
       
 12851       src: url
       
 12852     }), Object(external_this_wp_element_["createElement"])("div", {
       
 12853       className: "wp-block-cover__inner-container"
       
 12854     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null)));
       
 12855   }
       
 12856 }, {
       
 12857   attributes: cover_deprecated_objectSpread({}, cover_deprecated_blockAttributes, {
       
 12858     title: {
       
 12859       type: 'string',
       
 12860       source: 'html',
       
 12861       selector: 'p'
       
 12862     },
       
 12863     contentAlign: {
       
 12864       type: 'string',
       
 12865       default: 'center'
       
 12866     },
       
 12867     minHeight: {
       
 12868       type: 'number'
       
 12869     },
       
 12870     gradient: {
       
 12871       type: 'string'
       
 12872     },
       
 12873     customGradient: {
       
 12874       type: 'string'
       
 12875     }
       
 12876   }),
       
 12877   save: function save(_ref2) {
       
 12878     var attributes = _ref2.attributes;
       
 12879     var backgroundType = attributes.backgroundType,
       
 12880         gradient = attributes.gradient,
       
 12881         customGradient = attributes.customGradient,
       
 12882         customOverlayColor = attributes.customOverlayColor,
       
 12883         dimRatio = attributes.dimRatio,
       
 12884         focalPoint = attributes.focalPoint,
       
 12885         hasParallax = attributes.hasParallax,
       
 12886         overlayColor = attributes.overlayColor,
       
 12887         url = attributes.url,
       
 12888         minHeight = attributes.minHeight;
       
 12889     var overlayColorClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', overlayColor);
       
 12890 
       
 12891     var gradientClass = Object(external_this_wp_blockEditor_["__experimentalGetGradientClass"])(gradient);
       
 12892 
       
 12893     var style = backgroundType === IMAGE_BACKGROUND_TYPE ? backgroundImageStyles(url) : {};
       
 12894 
       
 12895     if (!overlayColorClass) {
       
 12896       style.backgroundColor = customOverlayColor;
       
 12897     }
       
 12898 
       
 12899     if (focalPoint && !hasParallax) {
       
 12900       style.backgroundPosition = "".concat(focalPoint.x * 100, "% ").concat(focalPoint.y * 100, "%");
       
 12901     }
       
 12902 
       
 12903     if (customGradient && !url) {
       
 12904       style.background = customGradient;
       
 12905     }
       
 12906 
       
 12907     style.minHeight = minHeight || undefined;
       
 12908     var classes = classnames_default()(dimRatioToClass(dimRatio), overlayColorClass, Object(defineProperty["a" /* default */])({
       
 12909       'has-background-dim': dimRatio !== 0,
       
 12910       'has-parallax': hasParallax,
       
 12911       'has-background-gradient': customGradient
       
 12912     }, gradientClass, !url && gradientClass));
       
 12913     return Object(external_this_wp_element_["createElement"])("div", {
       
 12914       className: classes,
       
 12915       style: style
       
 12916     }, url && (gradient || customGradient) && dimRatio !== 0 && Object(external_this_wp_element_["createElement"])("span", {
       
 12917       "aria-hidden": "true",
       
 12918       className: classnames_default()('wp-block-cover__gradient-background', gradientClass),
       
 12919       style: customGradient ? {
       
 12920         background: customGradient
       
 12921       } : undefined
       
 12922     }), VIDEO_BACKGROUND_TYPE === backgroundType && url && Object(external_this_wp_element_["createElement"])("video", {
       
 12923       className: "wp-block-cover__video-background",
       
 12924       autoPlay: true,
       
 12925       muted: true,
       
 12926       loop: true,
       
 12927       src: url
       
 12928     }), Object(external_this_wp_element_["createElement"])("div", {
       
 12929       className: "wp-block-cover__inner-container"
       
 12930     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null)));
       
 12931   }
       
 12932 }, {
       
 12933   attributes: cover_deprecated_objectSpread({}, cover_deprecated_blockAttributes, {
       
 12934     title: {
       
 12935       type: 'string',
       
 12936       source: 'html',
       
 12937       selector: 'p'
       
 12938     },
       
 12939     contentAlign: {
       
 12940       type: 'string',
       
 12941       default: 'center'
       
 12942     }
       
 12943   }),
       
 12944   supports: {
       
 12945     align: true
       
 12946   },
       
 12947   save: function save(_ref3) {
       
 12948     var attributes = _ref3.attributes;
       
 12949     var backgroundType = attributes.backgroundType,
       
 12950         contentAlign = attributes.contentAlign,
       
 12951         customOverlayColor = attributes.customOverlayColor,
       
 12952         dimRatio = attributes.dimRatio,
       
 12953         focalPoint = attributes.focalPoint,
       
 12954         hasParallax = attributes.hasParallax,
       
 12955         overlayColor = attributes.overlayColor,
       
 12956         title = attributes.title,
       
 12957         url = attributes.url;
       
 12958     var overlayColorClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', overlayColor);
       
 12959     var style = backgroundType === IMAGE_BACKGROUND_TYPE ? backgroundImageStyles(url) : {};
       
 12960 
       
 12961     if (!overlayColorClass) {
       
 12962       style.backgroundColor = customOverlayColor;
       
 12963     }
       
 12964 
       
 12965     if (focalPoint && !hasParallax) {
       
 12966       style.backgroundPosition = "".concat(focalPoint.x * 100, "% ").concat(focalPoint.y * 100, "%");
       
 12967     }
       
 12968 
       
 12969     var classes = classnames_default()(dimRatioToClass(dimRatio), overlayColorClass, Object(defineProperty["a" /* default */])({
       
 12970       'has-background-dim': dimRatio !== 0,
       
 12971       'has-parallax': hasParallax
       
 12972     }, "has-".concat(contentAlign, "-content"), contentAlign !== 'center'));
       
 12973     return Object(external_this_wp_element_["createElement"])("div", {
       
 12974       className: classes,
       
 12975       style: style
       
 12976     }, VIDEO_BACKGROUND_TYPE === backgroundType && url && Object(external_this_wp_element_["createElement"])("video", {
       
 12977       className: "wp-block-cover__video-background",
       
 12978       autoPlay: true,
       
 12979       muted: true,
       
 12980       loop: true,
       
 12981       src: url
       
 12982     }), !external_this_wp_blockEditor_["RichText"].isEmpty(title) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 12983       tagName: "p",
       
 12984       className: "wp-block-cover-text",
       
 12985       value: title
       
 12986     }));
       
 12987   },
       
 12988   migrate: function migrate(attributes) {
       
 12989     return [Object(external_this_lodash_["omit"])(attributes, ['title', 'contentAlign']), [Object(external_this_wp_blocks_["createBlock"])('core/paragraph', {
       
 12990       content: attributes.title,
       
 12991       align: attributes.contentAlign,
       
 12992       fontSize: 'large',
       
 12993       placeholder: Object(external_this_wp_i18n_["__"])('Write title…')
       
 12994     })]];
       
 12995   }
       
 12996 }, {
       
 12997   attributes: cover_deprecated_objectSpread({}, cover_deprecated_blockAttributes, {
       
 12998     title: {
       
 12999       type: 'string',
       
 13000       source: 'html',
       
 13001       selector: 'p'
       
 13002     },
       
 13003     contentAlign: {
       
 13004       type: 'string',
       
 13005       default: 'center'
       
 13006     },
       
 13007     align: {
       
 13008       type: 'string'
       
 13009     }
       
 13010   }),
       
 13011   supports: {
       
 13012     className: false
       
 13013   },
       
 13014   save: function save(_ref4) {
       
 13015     var attributes = _ref4.attributes;
       
 13016     var url = attributes.url,
       
 13017         title = attributes.title,
       
 13018         hasParallax = attributes.hasParallax,
       
 13019         dimRatio = attributes.dimRatio,
       
 13020         align = attributes.align,
       
 13021         contentAlign = attributes.contentAlign,
       
 13022         overlayColor = attributes.overlayColor,
       
 13023         customOverlayColor = attributes.customOverlayColor;
       
 13024     var overlayColorClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', overlayColor);
       
 13025     var style = backgroundImageStyles(url);
       
 13026 
       
 13027     if (!overlayColorClass) {
       
 13028       style.backgroundColor = customOverlayColor;
       
 13029     }
       
 13030 
       
 13031     var classes = classnames_default()('wp-block-cover-image', dimRatioToClass(dimRatio), overlayColorClass, Object(defineProperty["a" /* default */])({
       
 13032       'has-background-dim': dimRatio !== 0,
       
 13033       'has-parallax': hasParallax
       
 13034     }, "has-".concat(contentAlign, "-content"), contentAlign !== 'center'), align ? "align".concat(align) : null);
       
 13035     return Object(external_this_wp_element_["createElement"])("div", {
       
 13036       className: classes,
       
 13037       style: style
       
 13038     }, !external_this_wp_blockEditor_["RichText"].isEmpty(title) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 13039       tagName: "p",
       
 13040       className: "wp-block-cover-image-text",
       
 13041       value: title
       
 13042     }));
       
 13043   },
       
 13044   migrate: function migrate(attributes) {
       
 13045     return [Object(external_this_lodash_["omit"])(attributes, ['title', 'contentAlign', 'align']), [Object(external_this_wp_blocks_["createBlock"])('core/paragraph', {
       
 13046       content: attributes.title,
       
 13047       align: attributes.contentAlign,
       
 13048       fontSize: 'large',
       
 13049       placeholder: Object(external_this_wp_i18n_["__"])('Write title…')
       
 13050     })]];
       
 13051   }
       
 13052 }, {
       
 13053   attributes: cover_deprecated_objectSpread({}, cover_deprecated_blockAttributes, {
       
 13054     title: {
       
 13055       type: 'string',
       
 13056       source: 'html',
       
 13057       selector: 'h2'
       
 13058     },
       
 13059     align: {
       
 13060       type: 'string'
       
 13061     },
       
 13062     contentAlign: {
       
 13063       type: 'string',
       
 13064       default: 'center'
       
 13065     }
       
 13066   }),
       
 13067   supports: {
       
 13068     className: false
       
 13069   },
       
 13070   save: function save(_ref5) {
       
 13071     var attributes = _ref5.attributes;
       
 13072     var url = attributes.url,
       
 13073         title = attributes.title,
       
 13074         hasParallax = attributes.hasParallax,
       
 13075         dimRatio = attributes.dimRatio,
       
 13076         align = attributes.align;
       
 13077     var style = backgroundImageStyles(url);
       
 13078     var classes = classnames_default()('wp-block-cover-image', dimRatioToClass(dimRatio), {
       
 13079       'has-background-dim': dimRatio !== 0,
       
 13080       'has-parallax': hasParallax
       
 13081     }, align ? "align".concat(align) : null);
       
 13082     return Object(external_this_wp_element_["createElement"])("section", {
       
 13083       className: classes,
       
 13084       style: style
       
 13085     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 13086       tagName: "h2",
       
 13087       value: title
       
 13088     }));
       
 13089   },
       
 13090   migrate: function migrate(attributes) {
       
 13091     return [Object(external_this_lodash_["omit"])(attributes, ['title', 'contentAlign', 'align']), [Object(external_this_wp_blocks_["createBlock"])('core/paragraph', {
       
 13092       content: attributes.title,
       
 13093       align: attributes.contentAlign,
       
 13094       fontSize: 'large',
       
 13095       placeholder: Object(external_this_wp_i18n_["__"])('Write title…')
       
 13096     })]];
       
 13097   }
       
 13098 }];
       
 13099 /* harmony default export */ var cover_deprecated = (cover_deprecated_deprecated);
       
 13100 
       
 13101 // EXTERNAL MODULE: ./node_modules/fast-average-color/dist/index.js
       
 13102 var dist = __webpack_require__(267);
       
 13103 var dist_default = /*#__PURE__*/__webpack_require__.n(dist);
       
 13104 
       
 13105 // EXTERNAL MODULE: ./node_modules/tinycolor2/tinycolor.js
       
 13106 var tinycolor = __webpack_require__(66);
       
 13107 var tinycolor_default = /*#__PURE__*/__webpack_require__.n(tinycolor);
       
 13108 
       
 13109 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/edit.js
       
 13110 
       
 13111 
       
 13112 
       
 13113 
       
 13114 
       
 13115 
       
 13116 function cover_edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
 13117 
       
 13118 function cover_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { cover_edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { cover_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
 13119 
       
 13120 /**
       
 13121  * External dependencies
       
 13122  */
       
 13123 
       
 13124 
       
 13125 
       
 13126 /**
       
 13127  * WordPress dependencies
       
 13128  */
       
 13129 
       
 13130 
       
 13131 
       
 13132 
       
 13133 
       
 13134 
       
 13135 
       
 13136 
       
 13137 /**
       
 13138  * Internal dependencies
       
 13139  */
       
 13140 
       
 13141 
       
 13142 /**
       
 13143  * Module Constants
       
 13144  */
       
 13145 
       
 13146 var cover_edit_ALLOWED_MEDIA_TYPES = ['image', 'video'];
       
 13147 var INNER_BLOCKS_TEMPLATE = [['core/paragraph', {
       
 13148   align: 'center',
       
 13149   fontSize: 'large',
       
 13150   placeholder: Object(external_this_wp_i18n_["__"])('Write title…')
       
 13151 }]];
       
 13152 var BoxControlVisualizer = external_this_wp_components_["__experimentalBoxControl"].__Visualizer;
       
 13153 
       
 13154 function retrieveFastAverageColor() {
       
 13155   if (!retrieveFastAverageColor.fastAverageColor) {
       
 13156     retrieveFastAverageColor.fastAverageColor = new dist_default.a();
       
 13157   }
       
 13158 
       
 13159   return retrieveFastAverageColor.fastAverageColor;
       
 13160 }
       
 13161 
       
 13162 function CoverHeightInput(_ref) {
       
 13163   var onChange = _ref.onChange,
       
 13164       onUnitChange = _ref.onUnitChange,
       
 13165       _ref$unit = _ref.unit,
       
 13166       unit = _ref$unit === void 0 ? 'px' : _ref$unit,
       
 13167       _ref$value = _ref.value,
       
 13168       value = _ref$value === void 0 ? '' : _ref$value;
       
 13169 
       
 13170   var _useState = Object(external_this_wp_element_["useState"])(null),
       
 13171       _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
       
 13172       temporaryInput = _useState2[0],
       
 13173       setTemporaryInput = _useState2[1];
       
 13174 
       
 13175   var instanceId = Object(external_this_wp_compose_["useInstanceId"])(external_this_wp_blockEditor_["__experimentalUnitControl"]);
       
 13176   var inputId = "block-cover-height-input-".concat(instanceId);
       
 13177   var isPx = unit === 'px';
       
 13178 
       
 13179   var handleOnChange = function handleOnChange(unprocessedValue) {
       
 13180     var inputValue = unprocessedValue !== '' ? parseInt(unprocessedValue, 10) : undefined;
       
 13181 
       
 13182     if (isNaN(inputValue) && inputValue !== undefined) {
       
 13183       setTemporaryInput(unprocessedValue);
       
 13184       return;
       
 13185     }
       
 13186 
       
 13187     setTemporaryInput(null);
       
 13188     onChange(inputValue);
       
 13189   };
       
 13190 
       
 13191   var handleOnBlur = function handleOnBlur() {
       
 13192     if (temporaryInput !== null) {
       
 13193       setTemporaryInput(null);
       
 13194     }
       
 13195   };
       
 13196 
       
 13197   var inputValue = temporaryInput !== null ? temporaryInput : value;
       
 13198   var min = isPx ? COVER_MIN_HEIGHT : 0;
       
 13199   return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"], {
       
 13200     label: Object(external_this_wp_i18n_["__"])('Minimum height of cover'),
       
 13201     id: inputId
       
 13202   }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalUnitControl"], {
       
 13203     id: inputId,
       
 13204     isResetValueOnUnitChange: true,
       
 13205     min: min,
       
 13206     onBlur: handleOnBlur,
       
 13207     onChange: handleOnChange,
       
 13208     onUnitChange: onUnitChange,
       
 13209     step: "1",
       
 13210     style: {
       
 13211       maxWidth: 80
       
 13212     },
       
 13213     unit: unit,
       
 13214     units: CSS_UNITS,
       
 13215     value: inputValue
       
 13216   }));
       
 13217 }
       
 13218 
       
 13219 var RESIZABLE_BOX_ENABLE_OPTION = {
       
 13220   top: false,
       
 13221   right: false,
       
 13222   bottom: true,
       
 13223   left: false,
       
 13224   topRight: false,
       
 13225   bottomRight: false,
       
 13226   bottomLeft: false,
       
 13227   topLeft: false
       
 13228 };
       
 13229 
       
 13230 function ResizableCover(_ref2) {
       
 13231   var className = _ref2.className,
       
 13232       _onResizeStart = _ref2.onResizeStart,
       
 13233       _onResize = _ref2.onResize,
       
 13234       _onResizeStop = _ref2.onResizeStop,
       
 13235       props = Object(objectWithoutProperties["a" /* default */])(_ref2, ["className", "onResizeStart", "onResize", "onResizeStop"]);
       
 13236 
       
 13237   var _useState3 = Object(external_this_wp_element_["useState"])(false),
       
 13238       _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2),
       
 13239       isResizing = _useState4[0],
       
 13240       setIsResizing = _useState4[1];
       
 13241 
       
 13242   return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ResizableBox"], Object(esm_extends["a" /* default */])({
       
 13243     className: classnames_default()(className, {
       
 13244       'is-resizing': isResizing
       
 13245     }),
       
 13246     enable: RESIZABLE_BOX_ENABLE_OPTION,
       
 13247     onResizeStart: function onResizeStart(_event, _direction, elt) {
       
 13248       _onResizeStart(elt.clientHeight);
       
 13249 
       
 13250       _onResize(elt.clientHeight);
       
 13251     },
       
 13252     onResize: function onResize(_event, _direction, elt) {
       
 13253       _onResize(elt.clientHeight);
       
 13254 
       
 13255       if (!isResizing) {
       
 13256         setIsResizing(true);
       
 13257       }
       
 13258     },
       
 13259     onResizeStop: function onResizeStop(_event, _direction, elt) {
       
 13260       _onResizeStop(elt.clientHeight);
       
 13261 
       
 13262       setIsResizing(false);
       
 13263     },
       
 13264     minHeight: COVER_MIN_HEIGHT
       
 13265   }, props));
       
 13266 }
       
 13267 /**
       
 13268  * useCoverIsDark is a hook that returns a boolean variable specifying if the cover
       
 13269  * background is dark or not.
       
 13270  *
       
 13271  * @param {?string} url          Url of the media background.
       
 13272  * @param {?number} dimRatio     Transparency of the overlay color. If an image and
       
 13273  *                               color are set, dimRatio is used to decide what is used
       
 13274  *                               for background darkness checking purposes.
       
 13275  * @param {?string} overlayColor String containing the overlay color value if one exists.
       
 13276  * @param {?Object} elementRef   If a media background is set, elementRef should contain a reference to a
       
 13277  *                               dom element that renders that media.
       
 13278  *
       
 13279  * @return {boolean} True if the cover background is considered "dark" and false otherwise.
       
 13280  */
       
 13281 
       
 13282 
       
 13283 function useCoverIsDark(url) {
       
 13284   var dimRatio = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 50;
       
 13285   var overlayColor = arguments.length > 2 ? arguments[2] : undefined;
       
 13286   var elementRef = arguments.length > 3 ? arguments[3] : undefined;
       
 13287 
       
 13288   var _useState5 = Object(external_this_wp_element_["useState"])(false),
       
 13289       _useState6 = Object(slicedToArray["a" /* default */])(_useState5, 2),
       
 13290       isDark = _useState6[0],
       
 13291       setIsDark = _useState6[1];
       
 13292 
       
 13293   Object(external_this_wp_element_["useEffect"])(function () {
       
 13294     // If opacity is lower than 50 the dominant color is the image or video color,
       
 13295     // so use that color for the dark mode computation.
       
 13296     if (url && dimRatio <= 50 && elementRef.current) {
       
 13297       retrieveFastAverageColor().getColorAsync(elementRef.current, function (color) {
       
 13298         setIsDark(color.isDark);
       
 13299       });
       
 13300     }
       
 13301   }, [url, url && dimRatio <= 50 && elementRef.current, setIsDark]);
       
 13302   Object(external_this_wp_element_["useEffect"])(function () {
       
 13303     // If opacity is greater than 50 the dominant color is the overlay color,
       
 13304     // so use that color for the dark mode computation.
       
 13305     if (dimRatio > 50 || !url) {
       
 13306       if (!overlayColor) {
       
 13307         // If no overlay color exists the overlay color is black (isDark )
       
 13308         setIsDark(true);
       
 13309         return;
       
 13310       }
       
 13311 
       
 13312       setIsDark(tinycolor_default()(overlayColor).isDark());
       
 13313     }
       
 13314   }, [overlayColor, dimRatio > 50 || !url, setIsDark]);
       
 13315   Object(external_this_wp_element_["useEffect"])(function () {
       
 13316     if (!url && !overlayColor) {
       
 13317       // Reset isDark
       
 13318       setIsDark(false);
       
 13319     }
       
 13320   }, [!url && !overlayColor, setIsDark]);
       
 13321   return isDark;
       
 13322 }
       
 13323 
       
 13324 function CoverEdit(_ref3) {
       
 13325   var _classnames, _styleAttribute$spaci, _styleAttribute$visua;
       
 13326 
       
 13327   var attributes = _ref3.attributes,
       
 13328       setAttributes = _ref3.setAttributes,
       
 13329       isSelected = _ref3.isSelected,
       
 13330       noticeUI = _ref3.noticeUI,
       
 13331       overlayColor = _ref3.overlayColor,
       
 13332       setOverlayColor = _ref3.setOverlayColor,
       
 13333       toggleSelection = _ref3.toggleSelection,
       
 13334       noticeOperations = _ref3.noticeOperations;
       
 13335   var contentPosition = attributes.contentPosition,
       
 13336       id = attributes.id,
       
 13337       backgroundType = attributes.backgroundType,
       
 13338       dimRatio = attributes.dimRatio,
       
 13339       focalPoint = attributes.focalPoint,
       
 13340       hasParallax = attributes.hasParallax,
       
 13341       minHeight = attributes.minHeight,
       
 13342       minHeightUnit = attributes.minHeightUnit,
       
 13343       styleAttribute = attributes.style,
       
 13344       url = attributes.url;
       
 13345 
       
 13346   var _experimentalUseGrad = Object(external_this_wp_blockEditor_["__experimentalUseGradient"])(),
       
 13347       gradientClass = _experimentalUseGrad.gradientClass,
       
 13348       gradientValue = _experimentalUseGrad.gradientValue,
       
 13349       setGradient = _experimentalUseGrad.setGradient;
       
 13350 
       
 13351   var onSelectMedia = attributesFromMedia(setAttributes);
       
 13352 
       
 13353   var toggleParallax = function toggleParallax() {
       
 13354     setAttributes(cover_edit_objectSpread({
       
 13355       hasParallax: !hasParallax
       
 13356     }, !hasParallax ? {
       
 13357       focalPoint: undefined
       
 13358     } : {}));
       
 13359   };
       
 13360 
       
 13361   var isDarkElement = Object(external_this_wp_element_["useRef"])();
       
 13362   var isDark = useCoverIsDark(url, dimRatio, overlayColor.color, isDarkElement);
       
 13363 
       
 13364   var _useState7 = Object(external_this_wp_element_["useState"])(null),
       
 13365       _useState8 = Object(slicedToArray["a" /* default */])(_useState7, 2),
       
 13366       temporaryMinHeight = _useState8[0],
       
 13367       setTemporaryMinHeight = _useState8[1];
       
 13368 
       
 13369   var removeAllNotices = noticeOperations.removeAllNotices,
       
 13370       createErrorNotice = noticeOperations.createErrorNotice;
       
 13371   var minHeightWithUnit = minHeightUnit ? "".concat(minHeight).concat(minHeightUnit) : minHeight;
       
 13372 
       
 13373   var style = cover_edit_objectSpread({}, backgroundType === IMAGE_BACKGROUND_TYPE ? backgroundImageStyles(url) : {}, {
       
 13374     backgroundColor: overlayColor.color,
       
 13375     minHeight: temporaryMinHeight || minHeightWithUnit || undefined
       
 13376   });
       
 13377 
       
 13378   if (gradientValue && !url) {
       
 13379     style.background = gradientValue;
       
 13380   }
       
 13381 
       
 13382   if (focalPoint) {
       
 13383     style.backgroundPosition = "".concat(focalPoint.x * 100, "% ").concat(focalPoint.y * 100, "%");
       
 13384   }
       
 13385 
       
 13386   var hasBackground = !!(url || overlayColor.color || gradientValue);
       
 13387   var controls = Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, hasBackground && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalBlockAlignmentMatrixToolbar"], {
       
 13388     label: Object(external_this_wp_i18n_["__"])('Change content position'),
       
 13389     value: contentPosition,
       
 13390     onChange: function onChange(nextPosition) {
       
 13391       return setAttributes({
       
 13392         contentPosition: nextPosition
       
 13393       });
       
 13394     }
       
 13395   }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaReplaceFlow"], {
       
 13396     mediaId: id,
       
 13397     mediaURL: url,
       
 13398     allowedTypes: cover_edit_ALLOWED_MEDIA_TYPES,
       
 13399     accept: "image/*,video/*",
       
 13400     onSelect: onSelectMedia
       
 13401   }))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, !!url && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 13402     title: Object(external_this_wp_i18n_["__"])('Media settings')
       
 13403   }, IMAGE_BACKGROUND_TYPE === backgroundType && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 13404     label: Object(external_this_wp_i18n_["__"])('Fixed background'),
       
 13405     checked: hasParallax,
       
 13406     onChange: toggleParallax
       
 13407   }), IMAGE_BACKGROUND_TYPE === backgroundType && !hasParallax && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["FocalPointPicker"], {
       
 13408     label: Object(external_this_wp_i18n_["__"])('Focal point picker'),
       
 13409     url: url,
       
 13410     value: focalPoint,
       
 13411     onChange: function onChange(newFocalPoint) {
       
 13412       return setAttributes({
       
 13413         focalPoint: newFocalPoint
       
 13414       });
       
 13415     }
       
 13416   }), VIDEO_BACKGROUND_TYPE === backgroundType && Object(external_this_wp_element_["createElement"])("video", {
       
 13417     autoPlay: true,
       
 13418     muted: true,
       
 13419     loop: true,
       
 13420     src: url
       
 13421   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelRow"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
 13422     isSecondary: true,
       
 13423     isSmall: true,
       
 13424     className: "block-library-cover__reset-button",
       
 13425     onClick: function onClick() {
       
 13426       return setAttributes({
       
 13427         url: undefined,
       
 13428         id: undefined,
       
 13429         backgroundType: undefined,
       
 13430         dimRatio: undefined,
       
 13431         focalPoint: undefined,
       
 13432         hasParallax: undefined
       
 13433       });
       
 13434     }
       
 13435   }, Object(external_this_wp_i18n_["__"])('Clear Media')))), hasBackground && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 13436     title: Object(external_this_wp_i18n_["__"])('Dimensions')
       
 13437   }, Object(external_this_wp_element_["createElement"])(CoverHeightInput, {
       
 13438     value: temporaryMinHeight || minHeight,
       
 13439     unit: minHeightUnit,
       
 13440     onChange: function onChange(newMinHeight) {
       
 13441       return setAttributes({
       
 13442         minHeight: newMinHeight
       
 13443       });
       
 13444     },
       
 13445     onUnitChange: function onUnitChange(nextUnit) {
       
 13446       setAttributes({
       
 13447         minHeightUnit: nextUnit
       
 13448       });
       
 13449     }
       
 13450   })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalPanelColorGradientSettings"], {
       
 13451     title: Object(external_this_wp_i18n_["__"])('Overlay'),
       
 13452     initialOpen: true,
       
 13453     settings: [{
       
 13454       colorValue: overlayColor.color,
       
 13455       gradientValue: gradientValue,
       
 13456       onColorChange: setOverlayColor,
       
 13457       onGradientChange: setGradient,
       
 13458       label: Object(external_this_wp_i18n_["__"])('Color')
       
 13459     }]
       
 13460   }, !!url && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], {
       
 13461     label: Object(external_this_wp_i18n_["__"])('Opacity'),
       
 13462     value: dimRatio,
       
 13463     onChange: function onChange(newDimRation) {
       
 13464       return setAttributes({
       
 13465         dimRatio: newDimRation
       
 13466       });
       
 13467     },
       
 13468     min: 0,
       
 13469     max: 100,
       
 13470     required: true
       
 13471   })))));
       
 13472 
       
 13473   if (!hasBackground) {
       
 13474     var placeholderIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], {
       
 13475       icon: library_cover
       
 13476     });
       
 13477 
       
 13478     var label = Object(external_this_wp_i18n_["__"])('Cover');
       
 13479 
       
 13480     return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, controls, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalBlock"].div, {
       
 13481       className: "is-placeholder"
       
 13482     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaPlaceholder"], {
       
 13483       icon: placeholderIcon,
       
 13484       labels: {
       
 13485         title: label,
       
 13486         instructions: Object(external_this_wp_i18n_["__"])('Upload an image or video file, or pick one from your media library.')
       
 13487       },
       
 13488       onSelect: onSelectMedia,
       
 13489       accept: "image/*,video/*",
       
 13490       allowedTypes: cover_edit_ALLOWED_MEDIA_TYPES,
       
 13491       notices: noticeUI,
       
 13492       onError: function onError(message) {
       
 13493         removeAllNotices();
       
 13494         createErrorNotice(message);
       
 13495       }
       
 13496     }, Object(external_this_wp_element_["createElement"])("div", {
       
 13497       className: "wp-block-cover__placeholder-background-options"
       
 13498     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["ColorPalette"], {
       
 13499       disableCustomColors: true,
       
 13500       value: overlayColor.color,
       
 13501       onChange: setOverlayColor,
       
 13502       clearable: false
       
 13503     })))));
       
 13504   }
       
 13505 
       
 13506   var classes = classnames_default()(dimRatioToClass(dimRatio), (_classnames = {
       
 13507     'is-dark-theme': isDark,
       
 13508     'has-background-dim': dimRatio !== 0,
       
 13509     'has-parallax': hasParallax
       
 13510   }, Object(defineProperty["a" /* default */])(_classnames, overlayColor.class, overlayColor.class), Object(defineProperty["a" /* default */])(_classnames, 'has-background-gradient', gradientValue), Object(defineProperty["a" /* default */])(_classnames, gradientClass, !url && gradientClass), Object(defineProperty["a" /* default */])(_classnames, 'has-custom-content-position', !isContentPositionCenter(contentPosition)), _classnames), getPositionClassName(contentPosition));
       
 13511   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, controls, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalBlock"].div, {
       
 13512     className: classes,
       
 13513     "data-url": url,
       
 13514     style: style
       
 13515   }, Object(external_this_wp_element_["createElement"])(BoxControlVisualizer, {
       
 13516     values: styleAttribute === null || styleAttribute === void 0 ? void 0 : (_styleAttribute$spaci = styleAttribute.spacing) === null || _styleAttribute$spaci === void 0 ? void 0 : _styleAttribute$spaci.padding,
       
 13517     showValues: styleAttribute === null || styleAttribute === void 0 ? void 0 : (_styleAttribute$visua = styleAttribute.visualizers) === null || _styleAttribute$visua === void 0 ? void 0 : _styleAttribute$visua.padding
       
 13518   }), Object(external_this_wp_element_["createElement"])(ResizableCover, {
       
 13519     className: "block-library-cover__resize-container",
       
 13520     onResizeStart: function onResizeStart() {
       
 13521       setAttributes({
       
 13522         minHeightUnit: 'px'
       
 13523       });
       
 13524       toggleSelection(false);
       
 13525     },
       
 13526     onResize: setTemporaryMinHeight,
       
 13527     onResizeStop: function onResizeStop(newMinHeight) {
       
 13528       toggleSelection(true);
       
 13529       setAttributes({
       
 13530         minHeight: newMinHeight
       
 13531       });
       
 13532       setTemporaryMinHeight(null);
       
 13533     },
       
 13534     showHandle: isSelected
       
 13535   }), IMAGE_BACKGROUND_TYPE === backgroundType && // Used only to programmatically check if the image is dark or not
       
 13536   Object(external_this_wp_element_["createElement"])("img", {
       
 13537     ref: isDarkElement,
       
 13538     "aria-hidden": true,
       
 13539     alt: "",
       
 13540     style: {
       
 13541       display: 'none'
       
 13542     },
       
 13543     src: url
       
 13544   }), url && gradientValue && dimRatio !== 0 && Object(external_this_wp_element_["createElement"])("span", {
       
 13545     "aria-hidden": "true",
       
 13546     className: classnames_default()('wp-block-cover__gradient-background', gradientClass),
       
 13547     style: {
       
 13548       background: gradientValue
       
 13549     }
       
 13550   }), VIDEO_BACKGROUND_TYPE === backgroundType && Object(external_this_wp_element_["createElement"])("video", {
       
 13551     ref: isDarkElement,
       
 13552     className: "wp-block-cover__video-background",
       
 13553     autoPlay: true,
       
 13554     muted: true,
       
 13555     loop: true,
       
 13556     src: url
       
 13557   }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"], {
       
 13558     __experimentalTagName: "div",
       
 13559     __experimentalPassedProps: {
       
 13560       className: 'wp-block-cover__inner-container'
       
 13561     },
       
 13562     template: INNER_BLOCKS_TEMPLATE
       
 13563   })));
       
 13564 }
       
 13565 
       
 13566 /* harmony default export */ var cover_edit = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withDispatch"])(function (dispatch) {
       
 13567   var _dispatch = dispatch('core/block-editor'),
       
 13568       toggleSelection = _dispatch.toggleSelection;
       
 13569 
       
 13570   return {
       
 13571     toggleSelection: toggleSelection
       
 13572   };
       
 13573 }), Object(external_this_wp_blockEditor_["withColors"])({
       
 13574   overlayColor: 'background-color'
       
 13575 }), external_this_wp_components_["withNotices"], external_this_wp_compose_["withInstanceId"]])(CoverEdit));
       
 13576 
       
 13577 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/save.js
       
 13578 
       
 13579 
       
 13580 
       
 13581 /**
       
 13582  * External dependencies
       
 13583  */
       
 13584 
       
 13585 /**
       
 13586  * WordPress dependencies
       
 13587  */
       
 13588 
       
 13589 
       
 13590 /**
       
 13591  * Internal dependencies
       
 13592  */
       
 13593 
       
 13594 
       
 13595 function cover_save_save(_ref) {
       
 13596   var _classnames;
       
 13597 
       
 13598   var attributes = _ref.attributes;
       
 13599   var backgroundType = attributes.backgroundType,
       
 13600       gradient = attributes.gradient,
       
 13601       contentPosition = attributes.contentPosition,
       
 13602       customGradient = attributes.customGradient,
       
 13603       customOverlayColor = attributes.customOverlayColor,
       
 13604       dimRatio = attributes.dimRatio,
       
 13605       focalPoint = attributes.focalPoint,
       
 13606       hasParallax = attributes.hasParallax,
       
 13607       overlayColor = attributes.overlayColor,
       
 13608       url = attributes.url,
       
 13609       minHeightProp = attributes.minHeight,
       
 13610       minHeightUnit = attributes.minHeightUnit;
       
 13611   var overlayColorClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', overlayColor);
       
 13612 
       
 13613   var gradientClass = Object(external_this_wp_blockEditor_["__experimentalGetGradientClass"])(gradient);
       
 13614 
       
 13615   var minHeight = minHeightUnit ? "".concat(minHeightProp).concat(minHeightUnit) : minHeightProp;
       
 13616   var style = backgroundType === IMAGE_BACKGROUND_TYPE ? backgroundImageStyles(url) : {};
       
 13617 
       
 13618   if (!overlayColorClass) {
       
 13619     style.backgroundColor = customOverlayColor;
       
 13620   }
       
 13621 
       
 13622   if (focalPoint && !hasParallax) {
       
 13623     style.backgroundPosition = "".concat(Math.round(focalPoint.x * 100), "% ").concat(Math.round(focalPoint.y * 100), "%");
       
 13624   }
       
 13625 
       
 13626   if (customGradient && !url) {
       
 13627     style.background = customGradient;
       
 13628   }
       
 13629 
       
 13630   style.minHeight = minHeight || undefined;
       
 13631   var classes = classnames_default()(dimRatioToClass(dimRatio), overlayColorClass, (_classnames = {
       
 13632     'has-background-dim': dimRatio !== 0,
       
 13633     'has-parallax': hasParallax,
       
 13634     'has-background-gradient': gradient || customGradient
       
 13635   }, Object(defineProperty["a" /* default */])(_classnames, gradientClass, !url && gradientClass), Object(defineProperty["a" /* default */])(_classnames, 'has-custom-content-position', !isContentPositionCenter(contentPosition)), _classnames), getPositionClassName(contentPosition));
       
 13636   return Object(external_this_wp_element_["createElement"])("div", {
       
 13637     className: classes,
       
 13638     style: style
       
 13639   }, url && (gradient || customGradient) && dimRatio !== 0 && Object(external_this_wp_element_["createElement"])("span", {
       
 13640     "aria-hidden": "true",
       
 13641     className: classnames_default()('wp-block-cover__gradient-background', gradientClass),
       
 13642     style: customGradient ? {
       
 13643       background: customGradient
       
 13644     } : undefined
       
 13645   }), VIDEO_BACKGROUND_TYPE === backgroundType && url && Object(external_this_wp_element_["createElement"])("video", {
       
 13646     className: "wp-block-cover__video-background",
       
 13647     autoPlay: true,
       
 13648     muted: true,
       
 13649     loop: true,
       
 13650     playsInline: true,
       
 13651     src: url
       
 13652   }), Object(external_this_wp_element_["createElement"])("div", {
       
 13653     className: "wp-block-cover__inner-container"
       
 13654   }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null)));
       
 13655 }
       
 13656 
       
 13657 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/transforms.js
       
 13658 /**
       
 13659  * WordPress dependencies
       
 13660  */
       
 13661 
       
 13662 /**
       
 13663  * Internal dependencies
       
 13664  */
       
 13665 
       
 13666 
       
 13667 var cover_transforms_transforms = {
       
 13668   from: [{
       
 13669     type: 'block',
       
 13670     blocks: ['core/image'],
       
 13671     transform: function transform(_ref) {
       
 13672       var caption = _ref.caption,
       
 13673           url = _ref.url,
       
 13674           align = _ref.align,
       
 13675           id = _ref.id,
       
 13676           anchor = _ref.anchor;
       
 13677       return Object(external_this_wp_blocks_["createBlock"])('core/cover', {
       
 13678         title: caption,
       
 13679         url: url,
       
 13680         align: align,
       
 13681         id: id,
       
 13682         anchor: anchor
       
 13683       });
       
 13684     }
       
 13685   }, {
       
 13686     type: 'block',
       
 13687     blocks: ['core/video'],
       
 13688     transform: function transform(_ref2) {
       
 13689       var caption = _ref2.caption,
       
 13690           src = _ref2.src,
       
 13691           align = _ref2.align,
       
 13692           id = _ref2.id,
       
 13693           anchor = _ref2.anchor;
       
 13694       return Object(external_this_wp_blocks_["createBlock"])('core/cover', {
       
 13695         title: caption,
       
 13696         url: src,
       
 13697         align: align,
       
 13698         id: id,
       
 13699         backgroundType: VIDEO_BACKGROUND_TYPE,
       
 13700         anchor: anchor
       
 13701       });
       
 13702     }
       
 13703   }],
       
 13704   to: [{
       
 13705     type: 'block',
       
 13706     blocks: ['core/image'],
       
 13707     isMatch: function isMatch(_ref3) {
       
 13708       var backgroundType = _ref3.backgroundType,
       
 13709           url = _ref3.url,
       
 13710           overlayColor = _ref3.overlayColor,
       
 13711           customOverlayColor = _ref3.customOverlayColor,
       
 13712           gradient = _ref3.gradient,
       
 13713           customGradient = _ref3.customGradient;
       
 13714 
       
 13715       if (url) {
       
 13716         // If a url exists the transform could happen if that URL represents an image background.
       
 13717         return backgroundType === IMAGE_BACKGROUND_TYPE;
       
 13718       } // If a url is not set the transform could happen if the cover has no background color or gradient;
       
 13719 
       
 13720 
       
 13721       return !overlayColor && !customOverlayColor && !gradient && !customGradient;
       
 13722     },
       
 13723     transform: function transform(_ref4) {
       
 13724       var title = _ref4.title,
       
 13725           url = _ref4.url,
       
 13726           align = _ref4.align,
       
 13727           id = _ref4.id,
       
 13728           anchor = _ref4.anchor;
       
 13729       return Object(external_this_wp_blocks_["createBlock"])('core/image', {
       
 13730         caption: title,
       
 13731         url: url,
       
 13732         align: align,
       
 13733         id: id,
       
 13734         anchor: anchor
       
 13735       });
       
 13736     }
       
 13737   }, {
       
 13738     type: 'block',
       
 13739     blocks: ['core/video'],
       
 13740     isMatch: function isMatch(_ref5) {
       
 13741       var backgroundType = _ref5.backgroundType,
       
 13742           url = _ref5.url,
       
 13743           overlayColor = _ref5.overlayColor,
       
 13744           customOverlayColor = _ref5.customOverlayColor,
       
 13745           gradient = _ref5.gradient,
       
 13746           customGradient = _ref5.customGradient;
       
 13747 
       
 13748       if (url) {
       
 13749         // If a url exists the transform could happen if that URL represents a video background.
       
 13750         return backgroundType === VIDEO_BACKGROUND_TYPE;
       
 13751       } // If a url is not set the transform could happen if the cover has no background color or gradient;
       
 13752 
       
 13753 
       
 13754       return !overlayColor && !customOverlayColor && !gradient && !customGradient;
       
 13755     },
       
 13756     transform: function transform(_ref6) {
       
 13757       var title = _ref6.title,
       
 13758           url = _ref6.url,
       
 13759           align = _ref6.align,
       
 13760           id = _ref6.id,
       
 13761           anchor = _ref6.anchor;
       
 13762       return Object(external_this_wp_blocks_["createBlock"])('core/video', {
       
 13763         caption: title,
       
 13764         src: url,
       
 13765         id: id,
       
 13766         align: align,
       
 13767         anchor: anchor
       
 13768       });
       
 13769     }
       
 13770   }]
       
 13771 };
       
 13772 /* harmony default export */ var cover_transforms = (cover_transforms_transforms);
       
 13773 
       
 13774 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/index.js
       
 13775 /**
       
 13776  * WordPress dependencies
       
 13777  */
       
 13778 
       
 13779 
       
 13780 /**
       
 13781  * Internal dependencies
       
 13782  */
       
 13783 
       
 13784 
       
 13785 
       
 13786 var cover_metadata = {
       
 13787   name: "core/cover",
       
 13788   category: "media",
       
 13789   attributes: {
       
 13790     url: {
       
 13791       type: "string"
       
 13792     },
       
 13793     id: {
       
 13794       type: "number"
       
 13795     },
       
 13796     hasParallax: {
       
 13797       type: "boolean",
       
 13798       "default": false
       
 13799     },
       
 13800     dimRatio: {
       
 13801       type: "number",
       
 13802       "default": 50
       
 13803     },
       
 13804     overlayColor: {
       
 13805       type: "string"
       
 13806     },
       
 13807     customOverlayColor: {
       
 13808       type: "string"
       
 13809     },
       
 13810     backgroundType: {
       
 13811       type: "string",
       
 13812       "default": "image"
       
 13813     },
       
 13814     focalPoint: {
       
 13815       type: "object"
       
 13816     },
       
 13817     minHeight: {
       
 13818       type: "number"
       
 13819     },
       
 13820     minHeightUnit: {
       
 13821       type: "string"
       
 13822     },
       
 13823     gradient: {
       
 13824       type: "string"
       
 13825     },
       
 13826     customGradient: {
       
 13827       type: "string"
       
 13828     },
       
 13829     contentPosition: {
       
 13830       type: "string"
       
 13831     }
       
 13832   },
       
 13833   supports: {
       
 13834     anchor: true,
       
 13835     align: true,
       
 13836     html: false,
       
 13837     lightBlockWrapper: true,
       
 13838     __experimentalPadding: true
       
 13839   }
       
 13840 };
       
 13841 
       
 13842 
       
 13843 var cover_name = cover_metadata.name;
       
 13844 
       
 13845 var cover_settings = {
       
 13846   title: Object(external_this_wp_i18n_["__"])('Cover'),
       
 13847   description: Object(external_this_wp_i18n_["__"])('Add an image or video with a text overlay — great for headers.'),
       
 13848   icon: library_cover,
       
 13849   example: {
       
 13850     attributes: {
       
 13851       customOverlayColor: '#065174',
       
 13852       dimRatio: 40,
       
 13853       url: 'https://s.w.org/images/core/5.3/Windbuchencom.jpg'
       
 13854     },
       
 13855     innerBlocks: [{
       
 13856       name: 'core/paragraph',
       
 13857       attributes: {
       
 13858         customFontSize: 48,
       
 13859         content: Object(external_this_wp_i18n_["__"])('<strong>Snow Patrol</strong>'),
       
 13860         align: 'center'
       
 13861       }
       
 13862     }]
       
 13863   },
       
 13864   transforms: cover_transforms,
       
 13865   save: cover_save_save,
       
 13866   edit: cover_edit,
       
 13867   deprecated: cover_deprecated
       
 13868 };
       
 13869 
       
 13870 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/pencil.js
       
 13871 var pencil = __webpack_require__(299);
       
 13872 
       
 13873 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/embed-controls.js
       
 13874 
       
 13875 
       
 13876 /**
       
 13877  * WordPress dependencies
       
 13878  */
       
 13879 
       
 13880 
       
 13881 
       
 13882 
       
 13883 
       
 13884 var embed_controls_EmbedControls = function EmbedControls(props) {
       
 13885   var blockSupportsResponsive = props.blockSupportsResponsive,
       
 13886       showEditButton = props.showEditButton,
       
 13887       themeSupportsResponsive = props.themeSupportsResponsive,
       
 13888       allowResponsive = props.allowResponsive,
       
 13889       getResponsiveHelp = props.getResponsiveHelp,
       
 13890       toggleResponsive = props.toggleResponsive,
       
 13891       switchBackToURLInput = props.switchBackToURLInput;
       
 13892   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, showEditButton && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarButton"], {
       
 13893     className: "components-toolbar__control",
       
 13894     label: Object(external_this_wp_i18n_["__"])('Edit URL'),
       
 13895     icon: pencil["a" /* default */],
       
 13896     onClick: switchBackToURLInput
       
 13897   }))), themeSupportsResponsive && blockSupportsResponsive && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 13898     title: Object(external_this_wp_i18n_["__"])('Media settings'),
       
 13899     className: "blocks-responsive"
       
 13900   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 13901     label: Object(external_this_wp_i18n_["__"])('Resize for smaller devices'),
       
 13902     checked: allowResponsive,
       
 13903     help: getResponsiveHelp,
       
 13904     onChange: toggleResponsive
       
 13905   }))));
       
 13906 };
       
 13907 
       
 13908 /* harmony default export */ var embed_controls = (embed_controls_EmbedControls);
       
 13909 
       
 13910 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/embed-loading.js
       
 13911 
       
 13912 
       
 13913 /**
       
 13914  * WordPress dependencies
       
 13915  */
       
 13916 
       
 13917 
       
 13918 
       
 13919 var embed_loading_EmbedLoading = function EmbedLoading() {
       
 13920   return Object(external_this_wp_element_["createElement"])("div", {
       
 13921     className: "wp-block-embed is-loading"
       
 13922   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null), Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_i18n_["__"])('Embedding…')));
       
 13923 };
       
 13924 
       
 13925 /* harmony default export */ var embed_loading = (embed_loading_EmbedLoading);
       
 13926 
       
 13927 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/embed-placeholder.js
       
 13928 
       
 13929 
       
 13930 /**
       
 13931  * WordPress dependencies
       
 13932  */
       
 13933 
       
 13934 
       
 13935 
       
 13936 
       
 13937 var embed_placeholder_EmbedPlaceholder = function EmbedPlaceholder(props) {
       
 13938   var icon = props.icon,
       
 13939       label = props.label,
       
 13940       value = props.value,
       
 13941       onSubmit = props.onSubmit,
       
 13942       onChange = props.onChange,
       
 13943       cannotEmbed = props.cannotEmbed,
       
 13944       fallback = props.fallback,
       
 13945       tryAgain = props.tryAgain;
       
 13946   return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], {
       
 13947     icon: Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], {
       
 13948       icon: icon,
       
 13949       showColors: true
       
 13950     }),
       
 13951     label: label,
       
 13952     className: "wp-block-embed",
       
 13953     instructions: Object(external_this_wp_i18n_["__"])('Paste a link to the content you want to display on your site.')
       
 13954   }, Object(external_this_wp_element_["createElement"])("form", {
       
 13955     onSubmit: onSubmit
       
 13956   }, Object(external_this_wp_element_["createElement"])("input", {
       
 13957     type: "url",
       
 13958     value: value || '',
       
 13959     className: "components-placeholder__input",
       
 13960     "aria-label": label,
       
 13961     placeholder: Object(external_this_wp_i18n_["__"])('Enter URL to embed here…'),
       
 13962     onChange: onChange
       
 13963   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
 13964     isPrimary: true,
       
 13965     type: "submit"
       
 13966   }, Object(external_this_wp_i18n_["_x"])('Embed', 'button label'))), Object(external_this_wp_element_["createElement"])("div", {
       
 13967     className: "components-placeholder__learn-more"
       
 13968   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], {
       
 13969     href: Object(external_this_wp_i18n_["__"])('https://wordpress.org/support/article/embeds/')
       
 13970   }, Object(external_this_wp_i18n_["__"])('Learn more about embeds'))), cannotEmbed && Object(external_this_wp_element_["createElement"])("div", {
       
 13971     className: "components-placeholder__error"
       
 13972   }, Object(external_this_wp_element_["createElement"])("div", {
       
 13973     className: "components-placeholder__instructions"
       
 13974   }, Object(external_this_wp_i18n_["__"])('Sorry, this content could not be embedded.')), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
 13975     isSecondary: true,
       
 13976     onClick: tryAgain
       
 13977   }, Object(external_this_wp_i18n_["_x"])('Try again', 'button label')), ' ', Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
 13978     isSecondary: true,
       
 13979     onClick: fallback
       
 13980   }, Object(external_this_wp_i18n_["_x"])('Convert to link', 'button label'))));
       
 13981 };
       
 13982 
       
 13983 /* harmony default export */ var embed_placeholder = (embed_placeholder_EmbedPlaceholder);
       
 13984 
       
 13985 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/wp-embed-preview.js
       
 13986 
       
 13987 
       
 13988 
       
 13989 
       
 13990 
       
 13991 
       
 13992 
       
 13993 
       
 13994 function wp_embed_preview_createSuper(Derived) { return function () { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (wp_embed_preview_isNativeReflectConstruct()) { var NewTarget = Object(getPrototypeOf["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(possibleConstructorReturn["a" /* default */])(this, result); }; }
       
 13995 
       
 13996 function wp_embed_preview_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
       
 13997 
       
 13998 /**
       
 13999  * WordPress dependencies
       
 14000  */
       
 14001 
       
 14002 
       
 14003 /**
       
 14004  * Browser dependencies
       
 14005  */
       
 14006 
       
 14007 var wp_embed_preview_window = window,
       
 14008     FocusEvent = wp_embed_preview_window.FocusEvent;
       
 14009 
       
 14010 var wp_embed_preview_WpEmbedPreview = /*#__PURE__*/function (_Component) {
       
 14011   Object(inherits["a" /* default */])(WpEmbedPreview, _Component);
       
 14012 
       
 14013   var _super = wp_embed_preview_createSuper(WpEmbedPreview);
       
 14014 
       
 14015   function WpEmbedPreview() {
       
 14016     var _this;
       
 14017 
       
 14018     Object(classCallCheck["a" /* default */])(this, WpEmbedPreview);
       
 14019 
       
 14020     _this = _super.apply(this, arguments);
       
 14021     _this.checkFocus = _this.checkFocus.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 14022     _this.node = Object(external_this_wp_element_["createRef"])();
       
 14023     return _this;
       
 14024   }
       
 14025   /**
       
 14026    * Checks whether the wp embed iframe is the activeElement,
       
 14027    * if it is dispatch a focus event.
       
 14028    */
       
 14029 
       
 14030 
       
 14031   Object(createClass["a" /* default */])(WpEmbedPreview, [{
       
 14032     key: "checkFocus",
       
 14033     value: function checkFocus() {
       
 14034       var _document = document,
       
 14035           activeElement = _document.activeElement;
       
 14036 
       
 14037       if (activeElement.tagName !== 'IFRAME' || activeElement.parentNode !== this.node.current) {
       
 14038         return;
       
 14039       }
       
 14040 
       
 14041       var focusEvent = new FocusEvent('focus', {
       
 14042         bubbles: true
       
 14043       });
       
 14044       activeElement.dispatchEvent(focusEvent);
       
 14045     }
       
 14046   }, {
       
 14047     key: "render",
       
 14048     value: function render() {
       
 14049       var html = this.props.html;
       
 14050       return Object(external_this_wp_element_["createElement"])("div", {
       
 14051         ref: this.node,
       
 14052         className: "wp-block-embed__wrapper",
       
 14053         dangerouslySetInnerHTML: {
       
 14054           __html: html
       
 14055         }
       
 14056       });
       
 14057     }
       
 14058   }]);
       
 14059 
       
 14060   return WpEmbedPreview;
       
 14061 }(external_this_wp_element_["Component"]);
       
 14062 
       
 14063 /* harmony default export */ var wp_embed_preview = (Object(external_this_wp_compose_["withGlobalEvents"])({
       
 14064   blur: 'checkFocus'
       
 14065 })(wp_embed_preview_WpEmbedPreview));
       
 14066 
       
 14067 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/embed-preview.js
       
 14068 
       
 14069 
       
 14070 
       
 14071 
       
 14072 
       
 14073 
       
 14074 
       
 14075 
       
 14076 function embed_preview_createSuper(Derived) { return function () { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (embed_preview_isNativeReflectConstruct()) { var NewTarget = Object(getPrototypeOf["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(possibleConstructorReturn["a" /* default */])(this, result); }; }
       
 14077 
       
 14078 function embed_preview_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
       
 14079 
       
 14080 /**
       
 14081  * Internal dependencies
       
 14082  */
       
 14083 
       
 14084 /**
       
 14085  * External dependencies
       
 14086  */
       
 14087 
       
 14088 
       
 14089 /**
       
 14090  * WordPress dependencies
       
 14091  */
       
 14092 
       
 14093 
       
 14094 
       
 14095 
       
 14096 
       
 14097 
       
 14098 /**
       
 14099  * Internal dependencies
       
 14100  */
       
 14101 
       
 14102 
       
 14103 
       
 14104 var embed_preview_EmbedPreview = /*#__PURE__*/function (_Component) {
       
 14105   Object(inherits["a" /* default */])(EmbedPreview, _Component);
       
 14106 
       
 14107   var _super = embed_preview_createSuper(EmbedPreview);
       
 14108 
       
 14109   function EmbedPreview() {
       
 14110     var _this;
       
 14111 
       
 14112     Object(classCallCheck["a" /* default */])(this, EmbedPreview);
       
 14113 
       
 14114     _this = _super.apply(this, arguments);
       
 14115     _this.hideOverlay = _this.hideOverlay.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 14116     _this.state = {
       
 14117       interactive: false
       
 14118     };
       
 14119     return _this;
       
 14120   }
       
 14121 
       
 14122   Object(createClass["a" /* default */])(EmbedPreview, [{
       
 14123     key: "hideOverlay",
       
 14124     value: function hideOverlay() {
       
 14125       // This is called onMouseUp on the overlay. We can't respond to the `isSelected` prop
       
 14126       // changing, because that happens on mouse down, and the overlay immediately disappears,
       
 14127       // and the mouse event can end up in the preview content. We can't use onClick on
       
 14128       // the overlay to hide it either, because then the editor misses the mouseup event, and
       
 14129       // thinks we're multi-selecting blocks.
       
 14130       this.setState({
       
 14131         interactive: true
       
 14132       });
       
 14133     }
       
 14134   }, {
       
 14135     key: "render",
       
 14136     value: function render() {
       
 14137       var _this$props = this.props,
       
 14138           preview = _this$props.preview,
       
 14139           previewable = _this$props.previewable,
       
 14140           url = _this$props.url,
       
 14141           type = _this$props.type,
       
 14142           caption = _this$props.caption,
       
 14143           onCaptionChange = _this$props.onCaptionChange,
       
 14144           isSelected = _this$props.isSelected,
       
 14145           className = _this$props.className,
       
 14146           icon = _this$props.icon,
       
 14147           label = _this$props.label,
       
 14148           insertBlocksAfter = _this$props.insertBlocksAfter;
       
 14149       var scripts = preview.scripts;
       
 14150       var interactive = this.state.interactive;
       
 14151       var html = 'photo' === type ? util_getPhotoHtml(preview) : preview.html;
       
 14152       var parsedHost = new URL(url).host.split('.');
       
 14153       var parsedHostBaseUrl = parsedHost.splice(parsedHost.length - 2, parsedHost.length - 1).join('.');
       
 14154       var iframeTitle = Object(external_this_wp_i18n_["sprintf"])( // translators: %s: host providing embed content e.g: www.youtube.com
       
 14155       Object(external_this_wp_i18n_["__"])('Embedded content from %s'), parsedHostBaseUrl);
       
 14156       var sandboxClassnames = dedupe_default()(type, className, 'wp-block-embed__wrapper'); // Disabled because the overlay div doesn't actually have a role or functionality
       
 14157       // as far as the user is concerned. We're just catching the first click so that
       
 14158       // the block can be selected without interacting with the embed preview that the overlay covers.
       
 14159 
       
 14160       /* eslint-disable jsx-a11y/no-static-element-interactions */
       
 14161 
       
 14162       var embedWrapper = 'wp-embed' === type ? Object(external_this_wp_element_["createElement"])(wp_embed_preview, {
       
 14163         html: html
       
 14164       }) : Object(external_this_wp_element_["createElement"])("div", {
       
 14165         className: "wp-block-embed__wrapper"
       
 14166       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SandBox"], {
       
 14167         html: html,
       
 14168         scripts: scripts,
       
 14169         title: iframeTitle,
       
 14170         type: sandboxClassnames,
       
 14171         onFocus: this.hideOverlay
       
 14172       }), !interactive && Object(external_this_wp_element_["createElement"])("div", {
       
 14173         className: "block-library-embed__interactive-overlay",
       
 14174         onMouseUp: this.hideOverlay
       
 14175       }));
       
 14176       /* eslint-enable jsx-a11y/no-static-element-interactions */
       
 14177 
       
 14178       return Object(external_this_wp_element_["createElement"])("figure", {
       
 14179         className: dedupe_default()(className, 'wp-block-embed', {
       
 14180           'is-type-video': 'video' === type
       
 14181         })
       
 14182       }, previewable ? embedWrapper : Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], {
       
 14183         icon: Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], {
       
 14184           icon: icon,
       
 14185           showColors: true
       
 14186         }),
       
 14187         label: label
       
 14188       }, Object(external_this_wp_element_["createElement"])("p", {
       
 14189         className: "components-placeholder__error"
       
 14190       }, Object(external_this_wp_element_["createElement"])("a", {
       
 14191         href: url
       
 14192       }, url)), Object(external_this_wp_element_["createElement"])("p", {
       
 14193         className: "components-placeholder__error"
       
 14194       }, Object(external_this_wp_i18n_["sprintf"])(
       
 14195       /* translators: %s: host providing embed content e.g: www.youtube.com */
       
 14196       Object(external_this_wp_i18n_["__"])("Embedded content from %s can't be previewed in the editor."), parsedHostBaseUrl))), (!external_this_wp_blockEditor_["RichText"].isEmpty(caption) || isSelected) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 14197         tagName: "figcaption",
       
 14198         placeholder: Object(external_this_wp_i18n_["__"])('Write caption…'),
       
 14199         value: caption,
       
 14200         onChange: onCaptionChange,
       
 14201         inlineToolbar: true,
       
 14202         __unstableOnSplitAtEnd: function __unstableOnSplitAtEnd() {
       
 14203           return insertBlocksAfter(Object(external_this_wp_blocks_["createBlock"])('core/paragraph'));
       
 14204         }
       
 14205       }));
       
 14206     }
       
 14207   }], [{
       
 14208     key: "getDerivedStateFromProps",
       
 14209     value: function getDerivedStateFromProps(nextProps, state) {
       
 14210       if (!nextProps.isSelected && state.interactive) {
       
 14211         // We only want to change this when the block is not selected, because changing it when
       
 14212         // the block becomes selected makes the overlap disappear too early. Hiding the overlay
       
 14213         // happens on mouseup when the overlay is clicked.
       
 14214         return {
       
 14215           interactive: false
       
 14216         };
       
 14217       }
       
 14218 
       
 14219       return null;
       
 14220     }
       
 14221   }]);
       
 14222 
       
 14223   return EmbedPreview;
       
 14224 }(external_this_wp_element_["Component"]);
       
 14225 
       
 14226 /* harmony default export */ var embed_preview = (embed_preview_EmbedPreview);
       
 14227 
       
 14228 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/edit.js
       
 14229 
       
 14230 
       
 14231 
       
 14232 
       
 14233 function embed_edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
 14234 
       
 14235 function embed_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { embed_edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { embed_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
 14236 
       
 14237 /**
       
 14238  * Internal dependencies
       
 14239  */
       
 14240 
       
 14241 
       
 14242 
       
 14243 
       
 14244 
       
 14245 /**
       
 14246  * External dependencies
       
 14247  */
       
 14248 
       
 14249 
       
 14250 /**
       
 14251  * WordPress dependencies
       
 14252  */
       
 14253 
       
 14254 
       
 14255 
       
 14256 
       
 14257 function edit_getResponsiveHelp(checked) {
       
 14258   return checked ? Object(external_this_wp_i18n_["__"])('This embed will preserve its aspect ratio when the browser is resized.') : Object(external_this_wp_i18n_["__"])('This embed may not preserve its aspect ratio when the browser is resized.');
       
 14259 }
       
 14260 
       
 14261 function getEmbedEditComponent(title, icon) {
       
 14262   var responsive = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
       
 14263   var previewable = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
       
 14264   return function EmbedEditComponent(props) {
       
 14265     var attributes = props.attributes,
       
 14266         cannotEmbed = props.cannotEmbed,
       
 14267         fetching = props.fetching,
       
 14268         isSelected = props.isSelected,
       
 14269         onReplace = props.onReplace,
       
 14270         preview = props.preview,
       
 14271         setAttributes = props.setAttributes,
       
 14272         themeSupportsResponsive = props.themeSupportsResponsive,
       
 14273         tryAgain = props.tryAgain,
       
 14274         insertBlocksAfter = props.insertBlocksAfter;
       
 14275 
       
 14276     var _useState = Object(external_this_wp_element_["useState"])(attributes.url),
       
 14277         _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
       
 14278         url = _useState2[0],
       
 14279         setURL = _useState2[1];
       
 14280 
       
 14281     var _useState3 = Object(external_this_wp_element_["useState"])(false),
       
 14282         _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2),
       
 14283         isEditingURL = _useState4[0],
       
 14284         setIsEditingURL = _useState4[1];
       
 14285     /**
       
 14286      * @return {Object} Attributes derived from the preview, merged with the current attributes.
       
 14287      */
       
 14288 
       
 14289 
       
 14290     var getMergedAttributes = function getMergedAttributes() {
       
 14291       var className = attributes.className,
       
 14292           allowResponsive = attributes.allowResponsive;
       
 14293       return embed_edit_objectSpread({}, attributes, {}, getAttributesFromPreview(preview, title, className, responsive, allowResponsive));
       
 14294     };
       
 14295 
       
 14296     var handleIncomingPreview = function handleIncomingPreview() {
       
 14297       setAttributes(getMergedAttributes());
       
 14298 
       
 14299       if (onReplace) {
       
 14300         var upgradedBlock = util_createUpgradedEmbedBlock(props, getMergedAttributes());
       
 14301 
       
 14302         if (upgradedBlock) {
       
 14303           onReplace(upgradedBlock);
       
 14304         }
       
 14305       }
       
 14306     };
       
 14307 
       
 14308     var toggleResponsive = function toggleResponsive() {
       
 14309       var allowResponsive = attributes.allowResponsive,
       
 14310           className = attributes.className;
       
 14311       var html = preview.html;
       
 14312       var newAllowResponsive = !allowResponsive;
       
 14313       setAttributes({
       
 14314         allowResponsive: newAllowResponsive,
       
 14315         className: getClassNames(html, className, responsive && newAllowResponsive)
       
 14316       });
       
 14317     };
       
 14318 
       
 14319     Object(external_this_wp_element_["useEffect"])(function () {
       
 14320       if (!(preview === null || preview === void 0 ? void 0 : preview.html)) {
       
 14321         return;
       
 14322       } // If we can embed the url, bail early.
       
 14323 
       
 14324 
       
 14325       if (!cannotEmbed) {
       
 14326         return;
       
 14327       } // At this stage, we either have a new preview or a new URL, but we can't embed it.
       
 14328       // If we are already fetching the preview, bail early.
       
 14329 
       
 14330 
       
 14331       if (fetching) {
       
 14332         return;
       
 14333       } // At this stage, we're not fetching the preview, so we know it can't be embedded, so try
       
 14334       // removing any trailing slash, and resubmit.
       
 14335 
       
 14336 
       
 14337       var newURL = attributes.url.replace(/\/$/, '');
       
 14338       setURL(newURL);
       
 14339       setIsEditingURL(false);
       
 14340       setAttributes({
       
 14341         url: newURL
       
 14342       });
       
 14343     }, [preview === null || preview === void 0 ? void 0 : preview.html, attributes.url]);
       
 14344     Object(external_this_wp_element_["useEffect"])(function () {
       
 14345       if (preview && !isEditingURL) {
       
 14346         handleIncomingPreview();
       
 14347       }
       
 14348     }, [preview, isEditingURL]);
       
 14349 
       
 14350     if (fetching) {
       
 14351       return Object(external_this_wp_element_["createElement"])(embed_loading, null);
       
 14352     } // translators: %s: type of embed e.g: "YouTube", "Twitter", etc. "Embed" is used when no specific type exists
       
 14353 
       
 14354 
       
 14355     var label = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('%s URL'), title); // No preview, or we can't embed the current URL, or we've clicked the edit button.
       
 14356 
       
 14357     if (!preview || cannotEmbed || isEditingURL) {
       
 14358       return Object(external_this_wp_element_["createElement"])(embed_placeholder, {
       
 14359         icon: icon,
       
 14360         label: label,
       
 14361         onSubmit: function onSubmit(event) {
       
 14362           if (event) {
       
 14363             event.preventDefault();
       
 14364           }
       
 14365 
       
 14366           setIsEditingURL(false);
       
 14367           setAttributes({
       
 14368             url: url
       
 14369           });
       
 14370         },
       
 14371         value: url,
       
 14372         cannotEmbed: cannotEmbed,
       
 14373         onChange: function onChange(event) {
       
 14374           return setURL(event.target.value);
       
 14375         },
       
 14376         fallback: function fallback() {
       
 14377           return util_fallback(url, onReplace);
       
 14378         },
       
 14379         tryAgain: tryAgain
       
 14380       });
       
 14381     } // Even though we set attributes that get derived from the preview,
       
 14382     // we don't access them directly because for the initial render,
       
 14383     // the `setAttributes` call will not have taken effect. If we're
       
 14384     // rendering responsive content, setting the responsive classes
       
 14385     // after the preview has been rendered can result in unwanted
       
 14386     // clipping or scrollbars. The `getAttributesFromPreview` function
       
 14387     // that `getMergedAttributes` uses is memoized so that we're not
       
 14388     // calculating them on every render.
       
 14389 
       
 14390 
       
 14391     var previewAttributes = getMergedAttributes(props, title, responsive);
       
 14392     var caption = previewAttributes.caption,
       
 14393         type = previewAttributes.type,
       
 14394         allowResponsive = previewAttributes.allowResponsive;
       
 14395     var className = classnames_default()(previewAttributes.className, props.className);
       
 14396     return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(embed_controls, {
       
 14397       showEditButton: preview && !cannotEmbed,
       
 14398       themeSupportsResponsive: themeSupportsResponsive,
       
 14399       blockSupportsResponsive: responsive,
       
 14400       allowResponsive: allowResponsive,
       
 14401       getResponsiveHelp: edit_getResponsiveHelp,
       
 14402       toggleResponsive: toggleResponsive,
       
 14403       switchBackToURLInput: function switchBackToURLInput() {
       
 14404         return setIsEditingURL(true);
       
 14405       }
       
 14406     }), Object(external_this_wp_element_["createElement"])(embed_preview, {
       
 14407       preview: preview,
       
 14408       previewable: previewable,
       
 14409       className: className,
       
 14410       url: url,
       
 14411       type: type,
       
 14412       caption: caption,
       
 14413       onCaptionChange: function onCaptionChange(value) {
       
 14414         return setAttributes({
       
 14415           caption: value
       
 14416         });
       
 14417       },
       
 14418       isSelected: isSelected,
       
 14419       icon: icon,
       
 14420       label: label,
       
 14421       insertBlocksAfter: insertBlocksAfter
       
 14422     }));
       
 14423   };
       
 14424 }
       
 14425 
       
 14426 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/settings.js
       
 14427 
       
 14428 
       
 14429 
       
 14430 function settings_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
 14431 
       
 14432 function settings_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { settings_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { settings_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
 14433 
       
 14434 /**
       
 14435  * Internal dependencies
       
 14436  */
       
 14437 
       
 14438 /**
       
 14439  * External dependencies
       
 14440  */
       
 14441 
       
 14442 
       
 14443 /**
       
 14444  * WordPress dependencies
       
 14445  */
       
 14446 
       
 14447 
       
 14448 
       
 14449 
       
 14450 
       
 14451 var embedAttributes = {
       
 14452   url: {
       
 14453     type: 'string'
       
 14454   },
       
 14455   caption: {
       
 14456     type: 'string',
       
 14457     source: 'html',
       
 14458     selector: 'figcaption'
       
 14459   },
       
 14460   type: {
       
 14461     type: 'string'
       
 14462   },
       
 14463   providerNameSlug: {
       
 14464     type: 'string'
       
 14465   },
       
 14466   allowResponsive: {
       
 14467     type: 'boolean',
       
 14468     default: true
       
 14469   }
       
 14470 };
       
 14471 function getEmbedBlockSettings(_ref) {
       
 14472   var title = _ref.title,
       
 14473       description = _ref.description,
       
 14474       icon = _ref.icon,
       
 14475       _ref$category = _ref.category,
       
 14476       category = _ref$category === void 0 ? 'embed' : _ref$category,
       
 14477       transforms = _ref.transforms,
       
 14478       _ref$keywords = _ref.keywords,
       
 14479       keywords = _ref$keywords === void 0 ? [] : _ref$keywords,
       
 14480       _ref$supports = _ref.supports,
       
 14481       supports = _ref$supports === void 0 ? {} : _ref$supports,
       
 14482       _ref$responsive = _ref.responsive,
       
 14483       responsive = _ref$responsive === void 0 ? true : _ref$responsive,
       
 14484       _ref$previewable = _ref.previewable,
       
 14485       previewable = _ref$previewable === void 0 ? true : _ref$previewable;
       
 14486 
       
 14487   var blockDescription = description || Object(external_this_wp_i18n_["__"])('Add a block that displays content pulled from other sites, like Twitter, Instagram or YouTube.');
       
 14488 
       
 14489   var edit = getEmbedEditComponent(title, icon, responsive, previewable);
       
 14490   return {
       
 14491     title: title,
       
 14492     description: blockDescription,
       
 14493     icon: icon,
       
 14494     category: category,
       
 14495     keywords: keywords,
       
 14496     attributes: embedAttributes,
       
 14497     supports: settings_objectSpread({
       
 14498       align: true
       
 14499     }, supports),
       
 14500     transforms: transforms,
       
 14501     edit: Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select, ownProps) {
       
 14502       var url = ownProps.attributes.url;
       
 14503       var core = select('core');
       
 14504       var getEmbedPreview = core.getEmbedPreview,
       
 14505           isPreviewEmbedFallback = core.isPreviewEmbedFallback,
       
 14506           isRequestingEmbedPreview = core.isRequestingEmbedPreview,
       
 14507           getThemeSupports = core.getThemeSupports;
       
 14508       var preview = undefined !== url && getEmbedPreview(url);
       
 14509       var previewIsFallback = undefined !== url && isPreviewEmbedFallback(url);
       
 14510       var fetching = undefined !== url && isRequestingEmbedPreview(url);
       
 14511       var themeSupports = getThemeSupports(); // The external oEmbed provider does not exist. We got no type info and no html.
       
 14512 
       
 14513       var badEmbedProvider = !!preview && undefined === preview.type && false === preview.html; // Some WordPress URLs that can't be embedded will cause the API to return
       
 14514       // a valid JSON response with no HTML and `data.status` set to 404, rather
       
 14515       // than generating a fallback response as other embeds do.
       
 14516 
       
 14517       var wordpressCantEmbed = !!preview && preview.data && preview.data.status === 404;
       
 14518       var validPreview = !!preview && !badEmbedProvider && !wordpressCantEmbed;
       
 14519       var cannotEmbed = undefined !== url && (!validPreview || previewIsFallback);
       
 14520       return {
       
 14521         preview: validPreview ? preview : undefined,
       
 14522         fetching: fetching,
       
 14523         themeSupportsResponsive: themeSupports['responsive-embeds'],
       
 14524         cannotEmbed: cannotEmbed
       
 14525       };
       
 14526     }), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps) {
       
 14527       var url = ownProps.attributes.url;
       
 14528       var coreData = dispatch('core/data');
       
 14529 
       
 14530       var tryAgain = function tryAgain() {
       
 14531         coreData.invalidateResolution('core', 'getEmbedPreview', [url]);
       
 14532       };
       
 14533 
       
 14534       return {
       
 14535         tryAgain: tryAgain
       
 14536       };
       
 14537     }))(edit),
       
 14538     save: function save(_ref2) {
       
 14539       var _classnames;
       
 14540 
       
 14541       var attributes = _ref2.attributes;
       
 14542       var url = attributes.url,
       
 14543           caption = attributes.caption,
       
 14544           type = attributes.type,
       
 14545           providerNameSlug = attributes.providerNameSlug;
       
 14546 
       
 14547       if (!url) {
       
 14548         return null;
       
 14549       }
       
 14550 
       
 14551       var embedClassName = dedupe_default()('wp-block-embed', (_classnames = {}, Object(defineProperty["a" /* default */])(_classnames, "is-type-".concat(type), type), Object(defineProperty["a" /* default */])(_classnames, "is-provider-".concat(providerNameSlug), providerNameSlug), _classnames));
       
 14552       return Object(external_this_wp_element_["createElement"])("figure", {
       
 14553         className: embedClassName
       
 14554       }, Object(external_this_wp_element_["createElement"])("div", {
       
 14555         className: "wp-block-embed__wrapper"
       
 14556       }, "\n".concat(url, "\n")
       
 14557       /* URL needs to be on its own line. */
       
 14558       ), !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 14559         tagName: "figcaption",
       
 14560         value: caption
       
 14561       }));
       
 14562     },
       
 14563     deprecated: [{
       
 14564       attributes: embedAttributes,
       
 14565       save: function save(_ref3) {
       
 14566         var _classnames2;
       
 14567 
       
 14568         var attributes = _ref3.attributes;
       
 14569         var url = attributes.url,
       
 14570             caption = attributes.caption,
       
 14571             type = attributes.type,
       
 14572             providerNameSlug = attributes.providerNameSlug;
       
 14573 
       
 14574         if (!url) {
       
 14575           return null;
       
 14576         }
       
 14577 
       
 14578         var embedClassName = dedupe_default()('wp-block-embed', (_classnames2 = {}, Object(defineProperty["a" /* default */])(_classnames2, "is-type-".concat(type), type), Object(defineProperty["a" /* default */])(_classnames2, "is-provider-".concat(providerNameSlug), providerNameSlug), _classnames2));
       
 14579         return Object(external_this_wp_element_["createElement"])("figure", {
       
 14580           className: embedClassName
       
 14581         }, "\n".concat(url, "\n")
       
 14582         /* URL needs to be on its own line. */
       
 14583         , !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 14584           tagName: "figcaption",
       
 14585           value: caption
       
 14586         }));
       
 14587       }
       
 14588     }]
       
 14589   };
       
 14590 }
       
 14591 
       
 14592 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/transforms.js
       
 14593 
       
 14594 
       
 14595 /**
       
 14596  * WordPress dependencies
       
 14597  */
       
 14598 
       
 14599 
       
 14600 /**
       
 14601  * Default transforms for generic embeds.
       
 14602  */
       
 14603 
       
 14604 var embed_transforms_transforms = {
       
 14605   from: [{
       
 14606     type: 'raw',
       
 14607     isMatch: function isMatch(node) {
       
 14608       return node.nodeName === 'P' && /^\s*(https?:\/\/\S+)\s*$/i.test(node.textContent);
       
 14609     },
       
 14610     transform: function transform(node) {
       
 14611       return Object(external_this_wp_blocks_["createBlock"])('core/embed', {
       
 14612         url: node.textContent.trim()
       
 14613       });
       
 14614     }
       
 14615   }],
       
 14616   to: [{
       
 14617     type: 'block',
       
 14618     blocks: ['core/paragraph'],
       
 14619     transform: function transform(_ref) {
       
 14620       var url = _ref.url,
       
 14621           caption = _ref.caption;
       
 14622       var link = Object(external_this_wp_element_["createElement"])("a", {
       
 14623         href: url
       
 14624       }, caption || url);
       
 14625       return Object(external_this_wp_blocks_["createBlock"])('core/paragraph', {
       
 14626         content: Object(external_this_wp_element_["renderToString"])(link)
       
 14627       });
       
 14628     }
       
 14629   }]
       
 14630 };
       
 14631 /* harmony default export */ var embed_transforms = (embed_transforms_transforms);
       
 14632 
       
 14633 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/index.js
       
 14634 
       
 14635 
       
 14636 function embed_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
 14637 
       
 14638 function embed_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { embed_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { embed_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
 14639 
       
 14640 /**
       
 14641  * Internal dependencies
       
 14642  */
       
 14643 
       
 14644 
       
 14645 
       
 14646 
       
 14647 /**
       
 14648  * WordPress dependencies
       
 14649  */
       
 14650 
       
 14651 
       
 14652 var embed_name = 'core/embed';
       
 14653 var embed_settings = getEmbedBlockSettings({
       
 14654   title: Object(external_this_wp_i18n_["_x"])('Embed', 'block title'),
       
 14655   description: Object(external_this_wp_i18n_["__"])('Embed videos, images, tweets, audio, and other content from external sources.'),
       
 14656   icon: embedContentIcon,
       
 14657   // Unknown embeds should not be responsive by default.
       
 14658   responsive: false,
       
 14659   transforms: embed_transforms
       
 14660 });
       
 14661 var embed_common = common.map(function (embedDefinition) {
       
 14662   var embedSettings = getEmbedBlockSettings(embedDefinition.settings);
       
 14663   return embed_objectSpread({}, embedDefinition, {
       
 14664     settings: embed_objectSpread({}, embedSettings, {
       
 14665       transforms: embed_transforms
       
 14666     })
       
 14667   });
       
 14668 });
       
 14669 var embed_others = others.map(function (embedDefinition) {
       
 14670   var embedSettings = getEmbedBlockSettings(embedDefinition.settings);
       
 14671   return embed_objectSpread({}, embedDefinition, {
       
 14672     settings: embed_objectSpread({}, embedSettings, {
       
 14673       transforms: embed_transforms
       
 14674     })
       
 14675   });
       
 14676 });
       
 14677 
       
 14678 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/file.js
       
 14679 
       
 14680 
       
 14681 /**
       
 14682  * WordPress dependencies
       
 14683  */
       
 14684 
       
 14685 var file_file = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 14686   viewBox: "0 0 24 24",
       
 14687   xmlns: "http://www.w3.org/2000/svg"
       
 14688 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 14689   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.5z"
       
 14690 }));
       
 14691 /* harmony default export */ var library_file = (file_file);
       
 14692 
       
 14693 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/inspector.js
       
 14694 
       
 14695 
       
 14696 /**
       
 14697  * WordPress dependencies
       
 14698  */
       
 14699 
       
 14700 
       
 14701 
       
 14702 function FileBlockInspector(_ref) {
       
 14703   var hrefs = _ref.hrefs,
       
 14704       openInNewWindow = _ref.openInNewWindow,
       
 14705       showDownloadButton = _ref.showDownloadButton,
       
 14706       changeLinkDestinationOption = _ref.changeLinkDestinationOption,
       
 14707       changeOpenInNewWindow = _ref.changeOpenInNewWindow,
       
 14708       changeShowDownloadButton = _ref.changeShowDownloadButton;
       
 14709   var href = hrefs.href,
       
 14710       textLinkHref = hrefs.textLinkHref,
       
 14711       attachmentPage = hrefs.attachmentPage;
       
 14712   var linkDestinationOptions = [{
       
 14713     value: href,
       
 14714     label: Object(external_this_wp_i18n_["__"])('URL')
       
 14715   }];
       
 14716 
       
 14717   if (attachmentPage) {
       
 14718     linkDestinationOptions = [{
       
 14719       value: href,
       
 14720       label: Object(external_this_wp_i18n_["__"])('Media file')
       
 14721     }, {
       
 14722       value: attachmentPage,
       
 14723       label: Object(external_this_wp_i18n_["__"])('Attachment page')
       
 14724     }];
       
 14725   }
       
 14726 
       
 14727   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 14728     title: Object(external_this_wp_i18n_["__"])('Text link settings')
       
 14729   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], {
       
 14730     label: Object(external_this_wp_i18n_["__"])('Link to'),
       
 14731     value: textLinkHref,
       
 14732     options: linkDestinationOptions,
       
 14733     onChange: changeLinkDestinationOption
       
 14734   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 14735     label: Object(external_this_wp_i18n_["__"])('Open in new tab'),
       
 14736     checked: openInNewWindow,
       
 14737     onChange: changeOpenInNewWindow
       
 14738   })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 14739     title: Object(external_this_wp_i18n_["__"])('Download button settings')
       
 14740   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 14741     label: Object(external_this_wp_i18n_["__"])('Show download button'),
       
 14742     checked: showDownloadButton,
       
 14743     onChange: changeShowDownloadButton
       
 14744   }))));
       
 14745 }
       
 14746 
       
 14747 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/edit.js
       
 14748 
       
 14749 
       
 14750 
       
 14751 
       
 14752 
       
 14753 
       
 14754 
       
 14755 
       
 14756 
       
 14757 
       
 14758 function file_edit_createSuper(Derived) { return function () { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (file_edit_isNativeReflectConstruct()) { var NewTarget = Object(getPrototypeOf["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(possibleConstructorReturn["a" /* default */])(this, result); }; }
       
 14759 
       
 14760 function file_edit_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
       
 14761 
       
 14762 /**
       
 14763  * External dependencies
       
 14764  */
       
 14765 
       
 14766 /**
       
 14767  * WordPress dependencies
       
 14768  */
       
 14769 
       
 14770 
       
 14771 
       
 14772 
       
 14773 
       
 14774 
       
 14775 
       
 14776 
       
 14777 
       
 14778 /**
       
 14779  * Internal dependencies
       
 14780  */
       
 14781 
       
 14782 
       
 14783 
       
 14784 var edit_FileEdit = /*#__PURE__*/function (_Component) {
       
 14785   Object(inherits["a" /* default */])(FileEdit, _Component);
       
 14786 
       
 14787   var _super = file_edit_createSuper(FileEdit);
       
 14788 
       
 14789   function FileEdit() {
       
 14790     var _this;
       
 14791 
       
 14792     Object(classCallCheck["a" /* default */])(this, FileEdit);
       
 14793 
       
 14794     _this = _super.apply(this, arguments);
       
 14795     _this.onSelectFile = _this.onSelectFile.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 14796     _this.confirmCopyURL = _this.confirmCopyURL.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 14797     _this.resetCopyConfirmation = _this.resetCopyConfirmation.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 14798     _this.changeLinkDestinationOption = _this.changeLinkDestinationOption.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 14799     _this.changeOpenInNewWindow = _this.changeOpenInNewWindow.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 14800     _this.changeShowDownloadButton = _this.changeShowDownloadButton.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 14801     _this.onUploadError = _this.onUploadError.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 14802     _this.state = {
       
 14803       hasError: false,
       
 14804       showCopyConfirmation: false
       
 14805     };
       
 14806     return _this;
       
 14807   }
       
 14808 
       
 14809   Object(createClass["a" /* default */])(FileEdit, [{
       
 14810     key: "componentDidMount",
       
 14811     value: function componentDidMount() {
       
 14812       var _this2 = this;
       
 14813 
       
 14814       var _this$props = this.props,
       
 14815           attributes = _this$props.attributes,
       
 14816           mediaUpload = _this$props.mediaUpload,
       
 14817           noticeOperations = _this$props.noticeOperations,
       
 14818           setAttributes = _this$props.setAttributes;
       
 14819       var downloadButtonText = attributes.downloadButtonText,
       
 14820           href = attributes.href; // Upload a file drag-and-dropped into the editor
       
 14821 
       
 14822       if (Object(external_this_wp_blob_["isBlobURL"])(href)) {
       
 14823         var file = Object(external_this_wp_blob_["getBlobByURL"])(href);
       
 14824         mediaUpload({
       
 14825           filesList: [file],
       
 14826           onFileChange: function onFileChange(_ref) {
       
 14827             var _ref2 = Object(slicedToArray["a" /* default */])(_ref, 1),
       
 14828                 media = _ref2[0];
       
 14829 
       
 14830             return _this2.onSelectFile(media);
       
 14831           },
       
 14832           onError: function onError(message) {
       
 14833             _this2.setState({
       
 14834               hasError: true
       
 14835             });
       
 14836 
       
 14837             noticeOperations.createErrorNotice(message);
       
 14838           }
       
 14839         });
       
 14840         Object(external_this_wp_blob_["revokeBlobURL"])(href);
       
 14841       }
       
 14842 
       
 14843       if (downloadButtonText === undefined) {
       
 14844         setAttributes({
       
 14845           downloadButtonText: Object(external_this_wp_i18n_["_x"])('Download', 'button label')
       
 14846         });
       
 14847       }
       
 14848     }
       
 14849   }, {
       
 14850     key: "componentDidUpdate",
       
 14851     value: function componentDidUpdate(prevProps) {
       
 14852       // Reset copy confirmation state when block is deselected
       
 14853       if (prevProps.isSelected && !this.props.isSelected) {
       
 14854         this.setState({
       
 14855           showCopyConfirmation: false
       
 14856         });
       
 14857       }
       
 14858     }
       
 14859   }, {
       
 14860     key: "onSelectFile",
       
 14861     value: function onSelectFile(media) {
       
 14862       if (media && media.url) {
       
 14863         this.setState({
       
 14864           hasError: false
       
 14865         });
       
 14866         this.props.setAttributes({
       
 14867           href: media.url,
       
 14868           fileName: media.title,
       
 14869           textLinkHref: media.url,
       
 14870           id: media.id
       
 14871         });
       
 14872       }
       
 14873     }
       
 14874   }, {
       
 14875     key: "onUploadError",
       
 14876     value: function onUploadError(message) {
       
 14877       var noticeOperations = this.props.noticeOperations;
       
 14878       noticeOperations.removeAllNotices();
       
 14879       noticeOperations.createErrorNotice(message);
       
 14880     }
       
 14881   }, {
       
 14882     key: "confirmCopyURL",
       
 14883     value: function confirmCopyURL() {
       
 14884       this.setState({
       
 14885         showCopyConfirmation: true
       
 14886       });
       
 14887     }
       
 14888   }, {
       
 14889     key: "resetCopyConfirmation",
       
 14890     value: function resetCopyConfirmation() {
       
 14891       this.setState({
       
 14892         showCopyConfirmation: false
       
 14893       });
       
 14894     }
       
 14895   }, {
       
 14896     key: "changeLinkDestinationOption",
       
 14897     value: function changeLinkDestinationOption(newHref) {
       
 14898       // Choose Media File or Attachment Page (when file is in Media Library)
       
 14899       this.props.setAttributes({
       
 14900         textLinkHref: newHref
       
 14901       });
       
 14902     }
       
 14903   }, {
       
 14904     key: "changeOpenInNewWindow",
       
 14905     value: function changeOpenInNewWindow(newValue) {
       
 14906       this.props.setAttributes({
       
 14907         textLinkTarget: newValue ? '_blank' : false
       
 14908       });
       
 14909     }
       
 14910   }, {
       
 14911     key: "changeShowDownloadButton",
       
 14912     value: function changeShowDownloadButton(newValue) {
       
 14913       this.props.setAttributes({
       
 14914         showDownloadButton: newValue
       
 14915       });
       
 14916     }
       
 14917   }, {
       
 14918     key: "render",
       
 14919     value: function render() {
       
 14920       var _this3 = this;
       
 14921 
       
 14922       var _this$props2 = this.props,
       
 14923           className = _this$props2.className,
       
 14924           isSelected = _this$props2.isSelected,
       
 14925           attributes = _this$props2.attributes,
       
 14926           setAttributes = _this$props2.setAttributes,
       
 14927           noticeUI = _this$props2.noticeUI,
       
 14928           media = _this$props2.media;
       
 14929       var id = attributes.id,
       
 14930           fileName = attributes.fileName,
       
 14931           href = attributes.href,
       
 14932           textLinkHref = attributes.textLinkHref,
       
 14933           textLinkTarget = attributes.textLinkTarget,
       
 14934           showDownloadButton = attributes.showDownloadButton,
       
 14935           downloadButtonText = attributes.downloadButtonText;
       
 14936       var _this$state = this.state,
       
 14937           hasError = _this$state.hasError,
       
 14938           showCopyConfirmation = _this$state.showCopyConfirmation;
       
 14939       var attachmentPage = media && media.link;
       
 14940 
       
 14941       if (!href || hasError) {
       
 14942         return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaPlaceholder"], {
       
 14943           icon: Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], {
       
 14944             icon: library_file
       
 14945           }),
       
 14946           labels: {
       
 14947             title: Object(external_this_wp_i18n_["__"])('File'),
       
 14948             instructions: Object(external_this_wp_i18n_["__"])('Upload a file or pick one from your media library.')
       
 14949           },
       
 14950           onSelect: this.onSelectFile,
       
 14951           notices: noticeUI,
       
 14952           onError: this.onUploadError,
       
 14953           accept: "*"
       
 14954         });
       
 14955       }
       
 14956 
       
 14957       var classes = classnames_default()(className, {
       
 14958         'is-transient': Object(external_this_wp_blob_["isBlobURL"])(href)
       
 14959       });
       
 14960       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(FileBlockInspector, Object(esm_extends["a" /* default */])({
       
 14961         hrefs: {
       
 14962           href: href,
       
 14963           textLinkHref: textLinkHref,
       
 14964           attachmentPage: attachmentPage
       
 14965         }
       
 14966       }, {
       
 14967         openInNewWindow: !!textLinkTarget,
       
 14968         showDownloadButton: showDownloadButton,
       
 14969         changeLinkDestinationOption: this.changeLinkDestinationOption,
       
 14970         changeOpenInNewWindow: this.changeOpenInNewWindow,
       
 14971         changeShowDownloadButton: this.changeShowDownloadButton
       
 14972       })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaReplaceFlow"], {
       
 14973         mediaId: id,
       
 14974         mediaURL: href,
       
 14975         accept: "*",
       
 14976         onSelect: this.onSelectFile,
       
 14977         onError: this.onUploadError
       
 14978       })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Animate"], {
       
 14979         type: Object(external_this_wp_blob_["isBlobURL"])(href) ? 'loading' : null
       
 14980       }, function (_ref3) {
       
 14981         var animateClassName = _ref3.className;
       
 14982         return Object(external_this_wp_element_["createElement"])("div", {
       
 14983           className: classnames_default()(classes, animateClassName)
       
 14984         }, Object(external_this_wp_element_["createElement"])("div", {
       
 14985           className: 'wp-block-file__content-wrapper'
       
 14986         }, Object(external_this_wp_element_["createElement"])("div", {
       
 14987           className: "wp-block-file__textlink"
       
 14988         }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 14989           tagName: "div" // must be block-level or else cursor disappears
       
 14990           ,
       
 14991           value: fileName,
       
 14992           placeholder: Object(external_this_wp_i18n_["__"])('Write file name…'),
       
 14993           withoutInteractiveFormatting: true,
       
 14994           onChange: function onChange(text) {
       
 14995             return setAttributes({
       
 14996               fileName: text
       
 14997             });
       
 14998           }
       
 14999         })), showDownloadButton && Object(external_this_wp_element_["createElement"])("div", {
       
 15000           className: 'wp-block-file__button-richtext-wrapper'
       
 15001         }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 15002           tagName: "div" // must be block-level or else cursor disappears
       
 15003           ,
       
 15004           className: 'wp-block-file__button',
       
 15005           value: downloadButtonText,
       
 15006           withoutInteractiveFormatting: true,
       
 15007           placeholder: Object(external_this_wp_i18n_["__"])('Add text…'),
       
 15008           onChange: function onChange(text) {
       
 15009             return setAttributes({
       
 15010               downloadButtonText: text
       
 15011             });
       
 15012           }
       
 15013         }))), isSelected && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ClipboardButton"], {
       
 15014           isSecondary: true,
       
 15015           text: href,
       
 15016           className: 'wp-block-file__copy-url-button',
       
 15017           onCopy: _this3.confirmCopyURL,
       
 15018           onFinishCopy: _this3.resetCopyConfirmation,
       
 15019           disabled: Object(external_this_wp_blob_["isBlobURL"])(href)
       
 15020         }, showCopyConfirmation ? Object(external_this_wp_i18n_["__"])('Copied!') : Object(external_this_wp_i18n_["__"])('Copy URL')));
       
 15021       }));
       
 15022     }
       
 15023   }]);
       
 15024 
       
 15025   return FileEdit;
       
 15026 }(external_this_wp_element_["Component"]);
       
 15027 
       
 15028 /* harmony default export */ var file_edit = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, props) {
       
 15029   var _select = select('core'),
       
 15030       getMedia = _select.getMedia;
       
 15031 
       
 15032   var _select2 = select('core/block-editor'),
       
 15033       getSettings = _select2.getSettings;
       
 15034 
       
 15035   var _getSettings = getSettings(),
       
 15036       mediaUpload = _getSettings.mediaUpload;
       
 15037 
       
 15038   var id = props.attributes.id;
       
 15039   return {
       
 15040     media: id === undefined ? undefined : getMedia(id),
       
 15041     mediaUpload: mediaUpload
       
 15042   };
       
 15043 }), external_this_wp_components_["withNotices"]])(edit_FileEdit));
       
 15044 
       
 15045 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/save.js
       
 15046 
       
 15047 
       
 15048 /**
       
 15049  * WordPress dependencies
       
 15050  */
       
 15051 
       
 15052 function file_save_save(_ref) {
       
 15053   var attributes = _ref.attributes;
       
 15054   var href = attributes.href,
       
 15055       fileName = attributes.fileName,
       
 15056       textLinkHref = attributes.textLinkHref,
       
 15057       textLinkTarget = attributes.textLinkTarget,
       
 15058       showDownloadButton = attributes.showDownloadButton,
       
 15059       downloadButtonText = attributes.downloadButtonText;
       
 15060   return href && Object(external_this_wp_element_["createElement"])("div", null, !external_this_wp_blockEditor_["RichText"].isEmpty(fileName) && Object(external_this_wp_element_["createElement"])("a", {
       
 15061     href: textLinkHref,
       
 15062     target: textLinkTarget,
       
 15063     rel: textLinkTarget ? 'noreferrer noopener' : false
       
 15064   }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 15065     value: fileName
       
 15066   })), showDownloadButton && Object(external_this_wp_element_["createElement"])("a", {
       
 15067     href: href,
       
 15068     className: "wp-block-file__button",
       
 15069     download: true
       
 15070   }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 15071     value: downloadButtonText
       
 15072   })));
       
 15073 }
       
 15074 
       
 15075 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/transforms.js
       
 15076 /**
       
 15077  * External dependencies
       
 15078  */
       
 15079 
       
 15080 /**
       
 15081  * WordPress dependencies
       
 15082  */
       
 15083 
       
 15084 
       
 15085 
       
 15086 
       
 15087 var file_transforms_transforms = {
       
 15088   from: [{
       
 15089     type: 'files',
       
 15090     isMatch: function isMatch(files) {
       
 15091       return files.length > 0;
       
 15092     },
       
 15093     // We define a lower priorty (higher number) than the default of 10. This
       
 15094     // ensures that the File block is only created as a fallback.
       
 15095     priority: 15,
       
 15096     transform: function transform(files) {
       
 15097       var blocks = [];
       
 15098       files.forEach(function (file) {
       
 15099         var blobURL = Object(external_this_wp_blob_["createBlobURL"])(file); // File will be uploaded in componentDidMount()
       
 15100 
       
 15101         blocks.push(Object(external_this_wp_blocks_["createBlock"])('core/file', {
       
 15102           href: blobURL,
       
 15103           fileName: file.name,
       
 15104           textLinkHref: blobURL
       
 15105         }));
       
 15106       });
       
 15107       return blocks;
       
 15108     }
       
 15109   }, {
       
 15110     type: 'block',
       
 15111     blocks: ['core/audio'],
       
 15112     transform: function transform(attributes) {
       
 15113       return Object(external_this_wp_blocks_["createBlock"])('core/file', {
       
 15114         href: attributes.src,
       
 15115         fileName: attributes.caption,
       
 15116         textLinkHref: attributes.src,
       
 15117         id: attributes.id,
       
 15118         anchor: attributes.anchor
       
 15119       });
       
 15120     }
       
 15121   }, {
       
 15122     type: 'block',
       
 15123     blocks: ['core/video'],
       
 15124     transform: function transform(attributes) {
       
 15125       return Object(external_this_wp_blocks_["createBlock"])('core/file', {
       
 15126         href: attributes.src,
       
 15127         fileName: attributes.caption,
       
 15128         textLinkHref: attributes.src,
       
 15129         id: attributes.id,
       
 15130         anchor: attributes.anchor
       
 15131       });
       
 15132     }
       
 15133   }, {
       
 15134     type: 'block',
       
 15135     blocks: ['core/image'],
       
 15136     transform: function transform(attributes) {
       
 15137       return Object(external_this_wp_blocks_["createBlock"])('core/file', {
       
 15138         href: attributes.url,
       
 15139         fileName: attributes.caption,
       
 15140         textLinkHref: attributes.url,
       
 15141         id: attributes.id,
       
 15142         anchor: attributes.anchor
       
 15143       });
       
 15144     }
       
 15145   }],
       
 15146   to: [{
       
 15147     type: 'block',
       
 15148     blocks: ['core/audio'],
       
 15149     isMatch: function isMatch(_ref) {
       
 15150       var id = _ref.id;
       
 15151 
       
 15152       if (!id) {
       
 15153         return false;
       
 15154       }
       
 15155 
       
 15156       var _select = Object(external_this_wp_data_["select"])('core'),
       
 15157           getMedia = _select.getMedia;
       
 15158 
       
 15159       var media = getMedia(id);
       
 15160       return !!media && Object(external_this_lodash_["includes"])(media.mime_type, 'audio');
       
 15161     },
       
 15162     transform: function transform(attributes) {
       
 15163       return Object(external_this_wp_blocks_["createBlock"])('core/audio', {
       
 15164         src: attributes.href,
       
 15165         caption: attributes.fileName,
       
 15166         id: attributes.id,
       
 15167         anchor: attributes.anchor
       
 15168       });
       
 15169     }
       
 15170   }, {
       
 15171     type: 'block',
       
 15172     blocks: ['core/video'],
       
 15173     isMatch: function isMatch(_ref2) {
       
 15174       var id = _ref2.id;
       
 15175 
       
 15176       if (!id) {
       
 15177         return false;
       
 15178       }
       
 15179 
       
 15180       var _select2 = Object(external_this_wp_data_["select"])('core'),
       
 15181           getMedia = _select2.getMedia;
       
 15182 
       
 15183       var media = getMedia(id);
       
 15184       return !!media && Object(external_this_lodash_["includes"])(media.mime_type, 'video');
       
 15185     },
       
 15186     transform: function transform(attributes) {
       
 15187       return Object(external_this_wp_blocks_["createBlock"])('core/video', {
       
 15188         src: attributes.href,
       
 15189         caption: attributes.fileName,
       
 15190         id: attributes.id,
       
 15191         anchor: attributes.anchor
       
 15192       });
       
 15193     }
       
 15194   }, {
       
 15195     type: 'block',
       
 15196     blocks: ['core/image'],
       
 15197     isMatch: function isMatch(_ref3) {
       
 15198       var id = _ref3.id;
       
 15199 
       
 15200       if (!id) {
       
 15201         return false;
       
 15202       }
       
 15203 
       
 15204       var _select3 = Object(external_this_wp_data_["select"])('core'),
       
 15205           getMedia = _select3.getMedia;
       
 15206 
       
 15207       var media = getMedia(id);
       
 15208       return !!media && Object(external_this_lodash_["includes"])(media.mime_type, 'image');
       
 15209     },
       
 15210     transform: function transform(attributes) {
       
 15211       return Object(external_this_wp_blocks_["createBlock"])('core/image', {
       
 15212         url: attributes.href,
       
 15213         caption: attributes.fileName,
       
 15214         id: attributes.id,
       
 15215         anchor: attributes.anchor
       
 15216       });
       
 15217     }
       
 15218   }]
       
 15219 };
       
 15220 /* harmony default export */ var file_transforms = (file_transforms_transforms);
       
 15221 
       
 15222 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/index.js
       
 15223 /**
       
 15224  * WordPress dependencies
       
 15225  */
       
 15226 
       
 15227 
       
 15228 /**
       
 15229  * Internal dependencies
       
 15230  */
       
 15231 
       
 15232 
       
 15233 var file_metadata = {
       
 15234   name: "core/file",
       
 15235   category: "media",
       
 15236   attributes: {
       
 15237     id: {
       
 15238       type: "number"
       
 15239     },
       
 15240     href: {
       
 15241       type: "string"
       
 15242     },
       
 15243     fileName: {
       
 15244       type: "string",
       
 15245       source: "html",
       
 15246       selector: "a:not([download])"
       
 15247     },
       
 15248     textLinkHref: {
       
 15249       type: "string",
       
 15250       source: "attribute",
       
 15251       selector: "a:not([download])",
       
 15252       attribute: "href"
       
 15253     },
       
 15254     textLinkTarget: {
       
 15255       type: "string",
       
 15256       source: "attribute",
       
 15257       selector: "a:not([download])",
       
 15258       attribute: "target"
       
 15259     },
       
 15260     showDownloadButton: {
       
 15261       type: "boolean",
       
 15262       "default": true
       
 15263     },
       
 15264     downloadButtonText: {
       
 15265       type: "string",
       
 15266       source: "html",
       
 15267       selector: "a[download]"
       
 15268     }
       
 15269   },
       
 15270   supports: {
       
 15271     anchor: true,
       
 15272     align: true
       
 15273   }
       
 15274 };
       
 15275 
       
 15276 
       
 15277 var file_name = file_metadata.name;
       
 15278 
       
 15279 var file_settings = {
       
 15280   title: Object(external_this_wp_i18n_["__"])('File'),
       
 15281   description: Object(external_this_wp_i18n_["__"])('Add a link to a downloadable file.'),
       
 15282   icon: library_file,
       
 15283   keywords: [Object(external_this_wp_i18n_["__"])('document'), Object(external_this_wp_i18n_["__"])('pdf'), Object(external_this_wp_i18n_["__"])('download')],
       
 15284   transforms: file_transforms,
       
 15285   edit: file_edit,
       
 15286   save: file_save_save
       
 15287 };
       
 15288 
       
 15289 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/html.js
       
 15290 
       
 15291 
       
 15292 /**
       
 15293  * WordPress dependencies
       
 15294  */
       
 15295 
       
 15296 var html_html = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 15297   viewBox: "0 0 24 24",
       
 15298   xmlns: "http://www.w3.org/2000/svg"
       
 15299 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 15300   d: "M4.8 11.4H2.1V9H1v6h1.1v-2.6h2.7V15h1.1V9H4.8v2.4zm1.9-1.3h1.7V15h1.1v-4.9h1.7V9H6.7v1.1zM16.2 9l-1.5 2.7L13.3 9h-.9l-.8 6h1.1l.5-4 1.5 2.8 1.5-2.8.5 4h1.1L17 9h-.8zm3.8 5V9h-1.1v6h3.6v-1H20z"
       
 15301 }));
       
 15302 /* harmony default export */ var library_html = (html_html);
       
 15303 
       
 15304 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/html/edit.js
       
 15305 
       
 15306 
       
 15307 
       
 15308 
       
 15309 
       
 15310 
       
 15311 
       
 15312 
       
 15313 
       
 15314 function html_edit_createSuper(Derived) { return function () { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (html_edit_isNativeReflectConstruct()) { var NewTarget = Object(getPrototypeOf["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(possibleConstructorReturn["a" /* default */])(this, result); }; }
       
 15315 
       
 15316 function html_edit_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
       
 15317 
       
 15318 /**
       
 15319  * WordPress dependencies
       
 15320  */
       
 15321 
       
 15322 
       
 15323 
       
 15324 
       
 15325 
       
 15326 
       
 15327 var edit_HTMLEdit = /*#__PURE__*/function (_Component) {
       
 15328   Object(inherits["a" /* default */])(HTMLEdit, _Component);
       
 15329 
       
 15330   var _super = html_edit_createSuper(HTMLEdit);
       
 15331 
       
 15332   function HTMLEdit() {
       
 15333     var _this;
       
 15334 
       
 15335     Object(classCallCheck["a" /* default */])(this, HTMLEdit);
       
 15336 
       
 15337     _this = _super.apply(this, arguments);
       
 15338     _this.state = {
       
 15339       isPreview: false,
       
 15340       styles: []
       
 15341     };
       
 15342     _this.switchToHTML = _this.switchToHTML.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 15343     _this.switchToPreview = _this.switchToPreview.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 15344     return _this;
       
 15345   }
       
 15346 
       
 15347   Object(createClass["a" /* default */])(HTMLEdit, [{
       
 15348     key: "componentDidMount",
       
 15349     value: function componentDidMount() {
       
 15350       var styles = this.props.styles; // Default styles used to unset some of the styles
       
 15351       // that might be inherited from the editor style.
       
 15352 
       
 15353       var defaultStyles = "\n\t\t\thtml,body,:root {\n\t\t\t\tmargin: 0 !important;\n\t\t\t\tpadding: 0 !important;\n\t\t\t\toverflow: visible !important;\n\t\t\t\tmin-height: auto !important;\n\t\t\t}\n\t\t";
       
 15354       this.setState({
       
 15355         styles: [defaultStyles].concat(Object(toConsumableArray["a" /* default */])(Object(external_this_wp_blockEditor_["transformStyles"])(styles)))
       
 15356       });
       
 15357     }
       
 15358   }, {
       
 15359     key: "switchToPreview",
       
 15360     value: function switchToPreview() {
       
 15361       this.setState({
       
 15362         isPreview: true
       
 15363       });
       
 15364     }
       
 15365   }, {
       
 15366     key: "switchToHTML",
       
 15367     value: function switchToHTML() {
       
 15368       this.setState({
       
 15369         isPreview: false
       
 15370       });
       
 15371     }
       
 15372   }, {
       
 15373     key: "render",
       
 15374     value: function render() {
       
 15375       var _this2 = this;
       
 15376 
       
 15377       var _this$props = this.props,
       
 15378           attributes = _this$props.attributes,
       
 15379           setAttributes = _this$props.setAttributes;
       
 15380       var _this$state = this.state,
       
 15381           isPreview = _this$state.isPreview,
       
 15382           styles = _this$state.styles;
       
 15383       return Object(external_this_wp_element_["createElement"])("div", {
       
 15384         className: "wp-block-html"
       
 15385       }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarButton"], {
       
 15386         className: "components-tab-button",
       
 15387         isPressed: !isPreview,
       
 15388         onClick: this.switchToHTML
       
 15389       }, Object(external_this_wp_element_["createElement"])("span", null, "HTML")), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarButton"], {
       
 15390         className: "components-tab-button",
       
 15391         isPressed: isPreview,
       
 15392         onClick: this.switchToPreview
       
 15393       }, Object(external_this_wp_element_["createElement"])("span", null, Object(external_this_wp_i18n_["__"])('Preview'))))), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Disabled"].Consumer, null, function (isDisabled) {
       
 15394         return isPreview || isDisabled ? Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SandBox"], {
       
 15395           html: attributes.content,
       
 15396           styles: styles
       
 15397         }), !_this2.props.isSelected && Object(external_this_wp_element_["createElement"])("div", {
       
 15398           className: "block-library-html__preview-overlay"
       
 15399         })) : Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PlainText"], {
       
 15400           value: attributes.content,
       
 15401           onChange: function onChange(content) {
       
 15402             return setAttributes({
       
 15403               content: content
       
 15404             });
       
 15405           },
       
 15406           placeholder: Object(external_this_wp_i18n_["__"])('Write HTML…'),
       
 15407           "aria-label": Object(external_this_wp_i18n_["__"])('HTML')
       
 15408         });
       
 15409       }));
       
 15410     }
       
 15411   }]);
       
 15412 
       
 15413   return HTMLEdit;
       
 15414 }(external_this_wp_element_["Component"]);
       
 15415 
       
 15416 /* harmony default export */ var html_edit = (Object(external_this_wp_data_["withSelect"])(function (select) {
       
 15417   var _select = select('core/block-editor'),
       
 15418       getSettings = _select.getSettings;
       
 15419 
       
 15420   return {
       
 15421     styles: getSettings().styles
       
 15422   };
       
 15423 })(edit_HTMLEdit));
       
 15424 
       
 15425 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/html/save.js
       
 15426 
       
 15427 
       
 15428 /**
       
 15429  * WordPress dependencies
       
 15430  */
       
 15431 
       
 15432 function html_save_save(_ref) {
       
 15433   var attributes = _ref.attributes;
       
 15434   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["RawHTML"], null, attributes.content);
       
 15435 }
       
 15436 
       
 15437 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/html/transforms.js
       
 15438 /**
       
 15439  * WordPress dependencies
       
 15440  */
       
 15441 
       
 15442 var html_transforms_transforms = {
       
 15443   from: [{
       
 15444     type: 'block',
       
 15445     blocks: ['core/code'],
       
 15446     transform: function transform(_ref) {
       
 15447       var content = _ref.content;
       
 15448       return Object(external_this_wp_blocks_["createBlock"])('core/html', {
       
 15449         content: content
       
 15450       });
       
 15451     }
       
 15452   }]
       
 15453 };
       
 15454 /* harmony default export */ var html_transforms = (html_transforms_transforms);
       
 15455 
       
 15456 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/html/index.js
       
 15457 /**
       
 15458  * WordPress dependencies
       
 15459  */
       
 15460 
       
 15461 
       
 15462 /**
       
 15463  * Internal dependencies
       
 15464  */
       
 15465 
       
 15466 
       
 15467 var html_metadata = {
       
 15468   name: "core/html",
       
 15469   category: "widgets",
       
 15470   attributes: {
       
 15471     content: {
       
 15472       type: "string",
       
 15473       source: "html"
       
 15474     }
       
 15475   },
       
 15476   supports: {
       
 15477     customClassName: false,
       
 15478     className: false,
       
 15479     html: false
       
 15480   }
       
 15481 };
       
 15482 
       
 15483 
       
 15484 var html_name = html_metadata.name;
       
 15485 
       
 15486 var html_settings = {
       
 15487   title: Object(external_this_wp_i18n_["__"])('Custom HTML'),
       
 15488   description: Object(external_this_wp_i18n_["__"])('Add custom HTML code and preview it as you edit.'),
       
 15489   icon: library_html,
       
 15490   keywords: [Object(external_this_wp_i18n_["__"])('embed')],
       
 15491   example: {
       
 15492     attributes: {
       
 15493       content: '<marquee>' + Object(external_this_wp_i18n_["__"])('Welcome to the wonderful world of blocks…') + '</marquee>'
       
 15494     }
       
 15495   },
       
 15496   edit: html_edit,
       
 15497   save: html_save_save,
       
 15498   transforms: html_transforms
       
 15499 };
       
 15500 
       
 15501 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/media-and-text.js
       
 15502 
       
 15503 
       
 15504 /**
       
 15505  * WordPress dependencies
       
 15506  */
       
 15507 
       
 15508 var mediaAndText = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 15509   xmlns: "http://www.w3.org/2000/svg",
       
 15510   viewBox: "0 0 24 24"
       
 15511 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 15512   d: "M4 17h7V6H4v11zm9-10v1.5h7V7h-7zm0 5.5h7V11h-7v1.5zm0 4h7V15h-7v1.5z"
       
 15513 }));
       
 15514 /* harmony default export */ var media_and_text = (mediaAndText);
       
 15515 
       
 15516 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/media-container-icon.js
       
 15517 
       
 15518 
       
 15519 /**
       
 15520  * WordPress dependencies
       
 15521  */
       
 15522 
       
 15523 /* harmony default export */ var media_container_icon = (Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
 15524   xmlns: "http://www.w3.org/2000/svg",
       
 15525   viewBox: "0 0 24 24"
       
 15526 }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 15527   d: "M18 2l2 4h-2l-2-4h-3l2 4h-2l-2-4h-1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V2zm2 12H10V4.4L11.8 8H20z"
       
 15528 }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 15529   d: "M14 20H4V10h3V8H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3h-2z"
       
 15530 }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 15531   d: "M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"
       
 15532 })));
       
 15533 
       
 15534 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/media-container.js
       
 15535 
       
 15536 
       
 15537 
       
 15538 
       
 15539 /**
       
 15540  * External dependencies
       
 15541  */
       
 15542 
       
 15543 
       
 15544 /**
       
 15545  * WordPress dependencies
       
 15546  */
       
 15547 
       
 15548 
       
 15549 
       
 15550 
       
 15551 
       
 15552 
       
 15553 /**
       
 15554  * Internal dependencies
       
 15555  */
       
 15556 
       
 15557 
       
 15558 /**
       
 15559  * Constants
       
 15560  */
       
 15561 
       
 15562 var media_container_ALLOWED_MEDIA_TYPES = ['image', 'video'];
       
 15563 function imageFillStyles(url, focalPoint) {
       
 15564   return url ? {
       
 15565     backgroundImage: "url(".concat(url, ")"),
       
 15566     backgroundPosition: focalPoint ? "".concat(focalPoint.x * 100, "% ").concat(focalPoint.y * 100, "%") : "50% 50%"
       
 15567   } : {};
       
 15568 }
       
 15569 
       
 15570 function ResizableBoxContainer(_ref) {
       
 15571   var isSelected = _ref.isSelected,
       
 15572       isStackedOnMobile = _ref.isStackedOnMobile,
       
 15573       props = Object(objectWithoutProperties["a" /* default */])(_ref, ["isSelected", "isStackedOnMobile"]);
       
 15574 
       
 15575   var isMobile = Object(external_this_wp_compose_["useViewportMatch"])('small', '<');
       
 15576   return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ResizableBox"], Object(esm_extends["a" /* default */])({
       
 15577     showHandle: isSelected && (!isMobile || !isStackedOnMobile)
       
 15578   }, props));
       
 15579 }
       
 15580 
       
 15581 function ToolbarEditButton(_ref2) {
       
 15582   var mediaId = _ref2.mediaId,
       
 15583       mediaUrl = _ref2.mediaUrl,
       
 15584       onSelectMedia = _ref2.onSelectMedia;
       
 15585   return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaReplaceFlow"], {
       
 15586     mediaId: mediaId,
       
 15587     mediaURL: mediaUrl,
       
 15588     allowedTypes: media_container_ALLOWED_MEDIA_TYPES,
       
 15589     accept: "image/*,video/*",
       
 15590     onSelect: onSelectMedia
       
 15591   }));
       
 15592 }
       
 15593 
       
 15594 function PlaceholderContainer(_ref3) {
       
 15595   var className = _ref3.className,
       
 15596       noticeOperations = _ref3.noticeOperations,
       
 15597       noticeUI = _ref3.noticeUI,
       
 15598       onSelectMedia = _ref3.onSelectMedia;
       
 15599 
       
 15600   var onUploadError = function onUploadError(message) {
       
 15601     noticeOperations.removeAllNotices();
       
 15602     noticeOperations.createErrorNotice(message);
       
 15603   };
       
 15604 
       
 15605   return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaPlaceholder"], {
       
 15606     icon: Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], {
       
 15607       icon: media_container_icon
       
 15608     }),
       
 15609     labels: {
       
 15610       title: Object(external_this_wp_i18n_["__"])('Media area')
       
 15611     },
       
 15612     className: className,
       
 15613     onSelect: onSelectMedia,
       
 15614     accept: "image/*,video/*",
       
 15615     allowedTypes: media_container_ALLOWED_MEDIA_TYPES,
       
 15616     notices: noticeUI,
       
 15617     onError: onUploadError
       
 15618   });
       
 15619 }
       
 15620 
       
 15621 function MediaContainer(props) {
       
 15622   var className = props.className,
       
 15623       commitWidthChange = props.commitWidthChange,
       
 15624       focalPoint = props.focalPoint,
       
 15625       imageFill = props.imageFill,
       
 15626       isSelected = props.isSelected,
       
 15627       isStackedOnMobile = props.isStackedOnMobile,
       
 15628       mediaAlt = props.mediaAlt,
       
 15629       mediaId = props.mediaId,
       
 15630       mediaPosition = props.mediaPosition,
       
 15631       mediaType = props.mediaType,
       
 15632       mediaUrl = props.mediaUrl,
       
 15633       mediaWidth = props.mediaWidth,
       
 15634       onSelectMedia = props.onSelectMedia,
       
 15635       onWidthChange = props.onWidthChange;
       
 15636 
       
 15637   var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'),
       
 15638       toggleSelection = _useDispatch.toggleSelection;
       
 15639 
       
 15640   if (mediaType && mediaUrl) {
       
 15641     var onResizeStart = function onResizeStart() {
       
 15642       toggleSelection(false);
       
 15643     };
       
 15644 
       
 15645     var onResize = function onResize(event, direction, elt) {
       
 15646       onWidthChange(parseInt(elt.style.width));
       
 15647     };
       
 15648 
       
 15649     var onResizeStop = function onResizeStop(event, direction, elt) {
       
 15650       toggleSelection(true);
       
 15651       commitWidthChange(parseInt(elt.style.width));
       
 15652     };
       
 15653 
       
 15654     var enablePositions = {
       
 15655       right: mediaPosition === 'left',
       
 15656       left: mediaPosition === 'right'
       
 15657     };
       
 15658     var backgroundStyles = mediaType === 'image' && imageFill ? imageFillStyles(mediaUrl, focalPoint) : {};
       
 15659     var mediaTypeRenderers = {
       
 15660       image: function image() {
       
 15661         return Object(external_this_wp_element_["createElement"])("img", {
       
 15662           src: mediaUrl,
       
 15663           alt: mediaAlt
       
 15664         });
       
 15665       },
       
 15666       video: function video() {
       
 15667         return Object(external_this_wp_element_["createElement"])("video", {
       
 15668           controls: true,
       
 15669           src: mediaUrl
       
 15670         });
       
 15671       }
       
 15672     };
       
 15673     return Object(external_this_wp_element_["createElement"])(ResizableBoxContainer, {
       
 15674       as: "figure",
       
 15675       className: classnames_default()(className, 'editor-media-container__resizer'),
       
 15676       style: backgroundStyles,
       
 15677       size: {
       
 15678         width: mediaWidth + '%'
       
 15679       },
       
 15680       minWidth: "10%",
       
 15681       maxWidth: "100%",
       
 15682       enable: enablePositions,
       
 15683       onResizeStart: onResizeStart,
       
 15684       onResize: onResize,
       
 15685       onResizeStop: onResizeStop,
       
 15686       axis: "x",
       
 15687       isSelected: isSelected,
       
 15688       isStackedOnMobile: isStackedOnMobile
       
 15689     }, Object(external_this_wp_element_["createElement"])(ToolbarEditButton, {
       
 15690       onSelectMedia: onSelectMedia,
       
 15691       mediaUrl: mediaUrl,
       
 15692       mediaId: mediaId
       
 15693     }), (mediaTypeRenderers[mediaType] || external_this_lodash_["noop"])());
       
 15694   }
       
 15695 
       
 15696   return Object(external_this_wp_element_["createElement"])(PlaceholderContainer, props);
       
 15697 }
       
 15698 
       
 15699 /* harmony default export */ var media_container = (Object(external_this_wp_components_["withNotices"])(MediaContainer));
       
 15700 
       
 15701 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/deprecated.js
       
 15702 
       
 15703 
       
 15704 
       
 15705 function media_text_deprecated_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
 15706 
       
 15707 function media_text_deprecated_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { media_text_deprecated_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { media_text_deprecated_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
 15708 
       
 15709 /**
       
 15710  * External dependencies
       
 15711  */
       
 15712 
       
 15713 
       
 15714 /**
       
 15715  * WordPress dependencies
       
 15716  */
       
 15717 
       
 15718 
       
 15719 /**
       
 15720  * Internal dependencies
       
 15721  */
       
 15722 
       
 15723 
       
 15724 var DEFAULT_MEDIA_WIDTH = 50;
       
 15725 
       
 15726 var media_text_deprecated_migrateCustomColors = function migrateCustomColors(attributes) {
       
 15727   if (!attributes.customBackgroundColor) {
       
 15728     return attributes;
       
 15729   }
       
 15730 
       
 15731   var style = {
       
 15732     color: {
       
 15733       background: attributes.customBackgroundColor
       
 15734     }
       
 15735   };
       
 15736   return media_text_deprecated_objectSpread({}, Object(external_this_lodash_["omit"])(attributes, ['customBackgroundColor']), {
       
 15737     style: style
       
 15738   });
       
 15739 };
       
 15740 
       
 15741 var baseAttributes = {
       
 15742   align: {
       
 15743     type: 'string',
       
 15744     default: 'wide'
       
 15745   },
       
 15746   backgroundColor: {
       
 15747     type: 'string'
       
 15748   },
       
 15749   mediaAlt: {
       
 15750     type: 'string',
       
 15751     source: 'attribute',
       
 15752     selector: 'figure img',
       
 15753     attribute: 'alt',
       
 15754     default: ''
       
 15755   },
       
 15756   mediaPosition: {
       
 15757     type: 'string',
       
 15758     default: 'left'
       
 15759   },
       
 15760   mediaId: {
       
 15761     type: 'number'
       
 15762   },
       
 15763   mediaType: {
       
 15764     type: 'string'
       
 15765   },
       
 15766   mediaWidth: {
       
 15767     type: 'number',
       
 15768     default: 50
       
 15769   },
       
 15770   isStackedOnMobile: {
       
 15771     type: 'boolean',
       
 15772     default: false
       
 15773   }
       
 15774 };
       
 15775 /* harmony default export */ var media_text_deprecated = ([{
       
 15776   attributes: media_text_deprecated_objectSpread({}, baseAttributes, {
       
 15777     customBackgroundColor: {
       
 15778       type: 'string'
       
 15779     },
       
 15780     mediaLink: {
       
 15781       type: 'string'
       
 15782     },
       
 15783     linkDestination: {
       
 15784       type: 'string'
       
 15785     },
       
 15786     linkTarget: {
       
 15787       type: 'string',
       
 15788       source: 'attribute',
       
 15789       selector: 'figure a',
       
 15790       attribute: 'target'
       
 15791     },
       
 15792     href: {
       
 15793       type: 'string',
       
 15794       source: 'attribute',
       
 15795       selector: 'figure a',
       
 15796       attribute: 'href'
       
 15797     },
       
 15798     rel: {
       
 15799       type: 'string',
       
 15800       source: 'attribute',
       
 15801       selector: 'figure a',
       
 15802       attribute: 'rel'
       
 15803     },
       
 15804     linkClass: {
       
 15805       type: 'string',
       
 15806       source: 'attribute',
       
 15807       selector: 'figure a',
       
 15808       attribute: 'class'
       
 15809     },
       
 15810     verticalAlignment: {
       
 15811       type: 'string'
       
 15812     },
       
 15813     imageFill: {
       
 15814       type: 'boolean'
       
 15815     },
       
 15816     focalPoint: {
       
 15817       type: 'object'
       
 15818     }
       
 15819   }),
       
 15820   migrate: media_text_deprecated_migrateCustomColors,
       
 15821   save: function save(_ref) {
       
 15822     var _classnames;
       
 15823 
       
 15824     var attributes = _ref.attributes;
       
 15825     var backgroundColor = attributes.backgroundColor,
       
 15826         customBackgroundColor = attributes.customBackgroundColor,
       
 15827         isStackedOnMobile = attributes.isStackedOnMobile,
       
 15828         mediaAlt = attributes.mediaAlt,
       
 15829         mediaPosition = attributes.mediaPosition,
       
 15830         mediaType = attributes.mediaType,
       
 15831         mediaUrl = attributes.mediaUrl,
       
 15832         mediaWidth = attributes.mediaWidth,
       
 15833         mediaId = attributes.mediaId,
       
 15834         verticalAlignment = attributes.verticalAlignment,
       
 15835         imageFill = attributes.imageFill,
       
 15836         focalPoint = attributes.focalPoint,
       
 15837         linkClass = attributes.linkClass,
       
 15838         href = attributes.href,
       
 15839         linkTarget = attributes.linkTarget,
       
 15840         rel = attributes.rel;
       
 15841     var newRel = Object(external_this_lodash_["isEmpty"])(rel) ? undefined : rel;
       
 15842 
       
 15843     var _image = Object(external_this_wp_element_["createElement"])("img", {
       
 15844       src: mediaUrl,
       
 15845       alt: mediaAlt,
       
 15846       className: mediaId && mediaType === 'image' ? "wp-image-".concat(mediaId) : null
       
 15847     });
       
 15848 
       
 15849     if (href) {
       
 15850       _image = Object(external_this_wp_element_["createElement"])("a", {
       
 15851         className: linkClass,
       
 15852         href: href,
       
 15853         target: linkTarget,
       
 15854         rel: newRel
       
 15855       }, _image);
       
 15856     }
       
 15857 
       
 15858     var mediaTypeRenders = {
       
 15859       image: function image() {
       
 15860         return _image;
       
 15861       },
       
 15862       video: function video() {
       
 15863         return Object(external_this_wp_element_["createElement"])("video", {
       
 15864           controls: true,
       
 15865           src: mediaUrl
       
 15866         });
       
 15867       }
       
 15868     };
       
 15869     var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
       
 15870     var className = classnames_default()((_classnames = {
       
 15871       'has-media-on-the-right': 'right' === mediaPosition,
       
 15872       'has-background': backgroundClass || customBackgroundColor
       
 15873     }, Object(defineProperty["a" /* default */])(_classnames, backgroundClass, backgroundClass), Object(defineProperty["a" /* default */])(_classnames, 'is-stacked-on-mobile', isStackedOnMobile), Object(defineProperty["a" /* default */])(_classnames, "is-vertically-aligned-".concat(verticalAlignment), verticalAlignment), Object(defineProperty["a" /* default */])(_classnames, 'is-image-fill', imageFill), _classnames));
       
 15874     var backgroundStyles = imageFill ? imageFillStyles(mediaUrl, focalPoint) : {};
       
 15875     var gridTemplateColumns;
       
 15876 
       
 15877     if (mediaWidth !== DEFAULT_MEDIA_WIDTH) {
       
 15878       gridTemplateColumns = 'right' === mediaPosition ? "auto ".concat(mediaWidth, "%") : "".concat(mediaWidth, "% auto");
       
 15879     }
       
 15880 
       
 15881     var style = {
       
 15882       backgroundColor: backgroundClass ? undefined : customBackgroundColor,
       
 15883       gridTemplateColumns: gridTemplateColumns
       
 15884     };
       
 15885     return Object(external_this_wp_element_["createElement"])("div", {
       
 15886       className: className,
       
 15887       style: style
       
 15888     }, Object(external_this_wp_element_["createElement"])("figure", {
       
 15889       className: "wp-block-media-text__media",
       
 15890       style: backgroundStyles
       
 15891     }, (mediaTypeRenders[mediaType] || external_this_lodash_["noop"])()), Object(external_this_wp_element_["createElement"])("div", {
       
 15892       className: "wp-block-media-text__content"
       
 15893     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null)));
       
 15894   }
       
 15895 }, {
       
 15896   attributes: media_text_deprecated_objectSpread({}, baseAttributes, {
       
 15897     customBackgroundColor: {
       
 15898       type: 'string'
       
 15899     },
       
 15900     mediaUrl: {
       
 15901       type: 'string',
       
 15902       source: 'attribute',
       
 15903       selector: 'figure video,figure img',
       
 15904       attribute: 'src'
       
 15905     },
       
 15906     verticalAlignment: {
       
 15907       type: 'string'
       
 15908     },
       
 15909     imageFill: {
       
 15910       type: 'boolean'
       
 15911     },
       
 15912     focalPoint: {
       
 15913       type: 'object'
       
 15914     }
       
 15915   }),
       
 15916   migrate: media_text_deprecated_migrateCustomColors,
       
 15917   save: function save(_ref2) {
       
 15918     var _classnames2;
       
 15919 
       
 15920     var attributes = _ref2.attributes;
       
 15921     var backgroundColor = attributes.backgroundColor,
       
 15922         customBackgroundColor = attributes.customBackgroundColor,
       
 15923         isStackedOnMobile = attributes.isStackedOnMobile,
       
 15924         mediaAlt = attributes.mediaAlt,
       
 15925         mediaPosition = attributes.mediaPosition,
       
 15926         mediaType = attributes.mediaType,
       
 15927         mediaUrl = attributes.mediaUrl,
       
 15928         mediaWidth = attributes.mediaWidth,
       
 15929         mediaId = attributes.mediaId,
       
 15930         verticalAlignment = attributes.verticalAlignment,
       
 15931         imageFill = attributes.imageFill,
       
 15932         focalPoint = attributes.focalPoint;
       
 15933     var mediaTypeRenders = {
       
 15934       image: function image() {
       
 15935         return Object(external_this_wp_element_["createElement"])("img", {
       
 15936           src: mediaUrl,
       
 15937           alt: mediaAlt,
       
 15938           className: mediaId && mediaType === 'image' ? "wp-image-".concat(mediaId) : null
       
 15939         });
       
 15940       },
       
 15941       video: function video() {
       
 15942         return Object(external_this_wp_element_["createElement"])("video", {
       
 15943           controls: true,
       
 15944           src: mediaUrl
       
 15945         });
       
 15946       }
       
 15947     };
       
 15948     var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
       
 15949     var className = classnames_default()((_classnames2 = {
       
 15950       'has-media-on-the-right': 'right' === mediaPosition
       
 15951     }, Object(defineProperty["a" /* default */])(_classnames2, backgroundClass, backgroundClass), Object(defineProperty["a" /* default */])(_classnames2, 'is-stacked-on-mobile', isStackedOnMobile), Object(defineProperty["a" /* default */])(_classnames2, "is-vertically-aligned-".concat(verticalAlignment), verticalAlignment), Object(defineProperty["a" /* default */])(_classnames2, 'is-image-fill', imageFill), _classnames2));
       
 15952     var backgroundStyles = imageFill ? imageFillStyles(mediaUrl, focalPoint) : {};
       
 15953     var gridTemplateColumns;
       
 15954 
       
 15955     if (mediaWidth !== DEFAULT_MEDIA_WIDTH) {
       
 15956       gridTemplateColumns = 'right' === mediaPosition ? "auto ".concat(mediaWidth, "%") : "".concat(mediaWidth, "% auto");
       
 15957     }
       
 15958 
       
 15959     var style = {
       
 15960       backgroundColor: backgroundClass ? undefined : customBackgroundColor,
       
 15961       gridTemplateColumns: gridTemplateColumns
       
 15962     };
       
 15963     return Object(external_this_wp_element_["createElement"])("div", {
       
 15964       className: className,
       
 15965       style: style
       
 15966     }, Object(external_this_wp_element_["createElement"])("figure", {
       
 15967       className: "wp-block-media-text__media",
       
 15968       style: backgroundStyles
       
 15969     }, (mediaTypeRenders[mediaType] || external_this_lodash_["noop"])()), Object(external_this_wp_element_["createElement"])("div", {
       
 15970       className: "wp-block-media-text__content"
       
 15971     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null)));
       
 15972   }
       
 15973 }, {
       
 15974   attributes: media_text_deprecated_objectSpread({}, baseAttributes, {
       
 15975     customBackgroundColor: {
       
 15976       type: 'string'
       
 15977     },
       
 15978     mediaUrl: {
       
 15979       type: 'string',
       
 15980       source: 'attribute',
       
 15981       selector: 'figure video,figure img',
       
 15982       attribute: 'src'
       
 15983     }
       
 15984   }),
       
 15985   save: function save(_ref3) {
       
 15986     var _classnames3;
       
 15987 
       
 15988     var attributes = _ref3.attributes;
       
 15989     var backgroundColor = attributes.backgroundColor,
       
 15990         customBackgroundColor = attributes.customBackgroundColor,
       
 15991         isStackedOnMobile = attributes.isStackedOnMobile,
       
 15992         mediaAlt = attributes.mediaAlt,
       
 15993         mediaPosition = attributes.mediaPosition,
       
 15994         mediaType = attributes.mediaType,
       
 15995         mediaUrl = attributes.mediaUrl,
       
 15996         mediaWidth = attributes.mediaWidth;
       
 15997     var mediaTypeRenders = {
       
 15998       image: function image() {
       
 15999         return Object(external_this_wp_element_["createElement"])("img", {
       
 16000           src: mediaUrl,
       
 16001           alt: mediaAlt
       
 16002         });
       
 16003       },
       
 16004       video: function video() {
       
 16005         return Object(external_this_wp_element_["createElement"])("video", {
       
 16006           controls: true,
       
 16007           src: mediaUrl
       
 16008         });
       
 16009       }
       
 16010     };
       
 16011     var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
       
 16012     var className = classnames_default()((_classnames3 = {
       
 16013       'has-media-on-the-right': 'right' === mediaPosition
       
 16014     }, Object(defineProperty["a" /* default */])(_classnames3, backgroundClass, backgroundClass), Object(defineProperty["a" /* default */])(_classnames3, 'is-stacked-on-mobile', isStackedOnMobile), _classnames3));
       
 16015     var gridTemplateColumns;
       
 16016 
       
 16017     if (mediaWidth !== DEFAULT_MEDIA_WIDTH) {
       
 16018       gridTemplateColumns = 'right' === mediaPosition ? "auto ".concat(mediaWidth, "%") : "".concat(mediaWidth, "% auto");
       
 16019     }
       
 16020 
       
 16021     var style = {
       
 16022       backgroundColor: backgroundClass ? undefined : customBackgroundColor,
       
 16023       gridTemplateColumns: gridTemplateColumns
       
 16024     };
       
 16025     return Object(external_this_wp_element_["createElement"])("div", {
       
 16026       className: className,
       
 16027       style: style
       
 16028     }, Object(external_this_wp_element_["createElement"])("figure", {
       
 16029       className: "wp-block-media-text__media"
       
 16030     }, (mediaTypeRenders[mediaType] || external_this_lodash_["noop"])()), Object(external_this_wp_element_["createElement"])("div", {
       
 16031       className: "wp-block-media-text__content"
       
 16032     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null)));
       
 16033   }
       
 16034 }]);
       
 16035 
       
 16036 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/pull-left.js
       
 16037 
       
 16038 
       
 16039 /**
       
 16040  * WordPress dependencies
       
 16041  */
       
 16042 
       
 16043 var pullLeft = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 16044   xmlns: "http://www.w3.org/2000/svg",
       
 16045   viewBox: "0 0 24 24"
       
 16046 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 16047   d: "M4 18h6V6H4v12zm9-10v1.5h7V8h-7zm0 7.5h7V14h-7v1.5z"
       
 16048 }));
       
 16049 /* harmony default export */ var pull_left = (pullLeft);
       
 16050 
       
 16051 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/pull-right.js
       
 16052 
       
 16053 
       
 16054 /**
       
 16055  * WordPress dependencies
       
 16056  */
       
 16057 
       
 16058 var pullRight = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 16059   xmlns: "http://www.w3.org/2000/svg",
       
 16060   viewBox: "0 0 24 24"
       
 16061 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 16062   d: "M14 6v12h6V6h-6zM4 9.5h7V8H4v1.5zm0 6h7V14H4v1.5z"
       
 16063 }));
       
 16064 /* harmony default export */ var pull_right = (pullRight);
       
 16065 
       
 16066 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/edit.js
       
 16067 
       
 16068 
       
 16069 
       
 16070 
       
 16071 
       
 16072 /**
       
 16073  * External dependencies
       
 16074  */
       
 16075 
       
 16076 /**
       
 16077  * WordPress dependencies
       
 16078  */
       
 16079 
       
 16080 
       
 16081 
       
 16082 
       
 16083 
       
 16084 
       
 16085 
       
 16086 /**
       
 16087  * Internal dependencies
       
 16088  */
       
 16089 
       
 16090 
       
 16091 /**
       
 16092  * Constants
       
 16093  */
       
 16094 
       
 16095 var TEMPLATE = [['core/paragraph', {
       
 16096   fontSize: 'large',
       
 16097   placeholder: Object(external_this_wp_i18n_["_x"])('Content…', 'content placeholder')
       
 16098 }]]; // this limits the resize to a safe zone to avoid making broken layouts
       
 16099 
       
 16100 var WIDTH_CONSTRAINT_PERCENTAGE = 15;
       
 16101 
       
 16102 var applyWidthConstraints = function applyWidthConstraints(width) {
       
 16103   return Math.max(WIDTH_CONSTRAINT_PERCENTAGE, Math.min(width, 100 - WIDTH_CONSTRAINT_PERCENTAGE));
       
 16104 };
       
 16105 
       
 16106 var edit_LINK_DESTINATION_MEDIA = 'media';
       
 16107 var edit_LINK_DESTINATION_ATTACHMENT = 'attachment';
       
 16108 
       
 16109 function edit_attributesFromMedia(_ref) {
       
 16110   var _ref$attributes = _ref.attributes,
       
 16111       linkDestination = _ref$attributes.linkDestination,
       
 16112       href = _ref$attributes.href,
       
 16113       setAttributes = _ref.setAttributes;
       
 16114   return function (media) {
       
 16115     var mediaType;
       
 16116     var src; // for media selections originated from a file upload.
       
 16117 
       
 16118     if (media.media_type) {
       
 16119       if (media.media_type === 'image') {
       
 16120         mediaType = 'image';
       
 16121       } else {
       
 16122         // only images and videos are accepted so if the media_type is not an image we can assume it is a video.
       
 16123         // video contain the media type of 'file' in the object returned from the rest api.
       
 16124         mediaType = 'video';
       
 16125       }
       
 16126     } else {
       
 16127       // for media selections originated from existing files in the media library.
       
 16128       mediaType = media.type;
       
 16129     }
       
 16130 
       
 16131     if (mediaType === 'image') {
       
 16132       var _media$sizes, _media$sizes$large, _media$media_details, _media$media_details$, _media$media_details$2;
       
 16133 
       
 16134       // Try the "large" size URL, falling back to the "full" size URL below.
       
 16135       src = ((_media$sizes = media.sizes) === null || _media$sizes === void 0 ? void 0 : (_media$sizes$large = _media$sizes.large) === null || _media$sizes$large === void 0 ? void 0 : _media$sizes$large.url) || ( // eslint-disable-next-line camelcase
       
 16136       (_media$media_details = media.media_details) === null || _media$media_details === void 0 ? void 0 : (_media$media_details$ = _media$media_details.sizes) === null || _media$media_details$ === void 0 ? void 0 : (_media$media_details$2 = _media$media_details$.large) === null || _media$media_details$2 === void 0 ? void 0 : _media$media_details$2.source_url);
       
 16137     }
       
 16138 
       
 16139     var newHref = href;
       
 16140 
       
 16141     if (linkDestination === edit_LINK_DESTINATION_MEDIA) {
       
 16142       // Update the media link.
       
 16143       newHref = media.url;
       
 16144     } // Check if the image is linked to the attachment page.
       
 16145 
       
 16146 
       
 16147     if (linkDestination === edit_LINK_DESTINATION_ATTACHMENT) {
       
 16148       // Update the media link.
       
 16149       newHref = media.link;
       
 16150     }
       
 16151 
       
 16152     setAttributes({
       
 16153       mediaAlt: media.alt,
       
 16154       mediaId: media.id,
       
 16155       mediaType: mediaType,
       
 16156       mediaUrl: src || media.url,
       
 16157       mediaLink: media.link || undefined,
       
 16158       href: newHref,
       
 16159       focalPoint: undefined
       
 16160     });
       
 16161   };
       
 16162 }
       
 16163 
       
 16164 function MediaTextEdit(_ref2) {
       
 16165   var _classnames;
       
 16166 
       
 16167   var attributes = _ref2.attributes,
       
 16168       isSelected = _ref2.isSelected,
       
 16169       setAttributes = _ref2.setAttributes;
       
 16170   var focalPoint = attributes.focalPoint,
       
 16171       href = attributes.href,
       
 16172       imageFill = attributes.imageFill,
       
 16173       isStackedOnMobile = attributes.isStackedOnMobile,
       
 16174       linkClass = attributes.linkClass,
       
 16175       linkDestination = attributes.linkDestination,
       
 16176       linkTarget = attributes.linkTarget,
       
 16177       mediaAlt = attributes.mediaAlt,
       
 16178       mediaId = attributes.mediaId,
       
 16179       mediaPosition = attributes.mediaPosition,
       
 16180       mediaType = attributes.mediaType,
       
 16181       mediaUrl = attributes.mediaUrl,
       
 16182       mediaWidth = attributes.mediaWidth,
       
 16183       rel = attributes.rel,
       
 16184       verticalAlignment = attributes.verticalAlignment;
       
 16185   var image = Object(external_this_wp_data_["useSelect"])(function (select) {
       
 16186     return mediaId && isSelected ? select('core').getMedia(mediaId) : null;
       
 16187   }, [isSelected, mediaId]);
       
 16188 
       
 16189   var _useState = Object(external_this_wp_element_["useState"])(null),
       
 16190       _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
       
 16191       temporaryMediaWidth = _useState2[0],
       
 16192       setTemporaryMediaWidth = _useState2[1];
       
 16193 
       
 16194   var onSelectMedia = edit_attributesFromMedia({
       
 16195     attributes: attributes,
       
 16196     setAttributes: setAttributes
       
 16197   });
       
 16198 
       
 16199   var onSetHref = function onSetHref(props) {
       
 16200     setAttributes(props);
       
 16201   };
       
 16202 
       
 16203   var onWidthChange = function onWidthChange(width) {
       
 16204     setTemporaryMediaWidth(applyWidthConstraints(width));
       
 16205   };
       
 16206 
       
 16207   var commitWidthChange = function commitWidthChange(width) {
       
 16208     setAttributes({
       
 16209       mediaWidth: applyWidthConstraints(width)
       
 16210     });
       
 16211     setTemporaryMediaWidth(applyWidthConstraints(width));
       
 16212   };
       
 16213 
       
 16214   var classNames = classnames_default()((_classnames = {
       
 16215     'has-media-on-the-right': 'right' === mediaPosition,
       
 16216     'is-selected': isSelected,
       
 16217     'is-stacked-on-mobile': isStackedOnMobile
       
 16218   }, Object(defineProperty["a" /* default */])(_classnames, "is-vertically-aligned-".concat(verticalAlignment), verticalAlignment), Object(defineProperty["a" /* default */])(_classnames, 'is-image-fill', imageFill), _classnames));
       
 16219   var widthString = "".concat(temporaryMediaWidth || mediaWidth, "%");
       
 16220   var gridTemplateColumns = 'right' === mediaPosition ? "1fr ".concat(widthString) : "".concat(widthString, " 1fr");
       
 16221   var style = {
       
 16222     gridTemplateColumns: gridTemplateColumns,
       
 16223     msGridColumns: gridTemplateColumns
       
 16224   };
       
 16225   var toolbarControls = [{
       
 16226     icon: pull_left,
       
 16227     title: Object(external_this_wp_i18n_["__"])('Show media on left'),
       
 16228     isActive: mediaPosition === 'left',
       
 16229     onClick: function onClick() {
       
 16230       return setAttributes({
       
 16231         mediaPosition: 'left'
       
 16232       });
       
 16233     }
       
 16234   }, {
       
 16235     icon: pull_right,
       
 16236     title: Object(external_this_wp_i18n_["__"])('Show media on right'),
       
 16237     isActive: mediaPosition === 'right',
       
 16238     onClick: function onClick() {
       
 16239       return setAttributes({
       
 16240         mediaPosition: 'right'
       
 16241       });
       
 16242     }
       
 16243   }];
       
 16244 
       
 16245   var onMediaAltChange = function onMediaAltChange(newMediaAlt) {
       
 16246     setAttributes({
       
 16247       mediaAlt: newMediaAlt
       
 16248     });
       
 16249   };
       
 16250 
       
 16251   var onVerticalAlignmentChange = function onVerticalAlignmentChange(alignment) {
       
 16252     setAttributes({
       
 16253       verticalAlignment: alignment
       
 16254     });
       
 16255   };
       
 16256 
       
 16257   var mediaTextGeneralSettings = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 16258     title: Object(external_this_wp_i18n_["__"])('Media & Text settings')
       
 16259   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 16260     label: Object(external_this_wp_i18n_["__"])('Stack on mobile'),
       
 16261     checked: isStackedOnMobile,
       
 16262     onChange: function onChange() {
       
 16263       return setAttributes({
       
 16264         isStackedOnMobile: !isStackedOnMobile
       
 16265       });
       
 16266     }
       
 16267   }), mediaType === 'image' && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 16268     label: Object(external_this_wp_i18n_["__"])('Crop image to fill entire column'),
       
 16269     checked: imageFill,
       
 16270     onChange: function onChange() {
       
 16271       return setAttributes({
       
 16272         imageFill: !imageFill
       
 16273       });
       
 16274     }
       
 16275   }), imageFill && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["FocalPointPicker"], {
       
 16276     label: Object(external_this_wp_i18n_["__"])('Focal point picker'),
       
 16277     url: mediaUrl,
       
 16278     value: focalPoint,
       
 16279     onChange: function onChange(value) {
       
 16280       return setAttributes({
       
 16281         focalPoint: value
       
 16282       });
       
 16283     }
       
 16284   }), mediaType === 'image' && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextareaControl"], {
       
 16285     label: Object(external_this_wp_i18n_["__"])('Alt text (alternative text)'),
       
 16286     value: mediaAlt,
       
 16287     onChange: onMediaAltChange,
       
 16288     help: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], {
       
 16289       href: "https://www.w3.org/WAI/tutorials/images/decision-tree"
       
 16290     }, Object(external_this_wp_i18n_["__"])('Describe the purpose of the image')), Object(external_this_wp_i18n_["__"])('Leave empty if the image is purely decorative.'))
       
 16291   }));
       
 16292   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, mediaTextGeneralSettings), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], {
       
 16293     controls: toolbarControls
       
 16294   }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockVerticalAlignmentToolbar"], {
       
 16295     onChange: onVerticalAlignmentChange,
       
 16296     value: verticalAlignment
       
 16297   }), mediaType === 'image' && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalImageURLInputUI"], {
       
 16298     url: href || '',
       
 16299     onChangeUrl: onSetHref,
       
 16300     linkDestination: linkDestination,
       
 16301     mediaType: mediaType,
       
 16302     mediaUrl: image && image.source_url,
       
 16303     mediaLink: image && image.link,
       
 16304     linkTarget: linkTarget,
       
 16305     linkClass: linkClass,
       
 16306     rel: rel
       
 16307   }))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalBlock"].div, {
       
 16308     className: classNames,
       
 16309     style: style
       
 16310   }, Object(external_this_wp_element_["createElement"])(media_container, Object(esm_extends["a" /* default */])({
       
 16311     className: "wp-block-media-text__media",
       
 16312     onSelectMedia: onSelectMedia,
       
 16313     onWidthChange: onWidthChange,
       
 16314     commitWidthChange: commitWidthChange
       
 16315   }, {
       
 16316     focalPoint: focalPoint,
       
 16317     imageFill: imageFill,
       
 16318     isSelected: isSelected,
       
 16319     isStackedOnMobile: isStackedOnMobile,
       
 16320     mediaAlt: mediaAlt,
       
 16321     mediaId: mediaId,
       
 16322     mediaPosition: mediaPosition,
       
 16323     mediaType: mediaType,
       
 16324     mediaUrl: mediaUrl,
       
 16325     mediaWidth: mediaWidth
       
 16326   })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"], {
       
 16327     __experimentalTagName: "div",
       
 16328     __experimentalPassedProps: {
       
 16329       className: 'wp-block-media-text__content'
       
 16330     },
       
 16331     template: TEMPLATE,
       
 16332     templateInsertUpdatesSelection: false
       
 16333   })));
       
 16334 }
       
 16335 
       
 16336 /* harmony default export */ var media_text_edit = (MediaTextEdit);
       
 16337 
       
 16338 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/save.js
       
 16339 
       
 16340 
       
 16341 
       
 16342 /**
       
 16343  * External dependencies
       
 16344  */
       
 16345 
       
 16346 
       
 16347 /**
       
 16348  * WordPress dependencies
       
 16349  */
       
 16350 
       
 16351 
       
 16352 /**
       
 16353  * Internal dependencies
       
 16354  */
       
 16355 
       
 16356 
       
 16357 var save_DEFAULT_MEDIA_WIDTH = 50;
       
 16358 function media_text_save_save(_ref) {
       
 16359   var _classnames;
       
 16360 
       
 16361   var attributes = _ref.attributes;
       
 16362   var isStackedOnMobile = attributes.isStackedOnMobile,
       
 16363       mediaAlt = attributes.mediaAlt,
       
 16364       mediaPosition = attributes.mediaPosition,
       
 16365       mediaType = attributes.mediaType,
       
 16366       mediaUrl = attributes.mediaUrl,
       
 16367       mediaWidth = attributes.mediaWidth,
       
 16368       mediaId = attributes.mediaId,
       
 16369       verticalAlignment = attributes.verticalAlignment,
       
 16370       imageFill = attributes.imageFill,
       
 16371       focalPoint = attributes.focalPoint,
       
 16372       linkClass = attributes.linkClass,
       
 16373       href = attributes.href,
       
 16374       linkTarget = attributes.linkTarget,
       
 16375       rel = attributes.rel;
       
 16376   var newRel = Object(external_this_lodash_["isEmpty"])(rel) ? undefined : rel;
       
 16377 
       
 16378   var _image = Object(external_this_wp_element_["createElement"])("img", {
       
 16379     src: mediaUrl,
       
 16380     alt: mediaAlt,
       
 16381     className: mediaId && mediaType === 'image' ? "wp-image-".concat(mediaId) : null
       
 16382   });
       
 16383 
       
 16384   if (href) {
       
 16385     _image = Object(external_this_wp_element_["createElement"])("a", {
       
 16386       className: linkClass,
       
 16387       href: href,
       
 16388       target: linkTarget,
       
 16389       rel: newRel
       
 16390     }, _image);
       
 16391   }
       
 16392 
       
 16393   var mediaTypeRenders = {
       
 16394     image: function image() {
       
 16395       return _image;
       
 16396     },
       
 16397     video: function video() {
       
 16398       return Object(external_this_wp_element_["createElement"])("video", {
       
 16399         controls: true,
       
 16400         src: mediaUrl
       
 16401       });
       
 16402     }
       
 16403   };
       
 16404   var className = classnames_default()((_classnames = {
       
 16405     'has-media-on-the-right': 'right' === mediaPosition,
       
 16406     'is-stacked-on-mobile': isStackedOnMobile
       
 16407   }, Object(defineProperty["a" /* default */])(_classnames, "is-vertically-aligned-".concat(verticalAlignment), verticalAlignment), Object(defineProperty["a" /* default */])(_classnames, 'is-image-fill', imageFill), _classnames));
       
 16408   var backgroundStyles = imageFill ? imageFillStyles(mediaUrl, focalPoint) : {};
       
 16409   var gridTemplateColumns;
       
 16410 
       
 16411   if (mediaWidth !== save_DEFAULT_MEDIA_WIDTH) {
       
 16412     gridTemplateColumns = 'right' === mediaPosition ? "auto ".concat(mediaWidth, "%") : "".concat(mediaWidth, "% auto");
       
 16413   }
       
 16414 
       
 16415   var style = {
       
 16416     gridTemplateColumns: gridTemplateColumns
       
 16417   };
       
 16418   return Object(external_this_wp_element_["createElement"])("div", {
       
 16419     className: className,
       
 16420     style: style
       
 16421   }, Object(external_this_wp_element_["createElement"])("figure", {
       
 16422     className: "wp-block-media-text__media",
       
 16423     style: backgroundStyles
       
 16424   }, (mediaTypeRenders[mediaType] || external_this_lodash_["noop"])()), Object(external_this_wp_element_["createElement"])("div", {
       
 16425     className: "wp-block-media-text__content"
       
 16426   }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null)));
       
 16427 }
       
 16428 
       
 16429 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/transforms.js
       
 16430 /**
       
 16431  * WordPress dependencies
       
 16432  */
       
 16433 
       
 16434 var media_text_transforms_transforms = {
       
 16435   from: [{
       
 16436     type: 'block',
       
 16437     blocks: ['core/image'],
       
 16438     transform: function transform(_ref) {
       
 16439       var alt = _ref.alt,
       
 16440           url = _ref.url,
       
 16441           id = _ref.id,
       
 16442           anchor = _ref.anchor;
       
 16443       return Object(external_this_wp_blocks_["createBlock"])('core/media-text', {
       
 16444         mediaAlt: alt,
       
 16445         mediaId: id,
       
 16446         mediaUrl: url,
       
 16447         mediaType: 'image',
       
 16448         anchor: anchor
       
 16449       });
       
 16450     }
       
 16451   }, {
       
 16452     type: 'block',
       
 16453     blocks: ['core/video'],
       
 16454     transform: function transform(_ref2) {
       
 16455       var src = _ref2.src,
       
 16456           id = _ref2.id,
       
 16457           anchor = _ref2.anchor;
       
 16458       return Object(external_this_wp_blocks_["createBlock"])('core/media-text', {
       
 16459         mediaId: id,
       
 16460         mediaUrl: src,
       
 16461         mediaType: 'video',
       
 16462         anchor: anchor
       
 16463       });
       
 16464     }
       
 16465   }],
       
 16466   to: [{
       
 16467     type: 'block',
       
 16468     blocks: ['core/image'],
       
 16469     isMatch: function isMatch(_ref3) {
       
 16470       var mediaType = _ref3.mediaType,
       
 16471           mediaUrl = _ref3.mediaUrl;
       
 16472       return !mediaUrl || mediaType === 'image';
       
 16473     },
       
 16474     transform: function transform(_ref4) {
       
 16475       var mediaAlt = _ref4.mediaAlt,
       
 16476           mediaId = _ref4.mediaId,
       
 16477           mediaUrl = _ref4.mediaUrl,
       
 16478           anchor = _ref4.anchor;
       
 16479       return Object(external_this_wp_blocks_["createBlock"])('core/image', {
       
 16480         alt: mediaAlt,
       
 16481         id: mediaId,
       
 16482         url: mediaUrl,
       
 16483         anchor: anchor
       
 16484       });
       
 16485     }
       
 16486   }, {
       
 16487     type: 'block',
       
 16488     blocks: ['core/video'],
       
 16489     isMatch: function isMatch(_ref5) {
       
 16490       var mediaType = _ref5.mediaType,
       
 16491           mediaUrl = _ref5.mediaUrl;
       
 16492       return !mediaUrl || mediaType === 'video';
       
 16493     },
       
 16494     transform: function transform(_ref6) {
       
 16495       var mediaId = _ref6.mediaId,
       
 16496           mediaUrl = _ref6.mediaUrl,
       
 16497           anchor = _ref6.anchor;
       
 16498       return Object(external_this_wp_blocks_["createBlock"])('core/video', {
       
 16499         id: mediaId,
       
 16500         src: mediaUrl,
       
 16501         anchor: anchor
       
 16502       });
       
 16503     }
       
 16504   }]
       
 16505 };
       
 16506 /* harmony default export */ var media_text_transforms = (media_text_transforms_transforms);
       
 16507 
       
 16508 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/index.js
       
 16509 /**
       
 16510  * WordPress dependencies
       
 16511  */
       
 16512 
       
 16513 
       
 16514 /**
       
 16515  * Internal dependencies
       
 16516  */
       
 16517 
       
 16518 
       
 16519 
       
 16520 var media_text_metadata = {
       
 16521   name: "core/media-text",
       
 16522   category: "media",
       
 16523   attributes: {
       
 16524     align: {
       
 16525       type: "string",
       
 16526       "default": "wide"
       
 16527     },
       
 16528     mediaAlt: {
       
 16529       type: "string",
       
 16530       source: "attribute",
       
 16531       selector: "figure img",
       
 16532       attribute: "alt",
       
 16533       "default": ""
       
 16534     },
       
 16535     mediaPosition: {
       
 16536       type: "string",
       
 16537       "default": "left"
       
 16538     },
       
 16539     mediaId: {
       
 16540       type: "number"
       
 16541     },
       
 16542     mediaUrl: {
       
 16543       type: "string",
       
 16544       source: "attribute",
       
 16545       selector: "figure video,figure img",
       
 16546       attribute: "src"
       
 16547     },
       
 16548     mediaLink: {
       
 16549       type: "string"
       
 16550     },
       
 16551     linkDestination: {
       
 16552       type: "string"
       
 16553     },
       
 16554     linkTarget: {
       
 16555       type: "string",
       
 16556       source: "attribute",
       
 16557       selector: "figure a",
       
 16558       attribute: "target"
       
 16559     },
       
 16560     href: {
       
 16561       type: "string",
       
 16562       source: "attribute",
       
 16563       selector: "figure a",
       
 16564       attribute: "href"
       
 16565     },
       
 16566     rel: {
       
 16567       type: "string",
       
 16568       source: "attribute",
       
 16569       selector: "figure a",
       
 16570       attribute: "rel"
       
 16571     },
       
 16572     linkClass: {
       
 16573       type: "string",
       
 16574       source: "attribute",
       
 16575       selector: "figure a",
       
 16576       attribute: "class"
       
 16577     },
       
 16578     mediaType: {
       
 16579       type: "string"
       
 16580     },
       
 16581     mediaWidth: {
       
 16582       type: "number",
       
 16583       "default": 50
       
 16584     },
       
 16585     isStackedOnMobile: {
       
 16586       type: "boolean",
       
 16587       "default": true
       
 16588     },
       
 16589     verticalAlignment: {
       
 16590       type: "string"
       
 16591     },
       
 16592     imageFill: {
       
 16593       type: "boolean"
       
 16594     },
       
 16595     focalPoint: {
       
 16596       type: "object"
       
 16597     }
       
 16598   },
       
 16599   supports: {
       
 16600     anchor: true,
       
 16601     align: ["wide", "full"],
       
 16602     html: false,
       
 16603     lightBlockWrapper: true,
       
 16604     __experimentalColor: {
       
 16605       gradients: true,
       
 16606       linkColor: true
       
 16607     }
       
 16608   }
       
 16609 };
       
 16610 
       
 16611 
       
 16612 var media_text_name = media_text_metadata.name;
       
 16613 
       
 16614 var media_text_settings = {
       
 16615   title: Object(external_this_wp_i18n_["__"])('Media & Text'),
       
 16616   description: Object(external_this_wp_i18n_["__"])('Set media and words side-by-side for a richer layout.'),
       
 16617   icon: media_and_text,
       
 16618   keywords: [Object(external_this_wp_i18n_["__"])('image'), Object(external_this_wp_i18n_["__"])('video')],
       
 16619   example: {
       
 16620     attributes: {
       
 16621       mediaType: 'image',
       
 16622       mediaUrl: 'https://s.w.org/images/core/5.3/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg'
       
 16623     },
       
 16624     innerBlocks: [{
       
 16625       name: 'core/paragraph',
       
 16626       attributes: {
       
 16627         content: Object(external_this_wp_i18n_["__"])('The wren<br>Earns his living<br>Noiselessly.')
       
 16628       }
       
 16629     }, {
       
 16630       name: 'core/paragraph',
       
 16631       attributes: {
       
 16632         content: Object(external_this_wp_i18n_["__"])('— Kobayashi Issa (一茶)')
       
 16633       }
       
 16634     }]
       
 16635   },
       
 16636   transforms: media_text_transforms,
       
 16637   edit: media_text_edit,
       
 16638   save: media_text_save_save,
       
 16639   deprecated: media_text_deprecated
       
 16640 };
       
 16641 
       
 16642 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/comment.js
       
 16643 
       
 16644 
       
 16645 /**
       
 16646  * WordPress dependencies
       
 16647  */
       
 16648 
       
 16649 var comment = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 16650   viewBox: "0 0 24 24",
       
 16651   xmlns: "http://www.w3.org/2000/svg"
       
 16652 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 16653   d: "M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z"
       
 16654 }));
       
 16655 /* harmony default export */ var library_comment = (comment);
       
 16656 
       
 16657 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-comments/edit.js
       
 16658 
       
 16659 
       
 16660 
       
 16661 
       
 16662 
       
 16663 
       
 16664 
       
 16665 
       
 16666 
       
 16667 function latest_comments_edit_createSuper(Derived) { return function () { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (latest_comments_edit_isNativeReflectConstruct()) { var NewTarget = Object(getPrototypeOf["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(possibleConstructorReturn["a" /* default */])(this, result); }; }
       
 16668 
       
 16669 function latest_comments_edit_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
       
 16670 
       
 16671 /**
       
 16672  * WordPress dependencies
       
 16673  */
       
 16674 
       
 16675 
       
 16676 
       
 16677 
       
 16678 
       
 16679 /**
       
 16680  * Minimum number of comments a user can show using this block.
       
 16681  *
       
 16682  * @type {number}
       
 16683  */
       
 16684 
       
 16685 var MIN_COMMENTS = 1;
       
 16686 /**
       
 16687  * Maximum number of comments a user can show using this block.
       
 16688  *
       
 16689  * @type {number}
       
 16690  */
       
 16691 
       
 16692 var MAX_COMMENTS = 100;
       
 16693 
       
 16694 var edit_LatestComments = /*#__PURE__*/function (_Component) {
       
 16695   Object(inherits["a" /* default */])(LatestComments, _Component);
       
 16696 
       
 16697   var _super = latest_comments_edit_createSuper(LatestComments);
       
 16698 
       
 16699   function LatestComments() {
       
 16700     var _this;
       
 16701 
       
 16702     Object(classCallCheck["a" /* default */])(this, LatestComments);
       
 16703 
       
 16704     _this = _super.apply(this, arguments);
       
 16705     _this.setCommentsToShow = _this.setCommentsToShow.bind(Object(assertThisInitialized["a" /* default */])(_this)); // Create toggles for each attribute; we create them here rather than
       
 16706     // passing `this.createToggleAttribute( 'displayAvatar' )` directly to
       
 16707     // `onChange` to avoid re-renders.
       
 16708 
       
 16709     _this.toggleDisplayAvatar = _this.createToggleAttribute('displayAvatar');
       
 16710     _this.toggleDisplayDate = _this.createToggleAttribute('displayDate');
       
 16711     _this.toggleDisplayExcerpt = _this.createToggleAttribute('displayExcerpt');
       
 16712     return _this;
       
 16713   }
       
 16714 
       
 16715   Object(createClass["a" /* default */])(LatestComments, [{
       
 16716     key: "createToggleAttribute",
       
 16717     value: function createToggleAttribute(propName) {
       
 16718       var _this2 = this;
       
 16719 
       
 16720       return function () {
       
 16721         var value = _this2.props.attributes[propName];
       
 16722         var setAttributes = _this2.props.setAttributes;
       
 16723         setAttributes(Object(defineProperty["a" /* default */])({}, propName, !value));
       
 16724       };
       
 16725     }
       
 16726   }, {
       
 16727     key: "setCommentsToShow",
       
 16728     value: function setCommentsToShow(commentsToShow) {
       
 16729       this.props.setAttributes({
       
 16730         commentsToShow: commentsToShow
       
 16731       });
       
 16732     }
       
 16733   }, {
       
 16734     key: "render",
       
 16735     value: function render() {
       
 16736       var _this$props$attribute = this.props.attributes,
       
 16737           commentsToShow = _this$props$attribute.commentsToShow,
       
 16738           displayAvatar = _this$props$attribute.displayAvatar,
       
 16739           displayDate = _this$props$attribute.displayDate,
       
 16740           displayExcerpt = _this$props$attribute.displayExcerpt;
       
 16741       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 16742         title: Object(external_this_wp_i18n_["__"])('Latest comments settings')
       
 16743       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 16744         label: Object(external_this_wp_i18n_["__"])('Display avatar'),
       
 16745         checked: displayAvatar,
       
 16746         onChange: this.toggleDisplayAvatar
       
 16747       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 16748         label: Object(external_this_wp_i18n_["__"])('Display date'),
       
 16749         checked: displayDate,
       
 16750         onChange: this.toggleDisplayDate
       
 16751       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 16752         label: Object(external_this_wp_i18n_["__"])('Display excerpt'),
       
 16753         checked: displayExcerpt,
       
 16754         onChange: this.toggleDisplayExcerpt
       
 16755       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], {
       
 16756         label: Object(external_this_wp_i18n_["__"])('Number of comments'),
       
 16757         value: commentsToShow,
       
 16758         onChange: this.setCommentsToShow,
       
 16759         min: MIN_COMMENTS,
       
 16760         max: MAX_COMMENTS,
       
 16761         required: true
       
 16762       }))), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Disabled"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_serverSideRender_default.a, {
       
 16763         block: "core/latest-comments",
       
 16764         attributes: this.props.attributes
       
 16765       })));
       
 16766     }
       
 16767   }]);
       
 16768 
       
 16769   return LatestComments;
       
 16770 }(external_this_wp_element_["Component"]);
       
 16771 
       
 16772 /* harmony default export */ var latest_comments_edit = (edit_LatestComments);
       
 16773 
       
 16774 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-comments/index.js
       
 16775 /**
       
 16776  * WordPress dependencies
       
 16777  */
       
 16778 
       
 16779 
       
 16780 /**
       
 16781  * Internal dependencies
       
 16782  */
       
 16783 
       
 16784 var latest_comments_metadata = {
       
 16785   name: "core/latest-comments",
       
 16786   category: "widgets",
       
 16787   attributes: {
       
 16788     align: {
       
 16789       type: "string",
       
 16790       "enum": ["left", "center", "right", "wide", "full"]
       
 16791     },
       
 16792     className: {
       
 16793       type: "string"
       
 16794     },
       
 16795     commentsToShow: {
       
 16796       type: "number",
       
 16797       "default": 5,
       
 16798       minimum: 1,
       
 16799       maximum: 100
       
 16800     },
       
 16801     displayAvatar: {
       
 16802       type: "boolean",
       
 16803       "default": true
       
 16804     },
       
 16805     displayDate: {
       
 16806       type: "boolean",
       
 16807       "default": true
       
 16808     },
       
 16809     displayExcerpt: {
       
 16810       type: "boolean",
       
 16811       "default": true
       
 16812     }
       
 16813   },
       
 16814   supports: {
       
 16815     align: true,
       
 16816     html: false
       
 16817   }
       
 16818 };
       
 16819 
       
 16820 var latest_comments_name = latest_comments_metadata.name;
       
 16821 
       
 16822 var latest_comments_settings = {
       
 16823   title: Object(external_this_wp_i18n_["__"])('Latest Comments'),
       
 16824   description: Object(external_this_wp_i18n_["__"])('Display a list of your most recent comments.'),
       
 16825   icon: library_comment,
       
 16826   keywords: [Object(external_this_wp_i18n_["__"])('recent comments')],
       
 16827   example: {},
       
 16828   edit: latest_comments_edit
       
 16829 };
       
 16830 
       
 16831 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/post-list.js
       
 16832 
       
 16833 
       
 16834 /**
       
 16835  * WordPress dependencies
       
 16836  */
       
 16837 
       
 16838 var postList = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 16839   viewBox: "0 0 24 24",
       
 16840   xmlns: "http://www.w3.org/2000/svg"
       
 16841 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 16842   d: "M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12zM7 11h2V9H7v2zm0 4h2v-2H7v2zm3-4h7V9h-7v2zm0 4h7v-2h-7v2z"
       
 16843 }));
       
 16844 /* harmony default export */ var post_list = (postList);
       
 16845 
       
 16846 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-posts/deprecated.js
       
 16847 
       
 16848 
       
 16849 function latest_posts_deprecated_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
 16850 
       
 16851 function latest_posts_deprecated_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { latest_posts_deprecated_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { latest_posts_deprecated_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
 16852 
       
 16853 /**
       
 16854  * Internal dependencies
       
 16855  */
       
 16856 var deprecated_metadata = {
       
 16857   name: "core/latest-posts",
       
 16858   category: "widgets",
       
 16859   attributes: {
       
 16860     align: {
       
 16861       type: "string",
       
 16862       "enum": ["left", "center", "right", "wide", "full"]
       
 16863     },
       
 16864     className: {
       
 16865       type: "string"
       
 16866     },
       
 16867     categories: {
       
 16868       type: "array",
       
 16869       items: {
       
 16870         type: "object"
       
 16871       }
       
 16872     },
       
 16873     selectedAuthor: {
       
 16874       type: "number"
       
 16875     },
       
 16876     postsToShow: {
       
 16877       type: "number",
       
 16878       "default": 5
       
 16879     },
       
 16880     displayPostContent: {
       
 16881       type: "boolean",
       
 16882       "default": false
       
 16883     },
       
 16884     displayPostContentRadio: {
       
 16885       type: "string",
       
 16886       "default": "excerpt"
       
 16887     },
       
 16888     excerptLength: {
       
 16889       type: "number",
       
 16890       "default": 55
       
 16891     },
       
 16892     displayAuthor: {
       
 16893       type: "boolean",
       
 16894       "default": false
       
 16895     },
       
 16896     displayPostDate: {
       
 16897       type: "boolean",
       
 16898       "default": false
       
 16899     },
       
 16900     postLayout: {
       
 16901       type: "string",
       
 16902       "default": "list"
       
 16903     },
       
 16904     columns: {
       
 16905       type: "number",
       
 16906       "default": 3
       
 16907     },
       
 16908     order: {
       
 16909       type: "string",
       
 16910       "default": "desc"
       
 16911     },
       
 16912     orderBy: {
       
 16913       type: "string",
       
 16914       "default": "date"
       
 16915     },
       
 16916     displayFeaturedImage: {
       
 16917       type: "boolean",
       
 16918       "default": false
       
 16919     },
       
 16920     featuredImageAlign: {
       
 16921       type: "string",
       
 16922       "enum": ["left", "center", "right"]
       
 16923     },
       
 16924     featuredImageSizeSlug: {
       
 16925       type: "string",
       
 16926       "default": "thumbnail"
       
 16927     },
       
 16928     featuredImageSizeWidth: {
       
 16929       type: "number",
       
 16930       "default": null
       
 16931     },
       
 16932     featuredImageSizeHeight: {
       
 16933       type: "number",
       
 16934       "default": null
       
 16935     }
       
 16936   },
       
 16937   supports: {
       
 16938     align: true,
       
 16939     html: false
       
 16940   }
       
 16941 };
       
 16942 var deprecated_attributes = deprecated_metadata.attributes;
       
 16943 /* harmony default export */ var latest_posts_deprecated = ([{
       
 16944   attributes: latest_posts_deprecated_objectSpread({}, deprecated_attributes, {
       
 16945     categories: {
       
 16946       type: 'string'
       
 16947     }
       
 16948   }),
       
 16949   supports: {
       
 16950     align: true,
       
 16951     html: false
       
 16952   },
       
 16953   migrate: function migrate(oldAttributes) {
       
 16954     // This needs the full category object, not just the ID.
       
 16955     return latest_posts_deprecated_objectSpread({}, oldAttributes, {
       
 16956       categories: [{
       
 16957         id: Number(oldAttributes.categories)
       
 16958       }]
       
 16959     });
       
 16960   },
       
 16961   isEligible: function isEligible(_ref) {
       
 16962     var categories = _ref.categories;
       
 16963     return categories && 'string' === typeof categories;
       
 16964   },
       
 16965   save: function save() {
       
 16966     return null;
       
 16967   }
       
 16968 }]);
       
 16969 
       
 16970 // EXTERNAL MODULE: external {"this":["wp","date"]}
       
 16971 var external_this_wp_date_ = __webpack_require__(79);
       
 16972 
       
 16973 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/list.js
       
 16974 
       
 16975 
       
 16976 /**
       
 16977  * WordPress dependencies
       
 16978  */
       
 16979 
       
 16980 var list = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 16981   viewBox: "0 0 24 24",
       
 16982   xmlns: "http://www.w3.org/2000/svg"
       
 16983 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 16984   d: "M4 4v1.5h16V4H4zm8 8.5h8V11h-8v1.5zM4 20h16v-1.5H4V20zm4-8c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z"
       
 16985 }));
       
 16986 /* harmony default export */ var library_list = (list);
       
 16987 
       
 16988 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/grid.js
       
 16989 var grid = __webpack_require__(302);
       
 16990 
       
 16991 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-posts/constants.js
       
 16992 var MIN_EXCERPT_LENGTH = 10;
       
 16993 var MAX_EXCERPT_LENGTH = 100;
       
 16994 var MAX_POSTS_COLUMNS = 6;
       
 16995 
       
 16996 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-posts/edit.js
       
 16997 
       
 16998 
       
 16999 
       
 17000 
       
 17001 
       
 17002 
       
 17003 
       
 17004 
       
 17005 
       
 17006 function latest_posts_edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
 17007 
       
 17008 function latest_posts_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { latest_posts_edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { latest_posts_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
 17009 
       
 17010 function latest_posts_edit_createSuper(Derived) { return function () { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (latest_posts_edit_isNativeReflectConstruct()) { var NewTarget = Object(getPrototypeOf["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(possibleConstructorReturn["a" /* default */])(this, result); }; }
       
 17011 
       
 17012 function latest_posts_edit_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
       
 17013 
       
 17014 /**
       
 17015  * External dependencies
       
 17016  */
       
 17017 
       
 17018 
       
 17019 /**
       
 17020  * WordPress dependencies
       
 17021  */
       
 17022 
       
 17023 
       
 17024 
       
 17025 
       
 17026 
       
 17027 
       
 17028 
       
 17029 
       
 17030 
       
 17031 
       
 17032 /**
       
 17033  * Internal dependencies
       
 17034  */
       
 17035 
       
 17036 
       
 17037 /**
       
 17038  * Module Constants
       
 17039  */
       
 17040 
       
 17041 var CATEGORIES_LIST_QUERY = {
       
 17042   per_page: -1
       
 17043 };
       
 17044 var USERS_LIST_QUERY = {
       
 17045   per_page: -1
       
 17046 };
       
 17047 
       
 17048 var edit_LatestPostsEdit = /*#__PURE__*/function (_Component) {
       
 17049   Object(inherits["a" /* default */])(LatestPostsEdit, _Component);
       
 17050 
       
 17051   var _super = latest_posts_edit_createSuper(LatestPostsEdit);
       
 17052 
       
 17053   function LatestPostsEdit() {
       
 17054     var _this;
       
 17055 
       
 17056     Object(classCallCheck["a" /* default */])(this, LatestPostsEdit);
       
 17057 
       
 17058     _this = _super.apply(this, arguments);
       
 17059     _this.state = {
       
 17060       categoriesList: [],
       
 17061       authorList: []
       
 17062     };
       
 17063     return _this;
       
 17064   }
       
 17065 
       
 17066   Object(createClass["a" /* default */])(LatestPostsEdit, [{
       
 17067     key: "componentDidMount",
       
 17068     value: function componentDidMount() {
       
 17069       var _this2 = this;
       
 17070 
       
 17071       this.isStillMounted = true;
       
 17072       this.fetchRequest = external_this_wp_apiFetch_default()({
       
 17073         path: Object(external_this_wp_url_["addQueryArgs"])("/wp/v2/categories", CATEGORIES_LIST_QUERY)
       
 17074       }).then(function (categoriesList) {
       
 17075         if (_this2.isStillMounted) {
       
 17076           _this2.setState({
       
 17077             categoriesList: categoriesList
       
 17078           });
       
 17079         }
       
 17080       }).catch(function () {
       
 17081         if (_this2.isStillMounted) {
       
 17082           _this2.setState({
       
 17083             categoriesList: []
       
 17084           });
       
 17085         }
       
 17086       });
       
 17087       this.fetchRequest = external_this_wp_apiFetch_default()({
       
 17088         path: Object(external_this_wp_url_["addQueryArgs"])("/wp/v2/users", USERS_LIST_QUERY)
       
 17089       }).then(function (authorList) {
       
 17090         if (_this2.isStillMounted) {
       
 17091           _this2.setState({
       
 17092             authorList: authorList
       
 17093           });
       
 17094         }
       
 17095       }).catch(function () {
       
 17096         if (_this2.isStillMounted) {
       
 17097           _this2.setState({
       
 17098             authorList: []
       
 17099           });
       
 17100         }
       
 17101       });
       
 17102     }
       
 17103   }, {
       
 17104     key: "componentWillUnmount",
       
 17105     value: function componentWillUnmount() {
       
 17106       this.isStillMounted = false;
       
 17107     }
       
 17108   }, {
       
 17109     key: "render",
       
 17110     value: function render() {
       
 17111       var _this$props = this.props,
       
 17112           attributes = _this$props.attributes,
       
 17113           setAttributes = _this$props.setAttributes,
       
 17114           imageSizeOptions = _this$props.imageSizeOptions,
       
 17115           latestPosts = _this$props.latestPosts,
       
 17116           defaultImageWidth = _this$props.defaultImageWidth,
       
 17117           defaultImageHeight = _this$props.defaultImageHeight;
       
 17118       var _this$state = this.state,
       
 17119           categoriesList = _this$state.categoriesList,
       
 17120           authorList = _this$state.authorList;
       
 17121       var displayFeaturedImage = attributes.displayFeaturedImage,
       
 17122           displayPostContentRadio = attributes.displayPostContentRadio,
       
 17123           displayPostContent = attributes.displayPostContent,
       
 17124           displayPostDate = attributes.displayPostDate,
       
 17125           displayAuthor = attributes.displayAuthor,
       
 17126           postLayout = attributes.postLayout,
       
 17127           columns = attributes.columns,
       
 17128           order = attributes.order,
       
 17129           orderBy = attributes.orderBy,
       
 17130           categories = attributes.categories,
       
 17131           selectedAuthor = attributes.selectedAuthor,
       
 17132           postsToShow = attributes.postsToShow,
       
 17133           excerptLength = attributes.excerptLength,
       
 17134           featuredImageAlign = attributes.featuredImageAlign,
       
 17135           featuredImageSizeSlug = attributes.featuredImageSizeSlug,
       
 17136           featuredImageSizeWidth = attributes.featuredImageSizeWidth,
       
 17137           featuredImageSizeHeight = attributes.featuredImageSizeHeight;
       
 17138       var categorySuggestions = categoriesList.reduce(function (accumulator, category) {
       
 17139         return latest_posts_edit_objectSpread({}, accumulator, Object(defineProperty["a" /* default */])({}, category.name, category));
       
 17140       }, {});
       
 17141 
       
 17142       var selectCategories = function selectCategories(tokens) {
       
 17143         var hasNoSuggestion = tokens.some(function (token) {
       
 17144           return typeof token === 'string' && !categorySuggestions[token];
       
 17145         });
       
 17146 
       
 17147         if (hasNoSuggestion) {
       
 17148           return;
       
 17149         } // Categories that are already will be objects, while new additions will be strings (the name).
       
 17150         // allCategories nomalizes the array so that they are all objects.
       
 17151 
       
 17152 
       
 17153         var allCategories = tokens.map(function (token) {
       
 17154           return typeof token === 'string' ? categorySuggestions[token] : token;
       
 17155         }); // We do nothing if the category is not selected
       
 17156         // from suggestions.
       
 17157 
       
 17158         if (Object(external_this_lodash_["includes"])(allCategories, null)) {
       
 17159           return false;
       
 17160         }
       
 17161 
       
 17162         setAttributes({
       
 17163           categories: allCategories
       
 17164         });
       
 17165       };
       
 17166 
       
 17167       var inspectorControls = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 17168         title: Object(external_this_wp_i18n_["__"])('Post content settings')
       
 17169       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 17170         label: Object(external_this_wp_i18n_["__"])('Post content'),
       
 17171         checked: displayPostContent,
       
 17172         onChange: function onChange(value) {
       
 17173           return setAttributes({
       
 17174             displayPostContent: value
       
 17175           });
       
 17176         }
       
 17177       }), displayPostContent && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RadioControl"], {
       
 17178         label: Object(external_this_wp_i18n_["__"])('Show:'),
       
 17179         selected: displayPostContentRadio,
       
 17180         options: [{
       
 17181           label: Object(external_this_wp_i18n_["__"])('Excerpt'),
       
 17182           value: 'excerpt'
       
 17183         }, {
       
 17184           label: Object(external_this_wp_i18n_["__"])('Full post'),
       
 17185           value: 'full_post'
       
 17186         }],
       
 17187         onChange: function onChange(value) {
       
 17188           return setAttributes({
       
 17189             displayPostContentRadio: value
       
 17190           });
       
 17191         }
       
 17192       }), displayPostContent && displayPostContentRadio === 'excerpt' && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], {
       
 17193         label: Object(external_this_wp_i18n_["__"])('Max number of words in excerpt'),
       
 17194         value: excerptLength,
       
 17195         onChange: function onChange(value) {
       
 17196           return setAttributes({
       
 17197             excerptLength: value
       
 17198           });
       
 17199         },
       
 17200         min: MIN_EXCERPT_LENGTH,
       
 17201         max: MAX_EXCERPT_LENGTH
       
 17202       })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 17203         title: Object(external_this_wp_i18n_["__"])('Post meta settings')
       
 17204       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 17205         label: Object(external_this_wp_i18n_["__"])('Display author name'),
       
 17206         checked: displayAuthor,
       
 17207         onChange: function onChange(value) {
       
 17208           return setAttributes({
       
 17209             displayAuthor: value
       
 17210           });
       
 17211         }
       
 17212       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 17213         label: Object(external_this_wp_i18n_["__"])('Display post date'),
       
 17214         checked: displayPostDate,
       
 17215         onChange: function onChange(value) {
       
 17216           return setAttributes({
       
 17217             displayPostDate: value
       
 17218           });
       
 17219         }
       
 17220       })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 17221         title: Object(external_this_wp_i18n_["__"])('Featured image settings')
       
 17222       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 17223         label: Object(external_this_wp_i18n_["__"])('Display featured image'),
       
 17224         checked: displayFeaturedImage,
       
 17225         onChange: function onChange(value) {
       
 17226           return setAttributes({
       
 17227             displayFeaturedImage: value
       
 17228           });
       
 17229         }
       
 17230       }), displayFeaturedImage && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalImageSizeControl"], {
       
 17231         onChange: function onChange(value) {
       
 17232           var newAttrs = {};
       
 17233 
       
 17234           if (value.hasOwnProperty('width')) {
       
 17235             newAttrs.featuredImageSizeWidth = value.width;
       
 17236           }
       
 17237 
       
 17238           if (value.hasOwnProperty('height')) {
       
 17239             newAttrs.featuredImageSizeHeight = value.height;
       
 17240           }
       
 17241 
       
 17242           setAttributes(newAttrs);
       
 17243         },
       
 17244         slug: featuredImageSizeSlug,
       
 17245         width: featuredImageSizeWidth,
       
 17246         height: featuredImageSizeHeight,
       
 17247         imageWidth: defaultImageWidth,
       
 17248         imageHeight: defaultImageHeight,
       
 17249         imageSizeOptions: imageSizeOptions,
       
 17250         onChangeImage: function onChangeImage(value) {
       
 17251           return setAttributes({
       
 17252             featuredImageSizeSlug: value,
       
 17253             featuredImageSizeWidth: undefined,
       
 17254             featuredImageSizeHeight: undefined
       
 17255           });
       
 17256         }
       
 17257       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"].VisualLabel, null, Object(external_this_wp_i18n_["__"])('Image alignment')), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockAlignmentToolbar"], {
       
 17258         value: featuredImageAlign,
       
 17259         onChange: function onChange(value) {
       
 17260           return setAttributes({
       
 17261             featuredImageAlign: value
       
 17262           });
       
 17263         },
       
 17264         controls: ['left', 'center', 'right'],
       
 17265         isCollapsed: false
       
 17266       })))), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 17267         title: Object(external_this_wp_i18n_["__"])('Sorting and filtering')
       
 17268       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["QueryControls"], Object(esm_extends["a" /* default */])({
       
 17269         order: order,
       
 17270         orderBy: orderBy
       
 17271       }, {
       
 17272         numberOfItems: postsToShow,
       
 17273         onOrderChange: function onOrderChange(value) {
       
 17274           return setAttributes({
       
 17275             order: value
       
 17276           });
       
 17277         },
       
 17278         onOrderByChange: function onOrderByChange(value) {
       
 17279           return setAttributes({
       
 17280             orderBy: value
       
 17281           });
       
 17282         },
       
 17283         onNumberOfItemsChange: function onNumberOfItemsChange(value) {
       
 17284           return setAttributes({
       
 17285             postsToShow: value
       
 17286           });
       
 17287         },
       
 17288         categorySuggestions: categorySuggestions,
       
 17289         onCategoryChange: selectCategories,
       
 17290         selectedCategories: categories,
       
 17291         onAuthorChange: function onAuthorChange(value) {
       
 17292           return setAttributes({
       
 17293             selectedAuthor: '' !== value ? Number(value) : undefined
       
 17294           });
       
 17295         },
       
 17296         authorList: authorList,
       
 17297         selectedAuthorId: selectedAuthor
       
 17298       })), postLayout === 'grid' && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], {
       
 17299         label: Object(external_this_wp_i18n_["__"])('Columns'),
       
 17300         value: columns,
       
 17301         onChange: function onChange(value) {
       
 17302           return setAttributes({
       
 17303             columns: value
       
 17304           });
       
 17305         },
       
 17306         min: 2,
       
 17307         max: !hasPosts ? MAX_POSTS_COLUMNS : Math.min(MAX_POSTS_COLUMNS, latestPosts.length),
       
 17308         required: true
       
 17309       })));
       
 17310       var hasPosts = Array.isArray(latestPosts) && latestPosts.length;
       
 17311 
       
 17312       if (!hasPosts) {
       
 17313         return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, inspectorControls, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], {
       
 17314           icon: library_pin,
       
 17315           label: Object(external_this_wp_i18n_["__"])('Latest Posts')
       
 17316         }, !Array.isArray(latestPosts) ? Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null) : Object(external_this_wp_i18n_["__"])('No posts found.')));
       
 17317       } // Removing posts from display should be instant.
       
 17318 
       
 17319 
       
 17320       var displayPosts = latestPosts.length > postsToShow ? latestPosts.slice(0, postsToShow) : latestPosts;
       
 17321       var layoutControls = [{
       
 17322         icon: library_list,
       
 17323         title: Object(external_this_wp_i18n_["__"])('List view'),
       
 17324         onClick: function onClick() {
       
 17325           return setAttributes({
       
 17326             postLayout: 'list'
       
 17327           });
       
 17328         },
       
 17329         isActive: postLayout === 'list'
       
 17330       }, {
       
 17331         icon: grid["a" /* default */],
       
 17332         title: Object(external_this_wp_i18n_["__"])('Grid view'),
       
 17333         onClick: function onClick() {
       
 17334           return setAttributes({
       
 17335             postLayout: 'grid'
       
 17336           });
       
 17337         },
       
 17338         isActive: postLayout === 'grid'
       
 17339       }];
       
 17340 
       
 17341       var dateFormat = Object(external_this_wp_date_["__experimentalGetSettings"])().formats.date;
       
 17342 
       
 17343       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, inspectorControls, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], {
       
 17344         controls: layoutControls
       
 17345       })), Object(external_this_wp_element_["createElement"])("ul", {
       
 17346         className: classnames_default()(this.props.className, Object(defineProperty["a" /* default */])({
       
 17347           'wp-block-latest-posts__list': true,
       
 17348           'is-grid': postLayout === 'grid',
       
 17349           'has-dates': displayPostDate,
       
 17350           'has-author': displayAuthor
       
 17351         }, "columns-".concat(columns), postLayout === 'grid'))
       
 17352       }, displayPosts.map(function (post, i) {
       
 17353         var titleTrimmed = Object(external_this_lodash_["invoke"])(post, ['title', 'rendered', 'trim']);
       
 17354         var excerpt = post.excerpt.rendered;
       
 17355         var currentAuthor = authorList.find(function (author) {
       
 17356           return author.id === post.author;
       
 17357         });
       
 17358         var excerptElement = document.createElement('div');
       
 17359         excerptElement.innerHTML = excerpt;
       
 17360         excerpt = excerptElement.textContent || excerptElement.innerText || '';
       
 17361         var imageSourceUrl = post.featuredImageSourceUrl;
       
 17362         var imageClasses = classnames_default()(Object(defineProperty["a" /* default */])({
       
 17363           'wp-block-latest-posts__featured-image': true
       
 17364         }, "align".concat(featuredImageAlign), !!featuredImageAlign));
       
 17365         var needsReadMore = excerptLength < excerpt.trim().split(' ').length && post.excerpt.raw === '';
       
 17366         var postExcerpt = needsReadMore ? Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, excerpt.trim().split(' ', excerptLength).join(' '), Object(external_this_wp_i18n_["__"])(' … '), Object(external_this_wp_element_["createElement"])("a", {
       
 17367           href: post.link,
       
 17368           target: "_blank",
       
 17369           rel: "noopener noreferrer"
       
 17370         }, Object(external_this_wp_i18n_["__"])('Read more'))) : excerpt;
       
 17371         return Object(external_this_wp_element_["createElement"])("li", {
       
 17372           key: i
       
 17373         }, displayFeaturedImage && Object(external_this_wp_element_["createElement"])("div", {
       
 17374           className: imageClasses
       
 17375         }, imageSourceUrl && Object(external_this_wp_element_["createElement"])("img", {
       
 17376           src: imageSourceUrl,
       
 17377           alt: "",
       
 17378           style: {
       
 17379             maxWidth: featuredImageSizeWidth,
       
 17380             maxHeight: featuredImageSizeHeight
       
 17381           }
       
 17382         })), Object(external_this_wp_element_["createElement"])("a", {
       
 17383           href: post.link,
       
 17384           target: "_blank",
       
 17385           rel: "noreferrer noopener"
       
 17386         }, titleTrimmed ? Object(external_this_wp_element_["createElement"])(external_this_wp_element_["RawHTML"], null, titleTrimmed) : Object(external_this_wp_i18n_["__"])('(no title)')), displayAuthor && currentAuthor && Object(external_this_wp_element_["createElement"])("div", {
       
 17387           className: "wp-block-latest-posts__post-author"
       
 17388         }, Object(external_this_wp_i18n_["sprintf"])(
       
 17389         /* translators: byline. %s: current author. */
       
 17390         Object(external_this_wp_i18n_["__"])('by %s'), currentAuthor.name)), displayPostDate && post.date_gmt && Object(external_this_wp_element_["createElement"])("time", {
       
 17391           dateTime: Object(external_this_wp_date_["format"])('c', post.date_gmt),
       
 17392           className: "wp-block-latest-posts__post-date"
       
 17393         }, Object(external_this_wp_date_["dateI18n"])(dateFormat, post.date_gmt)), displayPostContent && displayPostContentRadio === 'excerpt' && Object(external_this_wp_element_["createElement"])("div", {
       
 17394           className: "wp-block-latest-posts__post-excerpt"
       
 17395         }, postExcerpt), displayPostContent && displayPostContentRadio === 'full_post' && Object(external_this_wp_element_["createElement"])("div", {
       
 17396           className: "wp-block-latest-posts__post-full-content"
       
 17397         }, Object(external_this_wp_element_["createElement"])(external_this_wp_element_["RawHTML"], {
       
 17398           key: "html"
       
 17399         }, post.content.raw.trim())));
       
 17400       })));
       
 17401     }
       
 17402   }]);
       
 17403 
       
 17404   return LatestPostsEdit;
       
 17405 }(external_this_wp_element_["Component"]);
       
 17406 
       
 17407 /* harmony default export */ var latest_posts_edit = (Object(external_this_wp_data_["withSelect"])(function (select, props) {
       
 17408   var _props$attributes = props.attributes,
       
 17409       featuredImageSizeSlug = _props$attributes.featuredImageSizeSlug,
       
 17410       postsToShow = _props$attributes.postsToShow,
       
 17411       order = _props$attributes.order,
       
 17412       orderBy = _props$attributes.orderBy,
       
 17413       categories = _props$attributes.categories,
       
 17414       selectedAuthor = _props$attributes.selectedAuthor;
       
 17415 
       
 17416   var _select = select('core'),
       
 17417       getEntityRecords = _select.getEntityRecords,
       
 17418       getMedia = _select.getMedia;
       
 17419 
       
 17420   var _select2 = select('core/block-editor'),
       
 17421       getSettings = _select2.getSettings;
       
 17422 
       
 17423   var _getSettings = getSettings(),
       
 17424       imageSizes = _getSettings.imageSizes,
       
 17425       imageDimensions = _getSettings.imageDimensions;
       
 17426 
       
 17427   var catIds = categories && categories.length > 0 ? categories.map(function (cat) {
       
 17428     return cat.id;
       
 17429   }) : [];
       
 17430   var latestPostsQuery = Object(external_this_lodash_["pickBy"])({
       
 17431     categories: catIds,
       
 17432     author: selectedAuthor,
       
 17433     order: order,
       
 17434     orderby: orderBy,
       
 17435     per_page: postsToShow
       
 17436   }, function (value) {
       
 17437     return !Object(external_this_lodash_["isUndefined"])(value);
       
 17438   });
       
 17439   var posts = getEntityRecords('postType', 'post', latestPostsQuery);
       
 17440   var imageSizeOptions = imageSizes.filter(function (_ref) {
       
 17441     var slug = _ref.slug;
       
 17442     return slug !== 'full';
       
 17443   }).map(function (_ref2) {
       
 17444     var name = _ref2.name,
       
 17445         slug = _ref2.slug;
       
 17446     return {
       
 17447       value: slug,
       
 17448       label: name
       
 17449     };
       
 17450   });
       
 17451   return {
       
 17452     defaultImageWidth: Object(external_this_lodash_["get"])(imageDimensions, [featuredImageSizeSlug, 'width'], 0),
       
 17453     defaultImageHeight: Object(external_this_lodash_["get"])(imageDimensions, [featuredImageSizeSlug, 'height'], 0),
       
 17454     imageSizeOptions: imageSizeOptions,
       
 17455     latestPosts: !Array.isArray(posts) ? posts : posts.map(function (post) {
       
 17456       if (post.featured_media) {
       
 17457         var image = getMedia(post.featured_media);
       
 17458         var url = Object(external_this_lodash_["get"])(image, ['media_details', 'sizes', featuredImageSizeSlug, 'source_url'], null);
       
 17459 
       
 17460         if (!url) {
       
 17461           url = Object(external_this_lodash_["get"])(image, 'source_url', null);
       
 17462         }
       
 17463 
       
 17464         return latest_posts_edit_objectSpread({}, post, {
       
 17465           featuredImageSourceUrl: url
       
 17466         });
       
 17467       }
       
 17468 
       
 17469       return post;
       
 17470     })
       
 17471   };
       
 17472 })(edit_LatestPostsEdit));
       
 17473 
       
 17474 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-posts/index.js
       
 17475 /**
       
 17476  * WordPress dependencies
       
 17477  */
       
 17478 
       
 17479 
       
 17480 /**
       
 17481  * Internal dependencies
       
 17482  */
       
 17483 
       
 17484 
       
 17485 
       
 17486 var latest_posts_metadata = {
       
 17487   name: "core/latest-posts",
       
 17488   category: "widgets",
       
 17489   attributes: {
       
 17490     align: {
       
 17491       type: "string",
       
 17492       "enum": ["left", "center", "right", "wide", "full"]
       
 17493     },
       
 17494     className: {
       
 17495       type: "string"
       
 17496     },
       
 17497     categories: {
       
 17498       type: "array",
       
 17499       items: {
       
 17500         type: "object"
       
 17501       }
       
 17502     },
       
 17503     selectedAuthor: {
       
 17504       type: "number"
       
 17505     },
       
 17506     postsToShow: {
       
 17507       type: "number",
       
 17508       "default": 5
       
 17509     },
       
 17510     displayPostContent: {
       
 17511       type: "boolean",
       
 17512       "default": false
       
 17513     },
       
 17514     displayPostContentRadio: {
       
 17515       type: "string",
       
 17516       "default": "excerpt"
       
 17517     },
       
 17518     excerptLength: {
       
 17519       type: "number",
       
 17520       "default": 55
       
 17521     },
       
 17522     displayAuthor: {
       
 17523       type: "boolean",
       
 17524       "default": false
       
 17525     },
       
 17526     displayPostDate: {
       
 17527       type: "boolean",
       
 17528       "default": false
       
 17529     },
       
 17530     postLayout: {
       
 17531       type: "string",
       
 17532       "default": "list"
       
 17533     },
       
 17534     columns: {
       
 17535       type: "number",
       
 17536       "default": 3
       
 17537     },
       
 17538     order: {
       
 17539       type: "string",
       
 17540       "default": "desc"
       
 17541     },
       
 17542     orderBy: {
       
 17543       type: "string",
       
 17544       "default": "date"
       
 17545     },
       
 17546     displayFeaturedImage: {
       
 17547       type: "boolean",
       
 17548       "default": false
       
 17549     },
       
 17550     featuredImageAlign: {
       
 17551       type: "string",
       
 17552       "enum": ["left", "center", "right"]
       
 17553     },
       
 17554     featuredImageSizeSlug: {
       
 17555       type: "string",
       
 17556       "default": "thumbnail"
       
 17557     },
       
 17558     featuredImageSizeWidth: {
       
 17559       type: "number",
       
 17560       "default": null
       
 17561     },
       
 17562     featuredImageSizeHeight: {
       
 17563       type: "number",
       
 17564       "default": null
       
 17565     }
       
 17566   },
       
 17567   supports: {
       
 17568     align: true,
       
 17569     html: false
       
 17570   }
       
 17571 };
       
 17572 var latest_posts_name = latest_posts_metadata.name;
       
 17573 
       
 17574 var latest_posts_settings = {
       
 17575   title: Object(external_this_wp_i18n_["__"])('Latest Posts'),
       
 17576   description: Object(external_this_wp_i18n_["__"])('Display a list of your most recent posts.'),
       
 17577   icon: post_list,
       
 17578   keywords: [Object(external_this_wp_i18n_["__"])('recent posts')],
       
 17579   example: {},
       
 17580   edit: latest_posts_edit,
       
 17581   deprecated: latest_posts_deprecated
       
 17582 };
       
 17583 
       
 17584 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-list-bullets-rtl.js
       
 17585 
       
 17586 
       
 17587 /**
       
 17588  * WordPress dependencies
       
 17589  */
       
 17590 
       
 17591 var formatListBulletsRTL = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 17592   xmlns: "http://www.w3.org/2000/svg",
       
 17593   viewBox: "0 0 24 24"
       
 17594 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 17595   d: "M4 8.8h8.9V7.2H4v1.6zm0 7h8.9v-1.5H4v1.5zM18 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"
       
 17596 }));
       
 17597 /* harmony default export */ var format_list_bullets_rtl = (formatListBulletsRTL);
       
 17598 
       
 17599 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-list-bullets.js
       
 17600 
       
 17601 
       
 17602 /**
       
 17603  * WordPress dependencies
       
 17604  */
       
 17605 
       
 17606 var formatListBullets = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 17607   xmlns: "http://www.w3.org/2000/svg",
       
 17608   viewBox: "0 0 24 24"
       
 17609 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 17610   d: "M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM6 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"
       
 17611 }));
       
 17612 /* harmony default export */ var format_list_bullets = (formatListBullets);
       
 17613 
       
 17614 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-list-numbered-rtl.js
       
 17615 
       
 17616 
       
 17617 /**
       
 17618  * WordPress dependencies
       
 17619  */
       
 17620 
       
 17621 var formatListNumberedRTL = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 17622   xmlns: "http://www.w3.org/2000/svg",
       
 17623   viewBox: "0 0 24 24"
       
 17624 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 17625   d: "M3.8 15.8h8.9v-1.5H3.8v1.5zm0-7h8.9V7.2H3.8v1.6zm14.7-2.1V10h1V5.3l-2.2.7.3 1 .9-.3zm1.2 6.1c-.5-.6-1.2-.5-1.7-.4-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5H20v-1h-.9c.3-.6.8-1.4.9-2.1 0-.3 0-.8-.3-1.1z"
       
 17626 }));
       
 17627 /* harmony default export */ var format_list_numbered_rtl = (formatListNumberedRTL);
       
 17628 
       
 17629 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-list-numbered.js
       
 17630 
       
 17631 
       
 17632 /**
       
 17633  * WordPress dependencies
       
 17634  */
       
 17635 
       
 17636 var formatListNumbered = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 17637   xmlns: "http://www.w3.org/2000/svg",
       
 17638   viewBox: "0 0 24 24"
       
 17639 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 17640   d: "M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM5 6.7V10h1V5.3L3.8 6l.4 1 .8-.3zm-.4 5.7c-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5h2.7v-1h-1c.3-.6.8-1.4.9-2.1.1-.3 0-.8-.2-1.1-.5-.6-1.3-.5-1.7-.4z"
       
 17641 }));
       
 17642 /* harmony default export */ var format_list_numbered = (formatListNumbered);
       
 17643 
       
 17644 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-outdent-rtl.js
       
 17645 
       
 17646 
       
 17647 /**
       
 17648  * WordPress dependencies
       
 17649  */
       
 17650 
       
 17651 var formatOutdentRTL = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 17652   xmlns: "http://www.w3.org/2000/svg",
       
 17653   viewBox: "0 0 24 24"
       
 17654 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 17655   d: "M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM15.4697 14.9697L18.4393 12L15.4697 9.03033L16.5303 7.96967L20.0303 11.4697L20.5607 12L20.0303 12.5303L16.5303 16.0303L15.4697 14.9697Z"
       
 17656 }));
       
 17657 /* harmony default export */ var format_outdent_rtl = (formatOutdentRTL);
       
 17658 
       
 17659 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-outdent.js
       
 17660 
       
 17661 
       
 17662 /**
       
 17663  * WordPress dependencies
       
 17664  */
       
 17665 
       
 17666 var formatOutdent = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 17667   xmlns: "http://www.w3.org/2000/svg",
       
 17668   viewBox: "0 0 24 24"
       
 17669 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 17670   d: "M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-4-4.6l-4 4 4 4 1-1-3-3 3-3-1-1z"
       
 17671 }));
       
 17672 /* harmony default export */ var format_outdent = (formatOutdent);
       
 17673 
       
 17674 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-indent-rtl.js
       
 17675 
       
 17676 
       
 17677 /**
       
 17678  * WordPress dependencies
       
 17679  */
       
 17680 
       
 17681 var formatIndentRTL = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 17682   xmlns: "http://www.w3.org/2000/svg",
       
 17683   viewBox: "0 0 24 24"
       
 17684 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 17685   d: "M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM20.0303 9.03033L17.0607 12L20.0303 14.9697L18.9697 16.0303L15.4697 12.5303L14.9393 12L15.4697 11.4697L18.9697 7.96967L20.0303 9.03033Z"
       
 17686 }));
       
 17687 /* harmony default export */ var format_indent_rtl = (formatIndentRTL);
       
 17688 
       
 17689 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-indent.js
       
 17690 
       
 17691 
       
 17692 /**
       
 17693  * WordPress dependencies
       
 17694  */
       
 17695 
       
 17696 var formatIndent = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 17697   xmlns: "http://www.w3.org/2000/svg",
       
 17698   viewBox: "0 0 24 24"
       
 17699 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 17700   d: "M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-8-3.5l3 3-3 3 1 1 4-4-4-4-1 1z"
       
 17701 }));
       
 17702 /* harmony default export */ var format_indent = (formatIndent);
       
 17703 
       
 17704 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/list/ordered-list-settings.js
       
 17705 
       
 17706 
       
 17707 /**
       
 17708  * WordPress dependencies
       
 17709  */
       
 17710 
       
 17711 
       
 17712 
       
 17713 
       
 17714 var ordered_list_settings_OrderedListSettings = function OrderedListSettings(_ref) {
       
 17715   var setAttributes = _ref.setAttributes,
       
 17716       reversed = _ref.reversed,
       
 17717       start = _ref.start;
       
 17718   return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 17719     title: Object(external_this_wp_i18n_["__"])('Ordered list settings')
       
 17720   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
       
 17721     label: Object(external_this_wp_i18n_["__"])('Start value'),
       
 17722     type: "number",
       
 17723     onChange: function onChange(value) {
       
 17724       var int = parseInt(value, 10);
       
 17725       setAttributes({
       
 17726         // It should be possible to unset the value,
       
 17727         // e.g. with an empty string.
       
 17728         start: isNaN(int) ? undefined : int
       
 17729       });
       
 17730     },
       
 17731     value: Number.isInteger(start) ? start.toString(10) : '',
       
 17732     step: "1"
       
 17733   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 17734     label: Object(external_this_wp_i18n_["__"])('Reverse list numbering'),
       
 17735     checked: reversed || false,
       
 17736     onChange: function onChange(value) {
       
 17737       setAttributes({
       
 17738         // Unset the attribute if not reversed.
       
 17739         reversed: value || undefined
       
 17740       });
       
 17741     }
       
 17742   })));
       
 17743 };
       
 17744 
       
 17745 /* harmony default export */ var ordered_list_settings = (ordered_list_settings_OrderedListSettings);
       
 17746 
       
 17747 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/list/edit.js
       
 17748 
       
 17749 
       
 17750 
       
 17751 function list_edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
 17752 
       
 17753 function list_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { list_edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { list_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
 17754 
       
 17755 /**
       
 17756  * WordPress dependencies
       
 17757  */
       
 17758 
       
 17759 
       
 17760 
       
 17761 
       
 17762 
       
 17763 
       
 17764 
       
 17765 /**
       
 17766  * Internal dependencies
       
 17767  */
       
 17768 
       
 17769 
       
 17770 
       
 17771 function ListEdit(_ref) {
       
 17772   var attributes = _ref.attributes,
       
 17773       setAttributes = _ref.setAttributes,
       
 17774       mergeBlocks = _ref.mergeBlocks,
       
 17775       onReplace = _ref.onReplace,
       
 17776       isSelected = _ref.isSelected;
       
 17777   var ordered = attributes.ordered,
       
 17778       values = attributes.values,
       
 17779       type = attributes.type,
       
 17780       reversed = attributes.reversed,
       
 17781       start = attributes.start;
       
 17782   var tagName = ordered ? 'ol' : 'ul';
       
 17783   var isRTL = Object(external_this_wp_data_["useSelect"])(function (select) {
       
 17784     return !!select('core/block-editor').getSettings().isRTL;
       
 17785   }, []);
       
 17786 
       
 17787   var controls = function controls(_ref2) {
       
 17788     var value = _ref2.value,
       
 17789         onChange = _ref2.onChange,
       
 17790         onFocus = _ref2.onFocus;
       
 17791     return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, isSelected && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextShortcut"], {
       
 17792       type: "primary",
       
 17793       character: "[",
       
 17794       onUse: function onUse() {
       
 17795         onChange(Object(external_this_wp_richText_["__unstableOutdentListItems"])(value));
       
 17796       }
       
 17797     }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextShortcut"], {
       
 17798       type: "primary",
       
 17799       character: "]",
       
 17800       onUse: function onUse() {
       
 17801         onChange(Object(external_this_wp_richText_["__unstableIndentListItems"])(value, {
       
 17802           type: tagName
       
 17803         }));
       
 17804       }
       
 17805     }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextShortcut"], {
       
 17806       type: "primary",
       
 17807       character: "m",
       
 17808       onUse: function onUse() {
       
 17809         onChange(Object(external_this_wp_richText_["__unstableIndentListItems"])(value, {
       
 17810           type: tagName
       
 17811         }));
       
 17812       }
       
 17813     }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextShortcut"], {
       
 17814       type: "primaryShift",
       
 17815       character: "m",
       
 17816       onUse: function onUse() {
       
 17817         onChange(Object(external_this_wp_richText_["__unstableOutdentListItems"])(value));
       
 17818       }
       
 17819     })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], {
       
 17820       controls: [{
       
 17821         icon: isRTL ? format_list_bullets_rtl : format_list_bullets,
       
 17822         title: Object(external_this_wp_i18n_["__"])('Convert to unordered list'),
       
 17823         isActive: Object(external_this_wp_richText_["__unstableIsActiveListType"])(value, 'ul', tagName),
       
 17824         onClick: function onClick() {
       
 17825           onChange(Object(external_this_wp_richText_["__unstableChangeListType"])(value, {
       
 17826             type: 'ul'
       
 17827           }));
       
 17828           onFocus();
       
 17829 
       
 17830           if (Object(external_this_wp_richText_["__unstableIsListRootSelected"])(value)) {
       
 17831             setAttributes({
       
 17832               ordered: false
       
 17833             });
       
 17834           }
       
 17835         }
       
 17836       }, {
       
 17837         icon: isRTL ? format_list_numbered_rtl : format_list_numbered,
       
 17838         title: Object(external_this_wp_i18n_["__"])('Convert to ordered list'),
       
 17839         isActive: Object(external_this_wp_richText_["__unstableIsActiveListType"])(value, 'ol', tagName),
       
 17840         onClick: function onClick() {
       
 17841           onChange(Object(external_this_wp_richText_["__unstableChangeListType"])(value, {
       
 17842             type: 'ol'
       
 17843           }));
       
 17844           onFocus();
       
 17845 
       
 17846           if (Object(external_this_wp_richText_["__unstableIsListRootSelected"])(value)) {
       
 17847             setAttributes({
       
 17848               ordered: true
       
 17849             });
       
 17850           }
       
 17851         }
       
 17852       }, {
       
 17853         icon: isRTL ? format_outdent_rtl : format_outdent,
       
 17854         title: Object(external_this_wp_i18n_["__"])('Outdent list item'),
       
 17855         shortcut: Object(external_this_wp_i18n_["_x"])('Backspace', 'keyboard key'),
       
 17856         isDisabled: !Object(external_this_wp_richText_["__unstableCanOutdentListItems"])(value),
       
 17857         onClick: function onClick() {
       
 17858           onChange(Object(external_this_wp_richText_["__unstableOutdentListItems"])(value));
       
 17859           onFocus();
       
 17860         }
       
 17861       }, {
       
 17862         icon: isRTL ? format_indent_rtl : format_indent,
       
 17863         title: Object(external_this_wp_i18n_["__"])('Indent list item'),
       
 17864         shortcut: Object(external_this_wp_i18n_["_x"])('Space', 'keyboard key'),
       
 17865         isDisabled: !Object(external_this_wp_richText_["__unstableCanIndentListItems"])(value),
       
 17866         onClick: function onClick() {
       
 17867           onChange(Object(external_this_wp_richText_["__unstableIndentListItems"])(value, {
       
 17868             type: tagName
       
 17869           }));
       
 17870           onFocus();
       
 17871         }
       
 17872       }]
       
 17873     })));
       
 17874   };
       
 17875 
       
 17876   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 17877     identifier: "values",
       
 17878     multiline: "li",
       
 17879     __unstableMultilineRootTag: tagName,
       
 17880     tagName: external_this_wp_blockEditor_["__experimentalBlock"][tagName],
       
 17881     onChange: function onChange(nextValues) {
       
 17882       return setAttributes({
       
 17883         values: nextValues
       
 17884       });
       
 17885     },
       
 17886     value: values,
       
 17887     placeholder: Object(external_this_wp_i18n_["__"])('Write list…'),
       
 17888     onMerge: mergeBlocks,
       
 17889     onSplit: function onSplit(value) {
       
 17890       return Object(external_this_wp_blocks_["createBlock"])(list_name, list_edit_objectSpread({}, attributes, {
       
 17891         values: value
       
 17892       }));
       
 17893     },
       
 17894     __unstableOnSplitMiddle: function __unstableOnSplitMiddle() {
       
 17895       return Object(external_this_wp_blocks_["createBlock"])('core/paragraph');
       
 17896     },
       
 17897     onReplace: onReplace,
       
 17898     onRemove: function onRemove() {
       
 17899       return onReplace([]);
       
 17900     },
       
 17901     start: start,
       
 17902     reversed: reversed,
       
 17903     type: type
       
 17904   }, controls), ordered && Object(external_this_wp_element_["createElement"])(ordered_list_settings, {
       
 17905     setAttributes: setAttributes,
       
 17906     ordered: ordered,
       
 17907     reversed: reversed,
       
 17908     start: start
       
 17909   }));
       
 17910 }
       
 17911 
       
 17912 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/list/save.js
       
 17913 
       
 17914 
       
 17915 /**
       
 17916  * WordPress dependencies
       
 17917  */
       
 17918 
       
 17919 function list_save_save(_ref) {
       
 17920   var attributes = _ref.attributes;
       
 17921   var ordered = attributes.ordered,
       
 17922       values = attributes.values,
       
 17923       type = attributes.type,
       
 17924       reversed = attributes.reversed,
       
 17925       start = attributes.start;
       
 17926   var tagName = ordered ? 'ol' : 'ul';
       
 17927   return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 17928     tagName: tagName,
       
 17929     value: values,
       
 17930     type: type,
       
 17931     reversed: reversed,
       
 17932     start: start,
       
 17933     multiline: "li"
       
 17934   });
       
 17935 }
       
 17936 
       
 17937 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/list/transforms.js
       
 17938 
       
 17939 
       
 17940 
       
 17941 function list_transforms_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
 17942 
       
 17943 function list_transforms_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { list_transforms_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { list_transforms_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
 17944 
       
 17945 /**
       
 17946  * WordPress dependencies
       
 17947  */
       
 17948 
       
 17949 
       
 17950 
       
 17951 function getListContentSchema(_ref) {
       
 17952   var phrasingContentSchema = _ref.phrasingContentSchema;
       
 17953 
       
 17954   var listContentSchema = list_transforms_objectSpread({}, phrasingContentSchema, {
       
 17955     ul: {},
       
 17956     ol: {
       
 17957       attributes: ['type', 'start', 'reversed']
       
 17958     }
       
 17959   }); // Recursion is needed.
       
 17960   // Possible: ul > li > ul.
       
 17961   // Impossible: ul > ul.
       
 17962 
       
 17963 
       
 17964   ['ul', 'ol'].forEach(function (tag) {
       
 17965     listContentSchema[tag].children = {
       
 17966       li: {
       
 17967         children: listContentSchema
       
 17968       }
       
 17969     };
       
 17970   });
       
 17971   return listContentSchema;
       
 17972 }
       
 17973 
       
 17974 var list_transforms_transforms = {
       
 17975   from: [{
       
 17976     type: 'block',
       
 17977     isMultiBlock: true,
       
 17978     blocks: ['core/paragraph'],
       
 17979     transform: function transform(blockAttributes) {
       
 17980       return Object(external_this_wp_blocks_["createBlock"])('core/list', {
       
 17981         values: Object(external_this_wp_richText_["toHTMLString"])({
       
 17982           value: Object(external_this_wp_richText_["join"])(blockAttributes.map(function (_ref2) {
       
 17983             var content = _ref2.content;
       
 17984             var value = Object(external_this_wp_richText_["create"])({
       
 17985               html: content
       
 17986             });
       
 17987 
       
 17988             if (blockAttributes.length > 1) {
       
 17989               return value;
       
 17990             } // When converting only one block, transform
       
 17991             // every line to a list item.
       
 17992 
       
 17993 
       
 17994             return Object(external_this_wp_richText_["replace"])(value, /\n/g, external_this_wp_richText_["__UNSTABLE_LINE_SEPARATOR"]);
       
 17995           }), external_this_wp_richText_["__UNSTABLE_LINE_SEPARATOR"]),
       
 17996           multilineTag: 'li'
       
 17997         }),
       
 17998         anchor: blockAttributes.anchor
       
 17999       });
       
 18000     }
       
 18001   }, {
       
 18002     type: 'block',
       
 18003     blocks: ['core/quote', 'core/pullquote'],
       
 18004     transform: function transform(_ref3) {
       
 18005       var value = _ref3.value,
       
 18006           anchor = _ref3.anchor;
       
 18007       return Object(external_this_wp_blocks_["createBlock"])('core/list', {
       
 18008         values: Object(external_this_wp_richText_["toHTMLString"])({
       
 18009           value: Object(external_this_wp_richText_["create"])({
       
 18010             html: value,
       
 18011             multilineTag: 'p'
       
 18012           }),
       
 18013           multilineTag: 'li'
       
 18014         }),
       
 18015         anchor: anchor
       
 18016       });
       
 18017     }
       
 18018   }, {
       
 18019     type: 'raw',
       
 18020     selector: 'ol,ul',
       
 18021     schema: function schema(args) {
       
 18022       return {
       
 18023         ol: getListContentSchema(args).ol,
       
 18024         ul: getListContentSchema(args).ul
       
 18025       };
       
 18026     },
       
 18027     transform: function transform(node) {
       
 18028       var attributes = {
       
 18029         ordered: node.nodeName === 'OL',
       
 18030         anchor: node.id === '' ? undefined : node.id
       
 18031       };
       
 18032 
       
 18033       if (attributes.ordered) {
       
 18034         var type = node.getAttribute('type');
       
 18035 
       
 18036         if (type) {
       
 18037           attributes.type = type;
       
 18038         }
       
 18039 
       
 18040         if (node.getAttribute('reversed') !== null) {
       
 18041           attributes.reversed = true;
       
 18042         }
       
 18043 
       
 18044         var start = parseInt(node.getAttribute('start'), 10);
       
 18045 
       
 18046         if (!isNaN(start) && ( // start=1 only makes sense if the list is reversed.
       
 18047         start !== 1 || attributes.reversed)) {
       
 18048           attributes.start = start;
       
 18049         }
       
 18050       }
       
 18051 
       
 18052       return Object(external_this_wp_blocks_["createBlock"])('core/list', list_transforms_objectSpread({}, Object(external_this_wp_blocks_["getBlockAttributes"])('core/list', node.outerHTML), {}, attributes));
       
 18053     }
       
 18054   }].concat(Object(toConsumableArray["a" /* default */])(['*', '-'].map(function (prefix) {
       
 18055     return {
       
 18056       type: 'prefix',
       
 18057       prefix: prefix,
       
 18058       transform: function transform(content) {
       
 18059         return Object(external_this_wp_blocks_["createBlock"])('core/list', {
       
 18060           values: "<li>".concat(content, "</li>")
       
 18061         });
       
 18062       }
       
 18063     };
       
 18064   })), Object(toConsumableArray["a" /* default */])(['1.', '1)'].map(function (prefix) {
       
 18065     return {
       
 18066       type: 'prefix',
       
 18067       prefix: prefix,
       
 18068       transform: function transform(content) {
       
 18069         return Object(external_this_wp_blocks_["createBlock"])('core/list', {
       
 18070           ordered: true,
       
 18071           values: "<li>".concat(content, "</li>")
       
 18072         });
       
 18073       }
       
 18074     };
       
 18075   }))),
       
 18076   to: [{
       
 18077     type: 'block',
       
 18078     blocks: ['core/paragraph'],
       
 18079     transform: function transform(_ref4) {
       
 18080       var values = _ref4.values;
       
 18081       return Object(external_this_wp_richText_["split"])(Object(external_this_wp_richText_["create"])({
       
 18082         html: values,
       
 18083         multilineTag: 'li',
       
 18084         multilineWrapperTags: ['ul', 'ol']
       
 18085       }), external_this_wp_richText_["__UNSTABLE_LINE_SEPARATOR"]).map(function (piece) {
       
 18086         return Object(external_this_wp_blocks_["createBlock"])('core/paragraph', {
       
 18087           content: Object(external_this_wp_richText_["toHTMLString"])({
       
 18088             value: piece
       
 18089           })
       
 18090         });
       
 18091       });
       
 18092     }
       
 18093   }, {
       
 18094     type: 'block',
       
 18095     blocks: ['core/quote'],
       
 18096     transform: function transform(_ref5) {
       
 18097       var values = _ref5.values,
       
 18098           anchor = _ref5.anchor;
       
 18099       return Object(external_this_wp_blocks_["createBlock"])('core/quote', {
       
 18100         value: Object(external_this_wp_richText_["toHTMLString"])({
       
 18101           value: Object(external_this_wp_richText_["create"])({
       
 18102             html: values,
       
 18103             multilineTag: 'li',
       
 18104             multilineWrapperTags: ['ul', 'ol']
       
 18105           }),
       
 18106           multilineTag: 'p'
       
 18107         }),
       
 18108         anchor: anchor
       
 18109       });
       
 18110     }
       
 18111   }, {
       
 18112     type: 'block',
       
 18113     blocks: ['core/pullquote'],
       
 18114     transform: function transform(_ref6) {
       
 18115       var values = _ref6.values,
       
 18116           anchor = _ref6.anchor;
       
 18117       return Object(external_this_wp_blocks_["createBlock"])('core/pullquote', {
       
 18118         value: Object(external_this_wp_richText_["toHTMLString"])({
       
 18119           value: Object(external_this_wp_richText_["create"])({
       
 18120             html: values,
       
 18121             multilineTag: 'li',
       
 18122             multilineWrapperTags: ['ul', 'ol']
       
 18123           }),
       
 18124           multilineTag: 'p'
       
 18125         }),
       
 18126         anchor: anchor
       
 18127       });
       
 18128     }
       
 18129   }]
       
 18130 };
       
 18131 /* harmony default export */ var list_transforms = (list_transforms_transforms);
       
 18132 
       
 18133 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/list/index.js
       
 18134 
       
 18135 
       
 18136 function list_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
 18137 
       
 18138 function list_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { list_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { list_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
 18139 
       
 18140 /**
       
 18141  * WordPress dependencies
       
 18142  */
       
 18143 
       
 18144 
       
 18145 /**
       
 18146  * Internal dependencies
       
 18147  */
       
 18148 
       
 18149 
       
 18150 var list_metadata = {
       
 18151   name: "core/list",
       
 18152   category: "text",
       
 18153   attributes: {
       
 18154     ordered: {
       
 18155       type: "boolean",
       
 18156       "default": false
       
 18157     },
       
 18158     values: {
       
 18159       type: "string",
       
 18160       source: "html",
       
 18161       selector: "ol,ul",
       
 18162       multiline: "li",
       
 18163       __unstableMultilineWrapperTags: ["ol", "ul"],
       
 18164       "default": ""
       
 18165     },
       
 18166     type: {
       
 18167       type: "string"
       
 18168     },
       
 18169     start: {
       
 18170       type: "number"
       
 18171     },
       
 18172     reversed: {
       
 18173       type: "boolean"
       
 18174     }
       
 18175   },
       
 18176   supports: {
       
 18177     anchor: true,
       
 18178     className: false,
       
 18179     __unstablePasteTextInline: true,
       
 18180     lightBlockWrapper: true
       
 18181   }
       
 18182 };
       
 18183 
       
 18184 
       
 18185 var list_name = list_metadata.name;
       
 18186 
       
 18187 var list_settings = {
       
 18188   title: Object(external_this_wp_i18n_["__"])('List'),
       
 18189   description: Object(external_this_wp_i18n_["__"])('Create a bulleted or numbered list.'),
       
 18190   icon: library_list,
       
 18191   keywords: [Object(external_this_wp_i18n_["__"])('bullet list'), Object(external_this_wp_i18n_["__"])('ordered list'), Object(external_this_wp_i18n_["__"])('numbered list')],
       
 18192   example: {
       
 18193     attributes: {
       
 18194       values: '<li>Alice.</li><li>The White Rabbit.</li><li>The Cheshire Cat.</li><li>The Mad Hatter.</li><li>The Queen of Hearts.</li>'
       
 18195     }
       
 18196   },
       
 18197   transforms: list_transforms,
       
 18198   merge: function merge(attributes, attributesToMerge) {
       
 18199     var values = attributesToMerge.values;
       
 18200 
       
 18201     if (!values || values === '<li></li>') {
       
 18202       return attributes;
       
 18203     }
       
 18204 
       
 18205     return list_objectSpread({}, attributes, {
       
 18206       values: attributes.values + values
       
 18207     });
       
 18208   },
       
 18209   edit: ListEdit,
       
 18210   save: list_save_save
       
 18211 };
       
 18212 
       
 18213 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/missing/edit.js
       
 18214 
       
 18215 
       
 18216 /**
       
 18217  * WordPress dependencies
       
 18218  */
       
 18219 
       
 18220 
       
 18221 
       
 18222 
       
 18223 
       
 18224 
       
 18225 
       
 18226 function MissingBlockWarning(_ref) {
       
 18227   var attributes = _ref.attributes,
       
 18228       convertToHTML = _ref.convertToHTML;
       
 18229   var originalName = attributes.originalName,
       
 18230       originalUndelimitedContent = attributes.originalUndelimitedContent;
       
 18231   var hasContent = !!originalUndelimitedContent;
       
 18232   var hasHTMLBlock = Object(external_this_wp_blocks_["getBlockType"])('core/html');
       
 18233   var actions = [];
       
 18234   var messageHTML;
       
 18235 
       
 18236   if (hasContent && hasHTMLBlock) {
       
 18237     messageHTML = Object(external_this_wp_i18n_["sprintf"])(
       
 18238     /* translators: %s: block name */
       
 18239     Object(external_this_wp_i18n_["__"])('Your site doesn’t include support for the "%s" block. You can leave this block intact, convert its content to a Custom HTML block, or remove it entirely.'), originalName);
       
 18240     actions.push(Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
 18241       key: "convert",
       
 18242       onClick: convertToHTML,
       
 18243       isLarge: true,
       
 18244       isPrimary: true
       
 18245     }, Object(external_this_wp_i18n_["__"])('Keep as HTML')));
       
 18246   } else {
       
 18247     messageHTML = Object(external_this_wp_i18n_["sprintf"])(
       
 18248     /* translators: %s: block name */
       
 18249     Object(external_this_wp_i18n_["__"])('Your site doesn’t include support for the "%s" block. You can leave this block intact or remove it entirely.'), originalName);
       
 18250   }
       
 18251 
       
 18252   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["Warning"], {
       
 18253     actions: actions
       
 18254   }, messageHTML), Object(external_this_wp_element_["createElement"])(external_this_wp_element_["RawHTML"], null, originalUndelimitedContent));
       
 18255 }
       
 18256 
       
 18257 var MissingEdit = Object(external_this_wp_data_["withDispatch"])(function (dispatch, _ref2) {
       
 18258   var clientId = _ref2.clientId,
       
 18259       attributes = _ref2.attributes;
       
 18260 
       
 18261   var _dispatch = dispatch('core/block-editor'),
       
 18262       replaceBlock = _dispatch.replaceBlock;
       
 18263 
       
 18264   return {
       
 18265     convertToHTML: function convertToHTML() {
       
 18266       replaceBlock(clientId, Object(external_this_wp_blocks_["createBlock"])('core/html', {
       
 18267         content: attributes.originalUndelimitedContent
       
 18268       }));
       
 18269     }
       
 18270   };
       
 18271 })(MissingBlockWarning);
       
 18272 /* harmony default export */ var missing_edit = (MissingEdit);
       
 18273 
       
 18274 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/missing/save.js
       
 18275 
       
 18276 
       
 18277 /**
       
 18278  * WordPress dependencies
       
 18279  */
       
 18280 
       
 18281 function missing_save_save(_ref) {
       
 18282   var attributes = _ref.attributes;
       
 18283   // Preserve the missing block's content.
       
 18284   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["RawHTML"], null, attributes.originalContent);
       
 18285 }
       
 18286 
       
 18287 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/missing/index.js
       
 18288 /**
       
 18289  * WordPress dependencies
       
 18290  */
       
 18291 
       
 18292 
       
 18293 /**
       
 18294  * Internal dependencies
       
 18295  */
       
 18296 
       
 18297 
       
 18298 var missing_metadata = {
       
 18299   name: "core/missing",
       
 18300   category: "text",
       
 18301   attributes: {
       
 18302     originalName: {
       
 18303       type: "string"
       
 18304     },
       
 18305     originalUndelimitedContent: {
       
 18306       type: "string"
       
 18307     },
       
 18308     originalContent: {
       
 18309       type: "string",
       
 18310       source: "html"
       
 18311     }
       
 18312   },
       
 18313   supports: {
       
 18314     className: false,
       
 18315     customClassName: false,
       
 18316     inserter: false,
       
 18317     html: false,
       
 18318     reusable: false
       
 18319   }
       
 18320 };
       
 18321 
       
 18322 var missing_name = missing_metadata.name;
       
 18323 
       
 18324 var missing_settings = {
       
 18325   name: missing_name,
       
 18326   title: Object(external_this_wp_i18n_["__"])('Unsupported'),
       
 18327   description: Object(external_this_wp_i18n_["__"])('Your site doesn’t include support for this block.'),
       
 18328   __experimentalLabel: function __experimentalLabel(attributes, _ref) {
       
 18329     var context = _ref.context;
       
 18330 
       
 18331     if (context === 'accessibility') {
       
 18332       var originalName = attributes.originalName;
       
 18333       var originalBlockType = originalName ? Object(external_this_wp_blocks_["getBlockType"])(originalName) : undefined;
       
 18334 
       
 18335       if (originalBlockType) {
       
 18336         return originalBlockType.settings.title || originalName;
       
 18337       }
       
 18338 
       
 18339       return '';
       
 18340     }
       
 18341   },
       
 18342   edit: missing_edit,
       
 18343   save: missing_save_save
       
 18344 };
       
 18345 
       
 18346 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/more.js
       
 18347 
       
 18348 
       
 18349 /**
       
 18350  * WordPress dependencies
       
 18351  */
       
 18352 
       
 18353 var more = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 18354   viewBox: "0 0 24 24",
       
 18355   xmlns: "http://www.w3.org/2000/svg"
       
 18356 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 18357   d: "M4 9v1.5h16V9H4zm12 5.5h4V13h-4v1.5zm-6 0h4V13h-4v1.5zm-6 0h4V13H4v1.5z"
       
 18358 }));
       
 18359 /* harmony default export */ var library_more = (more);
       
 18360 
       
 18361 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/more/edit.js
       
 18362 
       
 18363 
       
 18364 
       
 18365 
       
 18366 
       
 18367 
       
 18368 
       
 18369 
       
 18370 function more_edit_createSuper(Derived) { return function () { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (more_edit_isNativeReflectConstruct()) { var NewTarget = Object(getPrototypeOf["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(possibleConstructorReturn["a" /* default */])(this, result); }; }
       
 18371 
       
 18372 function more_edit_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
       
 18373 
       
 18374 /**
       
 18375  * WordPress dependencies
       
 18376  */
       
 18377 
       
 18378 
       
 18379 
       
 18380 
       
 18381 
       
 18382 
       
 18383 
       
 18384 var edit_MoreEdit = /*#__PURE__*/function (_Component) {
       
 18385   Object(inherits["a" /* default */])(MoreEdit, _Component);
       
 18386 
       
 18387   var _super = more_edit_createSuper(MoreEdit);
       
 18388 
       
 18389   function MoreEdit() {
       
 18390     var _this;
       
 18391 
       
 18392     Object(classCallCheck["a" /* default */])(this, MoreEdit);
       
 18393 
       
 18394     _this = _super.apply(this, arguments);
       
 18395     _this.onChangeInput = _this.onChangeInput.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 18396     _this.onKeyDown = _this.onKeyDown.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 18397     _this.state = {
       
 18398       defaultText: Object(external_this_wp_i18n_["__"])('Read more')
       
 18399     };
       
 18400     return _this;
       
 18401   }
       
 18402 
       
 18403   Object(createClass["a" /* default */])(MoreEdit, [{
       
 18404     key: "onChangeInput",
       
 18405     value: function onChangeInput(event) {
       
 18406       // Set defaultText to an empty string, allowing the user to clear/replace the input field's text
       
 18407       this.setState({
       
 18408         defaultText: ''
       
 18409       });
       
 18410       var value = event.target.value.length === 0 ? undefined : event.target.value;
       
 18411       this.props.setAttributes({
       
 18412         customText: value
       
 18413       });
       
 18414     }
       
 18415   }, {
       
 18416     key: "onKeyDown",
       
 18417     value: function onKeyDown(event) {
       
 18418       var keyCode = event.keyCode;
       
 18419       var insertBlocksAfter = this.props.insertBlocksAfter;
       
 18420 
       
 18421       if (keyCode === external_this_wp_keycodes_["ENTER"]) {
       
 18422         insertBlocksAfter([Object(external_this_wp_blocks_["createBlock"])(Object(external_this_wp_blocks_["getDefaultBlockName"])())]);
       
 18423       }
       
 18424     }
       
 18425   }, {
       
 18426     key: "getHideExcerptHelp",
       
 18427     value: function getHideExcerptHelp(checked) {
       
 18428       return checked ? Object(external_this_wp_i18n_["__"])('The excerpt is hidden.') : Object(external_this_wp_i18n_["__"])('The excerpt is visible.');
       
 18429     }
       
 18430   }, {
       
 18431     key: "render",
       
 18432     value: function render() {
       
 18433       var _this$props$attribute = this.props.attributes,
       
 18434           customText = _this$props$attribute.customText,
       
 18435           noTeaser = _this$props$attribute.noTeaser;
       
 18436       var setAttributes = this.props.setAttributes;
       
 18437 
       
 18438       var toggleHideExcerpt = function toggleHideExcerpt() {
       
 18439         return setAttributes({
       
 18440           noTeaser: !noTeaser
       
 18441         });
       
 18442       };
       
 18443 
       
 18444       var defaultText = this.state.defaultText;
       
 18445       var value = customText !== undefined ? customText : defaultText;
       
 18446       var inputLength = value.length + 1.2;
       
 18447       var currentWidth = {
       
 18448         width: inputLength + 'em'
       
 18449       };
       
 18450       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 18451         label: Object(external_this_wp_i18n_["__"])('Hide the excerpt on the full content page'),
       
 18452         checked: !!noTeaser,
       
 18453         onChange: toggleHideExcerpt,
       
 18454         help: this.getHideExcerptHelp
       
 18455       }))), Object(external_this_wp_element_["createElement"])("div", {
       
 18456         className: "wp-block-more"
       
 18457       }, Object(external_this_wp_element_["createElement"])("input", {
       
 18458         type: "text",
       
 18459         value: value,
       
 18460         onChange: this.onChangeInput,
       
 18461         onKeyDown: this.onKeyDown,
       
 18462         style: currentWidth
       
 18463       })));
       
 18464     }
       
 18465   }]);
       
 18466 
       
 18467   return MoreEdit;
       
 18468 }(external_this_wp_element_["Component"]);
       
 18469 
       
 18470 
       
 18471 
       
 18472 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/more/save.js
       
 18473 
       
 18474 
       
 18475 /**
       
 18476  * External dependencies
       
 18477  */
       
 18478 
       
 18479 /**
       
 18480  * WordPress dependencies
       
 18481  */
       
 18482 
       
 18483 
       
 18484 function more_save_save(_ref) {
       
 18485   var attributes = _ref.attributes;
       
 18486   var customText = attributes.customText,
       
 18487       noTeaser = attributes.noTeaser;
       
 18488   var moreTag = customText ? "<!--more ".concat(customText, "-->") : '<!--more-->';
       
 18489   var noTeaserTag = noTeaser ? '<!--noteaser-->' : '';
       
 18490   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["RawHTML"], null, Object(external_this_lodash_["compact"])([moreTag, noTeaserTag]).join('\n'));
       
 18491 }
       
 18492 
       
 18493 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/more/transforms.js
       
 18494 /**
       
 18495  * WordPress dependencies
       
 18496  */
       
 18497 
       
 18498 var more_transforms_transforms = {
       
 18499   from: [{
       
 18500     type: 'raw',
       
 18501     schema: {
       
 18502       'wp-block': {
       
 18503         attributes: ['data-block']
       
 18504       }
       
 18505     },
       
 18506     isMatch: function isMatch(node) {
       
 18507       return node.dataset && node.dataset.block === 'core/more';
       
 18508     },
       
 18509     transform: function transform(node) {
       
 18510       var _node$dataset = node.dataset,
       
 18511           customText = _node$dataset.customText,
       
 18512           noTeaser = _node$dataset.noTeaser;
       
 18513       var attrs = {}; // Don't copy unless defined and not an empty string
       
 18514 
       
 18515       if (customText) {
       
 18516         attrs.customText = customText;
       
 18517       } // Special handling for boolean
       
 18518 
       
 18519 
       
 18520       if (noTeaser === '') {
       
 18521         attrs.noTeaser = true;
       
 18522       }
       
 18523 
       
 18524       return Object(external_this_wp_blocks_["createBlock"])('core/more', attrs);
       
 18525     }
       
 18526   }]
       
 18527 };
       
 18528 /* harmony default export */ var more_transforms = (more_transforms_transforms);
       
 18529 
       
 18530 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/more/index.js
       
 18531 /**
       
 18532  * WordPress dependencies
       
 18533  */
       
 18534 
       
 18535 
       
 18536 /**
       
 18537  * Internal dependencies
       
 18538  */
       
 18539 
       
 18540 
       
 18541 var more_metadata = {
       
 18542   name: "core/more",
       
 18543   category: "design",
       
 18544   attributes: {
       
 18545     customText: {
       
 18546       type: "string"
       
 18547     },
       
 18548     noTeaser: {
       
 18549       type: "boolean",
       
 18550       "default": false
       
 18551     }
       
 18552   },
       
 18553   supports: {
       
 18554     customClassName: false,
       
 18555     className: false,
       
 18556     html: false,
       
 18557     multiple: false
       
 18558   }
       
 18559 };
       
 18560 
       
 18561 
       
 18562 var more_name = more_metadata.name;
       
 18563 
       
 18564 var more_settings = {
       
 18565   title: Object(external_this_wp_i18n_["_x"])('More', 'block name'),
       
 18566   description: Object(external_this_wp_i18n_["__"])('Content before this block will be shown in the excerpt on your archives page.'),
       
 18567   icon: library_more,
       
 18568   example: {},
       
 18569   __experimentalLabel: function __experimentalLabel(attributes, _ref) {
       
 18570     var context = _ref.context;
       
 18571 
       
 18572     if (context === 'accessibility') {
       
 18573       return attributes.customText;
       
 18574     }
       
 18575   },
       
 18576   transforms: more_transforms,
       
 18577   edit: edit_MoreEdit,
       
 18578   save: more_save_save
       
 18579 };
       
 18580 
       
 18581 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/page-break.js
       
 18582 
       
 18583 
       
 18584 /**
       
 18585  * WordPress dependencies
       
 18586  */
       
 18587 
       
 18588 var pageBreak = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 18589   xmlns: "http://www.w3.org/2000/svg",
       
 18590   viewBox: "0 0 24 24"
       
 18591 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 18592   d: "M7.8 6c0-.7.6-1.2 1.2-1.2h6c.7 0 1.2.6 1.2 1.2v3h1.5V6c0-1.5-1.2-2.8-2.8-2.8H9C7.5 3.2 6.2 4.5 6.2 6v3h1.5V6zm8.4 11c0 .7-.6 1.2-1.2 1.2H9c-.7 0-1.2-.6-1.2-1.2v-3H6.2v3c0 1.5 1.2 2.8 2.8 2.8h6c1.5 0 2.8-1.2 2.8-2.8v-3h-1.5v3zM4 11v1h16v-1H4z"
       
 18593 }));
       
 18594 /* harmony default export */ var page_break = (pageBreak);
       
 18595 
       
 18596 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/nextpage/edit.js
       
 18597 
       
 18598 
       
 18599 /**
       
 18600  * WordPress dependencies
       
 18601  */
       
 18602 
       
 18603 function NextPageEdit() {
       
 18604   return Object(external_this_wp_element_["createElement"])("div", {
       
 18605     className: "wp-block-nextpage"
       
 18606   }, Object(external_this_wp_element_["createElement"])("span", null, Object(external_this_wp_i18n_["__"])('Page break')));
       
 18607 }
       
 18608 
       
 18609 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/nextpage/save.js
       
 18610 
       
 18611 
       
 18612 /**
       
 18613  * WordPress dependencies
       
 18614  */
       
 18615 
       
 18616 function nextpage_save_save() {
       
 18617   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["RawHTML"], null, '<!--nextpage-->');
       
 18618 }
       
 18619 
       
 18620 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/nextpage/transforms.js
       
 18621 /**
       
 18622  * WordPress dependencies
       
 18623  */
       
 18624 
       
 18625 var nextpage_transforms_transforms = {
       
 18626   from: [{
       
 18627     type: 'raw',
       
 18628     schema: {
       
 18629       'wp-block': {
       
 18630         attributes: ['data-block']
       
 18631       }
       
 18632     },
       
 18633     isMatch: function isMatch(node) {
       
 18634       return node.dataset && node.dataset.block === 'core/nextpage';
       
 18635     },
       
 18636     transform: function transform() {
       
 18637       return Object(external_this_wp_blocks_["createBlock"])('core/nextpage', {});
       
 18638     }
       
 18639   }]
       
 18640 };
       
 18641 /* harmony default export */ var nextpage_transforms = (nextpage_transforms_transforms);
       
 18642 
       
 18643 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/nextpage/index.js
       
 18644 /**
       
 18645  * WordPress dependencies
       
 18646  */
       
 18647 
       
 18648 
       
 18649 /**
       
 18650  * Internal dependencies
       
 18651  */
       
 18652 
       
 18653 
       
 18654 var nextpage_metadata = {
       
 18655   name: "core/nextpage",
       
 18656   category: "design",
       
 18657   parent: ["core/post-content"],
       
 18658   supports: {
       
 18659     customClassName: false,
       
 18660     className: false,
       
 18661     html: false
       
 18662   }
       
 18663 };
       
 18664 
       
 18665 
       
 18666 var nextpage_name = nextpage_metadata.name;
       
 18667 
       
 18668 var nextpage_settings = {
       
 18669   title: Object(external_this_wp_i18n_["__"])('Page Break'),
       
 18670   description: Object(external_this_wp_i18n_["__"])('Separate your content into a multi-page experience.'),
       
 18671   icon: page_break,
       
 18672   keywords: [Object(external_this_wp_i18n_["__"])('next page'), Object(external_this_wp_i18n_["__"])('pagination')],
       
 18673   example: {},
       
 18674   transforms: nextpage_transforms,
       
 18675   edit: NextPageEdit,
       
 18676   save: nextpage_save_save
       
 18677 };
       
 18678 
       
 18679 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/preformatted.js
       
 18680 
       
 18681 
       
 18682 /**
       
 18683  * WordPress dependencies
       
 18684  */
       
 18685 
       
 18686 var preformatted = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 18687   viewBox: "0 0 24 24",
       
 18688   xmlns: "http://www.w3.org/2000/svg"
       
 18689 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 18690   d: "M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12zM7 16.5h6V15H7v1.5zm4-4h6V11h-6v1.5zM9 11H7v1.5h2V11zm6 5.5h2V15h-2v1.5z"
       
 18691 }));
       
 18692 /* harmony default export */ var library_preformatted = (preformatted);
       
 18693 
       
 18694 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/preformatted/edit.js
       
 18695 
       
 18696 
       
 18697 /**
       
 18698  * WordPress dependencies
       
 18699  */
       
 18700 
       
 18701 
       
 18702 function PreformattedEdit(_ref) {
       
 18703   var attributes = _ref.attributes,
       
 18704       mergeBlocks = _ref.mergeBlocks,
       
 18705       setAttributes = _ref.setAttributes,
       
 18706       className = _ref.className,
       
 18707       style = _ref.style;
       
 18708   var content = attributes.content;
       
 18709   return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 18710     tagName: external_this_wp_blockEditor_["__experimentalBlock"].pre,
       
 18711     identifier: "content",
       
 18712     preserveWhiteSpace: true,
       
 18713     value: content,
       
 18714     onChange: function onChange(nextContent) {
       
 18715       setAttributes({
       
 18716         content: nextContent
       
 18717       });
       
 18718     },
       
 18719     placeholder: Object(external_this_wp_i18n_["__"])('Write preformatted text…'),
       
 18720     className: className,
       
 18721     style: style,
       
 18722     onMerge: mergeBlocks
       
 18723   });
       
 18724 }
       
 18725 
       
 18726 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/preformatted/save.js
       
 18727 
       
 18728 
       
 18729 /**
       
 18730  * WordPress dependencies
       
 18731  */
       
 18732 
       
 18733 function preformatted_save_save(_ref) {
       
 18734   var attributes = _ref.attributes;
       
 18735   var content = attributes.content;
       
 18736   return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 18737     tagName: "pre",
       
 18738     value: content
       
 18739   });
       
 18740 }
       
 18741 
       
 18742 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/preformatted/transforms.js
       
 18743 /**
       
 18744  * WordPress dependencies
       
 18745  */
       
 18746 
       
 18747 var preformatted_transforms_transforms = {
       
 18748   from: [{
       
 18749     type: 'block',
       
 18750     blocks: ['core/code', 'core/paragraph'],
       
 18751     transform: function transform(_ref) {
       
 18752       var content = _ref.content,
       
 18753           anchor = _ref.anchor;
       
 18754       return Object(external_this_wp_blocks_["createBlock"])('core/preformatted', {
       
 18755         content: content,
       
 18756         anchor: anchor
       
 18757       });
       
 18758     }
       
 18759   }, {
       
 18760     type: 'raw',
       
 18761     isMatch: function isMatch(node) {
       
 18762       return node.nodeName === 'PRE' && !(node.children.length === 1 && node.firstChild.nodeName === 'CODE');
       
 18763     },
       
 18764     schema: function schema(_ref2) {
       
 18765       var phrasingContentSchema = _ref2.phrasingContentSchema;
       
 18766       return {
       
 18767         pre: {
       
 18768           children: phrasingContentSchema
       
 18769         }
       
 18770       };
       
 18771     }
       
 18772   }],
       
 18773   to: [{
       
 18774     type: 'block',
       
 18775     blocks: ['core/paragraph'],
       
 18776     transform: function transform(attributes) {
       
 18777       return Object(external_this_wp_blocks_["createBlock"])('core/paragraph', attributes);
       
 18778     }
       
 18779   }, {
       
 18780     type: 'block',
       
 18781     blocks: ['core/code'],
       
 18782     transform: function transform(attributes) {
       
 18783       return Object(external_this_wp_blocks_["createBlock"])('core/code', attributes);
       
 18784     }
       
 18785   }]
       
 18786 };
       
 18787 /* harmony default export */ var preformatted_transforms = (preformatted_transforms_transforms);
       
 18788 
       
 18789 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/preformatted/index.js
       
 18790 /**
       
 18791  * WordPress dependencies
       
 18792  */
       
 18793 
       
 18794 
       
 18795 /**
       
 18796  * Internal dependencies
       
 18797  */
       
 18798 
       
 18799 
       
 18800 var preformatted_metadata = {
       
 18801   name: "core/preformatted",
       
 18802   category: "text",
       
 18803   attributes: {
       
 18804     content: {
       
 18805       type: "string",
       
 18806       source: "html",
       
 18807       selector: "pre",
       
 18808       "default": "",
       
 18809       __unstablePreserveWhiteSpace: true
       
 18810     }
       
 18811   },
       
 18812   supports: {
       
 18813     anchor: true,
       
 18814     lightBlockWrapper: true
       
 18815   }
       
 18816 };
       
 18817 
       
 18818 
       
 18819 var preformatted_name = preformatted_metadata.name;
       
 18820 
       
 18821 var preformatted_settings = {
       
 18822   title: Object(external_this_wp_i18n_["__"])('Preformatted'),
       
 18823   description: Object(external_this_wp_i18n_["__"])('Add text that respects your spacing and tabs, and also allows styling.'),
       
 18824   icon: library_preformatted,
       
 18825   example: {
       
 18826     attributes: {
       
 18827       /* eslint-disable @wordpress/i18n-no-collapsible-whitespace */
       
 18828       // translators: Sample content for the Preformatted block. Can be replaced with a more locale-adequate work.
       
 18829       content: Object(external_this_wp_i18n_["__"])('EXT. XANADU - FAINT DAWN - 1940 (MINIATURE)\nWindow, very small in the distance, illuminated.\nAll around this is an almost totally black screen. Now, as the camera moves slowly towards the window which is almost a postage stamp in the frame, other forms appear;')
       
 18830       /* eslint-enable @wordpress/i18n-no-collapsible-whitespace */
       
 18831 
       
 18832     }
       
 18833   },
       
 18834   transforms: preformatted_transforms,
       
 18835   edit: PreformattedEdit,
       
 18836   save: preformatted_save_save,
       
 18837   merge: function merge(attributes, attributesToMerge) {
       
 18838     return {
       
 18839       content: attributes.content + attributesToMerge.content
       
 18840     };
       
 18841   }
       
 18842 };
       
 18843 
       
 18844 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/pullquote.js
       
 18845 
       
 18846 
       
 18847 /**
       
 18848  * WordPress dependencies
       
 18849  */
       
 18850 
       
 18851 var pullquote = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 18852   viewBox: "0 0 24 24",
       
 18853   xmlns: "http://www.w3.org/2000/svg"
       
 18854 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 18855   d: "M18 8H6c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-4c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v4zM4 4v1.5h16V4H4zm0 16h16v-1.5H4V20z"
       
 18856 }));
       
 18857 /* harmony default export */ var library_pullquote = (pullquote);
       
 18858 
       
 18859 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/shared.js
       
 18860 var SOLID_COLOR_STYLE_NAME = 'solid-color';
       
 18861 var SOLID_COLOR_CLASS = "is-style-".concat(SOLID_COLOR_STYLE_NAME);
       
 18862 
       
 18863 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/deprecated.js
       
 18864 
       
 18865 
       
 18866 
       
 18867 
       
 18868 function pullquote_deprecated_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
 18869 
       
 18870 function pullquote_deprecated_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { pullquote_deprecated_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { pullquote_deprecated_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
 18871 
       
 18872 /**
       
 18873  * External dependencies
       
 18874  */
       
 18875 
       
 18876 
       
 18877 /**
       
 18878  * WordPress dependencies
       
 18879  */
       
 18880 
       
 18881 
       
 18882 
       
 18883 /**
       
 18884  * Internal dependencies
       
 18885  */
       
 18886 
       
 18887 
       
 18888 var pullquote_deprecated_blockAttributes = {
       
 18889   value: {
       
 18890     type: 'string',
       
 18891     source: 'html',
       
 18892     selector: 'blockquote',
       
 18893     multiline: 'p'
       
 18894   },
       
 18895   citation: {
       
 18896     type: 'string',
       
 18897     source: 'html',
       
 18898     selector: 'cite',
       
 18899     default: ''
       
 18900   },
       
 18901   mainColor: {
       
 18902     type: 'string'
       
 18903   },
       
 18904   customMainColor: {
       
 18905     type: 'string'
       
 18906   },
       
 18907   textColor: {
       
 18908     type: 'string'
       
 18909   },
       
 18910   customTextColor: {
       
 18911     type: 'string'
       
 18912   }
       
 18913 };
       
 18914 
       
 18915 function parseBorderColor(styleString) {
       
 18916   if (!styleString) {
       
 18917     return;
       
 18918   }
       
 18919 
       
 18920   var matches = styleString.match(/border-color:([^;]+)[;]?/);
       
 18921 
       
 18922   if (matches && matches[1]) {
       
 18923     return matches[1];
       
 18924   }
       
 18925 }
       
 18926 
       
 18927 var pullquote_deprecated_deprecated = [{
       
 18928   attributes: pullquote_deprecated_objectSpread({}, pullquote_deprecated_blockAttributes, {
       
 18929     // figureStyle is an attribute that never existed.
       
 18930     // We are using it as a way to access the styles previously applied to the figure.
       
 18931     figureStyle: {
       
 18932       source: 'attribute',
       
 18933       selector: 'figure',
       
 18934       attribute: 'style'
       
 18935     }
       
 18936   }),
       
 18937   save: function save(_ref) {
       
 18938     var attributes = _ref.attributes;
       
 18939     var mainColor = attributes.mainColor,
       
 18940         customMainColor = attributes.customMainColor,
       
 18941         textColor = attributes.textColor,
       
 18942         customTextColor = attributes.customTextColor,
       
 18943         value = attributes.value,
       
 18944         citation = attributes.citation,
       
 18945         className = attributes.className,
       
 18946         figureStyle = attributes.figureStyle;
       
 18947     var isSolidColorStyle = Object(external_this_lodash_["includes"])(className, SOLID_COLOR_CLASS);
       
 18948     var figureClasses, figureStyles; // Is solid color style
       
 18949 
       
 18950     if (isSolidColorStyle) {
       
 18951       var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', mainColor);
       
 18952       figureClasses = classnames_default()(Object(defineProperty["a" /* default */])({
       
 18953         'has-background': backgroundClass || customMainColor
       
 18954       }, backgroundClass, backgroundClass));
       
 18955       figureStyles = {
       
 18956         backgroundColor: backgroundClass ? undefined : customMainColor
       
 18957       }; // Is normal style and a custom color is being used ( we can set a style directly with its value)
       
 18958     } else if (customMainColor) {
       
 18959       figureStyles = {
       
 18960         borderColor: customMainColor
       
 18961       }; // If normal style and a named color are being used, we need to retrieve the color value to set the style,
       
 18962       // as there is no expectation that themes create classes that set border colors.
       
 18963     } else if (mainColor) {
       
 18964       // Previously here we queried the color settings to know the color value
       
 18965       // of a named color. This made the save function impure and the block was refactored,
       
 18966       // because meanwhile a change in the editor made it impossible to query color settings in the save function.
       
 18967       // Here instead of querying the color settings to know the color value, we retrieve the value
       
 18968       // directly from the style previously serialized.
       
 18969       var borderColor = parseBorderColor(figureStyle);
       
 18970       figureStyles = {
       
 18971         borderColor: borderColor
       
 18972       };
       
 18973     }
       
 18974 
       
 18975     var blockquoteTextColorClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
       
 18976     var blockquoteClasses = (textColor || customTextColor) && classnames_default()('has-text-color', Object(defineProperty["a" /* default */])({}, blockquoteTextColorClass, blockquoteTextColorClass));
       
 18977     var blockquoteStyles = blockquoteTextColorClass ? undefined : {
       
 18978       color: customTextColor
       
 18979     };
       
 18980     return Object(external_this_wp_element_["createElement"])("figure", {
       
 18981       className: figureClasses,
       
 18982       style: figureStyles
       
 18983     }, Object(external_this_wp_element_["createElement"])("blockquote", {
       
 18984       className: blockquoteClasses,
       
 18985       style: blockquoteStyles
       
 18986     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 18987       value: value,
       
 18988       multiline: true
       
 18989     }), !external_this_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 18990       tagName: "cite",
       
 18991       value: citation
       
 18992     })));
       
 18993   },
       
 18994   migrate: function migrate(_ref2) {
       
 18995     var className = _ref2.className,
       
 18996         figureStyle = _ref2.figureStyle,
       
 18997         mainColor = _ref2.mainColor,
       
 18998         attributes = Object(objectWithoutProperties["a" /* default */])(_ref2, ["className", "figureStyle", "mainColor"]);
       
 18999 
       
 19000     var isSolidColorStyle = Object(external_this_lodash_["includes"])(className, SOLID_COLOR_CLASS); // If is the default style, and a main color is set,
       
 19001     // migrate the main color value into a custom color.
       
 19002     // The custom color value is retrived by parsing the figure styles.
       
 19003 
       
 19004     if (!isSolidColorStyle && mainColor && figureStyle) {
       
 19005       var borderColor = parseBorderColor(figureStyle);
       
 19006 
       
 19007       if (borderColor) {
       
 19008         return pullquote_deprecated_objectSpread({}, attributes, {
       
 19009           className: className,
       
 19010           customMainColor: borderColor
       
 19011         });
       
 19012       }
       
 19013     }
       
 19014 
       
 19015     return pullquote_deprecated_objectSpread({
       
 19016       className: className,
       
 19017       mainColor: mainColor
       
 19018     }, attributes);
       
 19019   }
       
 19020 }, {
       
 19021   attributes: pullquote_deprecated_blockAttributes,
       
 19022   save: function save(_ref3) {
       
 19023     var attributes = _ref3.attributes;
       
 19024     var mainColor = attributes.mainColor,
       
 19025         customMainColor = attributes.customMainColor,
       
 19026         textColor = attributes.textColor,
       
 19027         customTextColor = attributes.customTextColor,
       
 19028         value = attributes.value,
       
 19029         citation = attributes.citation,
       
 19030         className = attributes.className;
       
 19031     var isSolidColorStyle = Object(external_this_lodash_["includes"])(className, SOLID_COLOR_CLASS);
       
 19032     var figureClass, figureStyles; // Is solid color style
       
 19033 
       
 19034     if (isSolidColorStyle) {
       
 19035       figureClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', mainColor);
       
 19036 
       
 19037       if (!figureClass) {
       
 19038         figureStyles = {
       
 19039           backgroundColor: customMainColor
       
 19040         };
       
 19041       } // Is normal style and a custom color is being used ( we can set a style directly with its value)
       
 19042 
       
 19043     } else if (customMainColor) {
       
 19044       figureStyles = {
       
 19045         borderColor: customMainColor
       
 19046       }; // Is normal style and a named color is being used, we need to retrieve the color value to set the style,
       
 19047       // as there is no expectation that themes create classes that set border colors.
       
 19048     } else if (mainColor) {
       
 19049       var colors = Object(external_this_lodash_["get"])(Object(external_this_wp_data_["select"])('core/block-editor').getSettings(), ['colors'], []);
       
 19050       var colorObject = Object(external_this_wp_blockEditor_["getColorObjectByAttributeValues"])(colors, mainColor);
       
 19051       figureStyles = {
       
 19052         borderColor: colorObject.color
       
 19053       };
       
 19054     }
       
 19055 
       
 19056     var blockquoteTextColorClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
       
 19057     var blockquoteClasses = textColor || customTextColor ? classnames_default()('has-text-color', Object(defineProperty["a" /* default */])({}, blockquoteTextColorClass, blockquoteTextColorClass)) : undefined;
       
 19058     var blockquoteStyle = blockquoteTextColorClass ? undefined : {
       
 19059       color: customTextColor
       
 19060     };
       
 19061     return Object(external_this_wp_element_["createElement"])("figure", {
       
 19062       className: figureClass,
       
 19063       style: figureStyles
       
 19064     }, Object(external_this_wp_element_["createElement"])("blockquote", {
       
 19065       className: blockquoteClasses,
       
 19066       style: blockquoteStyle
       
 19067     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 19068       value: value,
       
 19069       multiline: true
       
 19070     }), !external_this_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 19071       tagName: "cite",
       
 19072       value: citation
       
 19073     })));
       
 19074   }
       
 19075 }, {
       
 19076   attributes: pullquote_deprecated_objectSpread({}, pullquote_deprecated_blockAttributes),
       
 19077   save: function save(_ref4) {
       
 19078     var attributes = _ref4.attributes;
       
 19079     var value = attributes.value,
       
 19080         citation = attributes.citation;
       
 19081     return Object(external_this_wp_element_["createElement"])("blockquote", null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 19082       value: value,
       
 19083       multiline: true
       
 19084     }), !external_this_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 19085       tagName: "cite",
       
 19086       value: citation
       
 19087     }));
       
 19088   }
       
 19089 }, {
       
 19090   attributes: pullquote_deprecated_objectSpread({}, pullquote_deprecated_blockAttributes, {
       
 19091     citation: {
       
 19092       type: 'string',
       
 19093       source: 'html',
       
 19094       selector: 'footer'
       
 19095     },
       
 19096     align: {
       
 19097       type: 'string',
       
 19098       default: 'none'
       
 19099     }
       
 19100   }),
       
 19101   save: function save(_ref5) {
       
 19102     var attributes = _ref5.attributes;
       
 19103     var value = attributes.value,
       
 19104         citation = attributes.citation,
       
 19105         align = attributes.align;
       
 19106     return Object(external_this_wp_element_["createElement"])("blockquote", {
       
 19107       className: "align".concat(align)
       
 19108     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 19109       value: value,
       
 19110       multiline: true
       
 19111     }), !external_this_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 19112       tagName: "footer",
       
 19113       value: citation
       
 19114     }));
       
 19115   }
       
 19116 }];
       
 19117 /* harmony default export */ var pullquote_deprecated = (pullquote_deprecated_deprecated);
       
 19118 
       
 19119 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/figure.js
       
 19120 var Figure = 'figure';
       
 19121 
       
 19122 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/blockquote.js
       
 19123 var BlockQuote = 'blockquote';
       
 19124 
       
 19125 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/edit.js
       
 19126 
       
 19127 
       
 19128 
       
 19129 
       
 19130 
       
 19131 
       
 19132 
       
 19133 
       
 19134 
       
 19135 
       
 19136 function pullquote_edit_createSuper(Derived) { return function () { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (pullquote_edit_isNativeReflectConstruct()) { var NewTarget = Object(getPrototypeOf["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(possibleConstructorReturn["a" /* default */])(this, result); }; }
       
 19137 
       
 19138 function pullquote_edit_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
       
 19139 
       
 19140 /**
       
 19141  * External dependencies
       
 19142  */
       
 19143 
       
 19144 
       
 19145 /**
       
 19146  * WordPress dependencies
       
 19147  */
       
 19148 
       
 19149 
       
 19150 
       
 19151 
       
 19152 
       
 19153 /**
       
 19154  * Internal dependencies
       
 19155  */
       
 19156 
       
 19157 
       
 19158 
       
 19159 /**
       
 19160  * Internal dependencies
       
 19161  */
       
 19162 
       
 19163 
       
 19164 
       
 19165 var edit_PullQuoteEdit = /*#__PURE__*/function (_Component) {
       
 19166   Object(inherits["a" /* default */])(PullQuoteEdit, _Component);
       
 19167 
       
 19168   var _super = pullquote_edit_createSuper(PullQuoteEdit);
       
 19169 
       
 19170   function PullQuoteEdit(props) {
       
 19171     var _this;
       
 19172 
       
 19173     Object(classCallCheck["a" /* default */])(this, PullQuoteEdit);
       
 19174 
       
 19175     _this = _super.call(this, props);
       
 19176     _this.wasTextColorAutomaticallyComputed = false;
       
 19177     _this.pullQuoteMainColorSetter = _this.pullQuoteMainColorSetter.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 19178     _this.pullQuoteTextColorSetter = _this.pullQuoteTextColorSetter.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 19179     return _this;
       
 19180   }
       
 19181 
       
 19182   Object(createClass["a" /* default */])(PullQuoteEdit, [{
       
 19183     key: "pullQuoteMainColorSetter",
       
 19184     value: function pullQuoteMainColorSetter(colorValue) {
       
 19185       var _this$props = this.props,
       
 19186           colorUtils = _this$props.colorUtils,
       
 19187           textColor = _this$props.textColor,
       
 19188           setAttributes = _this$props.setAttributes,
       
 19189           setTextColor = _this$props.setTextColor,
       
 19190           setMainColor = _this$props.setMainColor,
       
 19191           className = _this$props.className;
       
 19192       var isSolidColorStyle = Object(external_this_lodash_["includes"])(className, SOLID_COLOR_CLASS);
       
 19193       var needTextColor = !textColor.color || this.wasTextColorAutomaticallyComputed;
       
 19194       var shouldSetTextColor = isSolidColorStyle && needTextColor && colorValue;
       
 19195 
       
 19196       if (isSolidColorStyle) {
       
 19197         // If we use the solid color style, set the color using the normal mechanism.
       
 19198         setMainColor(colorValue);
       
 19199       } else {
       
 19200         // If we use the default style, set the color as a custom color to force the usage of an inline style.
       
 19201         // Default style uses a border color for which classes are not available.
       
 19202         setAttributes({
       
 19203           customMainColor: colorValue
       
 19204         });
       
 19205       }
       
 19206 
       
 19207       if (shouldSetTextColor) {
       
 19208         this.wasTextColorAutomaticallyComputed = true;
       
 19209         setTextColor(colorUtils.getMostReadableColor(colorValue));
       
 19210       }
       
 19211     }
       
 19212   }, {
       
 19213     key: "pullQuoteTextColorSetter",
       
 19214     value: function pullQuoteTextColorSetter(colorValue) {
       
 19215       var setTextColor = this.props.setTextColor;
       
 19216       setTextColor(colorValue);
       
 19217       this.wasTextColorAutomaticallyComputed = false;
       
 19218     }
       
 19219   }, {
       
 19220     key: "componentDidUpdate",
       
 19221     value: function componentDidUpdate(prevProps) {
       
 19222       var _this$props2 = this.props,
       
 19223           attributes = _this$props2.attributes,
       
 19224           className = _this$props2.className,
       
 19225           mainColor = _this$props2.mainColor,
       
 19226           setAttributes = _this$props2.setAttributes; // If the block includes a named color and we switched from the
       
 19227       // solid color style to the default style.
       
 19228 
       
 19229       if (attributes.mainColor && !Object(external_this_lodash_["includes"])(className, SOLID_COLOR_CLASS) && Object(external_this_lodash_["includes"])(prevProps.className, SOLID_COLOR_CLASS)) {
       
 19230         // Remove the named color, and set the color as a custom color.
       
 19231         // This is done because named colors use classes, in the default style we use a border color,
       
 19232         // and themes don't set classes for border colors.
       
 19233         setAttributes({
       
 19234           mainColor: undefined,
       
 19235           customMainColor: mainColor.color
       
 19236         });
       
 19237       }
       
 19238     }
       
 19239   }, {
       
 19240     key: "render",
       
 19241     value: function render() {
       
 19242       var _this$props3 = this.props,
       
 19243           attributes = _this$props3.attributes,
       
 19244           mainColor = _this$props3.mainColor,
       
 19245           textColor = _this$props3.textColor,
       
 19246           setAttributes = _this$props3.setAttributes,
       
 19247           isSelected = _this$props3.isSelected,
       
 19248           className = _this$props3.className,
       
 19249           insertBlocksAfter = _this$props3.insertBlocksAfter;
       
 19250       var value = attributes.value,
       
 19251           citation = attributes.citation;
       
 19252       var isSolidColorStyle = Object(external_this_lodash_["includes"])(className, SOLID_COLOR_CLASS);
       
 19253       var figureStyles = isSolidColorStyle ? {
       
 19254         backgroundColor: mainColor.color
       
 19255       } : {
       
 19256         borderColor: mainColor.color
       
 19257       };
       
 19258       var figureClasses = classnames_default()(className, Object(defineProperty["a" /* default */])({
       
 19259         'has-background': isSolidColorStyle && mainColor.color
       
 19260       }, mainColor.class, isSolidColorStyle && mainColor.class));
       
 19261       var blockquoteStyles = {
       
 19262         color: textColor.color
       
 19263       };
       
 19264       var blockquoteClasses = textColor.color && classnames_default()('has-text-color', Object(defineProperty["a" /* default */])({}, textColor.class, textColor.class));
       
 19265       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(Figure, {
       
 19266         style: figureStyles,
       
 19267         className: figureClasses
       
 19268       }, Object(external_this_wp_element_["createElement"])(BlockQuote, {
       
 19269         style: blockquoteStyles,
       
 19270         className: blockquoteClasses
       
 19271       }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 19272         identifier: "value",
       
 19273         multiline: true,
       
 19274         value: value,
       
 19275         onChange: function onChange(nextValue) {
       
 19276           return setAttributes({
       
 19277             value: nextValue
       
 19278           });
       
 19279         },
       
 19280         placeholder: // translators: placeholder text used for the quote
       
 19281         Object(external_this_wp_i18n_["__"])('Write quote…'),
       
 19282         textAlign: "center"
       
 19283       }), (!external_this_wp_blockEditor_["RichText"].isEmpty(citation) || isSelected) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 19284         identifier: "citation",
       
 19285         value: citation,
       
 19286         placeholder: // translators: placeholder text used for the citation
       
 19287         Object(external_this_wp_i18n_["__"])('Write citation…'),
       
 19288         onChange: function onChange(nextCitation) {
       
 19289           return setAttributes({
       
 19290             citation: nextCitation
       
 19291           });
       
 19292         },
       
 19293         className: "wp-block-pullquote__citation",
       
 19294         __unstableMobileNoFocusOnMount: true,
       
 19295         textAlign: "center",
       
 19296         __unstableOnSplitAtEnd: function __unstableOnSplitAtEnd() {
       
 19297           return insertBlocksAfter(Object(external_this_wp_blocks_["createBlock"])('core/paragraph'));
       
 19298         }
       
 19299       }))), external_this_wp_element_["Platform"].OS === 'web' && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PanelColorSettings"], {
       
 19300         title: Object(external_this_wp_i18n_["__"])('Color settings'),
       
 19301         colorSettings: [{
       
 19302           value: mainColor.color,
       
 19303           onChange: this.pullQuoteMainColorSetter,
       
 19304           label: Object(external_this_wp_i18n_["__"])('Main color')
       
 19305         }, {
       
 19306           value: textColor.color,
       
 19307           onChange: this.pullQuoteTextColorSetter,
       
 19308           label: Object(external_this_wp_i18n_["__"])('Text color')
       
 19309         }]
       
 19310       }, isSolidColorStyle && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["ContrastChecker"], Object(esm_extends["a" /* default */])({
       
 19311         textColor: textColor.color,
       
 19312         backgroundColor: mainColor.color
       
 19313       }, {
       
 19314         isLargeText: false
       
 19315       })))));
       
 19316     }
       
 19317   }]);
       
 19318 
       
 19319   return PullQuoteEdit;
       
 19320 }(external_this_wp_element_["Component"]);
       
 19321 
       
 19322 /* harmony default export */ var pullquote_edit = (Object(external_this_wp_blockEditor_["withColors"])({
       
 19323   mainColor: 'background-color',
       
 19324   textColor: 'color'
       
 19325 })(edit_PullQuoteEdit));
       
 19326 
       
 19327 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/save.js
       
 19328 
       
 19329 
       
 19330 
       
 19331 /**
       
 19332  * External dependencies
       
 19333  */
       
 19334 
       
 19335 
       
 19336 /**
       
 19337  * WordPress dependencies
       
 19338  */
       
 19339 
       
 19340 
       
 19341 /**
       
 19342  * Internal dependencies
       
 19343  */
       
 19344 
       
 19345 
       
 19346 function pullquote_save_save(_ref) {
       
 19347   var attributes = _ref.attributes;
       
 19348   var mainColor = attributes.mainColor,
       
 19349       customMainColor = attributes.customMainColor,
       
 19350       textColor = attributes.textColor,
       
 19351       customTextColor = attributes.customTextColor,
       
 19352       value = attributes.value,
       
 19353       citation = attributes.citation,
       
 19354       className = attributes.className;
       
 19355   var isSolidColorStyle = Object(external_this_lodash_["includes"])(className, SOLID_COLOR_CLASS);
       
 19356   var figureClasses, figureStyles; // Is solid color style
       
 19357 
       
 19358   if (isSolidColorStyle) {
       
 19359     var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', mainColor);
       
 19360     figureClasses = classnames_default()(Object(defineProperty["a" /* default */])({
       
 19361       'has-background': backgroundClass || customMainColor
       
 19362     }, backgroundClass, backgroundClass));
       
 19363     figureStyles = {
       
 19364       backgroundColor: backgroundClass ? undefined : customMainColor
       
 19365     }; // Is normal style and a custom color is being used ( we can set a style directly with its value)
       
 19366   } else if (customMainColor) {
       
 19367     figureStyles = {
       
 19368       borderColor: customMainColor
       
 19369     };
       
 19370   }
       
 19371 
       
 19372   var blockquoteTextColorClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
       
 19373   var blockquoteClasses = (textColor || customTextColor) && classnames_default()('has-text-color', Object(defineProperty["a" /* default */])({}, blockquoteTextColorClass, blockquoteTextColorClass));
       
 19374   var blockquoteStyles = blockquoteTextColorClass ? undefined : {
       
 19375     color: customTextColor
       
 19376   };
       
 19377   return Object(external_this_wp_element_["createElement"])("figure", {
       
 19378     className: figureClasses,
       
 19379     style: figureStyles
       
 19380   }, Object(external_this_wp_element_["createElement"])("blockquote", {
       
 19381     className: blockquoteClasses,
       
 19382     style: blockquoteStyles
       
 19383   }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 19384     value: value,
       
 19385     multiline: true
       
 19386   }), !external_this_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 19387     tagName: "cite",
       
 19388     value: citation
       
 19389   })));
       
 19390 }
       
 19391 
       
 19392 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/transforms.js
       
 19393 
       
 19394 
       
 19395 
       
 19396 
       
 19397 function pullquote_transforms_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
 19398 
       
 19399 function pullquote_transforms_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { pullquote_transforms_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { pullquote_transforms_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
 19400 
       
 19401 /**
       
 19402  * WordPress dependencies
       
 19403  */
       
 19404 
       
 19405 
       
 19406 var pullquote_transforms_transforms = {
       
 19407   from: [{
       
 19408     type: 'block',
       
 19409     isMultiBlock: true,
       
 19410     blocks: ['core/paragraph'],
       
 19411     transform: function transform(attributes) {
       
 19412       return Object(external_this_wp_blocks_["createBlock"])('core/pullquote', {
       
 19413         value: Object(external_this_wp_richText_["toHTMLString"])({
       
 19414           value: Object(external_this_wp_richText_["join"])(attributes.map(function (_ref) {
       
 19415             var content = _ref.content;
       
 19416             return Object(external_this_wp_richText_["create"])({
       
 19417               html: content
       
 19418             });
       
 19419           }), "\u2028"),
       
 19420           multilineTag: 'p'
       
 19421         }),
       
 19422         anchor: attributes.anchor
       
 19423       });
       
 19424     }
       
 19425   }, {
       
 19426     type: 'block',
       
 19427     blocks: ['core/heading'],
       
 19428     transform: function transform(_ref2) {
       
 19429       var content = _ref2.content,
       
 19430           anchor = _ref2.anchor;
       
 19431       return Object(external_this_wp_blocks_["createBlock"])('core/pullquote', {
       
 19432         value: "<p>".concat(content, "</p>"),
       
 19433         anchor: anchor
       
 19434       });
       
 19435     }
       
 19436   }],
       
 19437   to: [{
       
 19438     type: 'block',
       
 19439     blocks: ['core/paragraph'],
       
 19440     transform: function transform(_ref3) {
       
 19441       var value = _ref3.value,
       
 19442           citation = _ref3.citation;
       
 19443       var paragraphs = [];
       
 19444 
       
 19445       if (value && value !== '<p></p>') {
       
 19446         paragraphs.push.apply(paragraphs, Object(toConsumableArray["a" /* default */])(Object(external_this_wp_richText_["split"])(Object(external_this_wp_richText_["create"])({
       
 19447           html: value,
       
 19448           multilineTag: 'p'
       
 19449         }), "\u2028").map(function (piece) {
       
 19450           return Object(external_this_wp_blocks_["createBlock"])('core/paragraph', {
       
 19451             content: Object(external_this_wp_richText_["toHTMLString"])({
       
 19452               value: piece
       
 19453             })
       
 19454           });
       
 19455         })));
       
 19456       }
       
 19457 
       
 19458       if (citation && citation !== '<p></p>') {
       
 19459         paragraphs.push(Object(external_this_wp_blocks_["createBlock"])('core/paragraph', {
       
 19460           content: citation
       
 19461         }));
       
 19462       }
       
 19463 
       
 19464       if (paragraphs.length === 0) {
       
 19465         return Object(external_this_wp_blocks_["createBlock"])('core/paragraph', {
       
 19466           content: ''
       
 19467         });
       
 19468       }
       
 19469 
       
 19470       return paragraphs;
       
 19471     }
       
 19472   }, {
       
 19473     type: 'block',
       
 19474     blocks: ['core/heading'],
       
 19475     transform: function transform(_ref4) {
       
 19476       var value = _ref4.value,
       
 19477           citation = _ref4.citation,
       
 19478           attrs = Object(objectWithoutProperties["a" /* default */])(_ref4, ["value", "citation"]);
       
 19479 
       
 19480       // If there is no pullquote content, use the citation as the
       
 19481       // content of the resulting heading. A nonexistent citation
       
 19482       // will result in an empty heading.
       
 19483       if (value === '<p></p>') {
       
 19484         return Object(external_this_wp_blocks_["createBlock"])('core/heading', {
       
 19485           content: citation
       
 19486         });
       
 19487       }
       
 19488 
       
 19489       var pieces = Object(external_this_wp_richText_["split"])(Object(external_this_wp_richText_["create"])({
       
 19490         html: value,
       
 19491         multilineTag: 'p'
       
 19492       }), "\u2028");
       
 19493       var headingBlock = Object(external_this_wp_blocks_["createBlock"])('core/heading', {
       
 19494         content: Object(external_this_wp_richText_["toHTMLString"])({
       
 19495           value: pieces[0]
       
 19496         })
       
 19497       });
       
 19498 
       
 19499       if (!citation && pieces.length === 1) {
       
 19500         return headingBlock;
       
 19501       }
       
 19502 
       
 19503       var quotePieces = pieces.slice(1);
       
 19504       var pullquoteBlock = Object(external_this_wp_blocks_["createBlock"])('core/pullquote', pullquote_transforms_objectSpread({}, attrs, {
       
 19505         citation: citation,
       
 19506         value: Object(external_this_wp_richText_["toHTMLString"])({
       
 19507           value: quotePieces.length ? Object(external_this_wp_richText_["join"])(pieces.slice(1), "\u2028") : Object(external_this_wp_richText_["create"])(),
       
 19508           multilineTag: 'p'
       
 19509         })
       
 19510       }));
       
 19511       return [headingBlock, pullquoteBlock];
       
 19512     }
       
 19513   }]
       
 19514 };
       
 19515 /* harmony default export */ var pullquote_transforms = (pullquote_transforms_transforms);
       
 19516 
       
 19517 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/index.js
       
 19518 /**
       
 19519  * WordPress dependencies
       
 19520  */
       
 19521 
       
 19522 
       
 19523 /**
       
 19524  * Internal dependencies
       
 19525  */
       
 19526 
       
 19527 
       
 19528 
       
 19529 
       
 19530 var pullquote_metadata = {
       
 19531   name: "core/pullquote",
       
 19532   category: "text",
       
 19533   attributes: {
       
 19534     value: {
       
 19535       type: "string",
       
 19536       source: "html",
       
 19537       selector: "blockquote",
       
 19538       multiline: "p"
       
 19539     },
       
 19540     citation: {
       
 19541       type: "string",
       
 19542       source: "html",
       
 19543       selector: "cite",
       
 19544       "default": ""
       
 19545     },
       
 19546     mainColor: {
       
 19547       type: "string"
       
 19548     },
       
 19549     customMainColor: {
       
 19550       type: "string"
       
 19551     },
       
 19552     textColor: {
       
 19553       type: "string"
       
 19554     },
       
 19555     customTextColor: {
       
 19556       type: "string"
       
 19557     }
       
 19558   },
       
 19559   supports: {
       
 19560     anchor: true,
       
 19561     align: ["left", "right", "wide", "full"]
       
 19562   }
       
 19563 };
       
 19564 
       
 19565 
       
 19566 var pullquote_name = pullquote_metadata.name;
       
 19567 
       
 19568 var pullquote_settings = {
       
 19569   title: Object(external_this_wp_i18n_["__"])('Pullquote'),
       
 19570   description: Object(external_this_wp_i18n_["__"])('Give special visual emphasis to a quote from your text.'),
       
 19571   icon: library_pullquote,
       
 19572   example: {
       
 19573     attributes: {
       
 19574       value: '<p>' + // translators: Quote serving as example for the Pullquote block. Attributed to Matt Mullenweg.
       
 19575       Object(external_this_wp_i18n_["__"])('One of the hardest things to do in technology is disrupt yourself.') + '</p>',
       
 19576       citation: Object(external_this_wp_i18n_["__"])('Matt Mullenweg')
       
 19577     }
       
 19578   },
       
 19579   styles: [{
       
 19580     name: 'default',
       
 19581     label: Object(external_this_wp_i18n_["_x"])('Default', 'block style'),
       
 19582     isDefault: true
       
 19583   }, {
       
 19584     name: SOLID_COLOR_STYLE_NAME,
       
 19585     label: Object(external_this_wp_i18n_["__"])('Solid color')
       
 19586   }],
       
 19587   transforms: pullquote_transforms,
       
 19588   edit: pullquote_edit,
       
 19589   save: pullquote_save_save,
       
 19590   deprecated: pullquote_deprecated
       
 19591 };
       
 19592 
       
 19593 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/block/edit-panel/index.js
       
 19594 
       
 19595 
       
 19596 
       
 19597 
       
 19598 
       
 19599 
       
 19600 
       
 19601 
       
 19602 function edit_panel_createSuper(Derived) { return function () { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (edit_panel_isNativeReflectConstruct()) { var NewTarget = Object(getPrototypeOf["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(possibleConstructorReturn["a" /* default */])(this, result); }; }
       
 19603 
       
 19604 function edit_panel_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
       
 19605 
       
 19606 /**
       
 19607  * WordPress dependencies
       
 19608  */
       
 19609 
       
 19610 
       
 19611 
       
 19612 
       
 19613 
       
 19614 
       
 19615 var edit_panel_ReusableBlockEditPanel = /*#__PURE__*/function (_Component) {
       
 19616   Object(inherits["a" /* default */])(ReusableBlockEditPanel, _Component);
       
 19617 
       
 19618   var _super = edit_panel_createSuper(ReusableBlockEditPanel);
       
 19619 
       
 19620   function ReusableBlockEditPanel() {
       
 19621     var _this;
       
 19622 
       
 19623     Object(classCallCheck["a" /* default */])(this, ReusableBlockEditPanel);
       
 19624 
       
 19625     _this = _super.apply(this, arguments);
       
 19626     _this.titleField = Object(external_this_wp_element_["createRef"])();
       
 19627     _this.editButton = Object(external_this_wp_element_["createRef"])();
       
 19628     _this.handleFormSubmit = _this.handleFormSubmit.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 19629     _this.handleTitleChange = _this.handleTitleChange.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 19630     _this.handleTitleKeyDown = _this.handleTitleKeyDown.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 19631     return _this;
       
 19632   }
       
 19633 
       
 19634   Object(createClass["a" /* default */])(ReusableBlockEditPanel, [{
       
 19635     key: "componentDidMount",
       
 19636     value: function componentDidMount() {
       
 19637       // Select the input text when the form opens.
       
 19638       if (this.props.isEditing && this.titleField.current) {
       
 19639         this.titleField.current.select();
       
 19640       }
       
 19641     }
       
 19642   }, {
       
 19643     key: "componentDidUpdate",
       
 19644     value: function componentDidUpdate(prevProps) {
       
 19645       // Select the input text only once when the form opens.
       
 19646       if (!prevProps.isEditing && this.props.isEditing) {
       
 19647         this.titleField.current.select();
       
 19648       } // Move focus back to the Edit button after pressing the Escape key or Save.
       
 19649 
       
 19650 
       
 19651       if ((prevProps.isEditing || prevProps.isSaving) && !this.props.isEditing && !this.props.isSaving) {
       
 19652         this.editButton.current.focus();
       
 19653       }
       
 19654     }
       
 19655   }, {
       
 19656     key: "handleFormSubmit",
       
 19657     value: function handleFormSubmit(event) {
       
 19658       event.preventDefault();
       
 19659       this.props.onSave();
       
 19660     }
       
 19661   }, {
       
 19662     key: "handleTitleChange",
       
 19663     value: function handleTitleChange(event) {
       
 19664       this.props.onChangeTitle(event.target.value);
       
 19665     }
       
 19666   }, {
       
 19667     key: "handleTitleKeyDown",
       
 19668     value: function handleTitleKeyDown(event) {
       
 19669       if (event.keyCode === external_this_wp_keycodes_["ESCAPE"]) {
       
 19670         event.stopPropagation();
       
 19671         this.props.onCancel();
       
 19672       }
       
 19673     }
       
 19674   }, {
       
 19675     key: "render",
       
 19676     value: function render() {
       
 19677       var _this$props = this.props,
       
 19678           isEditing = _this$props.isEditing,
       
 19679           title = _this$props.title,
       
 19680           isSaving = _this$props.isSaving,
       
 19681           isEditDisabled = _this$props.isEditDisabled,
       
 19682           onEdit = _this$props.onEdit,
       
 19683           instanceId = _this$props.instanceId;
       
 19684       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, !isEditing && !isSaving && Object(external_this_wp_element_["createElement"])("div", {
       
 19685         className: "reusable-block-edit-panel"
       
 19686       }, Object(external_this_wp_element_["createElement"])("b", {
       
 19687         className: "reusable-block-edit-panel__info"
       
 19688       }, title), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
 19689         ref: this.editButton,
       
 19690         isSecondary: true,
       
 19691         className: "reusable-block-edit-panel__button",
       
 19692         disabled: isEditDisabled,
       
 19693         onClick: onEdit
       
 19694       }, Object(external_this_wp_i18n_["__"])('Edit'))), (isEditing || isSaving) && Object(external_this_wp_element_["createElement"])("form", {
       
 19695         className: "reusable-block-edit-panel",
       
 19696         onSubmit: this.handleFormSubmit
       
 19697       }, Object(external_this_wp_element_["createElement"])("label", {
       
 19698         htmlFor: "reusable-block-edit-panel__title-".concat(instanceId),
       
 19699         className: "reusable-block-edit-panel__label"
       
 19700       }, Object(external_this_wp_i18n_["__"])('Name:')), Object(external_this_wp_element_["createElement"])("input", {
       
 19701         ref: this.titleField,
       
 19702         type: "text",
       
 19703         disabled: isSaving,
       
 19704         className: "reusable-block-edit-panel__title",
       
 19705         value: title,
       
 19706         onChange: this.handleTitleChange,
       
 19707         onKeyDown: this.handleTitleKeyDown,
       
 19708         id: "reusable-block-edit-panel__title-".concat(instanceId)
       
 19709       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
 19710         type: "submit",
       
 19711         isSecondary: true,
       
 19712         isBusy: isSaving,
       
 19713         disabled: !title || isSaving,
       
 19714         className: "reusable-block-edit-panel__button"
       
 19715       }, Object(external_this_wp_i18n_["__"])('Save'))));
       
 19716     }
       
 19717   }]);
       
 19718 
       
 19719   return ReusableBlockEditPanel;
       
 19720 }(external_this_wp_element_["Component"]);
       
 19721 
       
 19722 /* harmony default export */ var edit_panel = (Object(external_this_wp_compose_["withInstanceId"])(edit_panel_ReusableBlockEditPanel));
       
 19723 
       
 19724 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/block/edit.js
       
 19725 
       
 19726 
       
 19727 
       
 19728 
       
 19729 
       
 19730 
       
 19731 
       
 19732 
       
 19733 function block_edit_createSuper(Derived) { return function () { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (block_edit_isNativeReflectConstruct()) { var NewTarget = Object(getPrototypeOf["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(possibleConstructorReturn["a" /* default */])(this, result); }; }
       
 19734 
       
 19735 function block_edit_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
       
 19736 
       
 19737 /**
       
 19738  * External dependencies
       
 19739  */
       
 19740 
       
 19741 /**
       
 19742  * WordPress dependencies
       
 19743  */
       
 19744 
       
 19745 
       
 19746 
       
 19747 
       
 19748 
       
 19749 
       
 19750 
       
 19751 
       
 19752 /**
       
 19753  * Internal dependencies
       
 19754  */
       
 19755 
       
 19756 
       
 19757 
       
 19758 var edit_ReusableBlockEdit = /*#__PURE__*/function (_Component) {
       
 19759   Object(inherits["a" /* default */])(ReusableBlockEdit, _Component);
       
 19760 
       
 19761   var _super = block_edit_createSuper(ReusableBlockEdit);
       
 19762 
       
 19763   function ReusableBlockEdit(_ref) {
       
 19764     var _this;
       
 19765 
       
 19766     var reusableBlock = _ref.reusableBlock;
       
 19767 
       
 19768     Object(classCallCheck["a" /* default */])(this, ReusableBlockEdit);
       
 19769 
       
 19770     _this = _super.apply(this, arguments);
       
 19771     _this.startEditing = _this.startEditing.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 19772     _this.stopEditing = _this.stopEditing.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 19773     _this.setBlocks = _this.setBlocks.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 19774     _this.setTitle = _this.setTitle.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 19775     _this.save = _this.save.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 19776 
       
 19777     if (reusableBlock) {
       
 19778       // Start in edit mode when we're working with a newly created reusable block
       
 19779       _this.state = {
       
 19780         isEditing: reusableBlock.isTemporary,
       
 19781         title: reusableBlock.title,
       
 19782         blocks: Object(external_this_wp_blocks_["parse"])(reusableBlock.content)
       
 19783       };
       
 19784     } else {
       
 19785       // Start in preview mode when we're working with an existing reusable block
       
 19786       _this.state = {
       
 19787         isEditing: false,
       
 19788         title: null,
       
 19789         blocks: []
       
 19790       };
       
 19791     }
       
 19792 
       
 19793     return _this;
       
 19794   }
       
 19795 
       
 19796   Object(createClass["a" /* default */])(ReusableBlockEdit, [{
       
 19797     key: "componentDidMount",
       
 19798     value: function componentDidMount() {
       
 19799       if (!this.props.reusableBlock) {
       
 19800         this.props.fetchReusableBlock();
       
 19801       }
       
 19802     }
       
 19803   }, {
       
 19804     key: "componentDidUpdate",
       
 19805     value: function componentDidUpdate(prevProps) {
       
 19806       if (prevProps.reusableBlock !== this.props.reusableBlock && this.state.title === null) {
       
 19807         this.setState({
       
 19808           title: this.props.reusableBlock.title,
       
 19809           blocks: Object(external_this_wp_blocks_["parse"])(this.props.reusableBlock.content)
       
 19810         });
       
 19811       }
       
 19812     }
       
 19813   }, {
       
 19814     key: "startEditing",
       
 19815     value: function startEditing() {
       
 19816       var reusableBlock = this.props.reusableBlock;
       
 19817       this.setState({
       
 19818         isEditing: true,
       
 19819         title: reusableBlock.title,
       
 19820         blocks: Object(external_this_wp_blocks_["parse"])(reusableBlock.content)
       
 19821       });
       
 19822     }
       
 19823   }, {
       
 19824     key: "stopEditing",
       
 19825     value: function stopEditing() {
       
 19826       this.setState({
       
 19827         isEditing: false,
       
 19828         title: null,
       
 19829         blocks: []
       
 19830       });
       
 19831     }
       
 19832   }, {
       
 19833     key: "setBlocks",
       
 19834     value: function setBlocks(blocks) {
       
 19835       this.setState({
       
 19836         blocks: blocks
       
 19837       });
       
 19838     }
       
 19839   }, {
       
 19840     key: "setTitle",
       
 19841     value: function setTitle(title) {
       
 19842       this.setState({
       
 19843         title: title
       
 19844       });
       
 19845     }
       
 19846   }, {
       
 19847     key: "save",
       
 19848     value: function save() {
       
 19849       var _this$props = this.props,
       
 19850           onChange = _this$props.onChange,
       
 19851           onSave = _this$props.onSave;
       
 19852       var _this$state = this.state,
       
 19853           blocks = _this$state.blocks,
       
 19854           title = _this$state.title;
       
 19855       var content = Object(external_this_wp_blocks_["serialize"])(blocks);
       
 19856       onChange({
       
 19857         title: title,
       
 19858         content: content
       
 19859       });
       
 19860       onSave();
       
 19861       this.stopEditing();
       
 19862     }
       
 19863   }, {
       
 19864     key: "render",
       
 19865     value: function render() {
       
 19866       var _this$props2 = this.props,
       
 19867           isSelected = _this$props2.isSelected,
       
 19868           reusableBlock = _this$props2.reusableBlock,
       
 19869           isFetching = _this$props2.isFetching,
       
 19870           isSaving = _this$props2.isSaving,
       
 19871           canUpdateBlock = _this$props2.canUpdateBlock,
       
 19872           settings = _this$props2.settings;
       
 19873       var _this$state2 = this.state,
       
 19874           isEditing = _this$state2.isEditing,
       
 19875           title = _this$state2.title,
       
 19876           blocks = _this$state2.blocks;
       
 19877 
       
 19878       if (!reusableBlock && isFetching) {
       
 19879         return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null));
       
 19880       }
       
 19881 
       
 19882       if (!reusableBlock) {
       
 19883         return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], null, Object(external_this_wp_i18n_["__"])('Block has been deleted or is unavailable.'));
       
 19884       }
       
 19885 
       
 19886       var element = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockEditorProvider"], {
       
 19887         settings: settings,
       
 19888         value: blocks,
       
 19889         onChange: this.setBlocks,
       
 19890         onInput: this.setBlocks
       
 19891       }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["WritingFlow"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockList"], null)));
       
 19892 
       
 19893       if (!isEditing) {
       
 19894         element = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Disabled"], null, element);
       
 19895       }
       
 19896 
       
 19897       return Object(external_this_wp_element_["createElement"])("div", {
       
 19898         className: "block-library-block__reusable-block-container"
       
 19899       }, (isSelected || isEditing) && Object(external_this_wp_element_["createElement"])(edit_panel, {
       
 19900         isEditing: isEditing,
       
 19901         title: title !== null ? title : reusableBlock.title,
       
 19902         isSaving: isSaving && !reusableBlock.isTemporary,
       
 19903         isEditDisabled: !canUpdateBlock,
       
 19904         onEdit: this.startEditing,
       
 19905         onChangeTitle: this.setTitle,
       
 19906         onSave: this.save,
       
 19907         onCancel: this.stopEditing
       
 19908       }), element);
       
 19909     }
       
 19910   }]);
       
 19911 
       
 19912   return ReusableBlockEdit;
       
 19913 }(external_this_wp_element_["Component"]);
       
 19914 
       
 19915 /* harmony default export */ var block_edit = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, ownProps) {
       
 19916   var _select = select('core/editor'),
       
 19917       getReusableBlock = _select.__experimentalGetReusableBlock,
       
 19918       isFetchingReusableBlock = _select.__experimentalIsFetchingReusableBlock,
       
 19919       isSavingReusableBlock = _select.__experimentalIsSavingReusableBlock;
       
 19920 
       
 19921   var _select2 = select('core'),
       
 19922       canUser = _select2.canUser;
       
 19923 
       
 19924   var _select3 = select('core/block-editor'),
       
 19925       __experimentalGetParsedReusableBlock = _select3.__experimentalGetParsedReusableBlock,
       
 19926       getSettings = _select3.getSettings;
       
 19927 
       
 19928   var ref = ownProps.attributes.ref;
       
 19929   var reusableBlock = getReusableBlock(ref);
       
 19930   return {
       
 19931     reusableBlock: reusableBlock,
       
 19932     isFetching: isFetchingReusableBlock(ref),
       
 19933     isSaving: isSavingReusableBlock(ref),
       
 19934     blocks: reusableBlock ? __experimentalGetParsedReusableBlock(reusableBlock.id) : null,
       
 19935     canUpdateBlock: !!reusableBlock && !reusableBlock.isTemporary && !!canUser('update', 'blocks', ref),
       
 19936     settings: getSettings()
       
 19937   };
       
 19938 }), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps) {
       
 19939   var _dispatch = dispatch('core/editor'),
       
 19940       fetchReusableBlocks = _dispatch.__experimentalFetchReusableBlocks,
       
 19941       updateReusableBlock = _dispatch.__experimentalUpdateReusableBlock,
       
 19942       saveReusableBlock = _dispatch.__experimentalSaveReusableBlock;
       
 19943 
       
 19944   var ref = ownProps.attributes.ref;
       
 19945   return {
       
 19946     fetchReusableBlock: Object(external_this_lodash_["partial"])(fetchReusableBlocks, ref),
       
 19947     onChange: Object(external_this_lodash_["partial"])(updateReusableBlock, ref),
       
 19948     onSave: Object(external_this_lodash_["partial"])(saveReusableBlock, ref)
       
 19949   };
       
 19950 })])(edit_ReusableBlockEdit));
       
 19951 
       
 19952 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/block/index.js
       
 19953 /**
       
 19954  * WordPress dependencies
       
 19955  */
       
 19956 
       
 19957 /**
       
 19958  * Internal dependencies
       
 19959  */
       
 19960 
       
 19961 var block_metadata = {
       
 19962   name: "core/block",
       
 19963   category: "reusable",
       
 19964   attributes: {
       
 19965     ref: {
       
 19966       type: "number"
       
 19967     }
       
 19968   },
       
 19969   supports: {
       
 19970     customClassName: false,
       
 19971     html: false,
       
 19972     inserter: false
       
 19973   }
       
 19974 };
       
 19975 
       
 19976 var block_name = block_metadata.name;
       
 19977 
       
 19978 var block_settings = {
       
 19979   title: Object(external_this_wp_i18n_["__"])('Reusable Block'),
       
 19980   description: Object(external_this_wp_i18n_["__"])('Create and save content to reuse across your site. Update the block, and the changes apply everywhere it’s used.'),
       
 19981   edit: block_edit
       
 19982 };
       
 19983 
       
 19984 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/rss.js
       
 19985 
       
 19986 
       
 19987 /**
       
 19988  * WordPress dependencies
       
 19989  */
       
 19990 
       
 19991 var rss = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 19992   xmlns: "http://www.w3.org/2000/svg",
       
 19993   viewBox: "0 0 24 24"
       
 19994 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 19995   d: "M5 10.2h-.8v1.5H5c1.9 0 3.8.8 5.1 2.1 1.4 1.4 2.1 3.2 2.1 5.1v.8h1.5V19c0-2.3-.9-4.5-2.6-6.2-1.6-1.6-3.8-2.6-6.1-2.6zm10.4-1.6C12.6 5.8 8.9 4.2 5 4.2h-.8v1.5H5c3.5 0 6.9 1.4 9.4 3.9s3.9 5.8 3.9 9.4v.8h1.5V19c0-3.9-1.6-7.6-4.4-10.4zM4 20h3v-3H4v3z"
       
 19996 }));
       
 19997 /* harmony default export */ var library_rss = (rss);
       
 19998 
       
 19999 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/rss/edit.js
       
 20000 
       
 20001 
       
 20002 
       
 20003 
       
 20004 /**
       
 20005  * WordPress dependencies
       
 20006  */
       
 20007 
       
 20008 
       
 20009 
       
 20010 
       
 20011 
       
 20012 
       
 20013 var DEFAULT_MIN_ITEMS = 1;
       
 20014 var DEFAULT_MAX_ITEMS = 10;
       
 20015 function RSSEdit(_ref) {
       
 20016   var attributes = _ref.attributes,
       
 20017       setAttributes = _ref.setAttributes;
       
 20018 
       
 20019   var _useState = Object(external_this_wp_element_["useState"])(!attributes.feedURL),
       
 20020       _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
       
 20021       isEditing = _useState2[0],
       
 20022       setIsEditing = _useState2[1];
       
 20023 
       
 20024   var blockLayout = attributes.blockLayout,
       
 20025       columns = attributes.columns,
       
 20026       displayAuthor = attributes.displayAuthor,
       
 20027       displayDate = attributes.displayDate,
       
 20028       displayExcerpt = attributes.displayExcerpt,
       
 20029       excerptLength = attributes.excerptLength,
       
 20030       feedURL = attributes.feedURL,
       
 20031       itemsToShow = attributes.itemsToShow;
       
 20032 
       
 20033   function toggleAttribute(propName) {
       
 20034     return function () {
       
 20035       var value = attributes[propName];
       
 20036       setAttributes(Object(defineProperty["a" /* default */])({}, propName, !value));
       
 20037     };
       
 20038   }
       
 20039 
       
 20040   function onSubmitURL(event) {
       
 20041     event.preventDefault();
       
 20042 
       
 20043     if (feedURL) {
       
 20044       setIsEditing(false);
       
 20045     }
       
 20046   }
       
 20047 
       
 20048   if (isEditing) {
       
 20049     return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], {
       
 20050       icon: library_rss,
       
 20051       label: "RSS"
       
 20052     }, Object(external_this_wp_element_["createElement"])("form", {
       
 20053       onSubmit: onSubmitURL,
       
 20054       className: "wp-block-rss__placeholder-form"
       
 20055     }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
       
 20056       placeholder: Object(external_this_wp_i18n_["__"])('Enter URL here…'),
       
 20057       value: feedURL,
       
 20058       onChange: function onChange(value) {
       
 20059         return setAttributes({
       
 20060           feedURL: value
       
 20061         });
       
 20062       },
       
 20063       className: "wp-block-rss__placeholder-input"
       
 20064     }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
 20065       isPrimary: true,
       
 20066       type: "submit"
       
 20067     }, Object(external_this_wp_i18n_["__"])('Use URL'))));
       
 20068   }
       
 20069 
       
 20070   var toolbarControls = [{
       
 20071     icon: pencil["a" /* default */],
       
 20072     title: Object(external_this_wp_i18n_["__"])('Edit RSS URL'),
       
 20073     onClick: function onClick() {
       
 20074       return setIsEditing(true);
       
 20075     }
       
 20076   }, {
       
 20077     icon: library_list,
       
 20078     title: Object(external_this_wp_i18n_["__"])('List view'),
       
 20079     onClick: function onClick() {
       
 20080       return setAttributes({
       
 20081         blockLayout: 'list'
       
 20082       });
       
 20083     },
       
 20084     isActive: blockLayout === 'list'
       
 20085   }, {
       
 20086     icon: grid["a" /* default */],
       
 20087     title: Object(external_this_wp_i18n_["__"])('Grid view'),
       
 20088     onClick: function onClick() {
       
 20089       return setAttributes({
       
 20090         blockLayout: 'grid'
       
 20091       });
       
 20092     },
       
 20093     isActive: blockLayout === 'grid'
       
 20094   }];
       
 20095   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], {
       
 20096     controls: toolbarControls
       
 20097   })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 20098     title: Object(external_this_wp_i18n_["__"])('RSS settings')
       
 20099   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], {
       
 20100     label: Object(external_this_wp_i18n_["__"])('Number of items'),
       
 20101     value: itemsToShow,
       
 20102     onChange: function onChange(value) {
       
 20103       return setAttributes({
       
 20104         itemsToShow: value
       
 20105       });
       
 20106     },
       
 20107     min: DEFAULT_MIN_ITEMS,
       
 20108     max: DEFAULT_MAX_ITEMS,
       
 20109     required: true
       
 20110   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 20111     label: Object(external_this_wp_i18n_["__"])('Display author'),
       
 20112     checked: displayAuthor,
       
 20113     onChange: toggleAttribute('displayAuthor')
       
 20114   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 20115     label: Object(external_this_wp_i18n_["__"])('Display date'),
       
 20116     checked: displayDate,
       
 20117     onChange: toggleAttribute('displayDate')
       
 20118   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 20119     label: Object(external_this_wp_i18n_["__"])('Display excerpt'),
       
 20120     checked: displayExcerpt,
       
 20121     onChange: toggleAttribute('displayExcerpt')
       
 20122   }), displayExcerpt && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], {
       
 20123     label: Object(external_this_wp_i18n_["__"])('Max number of words in excerpt'),
       
 20124     value: excerptLength,
       
 20125     onChange: function onChange(value) {
       
 20126       return setAttributes({
       
 20127         excerptLength: value
       
 20128       });
       
 20129     },
       
 20130     min: 10,
       
 20131     max: 100,
       
 20132     required: true
       
 20133   }), blockLayout === 'grid' && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], {
       
 20134     label: Object(external_this_wp_i18n_["__"])('Columns'),
       
 20135     value: columns,
       
 20136     onChange: function onChange(value) {
       
 20137       return setAttributes({
       
 20138         columns: value
       
 20139       });
       
 20140     },
       
 20141     min: 2,
       
 20142     max: 6,
       
 20143     required: true
       
 20144   }))), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Disabled"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_serverSideRender_default.a, {
       
 20145     block: "core/rss",
       
 20146     attributes: attributes
       
 20147   })));
       
 20148 }
       
 20149 
       
 20150 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/rss/index.js
       
 20151 /**
       
 20152  * WordPress dependencies
       
 20153  */
       
 20154 
       
 20155 
       
 20156 /**
       
 20157  * Internal dependencies
       
 20158  */
       
 20159 
       
 20160 var rss_metadata = {
       
 20161   name: "core/rss",
       
 20162   category: "widgets",
       
 20163   attributes: {
       
 20164     align: {
       
 20165       type: "string",
       
 20166       "enum": ["left", "center", "right", "wide", "full"]
       
 20167     },
       
 20168     className: {
       
 20169       type: "string"
       
 20170     },
       
 20171     columns: {
       
 20172       type: "number",
       
 20173       "default": 2
       
 20174     },
       
 20175     blockLayout: {
       
 20176       type: "string",
       
 20177       "default": "list"
       
 20178     },
       
 20179     feedURL: {
       
 20180       type: "string",
       
 20181       "default": ""
       
 20182     },
       
 20183     itemsToShow: {
       
 20184       type: "number",
       
 20185       "default": 5
       
 20186     },
       
 20187     displayExcerpt: {
       
 20188       type: "boolean",
       
 20189       "default": false
       
 20190     },
       
 20191     displayAuthor: {
       
 20192       type: "boolean",
       
 20193       "default": false
       
 20194     },
       
 20195     displayDate: {
       
 20196       type: "boolean",
       
 20197       "default": false
       
 20198     },
       
 20199     excerptLength: {
       
 20200       type: "number",
       
 20201       "default": 55
       
 20202     }
       
 20203   },
       
 20204   supports: {
       
 20205     align: true,
       
 20206     html: false
       
 20207   }
       
 20208 };
       
 20209 
       
 20210 var rss_name = rss_metadata.name;
       
 20211 
       
 20212 var rss_settings = {
       
 20213   title: Object(external_this_wp_i18n_["__"])('RSS'),
       
 20214   description: Object(external_this_wp_i18n_["__"])('Display entries from any RSS or Atom feed.'),
       
 20215   icon: library_rss,
       
 20216   keywords: [Object(external_this_wp_i18n_["__"])('atom'), Object(external_this_wp_i18n_["__"])('feed')],
       
 20217   example: {
       
 20218     attributes: {
       
 20219       feedURL: 'https://wordpress.org'
       
 20220     }
       
 20221   },
       
 20222   edit: RSSEdit
       
 20223 };
       
 20224 
       
 20225 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/search/edit.js
       
 20226 
       
 20227 
       
 20228 /**
       
 20229  * WordPress dependencies
       
 20230  */
       
 20231 
       
 20232 
       
 20233 function SearchEdit(_ref) {
       
 20234   var className = _ref.className,
       
 20235       attributes = _ref.attributes,
       
 20236       setAttributes = _ref.setAttributes;
       
 20237   var label = attributes.label,
       
 20238       placeholder = attributes.placeholder,
       
 20239       buttonText = attributes.buttonText;
       
 20240   return Object(external_this_wp_element_["createElement"])("div", {
       
 20241     className: className
       
 20242   }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 20243     className: "wp-block-search__label",
       
 20244     "aria-label": Object(external_this_wp_i18n_["__"])('Label text'),
       
 20245     placeholder: Object(external_this_wp_i18n_["__"])('Add label…'),
       
 20246     withoutInteractiveFormatting: true,
       
 20247     value: label,
       
 20248     onChange: function onChange(html) {
       
 20249       return setAttributes({
       
 20250         label: html
       
 20251       });
       
 20252     }
       
 20253   }), Object(external_this_wp_element_["createElement"])("input", {
       
 20254     className: "wp-block-search__input",
       
 20255     "aria-label": Object(external_this_wp_i18n_["__"])('Optional placeholder text') // We hide the placeholder field's placeholder when there is a value. This
       
 20256     // stops screen readers from reading the placeholder field's placeholder
       
 20257     // which is confusing.
       
 20258     ,
       
 20259     placeholder: placeholder ? undefined : Object(external_this_wp_i18n_["__"])('Optional placeholder…'),
       
 20260     value: placeholder,
       
 20261     onChange: function onChange(event) {
       
 20262       return setAttributes({
       
 20263         placeholder: event.target.value
       
 20264       });
       
 20265     }
       
 20266   }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 20267     className: "wp-block-search__button",
       
 20268     "aria-label": Object(external_this_wp_i18n_["__"])('Button text'),
       
 20269     placeholder: Object(external_this_wp_i18n_["__"])('Add button text…'),
       
 20270     withoutInteractiveFormatting: true,
       
 20271     value: buttonText,
       
 20272     onChange: function onChange(html) {
       
 20273       return setAttributes({
       
 20274         buttonText: html
       
 20275       });
       
 20276     }
       
 20277   }));
       
 20278 }
       
 20279 
       
 20280 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/search/variations.js
       
 20281 /**
       
 20282  * WordPress dependencies
       
 20283  */
       
 20284 
       
 20285 var search_variations_variations = [{
       
 20286   name: 'default',
       
 20287   isDefault: true,
       
 20288   attributes: {
       
 20289     buttonText: Object(external_this_wp_i18n_["__"])('Search'),
       
 20290     label: Object(external_this_wp_i18n_["__"])('Search')
       
 20291   }
       
 20292 }];
       
 20293 /* harmony default export */ var search_variations = (search_variations_variations);
       
 20294 
       
 20295 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/search/index.js
       
 20296 /**
       
 20297  * WordPress dependencies
       
 20298  */
       
 20299 
       
 20300 
       
 20301 /**
       
 20302  * Internal dependencies
       
 20303  */
       
 20304 
       
 20305 var search_metadata = {
       
 20306   name: "core/search",
       
 20307   category: "widgets",
       
 20308   attributes: {
       
 20309     align: {
       
 20310       type: "string",
       
 20311       "enum": ["left", "center", "right", "wide", "full"]
       
 20312     },
       
 20313     className: {
       
 20314       type: "string"
       
 20315     },
       
 20316     label: {
       
 20317       type: "string"
       
 20318     },
       
 20319     placeholder: {
       
 20320       type: "string",
       
 20321       "default": ""
       
 20322     },
       
 20323     buttonText: {
       
 20324       type: "string"
       
 20325     }
       
 20326   },
       
 20327   supports: {
       
 20328     align: true,
       
 20329     html: false
       
 20330   }
       
 20331 };
       
 20332 
       
 20333 
       
 20334 var search_name = search_metadata.name;
       
 20335 
       
 20336 var search_settings = {
       
 20337   title: Object(external_this_wp_i18n_["__"])('Search'),
       
 20338   description: Object(external_this_wp_i18n_["__"])('Help visitors find your content.'),
       
 20339   icon: search["a" /* default */],
       
 20340   keywords: [Object(external_this_wp_i18n_["__"])('find')],
       
 20341   example: {},
       
 20342   variations: search_variations,
       
 20343   edit: SearchEdit
       
 20344 };
       
 20345 
       
 20346 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/group.js
       
 20347 
       
 20348 
       
 20349 /**
       
 20350  * WordPress dependencies
       
 20351  */
       
 20352 
       
 20353 var group = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 20354   viewBox: "0 0 24 24",
       
 20355   xmlns: "http://www.w3.org/2000/svg"
       
 20356 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 20357   d: "M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z"
       
 20358 }));
       
 20359 /* harmony default export */ var library_group = (group);
       
 20360 
       
 20361 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/group/deprecated.js
       
 20362 
       
 20363 
       
 20364 
       
 20365 function group_deprecated_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
 20366 
       
 20367 function group_deprecated_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { group_deprecated_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { group_deprecated_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
 20368 
       
 20369 /**
       
 20370  * External dependencies
       
 20371  */
       
 20372 
       
 20373 
       
 20374 /**
       
 20375  * WordPress dependencies
       
 20376  */
       
 20377 
       
 20378 
       
 20379 
       
 20380 var deprecated_migrateAttributes = function migrateAttributes(attributes) {
       
 20381   if (!attributes.tagName) {
       
 20382     attributes = group_deprecated_objectSpread({}, attributes, {
       
 20383       tagName: 'div'
       
 20384     });
       
 20385   }
       
 20386 
       
 20387   if (!attributes.customTextColor && !attributes.customBackgroundColor) {
       
 20388     return attributes;
       
 20389   }
       
 20390 
       
 20391   var style = {
       
 20392     color: {}
       
 20393   };
       
 20394 
       
 20395   if (attributes.customTextColor) {
       
 20396     style.color.text = attributes.customTextColor;
       
 20397   }
       
 20398 
       
 20399   if (attributes.customBackgroundColor) {
       
 20400     style.color.background = attributes.customBackgroundColor;
       
 20401   }
       
 20402 
       
 20403   return group_deprecated_objectSpread({}, Object(external_this_lodash_["omit"])(attributes, ['customTextColor', 'customBackgroundColor']), {
       
 20404     style: style
       
 20405   });
       
 20406 };
       
 20407 
       
 20408 var group_deprecated_deprecated = [// Version of the block without global styles support
       
 20409 {
       
 20410   attributes: {
       
 20411     backgroundColor: {
       
 20412       type: 'string'
       
 20413     },
       
 20414     customBackgroundColor: {
       
 20415       type: 'string'
       
 20416     },
       
 20417     textColor: {
       
 20418       type: 'string'
       
 20419     },
       
 20420     customTextColor: {
       
 20421       type: 'string'
       
 20422     }
       
 20423   },
       
 20424   supports: {
       
 20425     align: ['wide', 'full'],
       
 20426     anchor: true,
       
 20427     html: false
       
 20428   },
       
 20429   migrate: deprecated_migrateAttributes,
       
 20430   save: function save(_ref) {
       
 20431     var attributes = _ref.attributes;
       
 20432     var backgroundColor = attributes.backgroundColor,
       
 20433         customBackgroundColor = attributes.customBackgroundColor,
       
 20434         textColor = attributes.textColor,
       
 20435         customTextColor = attributes.customTextColor;
       
 20436     var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
       
 20437     var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
       
 20438     var className = classnames_default()(backgroundClass, textClass, {
       
 20439       'has-text-color': textColor || customTextColor,
       
 20440       'has-background': backgroundColor || customBackgroundColor
       
 20441     });
       
 20442     var styles = {
       
 20443       backgroundColor: backgroundClass ? undefined : customBackgroundColor,
       
 20444       color: textClass ? undefined : customTextColor
       
 20445     };
       
 20446     return Object(external_this_wp_element_["createElement"])("div", {
       
 20447       className: className,
       
 20448       style: styles
       
 20449     }, Object(external_this_wp_element_["createElement"])("div", {
       
 20450       className: "wp-block-group__inner-container"
       
 20451     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null)));
       
 20452   }
       
 20453 }, // Version of the group block with a bug that made text color class not applied.
       
 20454 {
       
 20455   attributes: {
       
 20456     backgroundColor: {
       
 20457       type: 'string'
       
 20458     },
       
 20459     customBackgroundColor: {
       
 20460       type: 'string'
       
 20461     },
       
 20462     textColor: {
       
 20463       type: 'string'
       
 20464     },
       
 20465     customTextColor: {
       
 20466       type: 'string'
       
 20467     }
       
 20468   },
       
 20469   migrate: deprecated_migrateAttributes,
       
 20470   supports: {
       
 20471     align: ['wide', 'full'],
       
 20472     anchor: true,
       
 20473     html: false
       
 20474   },
       
 20475   save: function save(_ref2) {
       
 20476     var attributes = _ref2.attributes;
       
 20477     var backgroundColor = attributes.backgroundColor,
       
 20478         customBackgroundColor = attributes.customBackgroundColor,
       
 20479         textColor = attributes.textColor,
       
 20480         customTextColor = attributes.customTextColor;
       
 20481     var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
       
 20482     var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
       
 20483     var className = classnames_default()(backgroundClass, {
       
 20484       'has-text-color': textColor || customTextColor,
       
 20485       'has-background': backgroundColor || customBackgroundColor
       
 20486     });
       
 20487     var styles = {
       
 20488       backgroundColor: backgroundClass ? undefined : customBackgroundColor,
       
 20489       color: textClass ? undefined : customTextColor
       
 20490     };
       
 20491     return Object(external_this_wp_element_["createElement"])("div", {
       
 20492       className: className,
       
 20493       style: styles
       
 20494     }, Object(external_this_wp_element_["createElement"])("div", {
       
 20495       className: "wp-block-group__inner-container"
       
 20496     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null)));
       
 20497   }
       
 20498 }, // v1 of group block. Deprecated to add an inner-container div around `InnerBlocks.Content`.
       
 20499 {
       
 20500   attributes: {
       
 20501     backgroundColor: {
       
 20502       type: 'string'
       
 20503     },
       
 20504     customBackgroundColor: {
       
 20505       type: 'string'
       
 20506     }
       
 20507   },
       
 20508   supports: {
       
 20509     align: ['wide', 'full'],
       
 20510     anchor: true,
       
 20511     html: false
       
 20512   },
       
 20513   migrate: deprecated_migrateAttributes,
       
 20514   save: function save(_ref3) {
       
 20515     var attributes = _ref3.attributes;
       
 20516     var backgroundColor = attributes.backgroundColor,
       
 20517         customBackgroundColor = attributes.customBackgroundColor;
       
 20518     var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
       
 20519     var className = classnames_default()(backgroundClass, {
       
 20520       'has-background': backgroundColor || customBackgroundColor
       
 20521     });
       
 20522     var styles = {
       
 20523       backgroundColor: backgroundClass ? undefined : customBackgroundColor
       
 20524     };
       
 20525     return Object(external_this_wp_element_["createElement"])("div", {
       
 20526       className: className,
       
 20527       style: styles
       
 20528     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null));
       
 20529   }
       
 20530 }];
       
 20531 /* harmony default export */ var group_deprecated = (group_deprecated_deprecated);
       
 20532 
       
 20533 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/group/edit.js
       
 20534 
       
 20535 
       
 20536 /**
       
 20537  * WordPress dependencies
       
 20538  */
       
 20539 
       
 20540 
       
 20541 
       
 20542 function GroupEdit(_ref) {
       
 20543   var attributes = _ref.attributes,
       
 20544       className = _ref.className,
       
 20545       clientId = _ref.clientId;
       
 20546   var hasInnerBlocks = Object(external_this_wp_data_["useSelect"])(function (select) {
       
 20547     var _select = select('core/block-editor'),
       
 20548         getBlock = _select.getBlock;
       
 20549 
       
 20550     var block = getBlock(clientId);
       
 20551     return !!(block && block.innerBlocks.length);
       
 20552   }, [clientId]);
       
 20553   var BlockWrapper = external_this_wp_blockEditor_["__experimentalBlock"][attributes.tagName];
       
 20554   return Object(external_this_wp_element_["createElement"])(BlockWrapper, {
       
 20555     className: className
       
 20556   }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"], {
       
 20557     renderAppender: hasInnerBlocks ? undefined : function () {
       
 20558       return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].ButtonBlockAppender, null);
       
 20559     },
       
 20560     __experimentalTagName: "div",
       
 20561     __experimentalPassedProps: {
       
 20562       className: 'wp-block-group__inner-container'
       
 20563     }
       
 20564   }));
       
 20565 }
       
 20566 
       
 20567 /* harmony default export */ var group_edit = (GroupEdit);
       
 20568 
       
 20569 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/group/save.js
       
 20570 
       
 20571 
       
 20572 /**
       
 20573  * WordPress dependencies
       
 20574  */
       
 20575 
       
 20576 function group_save_save(_ref) {
       
 20577   var attributes = _ref.attributes;
       
 20578   var Tag = attributes.tagName;
       
 20579   return Object(external_this_wp_element_["createElement"])(Tag, null, Object(external_this_wp_element_["createElement"])("div", {
       
 20580     className: "wp-block-group__inner-container"
       
 20581   }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null)));
       
 20582 }
       
 20583 
       
 20584 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/group/index.js
       
 20585 /**
       
 20586  * WordPress dependencies
       
 20587  */
       
 20588 
       
 20589 
       
 20590 
       
 20591 /**
       
 20592  * Internal dependencies
       
 20593  */
       
 20594 
       
 20595 
       
 20596 
       
 20597 var group_metadata = {
       
 20598   name: "core/group",
       
 20599   category: "design",
       
 20600   attributes: {
       
 20601     tagName: {
       
 20602       type: "string",
       
 20603       "default": "div"
       
 20604     }
       
 20605   },
       
 20606   supports: {
       
 20607     align: ["wide", "full"],
       
 20608     anchor: true,
       
 20609     html: false,
       
 20610     lightBlockWrapper: true,
       
 20611     __experimentalColor: {
       
 20612       gradients: true,
       
 20613       linkColor: true
       
 20614     }
       
 20615   }
       
 20616 };
       
 20617 
       
 20618 var group_name = group_metadata.name;
       
 20619 
       
 20620 var group_settings = {
       
 20621   title: Object(external_this_wp_i18n_["__"])('Group'),
       
 20622   icon: library_group,
       
 20623   description: Object(external_this_wp_i18n_["__"])('A block that groups other blocks.'),
       
 20624   keywords: [Object(external_this_wp_i18n_["__"])('container'), Object(external_this_wp_i18n_["__"])('wrapper'), Object(external_this_wp_i18n_["__"])('row'), Object(external_this_wp_i18n_["__"])('section')],
       
 20625   example: {
       
 20626     attributes: {
       
 20627       style: {
       
 20628         color: {
       
 20629           text: '#000000',
       
 20630           background: '#ffffff'
       
 20631         }
       
 20632       }
       
 20633     },
       
 20634     innerBlocks: [{
       
 20635       name: 'core/paragraph',
       
 20636       attributes: {
       
 20637         customTextColor: '#cf2e2e',
       
 20638         fontSize: 'large',
       
 20639         content: Object(external_this_wp_i18n_["__"])('One.')
       
 20640       }
       
 20641     }, {
       
 20642       name: 'core/paragraph',
       
 20643       attributes: {
       
 20644         customTextColor: '#ff6900',
       
 20645         fontSize: 'large',
       
 20646         content: Object(external_this_wp_i18n_["__"])('Two.')
       
 20647       }
       
 20648     }, {
       
 20649       name: 'core/paragraph',
       
 20650       attributes: {
       
 20651         customTextColor: '#fcb900',
       
 20652         fontSize: 'large',
       
 20653         content: Object(external_this_wp_i18n_["__"])('Three.')
       
 20654       }
       
 20655     }, {
       
 20656       name: 'core/paragraph',
       
 20657       attributes: {
       
 20658         customTextColor: '#00d084',
       
 20659         fontSize: 'large',
       
 20660         content: Object(external_this_wp_i18n_["__"])('Four.')
       
 20661       }
       
 20662     }, {
       
 20663       name: 'core/paragraph',
       
 20664       attributes: {
       
 20665         customTextColor: '#0693e3',
       
 20666         fontSize: 'large',
       
 20667         content: Object(external_this_wp_i18n_["__"])('Five.')
       
 20668       }
       
 20669     }, {
       
 20670       name: 'core/paragraph',
       
 20671       attributes: {
       
 20672         customTextColor: '#9b51e0',
       
 20673         fontSize: 'large',
       
 20674         content: Object(external_this_wp_i18n_["__"])('Six.')
       
 20675       }
       
 20676     }]
       
 20677   },
       
 20678   transforms: {
       
 20679     from: [{
       
 20680       type: 'block',
       
 20681       isMultiBlock: true,
       
 20682       blocks: ['*'],
       
 20683       __experimentalConvert: function __experimentalConvert(blocks) {
       
 20684         // Avoid transforming a single `core/group` Block
       
 20685         if (blocks.length === 1 && blocks[0].name === 'core/group') {
       
 20686           return;
       
 20687         }
       
 20688 
       
 20689         var alignments = ['wide', 'full']; // Determine the widest setting of all the blocks to be grouped
       
 20690 
       
 20691         var widestAlignment = blocks.reduce(function (accumulator, block) {
       
 20692           var align = block.attributes.align;
       
 20693           return alignments.indexOf(align) > alignments.indexOf(accumulator) ? align : accumulator;
       
 20694         }, undefined); // Clone the Blocks to be Grouped
       
 20695         // Failing to create new block references causes the original blocks
       
 20696         // to be replaced in the switchToBlockType call thereby meaning they
       
 20697         // are removed both from their original location and within the
       
 20698         // new group block.
       
 20699 
       
 20700         var groupInnerBlocks = blocks.map(function (block) {
       
 20701           return Object(external_this_wp_blocks_["createBlock"])(block.name, block.attributes, block.innerBlocks);
       
 20702         });
       
 20703         return Object(external_this_wp_blocks_["createBlock"])('core/group', {
       
 20704           align: widestAlignment
       
 20705         }, groupInnerBlocks);
       
 20706       }
       
 20707     }]
       
 20708   },
       
 20709   edit: group_edit,
       
 20710   save: group_save_save,
       
 20711   deprecated: group_deprecated
       
 20712 };
       
 20713 
       
 20714 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/separator.js
       
 20715 
       
 20716 
       
 20717 /**
       
 20718  * WordPress dependencies
       
 20719  */
       
 20720 
       
 20721 var separator = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 20722   viewBox: "0 0 24 24",
       
 20723   xmlns: "http://www.w3.org/2000/svg"
       
 20724 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 20725   d: "M20.2 7v4H3.8V7H2.2v9h1.6v-3.5h16.4V16h1.6V7z"
       
 20726 }));
       
 20727 /* harmony default export */ var library_separator = (separator);
       
 20728 
       
 20729 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/separator/separator-settings.js
       
 20730 
       
 20731 
       
 20732 /**
       
 20733  * WordPress dependencies
       
 20734  */
       
 20735 
       
 20736 
       
 20737 
       
 20738 var separator_settings_SeparatorSettings = function SeparatorSettings(_ref) {
       
 20739   var color = _ref.color,
       
 20740       setColor = _ref.setColor;
       
 20741   return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PanelColorSettings"], {
       
 20742     title: Object(external_this_wp_i18n_["__"])('Color settings'),
       
 20743     colorSettings: [{
       
 20744       value: color.color,
       
 20745       onChange: setColor,
       
 20746       label: Object(external_this_wp_i18n_["__"])('Color')
       
 20747     }]
       
 20748   }));
       
 20749 };
       
 20750 
       
 20751 /* harmony default export */ var separator_settings = (separator_settings_SeparatorSettings);
       
 20752 
       
 20753 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/separator/edit.js
       
 20754 
       
 20755 
       
 20756 
       
 20757 /**
       
 20758  * External dependencies
       
 20759  */
       
 20760 
       
 20761 /**
       
 20762  * WordPress dependencies
       
 20763  */
       
 20764 
       
 20765 
       
 20766 
       
 20767 /**
       
 20768  * Internal dependencies
       
 20769  */
       
 20770 
       
 20771 
       
 20772 
       
 20773 function SeparatorEdit(_ref) {
       
 20774   var color = _ref.color,
       
 20775       setColor = _ref.setColor,
       
 20776       className = _ref.className;
       
 20777   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["HorizontalRule"], {
       
 20778     className: classnames_default()(className, Object(defineProperty["a" /* default */])({
       
 20779       'has-background': color.color
       
 20780     }, color.class, color.class)),
       
 20781     style: {
       
 20782       backgroundColor: color.color,
       
 20783       color: color.color
       
 20784     }
       
 20785   }), Object(external_this_wp_element_["createElement"])(separator_settings, {
       
 20786     color: color,
       
 20787     setColor: setColor
       
 20788   }));
       
 20789 }
       
 20790 
       
 20791 /* harmony default export */ var separator_edit = (Object(external_this_wp_blockEditor_["withColors"])('color', {
       
 20792   textColor: 'color'
       
 20793 })(SeparatorEdit));
       
 20794 
       
 20795 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/separator/save.js
       
 20796 
       
 20797 
       
 20798 
       
 20799 /**
       
 20800  * External dependencies
       
 20801  */
       
 20802 
       
 20803 /**
       
 20804  * WordPress dependencies
       
 20805  */
       
 20806 
       
 20807 
       
 20808 function separatorSave(_ref) {
       
 20809   var _classnames;
       
 20810 
       
 20811   var attributes = _ref.attributes;
       
 20812   var color = attributes.color,
       
 20813       customColor = attributes.customColor; // the hr support changing color using border-color, since border-color
       
 20814   // is not yet supported in the color palette, we use background-color
       
 20815 
       
 20816   var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', color); // the dots styles uses text for the dots, to change those dots color is
       
 20817   // using color, not backgroundColor
       
 20818 
       
 20819   var colorClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', color);
       
 20820   var separatorClasses = classnames_default()((_classnames = {
       
 20821     'has-text-color has-background': color || customColor
       
 20822   }, Object(defineProperty["a" /* default */])(_classnames, backgroundClass, backgroundClass), Object(defineProperty["a" /* default */])(_classnames, colorClass, colorClass), _classnames));
       
 20823   var separatorStyle = {
       
 20824     backgroundColor: backgroundClass ? undefined : customColor,
       
 20825     color: colorClass ? undefined : customColor
       
 20826   };
       
 20827   return Object(external_this_wp_element_["createElement"])("hr", {
       
 20828     className: separatorClasses,
       
 20829     style: separatorStyle
       
 20830   });
       
 20831 }
       
 20832 
       
 20833 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/separator/transforms.js
       
 20834 /**
       
 20835  * WordPress dependencies
       
 20836  */
       
 20837 
       
 20838 var separator_transforms_transforms = {
       
 20839   from: [{
       
 20840     type: 'enter',
       
 20841     regExp: /^-{3,}$/,
       
 20842     transform: function transform() {
       
 20843       return Object(external_this_wp_blocks_["createBlock"])('core/separator');
       
 20844     }
       
 20845   }, {
       
 20846     type: 'raw',
       
 20847     selector: 'hr',
       
 20848     schema: {
       
 20849       hr: {}
       
 20850     }
       
 20851   }]
       
 20852 };
       
 20853 /* harmony default export */ var separator_transforms = (separator_transforms_transforms);
       
 20854 
       
 20855 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/separator/index.js
       
 20856 /**
       
 20857  * WordPress dependencies
       
 20858  */
       
 20859 
       
 20860 
       
 20861 /**
       
 20862  * Internal dependencies
       
 20863  */
       
 20864 
       
 20865 
       
 20866 var separator_metadata = {
       
 20867   name: "core/separator",
       
 20868   category: "design",
       
 20869   attributes: {
       
 20870     color: {
       
 20871       type: "string"
       
 20872     },
       
 20873     customColor: {
       
 20874       type: "string"
       
 20875     }
       
 20876   },
       
 20877   supports: {
       
 20878     anchor: true
       
 20879   }
       
 20880 };
       
 20881 
       
 20882 
       
 20883 var separator_name = separator_metadata.name;
       
 20884 
       
 20885 var build_module_separator_settings = {
       
 20886   title: Object(external_this_wp_i18n_["__"])('Separator'),
       
 20887   description: Object(external_this_wp_i18n_["__"])('Create a break between ideas or sections with a horizontal separator.'),
       
 20888   icon: library_separator,
       
 20889   keywords: [Object(external_this_wp_i18n_["__"])('horizontal-line'), 'hr', Object(external_this_wp_i18n_["__"])('divider')],
       
 20890   example: {
       
 20891     attributes: {
       
 20892       customColor: '#065174',
       
 20893       className: 'is-style-wide'
       
 20894     }
       
 20895   },
       
 20896   styles: [{
       
 20897     name: 'default',
       
 20898     label: Object(external_this_wp_i18n_["__"])('Default'),
       
 20899     isDefault: true
       
 20900   }, {
       
 20901     name: 'wide',
       
 20902     label: Object(external_this_wp_i18n_["__"])('Wide Line')
       
 20903   }, {
       
 20904     name: 'dots',
       
 20905     label: Object(external_this_wp_i18n_["__"])('Dots')
       
 20906   }],
       
 20907   transforms: separator_transforms,
       
 20908   edit: separator_edit,
       
 20909   save: separatorSave
       
 20910 };
       
 20911 
       
 20912 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/shortcode.js
       
 20913 
       
 20914 
       
 20915 /**
       
 20916  * WordPress dependencies
       
 20917  */
       
 20918 
       
 20919 var shortcode_shortcode = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 20920   viewBox: "0 0 24 24",
       
 20921   xmlns: "http://www.w3.org/2000/svg"
       
 20922 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 20923   d: "M16 4.2v1.5h2.5v12.5H16v1.5h4V4.2h-4zM4.2 19.8h4v-1.5H5.8V5.8h2.5V4.2h-4l-.1 15.6zm5.1-3.1l1.4.6 4-10-1.4-.6-4 10z"
       
 20924 }));
       
 20925 /* harmony default export */ var library_shortcode = (shortcode_shortcode);
       
 20926 
       
 20927 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
       
 20928 var build_module_icon = __webpack_require__(137);
       
 20929 
       
 20930 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/shortcode/edit.js
       
 20931 
       
 20932 
       
 20933 /**
       
 20934  * WordPress dependencies
       
 20935  */
       
 20936 
       
 20937 
       
 20938 
       
 20939 
       
 20940 function ShortcodeEdit(_ref) {
       
 20941   var attributes = _ref.attributes,
       
 20942       setAttributes = _ref.setAttributes;
       
 20943   var instanceId = Object(external_this_wp_compose_["useInstanceId"])(ShortcodeEdit);
       
 20944   var inputId = "blocks-shortcode-input-".concat(instanceId);
       
 20945   return Object(external_this_wp_element_["createElement"])("div", {
       
 20946     className: "wp-block-shortcode components-placeholder"
       
 20947   }, Object(external_this_wp_element_["createElement"])("label", {
       
 20948     htmlFor: inputId,
       
 20949     className: "components-placeholder__label"
       
 20950   }, Object(external_this_wp_element_["createElement"])(build_module_icon["a" /* default */], {
       
 20951     icon: library_shortcode
       
 20952   }), Object(external_this_wp_i18n_["__"])('Shortcode')), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PlainText"], {
       
 20953     className: "blocks-shortcode__textarea",
       
 20954     id: inputId,
       
 20955     value: attributes.text,
       
 20956     placeholder: Object(external_this_wp_i18n_["__"])('Write shortcode here…'),
       
 20957     onChange: function onChange(text) {
       
 20958       return setAttributes({
       
 20959         text: text
       
 20960       });
       
 20961     }
       
 20962   }));
       
 20963 }
       
 20964 
       
 20965 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/shortcode/save.js
       
 20966 
       
 20967 
       
 20968 /**
       
 20969  * WordPress dependencies
       
 20970  */
       
 20971 
       
 20972 function shortcode_save_save(_ref) {
       
 20973   var attributes = _ref.attributes;
       
 20974   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["RawHTML"], null, attributes.text);
       
 20975 }
       
 20976 
       
 20977 // EXTERNAL MODULE: external {"this":["wp","autop"]}
       
 20978 var external_this_wp_autop_ = __webpack_require__(103);
       
 20979 
       
 20980 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/shortcode/transforms.js
       
 20981 /**
       
 20982  * WordPress dependencies
       
 20983  */
       
 20984 
       
 20985 var shortcode_transforms_transforms = {
       
 20986   from: [{
       
 20987     type: 'shortcode',
       
 20988     // Per "Shortcode names should be all lowercase and use all
       
 20989     // letters, but numbers and underscores should work fine too.
       
 20990     // Be wary of using hyphens (dashes), you'll be better off not
       
 20991     // using them." in https://codex.wordpress.org/Shortcode_API
       
 20992     // Require that the first character be a letter. This notably
       
 20993     // prevents footnote markings ([1]) from being caught as
       
 20994     // shortcodes.
       
 20995     tag: '[a-z][a-z0-9_-]*',
       
 20996     attributes: {
       
 20997       text: {
       
 20998         type: 'string',
       
 20999         shortcode: function shortcode(attrs, _ref) {
       
 21000           var content = _ref.content;
       
 21001           return Object(external_this_wp_autop_["removep"])(Object(external_this_wp_autop_["autop"])(content));
       
 21002         }
       
 21003       }
       
 21004     },
       
 21005     priority: 20
       
 21006   }]
       
 21007 };
       
 21008 /* harmony default export */ var shortcode_transforms = (shortcode_transforms_transforms);
       
 21009 
       
 21010 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/shortcode/index.js
       
 21011 /**
       
 21012  * WordPress dependencies
       
 21013  */
       
 21014 
       
 21015 
       
 21016 /**
       
 21017  * Internal dependencies
       
 21018  */
       
 21019 
       
 21020 
       
 21021 
       
 21022 
       
 21023 var shortcode_metadata = {
       
 21024   name: "core/shortcode",
       
 21025   category: "widgets",
       
 21026   attributes: {
       
 21027     text: {
       
 21028       type: "string",
       
 21029       source: "html"
       
 21030     }
       
 21031   },
       
 21032   supports: {
       
 21033     className: false,
       
 21034     customClassName: false,
       
 21035     html: false
       
 21036   }
       
 21037 };
       
 21038 var shortcode_name = shortcode_metadata.name;
       
 21039 
       
 21040 var shortcode_settings = {
       
 21041   title: Object(external_this_wp_i18n_["__"])('Shortcode'),
       
 21042   description: Object(external_this_wp_i18n_["__"])('Insert additional custom elements with a WordPress shortcode.'),
       
 21043   icon: library_shortcode,
       
 21044   transforms: shortcode_transforms,
       
 21045   edit: ShortcodeEdit,
       
 21046   save: shortcode_save_save
       
 21047 };
       
 21048 
       
 21049 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/resize-corner-n-e.js
       
 21050 
       
 21051 
       
 21052 /**
       
 21053  * WordPress dependencies
       
 21054  */
       
 21055 
       
 21056 var resizeCornerNE = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 21057   viewBox: "0 0 24 24",
       
 21058   xmlns: "http://www.w3.org/2000/svg"
       
 21059 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 21060   d: "M12.5 4.2v1.6h4.7L5.8 17.2V12H4.2v7.8H12v-1.6H6.8L18.2 6.8v4.7h1.6V4.2z"
       
 21061 }));
       
 21062 /* harmony default export */ var resize_corner_n_e = (resizeCornerNE);
       
 21063 
       
 21064 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/spacer/edit.js
       
 21065 
       
 21066 
       
 21067 
       
 21068 /**
       
 21069  * External dependencies
       
 21070  */
       
 21071 
       
 21072 /**
       
 21073  * WordPress dependencies
       
 21074  */
       
 21075 
       
 21076 
       
 21077 
       
 21078 
       
 21079 
       
 21080 
       
 21081 
       
 21082 var MIN_SPACER_HEIGHT = 20;
       
 21083 var MAX_SPACER_HEIGHT = 500;
       
 21084 
       
 21085 var edit_SpacerEdit = function SpacerEdit(_ref) {
       
 21086   var attributes = _ref.attributes,
       
 21087       isSelected = _ref.isSelected,
       
 21088       setAttributes = _ref.setAttributes,
       
 21089       onResizeStart = _ref.onResizeStart,
       
 21090       onResizeStop = _ref.onResizeStop;
       
 21091 
       
 21092   var _useState = Object(external_this_wp_element_["useState"])(false),
       
 21093       _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
       
 21094       isResizing = _useState2[0],
       
 21095       setIsResizing = _useState2[1];
       
 21096 
       
 21097   var height = attributes.height;
       
 21098 
       
 21099   var updateHeight = function updateHeight(value) {
       
 21100     setAttributes({
       
 21101       height: value
       
 21102     });
       
 21103   };
       
 21104 
       
 21105   var handleOnResizeStart = function handleOnResizeStart() {
       
 21106     onResizeStart.apply(void 0, arguments);
       
 21107     setIsResizing(true);
       
 21108   };
       
 21109 
       
 21110   var handleOnResizeStop = function handleOnResizeStop(event, direction, elt, delta) {
       
 21111     onResizeStop();
       
 21112     var spacerHeight = Math.min(parseInt(height + delta.height, 10), MAX_SPACER_HEIGHT);
       
 21113     updateHeight(spacerHeight);
       
 21114     setIsResizing(false);
       
 21115   };
       
 21116 
       
 21117   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ResizableBox"], {
       
 21118     className: classnames_default()('block-library-spacer__resize-container', {
       
 21119       'is-selected': isSelected
       
 21120     }),
       
 21121     size: {
       
 21122       height: height
       
 21123     },
       
 21124     minHeight: MIN_SPACER_HEIGHT,
       
 21125     enable: {
       
 21126       top: false,
       
 21127       right: false,
       
 21128       bottom: true,
       
 21129       left: false,
       
 21130       topRight: false,
       
 21131       bottomRight: false,
       
 21132       bottomLeft: false,
       
 21133       topLeft: false
       
 21134     },
       
 21135     onResizeStart: handleOnResizeStart,
       
 21136     onResizeStop: handleOnResizeStop,
       
 21137     showHandle: isSelected,
       
 21138     __experimentalShowTooltip: true,
       
 21139     __experimentalTooltipProps: {
       
 21140       axis: 'y',
       
 21141       position: 'bottom',
       
 21142       isVisible: isResizing
       
 21143     }
       
 21144   }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 21145     title: Object(external_this_wp_i18n_["__"])('Spacer settings')
       
 21146   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], {
       
 21147     label: Object(external_this_wp_i18n_["__"])('Height in pixels'),
       
 21148     min: MIN_SPACER_HEIGHT,
       
 21149     max: Math.max(MAX_SPACER_HEIGHT, height),
       
 21150     value: height,
       
 21151     onChange: updateHeight
       
 21152   }))));
       
 21153 };
       
 21154 
       
 21155 /* harmony default export */ var spacer_edit = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withDispatch"])(function (dispatch) {
       
 21156   var _dispatch = dispatch('core/block-editor'),
       
 21157       toggleSelection = _dispatch.toggleSelection;
       
 21158 
       
 21159   return {
       
 21160     onResizeStart: function onResizeStart() {
       
 21161       return toggleSelection(false);
       
 21162     },
       
 21163     onResizeStop: function onResizeStop() {
       
 21164       return toggleSelection(true);
       
 21165     }
       
 21166   };
       
 21167 }), external_this_wp_compose_["withInstanceId"]])(edit_SpacerEdit));
       
 21168 
       
 21169 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/spacer/save.js
       
 21170 
       
 21171 function spacer_save_save(_ref) {
       
 21172   var attributes = _ref.attributes;
       
 21173   return Object(external_this_wp_element_["createElement"])("div", {
       
 21174     style: {
       
 21175       height: attributes.height
       
 21176     },
       
 21177     "aria-hidden": true
       
 21178   });
       
 21179 }
       
 21180 
       
 21181 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/spacer/index.js
       
 21182 /**
       
 21183  * WordPress dependencies
       
 21184  */
       
 21185 
       
 21186 
       
 21187 /**
       
 21188  * Internal dependencies
       
 21189  */
       
 21190 
       
 21191 
       
 21192 var spacer_metadata = {
       
 21193   name: "core/spacer",
       
 21194   category: "design",
       
 21195   attributes: {
       
 21196     height: {
       
 21197       type: "number",
       
 21198       "default": 100
       
 21199     }
       
 21200   },
       
 21201   supports: {
       
 21202     anchor: true
       
 21203   }
       
 21204 };
       
 21205 
       
 21206 var spacer_name = spacer_metadata.name;
       
 21207 
       
 21208 var spacer_settings = {
       
 21209   title: Object(external_this_wp_i18n_["__"])('Spacer'),
       
 21210   description: Object(external_this_wp_i18n_["__"])('Add white space between blocks and customize its height.'),
       
 21211   icon: resize_corner_n_e,
       
 21212   edit: spacer_edit,
       
 21213   save: spacer_save_save
       
 21214 };
       
 21215 
       
 21216 // EXTERNAL MODULE: external {"this":["wp","deprecated"]}
       
 21217 var external_this_wp_deprecated_ = __webpack_require__(37);
       
 21218 var external_this_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_deprecated_);
       
 21219 
       
 21220 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/subhead/edit.js
       
 21221 
       
 21222 
       
 21223 /**
       
 21224  * WordPress dependencies
       
 21225  */
       
 21226 
       
 21227 
       
 21228 
       
 21229 function SubheadEdit(_ref) {
       
 21230   var attributes = _ref.attributes,
       
 21231       setAttributes = _ref.setAttributes,
       
 21232       className = _ref.className;
       
 21233   var align = attributes.align,
       
 21234       content = attributes.content,
       
 21235       placeholder = attributes.placeholder;
       
 21236   external_this_wp_deprecated_default()('The Subheading block', {
       
 21237     alternative: 'the Paragraph block',
       
 21238     plugin: 'Gutenberg'
       
 21239   });
       
 21240   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["AlignmentToolbar"], {
       
 21241     value: align,
       
 21242     onChange: function onChange(nextAlign) {
       
 21243       setAttributes({
       
 21244         align: nextAlign
       
 21245       });
       
 21246     }
       
 21247   })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 21248     tagName: "p",
       
 21249     value: content,
       
 21250     onChange: function onChange(nextContent) {
       
 21251       setAttributes({
       
 21252         content: nextContent
       
 21253       });
       
 21254     },
       
 21255     style: {
       
 21256       textAlign: align
       
 21257     },
       
 21258     className: className,
       
 21259     placeholder: placeholder || Object(external_this_wp_i18n_["__"])('Write subheading…')
       
 21260   }));
       
 21261 }
       
 21262 
       
 21263 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/subhead/save.js
       
 21264 
       
 21265 
       
 21266 /**
       
 21267  * WordPress dependencies
       
 21268  */
       
 21269 
       
 21270 function subhead_save_save(_ref) {
       
 21271   var attributes = _ref.attributes;
       
 21272   var align = attributes.align,
       
 21273       content = attributes.content;
       
 21274   return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 21275     tagName: "p",
       
 21276     style: {
       
 21277       textAlign: align
       
 21278     },
       
 21279     value: content
       
 21280   });
       
 21281 }
       
 21282 
       
 21283 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/subhead/transforms.js
       
 21284 /**
       
 21285  * WordPress dependencies
       
 21286  */
       
 21287 
       
 21288 var subhead_transforms_transforms = {
       
 21289   to: [{
       
 21290     type: 'block',
       
 21291     blocks: ['core/paragraph'],
       
 21292     transform: function transform(attributes) {
       
 21293       return Object(external_this_wp_blocks_["createBlock"])('core/paragraph', attributes);
       
 21294     }
       
 21295   }]
       
 21296 };
       
 21297 /* harmony default export */ var subhead_transforms = (subhead_transforms_transforms);
       
 21298 
       
 21299 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/subhead/index.js
       
 21300 
       
 21301 
       
 21302 /**
       
 21303  * WordPress dependencies
       
 21304  */
       
 21305 
       
 21306 
       
 21307 /**
       
 21308  * Internal dependencies
       
 21309  */
       
 21310 
       
 21311 
       
 21312 var subhead_metadata = {
       
 21313   name: "core/subhead",
       
 21314   category: "text",
       
 21315   attributes: {
       
 21316     align: {
       
 21317       type: "string"
       
 21318     },
       
 21319     content: {
       
 21320       type: "string",
       
 21321       source: "html",
       
 21322       selector: "p"
       
 21323     }
       
 21324   },
       
 21325   supports: {
       
 21326     inserter: false,
       
 21327     multiple: false
       
 21328   }
       
 21329 };
       
 21330 
       
 21331 
       
 21332 var subhead_name = subhead_metadata.name;
       
 21333 
       
 21334 var subhead_settings = {
       
 21335   title: Object(external_this_wp_i18n_["__"])('Subheading (deprecated)'),
       
 21336   description: Object(external_this_wp_i18n_["__"])('This block is deprecated. Please use the Paragraph block instead.'),
       
 21337   icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
 21338     xmlns: "http://www.w3.org/2000/svg",
       
 21339     viewBox: "0 0 24 24"
       
 21340   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 21341     d: "M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z"
       
 21342   })),
       
 21343   transforms: subhead_transforms,
       
 21344   edit: SubheadEdit,
       
 21345   save: subhead_save_save
       
 21346 };
       
 21347 
       
 21348 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/block-table.js
       
 21349 
       
 21350 
       
 21351 /**
       
 21352  * WordPress dependencies
       
 21353  */
       
 21354 
       
 21355 var blockTable = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 21356   viewBox: "0 0 24 24",
       
 21357   xmlns: "http://www.w3.org/2000/svg"
       
 21358 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 21359   d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v3.5h-15V5c0-.3.2-.5.5-.5zm8 5.5h6.5v3.5H13V10zm-1.5 3.5h-7V10h7v3.5zm-7 5.5v-4h7v4.5H5c-.3 0-.5-.2-.5-.5zm14.5.5h-6V15h6.5v4c0 .3-.2.5-.5.5z"
       
 21360 }));
       
 21361 /* harmony default export */ var block_table = (blockTable);
       
 21362 
       
 21363 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/deprecated.js
       
 21364 
       
 21365 
       
 21366 /**
       
 21367  * External dependencies
       
 21368  */
       
 21369 
       
 21370 /**
       
 21371  * WordPress dependencies
       
 21372  */
       
 21373 
       
 21374 
       
 21375 var table_deprecated_supports = {
       
 21376   align: true
       
 21377 };
       
 21378 var table_deprecated_deprecated = [{
       
 21379   attributes: {
       
 21380     hasFixedLayout: {
       
 21381       type: 'boolean',
       
 21382       default: false
       
 21383     },
       
 21384     backgroundColor: {
       
 21385       type: 'string'
       
 21386     },
       
 21387     head: {
       
 21388       type: 'array',
       
 21389       default: [],
       
 21390       source: 'query',
       
 21391       selector: 'thead tr',
       
 21392       query: {
       
 21393         cells: {
       
 21394           type: 'array',
       
 21395           default: [],
       
 21396           source: 'query',
       
 21397           selector: 'td,th',
       
 21398           query: {
       
 21399             content: {
       
 21400               type: 'string',
       
 21401               source: 'html'
       
 21402             },
       
 21403             tag: {
       
 21404               type: 'string',
       
 21405               default: 'td',
       
 21406               source: 'tag'
       
 21407             },
       
 21408             scope: {
       
 21409               type: 'string',
       
 21410               source: 'attribute',
       
 21411               attribute: 'scope'
       
 21412             }
       
 21413           }
       
 21414         }
       
 21415       }
       
 21416     },
       
 21417     body: {
       
 21418       type: 'array',
       
 21419       default: [],
       
 21420       source: 'query',
       
 21421       selector: 'tbody tr',
       
 21422       query: {
       
 21423         cells: {
       
 21424           type: 'array',
       
 21425           default: [],
       
 21426           source: 'query',
       
 21427           selector: 'td,th',
       
 21428           query: {
       
 21429             content: {
       
 21430               type: 'string',
       
 21431               source: 'html'
       
 21432             },
       
 21433             tag: {
       
 21434               type: 'string',
       
 21435               default: 'td',
       
 21436               source: 'tag'
       
 21437             },
       
 21438             scope: {
       
 21439               type: 'string',
       
 21440               source: 'attribute',
       
 21441               attribute: 'scope'
       
 21442             }
       
 21443           }
       
 21444         }
       
 21445       }
       
 21446     },
       
 21447     foot: {
       
 21448       type: 'array',
       
 21449       default: [],
       
 21450       source: 'query',
       
 21451       selector: 'tfoot tr',
       
 21452       query: {
       
 21453         cells: {
       
 21454           type: 'array',
       
 21455           default: [],
       
 21456           source: 'query',
       
 21457           selector: 'td,th',
       
 21458           query: {
       
 21459             content: {
       
 21460               type: 'string',
       
 21461               source: 'html'
       
 21462             },
       
 21463             tag: {
       
 21464               type: 'string',
       
 21465               default: 'td',
       
 21466               source: 'tag'
       
 21467             },
       
 21468             scope: {
       
 21469               type: 'string',
       
 21470               source: 'attribute',
       
 21471               attribute: 'scope'
       
 21472             }
       
 21473           }
       
 21474         }
       
 21475       }
       
 21476     }
       
 21477   },
       
 21478   supports: table_deprecated_supports,
       
 21479   save: function save(_ref) {
       
 21480     var attributes = _ref.attributes;
       
 21481     var hasFixedLayout = attributes.hasFixedLayout,
       
 21482         head = attributes.head,
       
 21483         body = attributes.body,
       
 21484         foot = attributes.foot,
       
 21485         backgroundColor = attributes.backgroundColor;
       
 21486     var isEmpty = !head.length && !body.length && !foot.length;
       
 21487 
       
 21488     if (isEmpty) {
       
 21489       return null;
       
 21490     }
       
 21491 
       
 21492     var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
       
 21493     var classes = classnames_default()(backgroundClass, {
       
 21494       'has-fixed-layout': hasFixedLayout,
       
 21495       'has-background': !!backgroundClass
       
 21496     });
       
 21497 
       
 21498     var Section = function Section(_ref2) {
       
 21499       var type = _ref2.type,
       
 21500           rows = _ref2.rows;
       
 21501 
       
 21502       if (!rows.length) {
       
 21503         return null;
       
 21504       }
       
 21505 
       
 21506       var Tag = "t".concat(type);
       
 21507       return Object(external_this_wp_element_["createElement"])(Tag, null, rows.map(function (_ref3, rowIndex) {
       
 21508         var cells = _ref3.cells;
       
 21509         return Object(external_this_wp_element_["createElement"])("tr", {
       
 21510           key: rowIndex
       
 21511         }, cells.map(function (_ref4, cellIndex) {
       
 21512           var content = _ref4.content,
       
 21513               tag = _ref4.tag,
       
 21514               scope = _ref4.scope;
       
 21515           return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 21516             tagName: tag,
       
 21517             value: content,
       
 21518             key: cellIndex,
       
 21519             scope: tag === 'th' ? scope : undefined
       
 21520           });
       
 21521         }));
       
 21522       }));
       
 21523     };
       
 21524 
       
 21525     return Object(external_this_wp_element_["createElement"])("table", {
       
 21526       className: classes
       
 21527     }, Object(external_this_wp_element_["createElement"])(Section, {
       
 21528       type: "head",
       
 21529       rows: head
       
 21530     }), Object(external_this_wp_element_["createElement"])(Section, {
       
 21531       type: "body",
       
 21532       rows: body
       
 21533     }), Object(external_this_wp_element_["createElement"])(Section, {
       
 21534       type: "foot",
       
 21535       rows: foot
       
 21536     }));
       
 21537   }
       
 21538 }];
       
 21539 /* harmony default export */ var table_deprecated = (table_deprecated_deprecated);
       
 21540 
       
 21541 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/align-left.js
       
 21542 var align_left = __webpack_require__(287);
       
 21543 
       
 21544 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/align-center.js
       
 21545 var align_center = __webpack_require__(288);
       
 21546 
       
 21547 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/align-right.js
       
 21548 var align_right = __webpack_require__(289);
       
 21549 
       
 21550 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/table-row-before.js
       
 21551 
       
 21552 
       
 21553 /**
       
 21554  * WordPress dependencies
       
 21555  */
       
 21556 
       
 21557 var tableRowBefore = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 21558   xmlns: "http://www.w3.org/2000/svg",
       
 21559   viewBox: "-2 -2 24 24"
       
 21560 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 21561   d: "M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84zM6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z"
       
 21562 }));
       
 21563 /* harmony default export */ var table_row_before = (tableRowBefore);
       
 21564 
       
 21565 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/table-row-after.js
       
 21566 
       
 21567 
       
 21568 /**
       
 21569  * WordPress dependencies
       
 21570  */
       
 21571 
       
 21572 var tableRowAfter = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 21573   xmlns: "http://www.w3.org/2000/svg",
       
 21574   viewBox: "-2 -2 24 24"
       
 21575 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 21576   d: "M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z"
       
 21577 }));
       
 21578 /* harmony default export */ var table_row_after = (tableRowAfter);
       
 21579 
       
 21580 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/table-row-delete.js
       
 21581 
       
 21582 
       
 21583 /**
       
 21584  * WordPress dependencies
       
 21585  */
       
 21586 
       
 21587 var tableRowDelete = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 21588   xmlns: "http://www.w3.org/2000/svg",
       
 21589   viewBox: "-2 -2 24 24"
       
 21590 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 21591   d: "M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z"
       
 21592 }));
       
 21593 /* harmony default export */ var table_row_delete = (tableRowDelete);
       
 21594 
       
 21595 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/table-column-before.js
       
 21596 
       
 21597 
       
 21598 /**
       
 21599  * WordPress dependencies
       
 21600  */
       
 21601 
       
 21602 var tableColumnBefore = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 21603   xmlns: "http://www.w3.org/2000/svg",
       
 21604   viewBox: "-2 -2 24 24"
       
 21605 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 21606   d: "M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z"
       
 21607 }));
       
 21608 /* harmony default export */ var table_column_before = (tableColumnBefore);
       
 21609 
       
 21610 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/table-column-after.js
       
 21611 
       
 21612 
       
 21613 /**
       
 21614  * WordPress dependencies
       
 21615  */
       
 21616 
       
 21617 var tableColumnAfter = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 21618   xmlns: "http://www.w3.org/2000/svg",
       
 21619   viewBox: "-2 -2 24 24"
       
 21620 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 21621   d: "M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z"
       
 21622 }));
       
 21623 /* harmony default export */ var table_column_after = (tableColumnAfter);
       
 21624 
       
 21625 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/table-column-delete.js
       
 21626 
       
 21627 
       
 21628 /**
       
 21629  * WordPress dependencies
       
 21630  */
       
 21631 
       
 21632 var tableColumnDelete = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 21633   xmlns: "http://www.w3.org/2000/svg",
       
 21634   viewBox: "-2 -2 24 24"
       
 21635 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 21636   d: "M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z"
       
 21637 }));
       
 21638 /* harmony default export */ var table_column_delete = (tableColumnDelete);
       
 21639 
       
 21640 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/table.js
       
 21641 
       
 21642 
       
 21643 /**
       
 21644  * WordPress dependencies
       
 21645  */
       
 21646 
       
 21647 var table = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 21648   xmlns: "http://www.w3.org/2000/svg",
       
 21649   viewBox: "0 0 24 24"
       
 21650 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 21651   d: "M4 6v11.5h16V6H4zm1.5 1.5h6V11h-6V7.5zm0 8.5v-3.5h6V16h-6zm13 0H13v-3.5h5.5V16zM13 11V7.5h5.5V11H13z"
       
 21652 }));
       
 21653 /* harmony default export */ var library_table = (table);
       
 21654 
       
 21655 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/state.js
       
 21656 
       
 21657 
       
 21658 
       
 21659 function state_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
 21660 
       
 21661 function state_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { state_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { state_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
 21662 
       
 21663 /**
       
 21664  * External dependencies
       
 21665  */
       
 21666 
       
 21667 var INHERITED_COLUMN_ATTRIBUTES = ['align'];
       
 21668 /**
       
 21669  * Creates a table state.
       
 21670  *
       
 21671  * @param {Object} options
       
 21672  * @param {number} options.rowCount    Row count for the table to create.
       
 21673  * @param {number} options.columnCount Column count for the table to create.
       
 21674  *
       
 21675  * @return {Object} New table state.
       
 21676  */
       
 21677 
       
 21678 function createTable(_ref) {
       
 21679   var rowCount = _ref.rowCount,
       
 21680       columnCount = _ref.columnCount;
       
 21681   return {
       
 21682     body: Object(external_this_lodash_["times"])(rowCount, function () {
       
 21683       return {
       
 21684         cells: Object(external_this_lodash_["times"])(columnCount, function () {
       
 21685           return {
       
 21686             content: '',
       
 21687             tag: 'td'
       
 21688           };
       
 21689         })
       
 21690       };
       
 21691     })
       
 21692   };
       
 21693 }
       
 21694 /**
       
 21695  * Returns the first row in the table.
       
 21696  *
       
 21697  * @param {Object} state Current table state.
       
 21698  *
       
 21699  * @return {Object} The first table row.
       
 21700  */
       
 21701 
       
 21702 function getFirstRow(state) {
       
 21703   if (!isEmptyTableSection(state.head)) {
       
 21704     return state.head[0];
       
 21705   }
       
 21706 
       
 21707   if (!isEmptyTableSection(state.body)) {
       
 21708     return state.body[0];
       
 21709   }
       
 21710 
       
 21711   if (!isEmptyTableSection(state.foot)) {
       
 21712     return state.foot[0];
       
 21713   }
       
 21714 }
       
 21715 /**
       
 21716  * Gets an attribute for a cell.
       
 21717  *
       
 21718  * @param {Object} state 		 Current table state.
       
 21719  * @param {Object} cellLocation  The location of the cell
       
 21720  * @param {string} attributeName The name of the attribute to get the value of.
       
 21721  *
       
 21722  * @return {*} The attribute value.
       
 21723  */
       
 21724 
       
 21725 function getCellAttribute(state, cellLocation, attributeName) {
       
 21726   var sectionName = cellLocation.sectionName,
       
 21727       rowIndex = cellLocation.rowIndex,
       
 21728       columnIndex = cellLocation.columnIndex;
       
 21729   return Object(external_this_lodash_["get"])(state, [sectionName, rowIndex, 'cells', columnIndex, attributeName]);
       
 21730 }
       
 21731 /**
       
 21732  * Returns updated cell attributes after applying the `updateCell` function to the selection.
       
 21733  *
       
 21734  * @param {Object}   state      The block attributes.
       
 21735  * @param {Object}   selection  The selection of cells to update.
       
 21736  * @param {Function} updateCell A function to update the selected cell attributes.
       
 21737  *
       
 21738  * @return {Object} New table state including the updated cells.
       
 21739  */
       
 21740 
       
 21741 function updateSelectedCell(state, selection, updateCell) {
       
 21742   if (!selection) {
       
 21743     return state;
       
 21744   }
       
 21745 
       
 21746   var tableSections = Object(external_this_lodash_["pick"])(state, ['head', 'body', 'foot']);
       
 21747   var selectionSectionName = selection.sectionName,
       
 21748       selectionRowIndex = selection.rowIndex;
       
 21749   return Object(external_this_lodash_["mapValues"])(tableSections, function (section, sectionName) {
       
 21750     if (selectionSectionName && selectionSectionName !== sectionName) {
       
 21751       return section;
       
 21752     }
       
 21753 
       
 21754     return section.map(function (row, rowIndex) {
       
 21755       if (selectionRowIndex && selectionRowIndex !== rowIndex) {
       
 21756         return row;
       
 21757       }
       
 21758 
       
 21759       return {
       
 21760         cells: row.cells.map(function (cellAttributes, columnIndex) {
       
 21761           var cellLocation = {
       
 21762             sectionName: sectionName,
       
 21763             columnIndex: columnIndex,
       
 21764             rowIndex: rowIndex
       
 21765           };
       
 21766 
       
 21767           if (!isCellSelected(cellLocation, selection)) {
       
 21768             return cellAttributes;
       
 21769           }
       
 21770 
       
 21771           return updateCell(cellAttributes);
       
 21772         })
       
 21773       };
       
 21774     });
       
 21775   });
       
 21776 }
       
 21777 /**
       
 21778  * Returns whether the cell at `cellLocation` is included in the selection `selection`.
       
 21779  *
       
 21780  * @param {Object} cellLocation An object containing cell location properties.
       
 21781  * @param {Object} selection    An object containing selection properties.
       
 21782  *
       
 21783  * @return {boolean} True if the cell is selected, false otherwise.
       
 21784  */
       
 21785 
       
 21786 function isCellSelected(cellLocation, selection) {
       
 21787   if (!cellLocation || !selection) {
       
 21788     return false;
       
 21789   }
       
 21790 
       
 21791   switch (selection.type) {
       
 21792     case 'column':
       
 21793       return selection.type === 'column' && cellLocation.columnIndex === selection.columnIndex;
       
 21794 
       
 21795     case 'cell':
       
 21796       return selection.type === 'cell' && cellLocation.sectionName === selection.sectionName && cellLocation.columnIndex === selection.columnIndex && cellLocation.rowIndex === selection.rowIndex;
       
 21797   }
       
 21798 }
       
 21799 /**
       
 21800  * Inserts a row in the table state.
       
 21801  *
       
 21802  * @param {Object} state               Current table state.
       
 21803  * @param {Object} options
       
 21804  * @param {string} options.sectionName Section in which to insert the row.
       
 21805  * @param {number} options.rowIndex    Row index at which to insert the row.
       
 21806  * @param {number} options.columnCount Column count for the table to create.
       
 21807  *
       
 21808  * @return {Object} New table state.
       
 21809  */
       
 21810 
       
 21811 function insertRow(state, _ref2) {
       
 21812   var sectionName = _ref2.sectionName,
       
 21813       rowIndex = _ref2.rowIndex,
       
 21814       columnCount = _ref2.columnCount;
       
 21815   var firstRow = getFirstRow(state);
       
 21816   var cellCount = columnCount === undefined ? Object(external_this_lodash_["get"])(firstRow, ['cells', 'length']) : columnCount; // Bail early if the function cannot determine how many cells to add.
       
 21817 
       
 21818   if (!cellCount) {
       
 21819     return state;
       
 21820   }
       
 21821 
       
 21822   return Object(defineProperty["a" /* default */])({}, sectionName, [].concat(Object(toConsumableArray["a" /* default */])(state[sectionName].slice(0, rowIndex)), [{
       
 21823     cells: Object(external_this_lodash_["times"])(cellCount, function (index) {
       
 21824       var firstCellInColumn = Object(external_this_lodash_["get"])(firstRow, ['cells', index], {});
       
 21825       var inheritedAttributes = Object(external_this_lodash_["pick"])(firstCellInColumn, INHERITED_COLUMN_ATTRIBUTES);
       
 21826       return state_objectSpread({}, inheritedAttributes, {
       
 21827         content: '',
       
 21828         tag: sectionName === 'head' ? 'th' : 'td'
       
 21829       });
       
 21830     })
       
 21831   }], Object(toConsumableArray["a" /* default */])(state[sectionName].slice(rowIndex))));
       
 21832 }
       
 21833 /**
       
 21834  * Deletes a row from the table state.
       
 21835  *
       
 21836  * @param {Object} state               Current table state.
       
 21837  * @param {Object} options
       
 21838  * @param {string} options.sectionName Section in which to delete the row.
       
 21839  * @param {number} options.rowIndex    Row index to delete.
       
 21840  *
       
 21841  * @return {Object} New table state.
       
 21842  */
       
 21843 
       
 21844 function deleteRow(state, _ref4) {
       
 21845   var sectionName = _ref4.sectionName,
       
 21846       rowIndex = _ref4.rowIndex;
       
 21847   return Object(defineProperty["a" /* default */])({}, sectionName, state[sectionName].filter(function (row, index) {
       
 21848     return index !== rowIndex;
       
 21849   }));
       
 21850 }
       
 21851 /**
       
 21852  * Inserts a column in the table state.
       
 21853  *
       
 21854  * @param {Object} state               Current table state.
       
 21855  * @param {Object} options
       
 21856  * @param {number} options.columnIndex Column index at which to insert the column.
       
 21857  *
       
 21858  * @return {Object} New table state.
       
 21859  */
       
 21860 
       
 21861 function insertColumn(state, _ref6) {
       
 21862   var columnIndex = _ref6.columnIndex;
       
 21863   var tableSections = Object(external_this_lodash_["pick"])(state, ['head', 'body', 'foot']);
       
 21864   return Object(external_this_lodash_["mapValues"])(tableSections, function (section, sectionName) {
       
 21865     // Bail early if the table section is empty.
       
 21866     if (isEmptyTableSection(section)) {
       
 21867       return section;
       
 21868     }
       
 21869 
       
 21870     return section.map(function (row) {
       
 21871       // Bail early if the row is empty or it's an attempt to insert past
       
 21872       // the last possible index of the array.
       
 21873       if (isEmptyRow(row) || row.cells.length < columnIndex) {
       
 21874         return row;
       
 21875       }
       
 21876 
       
 21877       return {
       
 21878         cells: [].concat(Object(toConsumableArray["a" /* default */])(row.cells.slice(0, columnIndex)), [{
       
 21879           content: '',
       
 21880           tag: sectionName === 'head' ? 'th' : 'td'
       
 21881         }], Object(toConsumableArray["a" /* default */])(row.cells.slice(columnIndex)))
       
 21882       };
       
 21883     });
       
 21884   });
       
 21885 }
       
 21886 /**
       
 21887  * Deletes a column from the table state.
       
 21888  *
       
 21889  * @param {Object} state               Current table state.
       
 21890  * @param {Object} options
       
 21891  * @param {number} options.columnIndex Column index to delete.
       
 21892  *
       
 21893  * @return {Object} New table state.
       
 21894  */
       
 21895 
       
 21896 function deleteColumn(state, _ref7) {
       
 21897   var columnIndex = _ref7.columnIndex;
       
 21898   var tableSections = Object(external_this_lodash_["pick"])(state, ['head', 'body', 'foot']);
       
 21899   return Object(external_this_lodash_["mapValues"])(tableSections, function (section) {
       
 21900     // Bail early if the table section is empty.
       
 21901     if (isEmptyTableSection(section)) {
       
 21902       return section;
       
 21903     }
       
 21904 
       
 21905     return section.map(function (row) {
       
 21906       return {
       
 21907         cells: row.cells.length >= columnIndex ? row.cells.filter(function (cell, index) {
       
 21908           return index !== columnIndex;
       
 21909         }) : row.cells
       
 21910       };
       
 21911     }).filter(function (row) {
       
 21912       return row.cells.length;
       
 21913     });
       
 21914   });
       
 21915 }
       
 21916 /**
       
 21917  * Toggles the existance of a section.
       
 21918  *
       
 21919  * @param {Object} state       Current table state.
       
 21920  * @param {string} sectionName Name of the section to toggle.
       
 21921  *
       
 21922  * @return {Object} New table state.
       
 21923  */
       
 21924 
       
 21925 function toggleSection(state, sectionName) {
       
 21926   // Section exists, replace it with an empty row to remove it.
       
 21927   if (!isEmptyTableSection(state[sectionName])) {
       
 21928     return Object(defineProperty["a" /* default */])({}, sectionName, []);
       
 21929   } // Get the length of the first row of the body to use when creating the header.
       
 21930 
       
 21931 
       
 21932   var columnCount = Object(external_this_lodash_["get"])(state, ['body', 0, 'cells', 'length'], 1); // Section doesn't exist, insert an empty row to create the section.
       
 21933 
       
 21934   return insertRow(state, {
       
 21935     sectionName: sectionName,
       
 21936     rowIndex: 0,
       
 21937     columnCount: columnCount
       
 21938   });
       
 21939 }
       
 21940 /**
       
 21941  * Determines whether a table section is empty.
       
 21942  *
       
 21943  * @param {Object} section Table section state.
       
 21944  *
       
 21945  * @return {boolean} True if the table section is empty, false otherwise.
       
 21946  */
       
 21947 
       
 21948 function isEmptyTableSection(section) {
       
 21949   return !section || !section.length || Object(external_this_lodash_["every"])(section, isEmptyRow);
       
 21950 }
       
 21951 /**
       
 21952  * Determines whether a table row is empty.
       
 21953  *
       
 21954  * @param {Object} row Table row state.
       
 21955  *
       
 21956  * @return {boolean} True if the table section is empty, false otherwise.
       
 21957  */
       
 21958 
       
 21959 function isEmptyRow(row) {
       
 21960   return !(row.cells && row.cells.length);
       
 21961 }
       
 21962 
       
 21963 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/edit.js
       
 21964 
       
 21965 
       
 21966 
       
 21967 
       
 21968 
       
 21969 
       
 21970 
       
 21971 
       
 21972 
       
 21973 function table_edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
 21974 
       
 21975 function table_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { table_edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { table_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
 21976 
       
 21977 function table_edit_createSuper(Derived) { return function () { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (table_edit_isNativeReflectConstruct()) { var NewTarget = Object(getPrototypeOf["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(possibleConstructorReturn["a" /* default */])(this, result); }; }
       
 21978 
       
 21979 function table_edit_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
       
 21980 
       
 21981 /**
       
 21982  * External dependencies
       
 21983  */
       
 21984 
       
 21985 /**
       
 21986  * WordPress dependencies
       
 21987  */
       
 21988 
       
 21989 
       
 21990 
       
 21991 
       
 21992 
       
 21993 
       
 21994 
       
 21995 /**
       
 21996  * Internal dependencies
       
 21997  */
       
 21998 
       
 21999 
       
 22000 var BACKGROUND_COLORS = [{
       
 22001   color: '#f3f4f5',
       
 22002   name: 'Subtle light gray',
       
 22003   slug: 'subtle-light-gray'
       
 22004 }, {
       
 22005   color: '#e9fbe5',
       
 22006   name: 'Subtle pale green',
       
 22007   slug: 'subtle-pale-green'
       
 22008 }, {
       
 22009   color: '#e7f5fe',
       
 22010   name: 'Subtle pale blue',
       
 22011   slug: 'subtle-pale-blue'
       
 22012 }, {
       
 22013   color: '#fcf0ef',
       
 22014   name: 'Subtle pale pink',
       
 22015   slug: 'subtle-pale-pink'
       
 22016 }];
       
 22017 var ALIGNMENT_CONTROLS = [{
       
 22018   icon: align_left["a" /* default */],
       
 22019   title: Object(external_this_wp_i18n_["__"])('Align Column Left'),
       
 22020   align: 'left'
       
 22021 }, {
       
 22022   icon: align_center["a" /* default */],
       
 22023   title: Object(external_this_wp_i18n_["__"])('Align Column Center'),
       
 22024   align: 'center'
       
 22025 }, {
       
 22026   icon: align_right["a" /* default */],
       
 22027   title: Object(external_this_wp_i18n_["__"])('Align Column Right'),
       
 22028   align: 'right'
       
 22029 }];
       
 22030 var withCustomBackgroundColors = Object(external_this_wp_blockEditor_["createCustomColorsHOC"])(BACKGROUND_COLORS);
       
 22031 var edit_TableEdit = /*#__PURE__*/function (_Component) {
       
 22032   Object(inherits["a" /* default */])(TableEdit, _Component);
       
 22033 
       
 22034   var _super = table_edit_createSuper(TableEdit);
       
 22035 
       
 22036   function TableEdit() {
       
 22037     var _this;
       
 22038 
       
 22039     Object(classCallCheck["a" /* default */])(this, TableEdit);
       
 22040 
       
 22041     _this = _super.apply(this, arguments);
       
 22042     _this.onCreateTable = _this.onCreateTable.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 22043     _this.onChangeFixedLayout = _this.onChangeFixedLayout.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 22044     _this.onChange = _this.onChange.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 22045     _this.onChangeInitialColumnCount = _this.onChangeInitialColumnCount.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 22046     _this.onChangeInitialRowCount = _this.onChangeInitialRowCount.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 22047     _this.renderSection = _this.renderSection.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 22048     _this.getTableControls = _this.getTableControls.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 22049     _this.onInsertRow = _this.onInsertRow.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 22050     _this.onInsertRowBefore = _this.onInsertRowBefore.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 22051     _this.onInsertRowAfter = _this.onInsertRowAfter.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 22052     _this.onDeleteRow = _this.onDeleteRow.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 22053     _this.onInsertColumn = _this.onInsertColumn.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 22054     _this.onInsertColumnBefore = _this.onInsertColumnBefore.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 22055     _this.onInsertColumnAfter = _this.onInsertColumnAfter.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 22056     _this.onDeleteColumn = _this.onDeleteColumn.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 22057     _this.onToggleHeaderSection = _this.onToggleHeaderSection.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 22058     _this.onToggleFooterSection = _this.onToggleFooterSection.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 22059     _this.onChangeColumnAlignment = _this.onChangeColumnAlignment.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 22060     _this.getCellAlignment = _this.getCellAlignment.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 22061     _this.state = {
       
 22062       initialRowCount: 2,
       
 22063       initialColumnCount: 2,
       
 22064       selectedCell: null
       
 22065     };
       
 22066     return _this;
       
 22067   }
       
 22068   /**
       
 22069    * Updates the initial column count used for table creation.
       
 22070    *
       
 22071    * @param {number} initialColumnCount New initial column count.
       
 22072    */
       
 22073 
       
 22074 
       
 22075   Object(createClass["a" /* default */])(TableEdit, [{
       
 22076     key: "onChangeInitialColumnCount",
       
 22077     value: function onChangeInitialColumnCount(initialColumnCount) {
       
 22078       this.setState({
       
 22079         initialColumnCount: initialColumnCount
       
 22080       });
       
 22081     }
       
 22082     /**
       
 22083      * Updates the initial row count used for table creation.
       
 22084      *
       
 22085      * @param {number} initialRowCount New initial row count.
       
 22086      */
       
 22087 
       
 22088   }, {
       
 22089     key: "onChangeInitialRowCount",
       
 22090     value: function onChangeInitialRowCount(initialRowCount) {
       
 22091       this.setState({
       
 22092         initialRowCount: initialRowCount
       
 22093       });
       
 22094     }
       
 22095     /**
       
 22096      * Creates a table based on dimensions in local state.
       
 22097      *
       
 22098      * @param {Object} event Form submit event.
       
 22099      */
       
 22100 
       
 22101   }, {
       
 22102     key: "onCreateTable",
       
 22103     value: function onCreateTable(event) {
       
 22104       event.preventDefault();
       
 22105       var setAttributes = this.props.setAttributes;
       
 22106       var _this$state = this.state,
       
 22107           initialRowCount = _this$state.initialRowCount,
       
 22108           initialColumnCount = _this$state.initialColumnCount;
       
 22109       initialRowCount = parseInt(initialRowCount, 10) || 2;
       
 22110       initialColumnCount = parseInt(initialColumnCount, 10) || 2;
       
 22111       setAttributes(createTable({
       
 22112         rowCount: initialRowCount,
       
 22113         columnCount: initialColumnCount
       
 22114       }));
       
 22115     }
       
 22116     /**
       
 22117      * Toggles whether the table has a fixed layout or not.
       
 22118      */
       
 22119 
       
 22120   }, {
       
 22121     key: "onChangeFixedLayout",
       
 22122     value: function onChangeFixedLayout() {
       
 22123       var _this$props = this.props,
       
 22124           attributes = _this$props.attributes,
       
 22125           setAttributes = _this$props.setAttributes;
       
 22126       var hasFixedLayout = attributes.hasFixedLayout;
       
 22127       setAttributes({
       
 22128         hasFixedLayout: !hasFixedLayout
       
 22129       });
       
 22130     }
       
 22131     /**
       
 22132      * Changes the content of the currently selected cell.
       
 22133      *
       
 22134      * @param {Array} content A RichText content value.
       
 22135      */
       
 22136 
       
 22137   }, {
       
 22138     key: "onChange",
       
 22139     value: function onChange(content) {
       
 22140       var selectedCell = this.state.selectedCell;
       
 22141 
       
 22142       if (!selectedCell) {
       
 22143         return;
       
 22144       }
       
 22145 
       
 22146       var _this$props2 = this.props,
       
 22147           attributes = _this$props2.attributes,
       
 22148           setAttributes = _this$props2.setAttributes;
       
 22149       setAttributes(updateSelectedCell(attributes, selectedCell, function (cellAttributes) {
       
 22150         return table_edit_objectSpread({}, cellAttributes, {
       
 22151           content: content
       
 22152         });
       
 22153       }));
       
 22154     }
       
 22155     /**
       
 22156      * Align text within the a column.
       
 22157      *
       
 22158      * @param {string} align The new alignment to apply to the column.
       
 22159      */
       
 22160 
       
 22161   }, {
       
 22162     key: "onChangeColumnAlignment",
       
 22163     value: function onChangeColumnAlignment(align) {
       
 22164       var selectedCell = this.state.selectedCell;
       
 22165 
       
 22166       if (!selectedCell) {
       
 22167         return;
       
 22168       } // Convert the cell selection to a column selection so that alignment
       
 22169       // is applied to the entire column.
       
 22170 
       
 22171 
       
 22172       var columnSelection = {
       
 22173         type: 'column',
       
 22174         columnIndex: selectedCell.columnIndex
       
 22175       };
       
 22176       var _this$props3 = this.props,
       
 22177           attributes = _this$props3.attributes,
       
 22178           setAttributes = _this$props3.setAttributes;
       
 22179       var newAttributes = updateSelectedCell(attributes, columnSelection, function (cellAttributes) {
       
 22180         return table_edit_objectSpread({}, cellAttributes, {
       
 22181           align: align
       
 22182         });
       
 22183       });
       
 22184       setAttributes(newAttributes);
       
 22185     }
       
 22186     /**
       
 22187      * Get the alignment of the currently selected cell.
       
 22188      *
       
 22189      * @return {string} The new alignment to apply to the column.
       
 22190      */
       
 22191 
       
 22192   }, {
       
 22193     key: "getCellAlignment",
       
 22194     value: function getCellAlignment() {
       
 22195       var selectedCell = this.state.selectedCell;
       
 22196 
       
 22197       if (!selectedCell) {
       
 22198         return;
       
 22199       }
       
 22200 
       
 22201       var attributes = this.props.attributes;
       
 22202       return getCellAttribute(attributes, selectedCell, 'align');
       
 22203     }
       
 22204     /**
       
 22205      * Add or remove a `head` table section.
       
 22206      */
       
 22207 
       
 22208   }, {
       
 22209     key: "onToggleHeaderSection",
       
 22210     value: function onToggleHeaderSection() {
       
 22211       var _this$props4 = this.props,
       
 22212           attributes = _this$props4.attributes,
       
 22213           setAttributes = _this$props4.setAttributes;
       
 22214       setAttributes(toggleSection(attributes, 'head'));
       
 22215     }
       
 22216     /**
       
 22217      * Add or remove a `foot` table section.
       
 22218      */
       
 22219 
       
 22220   }, {
       
 22221     key: "onToggleFooterSection",
       
 22222     value: function onToggleFooterSection() {
       
 22223       var _this$props5 = this.props,
       
 22224           attributes = _this$props5.attributes,
       
 22225           setAttributes = _this$props5.setAttributes;
       
 22226       setAttributes(toggleSection(attributes, 'foot'));
       
 22227     }
       
 22228     /**
       
 22229      * Inserts a row at the currently selected row index, plus `delta`.
       
 22230      *
       
 22231      * @param {number} delta Offset for selected row index at which to insert.
       
 22232      */
       
 22233 
       
 22234   }, {
       
 22235     key: "onInsertRow",
       
 22236     value: function onInsertRow(delta) {
       
 22237       var selectedCell = this.state.selectedCell;
       
 22238 
       
 22239       if (!selectedCell) {
       
 22240         return;
       
 22241       }
       
 22242 
       
 22243       var _this$props6 = this.props,
       
 22244           attributes = _this$props6.attributes,
       
 22245           setAttributes = _this$props6.setAttributes;
       
 22246       var sectionName = selectedCell.sectionName,
       
 22247           rowIndex = selectedCell.rowIndex;
       
 22248       var newRowIndex = rowIndex + delta;
       
 22249       setAttributes(insertRow(attributes, {
       
 22250         sectionName: sectionName,
       
 22251         rowIndex: newRowIndex
       
 22252       })); // Select the first cell of the new row
       
 22253 
       
 22254       this.setState({
       
 22255         selectedCell: {
       
 22256           sectionName: sectionName,
       
 22257           rowIndex: newRowIndex,
       
 22258           columnIndex: 0,
       
 22259           type: 'cell'
       
 22260         }
       
 22261       });
       
 22262     }
       
 22263     /**
       
 22264      * Inserts a row before the currently selected row.
       
 22265      */
       
 22266 
       
 22267   }, {
       
 22268     key: "onInsertRowBefore",
       
 22269     value: function onInsertRowBefore() {
       
 22270       this.onInsertRow(0);
       
 22271     }
       
 22272     /**
       
 22273      * Inserts a row after the currently selected row.
       
 22274      */
       
 22275 
       
 22276   }, {
       
 22277     key: "onInsertRowAfter",
       
 22278     value: function onInsertRowAfter() {
       
 22279       this.onInsertRow(1);
       
 22280     }
       
 22281     /**
       
 22282      * Deletes the currently selected row.
       
 22283      */
       
 22284 
       
 22285   }, {
       
 22286     key: "onDeleteRow",
       
 22287     value: function onDeleteRow() {
       
 22288       var selectedCell = this.state.selectedCell;
       
 22289 
       
 22290       if (!selectedCell) {
       
 22291         return;
       
 22292       }
       
 22293 
       
 22294       var _this$props7 = this.props,
       
 22295           attributes = _this$props7.attributes,
       
 22296           setAttributes = _this$props7.setAttributes;
       
 22297       var sectionName = selectedCell.sectionName,
       
 22298           rowIndex = selectedCell.rowIndex;
       
 22299       this.setState({
       
 22300         selectedCell: null
       
 22301       });
       
 22302       setAttributes(deleteRow(attributes, {
       
 22303         sectionName: sectionName,
       
 22304         rowIndex: rowIndex
       
 22305       }));
       
 22306     }
       
 22307     /**
       
 22308      * Inserts a column at the currently selected column index, plus `delta`.
       
 22309      *
       
 22310      * @param {number} delta Offset for selected column index at which to insert.
       
 22311      */
       
 22312 
       
 22313   }, {
       
 22314     key: "onInsertColumn",
       
 22315     value: function onInsertColumn() {
       
 22316       var delta = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
       
 22317       var selectedCell = this.state.selectedCell;
       
 22318 
       
 22319       if (!selectedCell) {
       
 22320         return;
       
 22321       }
       
 22322 
       
 22323       var _this$props8 = this.props,
       
 22324           attributes = _this$props8.attributes,
       
 22325           setAttributes = _this$props8.setAttributes;
       
 22326       var columnIndex = selectedCell.columnIndex;
       
 22327       var newColumnIndex = columnIndex + delta;
       
 22328       setAttributes(insertColumn(attributes, {
       
 22329         columnIndex: newColumnIndex
       
 22330       })); // Select the first cell of the new column
       
 22331 
       
 22332       this.setState({
       
 22333         selectedCell: {
       
 22334           rowIndex: 0,
       
 22335           columnIndex: newColumnIndex,
       
 22336           type: 'cell'
       
 22337         }
       
 22338       });
       
 22339     }
       
 22340     /**
       
 22341      * Inserts a column before the currently selected column.
       
 22342      */
       
 22343 
       
 22344   }, {
       
 22345     key: "onInsertColumnBefore",
       
 22346     value: function onInsertColumnBefore() {
       
 22347       this.onInsertColumn(0);
       
 22348     }
       
 22349     /**
       
 22350      * Inserts a column after the currently selected column.
       
 22351      */
       
 22352 
       
 22353   }, {
       
 22354     key: "onInsertColumnAfter",
       
 22355     value: function onInsertColumnAfter() {
       
 22356       this.onInsertColumn(1);
       
 22357     }
       
 22358     /**
       
 22359      * Deletes the currently selected column.
       
 22360      */
       
 22361 
       
 22362   }, {
       
 22363     key: "onDeleteColumn",
       
 22364     value: function onDeleteColumn() {
       
 22365       var selectedCell = this.state.selectedCell;
       
 22366 
       
 22367       if (!selectedCell) {
       
 22368         return;
       
 22369       }
       
 22370 
       
 22371       var _this$props9 = this.props,
       
 22372           attributes = _this$props9.attributes,
       
 22373           setAttributes = _this$props9.setAttributes;
       
 22374       var sectionName = selectedCell.sectionName,
       
 22375           columnIndex = selectedCell.columnIndex;
       
 22376       this.setState({
       
 22377         selectedCell: null
       
 22378       });
       
 22379       setAttributes(deleteColumn(attributes, {
       
 22380         sectionName: sectionName,
       
 22381         columnIndex: columnIndex
       
 22382       }));
       
 22383     }
       
 22384     /**
       
 22385      * Creates an onFocus handler for a specified cell.
       
 22386      *
       
 22387      * @param {Object} cellLocation Object with `section`, `rowIndex`, and
       
 22388      *                              `columnIndex` properties.
       
 22389      *
       
 22390      * @return {Function} Function to call on focus.
       
 22391      */
       
 22392 
       
 22393   }, {
       
 22394     key: "createOnFocus",
       
 22395     value: function createOnFocus(cellLocation) {
       
 22396       var _this2 = this;
       
 22397 
       
 22398       return function () {
       
 22399         _this2.setState({
       
 22400           selectedCell: table_edit_objectSpread({}, cellLocation, {
       
 22401             type: 'cell'
       
 22402           })
       
 22403         });
       
 22404       };
       
 22405     }
       
 22406     /**
       
 22407      * Gets the table controls to display in the block toolbar.
       
 22408      *
       
 22409      * @return {Array} Table controls.
       
 22410      */
       
 22411 
       
 22412   }, {
       
 22413     key: "getTableControls",
       
 22414     value: function getTableControls() {
       
 22415       var selectedCell = this.state.selectedCell;
       
 22416       return [{
       
 22417         icon: table_row_before,
       
 22418         title: Object(external_this_wp_i18n_["__"])('Add Row Before'),
       
 22419         isDisabled: !selectedCell,
       
 22420         onClick: this.onInsertRowBefore
       
 22421       }, {
       
 22422         icon: table_row_after,
       
 22423         title: Object(external_this_wp_i18n_["__"])('Add Row After'),
       
 22424         isDisabled: !selectedCell,
       
 22425         onClick: this.onInsertRowAfter
       
 22426       }, {
       
 22427         icon: table_row_delete,
       
 22428         title: Object(external_this_wp_i18n_["__"])('Delete Row'),
       
 22429         isDisabled: !selectedCell,
       
 22430         onClick: this.onDeleteRow
       
 22431       }, {
       
 22432         icon: table_column_before,
       
 22433         title: Object(external_this_wp_i18n_["__"])('Add Column Before'),
       
 22434         isDisabled: !selectedCell,
       
 22435         onClick: this.onInsertColumnBefore
       
 22436       }, {
       
 22437         icon: table_column_after,
       
 22438         title: Object(external_this_wp_i18n_["__"])('Add Column After'),
       
 22439         isDisabled: !selectedCell,
       
 22440         onClick: this.onInsertColumnAfter
       
 22441       }, {
       
 22442         icon: table_column_delete,
       
 22443         title: Object(external_this_wp_i18n_["__"])('Delete Column'),
       
 22444         isDisabled: !selectedCell,
       
 22445         onClick: this.onDeleteColumn
       
 22446       }];
       
 22447     }
       
 22448     /**
       
 22449      * Renders a table section.
       
 22450      *
       
 22451      * @param {Object} options
       
 22452      * @param {string} options.name Section type: head, body, or foot.
       
 22453      * @param {Array}  options.rows The rows to render.
       
 22454      *
       
 22455      * @return {Object} React element for the section.
       
 22456      */
       
 22457 
       
 22458   }, {
       
 22459     key: "renderSection",
       
 22460     value: function renderSection(_ref) {
       
 22461       var _this3 = this;
       
 22462 
       
 22463       var name = _ref.name,
       
 22464           rows = _ref.rows;
       
 22465 
       
 22466       if (isEmptyTableSection(rows)) {
       
 22467         return null;
       
 22468       }
       
 22469 
       
 22470       var Tag = "t".concat(name);
       
 22471       return Object(external_this_wp_element_["createElement"])(Tag, null, rows.map(function (_ref2, rowIndex) {
       
 22472         var cells = _ref2.cells;
       
 22473         return Object(external_this_wp_element_["createElement"])("tr", {
       
 22474           key: rowIndex
       
 22475         }, cells.map(function (_ref3, columnIndex) {
       
 22476           var content = _ref3.content,
       
 22477               CellTag = _ref3.tag,
       
 22478               scope = _ref3.scope,
       
 22479               align = _ref3.align;
       
 22480           var cellLocation = {
       
 22481             sectionName: name,
       
 22482             rowIndex: rowIndex,
       
 22483             columnIndex: columnIndex
       
 22484           };
       
 22485           var cellClasses = classnames_default()(Object(defineProperty["a" /* default */])({}, "has-text-align-".concat(align), align), 'wp-block-table__cell-content');
       
 22486           var placeholder = '';
       
 22487 
       
 22488           if (name === 'head') {
       
 22489             placeholder = Object(external_this_wp_i18n_["__"])('Header label');
       
 22490           } else if (name === 'foot') {
       
 22491             placeholder = Object(external_this_wp_i18n_["__"])('Footer label');
       
 22492           }
       
 22493 
       
 22494           return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 22495             tagName: CellTag,
       
 22496             key: columnIndex,
       
 22497             className: cellClasses,
       
 22498             scope: CellTag === 'th' ? scope : undefined,
       
 22499             value: content,
       
 22500             onChange: _this3.onChange,
       
 22501             unstableOnFocus: _this3.createOnFocus(cellLocation),
       
 22502             placeholder: placeholder
       
 22503           });
       
 22504         }));
       
 22505       }));
       
 22506     }
       
 22507   }, {
       
 22508     key: "componentDidUpdate",
       
 22509     value: function componentDidUpdate() {
       
 22510       var isSelected = this.props.isSelected;
       
 22511       var selectedCell = this.state.selectedCell;
       
 22512 
       
 22513       if (!isSelected && selectedCell) {
       
 22514         this.setState({
       
 22515           selectedCell: null
       
 22516         });
       
 22517       }
       
 22518     }
       
 22519   }, {
       
 22520     key: "render",
       
 22521     value: function render() {
       
 22522       var _this4 = this;
       
 22523 
       
 22524       var _this$props10 = this.props,
       
 22525           attributes = _this$props10.attributes,
       
 22526           className = _this$props10.className,
       
 22527           backgroundColor = _this$props10.backgroundColor,
       
 22528           setBackgroundColor = _this$props10.setBackgroundColor,
       
 22529           setAttributes = _this$props10.setAttributes,
       
 22530           insertBlocksAfter = _this$props10.insertBlocksAfter;
       
 22531       var _this$state2 = this.state,
       
 22532           initialRowCount = _this$state2.initialRowCount,
       
 22533           initialColumnCount = _this$state2.initialColumnCount;
       
 22534       var hasFixedLayout = attributes.hasFixedLayout,
       
 22535           caption = attributes.caption,
       
 22536           head = attributes.head,
       
 22537           body = attributes.body,
       
 22538           foot = attributes.foot;
       
 22539       var isEmpty = isEmptyTableSection(head) && isEmptyTableSection(body) && isEmptyTableSection(foot);
       
 22540       var Section = this.renderSection;
       
 22541 
       
 22542       if (isEmpty) {
       
 22543         return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], {
       
 22544           label: Object(external_this_wp_i18n_["__"])('Table'),
       
 22545           icon: Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], {
       
 22546             icon: block_table,
       
 22547             showColors: true
       
 22548           }),
       
 22549           instructions: Object(external_this_wp_i18n_["__"])('Insert a table for sharing data.')
       
 22550         }, Object(external_this_wp_element_["createElement"])("form", {
       
 22551           className: "blocks-table__placeholder-form",
       
 22552           onSubmit: this.onCreateTable
       
 22553         }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
       
 22554           type: "number",
       
 22555           label: Object(external_this_wp_i18n_["__"])('Column Count'),
       
 22556           value: initialColumnCount,
       
 22557           onChange: this.onChangeInitialColumnCount,
       
 22558           min: "1",
       
 22559           className: "blocks-table__placeholder-input"
       
 22560         }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
       
 22561           type: "number",
       
 22562           label: Object(external_this_wp_i18n_["__"])('Row Count'),
       
 22563           value: initialRowCount,
       
 22564           onChange: this.onChangeInitialRowCount,
       
 22565           min: "1",
       
 22566           className: "blocks-table__placeholder-input"
       
 22567         }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
 22568           className: "blocks-table__placeholder-button",
       
 22569           isPrimary: true,
       
 22570           type: "submit"
       
 22571         }, Object(external_this_wp_i18n_["__"])('Create Table'))));
       
 22572       }
       
 22573 
       
 22574       var tableClasses = classnames_default()(backgroundColor.class, {
       
 22575         'has-fixed-layout': hasFixedLayout,
       
 22576         'has-background': !!backgroundColor.color
       
 22577       });
       
 22578       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["__experimentalToolbarItem"], null, function (toggleProps) {
       
 22579         return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["DropdownMenu"], {
       
 22580           hasArrowIndicator: true,
       
 22581           icon: library_table,
       
 22582           toggleProps: toggleProps,
       
 22583           label: Object(external_this_wp_i18n_["__"])('Edit table'),
       
 22584           controls: _this4.getTableControls()
       
 22585         });
       
 22586       })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["AlignmentToolbar"], {
       
 22587         label: Object(external_this_wp_i18n_["__"])('Change column alignment'),
       
 22588         alignmentControls: ALIGNMENT_CONTROLS,
       
 22589         value: this.getCellAlignment(),
       
 22590         onChange: function onChange(nextAlign) {
       
 22591           return _this4.onChangeColumnAlignment(nextAlign);
       
 22592         },
       
 22593         onHover: this.onHoverAlignment
       
 22594       })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 22595         title: Object(external_this_wp_i18n_["__"])('Table settings'),
       
 22596         className: "blocks-table-settings"
       
 22597       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 22598         label: Object(external_this_wp_i18n_["__"])('Fixed width table cells'),
       
 22599         checked: !!hasFixedLayout,
       
 22600         onChange: this.onChangeFixedLayout
       
 22601       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 22602         label: Object(external_this_wp_i18n_["__"])('Header section'),
       
 22603         checked: !!(head && head.length),
       
 22604         onChange: this.onToggleHeaderSection
       
 22605       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 22606         label: Object(external_this_wp_i18n_["__"])('Footer section'),
       
 22607         checked: !!(foot && foot.length),
       
 22608         onChange: this.onToggleFooterSection
       
 22609       })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PanelColorSettings"], {
       
 22610         title: Object(external_this_wp_i18n_["__"])('Color settings'),
       
 22611         initialOpen: false,
       
 22612         colorSettings: [{
       
 22613           value: backgroundColor.color,
       
 22614           onChange: setBackgroundColor,
       
 22615           label: Object(external_this_wp_i18n_["__"])('Background color'),
       
 22616           disableCustomColors: true,
       
 22617           colors: BACKGROUND_COLORS
       
 22618         }]
       
 22619       })), Object(external_this_wp_element_["createElement"])("figure", {
       
 22620         className: className
       
 22621       }, Object(external_this_wp_element_["createElement"])("table", {
       
 22622         className: tableClasses
       
 22623       }, Object(external_this_wp_element_["createElement"])(Section, {
       
 22624         name: "head",
       
 22625         rows: head
       
 22626       }), Object(external_this_wp_element_["createElement"])(Section, {
       
 22627         name: "body",
       
 22628         rows: body
       
 22629       }), Object(external_this_wp_element_["createElement"])(Section, {
       
 22630         name: "foot",
       
 22631         rows: foot
       
 22632       })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 22633         tagName: "figcaption",
       
 22634         placeholder: Object(external_this_wp_i18n_["__"])('Write caption…'),
       
 22635         value: caption,
       
 22636         onChange: function onChange(value) {
       
 22637           return setAttributes({
       
 22638             caption: value
       
 22639           });
       
 22640         } // Deselect the selected table cell when the caption is focused.
       
 22641         ,
       
 22642         unstableOnFocus: function unstableOnFocus() {
       
 22643           return _this4.setState({
       
 22644             selectedCell: null
       
 22645           });
       
 22646         },
       
 22647         __unstableOnSplitAtEnd: function __unstableOnSplitAtEnd() {
       
 22648           return insertBlocksAfter(Object(external_this_wp_blocks_["createBlock"])('core/paragraph'));
       
 22649         }
       
 22650       })));
       
 22651     }
       
 22652   }]);
       
 22653 
       
 22654   return TableEdit;
       
 22655 }(external_this_wp_element_["Component"]);
       
 22656 /* harmony default export */ var table_edit = (withCustomBackgroundColors('backgroundColor')(edit_TableEdit));
       
 22657 
       
 22658 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/save.js
       
 22659 
       
 22660 
       
 22661 
       
 22662 /**
       
 22663  * External dependencies
       
 22664  */
       
 22665 
       
 22666 /**
       
 22667  * WordPress dependencies
       
 22668  */
       
 22669 
       
 22670 
       
 22671 function table_save_save(_ref) {
       
 22672   var attributes = _ref.attributes;
       
 22673   var hasFixedLayout = attributes.hasFixedLayout,
       
 22674       head = attributes.head,
       
 22675       body = attributes.body,
       
 22676       foot = attributes.foot,
       
 22677       backgroundColor = attributes.backgroundColor,
       
 22678       caption = attributes.caption;
       
 22679   var isEmpty = !head.length && !body.length && !foot.length;
       
 22680 
       
 22681   if (isEmpty) {
       
 22682     return null;
       
 22683   }
       
 22684 
       
 22685   var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
       
 22686   var classes = classnames_default()(backgroundClass, {
       
 22687     'has-fixed-layout': hasFixedLayout,
       
 22688     'has-background': !!backgroundClass
       
 22689   });
       
 22690   var hasCaption = !external_this_wp_blockEditor_["RichText"].isEmpty(caption);
       
 22691 
       
 22692   var Section = function Section(_ref2) {
       
 22693     var type = _ref2.type,
       
 22694         rows = _ref2.rows;
       
 22695 
       
 22696     if (!rows.length) {
       
 22697       return null;
       
 22698     }
       
 22699 
       
 22700     var Tag = "t".concat(type);
       
 22701     return Object(external_this_wp_element_["createElement"])(Tag, null, rows.map(function (_ref3, rowIndex) {
       
 22702       var cells = _ref3.cells;
       
 22703       return Object(external_this_wp_element_["createElement"])("tr", {
       
 22704         key: rowIndex
       
 22705       }, cells.map(function (_ref4, cellIndex) {
       
 22706         var content = _ref4.content,
       
 22707             tag = _ref4.tag,
       
 22708             scope = _ref4.scope,
       
 22709             align = _ref4.align;
       
 22710         var cellClasses = classnames_default()(Object(defineProperty["a" /* default */])({}, "has-text-align-".concat(align), align));
       
 22711         return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 22712           className: cellClasses ? cellClasses : undefined,
       
 22713           "data-align": align,
       
 22714           tagName: tag,
       
 22715           value: content,
       
 22716           key: cellIndex,
       
 22717           scope: tag === 'th' ? scope : undefined
       
 22718         });
       
 22719       }));
       
 22720     }));
       
 22721   };
       
 22722 
       
 22723   return Object(external_this_wp_element_["createElement"])("figure", null, Object(external_this_wp_element_["createElement"])("table", {
       
 22724     className: classes === '' ? undefined : classes
       
 22725   }, Object(external_this_wp_element_["createElement"])(Section, {
       
 22726     type: "head",
       
 22727     rows: head
       
 22728   }), Object(external_this_wp_element_["createElement"])(Section, {
       
 22729     type: "body",
       
 22730     rows: body
       
 22731   }), Object(external_this_wp_element_["createElement"])(Section, {
       
 22732     type: "foot",
       
 22733     rows: foot
       
 22734   })), hasCaption && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 22735     tagName: "figcaption",
       
 22736     value: caption
       
 22737   }));
       
 22738 }
       
 22739 
       
 22740 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/transforms.js
       
 22741 var tableContentPasteSchema = function tableContentPasteSchema(_ref) {
       
 22742   var phrasingContentSchema = _ref.phrasingContentSchema;
       
 22743   return {
       
 22744     tr: {
       
 22745       allowEmpty: true,
       
 22746       children: {
       
 22747         th: {
       
 22748           allowEmpty: true,
       
 22749           children: phrasingContentSchema,
       
 22750           attributes: ['scope']
       
 22751         },
       
 22752         td: {
       
 22753           allowEmpty: true,
       
 22754           children: phrasingContentSchema
       
 22755         }
       
 22756       }
       
 22757     }
       
 22758   };
       
 22759 };
       
 22760 
       
 22761 var tablePasteSchema = function tablePasteSchema(args) {
       
 22762   return {
       
 22763     table: {
       
 22764       children: {
       
 22765         thead: {
       
 22766           allowEmpty: true,
       
 22767           children: tableContentPasteSchema(args)
       
 22768         },
       
 22769         tfoot: {
       
 22770           allowEmpty: true,
       
 22771           children: tableContentPasteSchema(args)
       
 22772         },
       
 22773         tbody: {
       
 22774           allowEmpty: true,
       
 22775           children: tableContentPasteSchema(args)
       
 22776         }
       
 22777       }
       
 22778     }
       
 22779   };
       
 22780 };
       
 22781 
       
 22782 var table_transforms_transforms = {
       
 22783   from: [{
       
 22784     type: 'raw',
       
 22785     selector: 'table',
       
 22786     schema: tablePasteSchema
       
 22787   }]
       
 22788 };
       
 22789 /* harmony default export */ var table_transforms = (table_transforms_transforms);
       
 22790 
       
 22791 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/index.js
       
 22792 /**
       
 22793  * WordPress dependencies
       
 22794  */
       
 22795 
       
 22796 
       
 22797 /**
       
 22798  * Internal dependencies
       
 22799  */
       
 22800 
       
 22801 
       
 22802 
       
 22803 var table_metadata = {
       
 22804   name: "core/table",
       
 22805   category: "text",
       
 22806   attributes: {
       
 22807     hasFixedLayout: {
       
 22808       type: "boolean",
       
 22809       "default": false
       
 22810     },
       
 22811     backgroundColor: {
       
 22812       type: "string"
       
 22813     },
       
 22814     caption: {
       
 22815       type: "string",
       
 22816       source: "html",
       
 22817       selector: "figcaption",
       
 22818       "default": ""
       
 22819     },
       
 22820     head: {
       
 22821       type: "array",
       
 22822       "default": [],
       
 22823       source: "query",
       
 22824       selector: "thead tr",
       
 22825       query: {
       
 22826         cells: {
       
 22827           type: "array",
       
 22828           "default": [],
       
 22829           source: "query",
       
 22830           selector: "td,th",
       
 22831           query: {
       
 22832             content: {
       
 22833               type: "string",
       
 22834               source: "html"
       
 22835             },
       
 22836             tag: {
       
 22837               type: "string",
       
 22838               "default": "td",
       
 22839               source: "tag"
       
 22840             },
       
 22841             scope: {
       
 22842               type: "string",
       
 22843               source: "attribute",
       
 22844               attribute: "scope"
       
 22845             },
       
 22846             align: {
       
 22847               type: "string",
       
 22848               source: "attribute",
       
 22849               attribute: "data-align"
       
 22850             }
       
 22851           }
       
 22852         }
       
 22853       }
       
 22854     },
       
 22855     body: {
       
 22856       type: "array",
       
 22857       "default": [],
       
 22858       source: "query",
       
 22859       selector: "tbody tr",
       
 22860       query: {
       
 22861         cells: {
       
 22862           type: "array",
       
 22863           "default": [],
       
 22864           source: "query",
       
 22865           selector: "td,th",
       
 22866           query: {
       
 22867             content: {
       
 22868               type: "string",
       
 22869               source: "html"
       
 22870             },
       
 22871             tag: {
       
 22872               type: "string",
       
 22873               "default": "td",
       
 22874               source: "tag"
       
 22875             },
       
 22876             scope: {
       
 22877               type: "string",
       
 22878               source: "attribute",
       
 22879               attribute: "scope"
       
 22880             },
       
 22881             align: {
       
 22882               type: "string",
       
 22883               source: "attribute",
       
 22884               attribute: "data-align"
       
 22885             }
       
 22886           }
       
 22887         }
       
 22888       }
       
 22889     },
       
 22890     foot: {
       
 22891       type: "array",
       
 22892       "default": [],
       
 22893       source: "query",
       
 22894       selector: "tfoot tr",
       
 22895       query: {
       
 22896         cells: {
       
 22897           type: "array",
       
 22898           "default": [],
       
 22899           source: "query",
       
 22900           selector: "td,th",
       
 22901           query: {
       
 22902             content: {
       
 22903               type: "string",
       
 22904               source: "html"
       
 22905             },
       
 22906             tag: {
       
 22907               type: "string",
       
 22908               "default": "td",
       
 22909               source: "tag"
       
 22910             },
       
 22911             scope: {
       
 22912               type: "string",
       
 22913               source: "attribute",
       
 22914               attribute: "scope"
       
 22915             },
       
 22916             align: {
       
 22917               type: "string",
       
 22918               source: "attribute",
       
 22919               attribute: "data-align"
       
 22920             }
       
 22921           }
       
 22922         }
       
 22923       }
       
 22924     }
       
 22925   },
       
 22926   supports: {
       
 22927     anchor: true,
       
 22928     align: true
       
 22929   }
       
 22930 };
       
 22931 
       
 22932 
       
 22933 var table_name = table_metadata.name;
       
 22934 
       
 22935 var table_settings = {
       
 22936   title: Object(external_this_wp_i18n_["__"])('Table'),
       
 22937   description: Object(external_this_wp_i18n_["__"])('Insert a table — perfect for sharing charts and data.'),
       
 22938   icon: block_table,
       
 22939   example: {
       
 22940     attributes: {
       
 22941       head: [{
       
 22942         cells: [{
       
 22943           content: Object(external_this_wp_i18n_["__"])('Version'),
       
 22944           tag: 'th'
       
 22945         }, {
       
 22946           content: Object(external_this_wp_i18n_["__"])('Jazz Musician'),
       
 22947           tag: 'th'
       
 22948         }, {
       
 22949           content: Object(external_this_wp_i18n_["__"])('Release Date'),
       
 22950           tag: 'th'
       
 22951         }]
       
 22952       }],
       
 22953       body: [{
       
 22954         cells: [{
       
 22955           content: '5.2',
       
 22956           tag: 'td'
       
 22957         }, {
       
 22958           content: 'Jaco Pastorius',
       
 22959           tag: 'td'
       
 22960         }, {
       
 22961           content: Object(external_this_wp_i18n_["__"])('May 7, 2019'),
       
 22962           tag: 'td'
       
 22963         }]
       
 22964       }, {
       
 22965         cells: [{
       
 22966           content: '5.1',
       
 22967           tag: 'td'
       
 22968         }, {
       
 22969           content: 'Betty Carter',
       
 22970           tag: 'td'
       
 22971         }, {
       
 22972           content: Object(external_this_wp_i18n_["__"])('February 21, 2019'),
       
 22973           tag: 'td'
       
 22974         }]
       
 22975       }, {
       
 22976         cells: [{
       
 22977           content: '5.0',
       
 22978           tag: 'td'
       
 22979         }, {
       
 22980           content: 'Bebo Valdés',
       
 22981           tag: 'td'
       
 22982         }, {
       
 22983           content: Object(external_this_wp_i18n_["__"])('December 6, 2018'),
       
 22984           tag: 'td'
       
 22985         }]
       
 22986       }]
       
 22987     }
       
 22988   },
       
 22989   styles: [{
       
 22990     name: 'regular',
       
 22991     label: Object(external_this_wp_i18n_["_x"])('Default', 'block style'),
       
 22992     isDefault: true
       
 22993   }, {
       
 22994     name: 'stripes',
       
 22995     label: Object(external_this_wp_i18n_["__"])('Stripes')
       
 22996   }],
       
 22997   transforms: table_transforms,
       
 22998   edit: table_edit,
       
 22999   save: table_save_save,
       
 23000   deprecated: table_deprecated
       
 23001 };
       
 23002 
       
 23003 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/text-columns/edit.js
       
 23004 
       
 23005 
       
 23006 
       
 23007 /**
       
 23008  * External dependencies
       
 23009  */
       
 23010 
       
 23011 /**
       
 23012  * WordPress dependencies
       
 23013  */
       
 23014 
       
 23015 
       
 23016 
       
 23017 
       
 23018 
       
 23019 function TextColumnsEdit(_ref) {
       
 23020   var attributes = _ref.attributes,
       
 23021       setAttributes = _ref.setAttributes,
       
 23022       className = _ref.className;
       
 23023   var width = attributes.width,
       
 23024       content = attributes.content,
       
 23025       columns = attributes.columns;
       
 23026   external_this_wp_deprecated_default()('The Text Columns block', {
       
 23027     alternative: 'the Columns block',
       
 23028     plugin: 'Gutenberg'
       
 23029   });
       
 23030   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockAlignmentToolbar"], {
       
 23031     value: width,
       
 23032     onChange: function onChange(nextWidth) {
       
 23033       return setAttributes({
       
 23034         width: nextWidth
       
 23035       });
       
 23036     },
       
 23037     controls: ['center', 'wide', 'full']
       
 23038   })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], {
       
 23039     label: Object(external_this_wp_i18n_["__"])('Columns'),
       
 23040     value: columns,
       
 23041     onChange: function onChange(value) {
       
 23042       return setAttributes({
       
 23043         columns: value
       
 23044       });
       
 23045     },
       
 23046     min: 2,
       
 23047     max: 4,
       
 23048     required: true
       
 23049   }))), Object(external_this_wp_element_["createElement"])("div", {
       
 23050     className: "".concat(className, " align").concat(width, " columns-").concat(columns)
       
 23051   }, Object(external_this_lodash_["times"])(columns, function (index) {
       
 23052     return Object(external_this_wp_element_["createElement"])("div", {
       
 23053       className: "wp-block-column",
       
 23054       key: "column-".concat(index)
       
 23055     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 23056       tagName: "p",
       
 23057       value: Object(external_this_lodash_["get"])(content, [index, 'children']),
       
 23058       onChange: function onChange(nextContent) {
       
 23059         setAttributes({
       
 23060           content: [].concat(Object(toConsumableArray["a" /* default */])(content.slice(0, index)), [{
       
 23061             children: nextContent
       
 23062           }], Object(toConsumableArray["a" /* default */])(content.slice(index + 1)))
       
 23063         });
       
 23064       },
       
 23065       placeholder: Object(external_this_wp_i18n_["__"])('New Column')
       
 23066     }));
       
 23067   })));
       
 23068 }
       
 23069 
       
 23070 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/text-columns/save.js
       
 23071 
       
 23072 
       
 23073 /**
       
 23074  * External dependencies
       
 23075  */
       
 23076 
       
 23077 /**
       
 23078  * WordPress dependencies
       
 23079  */
       
 23080 
       
 23081 
       
 23082 function text_columns_save_save(_ref) {
       
 23083   var attributes = _ref.attributes;
       
 23084   var width = attributes.width,
       
 23085       content = attributes.content,
       
 23086       columns = attributes.columns;
       
 23087   return Object(external_this_wp_element_["createElement"])("div", {
       
 23088     className: "align".concat(width, " columns-").concat(columns)
       
 23089   }, Object(external_this_lodash_["times"])(columns, function (index) {
       
 23090     return Object(external_this_wp_element_["createElement"])("div", {
       
 23091       className: "wp-block-column",
       
 23092       key: "column-".concat(index)
       
 23093     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 23094       tagName: "p",
       
 23095       value: Object(external_this_lodash_["get"])(content, [index, 'children'])
       
 23096     }));
       
 23097   }));
       
 23098 }
       
 23099 
       
 23100 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/text-columns/transforms.js
       
 23101 /**
       
 23102  * WordPress dependencies
       
 23103  */
       
 23104 
       
 23105 var text_columns_transforms_transforms = {
       
 23106   to: [{
       
 23107     type: 'block',
       
 23108     blocks: ['core/columns'],
       
 23109     transform: function transform(_ref) {
       
 23110       var className = _ref.className,
       
 23111           columns = _ref.columns,
       
 23112           content = _ref.content,
       
 23113           width = _ref.width;
       
 23114       return Object(external_this_wp_blocks_["createBlock"])('core/columns', {
       
 23115         align: 'wide' === width || 'full' === width ? width : undefined,
       
 23116         className: className,
       
 23117         columns: columns
       
 23118       }, content.map(function (_ref2) {
       
 23119         var children = _ref2.children;
       
 23120         return Object(external_this_wp_blocks_["createBlock"])('core/column', {}, [Object(external_this_wp_blocks_["createBlock"])('core/paragraph', {
       
 23121           content: children
       
 23122         })]);
       
 23123       }));
       
 23124     }
       
 23125   }]
       
 23126 };
       
 23127 /* harmony default export */ var text_columns_transforms = (text_columns_transforms_transforms);
       
 23128 
       
 23129 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/text-columns/index.js
       
 23130 /**
       
 23131  * WordPress dependencies
       
 23132  */
       
 23133 
       
 23134 /**
       
 23135  * Internal dependencies
       
 23136  */
       
 23137 
       
 23138 
       
 23139 var text_columns_metadata = {
       
 23140   name: "core/text-columns",
       
 23141   icon: "columns",
       
 23142   category: "design",
       
 23143   attributes: {
       
 23144     content: {
       
 23145       type: "array",
       
 23146       source: "query",
       
 23147       selector: "p",
       
 23148       query: {
       
 23149         children: {
       
 23150           type: "string",
       
 23151           source: "html"
       
 23152         }
       
 23153       },
       
 23154       "default": [{}, {}]
       
 23155     },
       
 23156     columns: {
       
 23157       type: "number",
       
 23158       "default": 2
       
 23159     },
       
 23160     width: {
       
 23161       type: "string"
       
 23162     }
       
 23163   },
       
 23164   supports: {
       
 23165     inserter: false
       
 23166   }
       
 23167 };
       
 23168 
       
 23169 
       
 23170 var text_columns_name = text_columns_metadata.name;
       
 23171 
       
 23172 var text_columns_settings = {
       
 23173   title: Object(external_this_wp_i18n_["__"])('Text Columns (deprecated)'),
       
 23174   description: Object(external_this_wp_i18n_["__"])('This block is deprecated. Please use the Columns block instead.'),
       
 23175   transforms: text_columns_transforms,
       
 23176   getEditWrapperProps: function getEditWrapperProps(attributes) {
       
 23177     var width = attributes.width;
       
 23178 
       
 23179     if ('wide' === width || 'full' === width) {
       
 23180       return {
       
 23181         'data-align': width
       
 23182       };
       
 23183     }
       
 23184   },
       
 23185   edit: TextColumnsEdit,
       
 23186   save: text_columns_save_save
       
 23187 };
       
 23188 
       
 23189 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/verse.js
       
 23190 
       
 23191 
       
 23192 /**
       
 23193  * WordPress dependencies
       
 23194  */
       
 23195 
       
 23196 var verse = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 23197   viewBox: "0 0 24 24",
       
 23198   xmlns: "http://www.w3.org/2000/svg"
       
 23199 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 23200   d: "M17.8 2l-.9.3c-.1 0-3.6 1-5.2 2.1C10 5.5 9.3 6.5 8.9 7.1c-.6.9-1.7 4.7-1.7 6.3l-.9 2.3c-.2.4 0 .8.4 1 .1 0 .2.1.3.1.3 0 .6-.2.7-.5l.6-1.5c.3 0 .7-.1 1.2-.2.7-.1 1.4-.3 2.2-.5.8-.2 1.6-.5 2.4-.8.7-.3 1.4-.7 1.9-1.2s.8-1.2 1-1.9c.2-.7.3-1.6.4-2.4.1-.8.1-1.7.2-2.5 0-.8.1-1.5.2-2.1V2zm-1.9 5.6c-.1.8-.2 1.5-.3 2.1-.2.6-.4 1-.6 1.3-.3.3-.8.6-1.4.9-.7.3-1.4.5-2.2.8-.6.2-1.3.3-1.8.4L15 7.5c.3-.3.6-.7 1-1.1 0 .4 0 .8-.1 1.2zM6 20h8v-1.5H6V20z"
       
 23201 }));
       
 23202 /* harmony default export */ var library_verse = (verse);
       
 23203 
       
 23204 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/verse/deprecated.js
       
 23205 
       
 23206 
       
 23207 /**
       
 23208  * WordPress dependencies
       
 23209  */
       
 23210 
       
 23211 var verse_deprecated_blockAttributes = {
       
 23212   content: {
       
 23213     type: 'string',
       
 23214     source: 'html',
       
 23215     selector: 'pre',
       
 23216     default: ''
       
 23217   },
       
 23218   textAlign: {
       
 23219     type: 'string'
       
 23220   }
       
 23221 };
       
 23222 var verse_deprecated_deprecated = [{
       
 23223   attributes: verse_deprecated_blockAttributes,
       
 23224   save: function save(_ref) {
       
 23225     var attributes = _ref.attributes;
       
 23226     var textAlign = attributes.textAlign,
       
 23227         content = attributes.content;
       
 23228     return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 23229       tagName: "pre",
       
 23230       style: {
       
 23231         textAlign: textAlign
       
 23232       },
       
 23233       value: content
       
 23234     });
       
 23235   }
       
 23236 }];
       
 23237 /* harmony default export */ var verse_deprecated = (verse_deprecated_deprecated);
       
 23238 
       
 23239 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/verse/edit.js
       
 23240 
       
 23241 
       
 23242 
       
 23243 /**
       
 23244  * External dependencies
       
 23245  */
       
 23246 
       
 23247 /**
       
 23248  * WordPress dependencies
       
 23249  */
       
 23250 
       
 23251 
       
 23252 
       
 23253 function VerseEdit(_ref) {
       
 23254   var attributes = _ref.attributes,
       
 23255       setAttributes = _ref.setAttributes,
       
 23256       className = _ref.className,
       
 23257       mergeBlocks = _ref.mergeBlocks;
       
 23258   var textAlign = attributes.textAlign,
       
 23259       content = attributes.content;
       
 23260   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["AlignmentToolbar"], {
       
 23261     value: textAlign,
       
 23262     onChange: function onChange(nextAlign) {
       
 23263       setAttributes({
       
 23264         textAlign: nextAlign
       
 23265       });
       
 23266     }
       
 23267   })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 23268     tagName: external_this_wp_blockEditor_["__experimentalBlock"].pre,
       
 23269     identifier: "content",
       
 23270     preserveWhiteSpace: true,
       
 23271     value: content,
       
 23272     onChange: function onChange(nextContent) {
       
 23273       setAttributes({
       
 23274         content: nextContent
       
 23275       });
       
 23276     },
       
 23277     placeholder: Object(external_this_wp_i18n_["__"])('Write…'),
       
 23278     className: classnames_default()(className, Object(defineProperty["a" /* default */])({}, "has-text-align-".concat(textAlign), textAlign)),
       
 23279     onMerge: mergeBlocks,
       
 23280     textAlign: textAlign
       
 23281   }));
       
 23282 }
       
 23283 
       
 23284 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/verse/save.js
       
 23285 
       
 23286 
       
 23287 
       
 23288 /**
       
 23289  * External dependencies
       
 23290  */
       
 23291 
       
 23292 /**
       
 23293  * WordPress dependencies
       
 23294  */
       
 23295 
       
 23296 
       
 23297 function verse_save_save(_ref) {
       
 23298   var attributes = _ref.attributes;
       
 23299   var textAlign = attributes.textAlign,
       
 23300       content = attributes.content;
       
 23301   var className = classnames_default()(Object(defineProperty["a" /* default */])({}, "has-text-align-".concat(textAlign), textAlign));
       
 23302   return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 23303     tagName: "pre",
       
 23304     className: className,
       
 23305     value: content
       
 23306   });
       
 23307 }
       
 23308 
       
 23309 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/verse/transforms.js
       
 23310 /**
       
 23311  * WordPress dependencies
       
 23312  */
       
 23313 
       
 23314 var verse_transforms_transforms = {
       
 23315   from: [{
       
 23316     type: 'block',
       
 23317     blocks: ['core/paragraph'],
       
 23318     transform: function transform(attributes) {
       
 23319       return Object(external_this_wp_blocks_["createBlock"])('core/verse', attributes);
       
 23320     }
       
 23321   }],
       
 23322   to: [{
       
 23323     type: 'block',
       
 23324     blocks: ['core/paragraph'],
       
 23325     transform: function transform(attributes) {
       
 23326       return Object(external_this_wp_blocks_["createBlock"])('core/paragraph', attributes);
       
 23327     }
       
 23328   }]
       
 23329 };
       
 23330 /* harmony default export */ var verse_transforms = (verse_transforms_transforms);
       
 23331 
       
 23332 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/verse/index.js
       
 23333 /**
       
 23334  * WordPress dependencies
       
 23335  */
       
 23336 
       
 23337 
       
 23338 /**
       
 23339  * Internal dependencies
       
 23340  */
       
 23341 
       
 23342 
       
 23343 
       
 23344 var verse_metadata = {
       
 23345   name: "core/verse",
       
 23346   category: "text",
       
 23347   attributes: {
       
 23348     content: {
       
 23349       type: "string",
       
 23350       source: "html",
       
 23351       selector: "pre",
       
 23352       "default": "",
       
 23353       __unstablePreserveWhiteSpace: true
       
 23354     },
       
 23355     textAlign: {
       
 23356       type: "string"
       
 23357     }
       
 23358   },
       
 23359   supports: {
       
 23360     anchor: true,
       
 23361     lightBlockWrapper: true
       
 23362   }
       
 23363 };
       
 23364 
       
 23365 
       
 23366 var verse_name = verse_metadata.name;
       
 23367 
       
 23368 var verse_settings = {
       
 23369   title: Object(external_this_wp_i18n_["__"])('Verse'),
       
 23370   description: Object(external_this_wp_i18n_["__"])('Insert poetry. Use special spacing formats. Or quote song lyrics.'),
       
 23371   icon: library_verse,
       
 23372   example: {
       
 23373     attributes: {
       
 23374       /* eslint-disable @wordpress/i18n-no-collapsible-whitespace */
       
 23375       // translators: Sample content for the Verse block. Can be replaced with a more locale-adequate work.
       
 23376       content: Object(external_this_wp_i18n_["__"])('WHAT was he doing, the great god Pan,\n	Down in the reeds by the river?\nSpreading ruin and scattering ban,\nSplashing and paddling with hoofs of a goat,\nAnd breaking the golden lilies afloat\n    With the dragon-fly on the river.')
       
 23377       /* eslint-enable @wordpress/i18n-no-collapsible-whitespace */
       
 23378 
       
 23379     }
       
 23380   },
       
 23381   keywords: [Object(external_this_wp_i18n_["__"])('poetry'), Object(external_this_wp_i18n_["__"])('poem')],
       
 23382   transforms: verse_transforms,
       
 23383   deprecated: verse_deprecated,
       
 23384   merge: function merge(attributes, attributesToMerge) {
       
 23385     return {
       
 23386       content: attributes.content + attributesToMerge.content
       
 23387     };
       
 23388   },
       
 23389   edit: VerseEdit,
       
 23390   save: verse_save_save
       
 23391 };
       
 23392 
       
 23393 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/video.js
       
 23394 
       
 23395 
       
 23396 /**
       
 23397  * WordPress dependencies
       
 23398  */
       
 23399 
       
 23400 var video_video = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 23401   viewBox: "0 0 24 24",
       
 23402   xmlns: "http://www.w3.org/2000/svg"
       
 23403 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 23404   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-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"
       
 23405 }));
       
 23406 /* harmony default export */ var library_video = (video_video);
       
 23407 
       
 23408 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/edit-common-settings.js
       
 23409 
       
 23410 
       
 23411 
       
 23412 /**
       
 23413  * WordPress dependencies
       
 23414  */
       
 23415 
       
 23416 
       
 23417 
       
 23418 var edit_common_settings_VideoSettings = function VideoSettings(_ref) {
       
 23419   var setAttributes = _ref.setAttributes,
       
 23420       attributes = _ref.attributes;
       
 23421   var autoplay = attributes.autoplay,
       
 23422       controls = attributes.controls,
       
 23423       loop = attributes.loop,
       
 23424       muted = attributes.muted,
       
 23425       playsInline = attributes.playsInline,
       
 23426       preload = attributes.preload;
       
 23427 
       
 23428   var getAutoplayHelp = function getAutoplayHelp(checked) {
       
 23429     return checked ? Object(external_this_wp_i18n_["__"])('Note: Autoplaying videos may cause usability issues for some visitors.') : null;
       
 23430   };
       
 23431 
       
 23432   var toggleAttribute = function toggleAttribute(attribute) {
       
 23433     return function (newValue) {
       
 23434       setAttributes(Object(defineProperty["a" /* default */])({}, attribute, newValue));
       
 23435     };
       
 23436   };
       
 23437 
       
 23438   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 23439     label: Object(external_this_wp_i18n_["__"])('Autoplay'),
       
 23440     onChange: toggleAttribute('autoplay'),
       
 23441     checked: autoplay,
       
 23442     help: getAutoplayHelp
       
 23443   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 23444     label: Object(external_this_wp_i18n_["__"])('Loop'),
       
 23445     onChange: toggleAttribute('loop'),
       
 23446     checked: loop
       
 23447   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 23448     label: Object(external_this_wp_i18n_["__"])('Muted'),
       
 23449     onChange: toggleAttribute('muted'),
       
 23450     checked: muted
       
 23451   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 23452     label: Object(external_this_wp_i18n_["__"])('Playback controls'),
       
 23453     onChange: toggleAttribute('controls'),
       
 23454     checked: controls
       
 23455   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 23456     label: Object(external_this_wp_i18n_["__"])('Play inline'),
       
 23457     onChange: toggleAttribute('playsInline'),
       
 23458     checked: playsInline
       
 23459   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], {
       
 23460     label: Object(external_this_wp_i18n_["__"])('Preload'),
       
 23461     value: preload,
       
 23462     onChange: function onChange(value) {
       
 23463       return setAttributes({
       
 23464         preload: value
       
 23465       });
       
 23466     },
       
 23467     options: [{
       
 23468       value: 'auto',
       
 23469       label: Object(external_this_wp_i18n_["__"])('Auto')
       
 23470     }, {
       
 23471       value: 'metadata',
       
 23472       label: Object(external_this_wp_i18n_["__"])('Metadata')
       
 23473     }, {
       
 23474       value: 'none',
       
 23475       label: Object(external_this_wp_i18n_["__"])('None')
       
 23476     }]
       
 23477   }));
       
 23478 };
       
 23479 
       
 23480 /* harmony default export */ var edit_common_settings = (edit_common_settings_VideoSettings);
       
 23481 
       
 23482 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/edit.js
       
 23483 
       
 23484 
       
 23485 
       
 23486 
       
 23487 
       
 23488 
       
 23489 
       
 23490 
       
 23491 
       
 23492 function video_edit_createSuper(Derived) { return function () { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (video_edit_isNativeReflectConstruct()) { var NewTarget = Object(getPrototypeOf["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(possibleConstructorReturn["a" /* default */])(this, result); }; }
       
 23493 
       
 23494 function video_edit_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
       
 23495 
       
 23496 /**
       
 23497  * WordPress dependencies
       
 23498  */
       
 23499 
       
 23500 
       
 23501 
       
 23502 
       
 23503 
       
 23504 
       
 23505 
       
 23506 
       
 23507 
       
 23508 /**
       
 23509  * Internal dependencies
       
 23510  */
       
 23511 
       
 23512 
       
 23513 
       
 23514 var video_edit_ALLOWED_MEDIA_TYPES = ['video'];
       
 23515 var VIDEO_POSTER_ALLOWED_MEDIA_TYPES = ['image'];
       
 23516 
       
 23517 var edit_VideoEdit = /*#__PURE__*/function (_Component) {
       
 23518   Object(inherits["a" /* default */])(VideoEdit, _Component);
       
 23519 
       
 23520   var _super = video_edit_createSuper(VideoEdit);
       
 23521 
       
 23522   function VideoEdit() {
       
 23523     var _this;
       
 23524 
       
 23525     Object(classCallCheck["a" /* default */])(this, VideoEdit);
       
 23526 
       
 23527     _this = _super.apply(this, arguments);
       
 23528     _this.videoPlayer = Object(external_this_wp_element_["createRef"])();
       
 23529     _this.posterImageButton = Object(external_this_wp_element_["createRef"])();
       
 23530     _this.onSelectURL = _this.onSelectURL.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 23531     _this.onSelectPoster = _this.onSelectPoster.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 23532     _this.onRemovePoster = _this.onRemovePoster.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 23533     _this.onUploadError = _this.onUploadError.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 23534     return _this;
       
 23535   }
       
 23536 
       
 23537   Object(createClass["a" /* default */])(VideoEdit, [{
       
 23538     key: "componentDidMount",
       
 23539     value: function componentDidMount() {
       
 23540       var _this$props = this.props,
       
 23541           attributes = _this$props.attributes,
       
 23542           mediaUpload = _this$props.mediaUpload,
       
 23543           noticeOperations = _this$props.noticeOperations,
       
 23544           setAttributes = _this$props.setAttributes;
       
 23545       var id = attributes.id,
       
 23546           _attributes$src = attributes.src,
       
 23547           src = _attributes$src === void 0 ? '' : _attributes$src;
       
 23548 
       
 23549       if (!id && Object(external_this_wp_blob_["isBlobURL"])(src)) {
       
 23550         var file = Object(external_this_wp_blob_["getBlobByURL"])(src);
       
 23551 
       
 23552         if (file) {
       
 23553           mediaUpload({
       
 23554             filesList: [file],
       
 23555             onFileChange: function onFileChange(_ref) {
       
 23556               var _ref2 = Object(slicedToArray["a" /* default */])(_ref, 1),
       
 23557                   url = _ref2[0].url;
       
 23558 
       
 23559               setAttributes({
       
 23560                 src: url
       
 23561               });
       
 23562             },
       
 23563             onError: function onError(message) {
       
 23564               noticeOperations.createErrorNotice(message);
       
 23565             },
       
 23566             allowedTypes: video_edit_ALLOWED_MEDIA_TYPES
       
 23567           });
       
 23568         }
       
 23569       }
       
 23570     }
       
 23571   }, {
       
 23572     key: "componentDidUpdate",
       
 23573     value: function componentDidUpdate(prevProps) {
       
 23574       if (this.props.attributes.poster !== prevProps.attributes.poster) {
       
 23575         this.videoPlayer.current.load();
       
 23576       }
       
 23577     }
       
 23578   }, {
       
 23579     key: "onSelectURL",
       
 23580     value: function onSelectURL(newSrc) {
       
 23581       var _this$props2 = this.props,
       
 23582           attributes = _this$props2.attributes,
       
 23583           setAttributes = _this$props2.setAttributes;
       
 23584       var src = attributes.src;
       
 23585 
       
 23586       if (newSrc !== src) {
       
 23587         // Check if there's an embed block that handles this URL.
       
 23588         var embedBlock = util_createUpgradedEmbedBlock({
       
 23589           attributes: {
       
 23590             url: newSrc
       
 23591           }
       
 23592         });
       
 23593 
       
 23594         if (undefined !== embedBlock) {
       
 23595           this.props.onReplace(embedBlock);
       
 23596           return;
       
 23597         }
       
 23598 
       
 23599         setAttributes({
       
 23600           src: newSrc,
       
 23601           id: undefined
       
 23602         });
       
 23603       }
       
 23604     }
       
 23605   }, {
       
 23606     key: "onSelectPoster",
       
 23607     value: function onSelectPoster(image) {
       
 23608       var setAttributes = this.props.setAttributes;
       
 23609       setAttributes({
       
 23610         poster: image.url
       
 23611       });
       
 23612     }
       
 23613   }, {
       
 23614     key: "onRemovePoster",
       
 23615     value: function onRemovePoster() {
       
 23616       var setAttributes = this.props.setAttributes;
       
 23617       setAttributes({
       
 23618         poster: ''
       
 23619       }); // Move focus back to the Media Upload button.
       
 23620 
       
 23621       this.posterImageButton.current.focus();
       
 23622     }
       
 23623   }, {
       
 23624     key: "onUploadError",
       
 23625     value: function onUploadError(message) {
       
 23626       var noticeOperations = this.props.noticeOperations;
       
 23627       noticeOperations.removeAllNotices();
       
 23628       noticeOperations.createErrorNotice(message);
       
 23629     }
       
 23630   }, {
       
 23631     key: "render",
       
 23632     value: function render() {
       
 23633       var _this2 = this;
       
 23634 
       
 23635       var _this$props$attribute = this.props.attributes,
       
 23636           id = _this$props$attribute.id,
       
 23637           caption = _this$props$attribute.caption,
       
 23638           controls = _this$props$attribute.controls,
       
 23639           poster = _this$props$attribute.poster,
       
 23640           src = _this$props$attribute.src;
       
 23641       var _this$props3 = this.props,
       
 23642           instanceId = _this$props3.instanceId,
       
 23643           isSelected = _this$props3.isSelected,
       
 23644           noticeUI = _this$props3.noticeUI,
       
 23645           attributes = _this$props3.attributes,
       
 23646           setAttributes = _this$props3.setAttributes,
       
 23647           insertBlocksAfter = _this$props3.insertBlocksAfter;
       
 23648 
       
 23649       var onSelectVideo = function onSelectVideo(media) {
       
 23650         if (!media || !media.url) {
       
 23651           // in this case there was an error
       
 23652           // previous attributes should be removed
       
 23653           // because they may be temporary blob urls
       
 23654           setAttributes({
       
 23655             src: undefined,
       
 23656             id: undefined
       
 23657           });
       
 23658           return;
       
 23659         } // sets the block's attribute and updates the edit component from the
       
 23660         // selected media
       
 23661 
       
 23662 
       
 23663         setAttributes({
       
 23664           src: media.url,
       
 23665           id: media.id
       
 23666         });
       
 23667       };
       
 23668 
       
 23669       if (!src) {
       
 23670         return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalBlock"].div, null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaPlaceholder"], {
       
 23671           icon: Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], {
       
 23672             icon: library_video
       
 23673           }),
       
 23674           onSelect: onSelectVideo,
       
 23675           onSelectURL: this.onSelectURL,
       
 23676           accept: "video/*",
       
 23677           allowedTypes: video_edit_ALLOWED_MEDIA_TYPES,
       
 23678           value: this.props.attributes,
       
 23679           notices: noticeUI,
       
 23680           onError: this.onUploadError
       
 23681         }));
       
 23682       }
       
 23683 
       
 23684       var videoPosterDescription = "video-block__poster-image-description-".concat(instanceId);
       
 23685       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaReplaceFlow"], {
       
 23686         mediaId: id,
       
 23687         mediaURL: src,
       
 23688         allowedTypes: video_edit_ALLOWED_MEDIA_TYPES,
       
 23689         accept: "video/*",
       
 23690         onSelect: onSelectVideo,
       
 23691         onSelectURL: this.onSelectURL,
       
 23692         onError: this.onUploadError
       
 23693       })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 23694         title: Object(external_this_wp_i18n_["__"])('Video settings')
       
 23695       }, Object(external_this_wp_element_["createElement"])(edit_common_settings, {
       
 23696         setAttributes: setAttributes,
       
 23697         attributes: attributes
       
 23698       }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUploadCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"], {
       
 23699         className: "editor-video-poster-control"
       
 23700       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"].VisualLabel, null, Object(external_this_wp_i18n_["__"])('Poster image')), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUpload"], {
       
 23701         title: Object(external_this_wp_i18n_["__"])('Select poster image'),
       
 23702         onSelect: this.onSelectPoster,
       
 23703         allowedTypes: VIDEO_POSTER_ALLOWED_MEDIA_TYPES,
       
 23704         render: function render(_ref3) {
       
 23705           var open = _ref3.open;
       
 23706           return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
 23707             isPrimary: true,
       
 23708             onClick: open,
       
 23709             ref: _this2.posterImageButton,
       
 23710             "aria-describedby": videoPosterDescription
       
 23711           }, !_this2.props.attributes.poster ? Object(external_this_wp_i18n_["__"])('Select') : Object(external_this_wp_i18n_["__"])('Replace'));
       
 23712         }
       
 23713       }), Object(external_this_wp_element_["createElement"])("p", {
       
 23714         id: videoPosterDescription,
       
 23715         hidden: true
       
 23716       }, this.props.attributes.poster ? Object(external_this_wp_i18n_["sprintf"])(
       
 23717       /* translators: %s: poster image URL. */
       
 23718       Object(external_this_wp_i18n_["__"])('The current poster image url is %s'), this.props.attributes.poster) : Object(external_this_wp_i18n_["__"])('There is no poster image currently selected')), !!this.props.attributes.poster && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
 23719         onClick: this.onRemovePoster,
       
 23720         isTertiary: true
       
 23721       }, Object(external_this_wp_i18n_["__"])('Remove')))))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalBlock"].figure, null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Disabled"], null, Object(external_this_wp_element_["createElement"])("video", {
       
 23722         controls: controls,
       
 23723         poster: poster,
       
 23724         src: src,
       
 23725         ref: this.videoPlayer
       
 23726       })), (!external_this_wp_blockEditor_["RichText"].isEmpty(caption) || isSelected) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 23727         tagName: "figcaption",
       
 23728         placeholder: Object(external_this_wp_i18n_["__"])('Write caption…'),
       
 23729         value: caption,
       
 23730         onChange: function onChange(value) {
       
 23731           return setAttributes({
       
 23732             caption: value
       
 23733           });
       
 23734         },
       
 23735         inlineToolbar: true,
       
 23736         __unstableOnSplitAtEnd: function __unstableOnSplitAtEnd() {
       
 23737           return insertBlocksAfter(Object(external_this_wp_blocks_["createBlock"])('core/paragraph'));
       
 23738         }
       
 23739       })));
       
 23740     }
       
 23741   }]);
       
 23742 
       
 23743   return VideoEdit;
       
 23744 }(external_this_wp_element_["Component"]);
       
 23745 
       
 23746 /* harmony default export */ var video_edit = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select) {
       
 23747   var _select = select('core/block-editor'),
       
 23748       getSettings = _select.getSettings;
       
 23749 
       
 23750   var _getSettings = getSettings(),
       
 23751       mediaUpload = _getSettings.mediaUpload;
       
 23752 
       
 23753   return {
       
 23754     mediaUpload: mediaUpload
       
 23755   };
       
 23756 }), external_this_wp_components_["withNotices"], external_this_wp_compose_["withInstanceId"]])(edit_VideoEdit));
       
 23757 
       
 23758 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/save.js
       
 23759 
       
 23760 
       
 23761 /**
       
 23762  * WordPress dependencies
       
 23763  */
       
 23764 
       
 23765 function video_save_save(_ref) {
       
 23766   var attributes = _ref.attributes;
       
 23767   var autoplay = attributes.autoplay,
       
 23768       caption = attributes.caption,
       
 23769       controls = attributes.controls,
       
 23770       loop = attributes.loop,
       
 23771       muted = attributes.muted,
       
 23772       poster = attributes.poster,
       
 23773       preload = attributes.preload,
       
 23774       src = attributes.src,
       
 23775       playsInline = attributes.playsInline;
       
 23776   return Object(external_this_wp_element_["createElement"])("figure", null, src && Object(external_this_wp_element_["createElement"])("video", {
       
 23777     autoPlay: autoplay,
       
 23778     controls: controls,
       
 23779     loop: loop,
       
 23780     muted: muted,
       
 23781     poster: poster,
       
 23782     preload: preload !== 'metadata' ? preload : undefined,
       
 23783     src: src,
       
 23784     playsInline: playsInline
       
 23785   }), !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 23786     tagName: "figcaption",
       
 23787     value: caption
       
 23788   }));
       
 23789 }
       
 23790 
       
 23791 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/transforms.js
       
 23792 /**
       
 23793  * WordPress dependencies
       
 23794  */
       
 23795 
       
 23796 
       
 23797 var video_transforms_transforms = {
       
 23798   from: [{
       
 23799     type: 'files',
       
 23800     isMatch: function isMatch(files) {
       
 23801       return files.length === 1 && files[0].type.indexOf('video/') === 0;
       
 23802     },
       
 23803     transform: function transform(files) {
       
 23804       var file = files[0]; // We don't need to upload the media directly here
       
 23805       // It's already done as part of the `componentDidMount`
       
 23806       // in the video block
       
 23807 
       
 23808       var block = Object(external_this_wp_blocks_["createBlock"])('core/video', {
       
 23809         src: Object(external_this_wp_blob_["createBlobURL"])(file)
       
 23810       });
       
 23811       return block;
       
 23812     }
       
 23813   }, {
       
 23814     type: 'shortcode',
       
 23815     tag: 'video',
       
 23816     attributes: {
       
 23817       src: {
       
 23818         type: 'string',
       
 23819         shortcode: function shortcode(_ref) {
       
 23820           var _ref$named = _ref.named,
       
 23821               src = _ref$named.src,
       
 23822               mp4 = _ref$named.mp4,
       
 23823               m4v = _ref$named.m4v,
       
 23824               webm = _ref$named.webm,
       
 23825               ogv = _ref$named.ogv,
       
 23826               flv = _ref$named.flv;
       
 23827           return src || mp4 || m4v || webm || ogv || flv;
       
 23828         }
       
 23829       },
       
 23830       poster: {
       
 23831         type: 'string',
       
 23832         shortcode: function shortcode(_ref2) {
       
 23833           var poster = _ref2.named.poster;
       
 23834           return poster;
       
 23835         }
       
 23836       },
       
 23837       loop: {
       
 23838         type: 'string',
       
 23839         shortcode: function shortcode(_ref3) {
       
 23840           var loop = _ref3.named.loop;
       
 23841           return loop;
       
 23842         }
       
 23843       },
       
 23844       autoplay: {
       
 23845         type: 'string',
       
 23846         shortcode: function shortcode(_ref4) {
       
 23847           var autoplay = _ref4.named.autoplay;
       
 23848           return autoplay;
       
 23849         }
       
 23850       },
       
 23851       preload: {
       
 23852         type: 'string',
       
 23853         shortcode: function shortcode(_ref5) {
       
 23854           var preload = _ref5.named.preload;
       
 23855           return preload;
       
 23856         }
       
 23857       }
       
 23858     }
       
 23859   }]
       
 23860 };
       
 23861 /* harmony default export */ var video_transforms = (video_transforms_transforms);
       
 23862 
       
 23863 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/index.js
       
 23864 /**
       
 23865  * WordPress dependencies
       
 23866  */
       
 23867 
       
 23868 
       
 23869 /**
       
 23870  * Internal dependencies
       
 23871  */
       
 23872 
       
 23873 
       
 23874 var video_metadata = {
       
 23875   name: "core/video",
       
 23876   category: "media",
       
 23877   attributes: {
       
 23878     autoplay: {
       
 23879       type: "boolean",
       
 23880       source: "attribute",
       
 23881       selector: "video",
       
 23882       attribute: "autoplay"
       
 23883     },
       
 23884     caption: {
       
 23885       type: "string",
       
 23886       source: "html",
       
 23887       selector: "figcaption"
       
 23888     },
       
 23889     controls: {
       
 23890       type: "boolean",
       
 23891       source: "attribute",
       
 23892       selector: "video",
       
 23893       attribute: "controls",
       
 23894       "default": true
       
 23895     },
       
 23896     id: {
       
 23897       type: "number"
       
 23898     },
       
 23899     loop: {
       
 23900       type: "boolean",
       
 23901       source: "attribute",
       
 23902       selector: "video",
       
 23903       attribute: "loop"
       
 23904     },
       
 23905     muted: {
       
 23906       type: "boolean",
       
 23907       source: "attribute",
       
 23908       selector: "video",
       
 23909       attribute: "muted"
       
 23910     },
       
 23911     poster: {
       
 23912       type: "string",
       
 23913       source: "attribute",
       
 23914       selector: "video",
       
 23915       attribute: "poster"
       
 23916     },
       
 23917     preload: {
       
 23918       type: "string",
       
 23919       source: "attribute",
       
 23920       selector: "video",
       
 23921       attribute: "preload",
       
 23922       "default": "metadata"
       
 23923     },
       
 23924     src: {
       
 23925       type: "string",
       
 23926       source: "attribute",
       
 23927       selector: "video",
       
 23928       attribute: "src"
       
 23929     },
       
 23930     playsInline: {
       
 23931       type: "boolean",
       
 23932       source: "attribute",
       
 23933       selector: "video",
       
 23934       attribute: "playsinline"
       
 23935     }
       
 23936   },
       
 23937   supports: {
       
 23938     anchor: true,
       
 23939     align: true,
       
 23940     lightBlockWrapper: true
       
 23941   }
       
 23942 };
       
 23943 
       
 23944 
       
 23945 var video_name = video_metadata.name;
       
 23946 
       
 23947 var video_settings = {
       
 23948   title: Object(external_this_wp_i18n_["__"])('Video'),
       
 23949   description: Object(external_this_wp_i18n_["__"])('Embed a video from your media library or upload a new one.'),
       
 23950   icon: library_video,
       
 23951   keywords: [Object(external_this_wp_i18n_["__"])('movie')],
       
 23952   transforms: video_transforms,
       
 23953   edit: video_edit,
       
 23954   save: video_save_save
       
 23955 };
       
 23956 
       
 23957 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/tag.js
       
 23958 
       
 23959 
       
 23960 /**
       
 23961  * WordPress dependencies
       
 23962  */
       
 23963 
       
 23964 var tag_tag = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 23965   xmlns: "http://www.w3.org/2000/svg",
       
 23966   viewBox: "0 0 24 24"
       
 23967 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 23968   d: "M20.1 11.2l-6.7-6.7c-.1-.1-.3-.2-.5-.2H5c-.4-.1-.8.3-.8.7v7.8c0 .2.1.4.2.5l6.7 6.7c.2.2.5.4.7.5s.6.2.9.2c.3 0 .6-.1.9-.2.3-.1.5-.3.8-.5l5.6-5.6c.4-.4.7-1 .7-1.6.1-.6-.2-1.2-.6-1.6zM19 13.4L13.4 19c-.1.1-.2.1-.3.2-.2.1-.4.1-.6 0-.1 0-.2-.1-.3-.2l-6.5-6.5V5.8h6.8l6.5 6.5c.2.2.2.4.2.6 0 .1 0 .3-.2.5zM9 8c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1z"
       
 23969 }));
       
 23970 /* harmony default export */ var library_tag = (tag_tag);
       
 23971 
       
 23972 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/tag-cloud/edit.js
       
 23973 
       
 23974 
       
 23975 
       
 23976 
       
 23977 
       
 23978 
       
 23979 
       
 23980 
       
 23981 
       
 23982 function tag_cloud_edit_createSuper(Derived) { return function () { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (tag_cloud_edit_isNativeReflectConstruct()) { var NewTarget = Object(getPrototypeOf["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(possibleConstructorReturn["a" /* default */])(this, result); }; }
       
 23983 
       
 23984 function tag_cloud_edit_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
       
 23985 
       
 23986 /**
       
 23987  * External dependencies
       
 23988  */
       
 23989 
       
 23990 /**
       
 23991  * WordPress dependencies
       
 23992  */
       
 23993 
       
 23994 
       
 23995 
       
 23996 
       
 23997 
       
 23998 
       
 23999 
       
 24000 
       
 24001 var edit_TagCloudEdit = /*#__PURE__*/function (_Component) {
       
 24002   Object(inherits["a" /* default */])(TagCloudEdit, _Component);
       
 24003 
       
 24004   var _super = tag_cloud_edit_createSuper(TagCloudEdit);
       
 24005 
       
 24006   function TagCloudEdit() {
       
 24007     var _this;
       
 24008 
       
 24009     Object(classCallCheck["a" /* default */])(this, TagCloudEdit);
       
 24010 
       
 24011     _this = _super.apply(this, arguments);
       
 24012     _this.state = {
       
 24013       editing: !_this.props.attributes.taxonomy
       
 24014     };
       
 24015     _this.setTaxonomy = _this.setTaxonomy.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 24016     _this.toggleShowTagCounts = _this.toggleShowTagCounts.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 24017     return _this;
       
 24018   }
       
 24019 
       
 24020   Object(createClass["a" /* default */])(TagCloudEdit, [{
       
 24021     key: "getTaxonomyOptions",
       
 24022     value: function getTaxonomyOptions() {
       
 24023       var taxonomies = Object(external_this_lodash_["filter"])(this.props.taxonomies, 'show_cloud');
       
 24024       var selectOption = {
       
 24025         label: Object(external_this_wp_i18n_["__"])('- Select -'),
       
 24026         value: '',
       
 24027         disabled: true
       
 24028       };
       
 24029       var taxonomyOptions = Object(external_this_lodash_["map"])(taxonomies, function (taxonomy) {
       
 24030         return {
       
 24031           value: taxonomy.slug,
       
 24032           label: taxonomy.name
       
 24033         };
       
 24034       });
       
 24035       return [selectOption].concat(Object(toConsumableArray["a" /* default */])(taxonomyOptions));
       
 24036     }
       
 24037   }, {
       
 24038     key: "setTaxonomy",
       
 24039     value: function setTaxonomy(taxonomy) {
       
 24040       var setAttributes = this.props.setAttributes;
       
 24041       setAttributes({
       
 24042         taxonomy: taxonomy
       
 24043       });
       
 24044     }
       
 24045   }, {
       
 24046     key: "toggleShowTagCounts",
       
 24047     value: function toggleShowTagCounts() {
       
 24048       var _this$props = this.props,
       
 24049           attributes = _this$props.attributes,
       
 24050           setAttributes = _this$props.setAttributes;
       
 24051       var showTagCounts = attributes.showTagCounts;
       
 24052       setAttributes({
       
 24053         showTagCounts: !showTagCounts
       
 24054       });
       
 24055     }
       
 24056   }, {
       
 24057     key: "render",
       
 24058     value: function render() {
       
 24059       var attributes = this.props.attributes;
       
 24060       var taxonomy = attributes.taxonomy,
       
 24061           showTagCounts = attributes.showTagCounts;
       
 24062       var taxonomyOptions = this.getTaxonomyOptions();
       
 24063       var inspectorControls = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 24064         title: Object(external_this_wp_i18n_["__"])('Tag Cloud settings')
       
 24065       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], {
       
 24066         label: Object(external_this_wp_i18n_["__"])('Taxonomy'),
       
 24067         options: taxonomyOptions,
       
 24068         value: taxonomy,
       
 24069         onChange: this.setTaxonomy
       
 24070       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 24071         label: Object(external_this_wp_i18n_["__"])('Show post counts'),
       
 24072         checked: showTagCounts,
       
 24073         onChange: this.toggleShowTagCounts
       
 24074       })));
       
 24075       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, inspectorControls, Object(external_this_wp_element_["createElement"])(external_this_wp_serverSideRender_default.a, {
       
 24076         key: "tag-cloud",
       
 24077         block: "core/tag-cloud",
       
 24078         attributes: attributes
       
 24079       }));
       
 24080     }
       
 24081   }]);
       
 24082 
       
 24083   return TagCloudEdit;
       
 24084 }(external_this_wp_element_["Component"]);
       
 24085 
       
 24086 /* harmony default export */ var tag_cloud_edit = (Object(external_this_wp_data_["withSelect"])(function (select) {
       
 24087   return {
       
 24088     taxonomies: select('core').getTaxonomies()
       
 24089   };
       
 24090 })(edit_TagCloudEdit));
       
 24091 
       
 24092 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/tag-cloud/index.js
       
 24093 /**
       
 24094  * WordPress dependencies
       
 24095  */
       
 24096 
       
 24097 
       
 24098 /**
       
 24099  * Internal dependencies
       
 24100  */
       
 24101 
       
 24102 var tag_cloud_metadata = {
       
 24103   name: "core/tag-cloud",
       
 24104   category: "widgets",
       
 24105   attributes: {
       
 24106     align: {
       
 24107       type: "string",
       
 24108       "enum": ["left", "center", "right", "wide", "full"]
       
 24109     },
       
 24110     className: {
       
 24111       type: "string"
       
 24112     },
       
 24113     taxonomy: {
       
 24114       type: "string",
       
 24115       "default": "post_tag"
       
 24116     },
       
 24117     showTagCounts: {
       
 24118       type: "boolean",
       
 24119       "default": false
       
 24120     }
       
 24121   },
       
 24122   supports: {
       
 24123     html: false,
       
 24124     align: true
       
 24125   }
       
 24126 };
       
 24127 
       
 24128 var tag_cloud_name = tag_cloud_metadata.name;
       
 24129 
       
 24130 var tag_cloud_settings = {
       
 24131   title: Object(external_this_wp_i18n_["__"])('Tag Cloud'),
       
 24132   description: Object(external_this_wp_i18n_["__"])('A cloud of your most used tags.'),
       
 24133   icon: library_tag,
       
 24134   example: {},
       
 24135   edit: tag_cloud_edit
       
 24136 };
       
 24137 
       
 24138 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/classic.js
       
 24139 
       
 24140 
       
 24141 /**
       
 24142  * WordPress dependencies
       
 24143  */
       
 24144 
       
 24145 var classic = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 24146   viewBox: "0 0 24 24",
       
 24147   xmlns: "http://www.w3.org/2000/svg"
       
 24148 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 24149   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"
       
 24150 }));
       
 24151 /* harmony default export */ var library_classic = (classic);
       
 24152 
       
 24153 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/classic/edit.js
       
 24154 
       
 24155 
       
 24156 
       
 24157 
       
 24158 
       
 24159 
       
 24160 
       
 24161 
       
 24162 
       
 24163 function classic_edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
       
 24164 
       
 24165 function classic_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { classic_edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { classic_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
 24166 
       
 24167 function classic_edit_createSuper(Derived) { return function () { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (classic_edit_isNativeReflectConstruct()) { var NewTarget = Object(getPrototypeOf["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(possibleConstructorReturn["a" /* default */])(this, result); }; }
       
 24168 
       
 24169 function classic_edit_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
       
 24170 
       
 24171 /**
       
 24172  * External dependencies
       
 24173  */
       
 24174 
       
 24175 /**
       
 24176  * WordPress dependencies
       
 24177  */
       
 24178 
       
 24179 
       
 24180 
       
 24181 
       
 24182 var classic_edit_window = window,
       
 24183     wp = classic_edit_window.wp;
       
 24184 
       
 24185 function isTmceEmpty(editor) {
       
 24186   // When tinyMce is empty the content seems to be:
       
 24187   // <p><br data-mce-bogus="1"></p>
       
 24188   // avoid expensive checks for large documents
       
 24189   var body = editor.getBody();
       
 24190 
       
 24191   if (body.childNodes.length > 1) {
       
 24192     return false;
       
 24193   } else if (body.childNodes.length === 0) {
       
 24194     return true;
       
 24195   }
       
 24196 
       
 24197   if (body.childNodes[0].childNodes.length > 1) {
       
 24198     return false;
       
 24199   }
       
 24200 
       
 24201   return /^\n?$/.test(body.innerText || body.textContent);
       
 24202 }
       
 24203 
       
 24204 var edit_ClassicEdit = /*#__PURE__*/function (_Component) {
       
 24205   Object(inherits["a" /* default */])(ClassicEdit, _Component);
       
 24206 
       
 24207   var _super = classic_edit_createSuper(ClassicEdit);
       
 24208 
       
 24209   function ClassicEdit(props) {
       
 24210     var _this;
       
 24211 
       
 24212     Object(classCallCheck["a" /* default */])(this, ClassicEdit);
       
 24213 
       
 24214     _this = _super.call(this, props);
       
 24215     _this.initialize = _this.initialize.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 24216     _this.onSetup = _this.onSetup.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 24217     _this.focus = _this.focus.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
 24218     return _this;
       
 24219   }
       
 24220 
       
 24221   Object(createClass["a" /* default */])(ClassicEdit, [{
       
 24222     key: "componentDidMount",
       
 24223     value: function componentDidMount() {
       
 24224       var _window$wpEditorL10n$ = window.wpEditorL10n.tinymce,
       
 24225           baseURL = _window$wpEditorL10n$.baseURL,
       
 24226           suffix = _window$wpEditorL10n$.suffix;
       
 24227       window.tinymce.EditorManager.overrideDefaults({
       
 24228         base_url: baseURL,
       
 24229         suffix: suffix
       
 24230       });
       
 24231 
       
 24232       if (document.readyState === 'complete') {
       
 24233         this.initialize();
       
 24234       } else {
       
 24235         window.addEventListener('DOMContentLoaded', this.initialize);
       
 24236       }
       
 24237     }
       
 24238   }, {
       
 24239     key: "componentWillUnmount",
       
 24240     value: function componentWillUnmount() {
       
 24241       window.addEventListener('DOMContentLoaded', this.initialize);
       
 24242       wp.oldEditor.remove("editor-".concat(this.props.clientId));
       
 24243     }
       
 24244   }, {
       
 24245     key: "componentDidUpdate",
       
 24246     value: function componentDidUpdate(prevProps) {
       
 24247       var _this$props = this.props,
       
 24248           clientId = _this$props.clientId,
       
 24249           content = _this$props.attributes.content;
       
 24250       var editor = window.tinymce.get("editor-".concat(clientId));
       
 24251       var currentContent = editor.getContent();
       
 24252 
       
 24253       if (prevProps.attributes.content !== content && currentContent !== content) {
       
 24254         editor.setContent(content || '');
       
 24255       }
       
 24256     }
       
 24257   }, {
       
 24258     key: "initialize",
       
 24259     value: function initialize() {
       
 24260       var clientId = this.props.clientId;
       
 24261       var settings = window.wpEditorL10n.tinymce.settings;
       
 24262       wp.oldEditor.initialize("editor-".concat(clientId), {
       
 24263         tinymce: classic_edit_objectSpread({}, settings, {
       
 24264           inline: true,
       
 24265           content_css: false,
       
 24266           fixed_toolbar_container: "#toolbar-".concat(clientId),
       
 24267           setup: this.onSetup
       
 24268         })
       
 24269       });
       
 24270     }
       
 24271   }, {
       
 24272     key: "onSetup",
       
 24273     value: function onSetup(editor) {
       
 24274       var _this2 = this;
       
 24275 
       
 24276       var _this$props2 = this.props,
       
 24277           content = _this$props2.attributes.content,
       
 24278           setAttributes = _this$props2.setAttributes;
       
 24279       var ref = this.ref;
       
 24280       var bookmark;
       
 24281       this.editor = editor;
       
 24282 
       
 24283       if (content) {
       
 24284         editor.on('loadContent', function () {
       
 24285           return editor.setContent(content);
       
 24286         });
       
 24287       }
       
 24288 
       
 24289       editor.on('blur', function () {
       
 24290         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.
       
 24291         // This causes a scroll to the top of editor content on return from some content updating dialogs so tracking
       
 24292         // scroll position until this is fixed in core.
       
 24293 
       
 24294         var scrollContainer = document.querySelector('.interface-interface-skeleton__content');
       
 24295         var scrollPosition = scrollContainer.scrollTop;
       
 24296         setAttributes({
       
 24297           content: editor.getContent()
       
 24298         });
       
 24299         editor.once('focus', function () {
       
 24300           if (bookmark) {
       
 24301             editor.selection.moveToBookmark(bookmark);
       
 24302 
       
 24303             if (scrollContainer.scrollTop !== scrollPosition) {
       
 24304               scrollContainer.scrollTop = scrollPosition;
       
 24305             }
       
 24306           }
       
 24307         });
       
 24308         return false;
       
 24309       });
       
 24310       editor.on('mousedown touchstart', function () {
       
 24311         bookmark = null;
       
 24312       });
       
 24313       var debouncedOnChange = Object(external_this_lodash_["debounce"])(function () {
       
 24314         var value = editor.getContent();
       
 24315 
       
 24316         if (value !== editor._lastChange) {
       
 24317           editor._lastChange = value;
       
 24318           setAttributes({
       
 24319             content: value
       
 24320           });
       
 24321         }
       
 24322       }, 250);
       
 24323       editor.on('Paste Change input Undo Redo', debouncedOnChange); // We need to cancel the debounce call because when we remove
       
 24324       // the editor (onUnmount) this callback is executed in
       
 24325       // another tick. This results in setting the content to empty.
       
 24326 
       
 24327       editor.on('remove', debouncedOnChange.cancel);
       
 24328       editor.on('keydown', function (event) {
       
 24329         if (external_this_wp_keycodes_["isKeyboardEvent"].primary(event, 'z')) {
       
 24330           // Prevent the gutenberg undo kicking in so TinyMCE undo stack works as expected
       
 24331           event.stopPropagation();
       
 24332         }
       
 24333 
       
 24334         if ((event.keyCode === external_this_wp_keycodes_["BACKSPACE"] || event.keyCode === external_this_wp_keycodes_["DELETE"]) && isTmceEmpty(editor)) {
       
 24335           // delete the block
       
 24336           _this2.props.onReplace([]);
       
 24337 
       
 24338           event.preventDefault();
       
 24339           event.stopImmediatePropagation();
       
 24340         }
       
 24341 
       
 24342         var altKey = event.altKey;
       
 24343         /*
       
 24344          * Prevent Mousetrap from kicking in: TinyMCE already uses its own
       
 24345          * `alt+f10` shortcut to focus its toolbar.
       
 24346          */
       
 24347 
       
 24348         if (altKey && event.keyCode === external_this_wp_keycodes_["F10"]) {
       
 24349           event.stopPropagation();
       
 24350         }
       
 24351       }); // TODO: the following is for back-compat with WP 4.9, not needed in WP 5.0. Remove it after the release.
       
 24352 
       
 24353       editor.addButton('kitchensink', {
       
 24354         tooltip: Object(external_this_wp_i18n_["_x"])('More', 'button to expand options'),
       
 24355         icon: 'dashicon dashicons-editor-kitchensink',
       
 24356         onClick: function onClick() {
       
 24357           var button = this;
       
 24358           var active = !button.active();
       
 24359           button.active(active);
       
 24360           editor.dom.toggleClass(ref, 'has-advanced-toolbar', active);
       
 24361         }
       
 24362       }); // Show the second, third, etc. toolbars when the `kitchensink` button is removed by a plugin.
       
 24363 
       
 24364       editor.on('init', function () {
       
 24365         if (editor.settings.toolbar1 && editor.settings.toolbar1.indexOf('kitchensink') === -1) {
       
 24366           editor.dom.addClass(ref, 'has-advanced-toolbar');
       
 24367         }
       
 24368       });
       
 24369       editor.addButton('wp_add_media', {
       
 24370         tooltip: Object(external_this_wp_i18n_["__"])('Insert Media'),
       
 24371         icon: 'dashicon dashicons-admin-media',
       
 24372         cmd: 'WP_Medialib'
       
 24373       }); // End TODO.
       
 24374 
       
 24375       editor.on('init', function () {
       
 24376         var rootNode = _this2.editor.getBody(); // Create the toolbar by refocussing the editor.
       
 24377 
       
 24378 
       
 24379         if (document.activeElement === rootNode) {
       
 24380           rootNode.blur();
       
 24381 
       
 24382           _this2.editor.focus();
       
 24383         }
       
 24384       });
       
 24385     }
       
 24386   }, {
       
 24387     key: "focus",
       
 24388     value: function focus() {
       
 24389       if (this.editor) {
       
 24390         this.editor.focus();
       
 24391       }
       
 24392     }
       
 24393   }, {
       
 24394     key: "onToolbarKeyDown",
       
 24395     value: function onToolbarKeyDown(event) {
       
 24396       // Prevent WritingFlow from kicking in and allow arrows navigation on the toolbar.
       
 24397       event.stopPropagation(); // Prevent Mousetrap from moving focus to the top toolbar when pressing `alt+f10` on this block toolbar.
       
 24398 
       
 24399       event.nativeEvent.stopImmediatePropagation();
       
 24400     }
       
 24401   }, {
       
 24402     key: "render",
       
 24403     value: function render() {
       
 24404       var _this3 = this;
       
 24405 
       
 24406       var clientId = this.props.clientId; // Disable reasons:
       
 24407       //
       
 24408       // jsx-a11y/no-static-element-interactions
       
 24409       //  - the toolbar itself is non-interactive, but must capture events
       
 24410       //    from the KeyboardShortcuts component to stop their propagation.
       
 24411 
       
 24412       /* eslint-disable jsx-a11y/no-static-element-interactions */
       
 24413 
       
 24414       return [Object(external_this_wp_element_["createElement"])("div", {
       
 24415         key: "toolbar",
       
 24416         id: "toolbar-".concat(clientId),
       
 24417         ref: function ref(_ref) {
       
 24418           return _this3.ref = _ref;
       
 24419         },
       
 24420         className: "block-library-classic__toolbar",
       
 24421         onClick: this.focus,
       
 24422         "data-placeholder": Object(external_this_wp_i18n_["__"])('Classic'),
       
 24423         onKeyDown: this.onToolbarKeyDown
       
 24424       }), Object(external_this_wp_element_["createElement"])("div", {
       
 24425         key: "editor",
       
 24426         id: "editor-".concat(clientId),
       
 24427         className: "wp-block-freeform block-library-rich-text__tinymce"
       
 24428       })];
       
 24429       /* eslint-enable jsx-a11y/no-static-element-interactions */
       
 24430     }
       
 24431   }]);
       
 24432 
       
 24433   return ClassicEdit;
       
 24434 }(external_this_wp_element_["Component"]);
       
 24435 
       
 24436 
       
 24437 
       
 24438 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/classic/save.js
       
 24439 
       
 24440 
       
 24441 /**
       
 24442  * WordPress dependencies
       
 24443  */
       
 24444 
       
 24445 function classic_save_save(_ref) {
       
 24446   var attributes = _ref.attributes;
       
 24447   var content = attributes.content;
       
 24448   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["RawHTML"], null, content);
       
 24449 }
       
 24450 
       
 24451 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/classic/index.js
       
 24452 /**
       
 24453  * WordPress dependencies
       
 24454  */
       
 24455 
       
 24456 
       
 24457 /**
       
 24458  * Internal dependencies
       
 24459  */
       
 24460 
       
 24461 
       
 24462 var classic_metadata = {
       
 24463   name: "core/freeform",
       
 24464   category: "text",
       
 24465   attributes: {
       
 24466     content: {
       
 24467       type: "string",
       
 24468       source: "html"
       
 24469     }
       
 24470   },
       
 24471   supports: {
       
 24472     className: false,
       
 24473     customClassName: false,
       
 24474     reusable: false
       
 24475   }
       
 24476 };
       
 24477 
       
 24478 var classic_name = classic_metadata.name;
       
 24479 
       
 24480 var classic_settings = {
       
 24481   title: Object(external_this_wp_i18n_["_x"])('Classic', 'block title'),
       
 24482   description: Object(external_this_wp_i18n_["__"])('Use the classic WordPress editor.'),
       
 24483   icon: library_classic,
       
 24484   edit: edit_ClassicEdit,
       
 24485   save: classic_save_save
       
 24486 };
       
 24487 
       
 24488 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/share.js
       
 24489 
       
 24490 
       
 24491 /**
       
 24492  * WordPress dependencies
       
 24493  */
       
 24494 
       
 24495 var share = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 24496   viewBox: "0 0 24 24",
       
 24497   xmlns: "http://www.w3.org/2000/svg"
       
 24498 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 24499   d: "M9 11.8l6.1-4.5c.1.4.4.7.9.7h2c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v.4l-6.4 4.8c-.2-.1-.4-.2-.6-.2H6c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1h2c.2 0 .4-.1.6-.2l6.4 4.8v.4c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1h-2c-.5 0-.8.3-.9.7L9 12.2v-.4z"
       
 24500 }));
       
 24501 /* harmony default export */ var library_share = (share);
       
 24502 
       
 24503 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-links/edit.js
       
 24504 
       
 24505 
       
 24506 /**
       
 24507  * WordPress dependencies
       
 24508  */
       
 24509 
       
 24510 var social_links_edit_ALLOWED_BLOCKS = ['core/social-link']; // Template contains the links that show when start.
       
 24511 
       
 24512 var edit_TEMPLATE = [['core/social-link', {
       
 24513   service: 'wordpress',
       
 24514   url: 'https://wordpress.org'
       
 24515 }], ['core/social-link', {
       
 24516   service: 'facebook'
       
 24517 }], ['core/social-link', {
       
 24518   service: 'twitter'
       
 24519 }], ['core/social-link', {
       
 24520   service: 'instagram'
       
 24521 }], ['core/social-link', {
       
 24522   service: 'linkedin'
       
 24523 }], ['core/social-link', {
       
 24524   service: 'youtube'
       
 24525 }]];
       
 24526 function SocialLinksEdit() {
       
 24527   return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"], {
       
 24528     allowedBlocks: social_links_edit_ALLOWED_BLOCKS,
       
 24529     templateLock: false,
       
 24530     template: edit_TEMPLATE,
       
 24531     orientation: "horizontal",
       
 24532     __experimentalTagName: external_this_wp_blockEditor_["__experimentalBlock"].ul,
       
 24533     __experimentalAppenderTagName: "li"
       
 24534   });
       
 24535 }
       
 24536 /* harmony default export */ var social_links_edit = (SocialLinksEdit);
       
 24537 
       
 24538 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-links/save.js
       
 24539 
       
 24540 
       
 24541 /**
       
 24542  * WordPress dependencies
       
 24543  */
       
 24544 
       
 24545 function social_links_save_save(_ref) {
       
 24546   var className = _ref.className;
       
 24547   return Object(external_this_wp_element_["createElement"])("ul", {
       
 24548     className: className
       
 24549   }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null));
       
 24550 }
       
 24551 
       
 24552 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-links/index.js
       
 24553 /**
       
 24554  * WordPress dependencies
       
 24555  */
       
 24556 
       
 24557 
       
 24558 /**
       
 24559  * Internal dependencies
       
 24560  */
       
 24561 
       
 24562 
       
 24563 var social_links_metadata = {
       
 24564   name: "core/social-links",
       
 24565   category: "widgets",
       
 24566   supports: {
       
 24567     align: ["left", "center", "right"],
       
 24568     lightBlockWrapper: true,
       
 24569     anchor: true
       
 24570   }
       
 24571 };
       
 24572 
       
 24573 var social_links_name = social_links_metadata.name;
       
 24574 
       
 24575 var social_links_settings = {
       
 24576   title: Object(external_this_wp_i18n_["__"])('Social Icons'),
       
 24577   description: Object(external_this_wp_i18n_["__"])('Display icons linking to your social media profiles or websites.'),
       
 24578   keywords: [Object(external_this_wp_i18n_["_x"])('links', 'block keywords')],
       
 24579   example: {
       
 24580     innerBlocks: [{
       
 24581       name: 'core/social-link',
       
 24582       attributes: {
       
 24583         service: 'wordpress',
       
 24584         url: 'https://wordpress.org'
       
 24585       }
       
 24586     }, {
       
 24587       name: 'core/social-link',
       
 24588       attributes: {
       
 24589         service: 'facebook',
       
 24590         url: 'https://www.facebook.com/WordPress/'
       
 24591       }
       
 24592     }, {
       
 24593       name: 'core/social-link',
       
 24594       attributes: {
       
 24595         service: 'twitter',
       
 24596         url: 'https://twitter.com/WordPress'
       
 24597       }
       
 24598     }]
       
 24599   },
       
 24600   styles: [{
       
 24601     name: 'default',
       
 24602     label: Object(external_this_wp_i18n_["__"])('Default'),
       
 24603     isDefault: true
       
 24604   }, {
       
 24605     name: 'logos-only',
       
 24606     label: Object(external_this_wp_i18n_["__"])('Logos Only')
       
 24607   }, {
       
 24608     name: 'pill-shape',
       
 24609     label: Object(external_this_wp_i18n_["__"])('Pill Shape')
       
 24610   }],
       
 24611   icon: library_share,
       
 24612   edit: social_links_edit,
       
 24613   save: social_links_save_save
       
 24614 };
       
 24615 
       
 24616 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/keyboard-return.js
       
 24617 var keyboard_return = __webpack_require__(203);
       
 24618 
       
 24619 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/wordpress.js
       
 24620 
       
 24621 
       
 24622 /**
       
 24623  * WordPress dependencies
       
 24624  */
       
 24625 
       
 24626 var wordpress_WordPressIcon = function WordPressIcon() {
       
 24627   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 24628     width: "24",
       
 24629     height: "24",
       
 24630     viewBox: "0 0 24 24",
       
 24631     version: "1.1",
       
 24632     xmlns: "http://www.w3.org/2000/svg"
       
 24633   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 24634     d: "M12.158,12.786L9.46,20.625c0.806,0.237,1.657,0.366,2.54,0.366c1.047,0,2.051-0.181,2.986-0.51 c-0.024-0.038-0.046-0.079-0.065-0.124L12.158,12.786z M3.009,12c0,3.559,2.068,6.634,5.067,8.092L3.788,8.341 C3.289,9.459,3.009,10.696,3.009,12z M18.069,11.546c0-1.112-0.399-1.881-0.741-2.48c-0.456-0.741-0.883-1.368-0.883-2.109 c0-0.826,0.627-1.596,1.51-1.596c0.04,0,0.078,0.005,0.116,0.007C16.472,3.904,14.34,3.009,12,3.009 c-3.141,0-5.904,1.612-7.512,4.052c0.211,0.007,0.41,0.011,0.579,0.011c0.94,0,2.396-0.114,2.396-0.114 C7.947,6.93,8.004,7.642,7.52,7.699c0,0-0.487,0.057-1.029,0.085l3.274,9.739l1.968-5.901l-1.401-3.838 C9.848,7.756,9.389,7.699,9.389,7.699C8.904,7.67,8.961,6.93,9.446,6.958c0,0,1.484,0.114,2.368,0.114 c0.94,0,2.397-0.114,2.397-0.114c0.485-0.028,0.542,0.684,0.057,0.741c0,0-0.488,0.057-1.029,0.085l3.249,9.665l0.897-2.996 C17.841,13.284,18.069,12.316,18.069,11.546z M19.889,7.686c0.039,0.286,0.06,0.593,0.06,0.924c0,0.912-0.171,1.938-0.684,3.22 l-2.746,7.94c2.673-1.558,4.47-4.454,4.47-7.771C20.991,10.436,20.591,8.967,19.889,7.686z M12,22C6.486,22,2,17.514,2,12 C2,6.486,6.486,2,12,2c5.514,0,10,4.486,10,10C22,17.514,17.514,22,12,22z"
       
 24635   }));
       
 24636 };
       
 24637 
       
 24638 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/fivehundredpx.js
       
 24639 
       
 24640 
       
 24641 /**
       
 24642  * WordPress dependencies
       
 24643  */
       
 24644 
       
 24645 var fivehundredpx_FivehundredpxIcon = function FivehundredpxIcon() {
       
 24646   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 24647     width: "24",
       
 24648     height: "24",
       
 24649     viewBox: "0 0 24 24",
       
 24650     version: "1.1"
       
 24651   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 24652     d: "M6.94026,15.1412c.00437.01213.108.29862.168.44064a6.55008,6.55008,0,1,0,6.03191-9.09557,6.68654,6.68654,0,0,0-2.58357.51467A8.53914,8.53914,0,0,0,8.21268,8.61344L8.209,8.61725V3.22948l9.0504-.00008c.32934-.0036.32934-.46353.32934-.61466s0-.61091-.33035-.61467L7.47248,2a.43.43,0,0,0-.43131.42692v7.58355c0,.24466.30476.42131.58793.4819.553.11812.68074-.05864.81617-.2457l.018-.02481A10.52673,10.52673,0,0,1,9.32258,9.258a5.35268,5.35268,0,1,1,7.58985,7.54976,5.417,5.417,0,0,1-3.80867,1.56365,5.17483,5.17483,0,0,1-2.69822-.74478l.00342-4.61111a2.79372,2.79372,0,0,1,.71372-1.78792,2.61611,2.61611,0,0,1,1.98282-.89477,2.75683,2.75683,0,0,1,1.95525.79477,2.66867,2.66867,0,0,1,.79656,1.909,2.724,2.724,0,0,1-2.75849,2.748,4.94651,4.94651,0,0,1-.86254-.13719c-.31234-.093-.44519.34058-.48892.48349-.16811.54966.08453.65862.13687.67489a3.75751,3.75751,0,0,0,1.25234.18375,3.94634,3.94634,0,1,0-2.82444-6.742,3.67478,3.67478,0,0,0-1.13028,2.584l-.00041.02323c-.0035.11667-.00579,2.881-.00644,3.78811l-.00407-.00451a6.18521,6.18521,0,0,1-1.0851-1.86092c-.10544-.27856-.34358-.22925-.66857-.12917-.14192.04372-.57386.17677-.47833.489Zm4.65165-1.08338a.51346.51346,0,0,0,.19513.31818l.02276.022a.52945.52945,0,0,0,.3517.18416.24242.24242,0,0,0,.16577-.0611c.05473-.05082.67382-.67812.73287-.738l.69041.68819a.28978.28978,0,0,0,.21437.11032.53239.53239,0,0,0,.35708-.19486c.29792-.30419.14885-.46821.07676-.54751l-.69954-.69975.72952-.73469c.16-.17311.01874-.35708-.12218-.498-.20461-.20461-.402-.25742-.52855-.14083l-.7254.72665-.73354-.73375a.20128.20128,0,0,0-.14179-.05695.54135.54135,0,0,0-.34379.19648c-.22561.22555-.274.38149-.15656.5059l.73374.7315-.72942.73072A.26589.26589,0,0,0,11.59191,14.05782Zm1.59866-9.915A8.86081,8.86081,0,0,0,9.854,4.776a.26169.26169,0,0,0-.16938.22759.92978.92978,0,0,0,.08619.42094c.05682.14524.20779.531.50006.41955a8.40969,8.40969,0,0,1,2.91968-.55484,7.87875,7.87875,0,0,1,3.086.62286,8.61817,8.61817,0,0,1,2.30562,1.49315.2781.2781,0,0,0,.18318.07586c.15529,0,.30425-.15253.43167-.29551.21268-.23861.35873-.4369.1492-.63538a8.50425,8.50425,0,0,0-2.62312-1.694A9.0177,9.0177,0,0,0,13.19058,4.14283ZM19.50945,18.6236h0a.93171.93171,0,0,0-.36642-.25406.26589.26589,0,0,0-.27613.06613l-.06943.06929A7.90606,7.90606,0,0,1,7.60639,18.505a7.57284,7.57284,0,0,1-1.696-2.51537,8.58715,8.58715,0,0,1-.5147-1.77754l-.00871-.04864c-.04939-.25873-.28755-.27684-.62981-.22448-.14234.02178-.5755.088-.53426.39969l.001.00712a9.08807,9.08807,0,0,0,15.406,4.99094c.00193-.00192.04753-.04718.0725-.07436C19.79425,19.16234,19.87422,18.98728,19.50945,18.6236Z"
       
 24653   }));
       
 24654 };
       
 24655 
       
 24656 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/amazon.js
       
 24657 
       
 24658 
       
 24659 /**
       
 24660  * WordPress dependencies
       
 24661  */
       
 24662 
       
 24663 var amazon_AmazonIcon = function AmazonIcon() {
       
 24664   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 24665     width: "24",
       
 24666     height: "24",
       
 24667     viewBox: "0 0 24 24",
       
 24668     version: "1.1"
       
 24669   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 24670     d: "M13.582,8.182C11.934,8.367,9.78,8.49,8.238,9.166c-1.781,0.769-3.03,2.337-3.03,4.644 c0,2.953,1.86,4.429,4.253,4.429c2.02,0,3.125-0.477,4.685-2.065c0.516,0.747,0.685,1.109,1.629,1.894 c0.212,0.114,0.483,0.103,0.672-0.066l0.006,0.006c0.567-0.505,1.599-1.401,2.18-1.888c0.231-0.188,0.19-0.496,0.009-0.754 c-0.52-0.718-1.072-1.303-1.072-2.634V8.305c0-1.876,0.133-3.599-1.249-4.891C15.23,2.369,13.422,2,12.04,2 C9.336,2,6.318,3.01,5.686,6.351C5.618,6.706,5.877,6.893,6.109,6.945l2.754,0.298C9.121,7.23,9.308,6.977,9.357,6.72 c0.236-1.151,1.2-1.706,2.284-1.706c0.584,0,1.249,0.215,1.595,0.738c0.398,0.584,0.346,1.384,0.346,2.061V8.182z M13.049,14.088 c-0.451,0.8-1.169,1.291-1.967,1.291c-1.09,0-1.728-0.83-1.728-2.061c0-2.42,2.171-2.86,4.227-2.86v0.615 C13.582,12.181,13.608,13.104,13.049,14.088z M20.683,19.339C18.329,21.076,14.917,22,11.979,22c-4.118,0-7.826-1.522-10.632-4.057 c-0.22-0.199-0.024-0.471,0.241-0.317c3.027,1.762,6.771,2.823,10.639,2.823c2.608,0,5.476-0.541,8.115-1.66 C20.739,18.62,21.072,19.051,20.683,19.339z M21.336,21.043c-0.194,0.163-0.379,0.076-0.293-0.139 c0.284-0.71,0.92-2.298,0.619-2.684c-0.301-0.386-1.99-0.183-2.749-0.092c-0.23,0.027-0.266-0.173-0.059-0.319 c1.348-0.946,3.555-0.673,3.811-0.356C22.925,17.773,22.599,19.986,21.336,21.043z"
       
 24671   }));
       
 24672 };
       
 24673 
       
 24674 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/bandcamp.js
       
 24675 
       
 24676 
       
 24677 /**
       
 24678  * WordPress dependencies
       
 24679  */
       
 24680 
       
 24681 var bandcamp_BandcampIcon = function BandcampIcon() {
       
 24682   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 24683     width: "24",
       
 24684     height: "24",
       
 24685     viewBox: "0 0 24 24",
       
 24686     version: "1.1"
       
 24687   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 24688     d: "M15.27 17.289 3 17.289 8.73 6.711 21 6.711 15.27 17.289"
       
 24689   }));
       
 24690 };
       
 24691 
       
 24692 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/behance.js
       
 24693 
       
 24694 
       
 24695 /**
       
 24696  * WordPress dependencies
       
 24697  */
       
 24698 
       
 24699 var behance_BehanceIcon = function BehanceIcon() {
       
 24700   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 24701     width: "24",
       
 24702     height: "24",
       
 24703     viewBox: "0 0 24 24",
       
 24704     version: "1.1"
       
 24705   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 24706     d: "M7.799,5.698c0.589,0,1.12,0.051,1.606,0.156c0.482,0.102,0.894,0.273,1.241,0.507c0.344,0.235,0.612,0.546,0.804,0.938 c0.188,0.387,0.281,0.871,0.281,1.443c0,0.619-0.141,1.137-0.421,1.551c-0.284,0.413-0.7,0.751-1.255,1.014 c0.756,0.218,1.317,0.601,1.689,1.146c0.374,0.549,0.557,1.205,0.557,1.975c0,0.623-0.12,1.161-0.359,1.612 c-0.241,0.457-0.569,0.828-0.973,1.114c-0.408,0.288-0.876,0.5-1.399,0.637C9.052,17.931,8.514,18,7.963,18H2V5.698H7.799 M7.449,10.668c0.481,0,0.878-0.114,1.192-0.345c0.311-0.228,0.463-0.603,0.463-1.119c0-0.286-0.051-0.523-0.152-0.707 C8.848,8.315,8.711,8.171,8.536,8.07C8.362,7.966,8.166,7.894,7.94,7.854c-0.224-0.044-0.457-0.06-0.697-0.06H4.709v2.874H7.449z M7.6,15.905c0.267,0,0.521-0.024,0.759-0.077c0.243-0.053,0.457-0.137,0.637-0.261c0.182-0.12,0.332-0.283,0.441-0.491 C9.547,14.87,9.6,14.602,9.6,14.278c0-0.633-0.18-1.084-0.533-1.357c-0.356-0.27-0.83-0.404-1.413-0.404H4.709v3.388L7.6,15.905z M16.162,15.864c0.367,0.358,0.897,0.538,1.583,0.538c0.493,0,0.92-0.125,1.277-0.374c0.354-0.248,0.571-0.514,0.654-0.79h2.155 c-0.347,1.072-0.872,1.838-1.589,2.299C19.534,18,18.67,18.23,17.662,18.23c-0.701,0-1.332-0.113-1.899-0.337 c-0.567-0.227-1.041-0.544-1.439-0.958c-0.389-0.415-0.689-0.907-0.904-1.484c-0.213-0.574-0.32-1.21-0.32-1.899 c0-0.666,0.11-1.288,0.329-1.863c0.222-0.577,0.529-1.075,0.933-1.492c0.406-0.42,0.885-0.751,1.444-0.994 c0.558-0.241,1.175-0.363,1.857-0.363c0.754,0,1.414,0.145,1.98,0.44c0.563,0.291,1.026,0.686,1.389,1.181 c0.363,0.493,0.622,1.057,0.783,1.69c0.16,0.632,0.217,1.292,0.171,1.983h-6.428C15.557,14.84,15.795,15.506,16.162,15.864 M18.973,11.184c-0.291-0.321-0.783-0.496-1.384-0.496c-0.39,0-0.714,0.066-0.973,0.2c-0.254,0.132-0.461,0.297-0.621,0.491 c-0.157,0.197-0.265,0.405-0.328,0.628c-0.063,0.217-0.101,0.413-0.111,0.587h3.98C19.478,11.969,19.265,11.509,18.973,11.184z M15.057,7.738h4.985V6.524h-4.985L15.057,7.738z"
       
 24707   }));
       
 24708 };
       
 24709 
       
 24710 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/chain.js
       
 24711 
       
 24712 
       
 24713 /**
       
 24714  * WordPress dependencies
       
 24715  */
       
 24716 
       
 24717 var chain_ChainIcon = function ChainIcon() {
       
 24718   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 24719     width: "24",
       
 24720     height: "24",
       
 24721     viewBox: "0 0 24 24",
       
 24722     version: "1.1"
       
 24723   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 24724     d: "M19.647,16.706a1.134,1.134,0,0,0-.343-.833l-2.549-2.549a1.134,1.134,0,0,0-.833-.343,1.168,1.168,0,0,0-.883.392l.233.226q.2.189.264.264a2.922,2.922,0,0,1,.184.233.986.986,0,0,1,.159.312,1.242,1.242,0,0,1,.043.337,1.172,1.172,0,0,1-1.176,1.176,1.237,1.237,0,0,1-.337-.043,1,1,0,0,1-.312-.159,2.76,2.76,0,0,1-.233-.184q-.073-.068-.264-.264l-.226-.233a1.19,1.19,0,0,0-.4.895,1.134,1.134,0,0,0,.343.833L15.837,19.3a1.13,1.13,0,0,0,.833.331,1.18,1.18,0,0,0,.833-.318l1.8-1.789a1.12,1.12,0,0,0,.343-.821Zm-8.615-8.64a1.134,1.134,0,0,0-.343-.833L8.163,4.7a1.134,1.134,0,0,0-.833-.343,1.184,1.184,0,0,0-.833.331L4.7,6.473a1.12,1.12,0,0,0-.343.821,1.134,1.134,0,0,0,.343.833l2.549,2.549a1.13,1.13,0,0,0,.833.331,1.184,1.184,0,0,0,.883-.38L8.728,10.4q-.2-.189-.264-.264A2.922,2.922,0,0,1,8.28,9.9a.986.986,0,0,1-.159-.312,1.242,1.242,0,0,1-.043-.337A1.172,1.172,0,0,1,9.254,8.079a1.237,1.237,0,0,1,.337.043,1,1,0,0,1,.312.159,2.761,2.761,0,0,1,.233.184q.073.068.264.264l.226.233a1.19,1.19,0,0,0,.4-.895ZM22,16.706a3.343,3.343,0,0,1-1.042,2.488l-1.8,1.789a3.536,3.536,0,0,1-4.988-.025l-2.525-2.537a3.384,3.384,0,0,1-1.017-2.488,3.448,3.448,0,0,1,1.078-2.561l-1.078-1.078a3.434,3.434,0,0,1-2.549,1.078,3.4,3.4,0,0,1-2.5-1.029L3.029,9.794A3.4,3.4,0,0,1,2,7.294,3.343,3.343,0,0,1,3.042,4.806l1.8-1.789A3.384,3.384,0,0,1,7.331,2a3.357,3.357,0,0,1,2.5,1.042l2.525,2.537a3.384,3.384,0,0,1,1.017,2.488,3.448,3.448,0,0,1-1.078,2.561l1.078,1.078a3.551,3.551,0,0,1,5.049-.049l2.549,2.549A3.4,3.4,0,0,1,22,16.706Z"
       
 24725   }));
       
 24726 };
       
 24727 
       
 24728 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/codepen.js
       
 24729 
       
 24730 
       
 24731 /**
       
 24732  * WordPress dependencies
       
 24733  */
       
 24734 
       
 24735 var codepen_CodepenIcon = function CodepenIcon() {
       
 24736   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 24737     width: "24",
       
 24738     height: "24",
       
 24739     viewBox: "0 0 24 24",
       
 24740     version: "1.1"
       
 24741   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 24742     d: "M22.016,8.84c-0.002-0.013-0.005-0.025-0.007-0.037c-0.005-0.025-0.008-0.048-0.015-0.072 c-0.003-0.015-0.01-0.028-0.013-0.042c-0.008-0.02-0.015-0.04-0.023-0.062c-0.007-0.015-0.013-0.028-0.02-0.042 c-0.008-0.02-0.018-0.037-0.03-0.057c-0.007-0.013-0.017-0.027-0.025-0.038c-0.012-0.018-0.023-0.035-0.035-0.052 c-0.01-0.013-0.02-0.025-0.03-0.037c-0.015-0.017-0.028-0.032-0.043-0.045c-0.01-0.012-0.022-0.023-0.035-0.035 c-0.015-0.015-0.032-0.028-0.048-0.04c-0.012-0.01-0.025-0.02-0.037-0.03c-0.005-0.003-0.01-0.008-0.015-0.012l-9.161-6.096 c-0.289-0.192-0.666-0.192-0.955,0L2.359,8.237C2.354,8.24,2.349,8.245,2.344,8.249L2.306,8.277 c-0.017,0.013-0.033,0.027-0.048,0.04C2.246,8.331,2.234,8.342,2.222,8.352c-0.015,0.015-0.028,0.03-0.042,0.047 c-0.012,0.013-0.022,0.023-0.03,0.037C2.139,8.453,2.125,8.471,2.115,8.488C2.107,8.501,2.099,8.514,2.09,8.526 C2.079,8.548,2.069,8.565,2.06,8.585C2.054,8.6,2.047,8.613,2.04,8.626C2.032,8.648,2.025,8.67,2.019,8.69 c-0.005,0.013-0.01,0.027-0.013,0.042C1.999,8.755,1.995,8.778,1.99,8.803C1.989,8.817,1.985,8.828,1.984,8.84 C1.978,8.879,1.975,8.915,1.975,8.954v6.093c0,0.037,0.003,0.075,0.008,0.112c0.002,0.012,0.005,0.025,0.007,0.038 c0.005,0.023,0.008,0.047,0.015,0.072c0.003,0.015,0.008,0.028,0.013,0.04c0.007,0.022,0.013,0.042,0.022,0.063 c0.007,0.015,0.013,0.028,0.02,0.04c0.008,0.02,0.018,0.038,0.03,0.058c0.007,0.013,0.015,0.027,0.025,0.038 c0.012,0.018,0.023,0.035,0.035,0.052c0.01,0.013,0.02,0.025,0.03,0.037c0.013,0.015,0.028,0.032,0.042,0.045 c0.012,0.012,0.023,0.023,0.035,0.035c0.015,0.013,0.032,0.028,0.048,0.04l0.038,0.03c0.005,0.003,0.01,0.007,0.013,0.01 l9.163,6.095C11.668,21.953,11.833,22,12,22c0.167,0,0.332-0.047,0.478-0.144l9.163-6.095l0.015-0.01 c0.013-0.01,0.027-0.02,0.037-0.03c0.018-0.013,0.035-0.028,0.048-0.04c0.013-0.012,0.025-0.023,0.035-0.035 c0.017-0.015,0.03-0.032,0.043-0.045c0.01-0.013,0.02-0.025,0.03-0.037c0.013-0.018,0.025-0.035,0.035-0.052 c0.008-0.013,0.018-0.027,0.025-0.038c0.012-0.02,0.022-0.038,0.03-0.058c0.007-0.013,0.013-0.027,0.02-0.04 c0.008-0.022,0.015-0.042,0.023-0.063c0.003-0.013,0.01-0.027,0.013-0.04c0.007-0.025,0.01-0.048,0.015-0.072 c0.002-0.013,0.005-0.027,0.007-0.037c0.003-0.042,0.007-0.079,0.007-0.117V8.954C22.025,8.915,22.022,8.879,22.016,8.84z M12.862,4.464l6.751,4.49l-3.016,2.013l-3.735-2.492V4.464z M11.138,4.464v4.009l-3.735,2.494L4.389,8.954L11.138,4.464z M3.699,10.562L5.853,12l-2.155,1.438V10.562z M11.138,19.536l-6.749-4.491l3.015-2.011l3.735,2.492V19.536z M12,14.035L8.953,12 L12,9.966L15.047,12L12,14.035z M12.862,19.536v-4.009l3.735-2.492l3.016,2.011L12.862,19.536z M20.303,13.438L18.147,12 l2.156-1.438L20.303,13.438z"
       
 24743   }));
       
 24744 };
       
 24745 
       
 24746 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/deviantart.js
       
 24747 
       
 24748 
       
 24749 /**
       
 24750  * WordPress dependencies
       
 24751  */
       
 24752 
       
 24753 var deviantart_DeviantArtIcon = function DeviantArtIcon() {
       
 24754   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 24755     width: "24",
       
 24756     height: "24",
       
 24757     viewBox: "0 0 24 24",
       
 24758     version: "1.1"
       
 24759   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 24760     d: "M 18.19 5.636 18.19 2 18.188 2 14.553 2 14.19 2.366 12.474 5.636 11.935 6 5.81 6 5.81 10.994 9.177 10.994 9.477 11.357 5.81 18.363 5.81 22 5.811 22 9.447 22 9.81 21.634 11.526 18.364 12.065 18 18.19 18 18.19 13.006 14.823 13.006 14.523 12.641 18.19 5.636z"
       
 24761   }));
       
 24762 };
       
 24763 
       
 24764 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/dribbble.js
       
 24765 
       
 24766 
       
 24767 /**
       
 24768  * WordPress dependencies
       
 24769  */
       
 24770 
       
 24771 var dribbble_DribbbleIcon = function DribbbleIcon() {
       
 24772   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 24773     width: "24",
       
 24774     height: "24",
       
 24775     viewBox: "0 0 24 24",
       
 24776     version: "1.1"
       
 24777   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 24778     d: "M12,22C6.486,22,2,17.514,2,12S6.486,2,12,2c5.514,0,10,4.486,10,10S17.514,22,12,22z M20.434,13.369 c-0.292-0.092-2.644-0.794-5.32-0.365c1.117,3.07,1.572,5.57,1.659,6.09C18.689,17.798,20.053,15.745,20.434,13.369z M15.336,19.876c-0.127-0.749-0.623-3.361-1.822-6.477c-0.019,0.006-0.038,0.013-0.056,0.019c-4.818,1.679-6.547,5.02-6.701,5.334 c1.448,1.129,3.268,1.803,5.243,1.803C13.183,20.555,14.311,20.313,15.336,19.876z M5.654,17.724 c0.193-0.331,2.538-4.213,6.943-5.637c0.111-0.036,0.224-0.07,0.337-0.102c-0.214-0.485-0.448-0.971-0.692-1.45 c-4.266,1.277-8.405,1.223-8.778,1.216c-0.003,0.087-0.004,0.174-0.004,0.261C3.458,14.207,4.29,16.21,5.654,17.724z M3.639,10.264 c0.382,0.005,3.901,0.02,7.897-1.041c-1.415-2.516-2.942-4.631-3.167-4.94C5.979,5.41,4.193,7.613,3.639,10.264z M9.998,3.709 c0.236,0.316,1.787,2.429,3.187,5c3.037-1.138,4.323-2.867,4.477-3.085C16.154,4.286,14.17,3.471,12,3.471 C11.311,3.471,10.641,3.554,9.998,3.709z M18.612,6.612C18.432,6.855,17,8.69,13.842,9.979c0.199,0.407,0.389,0.821,0.567,1.237 c0.063,0.148,0.124,0.295,0.184,0.441c2.842-0.357,5.666,0.215,5.948,0.275C20.522,9.916,19.801,8.065,18.612,6.612z"
       
 24779   }));
       
 24780 };
       
 24781 
       
 24782 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/dropbox.js
       
 24783 
       
 24784 
       
 24785 /**
       
 24786  * WordPress dependencies
       
 24787  */
       
 24788 
       
 24789 var dropbox_DropboxIcon = function DropboxIcon() {
       
 24790   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 24791     width: "24",
       
 24792     height: "24",
       
 24793     viewBox: "0 0 24 24",
       
 24794     version: "1.1"
       
 24795   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 24796     d: "M12,6.134L6.069,9.797L2,6.54l5.883-3.843L12,6.134z M2,13.054l5.883,3.843L12,13.459L6.069,9.797L2,13.054z M12,13.459 l4.116,3.439L22,13.054l-4.069-3.257L12,13.459z M22,6.54l-5.884-3.843L12,6.134l5.931,3.663L22,6.54z M12.011,14.2l-4.129,3.426 l-1.767-1.153v1.291l5.896,3.539l5.897-3.539v-1.291l-1.769,1.153L12.011,14.2z"
       
 24797   }));
       
 24798 };
       
 24799 
       
 24800 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/etsy.js
       
 24801 
       
 24802 
       
 24803 /**
       
 24804  * WordPress dependencies
       
 24805  */
       
 24806 
       
 24807 var etsy_EtsyIcon = function EtsyIcon() {
       
 24808   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 24809     width: "24",
       
 24810     height: "24",
       
 24811     viewBox: "0 0 24 24",
       
 24812     version: "1.1"
       
 24813   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 24814     d: "M9.16033,4.038c0-.27174.02717-.43478.48913-.43478h6.22283c1.087,0,1.68478.92391,2.11957,2.663l.35326,1.38587h1.05978C19.59511,3.712,19.75815,2,19.75815,2s-2.663.29891-4.23913.29891h-7.962L3.29076,2.163v1.1413L4.731,3.57609c1.00543.19022,1.25.40761,1.33152,1.33152,0,0,.08152,2.71739.08152,7.20109s-.08152,7.17391-.08152,7.17391c0,.81522-.32609,1.11413-1.33152,1.30435l-1.44022.27174V22l4.2663-.13587h7.11957c1.60326,0,5.32609.13587,5.32609.13587.08152-.97826.625-5.40761.70652-5.89674H19.7038L18.644,18.52174c-.84239,1.90217-2.06522,2.038-3.42391,2.038H11.1712c-1.3587,0-2.01087-.54348-2.01087-1.712V12.65217s3.0163,0,3.99457.08152c.76087.05435,1.22283.27174,1.46739,1.33152l.32609,1.413h1.16848l-.08152-3.55978.163-3.587H15.02989l-.38043,1.57609c-.24457,1.03261-.40761,1.22283-1.46739,1.33152-1.38587.13587-4.02174.1087-4.02174.1087Z"
       
 24815   }));
       
 24816 };
       
 24817 
       
 24818 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/facebook.js
       
 24819 
       
 24820 
       
 24821 /**
       
 24822  * WordPress dependencies
       
 24823  */
       
 24824 
       
 24825 var facebook_FacebookIcon = function FacebookIcon() {
       
 24826   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 24827     width: "24",
       
 24828     height: "24",
       
 24829     viewBox: "0 0 24 24",
       
 24830     version: "1.1"
       
 24831   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 24832     d: "M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10z"
       
 24833   }));
       
 24834 };
       
 24835 
       
 24836 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/feed.js
       
 24837 
       
 24838 
       
 24839 /**
       
 24840  * WordPress dependencies
       
 24841  */
       
 24842 
       
 24843 var feed_FeedIcon = function FeedIcon() {
       
 24844   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 24845     width: "24",
       
 24846     height: "24",
       
 24847     viewBox: "0 0 24 24",
       
 24848     version: "1.1"
       
 24849   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 24850     d: "M2,8.667V12c5.515,0,10,4.485,10,10h3.333C15.333,14.637,9.363,8.667,2,8.667z M2,2v3.333 c9.19,0,16.667,7.477,16.667,16.667H22C22,10.955,13.045,2,2,2z M4.5,17C3.118,17,2,18.12,2,19.5S3.118,22,4.5,22S7,20.88,7,19.5 S5.882,17,4.5,17z"
       
 24851   }));
       
 24852 };
       
 24853 
       
 24854 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/flickr.js
       
 24855 
       
 24856 
       
 24857 /**
       
 24858  * WordPress dependencies
       
 24859  */
       
 24860 
       
 24861 var flickr_FlickrIcon = function FlickrIcon() {
       
 24862   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 24863     width: "24",
       
 24864     height: "24",
       
 24865     viewBox: "0 0 24 24",
       
 24866     version: "1.1"
       
 24867   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 24868     d: "M6.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5S9.25,7,6.5,7z M17.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5 S20.25,7,17.5,7z"
       
 24869   }));
       
 24870 };
       
 24871 
       
 24872 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/foursquare.js
       
 24873 
       
 24874 
       
 24875 /**
       
 24876  * WordPress dependencies
       
 24877  */
       
 24878 
       
 24879 var foursquare_FoursquareIcon = function FoursquareIcon() {
       
 24880   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 24881     width: "24",
       
 24882     height: "24",
       
 24883     viewBox: "0 0 24 24",
       
 24884     version: "1.1"
       
 24885   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 24886     d: "M17.573,2c0,0-9.197,0-10.668,0S5,3.107,5,3.805s0,16.948,0,16.948c0,0.785,0.422,1.077,0.66,1.172 c0.238,0.097,0.892,0.177,1.285-0.275c0,0,5.035-5.843,5.122-5.93c0.132-0.132,0.132-0.132,0.262-0.132h3.26 c1.368,0,1.588-0.977,1.732-1.552c0.078-0.318,0.692-3.428,1.225-6.122l0.675-3.368C19.56,2.893,19.14,2,17.573,2z M16.495,7.22 c-0.053,0.252-0.372,0.518-0.665,0.518c-0.293,0-4.157,0-4.157,0c-0.467,0-0.802,0.318-0.802,0.787v0.508 c0,0.467,0.337,0.798,0.805,0.798c0,0,3.197,0,3.528,0s0.655,0.362,0.583,0.715c-0.072,0.353-0.407,2.102-0.448,2.295 c-0.04,0.193-0.262,0.523-0.655,0.523c-0.33,0-2.88,0-2.88,0c-0.523,0-0.683,0.068-1.033,0.503 c-0.35,0.437-3.505,4.223-3.505,4.223c-0.032,0.035-0.063,0.027-0.063-0.015V4.852c0-0.298,0.26-0.648,0.648-0.648 c0,0,8.228,0,8.562,0c0.315,0,0.61,0.297,0.528,0.683L16.495,7.22z"
       
 24887   }));
       
 24888 };
       
 24889 
       
 24890 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/goodreads.js
       
 24891 
       
 24892 
       
 24893 /**
       
 24894  * WordPress dependencies
       
 24895  */
       
 24896 
       
 24897 var goodreads_GoodreadsIcon = function GoodreadsIcon() {
       
 24898   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 24899     width: "24",
       
 24900     height: "24",
       
 24901     viewBox: "0 0 24 24",
       
 24902     version: "1.1"
       
 24903   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 24904     d: "M17.3,17.5c-0.2,0.8-0.5,1.4-1,1.9c-0.4,0.5-1,0.9-1.7,1.2C13.9,20.9,13.1,21,12,21c-0.6,0-1.3-0.1-1.9-0.2 c-0.6-0.1-1.1-0.4-1.6-0.7c-0.5-0.3-0.9-0.7-1.2-1.2c-0.3-0.5-0.5-1.1-0.5-1.7h1.5c0.1,0.5,0.2,0.9,0.5,1.2 c0.2,0.3,0.5,0.6,0.9,0.8c0.3,0.2,0.7,0.3,1.1,0.4c0.4,0.1,0.8,0.1,1.2,0.1c1.4,0,2.5-0.4,3.1-1.2c0.6-0.8,1-2,1-3.5v-1.7h0 c-0.4,0.8-0.9,1.4-1.6,1.9c-0.7,0.5-1.5,0.7-2.4,0.7c-1,0-1.9-0.2-2.6-0.5C8.7,15,8.1,14.5,7.7,14c-0.5-0.6-0.8-1.3-1-2.1 c-0.2-0.8-0.3-1.6-0.3-2.5c0-0.9,0.1-1.7,0.4-2.5c0.3-0.8,0.6-1.5,1.1-2c0.5-0.6,1.1-1,1.8-1.4C10.3,3.2,11.1,3,12,3 c0.5,0,0.9,0.1,1.3,0.2c0.4,0.1,0.8,0.3,1.1,0.5c0.3,0.2,0.6,0.5,0.9,0.8c0.3,0.3,0.5,0.6,0.6,1h0V3.4h1.5V15 C17.6,15.9,17.5,16.7,17.3,17.5z M13.8,14.1c0.5-0.3,0.9-0.7,1.3-1.1c0.3-0.5,0.6-1,0.8-1.6c0.2-0.6,0.3-1.2,0.3-1.9 c0-0.6-0.1-1.2-0.2-1.9c-0.1-0.6-0.4-1.2-0.7-1.7c-0.3-0.5-0.7-0.9-1.3-1.2c-0.5-0.3-1.1-0.5-1.9-0.5s-1.4,0.2-1.9,0.5 c-0.5,0.3-1,0.7-1.3,1.2C8.5,6.4,8.3,7,8.1,7.6C8,8.2,7.9,8.9,7.9,9.5c0,0.6,0.1,1.3,0.2,1.9C8.3,12,8.6,12.5,8.9,13 c0.3,0.5,0.8,0.8,1.3,1.1c0.5,0.3,1.1,0.4,1.9,0.4C12.7,14.5,13.3,14.4,13.8,14.1z"
       
 24905   }));
       
 24906 };
       
 24907 
       
 24908 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/google.js
       
 24909 
       
 24910 
       
 24911 /**
       
 24912  * WordPress dependencies
       
 24913  */
       
 24914 
       
 24915 var google_GoogleIcon = function GoogleIcon() {
       
 24916   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 24917     width: "24",
       
 24918     height: "24",
       
 24919     viewBox: "0 0 24 24",
       
 24920     version: "1.1"
       
 24921   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 24922     d: "M12.02,10.18v3.72v0.01h5.51c-0.26,1.57-1.67,4.22-5.5,4.22c-3.31,0-6.01-2.75-6.01-6.12s2.7-6.12,6.01-6.12 c1.87,0,3.13,0.8,3.85,1.48l2.84-2.76C16.99,2.99,14.73,2,12.03,2c-5.52,0-10,4.48-10,10s4.48,10,10,10c5.77,0,9.6-4.06,9.6-9.77 c0-0.83-0.11-1.42-0.25-2.05H12.02z"
       
 24923   }));
       
 24924 };
       
 24925 
       
 24926 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/github.js
       
 24927 
       
 24928 
       
 24929 /**
       
 24930  * WordPress dependencies
       
 24931  */
       
 24932 
       
 24933 var github_GitHubIcon = function GitHubIcon() {
       
 24934   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 24935     width: "24",
       
 24936     height: "24",
       
 24937     viewBox: "0 0 24 24",
       
 24938     version: "1.1"
       
 24939   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 24940     d: "M12,2C6.477,2,2,6.477,2,12c0,4.419,2.865,8.166,6.839,9.489c0.5,0.09,0.682-0.218,0.682-0.484 c0-0.236-0.009-0.866-0.014-1.699c-2.782,0.602-3.369-1.34-3.369-1.34c-0.455-1.157-1.11-1.465-1.11-1.465 c-0.909-0.62,0.069-0.608,0.069-0.608c1.004,0.071,1.532,1.03,1.532,1.03c0.891,1.529,2.341,1.089,2.91,0.833 c0.091-0.647,0.349-1.086,0.635-1.337c-2.22-0.251-4.555-1.111-4.555-4.943c0-1.091,0.39-1.984,1.03-2.682 C6.546,8.54,6.202,7.524,6.746,6.148c0,0,0.84-0.269,2.75,1.025C10.295,6.95,11.15,6.84,12,6.836 c0.85,0.004,1.705,0.114,2.504,0.336c1.909-1.294,2.748-1.025,2.748-1.025c0.546,1.376,0.202,2.394,0.1,2.646 c0.64,0.699,1.026,1.591,1.026,2.682c0,3.841-2.337,4.687-4.565,4.935c0.359,0.307,0.679,0.917,0.679,1.852 c0,1.335-0.012,2.415-0.012,2.741c0,0.269,0.18,0.579,0.688,0.481C19.138,20.161,22,16.416,22,12C22,6.477,17.523,2,12,2z"
       
 24941   }));
       
 24942 };
       
 24943 
       
 24944 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/instagram.js
       
 24945 
       
 24946 
       
 24947 /**
       
 24948  * WordPress dependencies
       
 24949  */
       
 24950 
       
 24951 var instagram_InstagramIcon = function InstagramIcon() {
       
 24952   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 24953     width: "24",
       
 24954     height: "24",
       
 24955     viewBox: "0 0 24 24",
       
 24956     version: "1.1"
       
 24957   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 24958     d: "M12,4.622c2.403,0,2.688,0.009,3.637,0.052c0.877,0.04,1.354,0.187,1.671,0.31c0.42,0.163,0.72,0.358,1.035,0.673 c0.315,0.315,0.51,0.615,0.673,1.035c0.123,0.317,0.27,0.794,0.31,1.671c0.043,0.949,0.052,1.234,0.052,3.637 s-0.009,2.688-0.052,3.637c-0.04,0.877-0.187,1.354-0.31,1.671c-0.163,0.42-0.358,0.72-0.673,1.035 c-0.315,0.315-0.615,0.51-1.035,0.673c-0.317,0.123-0.794,0.27-1.671,0.31c-0.949,0.043-1.233,0.052-3.637,0.052 s-2.688-0.009-3.637-0.052c-0.877-0.04-1.354-0.187-1.671-0.31c-0.42-0.163-0.72-0.358-1.035-0.673 c-0.315-0.315-0.51-0.615-0.673-1.035c-0.123-0.317-0.27-0.794-0.31-1.671C4.631,14.688,4.622,14.403,4.622,12 s0.009-2.688,0.052-3.637c0.04-0.877,0.187-1.354,0.31-1.671c0.163-0.42,0.358-0.72,0.673-1.035 c0.315-0.315,0.615-0.51,1.035-0.673c0.317-0.123,0.794-0.27,1.671-0.31C9.312,4.631,9.597,4.622,12,4.622 M12,3 C9.556,3,9.249,3.01,8.289,3.054C7.331,3.098,6.677,3.25,6.105,3.472C5.513,3.702,5.011,4.01,4.511,4.511 c-0.5,0.5-0.808,1.002-1.038,1.594C3.25,6.677,3.098,7.331,3.054,8.289C3.01,9.249,3,9.556,3,12c0,2.444,0.01,2.751,0.054,3.711 c0.044,0.958,0.196,1.612,0.418,2.185c0.23,0.592,0.538,1.094,1.038,1.594c0.5,0.5,1.002,0.808,1.594,1.038 c0.572,0.222,1.227,0.375,2.185,0.418C9.249,20.99,9.556,21,12,21s2.751-0.01,3.711-0.054c0.958-0.044,1.612-0.196,2.185-0.418 c0.592-0.23,1.094-0.538,1.594-1.038c0.5-0.5,0.808-1.002,1.038-1.594c0.222-0.572,0.375-1.227,0.418-2.185 C20.99,14.751,21,14.444,21,12s-0.01-2.751-0.054-3.711c-0.044-0.958-0.196-1.612-0.418-2.185c-0.23-0.592-0.538-1.094-1.038-1.594 c-0.5-0.5-1.002-0.808-1.594-1.038c-0.572-0.222-1.227-0.375-2.185-0.418C14.751,3.01,14.444,3,12,3L12,3z M12,7.378 c-2.552,0-4.622,2.069-4.622,4.622S9.448,16.622,12,16.622s4.622-2.069,4.622-4.622S14.552,7.378,12,7.378z M12,15 c-1.657,0-3-1.343-3-3s1.343-3,3-3s3,1.343,3,3S13.657,15,12,15z M16.804,6.116c-0.596,0-1.08,0.484-1.08,1.08 s0.484,1.08,1.08,1.08c0.596,0,1.08-0.484,1.08-1.08S17.401,6.116,16.804,6.116z"
       
 24959   }));
       
 24960 };
       
 24961 
       
 24962 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/lastfm.js
       
 24963 
       
 24964 
       
 24965 /**
       
 24966  * WordPress dependencies
       
 24967  */
       
 24968 
       
 24969 var lastfm_LastfmIcon = function LastfmIcon() {
       
 24970   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 24971     width: "24",
       
 24972     height: "24",
       
 24973     viewBox: "0 0 24 24",
       
 24974     version: "1.1"
       
 24975   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 24976     d: "M10.5002,0 C4.7006,0 0,4.70109753 0,10.4998496 C0,16.2989526 4.7006,21 10.5002,21 C16.299,21 21,16.2989526 21,10.4998496 C21,4.70109753 16.299,0 10.5002,0 Z M14.69735,14.7204413 C13.3164,14.7151781 12.4346,14.0870017 11.83445,12.6859357 L11.6816001,12.3451305 L10.35405,9.31011397 C9.92709997,8.26875064 8.85260001,7.57120012 7.68010001,7.57120012 C6.06945001,7.57120012 4.75925001,8.88509738 4.75925001,10.5009524 C4.75925001,12.1164565 6.06945001,13.4303036 7.68010001,13.4303036 C8.77200001,13.4303036 9.76514999,12.827541 10.2719501,11.8567047 C10.2893,11.8235214 10.3239,11.8019673 10.36305,11.8038219 C10.4007,11.8053759 10.43535,11.8287847 10.4504,11.8631709 L10.98655,13.1045863 C11.0016,13.1389726 10.9956,13.17782 10.97225,13.2068931 C10.1605001,14.1995341 8.96020001,14.7683115 7.68010001,14.7683115 C5.33305,14.7683115 3.42340001,12.8535563 3.42340001,10.5009524 C3.42340001,8.14679459 5.33300001,6.23203946 7.68010001,6.23203946 C9.45720002,6.23203946 10.8909,7.19074535 11.6138,8.86359341 C11.6205501,8.88018505 12.3412,10.5707777 12.97445,12.0190621 C13.34865,12.8739575 13.64615,13.3959676 14.6288,13.4291508 C15.5663001,13.4612814 16.25375,12.9121534 16.25375,12.1484869 C16.25375,11.4691321 15.8320501,11.3003585 14.8803,10.98216 C13.2365,10.4397989 12.34495,9.88605929 12.34495,8.51817658 C12.34495,7.1809207 13.26665,6.31615054 14.692,6.31615054 C15.62875,6.31615054 16.3155,6.7286858 16.79215,7.5768142 C16.80495,7.60062396 16.8079001,7.62814302 16.8004001,7.65420843 C16.7929,7.68027384 16.7748,7.70212868 16.7507001,7.713808 L15.86145,8.16900031 C15.8178001,8.19200805 15.7643,8.17807308 15.73565,8.13847371 C15.43295,7.71345711 15.0956,7.52513451 14.6423,7.52513451 C14.05125,7.52513451 13.6220001,7.92899802 13.6220001,8.48649708 C13.6220001,9.17382194 14.1529001,9.34144259 15.0339,9.61923972 C15.14915,9.65578139 15.26955,9.69397731 15.39385,9.73432853 C16.7763,10.1865133 17.57675,10.7311301 17.57675,12.1836251 C17.57685,13.629654 16.3389,14.7204413 14.69735,14.7204413 Z"
       
 24977   }));
       
 24978 };
       
 24979 
       
 24980 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/linkedin.js
       
 24981 
       
 24982 
       
 24983 /**
       
 24984  * WordPress dependencies
       
 24985  */
       
 24986 
       
 24987 var linkedin_LinkedInIcon = function LinkedInIcon() {
       
 24988   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 24989     width: "24",
       
 24990     height: "24",
       
 24991     viewBox: "0 0 24 24",
       
 24992     version: "1.1"
       
 24993   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 24994     d: "M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"
       
 24995   }));
       
 24996 };
       
 24997 
       
 24998 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/mail.js
       
 24999 
       
 25000 
       
 25001 /**
       
 25002  * WordPress dependencies
       
 25003  */
       
 25004 
       
 25005 var mail_MailIcon = function MailIcon() {
       
 25006   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 25007     width: "24",
       
 25008     height: "24",
       
 25009     viewBox: "0 0 24 24",
       
 25010     version: "1.1"
       
 25011   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 25012     d: "M20,4H4C2.895,4,2,4.895,2,6v12c0,1.105,0.895,2,2,2h16c1.105,0,2-0.895,2-2V6C22,4.895,21.105,4,20,4z M20,8.236l-8,4.882 L4,8.236V6h16V8.236z"
       
 25013   }));
       
 25014 };
       
 25015 
       
 25016 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/mastodon.js
       
 25017 
       
 25018 
       
 25019 /**
       
 25020  * WordPress dependencies
       
 25021  */
       
 25022 
       
 25023 var mastodon_MastodonIcon = function MastodonIcon() {
       
 25024   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 25025     width: "24",
       
 25026     height: "24",
       
 25027     viewBox: "0 0 24 24",
       
 25028     version: "1.1"
       
 25029   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 25030     d: "M23.193 7.879c0-5.206-3.411-6.732-3.411-6.732C18.062.357 15.108.025 12.041 0h-.076c-3.068.025-6.02.357-7.74 1.147 0 0-3.411 1.526-3.411 6.732 0 1.192-.023 2.618.015 4.129.124 5.092.934 10.109 5.641 11.355 2.17.574 4.034.695 5.535.612 2.722-.15 4.25-.972 4.25-.972l-.09-1.975s-1.945.613-4.129.539c-2.165-.074-4.449-.233-4.799-2.891a5.499 5.499 0 0 1-.048-.745s2.125.52 4.817.643c1.646.075 3.19-.097 4.758-.283 3.007-.359 5.625-2.212 5.954-3.905.517-2.665.475-6.507.475-6.507zm-4.024 6.709h-2.497V8.469c0-1.29-.543-1.944-1.628-1.944-1.2 0-1.802.776-1.802 2.312v3.349h-2.483v-3.35c0-1.536-.602-2.312-1.802-2.312-1.085 0-1.628.655-1.628 1.944v6.119H4.832V8.284c0-1.289.328-2.313.987-3.07.68-.758 1.569-1.146 2.674-1.146 1.278 0 2.246.491 2.886 1.474L12 6.585l.622-1.043c.64-.983 1.608-1.474 2.886-1.474 1.104 0 1.994.388 2.674 1.146.658.757.986 1.781.986 3.07v6.304z"
       
 25031   }));
       
 25032 };
       
 25033 
       
 25034 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/meetup.js
       
 25035 
       
 25036 
       
 25037 /**
       
 25038  * WordPress dependencies
       
 25039  */
       
 25040 
       
 25041 var meetup_MeetupIcon = function MeetupIcon() {
       
 25042   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 25043     width: "24",
       
 25044     height: "24",
       
 25045     viewBox: "0 0 24 24",
       
 25046     version: "1.1"
       
 25047   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 25048     d: "M19.24775,14.722a3.57032,3.57032,0,0,1-2.94457,3.52073,3.61886,3.61886,0,0,1-.64652.05634c-.07314-.0008-.10187.02846-.12507.09547A2.38881,2.38881,0,0,1,13.49453,20.094a2.33092,2.33092,0,0,1-1.827-.50716.13635.13635,0,0,0-.19878-.00408,3.191,3.191,0,0,1-2.104.60248,3.26309,3.26309,0,0,1-3.00324-2.71993,2.19076,2.19076,0,0,1-.03512-.30865c-.00156-.08579-.03413-.1189-.11608-.13493a2.86421,2.86421,0,0,1-1.23189-.56111,2.945,2.945,0,0,1-1.166-2.05749,2.97484,2.97484,0,0,1,.87524-2.50774.112.112,0,0,0,.02091-.16107,2.7213,2.7213,0,0,1-.36648-1.48A2.81256,2.81256,0,0,1,6.57673,7.58838a.35764.35764,0,0,0,.28869-.22819,4.2208,4.2208,0,0,1,6.02892-1.90111.25161.25161,0,0,0,.22023.0243,3.65608,3.65608,0,0,1,3.76031.90678A3.57244,3.57244,0,0,1,17.95918,8.626a2.97339,2.97339,0,0,1,.01829.57356.10637.10637,0,0,0,.0853.12792,1.97669,1.97669,0,0,1,1.27939,1.33733,2.00266,2.00266,0,0,1-.57112,2.12652c-.05284.05166-.04168.08328-.01173.13489A3.51189,3.51189,0,0,1,19.24775,14.722Zm-6.35959-.27836a1.6984,1.6984,0,0,0,1.14556,1.61113,3.82039,3.82039,0,0,0,1.036.17935,1.46888,1.46888,0,0,0,.73509-.12255.44082.44082,0,0,0,.26057-.44274.45312.45312,0,0,0-.29211-.43375.97191.97191,0,0,0-.20678-.063c-.21326-.03806-.42754-.0701-.63973-.11215a.54787.54787,0,0,1-.50172-.60926,2.75864,2.75864,0,0,1,.1773-.901c.1763-.535.414-1.045.64183-1.55913A12.686,12.686,0,0,0,15.85,10.47863a1.58461,1.58461,0,0,0,.04861-.87208,1.04531,1.04531,0,0,0-.85432-.83981,1.60658,1.60658,0,0,0-1.23654.16594.27593.27593,0,0,1-.36286-.03413c-.085-.0747-.16594-.15379-.24918-.23055a.98682.98682,0,0,0-1.33577-.04933,6.1468,6.1468,0,0,1-.4989.41615.47762.47762,0,0,1-.51535.03566c-.17448-.09307-.35512-.175-.53531-.25665a1.74949,1.74949,0,0,0-.56476-.2016,1.69943,1.69943,0,0,0-1.61654.91787,8.05815,8.05815,0,0,0-.32952.80126c-.45471,1.2557-.82507,2.53825-1.20838,3.81639a1.24151,1.24151,0,0,0,.51532,1.44389,1.42659,1.42659,0,0,0,1.22008.17166,1.09728,1.09728,0,0,0,.66994-.69764c.44145-1.04111.839-2.09989,1.25981-3.14926.11581-.28876.22792-.57874.35078-.86438a.44548.44548,0,0,1,.69189-.19539.50521.50521,0,0,1,.15044.43836,1.75625,1.75625,0,0,1-.14731.50453c-.27379.69219-.55265,1.38236-.82766,2.074a2.0836,2.0836,0,0,0-.14038.42876.50719.50719,0,0,0,.27082.57722.87236.87236,0,0,0,.66145.02739.99137.99137,0,0,0,.53406-.532q.61571-1.20914,1.228-2.42031.28423-.55863.57585-1.1133a.87189.87189,0,0,1,.29055-.35253.34987.34987,0,0,1,.37634-.01265.30291.30291,0,0,1,.12434.31459.56716.56716,0,0,1-.04655.1915c-.05318.12739-.10286.25669-.16183.38156-.34118.71775-.68754,1.43273-1.02568,2.152A2.00213,2.00213,0,0,0,12.88816,14.44366Zm4.78568,5.28972a.88573.88573,0,0,0-1.77139.00465.8857.8857,0,0,0,1.77139-.00465Zm-14.83838-7.296a.84329.84329,0,1,0,.00827-1.68655.8433.8433,0,0,0-.00827,1.68655Zm10.366-9.43673a.83506.83506,0,1,0-.0091,1.67.83505.83505,0,0,0,.0091-1.67Zm6.85014,5.22a.71651.71651,0,0,0-1.433.0093.71656.71656,0,0,0,1.433-.0093ZM5.37528,6.17908A.63823.63823,0,1,0,6.015,5.54483.62292.62292,0,0,0,5.37528,6.17908Zm6.68214,14.80843a.54949.54949,0,1,0-.55052.541A.54556.54556,0,0,0,12.05742,20.98752Zm8.53235-8.49689a.54777.54777,0,0,0-.54027.54023.53327.53327,0,0,0,.532.52293.51548.51548,0,0,0,.53272-.5237A.53187.53187,0,0,0,20.58977,12.49063ZM7.82846,2.4715a.44927.44927,0,1,0,.44484.44766A.43821.43821,0,0,0,7.82846,2.4715Zm13.775,7.60492a.41186.41186,0,0,0-.40065.39623.40178.40178,0,0,0,.40168.40168A.38994.38994,0,0,0,22,10.48172.39946.39946,0,0,0,21.60349,10.07642ZM5.79193,17.96207a.40469.40469,0,0,0-.397-.39646.399.399,0,0,0-.396.405.39234.39234,0,0,0,.39939.389A.39857.39857,0,0,0,5.79193,17.96207Z"
       
 25049   }));
       
 25050 };
       
 25051 
       
 25052 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/medium.js
       
 25053 
       
 25054 
       
 25055 /**
       
 25056  * WordPress dependencies
       
 25057  */
       
 25058 
       
 25059 var medium_MediumIcon = function MediumIcon() {
       
 25060   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 25061     width: "24",
       
 25062     height: "24",
       
 25063     viewBox: "0 0 24 24",
       
 25064     version: "1.1"
       
 25065   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 25066     d: "M20.962,7.257l-5.457,8.867l-3.923-6.375l3.126-5.08c0.112-0.182,0.319-0.286,0.527-0.286c0.05,0,0.1,0.008,0.149,0.02 c0.039,0.01,0.078,0.023,0.114,0.041l5.43,2.715l0.006,0.003c0.004,0.002,0.007,0.006,0.011,0.008 C20.971,7.191,20.98,7.227,20.962,7.257z M9.86,8.592v5.783l5.14,2.57L9.86,8.592z M15.772,17.331l4.231,2.115 C20.554,19.721,21,19.529,21,19.016V8.835L15.772,17.331z M8.968,7.178L3.665,4.527C3.569,4.479,3.478,4.456,3.395,4.456 C3.163,4.456,3,4.636,3,4.938v11.45c0,0.306,0.224,0.669,0.498,0.806l4.671,2.335c0.12,0.06,0.234,0.088,0.337,0.088 c0.29,0,0.494-0.225,0.494-0.602V7.231C9,7.208,8.988,7.188,8.968,7.178z"
       
 25067   }));
       
 25068 };
       
 25069 
       
 25070 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/pinterest.js
       
 25071 
       
 25072 
       
 25073 /**
       
 25074  * WordPress dependencies
       
 25075  */
       
 25076 
       
 25077 var pinterest_PinterestIcon = function PinterestIcon() {
       
 25078   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 25079     width: "24",
       
 25080     height: "24",
       
 25081     viewBox: "0 0 24 24",
       
 25082     version: "1.1"
       
 25083   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 25084     d: "M12.289,2C6.617,2,3.606,5.648,3.606,9.622c0,1.846,1.025,4.146,2.666,4.878c0.25,0.111,0.381,0.063,0.439-0.169 c0.044-0.175,0.267-1.029,0.365-1.428c0.032-0.128,0.017-0.237-0.091-0.362C6.445,11.911,6.01,10.75,6.01,9.668 c0-2.777,2.194-5.464,5.933-5.464c3.23,0,5.49,2.108,5.49,5.122c0,3.407-1.794,5.768-4.13,5.768c-1.291,0-2.257-1.021-1.948-2.277 c0.372-1.495,1.089-3.112,1.089-4.191c0-0.967-0.542-1.775-1.663-1.775c-1.319,0-2.379,1.309-2.379,3.059 c0,1.115,0.394,1.869,0.394,1.869s-1.302,5.279-1.54,6.261c-0.405,1.666,0.053,4.368,0.094,4.604 c0.021,0.126,0.167,0.169,0.25,0.063c0.129-0.165,1.699-2.419,2.142-4.051c0.158-0.59,0.817-2.995,0.817-2.995 c0.43,0.784,1.681,1.446,3.013,1.446c3.963,0,6.822-3.494,6.822-7.833C20.394,5.112,16.849,2,12.289,2"
       
 25085   }));
       
 25086 };
       
 25087 
       
 25088 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/pocket.js
       
 25089 
       
 25090 
       
 25091 /**
       
 25092  * WordPress dependencies
       
 25093  */
       
 25094 
       
 25095 var pocket_PocketIcon = function PocketIcon() {
       
 25096   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 25097     width: "24",
       
 25098     height: "24",
       
 25099     viewBox: "0 0 24 24",
       
 25100     version: "1.1"
       
 25101   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 25102     d: "M21.927,4.194C21.667,3.48,20.982,3,20.222,3h-0.01h-1.721H3.839C3.092,3,2.411,3.47,2.145,4.17 C2.066,4.378,2.026,4.594,2.026,4.814v6.035l0.069,1.2c0.29,2.73,1.707,5.115,3.899,6.778c0.039,0.03,0.079,0.059,0.119,0.089 l0.025,0.018c1.175,0.859,2.491,1.441,3.91,1.727c0.655,0.132,1.325,0.2,1.991,0.2c0.615,0,1.232-0.057,1.839-0.17 c0.073-0.014,0.145-0.028,0.219-0.044c0.02-0.004,0.042-0.012,0.064-0.023c1.359-0.297,2.621-0.864,3.753-1.691l0.025-0.018 c0.04-0.029,0.08-0.058,0.119-0.089c2.192-1.664,3.609-4.049,3.898-6.778l0.069-1.2V4.814C22.026,4.605,22,4.398,21.927,4.194z M17.692,10.481l-4.704,4.512c-0.266,0.254-0.608,0.382-0.949,0.382c-0.342,0-0.684-0.128-0.949-0.382l-4.705-4.512 C5.838,9.957,5.82,9.089,6.344,8.542c0.524-0.547,1.392-0.565,1.939-0.04l3.756,3.601l3.755-3.601 c0.547-0.524,1.415-0.506,1.939,0.04C18.256,9.089,18.238,9.956,17.692,10.481z"
       
 25103   }));
       
 25104 };
       
 25105 
       
 25106 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/reddit.js
       
 25107 
       
 25108 
       
 25109 /**
       
 25110  * WordPress dependencies
       
 25111  */
       
 25112 
       
 25113 var reddit_RedditIcon = function RedditIcon() {
       
 25114   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 25115     width: "24",
       
 25116     height: "24",
       
 25117     viewBox: "0 0 24 24",
       
 25118     version: "1.1"
       
 25119   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 25120     d: "M22,11.816c0-1.256-1.021-2.277-2.277-2.277c-0.593,0-1.122,0.24-1.526,0.614c-1.481-0.965-3.455-1.594-5.647-1.69 l1.171-3.702l3.18,0.748c0.008,1.028,0.846,1.862,1.876,1.862c1.035,0,1.877-0.842,1.877-1.878c0-1.035-0.842-1.877-1.877-1.877 c-0.769,0-1.431,0.466-1.72,1.13l-3.508-0.826c-0.203-0.047-0.399,0.067-0.46,0.261l-1.35,4.268 c-2.316,0.038-4.411,0.67-5.97,1.671C5.368,9.765,4.853,9.539,4.277,9.539C3.021,9.539,2,10.56,2,11.816 c0,0.814,0.433,1.523,1.078,1.925c-0.037,0.221-0.061,0.444-0.061,0.672c0,3.292,4.011,5.97,8.941,5.97s8.941-2.678,8.941-5.97 c0-0.214-0.02-0.424-0.053-0.632C21.533,13.39,22,12.661,22,11.816z M18.776,4.394c0.606,0,1.1,0.493,1.1,1.1s-0.493,1.1-1.1,1.1 s-1.1-0.494-1.1-1.1S18.169,4.394,18.776,4.394z M2.777,11.816c0-0.827,0.672-1.5,1.499-1.5c0.313,0,0.598,0.103,0.838,0.269 c-0.851,0.676-1.477,1.479-1.812,2.36C2.983,12.672,2.777,12.27,2.777,11.816z M11.959,19.606c-4.501,0-8.164-2.329-8.164-5.193 S7.457,9.22,11.959,9.22s8.164,2.329,8.164,5.193S16.46,19.606,11.959,19.606z M20.636,13.001c-0.326-0.89-0.948-1.701-1.797-2.384 c0.248-0.186,0.55-0.301,0.883-0.301c0.827,0,1.5,0.673,1.5,1.5C21.223,12.299,20.992,12.727,20.636,13.001z M8.996,14.704 c-0.76,0-1.397-0.616-1.397-1.376c0-0.76,0.637-1.397,1.397-1.397c0.76,0,1.376,0.637,1.376,1.397 C10.372,14.088,9.756,14.704,8.996,14.704z M16.401,13.328c0,0.76-0.616,1.376-1.376,1.376c-0.76,0-1.399-0.616-1.399-1.376 c0-0.76,0.639-1.397,1.399-1.397C15.785,11.931,16.401,12.568,16.401,13.328z M15.229,16.708c0.152,0.152,0.152,0.398,0,0.55 c-0.674,0.674-1.727,1.002-3.219,1.002c-0.004,0-0.007-0.002-0.011-0.002c-0.004,0-0.007,0.002-0.011,0.002 c-1.492,0-2.544-0.328-3.218-1.002c-0.152-0.152-0.152-0.398,0-0.55c0.152-0.152,0.399-0.151,0.55,0 c0.521,0.521,1.394,0.775,2.669,0.775c0.004,0,0.007,0.002,0.011,0.002c0.004,0,0.007-0.002,0.011-0.002 c1.275,0,2.148-0.253,2.669-0.775C14.831,16.556,15.078,16.556,15.229,16.708z"
       
 25121   }));
       
 25122 };
       
 25123 
       
 25124 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/skype.js
       
 25125 
       
 25126 
       
 25127 /**
       
 25128  * WordPress dependencies
       
 25129  */
       
 25130 
       
 25131 var skype_SkypeIcon = function SkypeIcon() {
       
 25132   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 25133     width: "24",
       
 25134     height: "24",
       
 25135     viewBox: "0 0 24 24",
       
 25136     version: "1.1"
       
 25137   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 25138     d: "M10.113,2.699c0.033-0.006,0.067-0.013,0.1-0.02c0.033,0.017,0.066,0.033,0.098,0.051L10.113,2.699z M2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223z M21.275,13.771 c0.007-0.035,0.011-0.071,0.018-0.106c-0.018-0.031-0.033-0.064-0.052-0.095L21.275,13.771z M13.563,21.199 c0.032,0.019,0.065,0.035,0.096,0.053c0.036-0.006,0.071-0.011,0.105-0.017L13.563,21.199z M22,16.386 c0,1.494-0.581,2.898-1.637,3.953c-1.056,1.057-2.459,1.637-3.953,1.637c-0.967,0-1.914-0.251-2.75-0.725 c0.036-0.006,0.071-0.011,0.105-0.017l-0.202-0.035c0.032,0.019,0.065,0.035,0.096,0.053c-0.543,0.096-1.099,0.147-1.654,0.147 c-1.275,0-2.512-0.25-3.676-0.743c-1.125-0.474-2.135-1.156-3.002-2.023c-0.867-0.867-1.548-1.877-2.023-3.002 c-0.493-1.164-0.743-2.401-0.743-3.676c0-0.546,0.049-1.093,0.142-1.628c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103C2.244,9.5,2,8.566,2,7.615c0-1.493,0.582-2.898,1.637-3.953 c1.056-1.056,2.46-1.638,3.953-1.638c0.915,0,1.818,0.228,2.622,0.655c-0.033,0.007-0.067,0.013-0.1,0.02l0.199,0.031 c-0.032-0.018-0.066-0.034-0.098-0.051c0.002,0,0.003-0.001,0.004-0.001c0.586-0.112,1.187-0.169,1.788-0.169 c1.275,0,2.512,0.249,3.676,0.742c1.124,0.476,2.135,1.156,3.002,2.024c0.868,0.867,1.548,1.877,2.024,3.002 c0.493,1.164,0.743,2.401,0.743,3.676c0,0.575-0.054,1.15-0.157,1.712c-0.018-0.031-0.033-0.064-0.052-0.095l0.034,0.201 c0.007-0.035,0.011-0.071,0.018-0.106C21.754,14.494,22,15.432,22,16.386z M16.817,14.138c0-1.331-0.613-2.743-3.033-3.282 l-2.209-0.49c-0.84-0.192-1.807-0.444-1.807-1.237c0-0.794,0.679-1.348,1.903-1.348c2.468,0,2.243,1.696,3.468,1.696 c0.645,0,1.209-0.379,1.209-1.031c0-1.521-2.435-2.663-4.5-2.663c-2.242,0-4.63,0.952-4.63,3.488c0,1.221,0.436,2.521,2.839,3.123 l2.984,0.745c0.903,0.223,1.129,0.731,1.129,1.189c0,0.762-0.758,1.507-2.129,1.507c-2.679,0-2.307-2.062-3.743-2.062 c-0.645,0-1.113,0.444-1.113,1.078c0,1.236,1.501,2.886,4.856,2.886C15.236,17.737,16.817,16.199,16.817,14.138z"
       
 25139   }));
       
 25140 };
       
 25141 
       
 25142 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/snapchat.js
       
 25143 
       
 25144 
       
 25145 /**
       
 25146  * WordPress dependencies
       
 25147  */
       
 25148 
       
 25149 var snapchat_SnapchatIcon = function SnapchatIcon() {
       
 25150   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 25151     width: "24",
       
 25152     height: "24",
       
 25153     viewBox: "0 0 24 24",
       
 25154     version: "1.1"
       
 25155   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 25156     d: "M12.065,2a5.526,5.526,0,0,1,3.132.892A5.854,5.854,0,0,1,17.326,5.4a5.821,5.821,0,0,1,.351,2.33q0,.612-.117,2.487a.809.809,0,0,0,.365.091,1.93,1.93,0,0,0,.664-.176,1.93,1.93,0,0,1,.664-.176,1.3,1.3,0,0,1,.729.234.7.7,0,0,1,.351.6.839.839,0,0,1-.41.7,2.732,2.732,0,0,1-.9.41,3.192,3.192,0,0,0-.9.378.728.728,0,0,0-.41.618,1.575,1.575,0,0,0,.156.56,6.9,6.9,0,0,0,1.334,1.953,5.6,5.6,0,0,0,1.881,1.315,5.875,5.875,0,0,0,1.042.3.42.42,0,0,1,.365.456q0,.911-2.852,1.341a1.379,1.379,0,0,0-.143.507,1.8,1.8,0,0,1-.182.605.451.451,0,0,1-.429.241,5.878,5.878,0,0,1-.807-.085,5.917,5.917,0,0,0-.833-.085,4.217,4.217,0,0,0-.807.065,2.42,2.42,0,0,0-.82.293,6.682,6.682,0,0,0-.755.5q-.351.267-.755.527a3.886,3.886,0,0,1-.989.436A4.471,4.471,0,0,1,11.831,22a4.307,4.307,0,0,1-1.256-.176,3.784,3.784,0,0,1-.976-.436q-.4-.26-.749-.527a6.682,6.682,0,0,0-.755-.5,2.422,2.422,0,0,0-.807-.293,4.432,4.432,0,0,0-.82-.065,5.089,5.089,0,0,0-.853.1,5,5,0,0,1-.762.1.474.474,0,0,1-.456-.241,1.819,1.819,0,0,1-.182-.618,1.411,1.411,0,0,0-.143-.521q-2.852-.429-2.852-1.341a.42.42,0,0,1,.365-.456,5.793,5.793,0,0,0,1.042-.3,5.524,5.524,0,0,0,1.881-1.315,6.789,6.789,0,0,0,1.334-1.953A1.575,1.575,0,0,0,6,12.9a.728.728,0,0,0-.41-.618,3.323,3.323,0,0,0-.9-.384,2.912,2.912,0,0,1-.9-.41.814.814,0,0,1-.41-.684.71.71,0,0,1,.338-.593,1.208,1.208,0,0,1,.716-.241,1.976,1.976,0,0,1,.625.169,2.008,2.008,0,0,0,.69.169.919.919,0,0,0,.416-.091q-.117-1.849-.117-2.474A5.861,5.861,0,0,1,6.385,5.4,5.516,5.516,0,0,1,8.625,2.819,7.075,7.075,0,0,1,12.062,2Z"
       
 25157   }));
       
 25158 };
       
 25159 
       
 25160 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/soundcloud.js
       
 25161 
       
 25162 
       
 25163 /**
       
 25164  * WordPress dependencies
       
 25165  */
       
 25166 
       
 25167 var soundcloud_SoundCloudIcon = function SoundCloudIcon() {
       
 25168   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 25169     width: "24",
       
 25170     height: "24",
       
 25171     viewBox: "0 0 24 24",
       
 25172     version: "1.1"
       
 25173   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 25174     d: "M8.9,16.1L9,14L8.9,9.5c0-0.1,0-0.1-0.1-0.1c0,0-0.1-0.1-0.1-0.1c-0.1,0-0.1,0-0.1,0.1c0,0-0.1,0.1-0.1,0.1L8.3,14l0.1,2.1 c0,0.1,0,0.1,0.1,0.1c0,0,0.1,0.1,0.1,0.1C8.8,16.3,8.9,16.3,8.9,16.1z M11.4,15.9l0.1-1.8L11.4,9c0-0.1,0-0.2-0.1-0.2 c0,0-0.1,0-0.1,0s-0.1,0-0.1,0c-0.1,0-0.1,0.1-0.1,0.2l0,0.1l-0.1,5c0,0,0,0.7,0.1,2v0c0,0.1,0,0.1,0.1,0.1c0.1,0.1,0.1,0.1,0.2,0.1 c0.1,0,0.1,0,0.2-0.1c0.1,0,0.1-0.1,0.1-0.2L11.4,15.9z M2.4,12.9L2.5,14l-0.2,1.1c0,0.1,0,0.1-0.1,0.1c0,0-0.1,0-0.1-0.1L2.1,14 l0.1-1.1C2.2,12.9,2.3,12.9,2.4,12.9C2.3,12.9,2.4,12.9,2.4,12.9z M3.1,12.2L3.3,14l-0.2,1.8c0,0.1,0,0.1-0.1,0.1 c-0.1,0-0.1,0-0.1-0.1L2.8,14L3,12.2C3,12.2,3,12.2,3.1,12.2C3.1,12.2,3.1,12.2,3.1,12.2z M3.9,11.9L4.1,14l-0.2,2.1 c0,0.1,0,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L3.5,14l0.2-2.1c0-0.1,0-0.1,0.1-0.1C3.9,11.8,3.9,11.8,3.9,11.9z M4.7,11.9L4.9,14 l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L4.3,14l0.2-2.2c0-0.1,0-0.1,0.1-0.1C4.7,11.7,4.7,11.8,4.7,11.9z M5.6,12 l0.2,2l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c0,0-0.1,0-0.1,0c0,0,0-0.1,0-0.1L5.1,14l0.2-2c0,0,0-0.1,0-0.1s0.1,0,0.1,0 C5.5,11.9,5.5,11.9,5.6,12L5.6,12z M6.4,10.7L6.6,14l-0.2,2.1c0,0,0,0.1,0,0.1c0,0-0.1,0-0.1,0c-0.1,0-0.1-0.1-0.2-0.2L5.9,14 l0.2-3.3c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0C6.4,10.7,6.4,10.7,6.4,10.7z M7.2,10l0.2,4.1l-0.2,2.1c0,0,0,0.1,0,0.1 c0,0-0.1,0-0.1,0c-0.1,0-0.2-0.1-0.2-0.2l-0.1-2.1L6.8,10c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0S7.2,9.9,7.2,10z M8,9.6L8.2,14 L8,16.1c0,0.1-0.1,0.2-0.2,0.2c-0.1,0-0.2-0.1-0.2-0.2L7.5,14l0.1-4.4c0-0.1,0-0.1,0.1-0.1c0,0,0.1-0.1,0.1-0.1c0.1,0,0.1,0,0.1,0.1 C8,9.6,8,9.6,8,9.6z M11.4,16.1L11.4,16.1L11.4,16.1z M9.7,9.6L9.8,14l-0.1,2.1c0,0.1,0,0.1-0.1,0.2s-0.1,0.1-0.2,0.1 c-0.1,0-0.1,0-0.1-0.1s-0.1-0.1-0.1-0.2L9.2,14l0.1-4.4c0-0.1,0-0.1,0.1-0.2s0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S9.7,9.5,9.7,9.6 L9.7,9.6z M10.6,9.8l0.1,4.3l-0.1,2c0,0.1,0,0.1-0.1,0.2c0,0-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c0,0-0.1-0.1-0.1-0.2L10,14 l0.1-4.3c0-0.1,0-0.1,0.1-0.2c0,0,0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S10.6,9.7,10.6,9.8z M12.4,14l-0.1,2c0,0.1,0,0.1-0.1,0.2 c-0.1,0.1-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2l-0.1-1l-0.1-1l0.1-5.5v0c0-0.1,0-0.2,0.1-0.2 c0.1,0,0.1-0.1,0.2-0.1c0,0,0.1,0,0.1,0c0.1,0,0.1,0.1,0.1,0.2L12.4,14z M22.1,13.9c0,0.7-0.2,1.3-0.7,1.7c-0.5,0.5-1.1,0.7-1.7,0.7 h-6.8c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2V8.2c0-0.1,0.1-0.2,0.2-0.3c0.5-0.2,1-0.3,1.6-0.3c1.1,0,2.1,0.4,2.9,1.1 c0.8,0.8,1.3,1.7,1.4,2.8c0.3-0.1,0.6-0.2,1-0.2c0.7,0,1.3,0.2,1.7,0.7C21.8,12.6,22.1,13.2,22.1,13.9L22.1,13.9z"
       
 25175   }));
       
 25176 };
       
 25177 
       
 25178 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/spotify.js
       
 25179 
       
 25180 
       
 25181 /**
       
 25182  * WordPress dependencies
       
 25183  */
       
 25184 
       
 25185 var spotify_SpotifyIcon = function SpotifyIcon() {
       
 25186   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 25187     width: "24",
       
 25188     height: "24",
       
 25189     viewBox: "0 0 24 24",
       
 25190     version: "1.1"
       
 25191   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 25192     d: "M12,2C6.477,2,2,6.477,2,12c0,5.523,4.477,10,10,10c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2 M16.586,16.424 c-0.18,0.295-0.563,0.387-0.857,0.207c-2.348-1.435-5.304-1.76-8.785-0.964c-0.335,0.077-0.67-0.133-0.746-0.469 c-0.077-0.335,0.132-0.67,0.469-0.746c3.809-0.871,7.077-0.496,9.713,1.115C16.673,15.746,16.766,16.13,16.586,16.424 M17.81,13.7 c-0.226,0.367-0.706,0.482-1.072,0.257c-2.687-1.652-6.785-2.131-9.965-1.166C6.36,12.917,5.925,12.684,5.8,12.273 C5.675,11.86,5.908,11.425,6.32,11.3c3.632-1.102,8.147-0.568,11.234,1.328C17.92,12.854,18.035,13.335,17.81,13.7 M17.915,10.865 c-3.223-1.914-8.54-2.09-11.618-1.156C5.804,9.859,5.281,9.58,5.131,9.086C4.982,8.591,5.26,8.069,5.755,7.919 c3.532-1.072,9.404-0.865,13.115,1.338c0.445,0.264,0.59,0.838,0.327,1.282C18.933,10.983,18.359,11.129,17.915,10.865"
       
 25193   }));
       
 25194 };
       
 25195 
       
 25196 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/tumblr.js
       
 25197 
       
 25198 
       
 25199 /**
       
 25200  * WordPress dependencies
       
 25201  */
       
 25202 
       
 25203 var tumblr_TumblrIcon = function TumblrIcon() {
       
 25204   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 25205     width: "24",
       
 25206     height: "24",
       
 25207     viewBox: "0 0 24 24",
       
 25208     version: "1.1"
       
 25209   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 25210     d: "M17.04 21.28h-3.28c-2.84 0-4.94-1.37-4.94-5.02v-5.67H6.08V7.5c2.93-.73 4.11-3.3 4.3-5.48h3.01v4.93h3.47v3.65H13.4v4.93c0 1.47.73 2.01 1.92 2.01h1.73v3.75z"
       
 25211   }));
       
 25212 };
       
 25213 
       
 25214 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/twitch.js
       
 25215 
       
 25216 
       
 25217 /**
       
 25218  * WordPress dependencies
       
 25219  */
       
 25220 
       
 25221 var twitch_TwitchIcon = function TwitchIcon() {
       
 25222   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 25223     width: "24",
       
 25224     height: "24",
       
 25225     viewBox: "0 0 24 24",
       
 25226     version: "1.1"
       
 25227   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 25228     d: "M16.499,8.089h-1.636v4.91h1.636V8.089z M12,8.089h-1.637v4.91H12V8.089z M4.228,3.178L3,6.451v13.092h4.499V22h2.456 l2.454-2.456h3.681L21,14.636V3.178H4.228z M19.364,13.816l-2.864,2.865H12l-2.453,2.453V16.68H5.863V4.814h13.501V13.816z"
       
 25229   }));
       
 25230 };
       
 25231 
       
 25232 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/twitter.js
       
 25233 
       
 25234 
       
 25235 /**
       
 25236  * WordPress dependencies
       
 25237  */
       
 25238 
       
 25239 var twitter_TwitterIcon = function TwitterIcon() {
       
 25240   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 25241     width: "24",
       
 25242     height: "24",
       
 25243     viewBox: "0 0 24 24",
       
 25244     version: "1.1"
       
 25245   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 25246     d: "M22.23,5.924c-0.736,0.326-1.527,0.547-2.357,0.646c0.847-0.508,1.498-1.312,1.804-2.27 c-0.793,0.47-1.671,0.812-2.606,0.996C18.324,4.498,17.257,4,16.077,4c-2.266,0-4.103,1.837-4.103,4.103 c0,0.322,0.036,0.635,0.106,0.935C8.67,8.867,5.647,7.234,3.623,4.751C3.27,5.357,3.067,6.062,3.067,6.814 c0,1.424,0.724,2.679,1.825,3.415c-0.673-0.021-1.305-0.206-1.859-0.513c0,0.017,0,0.034,0,0.052c0,1.988,1.414,3.647,3.292,4.023 c-0.344,0.094-0.707,0.144-1.081,0.144c-0.264,0-0.521-0.026-0.772-0.074c0.522,1.63,2.038,2.816,3.833,2.85 c-1.404,1.1-3.174,1.756-5.096,1.756c-0.331,0-0.658-0.019-0.979-0.057c1.816,1.164,3.973,1.843,6.29,1.843 c7.547,0,11.675-6.252,11.675-11.675c0-0.178-0.004-0.355-0.012-0.531C20.985,7.47,21.68,6.747,22.23,5.924z"
       
 25247   }));
       
 25248 };
       
 25249 
       
 25250 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/vimeo.js
       
 25251 
       
 25252 
       
 25253 /**
       
 25254  * WordPress dependencies
       
 25255  */
       
 25256 
       
 25257 var vimeo_VimeoIcon = function VimeoIcon() {
       
 25258   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 25259     width: "24",
       
 25260     height: "24",
       
 25261     viewBox: "0 0 24 24",
       
 25262     version: "1.1"
       
 25263   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 25264     d: "M22.396,7.164c-0.093,2.026-1.507,4.799-4.245,8.32C15.322,19.161,12.928,21,10.97,21c-1.214,0-2.24-1.119-3.079-3.359 c-0.56-2.053-1.119-4.106-1.68-6.159C5.588,9.243,4.921,8.122,4.206,8.122c-0.156,0-0.701,0.328-1.634,0.98L1.594,7.841 c1.027-0.902,2.04-1.805,3.037-2.708C6.001,3.95,7.03,3.327,7.715,3.264c1.619-0.156,2.616,0.951,2.99,3.321 c0.404,2.557,0.685,4.147,0.841,4.769c0.467,2.121,0.981,3.181,1.542,3.181c0.435,0,1.09-0.688,1.963-2.065 c0.871-1.376,1.338-2.422,1.401-3.142c0.125-1.187-0.343-1.782-1.401-1.782c-0.498,0-1.012,0.115-1.541,0.341 c1.023-3.35,2.977-4.977,5.862-4.884C21.511,3.066,22.52,4.453,22.396,7.164z"
       
 25265   }));
       
 25266 };
       
 25267 
       
 25268 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/vk.js
       
 25269 
       
 25270 
       
 25271 /**
       
 25272  * WordPress dependencies
       
 25273  */
       
 25274 
       
 25275 var vk_VkIcon = function VkIcon() {
       
 25276   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 25277     width: "24",
       
 25278     height: "24",
       
 25279     viewBox: "0 0 24 24",
       
 25280     version: "1.1"
       
 25281   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 25282     d: "M22,7.1c0.2,0.4-0.4,1.5-1.6,3.1c-0.2,0.2-0.4,0.5-0.7,0.9c-0.5,0.7-0.9,1.1-0.9,1.4c-0.1,0.3-0.1,0.6,0.1,0.8 c0.1,0.1,0.4,0.4,0.8,0.9h0l0,0c1,0.9,1.6,1.7,2,2.3c0,0,0,0.1,0.1,0.1c0,0.1,0,0.1,0.1,0.3c0,0.1,0,0.2,0,0.4 c0,0.1-0.1,0.2-0.3,0.3c-0.1,0.1-0.4,0.1-0.6,0.1l-2.7,0c-0.2,0-0.4,0-0.6-0.1c-0.2-0.1-0.4-0.1-0.5-0.2l-0.2-0.1 c-0.2-0.1-0.5-0.4-0.7-0.7s-0.5-0.6-0.7-0.8c-0.2-0.2-0.4-0.4-0.6-0.6C14.8,15,14.6,15,14.4,15c0,0,0,0-0.1,0c0,0-0.1,0.1-0.2,0.2 c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.1-0.1,0.3-0.2,0.5c-0.1,0.2-0.1,0.5-0.1,0.8c0,0.1,0,0.2,0,0.3c0,0.1-0.1,0.2-0.1,0.2l0,0.1 c-0.1,0.1-0.3,0.2-0.6,0.2h-1.2c-0.5,0-1,0-1.5-0.2c-0.5-0.1-1-0.3-1.4-0.6s-0.7-0.5-1.1-0.7s-0.6-0.4-0.7-0.6l-0.3-0.3 c-0.1-0.1-0.2-0.2-0.3-0.3s-0.4-0.5-0.7-0.9s-0.7-1-1.1-1.6c-0.4-0.6-0.8-1.3-1.3-2.2C2.9,9.4,2.5,8.5,2.1,7.5C2,7.4,2,7.3,2,7.2 c0-0.1,0-0.1,0-0.2l0-0.1c0.1-0.1,0.3-0.2,0.6-0.2l2.9,0c0.1,0,0.2,0,0.2,0.1S5.9,6.9,5.9,7L6,7c0.1,0.1,0.2,0.2,0.3,0.3 C6.4,7.7,6.5,8,6.7,8.4C6.9,8.8,7,9,7.1,9.2l0.2,0.3c0.2,0.4,0.4,0.8,0.6,1.1c0.2,0.3,0.4,0.5,0.5,0.7s0.3,0.3,0.4,0.4 c0.1,0.1,0.3,0.1,0.4,0.1c0.1,0,0.2,0,0.3-0.1c0,0,0,0,0.1-0.1c0,0,0.1-0.1,0.1-0.2c0.1-0.1,0.1-0.3,0.1-0.5c0-0.2,0.1-0.5,0.1-0.8 c0-0.4,0-0.8,0-1.3c0-0.3,0-0.5-0.1-0.8c0-0.2-0.1-0.4-0.1-0.5L9.6,7.6C9.4,7.3,9.1,7.2,8.7,7.1C8.6,7.1,8.6,7,8.7,6.9 C8.9,6.7,9,6.6,9.1,6.5c0.4-0.2,1.2-0.3,2.5-0.3c0.6,0,1,0.1,1.4,0.1c0.1,0,0.3,0.1,0.3,0.1c0.1,0.1,0.2,0.1,0.2,0.3 c0,0.1,0.1,0.2,0.1,0.3s0,0.3,0,0.5c0,0.2,0,0.4,0,0.6c0,0.2,0,0.4,0,0.7c0,0.3,0,0.6,0,0.9c0,0.1,0,0.2,0,0.4c0,0.2,0,0.4,0,0.5 c0,0.1,0,0.3,0,0.4s0.1,0.3,0.1,0.4c0.1,0.1,0.1,0.2,0.2,0.3c0.1,0,0.1,0,0.2,0c0.1,0,0.2,0,0.3-0.1c0.1-0.1,0.2-0.2,0.4-0.4 s0.3-0.4,0.5-0.7c0.2-0.3,0.5-0.7,0.7-1.1c0.4-0.7,0.8-1.5,1.1-2.3c0-0.1,0.1-0.1,0.1-0.2c0-0.1,0.1-0.1,0.1-0.1l0,0l0.1,0 c0,0,0,0,0.1,0s0.2,0,0.2,0l3,0c0.3,0,0.5,0,0.7,0S21.9,7,21.9,7L22,7.1z"
       
 25283   }));
       
 25284 };
       
 25285 
       
 25286 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/yelp.js
       
 25287 
       
 25288 
       
 25289 /**
       
 25290  * WordPress dependencies
       
 25291  */
       
 25292 
       
 25293 var yelp_YelpIcon = function YelpIcon() {
       
 25294   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 25295     width: "24",
       
 25296     height: "24",
       
 25297     viewBox: "0 0 24 24",
       
 25298     version: "1.1"
       
 25299   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 25300     d: "M12.271,16.718v1.417q-.011,3.257-.067,3.4a.707.707,0,0,1-.569.446,4.637,4.637,0,0,1-2.024-.424A4.609,4.609,0,0,1,7.8,20.565a.844.844,0,0,1-.19-.4.692.692,0,0,1,.044-.29,3.181,3.181,0,0,1,.379-.524q.335-.412,2.019-2.409.011,0,.669-.781a.757.757,0,0,1,.44-.274.965.965,0,0,1,.552.039.945.945,0,0,1,.418.324.732.732,0,0,1,.139.468Zm-1.662-2.8a.783.783,0,0,1-.58.781l-1.339.435q-3.067.981-3.257.981a.711.711,0,0,1-.6-.4,2.636,2.636,0,0,1-.19-.836,9.134,9.134,0,0,1,.011-1.857,3.559,3.559,0,0,1,.335-1.389.659.659,0,0,1,.625-.357,22.629,22.629,0,0,1,2.253.859q.781.324,1.283.524l.937.379a.771.771,0,0,1,.4.34A.982.982,0,0,1,10.609,13.917Zm9.213,3.313a4.467,4.467,0,0,1-1.021,1.8,4.559,4.559,0,0,1-1.512,1.417.671.671,0,0,1-.7-.078q-.156-.112-2.052-3.2l-.524-.859a.761.761,0,0,1-.128-.513.957.957,0,0,1,.217-.513.774.774,0,0,1,.926-.29q.011.011,1.327.446,2.264.736,2.7.887a2.082,2.082,0,0,1,.524.229.673.673,0,0,1,.245.68Zm-7.5-7.049q.056,1.137-.6,1.361-.647.19-1.272-.792L6.237,4.08a.7.7,0,0,1,.212-.691,5.788,5.788,0,0,1,2.314-1,5.928,5.928,0,0,1,2.5-.352.681.681,0,0,1,.547.5q.034.2.245,3.407T12.327,10.181Zm7.384,1.2a.679.679,0,0,1-.29.658q-.167.112-3.67.959-.747.167-1.015.257l.011-.022a.769.769,0,0,1-.513-.044.914.914,0,0,1-.413-.357.786.786,0,0,1,0-.971q.011-.011.836-1.137,1.394-1.908,1.673-2.275a2.423,2.423,0,0,1,.379-.435A.7.7,0,0,1,17.435,8a4.482,4.482,0,0,1,1.372,1.489,4.81,4.81,0,0,1,.9,1.868v.034Z"
       
 25301   }));
       
 25302 };
       
 25303 
       
 25304 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/youtube.js
       
 25305 
       
 25306 
       
 25307 /**
       
 25308  * WordPress dependencies
       
 25309  */
       
 25310 
       
 25311 var youtube_YouTubeIcon = function YouTubeIcon() {
       
 25312   return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
 25313     width: "24",
       
 25314     height: "24",
       
 25315     viewBox: "0 0 24 24",
       
 25316     version: "1.1"
       
 25317   }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
 25318     d: "M21.8,8.001c0,0-0.195-1.378-0.795-1.985c-0.76-0.797-1.613-0.801-2.004-0.847c-2.799-0.202-6.997-0.202-6.997-0.202 h-0.009c0,0-4.198,0-6.997,0.202C4.608,5.216,3.756,5.22,2.995,6.016C2.395,6.623,2.2,8.001,2.2,8.001S2,9.62,2,11.238v1.517 c0,1.618,0.2,3.237,0.2,3.237s0.195,1.378,0.795,1.985c0.761,0.797,1.76,0.771,2.205,0.855c1.6,0.153,6.8,0.201,6.8,0.201 s4.203-0.006,7.001-0.209c0.391-0.047,1.243-0.051,2.004-0.847c0.6-0.607,0.795-1.985,0.795-1.985s0.2-1.618,0.2-3.237v-1.517 C22,9.62,21.8,8.001,21.8,8.001z M9.935,14.594l-0.001-5.62l5.404,2.82L9.935,14.594z"
       
 25319   }));
       
 25320 };
       
 25321 
       
 25322 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/variations.js
       
 25323 /**
       
 25324  * Internal dependencies
       
 25325  */
       
 25326 
       
 25327 var social_link_variations_variations = [{
       
 25328   isDefault: true,
       
 25329   name: 'wordpress',
       
 25330   attributes: {
       
 25331     service: 'wordpress'
       
 25332   },
       
 25333   title: 'WordPress',
       
 25334   icon: wordpress_WordPressIcon
       
 25335 }, {
       
 25336   name: 'fivehundredpx',
       
 25337   attributes: {
       
 25338     service: 'fivehundredpx'
       
 25339   },
       
 25340   title: '500px',
       
 25341   icon: fivehundredpx_FivehundredpxIcon
       
 25342 }, {
       
 25343   name: 'amazon',
       
 25344   attributes: {
       
 25345     service: 'amazon'
       
 25346   },
       
 25347   title: 'Amazon',
       
 25348   icon: amazon_AmazonIcon
       
 25349 }, {
       
 25350   name: 'bandcamp',
       
 25351   attributes: {
       
 25352     service: 'bandcamp'
       
 25353   },
       
 25354   title: 'Bandcamp',
       
 25355   icon: bandcamp_BandcampIcon
       
 25356 }, {
       
 25357   name: 'behance',
       
 25358   attributes: {
       
 25359     service: 'behance'
       
 25360   },
       
 25361   title: 'Behance',
       
 25362   icon: behance_BehanceIcon
       
 25363 }, {
       
 25364   name: 'chain',
       
 25365   attributes: {
       
 25366     service: 'chain'
       
 25367   },
       
 25368   title: 'Link',
       
 25369   icon: chain_ChainIcon
       
 25370 }, {
       
 25371   name: 'codepen',
       
 25372   attributes: {
       
 25373     service: 'codepen'
       
 25374   },
       
 25375   title: 'CodePen',
       
 25376   icon: codepen_CodepenIcon
       
 25377 }, {
       
 25378   name: 'deviantart',
       
 25379   attributes: {
       
 25380     service: 'deviantart'
       
 25381   },
       
 25382   title: 'DeviantArt',
       
 25383   icon: deviantart_DeviantArtIcon
       
 25384 }, {
       
 25385   name: 'dribbble',
       
 25386   attributes: {
       
 25387     service: 'dribbble'
       
 25388   },
       
 25389   title: 'Dribbble',
       
 25390   icon: dribbble_DribbbleIcon
       
 25391 }, {
       
 25392   name: 'dropbox',
       
 25393   attributes: {
       
 25394     service: 'dropbox'
       
 25395   },
       
 25396   title: 'Dropbox',
       
 25397   icon: dropbox_DropboxIcon
       
 25398 }, {
       
 25399   name: 'etsy',
       
 25400   attributes: {
       
 25401     service: 'etsy'
       
 25402   },
       
 25403   title: 'Etsy',
       
 25404   icon: etsy_EtsyIcon
       
 25405 }, {
       
 25406   name: 'facebook',
       
 25407   attributes: {
       
 25408     service: 'facebook'
       
 25409   },
       
 25410   title: 'Facebook',
       
 25411   icon: facebook_FacebookIcon
       
 25412 }, {
       
 25413   name: 'feed',
       
 25414   attributes: {
       
 25415     service: 'feed'
       
 25416   },
       
 25417   title: 'RSS Feed',
       
 25418   icon: feed_FeedIcon
       
 25419 }, {
       
 25420   name: 'flickr',
       
 25421   attributes: {
       
 25422     service: 'flickr'
       
 25423   },
       
 25424   title: 'Flickr',
       
 25425   icon: flickr_FlickrIcon
       
 25426 }, {
       
 25427   name: 'foursquare',
       
 25428   attributes: {
       
 25429     service: 'foursquare'
       
 25430   },
       
 25431   title: 'Foursquare',
       
 25432   icon: foursquare_FoursquareIcon
       
 25433 }, {
       
 25434   name: 'goodreads',
       
 25435   attributes: {
       
 25436     service: 'goodreads'
       
 25437   },
       
 25438   title: 'Goodreads',
       
 25439   icon: goodreads_GoodreadsIcon
       
 25440 }, {
       
 25441   name: 'google',
       
 25442   attributes: {
       
 25443     service: 'google'
       
 25444   },
       
 25445   title: 'Google',
       
 25446   icon: google_GoogleIcon
       
 25447 }, {
       
 25448   name: 'github',
       
 25449   attributes: {
       
 25450     service: 'github'
       
 25451   },
       
 25452   title: 'GitHub',
       
 25453   icon: github_GitHubIcon
       
 25454 }, {
       
 25455   name: 'instagram',
       
 25456   attributes: {
       
 25457     service: 'instagram'
       
 25458   },
       
 25459   title: 'Instagram',
       
 25460   icon: instagram_InstagramIcon
       
 25461 }, {
       
 25462   name: 'lastfm',
       
 25463   attributes: {
       
 25464     service: 'lastfm'
       
 25465   },
       
 25466   title: 'Last.fm',
       
 25467   icon: lastfm_LastfmIcon
       
 25468 }, {
       
 25469   name: 'linkedin',
       
 25470   attributes: {
       
 25471     service: 'linkedin'
       
 25472   },
       
 25473   title: 'LinkedIn',
       
 25474   icon: linkedin_LinkedInIcon
       
 25475 }, {
       
 25476   name: 'mail',
       
 25477   attributes: {
       
 25478     service: 'mail'
       
 25479   },
       
 25480   title: 'Mail',
       
 25481   icon: mail_MailIcon
       
 25482 }, {
       
 25483   name: 'mastodon',
       
 25484   attributes: {
       
 25485     service: 'mastodon'
       
 25486   },
       
 25487   title: 'Mastodon',
       
 25488   icon: mastodon_MastodonIcon
       
 25489 }, {
       
 25490   name: 'meetup',
       
 25491   attributes: {
       
 25492     service: 'meetup'
       
 25493   },
       
 25494   title: 'Meetup',
       
 25495   icon: meetup_MeetupIcon
       
 25496 }, {
       
 25497   name: 'medium',
       
 25498   attributes: {
       
 25499     service: 'medium'
       
 25500   },
       
 25501   title: 'Medium',
       
 25502   icon: medium_MediumIcon
       
 25503 }, {
       
 25504   name: 'pinterest',
       
 25505   attributes: {
       
 25506     service: 'pinterest'
       
 25507   },
       
 25508   title: 'Pinterest',
       
 25509   icon: pinterest_PinterestIcon
       
 25510 }, {
       
 25511   name: 'pocket',
       
 25512   attributes: {
       
 25513     service: 'pocket'
       
 25514   },
       
 25515   title: 'Pocket',
       
 25516   icon: pocket_PocketIcon
       
 25517 }, {
       
 25518   name: 'reddit',
       
 25519   attributes: {
       
 25520     service: 'reddit'
       
 25521   },
       
 25522   title: 'Reddit',
       
 25523   icon: reddit_RedditIcon
       
 25524 }, {
       
 25525   name: 'skype',
       
 25526   attributes: {
       
 25527     service: 'skype'
       
 25528   },
       
 25529   title: 'Skype',
       
 25530   icon: skype_SkypeIcon
       
 25531 }, {
       
 25532   name: 'snapchat',
       
 25533   attributes: {
       
 25534     service: 'snapchat'
       
 25535   },
       
 25536   title: 'Snapchat',
       
 25537   icon: snapchat_SnapchatIcon
       
 25538 }, {
       
 25539   name: 'soundcloud',
       
 25540   attributes: {
       
 25541     service: 'soundcloud'
       
 25542   },
       
 25543   title: 'SoundCloud',
       
 25544   icon: soundcloud_SoundCloudIcon
       
 25545 }, {
       
 25546   name: 'spotify',
       
 25547   attributes: {
       
 25548     service: 'spotify'
       
 25549   },
       
 25550   title: 'Spotify',
       
 25551   icon: spotify_SpotifyIcon
       
 25552 }, {
       
 25553   name: 'tumblr',
       
 25554   attributes: {
       
 25555     service: 'tumblr'
       
 25556   },
       
 25557   title: 'Tumblr',
       
 25558   icon: tumblr_TumblrIcon
       
 25559 }, {
       
 25560   name: 'twitch',
       
 25561   attributes: {
       
 25562     service: 'twitch'
       
 25563   },
       
 25564   title: 'Twitch',
       
 25565   icon: twitch_TwitchIcon
       
 25566 }, {
       
 25567   name: 'twitter',
       
 25568   attributes: {
       
 25569     service: 'twitter'
       
 25570   },
       
 25571   title: 'Twitter',
       
 25572   icon: twitter_TwitterIcon
       
 25573 }, {
       
 25574   name: 'vimeo',
       
 25575   attributes: {
       
 25576     service: 'vimeo'
       
 25577   },
       
 25578   title: 'Vimeo',
       
 25579   icon: vimeo_VimeoIcon
       
 25580 }, {
       
 25581   name: 'vk',
       
 25582   attributes: {
       
 25583     service: 'vk'
       
 25584   },
       
 25585   title: 'VK',
       
 25586   icon: vk_VkIcon
       
 25587 }, {
       
 25588   name: 'yelp',
       
 25589   attributes: {
       
 25590     service: 'yelp'
       
 25591   },
       
 25592   title: 'Yelp',
       
 25593   icon: yelp_YelpIcon
       
 25594 }, {
       
 25595   name: 'youtube',
       
 25596   attributes: {
       
 25597     service: 'youtube'
       
 25598   },
       
 25599   title: 'YouTube',
       
 25600   icon: youtube_YouTubeIcon
       
 25601 }];
       
 25602 /* harmony default export */ var social_link_variations = (social_link_variations_variations);
       
 25603 
       
 25604 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/social-list.js
       
 25605 /**
       
 25606  * External dependencies
       
 25607  */
       
 25608 
       
 25609 /**
       
 25610  * WordPress dependencies
       
 25611  */
       
 25612 
       
 25613 
       
 25614 /**
       
 25615  * Internal dependencies
       
 25616  */
       
 25617 
       
 25618 
       
 25619 
       
 25620 /**
       
 25621  * Retrieves the social service's icon component.
       
 25622  *
       
 25623  * @param {string} name key for a social service (lowercase slug)
       
 25624  *
       
 25625  * @return {WPComponent} Icon component for social service.
       
 25626  */
       
 25627 
       
 25628 var social_list_getIconBySite = function getIconBySite(name) {
       
 25629   var variation = Object(external_this_lodash_["find"])(social_link_variations, {
       
 25630     name: name
       
 25631   });
       
 25632   return variation ? variation.icon : chain_ChainIcon;
       
 25633 };
       
 25634 /**
       
 25635  * Retrieves the display name for the social service.
       
 25636  *
       
 25637  * @param {string} name key for a social service (lowercase slug)
       
 25638  *
       
 25639  * @return {string} Display name for social service
       
 25640  */
       
 25641 
       
 25642 var social_list_getNameBySite = function getNameBySite(name) {
       
 25643   var variation = Object(external_this_lodash_["find"])(social_link_variations, {
       
 25644     name: name
       
 25645   });
       
 25646   return variation ? variation.title : Object(external_this_wp_i18n_["__"])('Social Icon');
       
 25647 };
       
 25648 
       
 25649 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/edit.js
       
 25650 
       
 25651 
       
 25652 
       
 25653 /**
       
 25654  * External dependencies
       
 25655  */
       
 25656 
       
 25657 /**
       
 25658  * WordPress dependencies
       
 25659  */
       
 25660 
       
 25661 
       
 25662 
       
 25663 
       
 25664 
       
 25665 
       
 25666 /**
       
 25667  * Internal dependencies
       
 25668  */
       
 25669 
       
 25670 
       
 25671 
       
 25672 var edit_SocialLinkEdit = function SocialLinkEdit(_ref) {
       
 25673   var attributes = _ref.attributes,
       
 25674       setAttributes = _ref.setAttributes,
       
 25675       isSelected = _ref.isSelected;
       
 25676   var url = attributes.url,
       
 25677       service = attributes.service,
       
 25678       label = attributes.label;
       
 25679 
       
 25680   var _useState = Object(external_this_wp_element_["useState"])(false),
       
 25681       _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
       
 25682       showURLPopover = _useState2[0],
       
 25683       setPopover = _useState2[1];
       
 25684 
       
 25685   var classes = classnames_default()('wp-social-link', 'wp-social-link-' + service, {
       
 25686     'wp-social-link__is-incomplete': !url
       
 25687   });
       
 25688   var IconComponent = social_list_getIconBySite(service);
       
 25689   var socialLinkName = social_list_getNameBySite(service);
       
 25690   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 25691     title: Object(external_this_wp_i18n_["sprintf"])(
       
 25692     /* translators: %s: name of the social service. */
       
 25693     Object(external_this_wp_i18n_["__"])('%s label'), socialLinkName),
       
 25694     initialOpen: false
       
 25695   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelRow"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
       
 25696     label: Object(external_this_wp_i18n_["__"])('Link label'),
       
 25697     help: Object(external_this_wp_i18n_["__"])('Briefly describe the link to help screen reader users.'),
       
 25698     value: label,
       
 25699     onChange: function onChange(value) {
       
 25700       return setAttributes({
       
 25701         label: value
       
 25702       });
       
 25703     }
       
 25704   })))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalBlock"].li, {
       
 25705     className: classes
       
 25706   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
 25707     onClick: function onClick() {
       
 25708       return setPopover(true);
       
 25709     }
       
 25710   }, Object(external_this_wp_element_["createElement"])(IconComponent, null), isSelected && showURLPopover && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["URLPopover"], {
       
 25711     onClose: function onClose() {
       
 25712       return setPopover(false);
       
 25713     }
       
 25714   }, Object(external_this_wp_element_["createElement"])("form", {
       
 25715     className: "block-editor-url-popover__link-editor",
       
 25716     onSubmit: function onSubmit(event) {
       
 25717       event.preventDefault();
       
 25718       setPopover(false);
       
 25719     }
       
 25720   }, Object(external_this_wp_element_["createElement"])("div", {
       
 25721     className: "block-editor-url-input"
       
 25722   }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["URLInput"], {
       
 25723     value: url,
       
 25724     onChange: function onChange(nextURL) {
       
 25725       return setAttributes({
       
 25726         url: nextURL
       
 25727       });
       
 25728     },
       
 25729     placeholder: Object(external_this_wp_i18n_["__"])('Enter address'),
       
 25730     disableSuggestions: true
       
 25731   })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
 25732     icon: keyboard_return["a" /* default */],
       
 25733     label: Object(external_this_wp_i18n_["__"])('Apply'),
       
 25734     type: "submit"
       
 25735   }))))));
       
 25736 };
       
 25737 
       
 25738 /* harmony default export */ var social_link_edit = (edit_SocialLinkEdit);
       
 25739 
       
 25740 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/index.js
       
 25741 /**
       
 25742  * WordPress dependencies
       
 25743  */
       
 25744 
       
 25745 
       
 25746 /**
       
 25747  * Internal dependencies
       
 25748  */
       
 25749 
       
 25750 
       
 25751 var social_link_metadata = {
       
 25752   name: "core/social-link",
       
 25753   category: "widgets",
       
 25754   parent: ["core/social-links"],
       
 25755   attributes: {
       
 25756     url: {
       
 25757       type: "string"
       
 25758     },
       
 25759     service: {
       
 25760       type: "string"
       
 25761     },
       
 25762     label: {
       
 25763       type: "string"
       
 25764     }
       
 25765   },
       
 25766   supports: {
       
 25767     reusable: false,
       
 25768     html: false,
       
 25769     lightBlockWrapper: true
       
 25770   }
       
 25771 };
       
 25772 
       
 25773 var social_link_name = social_link_metadata.name;
       
 25774 
       
 25775 var social_link_settings = {
       
 25776   title: Object(external_this_wp_i18n_["__"])('Social Icon'),
       
 25777   icon: library_share,
       
 25778   edit: social_link_edit,
       
 25779   description: Object(external_this_wp_i18n_["__"])('Display an icon linking to a social media profile or website.'),
       
 25780   variations: social_link_variations
       
 25781 };
       
 25782 
       
 25783 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/index.js
       
 25784 
       
 25785 
       
 25786 
       
 25787 /**
       
 25788  * WordPress dependencies
       
 25789  */
       
 25790 
       
 25791 
       
 25792 
       
 25793 
       
 25794 /**
       
 25795  * Internal dependencies
       
 25796  */
       
 25797 
       
 25798 
       
 25799 
       
 25800 
       
 25801 
       
 25802 
       
 25803 
       
 25804 
       
 25805 
       
 25806 
       
 25807 
       
 25808 
       
 25809 
       
 25810 
       
 25811 
       
 25812 
       
 25813 
       
 25814 
       
 25815 
       
 25816 
       
 25817 
       
 25818 
       
 25819 
       
 25820 
       
 25821 
       
 25822 
       
 25823 
       
 25824 
       
 25825 
       
 25826 
       
 25827 
       
 25828 
       
 25829 
       
 25830 
       
 25831 
       
 25832 
       
 25833 
       
 25834 
       
 25835 
       
 25836 
       
 25837 
       
 25838 
       
 25839 
       
 25840 
       
 25841 
       
 25842 
       
 25843 
       
 25844  // Full Site Editing Blocks
       
 25845 
       
 25846 
       
 25847 
       
 25848 
       
 25849 
       
 25850 
       
 25851 
       
 25852 
       
 25853 
       
 25854 
       
 25855 
       
 25856 
       
 25857 
       
 25858 
       
 25859 
       
 25860 
       
 25861 /**
       
 25862  * Function to register an individual block.
       
 25863  *
       
 25864  * @param {Object} block The block to be registered.
       
 25865  *
       
 25866  */
       
 25867 
       
 25868 var build_module_registerBlock = function registerBlock(block) {
       
 25869   if (!block) {
       
 25870     return;
       
 25871   }
       
 25872 
       
 25873   var metadata = block.metadata,
       
 25874       settings = block.settings,
       
 25875       name = block.name;
       
 25876 
       
 25877   if (metadata) {
       
 25878     Object(external_this_wp_blocks_["unstable__bootstrapServerSideBlockDefinitions"])(Object(defineProperty["a" /* default */])({}, name, metadata));
       
 25879   }
       
 25880 
       
 25881   Object(external_this_wp_blocks_["registerBlockType"])(name, settings);
       
 25882 };
       
 25883 /**
       
 25884  * Function to register core blocks provided by the block editor.
       
 25885  *
       
 25886  * @example
       
 25887  * ```js
       
 25888  * import { registerCoreBlocks } from '@wordpress/block-library';
       
 25889  *
       
 25890  * registerCoreBlocks();
       
 25891  * ```
       
 25892  */
       
 25893 
       
 25894 
       
 25895 var build_module_registerCoreBlocks = function registerCoreBlocks() {
       
 25896   [// Common blocks are grouped at the top to prioritize their display
       
 25897   // in various contexts — like the inserter and auto-complete components.
       
 25898   build_module_paragraph_namespaceObject, build_module_image_namespaceObject, build_module_heading_namespaceObject, build_module_gallery_namespaceObject, build_module_list_namespaceObject, build_module_quote_namespaceObject, // Register all remaining core blocks.
       
 25899   build_module_shortcode_namespaceObject, archives_namespaceObject, build_module_audio_namespaceObject, build_module_button_namespaceObject, buttons_namespaceObject, build_module_calendar_namespaceObject, categories_namespaceObject, code_namespaceObject, build_module_columns_namespaceObject, build_module_column_namespaceObject, build_module_cover_namespaceObject, embed_namespaceObject].concat(Object(toConsumableArray["a" /* default */])(embed_common), Object(toConsumableArray["a" /* default */])(embed_others), [build_module_file_namespaceObject, build_module_group_namespaceObject, window.wp && window.wp.oldEditor ? build_module_classic_namespaceObject : null, // Only add the classic block in WP Context
       
 25900   build_module_html_namespaceObject, media_text_namespaceObject, latest_comments_namespaceObject, latest_posts_namespaceObject, missing_namespaceObject, build_module_more_namespaceObject, nextpage_namespaceObject, build_module_preformatted_namespaceObject, build_module_pullquote_namespaceObject, build_module_rss_namespaceObject, search_namespaceObject, build_module_separator_namespaceObject, block_namespaceObject, social_links_namespaceObject, social_link_namespaceObject, spacer_namespaceObject, subhead_namespaceObject, build_module_table_namespaceObject, tag_cloud_namespaceObject, text_columns_namespaceObject, build_module_verse_namespaceObject, build_module_video_namespaceObject]).forEach(build_module_registerBlock);
       
 25901   Object(external_this_wp_blocks_["setDefaultBlockName"])(paragraph_name);
       
 25902 
       
 25903   if (window.wp && window.wp.oldEditor) {
       
 25904     Object(external_this_wp_blocks_["setFreeformContentHandlerName"])(classic_name);
       
 25905   }
       
 25906 
       
 25907   Object(external_this_wp_blocks_["setUnregisteredTypeHandlerName"])(missing_name);
       
 25908   Object(external_this_wp_blocks_["setGroupingBlockName"])(group_name);
       
 25909 };
       
 25910 /**
       
 25911  * Function to register experimental core blocks depending on editor settings.
       
 25912  *
       
 25913  * @param {Object} settings Editor settings.
       
 25914  *
       
 25915  * @example
       
 25916  * ```js
       
 25917  * import { __experimentalRegisterExperimentalCoreBlocks } from '@wordpress/block-library';
       
 25918  *
       
 25919  * __experimentalRegisterExperimentalCoreBlocks( settings );
       
 25920  * ```
       
 25921  */
       
 25922 
       
 25923 var __experimentalRegisterExperimentalCoreBlocks =  false ? undefined : undefined;
   729 
 25924 
   730 
 25925 
   731 /***/ }),
 25926 /***/ }),
   732 /* 37 */
 25927 
       
 25928 /***/ 44:
       
 25929 /***/ (function(module, exports) {
       
 25930 
       
 25931 (function() { module.exports = this["wp"]["blob"]; }());
       
 25932 
       
 25933 /***/ }),
       
 25934 
       
 25935 /***/ 45:
       
 25936 /***/ (function(module, exports) {
       
 25937 
       
 25938 (function() { module.exports = this["wp"]["apiFetch"]; }());
       
 25939 
       
 25940 /***/ }),
       
 25941 
       
 25942 /***/ 5:
   733 /***/ (function(module, __webpack_exports__, __webpack_require__) {
 25943 /***/ (function(module, __webpack_exports__, __webpack_require__) {
   734 
 25944 
   735 "use strict";
 25945 "use strict";
   736 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; });
 25946 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; });
   737 function _arrayWithHoles(arr) {
 25947 function _defineProperty(obj, key, value) {
   738   if (Array.isArray(arr)) return arr;
 25948   if (key in obj) {
       
 25949     Object.defineProperty(obj, key, {
       
 25950       value: value,
       
 25951       enumerable: true,
       
 25952       configurable: true,
       
 25953       writable: true
       
 25954     });
       
 25955   } else {
       
 25956     obj[key] = value;
       
 25957   }
       
 25958 
       
 25959   return obj;
   739 }
 25960 }
   740 
 25961 
   741 /***/ }),
 25962 /***/ }),
   742 /* 38 */
 25963 
   743 /***/ (function(module, __webpack_exports__, __webpack_require__) {
 25964 /***/ 6:
   744 
 25965 /***/ (function(module, exports) {
   745 "use strict";
 25966 
   746 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; });
 25967 (function() { module.exports = this["wp"]["primitives"]; }());
   747 function _nonIterableRest() {
       
   748   throw new TypeError("Invalid attempt to destructure non-iterable instance");
       
   749 }
       
   750 
 25968 
   751 /***/ }),
 25969 /***/ }),
   752 /* 39 */,
 25970 
   753 /* 40 */
 25971 /***/ 60:
   754 /***/ (function(module, exports) {
       
   755 
       
   756 (function() { module.exports = this["wp"]["viewport"]; }());
       
   757 
       
   758 /***/ }),
       
   759 /* 41 */
       
   760 /***/ (function(module, exports, __webpack_require__) {
 25972 /***/ (function(module, exports, __webpack_require__) {
   761 
 25973 
   762 module.exports = function memize( fn, options ) {
 25974 /**
   763 	var size = 0,
 25975  * Memize options object.
   764 		maxSize, head, tail;
 25976  *
   765 
 25977  * @typedef MemizeOptions
   766 	if ( options && options.maxSize ) {
 25978  *
   767 		maxSize = options.maxSize;
 25979  * @property {number} [maxSize] Maximum size of the cache.
   768 	}
 25980  */
       
 25981 
       
 25982 /**
       
 25983  * Internal cache entry.
       
 25984  *
       
 25985  * @typedef MemizeCacheNode
       
 25986  *
       
 25987  * @property {?MemizeCacheNode|undefined} [prev] Previous node.
       
 25988  * @property {?MemizeCacheNode|undefined} [next] Next node.
       
 25989  * @property {Array<*>}                   args   Function arguments for cache
       
 25990  *                                               entry.
       
 25991  * @property {*}                          val    Function result.
       
 25992  */
       
 25993 
       
 25994 /**
       
 25995  * Properties of the enhanced function for controlling cache.
       
 25996  *
       
 25997  * @typedef MemizeMemoizedFunction
       
 25998  *
       
 25999  * @property {()=>void} clear Clear the cache.
       
 26000  */
       
 26001 
       
 26002 /**
       
 26003  * Accepts a function to be memoized, and returns a new memoized function, with
       
 26004  * optional options.
       
 26005  *
       
 26006  * @template {Function} F
       
 26007  *
       
 26008  * @param {F}             fn        Function to memoize.
       
 26009  * @param {MemizeOptions} [options] Options object.
       
 26010  *
       
 26011  * @return {F & MemizeMemoizedFunction} Memoized function.
       
 26012  */
       
 26013 function memize( fn, options ) {
       
 26014 	var size = 0;
       
 26015 
       
 26016 	/** @type {?MemizeCacheNode|undefined} */
       
 26017 	var head;
       
 26018 
       
 26019 	/** @type {?MemizeCacheNode|undefined} */
       
 26020 	var tail;
       
 26021 
       
 26022 	options = options || {};
   769 
 26023 
   770 	function memoized( /* ...args */ ) {
 26024 	function memoized( /* ...args */ ) {
   771 		var node = head,
 26025 		var node = head,
   772 			len = arguments.length,
 26026 			len = arguments.length,
   773 			args, i;
 26027 			args, i;
   803 					tail = node.prev;
 26057 					tail = node.prev;
   804 				}
 26058 				}
   805 
 26059 
   806 				// Adjust siblings to point to each other. If node was tail,
 26060 				// Adjust siblings to point to each other. If node was tail,
   807 				// this also handles new tail's empty `next` assignment.
 26061 				// this also handles new tail's empty `next` assignment.
   808 				node.prev.next = node.next;
 26062 				/** @type {MemizeCacheNode} */ ( node.prev ).next = node.next;
   809 				if ( node.next ) {
 26063 				if ( node.next ) {
   810 					node.next.prev = node.prev;
 26064 					node.next.prev = node.prev;
   811 				}
 26065 				}
   812 
 26066 
   813 				node.next = head;
 26067 				node.next = head;
   814 				node.prev = null;
 26068 				node.prev = null;
   815 				head.prev = node;
 26069 				/** @type {MemizeCacheNode} */ ( head ).prev = node;
   816 				head = node;
 26070 				head = node;
   817 			}
 26071 			}
   818 
 26072 
   819 			// Return immediately
 26073 			// Return immediately
   820 			return node.val;
 26074 			return node.val;
   830 
 26084 
   831 		node = {
 26085 		node = {
   832 			args: args,
 26086 			args: args,
   833 
 26087 
   834 			// Generate the result from original function
 26088 			// Generate the result from original function
   835 			val: fn.apply( null, args )
 26089 			val: fn.apply( null, args ),
   836 		};
 26090 		};
   837 
 26091 
   838 		// Don't need to check whether node is already head, since it would
 26092 		// Don't need to check whether node is already head, since it would
   839 		// have been returned above already if it was
 26093 		// have been returned above already if it was
   840 
 26094 
   846 			// If no head, follows that there's no tail (at initial or reset)
 26100 			// If no head, follows that there's no tail (at initial or reset)
   847 			tail = node;
 26101 			tail = node;
   848 		}
 26102 		}
   849 
 26103 
   850 		// Trim tail if we're reached max size and are pending cache insertion
 26104 		// Trim tail if we're reached max size and are pending cache insertion
   851 		if ( size === maxSize ) {
 26105 		if ( size === /** @type {MemizeOptions} */ ( options ).maxSize ) {
   852 			tail = tail.prev;
 26106 			tail = /** @type {MemizeCacheNode} */ ( tail ).prev;
   853 			tail.next = null;
 26107 			/** @type {MemizeCacheNode} */ ( tail ).next = null;
   854 		} else {
 26108 		} else {
   855 			size++;
 26109 			size++;
   856 		}
 26110 		}
   857 
 26111 
   858 		head = node;
 26112 		head = node;
   866 		size = 0;
 26120 		size = 0;
   867 	};
 26121 	};
   868 
 26122 
   869 	if ( false ) {}
 26123 	if ( false ) {}
   870 
 26124 
       
 26125 	// Ignore reason: There's not a clear solution to create an intersection of
       
 26126 	// the function with additional properties, where the goal is to retain the
       
 26127 	// function signature of the incoming argument and add control properties
       
 26128 	// on the return value.
       
 26129 
       
 26130 	// @ts-ignore
   871 	return memoized;
 26131 	return memoized;
   872 };
 26132 }
       
 26133 
       
 26134 module.exports = memize;
   873 
 26135 
   874 
 26136 
   875 /***/ }),
 26137 /***/ }),
   876 /* 42 */
 26138 
   877 /***/ (function(module, exports) {
 26139 /***/ 66:
   878 
       
   879 (function() { module.exports = this["wp"]["isShallowEqual"]; }());
       
   880 
       
   881 /***/ }),
       
   882 /* 43 */,
       
   883 /* 44 */,
       
   884 /* 45 */
       
   885 /***/ (function(module, exports, __webpack_require__) {
 26140 /***/ (function(module, exports, __webpack_require__) {
   886 
 26141 
   887 var __WEBPACK_AMD_DEFINE_RESULT__;// TinyColor v1.4.1
 26142 var __WEBPACK_AMD_DEFINE_RESULT__;// TinyColor v1.4.1
   888 // https://github.com/bgrins/TinyColor
 26143 // https://github.com/bgrins/TinyColor
   889 // Brian Grinstead, MIT License
 26144 // Brian Grinstead, MIT License
  2079 
 27334 
  2080 })(Math);
 27335 })(Math);
  2081 
 27336 
  2082 
 27337 
  2083 /***/ }),
 27338 /***/ }),
  2084 /* 46 */,
 27339 
  2085 /* 47 */,
 27340 /***/ 7:
  2086 /* 48 */,
       
  2087 /* 49 */
       
  2088 /***/ (function(module, exports) {
 27341 /***/ (function(module, exports) {
  2089 
 27342 
  2090 (function() { module.exports = this["wp"]["deprecated"]; }());
 27343 (function() { module.exports = this["wp"]["blockEditor"]; }());
  2091 
 27344 
  2092 /***/ }),
 27345 /***/ }),
  2093 /* 50 */
 27346 
       
 27347 /***/ 79:
  2094 /***/ (function(module, exports) {
 27348 /***/ (function(module, exports) {
  2095 
 27349 
  2096 (function() { module.exports = this["wp"]["date"]; }());
 27350 (function() { module.exports = this["wp"]["date"]; }());
  2097 
 27351 
  2098 /***/ }),
 27352 /***/ }),
  2099 /* 51 */,
 27353 
  2100 /* 52 */,
 27354 /***/ 8:
  2101 /* 53 */
       
  2102 /***/ (function(module, __webpack_exports__, __webpack_require__) {
 27355 /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2103 
 27356 
  2104 "use strict";
 27357 "use strict";
  2105 /* unused harmony export matchesPatterns */
 27358 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
  2106 /* unused harmony export findBlock */
 27359 function _extends() {
  2107 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return isFromWordPress; });
 27360   _extends = Object.assign || function (target) {
  2108 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return getPhotoHtml; });
 27361     for (var i = 1; i < arguments.length; i++) {
  2109 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return createUpgradedEmbedBlock; });
 27362       var source = arguments[i];
  2110 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return getClassNames; });
 27363 
  2111 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return fallback; });
 27364       for (var key in source) {
  2112 /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(15);
 27365         if (Object.prototype.hasOwnProperty.call(source, key)) {
  2113 /* harmony import */ var _babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);
 27366           target[key] = source[key];
  2114 /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(17);
       
  2115 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(0);
       
  2116 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__);
       
  2117 /* harmony import */ var _core_embeds__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(85);
       
  2118 /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(58);
       
  2119 /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2);
       
  2120 /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_6__);
       
  2121 /* harmony import */ var classnames_dedupe__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(68);
       
  2122 /* harmony import */ var classnames_dedupe__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(classnames_dedupe__WEBPACK_IMPORTED_MODULE_7__);
       
  2123 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(14);
       
  2124 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_8__);
       
  2125 
       
  2126 
       
  2127 
       
  2128 
       
  2129 
       
  2130 /**
       
  2131  * Internal dependencies
       
  2132  */
       
  2133 
       
  2134 
       
  2135 /**
       
  2136  * External dependencies
       
  2137  */
       
  2138 
       
  2139 
       
  2140 
       
  2141 /**
       
  2142  * WordPress dependencies
       
  2143  */
       
  2144 
       
  2145 
       
  2146 
       
  2147 /**
       
  2148  * Returns true if any of the regular expressions match the URL.
       
  2149  *
       
  2150  * @param {string}   url      The URL to test.
       
  2151  * @param {Array}    patterns The list of regular expressions to test agains.
       
  2152  * @return {boolean} True if any of the regular expressions match the URL.
       
  2153  */
       
  2154 
       
  2155 var matchesPatterns = function matchesPatterns(url) {
       
  2156   var patterns = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
       
  2157   return patterns.some(function (pattern) {
       
  2158     return url.match(pattern);
       
  2159   });
       
  2160 };
       
  2161 /**
       
  2162  * Finds the block name that should be used for the URL, based on the
       
  2163  * structure of the URL.
       
  2164  *
       
  2165  * @param {string}  url The URL to test.
       
  2166  * @return {string} The name of the block that should be used for this URL, e.g. core-embed/twitter
       
  2167  */
       
  2168 
       
  2169 var findBlock = function findBlock(url) {
       
  2170   var _arr = [].concat(Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(_core_embeds__WEBPACK_IMPORTED_MODULE_4__[/* common */ "a"]), Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(_core_embeds__WEBPACK_IMPORTED_MODULE_4__[/* others */ "b"]));
       
  2171 
       
  2172   for (var _i = 0; _i < _arr.length; _i++) {
       
  2173     var block = _arr[_i];
       
  2174 
       
  2175     if (matchesPatterns(url, block.patterns)) {
       
  2176       return block.name;
       
  2177     }
       
  2178   }
       
  2179 
       
  2180   return _constants__WEBPACK_IMPORTED_MODULE_5__[/* DEFAULT_EMBED_BLOCK */ "b"];
       
  2181 };
       
  2182 var isFromWordPress = function isFromWordPress(html) {
       
  2183   return Object(lodash__WEBPACK_IMPORTED_MODULE_6__["includes"])(html, 'class="wp-embedded-content"');
       
  2184 };
       
  2185 var getPhotoHtml = function getPhotoHtml(photo) {
       
  2186   // 100% width for the preview so it fits nicely into the document, some "thumbnails" are
       
  2187   // actually the full size photo. If thumbnails not found, use full image.
       
  2188   var imageUrl = photo.thumbnail_url ? photo.thumbnail_url : photo.url;
       
  2189   var photoPreview = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])("p", null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])("img", {
       
  2190     src: imageUrl,
       
  2191     alt: photo.title,
       
  2192     width: "100%"
       
  2193   }));
       
  2194   return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["renderToString"])(photoPreview);
       
  2195 };
       
  2196 /***
       
  2197  * Creates a more suitable embed block based on the passed in props
       
  2198  * and attributes generated from an embed block's preview.
       
  2199  *
       
  2200  * We require `attributesFromPreview` to be generated from the latest attributes
       
  2201  * and preview, and because of the way the react lifecycle operates, we can't
       
  2202  * guarantee that the attributes contained in the block's props are the latest
       
  2203  * versions, so we require that these are generated separately.
       
  2204  * See `getAttributesFromPreview` in the generated embed edit component.
       
  2205  *
       
  2206  * @param {Object}            props                 The block's props.
       
  2207  * @param {Object}            attributesFromPreview Attributes generated from the block's most up to date preview.
       
  2208  * @return {Object|undefined} A more suitable embed block if one exists.
       
  2209  */
       
  2210 
       
  2211 var createUpgradedEmbedBlock = function createUpgradedEmbedBlock(props, attributesFromPreview) {
       
  2212   var preview = props.preview,
       
  2213       name = props.name;
       
  2214   var url = props.attributes.url;
       
  2215 
       
  2216   if (!url) {
       
  2217     return;
       
  2218   }
       
  2219 
       
  2220   var matchingBlock = findBlock(url); // WordPress blocks can work on multiple sites, and so don't have patterns,
       
  2221   // so if we're in a WordPress block, assume the user has chosen it for a WordPress URL.
       
  2222 
       
  2223   if (_constants__WEBPACK_IMPORTED_MODULE_5__[/* WORDPRESS_EMBED_BLOCK */ "d"] !== name && _constants__WEBPACK_IMPORTED_MODULE_5__[/* DEFAULT_EMBED_BLOCK */ "b"] !== matchingBlock) {
       
  2224     // At this point, we have discovered a more suitable block for this url, so transform it.
       
  2225     if (name !== matchingBlock) {
       
  2226       return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_8__["createBlock"])(matchingBlock, {
       
  2227         url: url
       
  2228       });
       
  2229     }
       
  2230   }
       
  2231 
       
  2232   if (preview) {
       
  2233     var html = preview.html; // We can't match the URL for WordPress embeds, we have to check the HTML instead.
       
  2234 
       
  2235     if (isFromWordPress(html)) {
       
  2236       // If this is not the WordPress embed block, transform it into one.
       
  2237       if (_constants__WEBPACK_IMPORTED_MODULE_5__[/* WORDPRESS_EMBED_BLOCK */ "d"] !== name) {
       
  2238         return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_8__["createBlock"])(_constants__WEBPACK_IMPORTED_MODULE_5__[/* WORDPRESS_EMBED_BLOCK */ "d"], Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])({
       
  2239           url: url
       
  2240         }, attributesFromPreview));
       
  2241       }
       
  2242     }
       
  2243   }
       
  2244 };
       
  2245 /**
       
  2246  * Returns class names with any relevant responsive aspect ratio names.
       
  2247  *
       
  2248  * @param {string}  html               The preview HTML that possibly contains an iframe with width and height set.
       
  2249  * @param {string}  existingClassNames Any existing class names.
       
  2250  * @param {boolean} allowResponsive    If the responsive class names should be added, or removed.
       
  2251  * @return {string} Deduped class names.
       
  2252  */
       
  2253 
       
  2254 function getClassNames(html) {
       
  2255   var existingClassNames = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
       
  2256   var allowResponsive = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
       
  2257 
       
  2258   if (!allowResponsive) {
       
  2259     // Remove all of the aspect ratio related class names.
       
  2260     var aspectRatioClassNames = {
       
  2261       'wp-has-aspect-ratio': false
       
  2262     };
       
  2263 
       
  2264     for (var ratioIndex = 0; ratioIndex < _constants__WEBPACK_IMPORTED_MODULE_5__[/* ASPECT_RATIOS */ "a"].length; ratioIndex++) {
       
  2265       var aspectRatioToRemove = _constants__WEBPACK_IMPORTED_MODULE_5__[/* ASPECT_RATIOS */ "a"][ratioIndex];
       
  2266       aspectRatioClassNames[aspectRatioToRemove.className] = false;
       
  2267     }
       
  2268 
       
  2269     return classnames_dedupe__WEBPACK_IMPORTED_MODULE_7___default()(existingClassNames, aspectRatioClassNames);
       
  2270   }
       
  2271 
       
  2272   var previewDocument = document.implementation.createHTMLDocument('');
       
  2273   previewDocument.body.innerHTML = html;
       
  2274   var iframe = previewDocument.body.querySelector('iframe'); // If we have a fixed aspect iframe, and it's a responsive embed block.
       
  2275 
       
  2276   if (iframe && iframe.height && iframe.width) {
       
  2277     var aspectRatio = (iframe.width / iframe.height).toFixed(2); // Given the actual aspect ratio, find the widest ratio to support it.
       
  2278 
       
  2279     for (var _ratioIndex = 0; _ratioIndex < _constants__WEBPACK_IMPORTED_MODULE_5__[/* ASPECT_RATIOS */ "a"].length; _ratioIndex++) {
       
  2280       var potentialRatio = _constants__WEBPACK_IMPORTED_MODULE_5__[/* ASPECT_RATIOS */ "a"][_ratioIndex];
       
  2281 
       
  2282       if (aspectRatio >= potentialRatio.ratio) {
       
  2283         var _classnames;
       
  2284 
       
  2285         return classnames_dedupe__WEBPACK_IMPORTED_MODULE_7___default()(existingClassNames, (_classnames = {}, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_classnames, potentialRatio.className, allowResponsive), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_classnames, 'wp-has-aspect-ratio', allowResponsive), _classnames));
       
  2286       }
       
  2287     }
       
  2288   }
       
  2289 
       
  2290   return existingClassNames;
       
  2291 }
       
  2292 /**
       
  2293  * Fallback behaviour for unembeddable URLs.
       
  2294  * Creates a paragraph block containing a link to the URL, and calls `onReplace`.
       
  2295  *
       
  2296  * @param {string}   url       The URL that could not be embedded.
       
  2297  * @param {function} onReplace Function to call with the created fallback block.
       
  2298  */
       
  2299 
       
  2300 function fallback(url, onReplace) {
       
  2301   var link = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])("a", {
       
  2302     href: url
       
  2303   }, url);
       
  2304   onReplace(Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_8__["createBlock"])('core/paragraph', {
       
  2305     content: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["renderToString"])(link)
       
  2306   }));
       
  2307 }
       
  2308 
       
  2309 
       
  2310 /***/ }),
       
  2311 /* 54 */,
       
  2312 /* 55 */,
       
  2313 /* 56 */,
       
  2314 /* 57 */,
       
  2315 /* 58 */
       
  2316 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  2317 
       
  2318 "use strict";
       
  2319 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return HOSTS_NO_PREVIEWS; });
       
  2320 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ASPECT_RATIOS; });
       
  2321 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return DEFAULT_EMBED_BLOCK; });
       
  2322 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return WORDPRESS_EMBED_BLOCK; });
       
  2323 // These embeds do not work in sandboxes due to the iframe's security restrictions.
       
  2324 var HOSTS_NO_PREVIEWS = ['facebook.com', 'smugmug.com'];
       
  2325 var ASPECT_RATIOS = [// Common video resolutions.
       
  2326 {
       
  2327   ratio: '2.33',
       
  2328   className: 'wp-embed-aspect-21-9'
       
  2329 }, {
       
  2330   ratio: '2.00',
       
  2331   className: 'wp-embed-aspect-18-9'
       
  2332 }, {
       
  2333   ratio: '1.78',
       
  2334   className: 'wp-embed-aspect-16-9'
       
  2335 }, {
       
  2336   ratio: '1.33',
       
  2337   className: 'wp-embed-aspect-4-3'
       
  2338 }, // Vertical video and instagram square video support.
       
  2339 {
       
  2340   ratio: '1.00',
       
  2341   className: 'wp-embed-aspect-1-1'
       
  2342 }, {
       
  2343   ratio: '0.56',
       
  2344   className: 'wp-embed-aspect-9-16'
       
  2345 }, {
       
  2346   ratio: '0.50',
       
  2347   className: 'wp-embed-aspect-1-2'
       
  2348 }];
       
  2349 var DEFAULT_EMBED_BLOCK = 'core/embed';
       
  2350 var WORDPRESS_EMBED_BLOCK = 'core-embed/wordpress';
       
  2351 
       
  2352 
       
  2353 /***/ }),
       
  2354 /* 59 */
       
  2355 /***/ (function(module, exports) {
       
  2356 
       
  2357 var g;
       
  2358 
       
  2359 // This works in non-strict mode
       
  2360 g = (function() {
       
  2361 	return this;
       
  2362 })();
       
  2363 
       
  2364 try {
       
  2365 	// This works if eval is allowed (see CSP)
       
  2366 	g = g || new Function("return this")();
       
  2367 } catch (e) {
       
  2368 	// This works if the window reference is available
       
  2369 	if (typeof window === "object") g = window;
       
  2370 }
       
  2371 
       
  2372 // g can still be undefined, but nothing to do about it...
       
  2373 // We return undefined, instead of nothing here, so it's
       
  2374 // easier to handle this case. if(!global) { ...}
       
  2375 
       
  2376 module.exports = g;
       
  2377 
       
  2378 
       
  2379 /***/ }),
       
  2380 /* 60 */,
       
  2381 /* 61 */,
       
  2382 /* 62 */,
       
  2383 /* 63 */,
       
  2384 /* 64 */,
       
  2385 /* 65 */,
       
  2386 /* 66 */
       
  2387 /***/ (function(module, exports) {
       
  2388 
       
  2389 (function() { module.exports = this["wp"]["autop"]; }());
       
  2390 
       
  2391 /***/ }),
       
  2392 /* 67 */,
       
  2393 /* 68 */
       
  2394 /***/ (function(module, exports, __webpack_require__) {
       
  2395 
       
  2396 var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
       
  2397   Copyright (c) 2017 Jed Watson.
       
  2398   Licensed under the MIT License (MIT), see
       
  2399   http://jedwatson.github.io/classnames
       
  2400 */
       
  2401 /* global define */
       
  2402 
       
  2403 (function () {
       
  2404 	'use strict';
       
  2405 
       
  2406 	var classNames = (function () {
       
  2407 		// don't inherit from Object so we can skip hasOwnProperty check later
       
  2408 		// http://stackoverflow.com/questions/15518328/creating-js-object-with-object-createnull#answer-21079232
       
  2409 		function StorageObject() {}
       
  2410 		StorageObject.prototype = Object.create(null);
       
  2411 
       
  2412 		function _parseArray (resultSet, array) {
       
  2413 			var length = array.length;
       
  2414 
       
  2415 			for (var i = 0; i < length; ++i) {
       
  2416 				_parse(resultSet, array[i]);
       
  2417 			}
       
  2418 		}
       
  2419 
       
  2420 		var hasOwn = {}.hasOwnProperty;
       
  2421 
       
  2422 		function _parseNumber (resultSet, num) {
       
  2423 			resultSet[num] = true;
       
  2424 		}
       
  2425 
       
  2426 		function _parseObject (resultSet, object) {
       
  2427 			for (var k in object) {
       
  2428 				if (hasOwn.call(object, k)) {
       
  2429 					// set value to false instead of deleting it to avoid changing object structure
       
  2430 					// https://www.smashingmagazine.com/2012/11/writing-fast-memory-efficient-javascript/#de-referencing-misconceptions
       
  2431 					resultSet[k] = !!object[k];
       
  2432 				}
       
  2433 			}
       
  2434 		}
       
  2435 
       
  2436 		var SPACE = /\s+/;
       
  2437 		function _parseString (resultSet, str) {
       
  2438 			var array = str.split(SPACE);
       
  2439 			var length = array.length;
       
  2440 
       
  2441 			for (var i = 0; i < length; ++i) {
       
  2442 				resultSet[array[i]] = true;
       
  2443 			}
       
  2444 		}
       
  2445 
       
  2446 		function _parse (resultSet, arg) {
       
  2447 			if (!arg) return;
       
  2448 			var argType = typeof arg;
       
  2449 
       
  2450 			// 'foo bar'
       
  2451 			if (argType === 'string') {
       
  2452 				_parseString(resultSet, arg);
       
  2453 
       
  2454 			// ['foo', 'bar', ...]
       
  2455 			} else if (Array.isArray(arg)) {
       
  2456 				_parseArray(resultSet, arg);
       
  2457 
       
  2458 			// { 'foo': true, ... }
       
  2459 			} else if (argType === 'object') {
       
  2460 				_parseObject(resultSet, arg);
       
  2461 
       
  2462 			// '130'
       
  2463 			} else if (argType === 'number') {
       
  2464 				_parseNumber(resultSet, arg);
       
  2465 			}
       
  2466 		}
       
  2467 
       
  2468 		function _classNames () {
       
  2469 			// don't leak arguments
       
  2470 			// https://github.com/petkaantonov/bluebird/wiki/Optimization-killers#32-leaking-arguments
       
  2471 			var len = arguments.length;
       
  2472 			var args = Array(len);
       
  2473 			for (var i = 0; i < len; i++) {
       
  2474 				args[i] = arguments[i];
       
  2475 			}
       
  2476 
       
  2477 			var classSet = new StorageObject();
       
  2478 			_parseArray(classSet, args);
       
  2479 
       
  2480 			var list = [];
       
  2481 
       
  2482 			for (var k in classSet) {
       
  2483 				if (classSet[k]) {
       
  2484 					list.push(k)
       
  2485 				}
       
  2486 			}
       
  2487 
       
  2488 			return list.join(' ');
       
  2489 		}
       
  2490 
       
  2491 		return _classNames;
       
  2492 	})();
       
  2493 
       
  2494 	if ( true && module.exports) {
       
  2495 		classNames.default = classNames;
       
  2496 		module.exports = classNames;
       
  2497 	} else if (true) {
       
  2498 		// register as 'classnames', consistent with npm package name
       
  2499 		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
       
  2500 			return classNames;
       
  2501 		}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
       
  2502 				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
       
  2503 	} else {}
       
  2504 }());
       
  2505 
       
  2506 
       
  2507 /***/ }),
       
  2508 /* 69 */,
       
  2509 /* 70 */,
       
  2510 /* 71 */,
       
  2511 /* 72 */
       
  2512 /***/ (function(module, exports) {
       
  2513 
       
  2514 (function() { module.exports = this["wp"]["coreData"]; }());
       
  2515 
       
  2516 /***/ }),
       
  2517 /* 73 */,
       
  2518 /* 74 */,
       
  2519 /* 75 */,
       
  2520 /* 76 */,
       
  2521 /* 77 */,
       
  2522 /* 78 */,
       
  2523 /* 79 */,
       
  2524 /* 80 */,
       
  2525 /* 81 */,
       
  2526 /* 82 */,
       
  2527 /* 83 */,
       
  2528 /* 84 */
       
  2529 /***/ (function(module, exports, __webpack_require__) {
       
  2530 
       
  2531 "use strict";
       
  2532 // Copyright Joyent, Inc. and other Node contributors.
       
  2533 //
       
  2534 // Permission is hereby granted, free of charge, to any person obtaining a
       
  2535 // copy of this software and associated documentation files (the
       
  2536 // "Software"), to deal in the Software without restriction, including
       
  2537 // without limitation the rights to use, copy, modify, merge, publish,
       
  2538 // distribute, sublicense, and/or sell copies of the Software, and to permit
       
  2539 // persons to whom the Software is furnished to do so, subject to the
       
  2540 // following conditions:
       
  2541 //
       
  2542 // The above copyright notice and this permission notice shall be included
       
  2543 // in all copies or substantial portions of the Software.
       
  2544 //
       
  2545 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
       
  2546 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
       
  2547 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
       
  2548 // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
       
  2549 // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
       
  2550 // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
       
  2551 // USE OR OTHER DEALINGS IN THE SOFTWARE.
       
  2552 
       
  2553 
       
  2554 
       
  2555 var punycode = __webpack_require__(117);
       
  2556 var util = __webpack_require__(119);
       
  2557 
       
  2558 exports.parse = urlParse;
       
  2559 exports.resolve = urlResolve;
       
  2560 exports.resolveObject = urlResolveObject;
       
  2561 exports.format = urlFormat;
       
  2562 
       
  2563 exports.Url = Url;
       
  2564 
       
  2565 function Url() {
       
  2566   this.protocol = null;
       
  2567   this.slashes = null;
       
  2568   this.auth = null;
       
  2569   this.host = null;
       
  2570   this.port = null;
       
  2571   this.hostname = null;
       
  2572   this.hash = null;
       
  2573   this.search = null;
       
  2574   this.query = null;
       
  2575   this.pathname = null;
       
  2576   this.path = null;
       
  2577   this.href = null;
       
  2578 }
       
  2579 
       
  2580 // Reference: RFC 3986, RFC 1808, RFC 2396
       
  2581 
       
  2582 // define these here so at least they only have to be
       
  2583 // compiled once on the first module load.
       
  2584 var protocolPattern = /^([a-z0-9.+-]+:)/i,
       
  2585     portPattern = /:[0-9]*$/,
       
  2586 
       
  2587     // Special case for a simple path URL
       
  2588     simplePathPattern = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,
       
  2589 
       
  2590     // RFC 2396: characters reserved for delimiting URLs.
       
  2591     // We actually just auto-escape these.
       
  2592     delims = ['<', '>', '"', '`', ' ', '\r', '\n', '\t'],
       
  2593 
       
  2594     // RFC 2396: characters not allowed for various reasons.
       
  2595     unwise = ['{', '}', '|', '\\', '^', '`'].concat(delims),
       
  2596 
       
  2597     // Allowed by RFCs, but cause of XSS attacks.  Always escape these.
       
  2598     autoEscape = ['\''].concat(unwise),
       
  2599     // Characters that are never ever allowed in a hostname.
       
  2600     // Note that any invalid chars are also handled, but these
       
  2601     // are the ones that are *expected* to be seen, so we fast-path
       
  2602     // them.
       
  2603     nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape),
       
  2604     hostEndingChars = ['/', '?', '#'],
       
  2605     hostnameMaxLen = 255,
       
  2606     hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/,
       
  2607     hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/,
       
  2608     // protocols that can allow "unsafe" and "unwise" chars.
       
  2609     unsafeProtocol = {
       
  2610       'javascript': true,
       
  2611       'javascript:': true
       
  2612     },
       
  2613     // protocols that never have a hostname.
       
  2614     hostlessProtocol = {
       
  2615       'javascript': true,
       
  2616       'javascript:': true
       
  2617     },
       
  2618     // protocols that always contain a // bit.
       
  2619     slashedProtocol = {
       
  2620       'http': true,
       
  2621       'https': true,
       
  2622       'ftp': true,
       
  2623       'gopher': true,
       
  2624       'file': true,
       
  2625       'http:': true,
       
  2626       'https:': true,
       
  2627       'ftp:': true,
       
  2628       'gopher:': true,
       
  2629       'file:': true
       
  2630     },
       
  2631     querystring = __webpack_require__(120);
       
  2632 
       
  2633 function urlParse(url, parseQueryString, slashesDenoteHost) {
       
  2634   if (url && util.isObject(url) && url instanceof Url) return url;
       
  2635 
       
  2636   var u = new Url;
       
  2637   u.parse(url, parseQueryString, slashesDenoteHost);
       
  2638   return u;
       
  2639 }
       
  2640 
       
  2641 Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
       
  2642   if (!util.isString(url)) {
       
  2643     throw new TypeError("Parameter 'url' must be a string, not " + typeof url);
       
  2644   }
       
  2645 
       
  2646   // Copy chrome, IE, opera backslash-handling behavior.
       
  2647   // Back slashes before the query string get converted to forward slashes
       
  2648   // See: https://code.google.com/p/chromium/issues/detail?id=25916
       
  2649   var queryIndex = url.indexOf('?'),
       
  2650       splitter =
       
  2651           (queryIndex !== -1 && queryIndex < url.indexOf('#')) ? '?' : '#',
       
  2652       uSplit = url.split(splitter),
       
  2653       slashRegex = /\\/g;
       
  2654   uSplit[0] = uSplit[0].replace(slashRegex, '/');
       
  2655   url = uSplit.join(splitter);
       
  2656 
       
  2657   var rest = url;
       
  2658 
       
  2659   // trim before proceeding.
       
  2660   // This is to support parse stuff like "  http://foo.com  \n"
       
  2661   rest = rest.trim();
       
  2662 
       
  2663   if (!slashesDenoteHost && url.split('#').length === 1) {
       
  2664     // Try fast path regexp
       
  2665     var simplePath = simplePathPattern.exec(rest);
       
  2666     if (simplePath) {
       
  2667       this.path = rest;
       
  2668       this.href = rest;
       
  2669       this.pathname = simplePath[1];
       
  2670       if (simplePath[2]) {
       
  2671         this.search = simplePath[2];
       
  2672         if (parseQueryString) {
       
  2673           this.query = querystring.parse(this.search.substr(1));
       
  2674         } else {
       
  2675           this.query = this.search.substr(1);
       
  2676         }
       
  2677       } else if (parseQueryString) {
       
  2678         this.search = '';
       
  2679         this.query = {};
       
  2680       }
       
  2681       return this;
       
  2682     }
       
  2683   }
       
  2684 
       
  2685   var proto = protocolPattern.exec(rest);
       
  2686   if (proto) {
       
  2687     proto = proto[0];
       
  2688     var lowerProto = proto.toLowerCase();
       
  2689     this.protocol = lowerProto;
       
  2690     rest = rest.substr(proto.length);
       
  2691   }
       
  2692 
       
  2693   // figure out if it's got a host
       
  2694   // user@server is *always* interpreted as a hostname, and url
       
  2695   // resolution will treat //foo/bar as host=foo,path=bar because that's
       
  2696   // how the browser resolves relative URLs.
       
  2697   if (slashesDenoteHost || proto || rest.match(/^\/\/[^@\/]+@[^@\/]+/)) {
       
  2698     var slashes = rest.substr(0, 2) === '//';
       
  2699     if (slashes && !(proto && hostlessProtocol[proto])) {
       
  2700       rest = rest.substr(2);
       
  2701       this.slashes = true;
       
  2702     }
       
  2703   }
       
  2704 
       
  2705   if (!hostlessProtocol[proto] &&
       
  2706       (slashes || (proto && !slashedProtocol[proto]))) {
       
  2707 
       
  2708     // there's a hostname.
       
  2709     // the first instance of /, ?, ;, or # ends the host.
       
  2710     //
       
  2711     // If there is an @ in the hostname, then non-host chars *are* allowed
       
  2712     // to the left of the last @ sign, unless some host-ending character
       
  2713     // comes *before* the @-sign.
       
  2714     // URLs are obnoxious.
       
  2715     //
       
  2716     // ex:
       
  2717     // http://a@b@c/ => user:a@b host:c
       
  2718     // http://a@b?@c => user:a host:c path:/?@c
       
  2719 
       
  2720     // v0.12 TODO(isaacs): This is not quite how Chrome does things.
       
  2721     // Review our test case against browsers more comprehensively.
       
  2722 
       
  2723     // find the first instance of any hostEndingChars
       
  2724     var hostEnd = -1;
       
  2725     for (var i = 0; i < hostEndingChars.length; i++) {
       
  2726       var hec = rest.indexOf(hostEndingChars[i]);
       
  2727       if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))
       
  2728         hostEnd = hec;
       
  2729     }
       
  2730 
       
  2731     // at this point, either we have an explicit point where the
       
  2732     // auth portion cannot go past, or the last @ char is the decider.
       
  2733     var auth, atSign;
       
  2734     if (hostEnd === -1) {
       
  2735       // atSign can be anywhere.
       
  2736       atSign = rest.lastIndexOf('@');
       
  2737     } else {
       
  2738       // atSign must be in auth portion.
       
  2739       // http://a@b/c@d => host:b auth:a path:/c@d
       
  2740       atSign = rest.lastIndexOf('@', hostEnd);
       
  2741     }
       
  2742 
       
  2743     // Now we have a portion which is definitely the auth.
       
  2744     // Pull that off.
       
  2745     if (atSign !== -1) {
       
  2746       auth = rest.slice(0, atSign);
       
  2747       rest = rest.slice(atSign + 1);
       
  2748       this.auth = decodeURIComponent(auth);
       
  2749     }
       
  2750 
       
  2751     // the host is the remaining to the left of the first non-host char
       
  2752     hostEnd = -1;
       
  2753     for (var i = 0; i < nonHostChars.length; i++) {
       
  2754       var hec = rest.indexOf(nonHostChars[i]);
       
  2755       if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))
       
  2756         hostEnd = hec;
       
  2757     }
       
  2758     // if we still have not hit it, then the entire thing is a host.
       
  2759     if (hostEnd === -1)
       
  2760       hostEnd = rest.length;
       
  2761 
       
  2762     this.host = rest.slice(0, hostEnd);
       
  2763     rest = rest.slice(hostEnd);
       
  2764 
       
  2765     // pull out port.
       
  2766     this.parseHost();
       
  2767 
       
  2768     // we've indicated that there is a hostname,
       
  2769     // so even if it's empty, it has to be present.
       
  2770     this.hostname = this.hostname || '';
       
  2771 
       
  2772     // if hostname begins with [ and ends with ]
       
  2773     // assume that it's an IPv6 address.
       
  2774     var ipv6Hostname = this.hostname[0] === '[' &&
       
  2775         this.hostname[this.hostname.length - 1] === ']';
       
  2776 
       
  2777     // validate a little.
       
  2778     if (!ipv6Hostname) {
       
  2779       var hostparts = this.hostname.split(/\./);
       
  2780       for (var i = 0, l = hostparts.length; i < l; i++) {
       
  2781         var part = hostparts[i];
       
  2782         if (!part) continue;
       
  2783         if (!part.match(hostnamePartPattern)) {
       
  2784           var newpart = '';
       
  2785           for (var j = 0, k = part.length; j < k; j++) {
       
  2786             if (part.charCodeAt(j) > 127) {
       
  2787               // we replace non-ASCII char with a temporary placeholder
       
  2788               // we need this to make sure size of hostname is not
       
  2789               // broken by replacing non-ASCII by nothing
       
  2790               newpart += 'x';
       
  2791             } else {
       
  2792               newpart += part[j];
       
  2793             }
       
  2794           }
       
  2795           // we test again with ASCII char only
       
  2796           if (!newpart.match(hostnamePartPattern)) {
       
  2797             var validParts = hostparts.slice(0, i);
       
  2798             var notHost = hostparts.slice(i + 1);
       
  2799             var bit = part.match(hostnamePartStart);
       
  2800             if (bit) {
       
  2801               validParts.push(bit[1]);
       
  2802               notHost.unshift(bit[2]);
       
  2803             }
       
  2804             if (notHost.length) {
       
  2805               rest = '/' + notHost.join('.') + rest;
       
  2806             }
       
  2807             this.hostname = validParts.join('.');
       
  2808             break;
       
  2809           }
       
  2810         }
 27367         }
  2811       }
 27368       }
  2812     }
 27369     }
  2813 
 27370 
  2814     if (this.hostname.length > hostnameMaxLen) {
 27371     return target;
  2815       this.hostname = '';
 27372   };
  2816     } else {
 27373 
  2817       // hostnames are always lower case.
 27374   return _extends.apply(this, arguments);
  2818       this.hostname = this.hostname.toLowerCase();
       
  2819     }
       
  2820 
       
  2821     if (!ipv6Hostname) {
       
  2822       // IDNA Support: Returns a punycoded representation of "domain".
       
  2823       // It only converts parts of the domain name that
       
  2824       // have non-ASCII characters, i.e. it doesn't matter if
       
  2825       // you call it with a domain that already is ASCII-only.
       
  2826       this.hostname = punycode.toASCII(this.hostname);
       
  2827     }
       
  2828 
       
  2829     var p = this.port ? ':' + this.port : '';
       
  2830     var h = this.hostname || '';
       
  2831     this.host = h + p;
       
  2832     this.href += this.host;
       
  2833 
       
  2834     // strip [ and ] from the hostname
       
  2835     // the host field still retains them, though
       
  2836     if (ipv6Hostname) {
       
  2837       this.hostname = this.hostname.substr(1, this.hostname.length - 2);
       
  2838       if (rest[0] !== '/') {
       
  2839         rest = '/' + rest;
       
  2840       }
       
  2841     }
       
  2842   }
       
  2843 
       
  2844   // now rest is set to the post-host stuff.
       
  2845   // chop off any delim chars.
       
  2846   if (!unsafeProtocol[lowerProto]) {
       
  2847 
       
  2848     // First, make 100% sure that any "autoEscape" chars get
       
  2849     // escaped, even if encodeURIComponent doesn't think they
       
  2850     // need to be.
       
  2851     for (var i = 0, l = autoEscape.length; i < l; i++) {
       
  2852       var ae = autoEscape[i];
       
  2853       if (rest.indexOf(ae) === -1)
       
  2854         continue;
       
  2855       var esc = encodeURIComponent(ae);
       
  2856       if (esc === ae) {
       
  2857         esc = escape(ae);
       
  2858       }
       
  2859       rest = rest.split(ae).join(esc);
       
  2860     }
       
  2861   }
       
  2862 
       
  2863 
       
  2864   // chop off from the tail first.
       
  2865   var hash = rest.indexOf('#');
       
  2866   if (hash !== -1) {
       
  2867     // got a fragment string.
       
  2868     this.hash = rest.substr(hash);
       
  2869     rest = rest.slice(0, hash);
       
  2870   }
       
  2871   var qm = rest.indexOf('?');
       
  2872   if (qm !== -1) {
       
  2873     this.search = rest.substr(qm);
       
  2874     this.query = rest.substr(qm + 1);
       
  2875     if (parseQueryString) {
       
  2876       this.query = querystring.parse(this.query);
       
  2877     }
       
  2878     rest = rest.slice(0, qm);
       
  2879   } else if (parseQueryString) {
       
  2880     // no query string, but parseQueryString still requested
       
  2881     this.search = '';
       
  2882     this.query = {};
       
  2883   }
       
  2884   if (rest) this.pathname = rest;
       
  2885   if (slashedProtocol[lowerProto] &&
       
  2886       this.hostname && !this.pathname) {
       
  2887     this.pathname = '/';
       
  2888   }
       
  2889 
       
  2890   //to support http.request
       
  2891   if (this.pathname || this.search) {
       
  2892     var p = this.pathname || '';
       
  2893     var s = this.search || '';
       
  2894     this.path = p + s;
       
  2895   }
       
  2896 
       
  2897   // finally, reconstruct the href based on what has been validated.
       
  2898   this.href = this.format();
       
  2899   return this;
       
  2900 };
       
  2901 
       
  2902 // format a parsed object into a url string
       
  2903 function urlFormat(obj) {
       
  2904   // ensure it's an object, and not a string url.
       
  2905   // If it's an obj, this is a no-op.
       
  2906   // this way, you can call url_format() on strings
       
  2907   // to clean up potentially wonky urls.
       
  2908   if (util.isString(obj)) obj = urlParse(obj);
       
  2909   if (!(obj instanceof Url)) return Url.prototype.format.call(obj);
       
  2910   return obj.format();
       
  2911 }
 27375 }
  2912 
 27376 
  2913 Url.prototype.format = function() {
       
  2914   var auth = this.auth || '';
       
  2915   if (auth) {
       
  2916     auth = encodeURIComponent(auth);
       
  2917     auth = auth.replace(/%3A/i, ':');
       
  2918     auth += '@';
       
  2919   }
       
  2920 
       
  2921   var protocol = this.protocol || '',
       
  2922       pathname = this.pathname || '',
       
  2923       hash = this.hash || '',
       
  2924       host = false,
       
  2925       query = '';
       
  2926 
       
  2927   if (this.host) {
       
  2928     host = auth + this.host;
       
  2929   } else if (this.hostname) {
       
  2930     host = auth + (this.hostname.indexOf(':') === -1 ?
       
  2931         this.hostname :
       
  2932         '[' + this.hostname + ']');
       
  2933     if (this.port) {
       
  2934       host += ':' + this.port;
       
  2935     }
       
  2936   }
       
  2937 
       
  2938   if (this.query &&
       
  2939       util.isObject(this.query) &&
       
  2940       Object.keys(this.query).length) {
       
  2941     query = querystring.stringify(this.query);
       
  2942   }
       
  2943 
       
  2944   var search = this.search || (query && ('?' + query)) || '';
       
  2945 
       
  2946   if (protocol && protocol.substr(-1) !== ':') protocol += ':';
       
  2947 
       
  2948   // only the slashedProtocols get the //.  Not mailto:, xmpp:, etc.
       
  2949   // unless they had them to begin with.
       
  2950   if (this.slashes ||
       
  2951       (!protocol || slashedProtocol[protocol]) && host !== false) {
       
  2952     host = '//' + (host || '');
       
  2953     if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname;
       
  2954   } else if (!host) {
       
  2955     host = '';
       
  2956   }
       
  2957 
       
  2958   if (hash && hash.charAt(0) !== '#') hash = '#' + hash;
       
  2959   if (search && search.charAt(0) !== '?') search = '?' + search;
       
  2960 
       
  2961   pathname = pathname.replace(/[?#]/g, function(match) {
       
  2962     return encodeURIComponent(match);
       
  2963   });
       
  2964   search = search.replace('#', '%23');
       
  2965 
       
  2966   return protocol + host + pathname + search + hash;
       
  2967 };
       
  2968 
       
  2969 function urlResolve(source, relative) {
       
  2970   return urlParse(source, false, true).resolve(relative);
       
  2971 }
       
  2972 
       
  2973 Url.prototype.resolve = function(relative) {
       
  2974   return this.resolveObject(urlParse(relative, false, true)).format();
       
  2975 };
       
  2976 
       
  2977 function urlResolveObject(source, relative) {
       
  2978   if (!source) return relative;
       
  2979   return urlParse(source, false, true).resolveObject(relative);
       
  2980 }
       
  2981 
       
  2982 Url.prototype.resolveObject = function(relative) {
       
  2983   if (util.isString(relative)) {
       
  2984     var rel = new Url();
       
  2985     rel.parse(relative, false, true);
       
  2986     relative = rel;
       
  2987   }
       
  2988 
       
  2989   var result = new Url();
       
  2990   var tkeys = Object.keys(this);
       
  2991   for (var tk = 0; tk < tkeys.length; tk++) {
       
  2992     var tkey = tkeys[tk];
       
  2993     result[tkey] = this[tkey];
       
  2994   }
       
  2995 
       
  2996   // hash is always overridden, no matter what.
       
  2997   // even href="" will remove it.
       
  2998   result.hash = relative.hash;
       
  2999 
       
  3000   // if the relative url is empty, then there's nothing left to do here.
       
  3001   if (relative.href === '') {
       
  3002     result.href = result.format();
       
  3003     return result;
       
  3004   }
       
  3005 
       
  3006   // hrefs like //foo/bar always cut to the protocol.
       
  3007   if (relative.slashes && !relative.protocol) {
       
  3008     // take everything except the protocol from relative
       
  3009     var rkeys = Object.keys(relative);
       
  3010     for (var rk = 0; rk < rkeys.length; rk++) {
       
  3011       var rkey = rkeys[rk];
       
  3012       if (rkey !== 'protocol')
       
  3013         result[rkey] = relative[rkey];
       
  3014     }
       
  3015 
       
  3016     //urlParse appends trailing / to urls like http://www.example.com
       
  3017     if (slashedProtocol[result.protocol] &&
       
  3018         result.hostname && !result.pathname) {
       
  3019       result.path = result.pathname = '/';
       
  3020     }
       
  3021 
       
  3022     result.href = result.format();
       
  3023     return result;
       
  3024   }
       
  3025 
       
  3026   if (relative.protocol && relative.protocol !== result.protocol) {
       
  3027     // if it's a known url protocol, then changing
       
  3028     // the protocol does weird things
       
  3029     // first, if it's not file:, then we MUST have a host,
       
  3030     // and if there was a path
       
  3031     // to begin with, then we MUST have a path.
       
  3032     // if it is file:, then the host is dropped,
       
  3033     // because that's known to be hostless.
       
  3034     // anything else is assumed to be absolute.
       
  3035     if (!slashedProtocol[relative.protocol]) {
       
  3036       var keys = Object.keys(relative);
       
  3037       for (var v = 0; v < keys.length; v++) {
       
  3038         var k = keys[v];
       
  3039         result[k] = relative[k];
       
  3040       }
       
  3041       result.href = result.format();
       
  3042       return result;
       
  3043     }
       
  3044 
       
  3045     result.protocol = relative.protocol;
       
  3046     if (!relative.host && !hostlessProtocol[relative.protocol]) {
       
  3047       var relPath = (relative.pathname || '').split('/');
       
  3048       while (relPath.length && !(relative.host = relPath.shift()));
       
  3049       if (!relative.host) relative.host = '';
       
  3050       if (!relative.hostname) relative.hostname = '';
       
  3051       if (relPath[0] !== '') relPath.unshift('');
       
  3052       if (relPath.length < 2) relPath.unshift('');
       
  3053       result.pathname = relPath.join('/');
       
  3054     } else {
       
  3055       result.pathname = relative.pathname;
       
  3056     }
       
  3057     result.search = relative.search;
       
  3058     result.query = relative.query;
       
  3059     result.host = relative.host || '';
       
  3060     result.auth = relative.auth;
       
  3061     result.hostname = relative.hostname || relative.host;
       
  3062     result.port = relative.port;
       
  3063     // to support http.request
       
  3064     if (result.pathname || result.search) {
       
  3065       var p = result.pathname || '';
       
  3066       var s = result.search || '';
       
  3067       result.path = p + s;
       
  3068     }
       
  3069     result.slashes = result.slashes || relative.slashes;
       
  3070     result.href = result.format();
       
  3071     return result;
       
  3072   }
       
  3073 
       
  3074   var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'),
       
  3075       isRelAbs = (
       
  3076           relative.host ||
       
  3077           relative.pathname && relative.pathname.charAt(0) === '/'
       
  3078       ),
       
  3079       mustEndAbs = (isRelAbs || isSourceAbs ||
       
  3080                     (result.host && relative.pathname)),
       
  3081       removeAllDots = mustEndAbs,
       
  3082       srcPath = result.pathname && result.pathname.split('/') || [],
       
  3083       relPath = relative.pathname && relative.pathname.split('/') || [],
       
  3084       psychotic = result.protocol && !slashedProtocol[result.protocol];
       
  3085 
       
  3086   // if the url is a non-slashed url, then relative
       
  3087   // links like ../.. should be able
       
  3088   // to crawl up to the hostname, as well.  This is strange.
       
  3089   // result.protocol has already been set by now.
       
  3090   // Later on, put the first path part into the host field.
       
  3091   if (psychotic) {
       
  3092     result.hostname = '';
       
  3093     result.port = null;
       
  3094     if (result.host) {
       
  3095       if (srcPath[0] === '') srcPath[0] = result.host;
       
  3096       else srcPath.unshift(result.host);
       
  3097     }
       
  3098     result.host = '';
       
  3099     if (relative.protocol) {
       
  3100       relative.hostname = null;
       
  3101       relative.port = null;
       
  3102       if (relative.host) {
       
  3103         if (relPath[0] === '') relPath[0] = relative.host;
       
  3104         else relPath.unshift(relative.host);
       
  3105       }
       
  3106       relative.host = null;
       
  3107     }
       
  3108     mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === '');
       
  3109   }
       
  3110 
       
  3111   if (isRelAbs) {
       
  3112     // it's absolute.
       
  3113     result.host = (relative.host || relative.host === '') ?
       
  3114                   relative.host : result.host;
       
  3115     result.hostname = (relative.hostname || relative.hostname === '') ?
       
  3116                       relative.hostname : result.hostname;
       
  3117     result.search = relative.search;
       
  3118     result.query = relative.query;
       
  3119     srcPath = relPath;
       
  3120     // fall through to the dot-handling below.
       
  3121   } else if (relPath.length) {
       
  3122     // it's relative
       
  3123     // throw away the existing file, and take the new path instead.
       
  3124     if (!srcPath) srcPath = [];
       
  3125     srcPath.pop();
       
  3126     srcPath = srcPath.concat(relPath);
       
  3127     result.search = relative.search;
       
  3128     result.query = relative.query;
       
  3129   } else if (!util.isNullOrUndefined(relative.search)) {
       
  3130     // just pull out the search.
       
  3131     // like href='?foo'.
       
  3132     // Put this after the other two cases because it simplifies the booleans
       
  3133     if (psychotic) {
       
  3134       result.hostname = result.host = srcPath.shift();
       
  3135       //occationaly the auth can get stuck only in host
       
  3136       //this especially happens in cases like
       
  3137       //url.resolveObject('mailto:local1@domain1', 'local2@domain2')
       
  3138       var authInHost = result.host && result.host.indexOf('@') > 0 ?
       
  3139                        result.host.split('@') : false;
       
  3140       if (authInHost) {
       
  3141         result.auth = authInHost.shift();
       
  3142         result.host = result.hostname = authInHost.shift();
       
  3143       }
       
  3144     }
       
  3145     result.search = relative.search;
       
  3146     result.query = relative.query;
       
  3147     //to support http.request
       
  3148     if (!util.isNull(result.pathname) || !util.isNull(result.search)) {
       
  3149       result.path = (result.pathname ? result.pathname : '') +
       
  3150                     (result.search ? result.search : '');
       
  3151     }
       
  3152     result.href = result.format();
       
  3153     return result;
       
  3154   }
       
  3155 
       
  3156   if (!srcPath.length) {
       
  3157     // no path at all.  easy.
       
  3158     // we've already handled the other stuff above.
       
  3159     result.pathname = null;
       
  3160     //to support http.request
       
  3161     if (result.search) {
       
  3162       result.path = '/' + result.search;
       
  3163     } else {
       
  3164       result.path = null;
       
  3165     }
       
  3166     result.href = result.format();
       
  3167     return result;
       
  3168   }
       
  3169 
       
  3170   // if a url ENDs in . or .., then it must get a trailing slash.
       
  3171   // however, if it ends in anything else non-slashy,
       
  3172   // then it must NOT get a trailing slash.
       
  3173   var last = srcPath.slice(-1)[0];
       
  3174   var hasTrailingSlash = (
       
  3175       (result.host || relative.host || srcPath.length > 1) &&
       
  3176       (last === '.' || last === '..') || last === '');
       
  3177 
       
  3178   // strip single dots, resolve double dots to parent dir
       
  3179   // if the path tries to go above the root, `up` ends up > 0
       
  3180   var up = 0;
       
  3181   for (var i = srcPath.length; i >= 0; i--) {
       
  3182     last = srcPath[i];
       
  3183     if (last === '.') {
       
  3184       srcPath.splice(i, 1);
       
  3185     } else if (last === '..') {
       
  3186       srcPath.splice(i, 1);
       
  3187       up++;
       
  3188     } else if (up) {
       
  3189       srcPath.splice(i, 1);
       
  3190       up--;
       
  3191     }
       
  3192   }
       
  3193 
       
  3194   // if the path is allowed to go above the root, restore leading ..s
       
  3195   if (!mustEndAbs && !removeAllDots) {
       
  3196     for (; up--; up) {
       
  3197       srcPath.unshift('..');
       
  3198     }
       
  3199   }
       
  3200 
       
  3201   if (mustEndAbs && srcPath[0] !== '' &&
       
  3202       (!srcPath[0] || srcPath[0].charAt(0) !== '/')) {
       
  3203     srcPath.unshift('');
       
  3204   }
       
  3205 
       
  3206   if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) {
       
  3207     srcPath.push('');
       
  3208   }
       
  3209 
       
  3210   var isAbsolute = srcPath[0] === '' ||
       
  3211       (srcPath[0] && srcPath[0].charAt(0) === '/');
       
  3212 
       
  3213   // put the host back
       
  3214   if (psychotic) {
       
  3215     result.hostname = result.host = isAbsolute ? '' :
       
  3216                                     srcPath.length ? srcPath.shift() : '';
       
  3217     //occationaly the auth can get stuck only in host
       
  3218     //this especially happens in cases like
       
  3219     //url.resolveObject('mailto:local1@domain1', 'local2@domain2')
       
  3220     var authInHost = result.host && result.host.indexOf('@') > 0 ?
       
  3221                      result.host.split('@') : false;
       
  3222     if (authInHost) {
       
  3223       result.auth = authInHost.shift();
       
  3224       result.host = result.hostname = authInHost.shift();
       
  3225     }
       
  3226   }
       
  3227 
       
  3228   mustEndAbs = mustEndAbs || (result.host && srcPath.length);
       
  3229 
       
  3230   if (mustEndAbs && !isAbsolute) {
       
  3231     srcPath.unshift('');
       
  3232   }
       
  3233 
       
  3234   if (!srcPath.length) {
       
  3235     result.pathname = null;
       
  3236     result.path = null;
       
  3237   } else {
       
  3238     result.pathname = srcPath.join('/');
       
  3239   }
       
  3240 
       
  3241   //to support request.http
       
  3242   if (!util.isNull(result.pathname) || !util.isNull(result.search)) {
       
  3243     result.path = (result.pathname ? result.pathname : '') +
       
  3244                   (result.search ? result.search : '');
       
  3245   }
       
  3246   result.auth = relative.auth || result.auth;
       
  3247   result.slashes = result.slashes || relative.slashes;
       
  3248   result.href = result.format();
       
  3249   return result;
       
  3250 };
       
  3251 
       
  3252 Url.prototype.parseHost = function() {
       
  3253   var host = this.host;
       
  3254   var port = portPattern.exec(host);
       
  3255   if (port) {
       
  3256     port = port[0];
       
  3257     if (port !== ':') {
       
  3258       this.port = port.substr(1);
       
  3259     }
       
  3260     host = host.substr(0, host.length - port.length);
       
  3261   }
       
  3262   if (host) this.hostname = host;
       
  3263 };
       
  3264 
       
  3265 
       
  3266 /***/ }),
 27377 /***/ }),
  3267 /* 85 */
 27378 
  3268 /***/ (function(module, __webpack_exports__, __webpack_require__) {
 27379 /***/ 81:
  3269 
 27380 /***/ (function(module, exports) {
  3270 "use strict";
 27381 
  3271 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return common; });
 27382 (function() { module.exports = this["wp"]["viewport"]; }());
  3272 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return others; });
       
  3273 /* harmony import */ var _icons__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(36);
       
  3274 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
       
  3275 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
       
  3276 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(14);
       
  3277 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__);
       
  3278 /**
       
  3279  * Internal dependencies
       
  3280  */
       
  3281 
       
  3282 /**
       
  3283  * WordPress dependencies
       
  3284  */
       
  3285 
       
  3286 
       
  3287 
       
  3288 var common = [{
       
  3289   name: 'core-embed/twitter',
       
  3290   settings: {
       
  3291     title: 'Twitter',
       
  3292     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedTwitterIcon */ "k"],
       
  3293     keywords: ['tweet'],
       
  3294     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed a tweet.')
       
  3295   },
       
  3296   patterns: [/^https?:\/\/(www\.)?twitter\.com\/.+/i]
       
  3297 }, {
       
  3298   name: 'core-embed/youtube',
       
  3299   settings: {
       
  3300     title: 'YouTube',
       
  3301     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedYouTubeIcon */ "o"],
       
  3302     keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('music'), Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('video')],
       
  3303     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed a YouTube video.')
       
  3304   },
       
  3305   patterns: [/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i, /^https?:\/\/youtu\.be\/.+/i]
       
  3306 }, {
       
  3307   name: 'core-embed/facebook',
       
  3308   settings: {
       
  3309     title: 'Facebook',
       
  3310     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedFacebookIcon */ "d"],
       
  3311     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed a Facebook post.')
       
  3312   },
       
  3313   patterns: [/^https?:\/\/www\.facebook.com\/.+/i]
       
  3314 }, {
       
  3315   name: 'core-embed/instagram',
       
  3316   settings: {
       
  3317     title: 'Instagram',
       
  3318     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedInstagramIcon */ "f"],
       
  3319     keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('image')],
       
  3320     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed an Instagram post.')
       
  3321   },
       
  3322   patterns: [/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i]
       
  3323 }, {
       
  3324   name: 'core-embed/wordpress',
       
  3325   settings: {
       
  3326     title: 'WordPress',
       
  3327     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedWordPressIcon */ "n"],
       
  3328     keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('post'), Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('blog')],
       
  3329     responsive: false,
       
  3330     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed a WordPress post.')
       
  3331   }
       
  3332 }, {
       
  3333   name: 'core-embed/soundcloud',
       
  3334   settings: {
       
  3335     title: 'SoundCloud',
       
  3336     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedAudioIcon */ "b"],
       
  3337     keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('music'), Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('audio')],
       
  3338     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed SoundCloud content.')
       
  3339   },
       
  3340   patterns: [/^https?:\/\/(www\.)?soundcloud\.com\/.+/i]
       
  3341 }, {
       
  3342   name: 'core-embed/spotify',
       
  3343   settings: {
       
  3344     title: 'Spotify',
       
  3345     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedSpotifyIcon */ "i"],
       
  3346     keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('music'), Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('audio')],
       
  3347     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Spotify content.')
       
  3348   },
       
  3349   patterns: [/^https?:\/\/(open|play)\.spotify\.com\/.+/i]
       
  3350 }, {
       
  3351   name: 'core-embed/flickr',
       
  3352   settings: {
       
  3353     title: 'Flickr',
       
  3354     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedFlickrIcon */ "e"],
       
  3355     keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('image')],
       
  3356     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Flickr content.')
       
  3357   },
       
  3358   patterns: [/^https?:\/\/(www\.)?flickr\.com\/.+/i, /^https?:\/\/flic\.kr\/.+/i]
       
  3359 }, {
       
  3360   name: 'core-embed/vimeo',
       
  3361   settings: {
       
  3362     title: 'Vimeo',
       
  3363     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedVimeoIcon */ "m"],
       
  3364     keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('video')],
       
  3365     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed a Vimeo video.')
       
  3366   },
       
  3367   patterns: [/^https?:\/\/(www\.)?vimeo\.com\/.+/i]
       
  3368 }];
       
  3369 var others = [{
       
  3370   name: 'core-embed/animoto',
       
  3371   settings: {
       
  3372     title: 'Animoto',
       
  3373     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedVideoIcon */ "l"],
       
  3374     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed an Animoto video.')
       
  3375   },
       
  3376   patterns: [/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i]
       
  3377 }, {
       
  3378   name: 'core-embed/cloudup',
       
  3379   settings: {
       
  3380     title: 'Cloudup',
       
  3381     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedContentIcon */ "c"],
       
  3382     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Cloudup content.')
       
  3383   },
       
  3384   patterns: [/^https?:\/\/cloudup\.com\/.+/i]
       
  3385 }, {
       
  3386   name: 'core-embed/collegehumor',
       
  3387   settings: {
       
  3388     title: 'CollegeHumor',
       
  3389     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedVideoIcon */ "l"],
       
  3390     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed CollegeHumor content.')
       
  3391   },
       
  3392   patterns: [/^https?:\/\/(www\.)?collegehumor\.com\/.+/i]
       
  3393 }, {
       
  3394   name: 'core-embed/crowdsignal',
       
  3395   settings: {
       
  3396     title: 'Crowdsignal',
       
  3397     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedContentIcon */ "c"],
       
  3398     keywords: ['polldaddy'],
       
  3399     transform: [{
       
  3400       type: 'block',
       
  3401       blocks: ['core-embed/polldaddy'],
       
  3402       transform: function transform(content) {
       
  3403         return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__["createBlock"])('core-embed/crowdsignal', {
       
  3404           content: content
       
  3405         });
       
  3406       }
       
  3407     }],
       
  3408     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Crowdsignal (formerly Polldaddy) content.')
       
  3409   },
       
  3410   patterns: [/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i]
       
  3411 }, {
       
  3412   name: 'core-embed/dailymotion',
       
  3413   settings: {
       
  3414     title: 'Dailymotion',
       
  3415     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedVideoIcon */ "l"],
       
  3416     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed a Dailymotion video.')
       
  3417   },
       
  3418   patterns: [/^https?:\/\/(www\.)?dailymotion\.com\/.+/i]
       
  3419 }, {
       
  3420   name: 'core-embed/hulu',
       
  3421   settings: {
       
  3422     title: 'Hulu',
       
  3423     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedVideoIcon */ "l"],
       
  3424     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Hulu content.')
       
  3425   },
       
  3426   patterns: [/^https?:\/\/(www\.)?hulu\.com\/.+/i]
       
  3427 }, {
       
  3428   name: 'core-embed/imgur',
       
  3429   settings: {
       
  3430     title: 'Imgur',
       
  3431     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedPhotoIcon */ "g"],
       
  3432     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Imgur content.')
       
  3433   },
       
  3434   patterns: [/^https?:\/\/(.+\.)?imgur\.com\/.+/i]
       
  3435 }, {
       
  3436   name: 'core-embed/issuu',
       
  3437   settings: {
       
  3438     title: 'Issuu',
       
  3439     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedContentIcon */ "c"],
       
  3440     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Issuu content.')
       
  3441   },
       
  3442   patterns: [/^https?:\/\/(www\.)?issuu\.com\/.+/i]
       
  3443 }, {
       
  3444   name: 'core-embed/kickstarter',
       
  3445   settings: {
       
  3446     title: 'Kickstarter',
       
  3447     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedContentIcon */ "c"],
       
  3448     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Kickstarter content.')
       
  3449   },
       
  3450   patterns: [/^https?:\/\/(www\.)?kickstarter\.com\/.+/i, /^https?:\/\/kck\.st\/.+/i]
       
  3451 }, {
       
  3452   name: 'core-embed/meetup-com',
       
  3453   settings: {
       
  3454     title: 'Meetup.com',
       
  3455     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedContentIcon */ "c"],
       
  3456     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Meetup.com content.')
       
  3457   },
       
  3458   patterns: [/^https?:\/\/(www\.)?meetu(\.ps|p\.com)\/.+/i]
       
  3459 }, {
       
  3460   name: 'core-embed/mixcloud',
       
  3461   settings: {
       
  3462     title: 'Mixcloud',
       
  3463     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedAudioIcon */ "b"],
       
  3464     keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('music'), Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('audio')],
       
  3465     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Mixcloud content.')
       
  3466   },
       
  3467   patterns: [/^https?:\/\/(www\.)?mixcloud\.com\/.+/i]
       
  3468 }, {
       
  3469   // Deprecated in favour of the core-embed/crowdsignal block
       
  3470   name: 'core-embed/polldaddy',
       
  3471   settings: {
       
  3472     title: 'Polldaddy',
       
  3473     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedContentIcon */ "c"],
       
  3474     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Polldaddy content.'),
       
  3475     supports: {
       
  3476       inserter: false
       
  3477     }
       
  3478   },
       
  3479   patterns: []
       
  3480 }, {
       
  3481   name: 'core-embed/reddit',
       
  3482   settings: {
       
  3483     title: 'Reddit',
       
  3484     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedRedditIcon */ "h"],
       
  3485     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed a Reddit thread.')
       
  3486   },
       
  3487   patterns: [/^https?:\/\/(www\.)?reddit\.com\/.+/i]
       
  3488 }, {
       
  3489   name: 'core-embed/reverbnation',
       
  3490   settings: {
       
  3491     title: 'ReverbNation',
       
  3492     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedAudioIcon */ "b"],
       
  3493     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed ReverbNation content.')
       
  3494   },
       
  3495   patterns: [/^https?:\/\/(www\.)?reverbnation\.com\/.+/i]
       
  3496 }, {
       
  3497   name: 'core-embed/screencast',
       
  3498   settings: {
       
  3499     title: 'Screencast',
       
  3500     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedVideoIcon */ "l"],
       
  3501     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Screencast content.')
       
  3502   },
       
  3503   patterns: [/^https?:\/\/(www\.)?screencast\.com\/.+/i]
       
  3504 }, {
       
  3505   name: 'core-embed/scribd',
       
  3506   settings: {
       
  3507     title: 'Scribd',
       
  3508     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedContentIcon */ "c"],
       
  3509     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Scribd content.')
       
  3510   },
       
  3511   patterns: [/^https?:\/\/(www\.)?scribd\.com\/.+/i]
       
  3512 }, {
       
  3513   name: 'core-embed/slideshare',
       
  3514   settings: {
       
  3515     title: 'Slideshare',
       
  3516     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedContentIcon */ "c"],
       
  3517     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Slideshare content.')
       
  3518   },
       
  3519   patterns: [/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i]
       
  3520 }, {
       
  3521   name: 'core-embed/smugmug',
       
  3522   settings: {
       
  3523     title: 'SmugMug',
       
  3524     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedPhotoIcon */ "g"],
       
  3525     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed SmugMug content.')
       
  3526   },
       
  3527   patterns: [/^https?:\/\/(www\.)?smugmug\.com\/.+/i]
       
  3528 }, {
       
  3529   // Deprecated in favour of the core-embed/speaker-deck block.
       
  3530   name: 'core-embed/speaker',
       
  3531   settings: {
       
  3532     title: 'Speaker',
       
  3533     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedAudioIcon */ "b"],
       
  3534     supports: {
       
  3535       inserter: false
       
  3536     }
       
  3537   },
       
  3538   patterns: []
       
  3539 }, {
       
  3540   name: 'core-embed/speaker-deck',
       
  3541   settings: {
       
  3542     title: 'Speaker Deck',
       
  3543     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedContentIcon */ "c"],
       
  3544     transform: [{
       
  3545       type: 'block',
       
  3546       blocks: ['core-embed/speaker'],
       
  3547       transform: function transform(content) {
       
  3548         return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__["createBlock"])('core-embed/speaker-deck', {
       
  3549           content: content
       
  3550         });
       
  3551       }
       
  3552     }],
       
  3553     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Speaker Deck content.')
       
  3554   },
       
  3555   patterns: [/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i]
       
  3556 }, {
       
  3557   name: 'core-embed/ted',
       
  3558   settings: {
       
  3559     title: 'TED',
       
  3560     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedVideoIcon */ "l"],
       
  3561     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed a TED video.')
       
  3562   },
       
  3563   patterns: [/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i]
       
  3564 }, {
       
  3565   name: 'core-embed/tumblr',
       
  3566   settings: {
       
  3567     title: 'Tumblr',
       
  3568     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedTumbrIcon */ "j"],
       
  3569     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed a Tumblr post.')
       
  3570   },
       
  3571   patterns: [/^https?:\/\/(www\.)?tumblr\.com\/.+/i]
       
  3572 }, {
       
  3573   name: 'core-embed/videopress',
       
  3574   settings: {
       
  3575     title: 'VideoPress',
       
  3576     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedVideoIcon */ "l"],
       
  3577     keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('video')],
       
  3578     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed a VideoPress video.')
       
  3579   },
       
  3580   patterns: [/^https?:\/\/videopress\.com\/.+/i]
       
  3581 }, {
       
  3582   name: 'core-embed/wordpress-tv',
       
  3583   settings: {
       
  3584     title: 'WordPress.tv',
       
  3585     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedVideoIcon */ "l"],
       
  3586     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed a WordPress.tv video.')
       
  3587   },
       
  3588   patterns: [/^https?:\/\/wordpress\.tv\/.+/i]
       
  3589 }, {
       
  3590   name: 'core-embed/amazon-kindle',
       
  3591   settings: {
       
  3592     title: 'Amazon Kindle',
       
  3593     icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedAmazonIcon */ "a"],
       
  3594     keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('ebook')],
       
  3595     responsive: false,
       
  3596     description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Amazon Kindle content.')
       
  3597   },
       
  3598   patterns: [/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i, /^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i]
       
  3599 }];
       
  3600 
       
  3601 
 27383 
  3602 /***/ }),
 27384 /***/ }),
  3603 /* 86 */,
 27385 
  3604 /* 87 */,
 27386 /***/ 83:
  3605 /* 88 */,
 27387 /***/ (function(module, exports) {
  3606 /* 89 */,
 27388 
  3607 /* 90 */,
 27389 (function() { module.exports = this["wp"]["serverSideRender"]; }());
  3608 /* 91 */,
       
  3609 /* 92 */,
       
  3610 /* 93 */,
       
  3611 /* 94 */,
       
  3612 /* 95 */,
       
  3613 /* 96 */,
       
  3614 /* 97 */,
       
  3615 /* 98 */,
       
  3616 /* 99 */,
       
  3617 /* 100 */,
       
  3618 /* 101 */,
       
  3619 /* 102 */,
       
  3620 /* 103 */,
       
  3621 /* 104 */,
       
  3622 /* 105 */,
       
  3623 /* 106 */,
       
  3624 /* 107 */,
       
  3625 /* 108 */,
       
  3626 /* 109 */,
       
  3627 /* 110 */
       
  3628 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  3629 
       
  3630 "use strict";
       
  3631 __webpack_require__.r(__webpack_exports__);
       
  3632 
       
  3633 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
       
  3634 var objectSpread = __webpack_require__(7);
       
  3635 
       
  3636 // EXTERNAL MODULE: ./node_modules/@wordpress/block-library/build-module/embed/core-embeds.js
       
  3637 var core_embeds = __webpack_require__(85);
       
  3638 
       
  3639 // EXTERNAL MODULE: ./node_modules/@wordpress/block-library/build-module/embed/icons.js
       
  3640 var icons = __webpack_require__(36);
       
  3641 
       
  3642 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
       
  3643 var defineProperty = __webpack_require__(15);
       
  3644 
       
  3645 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
  3646 var external_this_wp_element_ = __webpack_require__(0);
       
  3647 
       
  3648 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
  3649 var classCallCheck = __webpack_require__(10);
       
  3650 
       
  3651 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
  3652 var createClass = __webpack_require__(9);
       
  3653 
       
  3654 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
  3655 var possibleConstructorReturn = __webpack_require__(11);
       
  3656 
       
  3657 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
  3658 var getPrototypeOf = __webpack_require__(12);
       
  3659 
       
  3660 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
  3661 var inherits = __webpack_require__(13);
       
  3662 
       
  3663 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
       
  3664 var assertThisInitialized = __webpack_require__(3);
       
  3665 
       
  3666 // EXTERNAL MODULE: ./node_modules/@wordpress/block-library/build-module/embed/util.js
       
  3667 var util = __webpack_require__(53);
       
  3668 
       
  3669 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
  3670 var external_this_wp_i18n_ = __webpack_require__(1);
       
  3671 
       
  3672 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
  3673 var external_this_wp_components_ = __webpack_require__(4);
       
  3674 
       
  3675 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
       
  3676 var external_this_wp_blockEditor_ = __webpack_require__(8);
       
  3677 
       
  3678 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/embed-controls.js
       
  3679 
       
  3680 
       
  3681 /**
       
  3682  * WordPress dependencies
       
  3683  */
       
  3684 
       
  3685 
       
  3686 
       
  3687 
       
  3688 
       
  3689 var embed_controls_EmbedControls = function EmbedControls(props) {
       
  3690   var blockSupportsResponsive = props.blockSupportsResponsive,
       
  3691       showEditButton = props.showEditButton,
       
  3692       themeSupportsResponsive = props.themeSupportsResponsive,
       
  3693       allowResponsive = props.allowResponsive,
       
  3694       getResponsiveHelp = props.getResponsiveHelp,
       
  3695       toggleResponsive = props.toggleResponsive,
       
  3696       switchBackToURLInput = props.switchBackToURLInput;
       
  3697   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, showEditButton && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], {
       
  3698     className: "components-toolbar__control",
       
  3699     label: Object(external_this_wp_i18n_["__"])('Edit URL'),
       
  3700     icon: "edit",
       
  3701     onClick: switchBackToURLInput
       
  3702   }))), themeSupportsResponsive && blockSupportsResponsive && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
  3703     title: Object(external_this_wp_i18n_["__"])('Media Settings'),
       
  3704     className: "blocks-responsive"
       
  3705   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
  3706     label: Object(external_this_wp_i18n_["__"])('Resize for smaller devices'),
       
  3707     checked: allowResponsive,
       
  3708     help: getResponsiveHelp,
       
  3709     onChange: toggleResponsive
       
  3710   }))));
       
  3711 };
       
  3712 
       
  3713 /* harmony default export */ var embed_controls = (embed_controls_EmbedControls);
       
  3714 
       
  3715 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/embed-loading.js
       
  3716 
       
  3717 
       
  3718 /**
       
  3719  * WordPress dependencies
       
  3720  */
       
  3721 
       
  3722 
       
  3723 
       
  3724 var embed_loading_EmbedLoading = function EmbedLoading() {
       
  3725   return Object(external_this_wp_element_["createElement"])("div", {
       
  3726     className: "wp-block-embed is-loading"
       
  3727   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null), Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_i18n_["__"])('Embedding…')));
       
  3728 };
       
  3729 
       
  3730 /* harmony default export */ var embed_loading = (embed_loading_EmbedLoading);
       
  3731 
       
  3732 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/embed-placeholder.js
       
  3733 
       
  3734 
       
  3735 /**
       
  3736  * WordPress dependencies
       
  3737  */
       
  3738 
       
  3739 
       
  3740 
       
  3741 
       
  3742 var embed_placeholder_EmbedPlaceholder = function EmbedPlaceholder(props) {
       
  3743   var icon = props.icon,
       
  3744       label = props.label,
       
  3745       value = props.value,
       
  3746       onSubmit = props.onSubmit,
       
  3747       onChange = props.onChange,
       
  3748       cannotEmbed = props.cannotEmbed,
       
  3749       fallback = props.fallback,
       
  3750       tryAgain = props.tryAgain;
       
  3751   return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], {
       
  3752     icon: Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], {
       
  3753       icon: icon,
       
  3754       showColors: true
       
  3755     }),
       
  3756     label: label,
       
  3757     className: "wp-block-embed"
       
  3758   }, Object(external_this_wp_element_["createElement"])("form", {
       
  3759     onSubmit: onSubmit
       
  3760   }, Object(external_this_wp_element_["createElement"])("input", {
       
  3761     type: "url",
       
  3762     value: value || '',
       
  3763     className: "components-placeholder__input",
       
  3764     "aria-label": label,
       
  3765     placeholder: Object(external_this_wp_i18n_["__"])('Enter URL to embed here…'),
       
  3766     onChange: onChange
       
  3767   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
  3768     isLarge: true,
       
  3769     type: "submit"
       
  3770   }, Object(external_this_wp_i18n_["_x"])('Embed', 'button label')), cannotEmbed && Object(external_this_wp_element_["createElement"])("p", {
       
  3771     className: "components-placeholder__error"
       
  3772   }, Object(external_this_wp_i18n_["__"])('Sorry, this content could not be embedded.'), Object(external_this_wp_element_["createElement"])("br", null), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
  3773     isLarge: true,
       
  3774     onClick: tryAgain
       
  3775   }, Object(external_this_wp_i18n_["_x"])('Try again', 'button label')), " ", Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
  3776     isLarge: true,
       
  3777     onClick: fallback
       
  3778   }, Object(external_this_wp_i18n_["_x"])('Convert to link', 'button label')))));
       
  3779 };
       
  3780 
       
  3781 /* harmony default export */ var embed_placeholder = (embed_placeholder_EmbedPlaceholder);
       
  3782 
       
  3783 // EXTERNAL MODULE: ./node_modules/@wordpress/block-library/build-module/embed/constants.js
       
  3784 var constants = __webpack_require__(58);
       
  3785 
       
  3786 // EXTERNAL MODULE: ./node_modules/url/url.js
       
  3787 var url_url = __webpack_require__(84);
       
  3788 
       
  3789 // EXTERNAL MODULE: external "lodash"
       
  3790 var external_lodash_ = __webpack_require__(2);
       
  3791 
       
  3792 // EXTERNAL MODULE: ./node_modules/classnames/dedupe.js
       
  3793 var dedupe = __webpack_require__(68);
       
  3794 var dedupe_default = /*#__PURE__*/__webpack_require__.n(dedupe);
       
  3795 
       
  3796 // EXTERNAL MODULE: external {"this":["wp","compose"]}
       
  3797 var external_this_wp_compose_ = __webpack_require__(6);
       
  3798 
       
  3799 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/wp-embed-preview.js
       
  3800 
       
  3801 
       
  3802 
       
  3803 
       
  3804 
       
  3805 
       
  3806 
       
  3807 
       
  3808 /**
       
  3809  * WordPress dependencies
       
  3810  */
       
  3811 
       
  3812 
       
  3813 /**
       
  3814  * Browser dependencies
       
  3815  */
       
  3816 
       
  3817 var _window = window,
       
  3818     FocusEvent = _window.FocusEvent;
       
  3819 
       
  3820 var wp_embed_preview_WpEmbedPreview =
       
  3821 /*#__PURE__*/
       
  3822 function (_Component) {
       
  3823   Object(inherits["a" /* default */])(WpEmbedPreview, _Component);
       
  3824 
       
  3825   function WpEmbedPreview() {
       
  3826     var _this;
       
  3827 
       
  3828     Object(classCallCheck["a" /* default */])(this, WpEmbedPreview);
       
  3829 
       
  3830     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(WpEmbedPreview).apply(this, arguments));
       
  3831     _this.checkFocus = _this.checkFocus.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  3832     _this.node = Object(external_this_wp_element_["createRef"])();
       
  3833     return _this;
       
  3834   }
       
  3835   /**
       
  3836    * Checks whether the wp embed iframe is the activeElement,
       
  3837    * if it is dispatch a focus event.
       
  3838    */
       
  3839 
       
  3840 
       
  3841   Object(createClass["a" /* default */])(WpEmbedPreview, [{
       
  3842     key: "checkFocus",
       
  3843     value: function checkFocus() {
       
  3844       var _document = document,
       
  3845           activeElement = _document.activeElement;
       
  3846 
       
  3847       if (activeElement.tagName !== 'IFRAME' || activeElement.parentNode !== this.node.current) {
       
  3848         return;
       
  3849       }
       
  3850 
       
  3851       var focusEvent = new FocusEvent('focus', {
       
  3852         bubbles: true
       
  3853       });
       
  3854       activeElement.dispatchEvent(focusEvent);
       
  3855     }
       
  3856   }, {
       
  3857     key: "render",
       
  3858     value: function render() {
       
  3859       var html = this.props.html;
       
  3860       return Object(external_this_wp_element_["createElement"])("div", {
       
  3861         ref: this.node,
       
  3862         className: "wp-block-embed__wrapper",
       
  3863         dangerouslySetInnerHTML: {
       
  3864           __html: html
       
  3865         }
       
  3866       });
       
  3867     }
       
  3868   }]);
       
  3869 
       
  3870   return WpEmbedPreview;
       
  3871 }(external_this_wp_element_["Component"]);
       
  3872 
       
  3873 /* harmony default export */ var wp_embed_preview = (Object(external_this_wp_compose_["withGlobalEvents"])({
       
  3874   blur: 'checkFocus'
       
  3875 })(wp_embed_preview_WpEmbedPreview));
       
  3876 
       
  3877 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/embed-preview.js
       
  3878 
       
  3879 
       
  3880 
       
  3881 
       
  3882 
       
  3883 
       
  3884 
       
  3885 
       
  3886 /**
       
  3887  * Internal dependencies
       
  3888  */
       
  3889 
       
  3890 
       
  3891 /**
       
  3892  * External dependencies
       
  3893  */
       
  3894 
       
  3895 
       
  3896 
       
  3897 
       
  3898 /**
       
  3899  * WordPress dependencies
       
  3900  */
       
  3901 
       
  3902 
       
  3903 
       
  3904 
       
  3905 
       
  3906 /**
       
  3907  * Internal dependencies
       
  3908  */
       
  3909 
       
  3910 
       
  3911 
       
  3912 var embed_preview_EmbedPreview =
       
  3913 /*#__PURE__*/
       
  3914 function (_Component) {
       
  3915   Object(inherits["a" /* default */])(EmbedPreview, _Component);
       
  3916 
       
  3917   function EmbedPreview() {
       
  3918     var _this;
       
  3919 
       
  3920     Object(classCallCheck["a" /* default */])(this, EmbedPreview);
       
  3921 
       
  3922     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(EmbedPreview).apply(this, arguments));
       
  3923     _this.hideOverlay = _this.hideOverlay.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  3924     _this.state = {
       
  3925       interactive: false
       
  3926     };
       
  3927     return _this;
       
  3928   }
       
  3929 
       
  3930   Object(createClass["a" /* default */])(EmbedPreview, [{
       
  3931     key: "hideOverlay",
       
  3932     value: function hideOverlay() {
       
  3933       // This is called onMouseUp on the overlay. We can't respond to the `isSelected` prop
       
  3934       // changing, because that happens on mouse down, and the overlay immediately disappears,
       
  3935       // and the mouse event can end up in the preview content. We can't use onClick on
       
  3936       // the overlay to hide it either, because then the editor misses the mouseup event, and
       
  3937       // thinks we're multi-selecting blocks.
       
  3938       this.setState({
       
  3939         interactive: true
       
  3940       });
       
  3941     }
       
  3942   }, {
       
  3943     key: "render",
       
  3944     value: function render() {
       
  3945       var _this$props = this.props,
       
  3946           preview = _this$props.preview,
       
  3947           url = _this$props.url,
       
  3948           type = _this$props.type,
       
  3949           caption = _this$props.caption,
       
  3950           onCaptionChange = _this$props.onCaptionChange,
       
  3951           isSelected = _this$props.isSelected,
       
  3952           className = _this$props.className,
       
  3953           icon = _this$props.icon,
       
  3954           label = _this$props.label;
       
  3955       var scripts = preview.scripts;
       
  3956       var interactive = this.state.interactive;
       
  3957       var html = 'photo' === type ? Object(util["d" /* getPhotoHtml */])(preview) : preview.html;
       
  3958       var parsedHost = Object(url_url["parse"])(url).host.split('.');
       
  3959       var parsedHostBaseUrl = parsedHost.splice(parsedHost.length - 2, parsedHost.length - 1).join('.');
       
  3960       var cannotPreview = Object(external_lodash_["includes"])(constants["c" /* HOSTS_NO_PREVIEWS */], parsedHostBaseUrl); // translators: %s: host providing embed content e.g: www.youtube.com
       
  3961 
       
  3962       var iframeTitle = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Embedded content from %s'), parsedHostBaseUrl);
       
  3963       var sandboxClassnames = dedupe_default()(type, className, 'wp-block-embed__wrapper'); // Disabled because the overlay div doesn't actually have a role or functionality
       
  3964       // as far as the user is concerned. We're just catching the first click so that
       
  3965       // the block can be selected without interacting with the embed preview that the overlay covers.
       
  3966 
       
  3967       /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
       
  3968 
       
  3969       /* eslint-disable jsx-a11y/no-static-element-interactions */
       
  3970 
       
  3971       var embedWrapper = 'wp-embed' === type ? Object(external_this_wp_element_["createElement"])(wp_embed_preview, {
       
  3972         html: html
       
  3973       }) : Object(external_this_wp_element_["createElement"])("div", {
       
  3974         className: "wp-block-embed__wrapper"
       
  3975       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SandBox"], {
       
  3976         html: html,
       
  3977         scripts: scripts,
       
  3978         title: iframeTitle,
       
  3979         type: sandboxClassnames,
       
  3980         onFocus: this.hideOverlay
       
  3981       }), !interactive && Object(external_this_wp_element_["createElement"])("div", {
       
  3982         className: "block-library-embed__interactive-overlay",
       
  3983         onMouseUp: this.hideOverlay
       
  3984       }));
       
  3985       /* eslint-enable jsx-a11y/no-static-element-interactions */
       
  3986 
       
  3987       /* eslint-enable jsx-a11y/no-noninteractive-element-interactions */
       
  3988 
       
  3989       return Object(external_this_wp_element_["createElement"])("figure", {
       
  3990         className: dedupe_default()(className, 'wp-block-embed', {
       
  3991           'is-type-video': 'video' === type
       
  3992         })
       
  3993       }, cannotPreview ? Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], {
       
  3994         icon: Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], {
       
  3995           icon: icon,
       
  3996           showColors: true
       
  3997         }),
       
  3998         label: label
       
  3999       }, Object(external_this_wp_element_["createElement"])("p", {
       
  4000         className: "components-placeholder__error"
       
  4001       }, Object(external_this_wp_element_["createElement"])("a", {
       
  4002         href: url
       
  4003       }, url)), Object(external_this_wp_element_["createElement"])("p", {
       
  4004         className: "components-placeholder__error"
       
  4005       },
       
  4006       /* translators: %s: host providing embed content e.g: www.youtube.com */
       
  4007       Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])("Embedded content from %s can't be previewed in the editor."), parsedHostBaseUrl))) : embedWrapper, (!external_this_wp_blockEditor_["RichText"].isEmpty(caption) || isSelected) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
  4008         tagName: "figcaption",
       
  4009         placeholder: Object(external_this_wp_i18n_["__"])('Write caption…'),
       
  4010         value: caption,
       
  4011         onChange: onCaptionChange,
       
  4012         inlineToolbar: true
       
  4013       }));
       
  4014     }
       
  4015   }], [{
       
  4016     key: "getDerivedStateFromProps",
       
  4017     value: function getDerivedStateFromProps(nextProps, state) {
       
  4018       if (!nextProps.isSelected && state.interactive) {
       
  4019         // We only want to change this when the block is not selected, because changing it when
       
  4020         // the block becomes selected makes the overlap disappear too early. Hiding the overlay
       
  4021         // happens on mouseup when the overlay is clicked.
       
  4022         return {
       
  4023           interactive: false
       
  4024         };
       
  4025       }
       
  4026 
       
  4027       return null;
       
  4028     }
       
  4029   }]);
       
  4030 
       
  4031   return EmbedPreview;
       
  4032 }(external_this_wp_element_["Component"]);
       
  4033 
       
  4034 /* harmony default export */ var embed_preview = (embed_preview_EmbedPreview);
       
  4035 
       
  4036 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/edit.js
       
  4037 
       
  4038 
       
  4039 
       
  4040 
       
  4041 
       
  4042 
       
  4043 
       
  4044 
       
  4045 /**
       
  4046  * Internal dependencies
       
  4047  */
       
  4048 
       
  4049 
       
  4050 
       
  4051 
       
  4052 
       
  4053 /**
       
  4054  * External dependencies
       
  4055  */
       
  4056 
       
  4057 
       
  4058 /**
       
  4059  * WordPress dependencies
       
  4060  */
       
  4061 
       
  4062 
       
  4063 
       
  4064 function getEmbedEditComponent(title, icon) {
       
  4065   var responsive = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
       
  4066   return (
       
  4067     /*#__PURE__*/
       
  4068     function (_Component) {
       
  4069       Object(inherits["a" /* default */])(_class, _Component);
       
  4070 
       
  4071       function _class() {
       
  4072         var _this;
       
  4073 
       
  4074         Object(classCallCheck["a" /* default */])(this, _class);
       
  4075 
       
  4076         _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(_class).apply(this, arguments));
       
  4077         _this.switchBackToURLInput = _this.switchBackToURLInput.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  4078         _this.setUrl = _this.setUrl.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  4079         _this.getAttributesFromPreview = _this.getAttributesFromPreview.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  4080         _this.setAttributesFromPreview = _this.setAttributesFromPreview.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  4081         _this.getResponsiveHelp = _this.getResponsiveHelp.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  4082         _this.toggleResponsive = _this.toggleResponsive.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  4083         _this.handleIncomingPreview = _this.handleIncomingPreview.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  4084         _this.state = {
       
  4085           editingURL: false,
       
  4086           url: _this.props.attributes.url
       
  4087         };
       
  4088 
       
  4089         if (_this.props.preview) {
       
  4090           _this.handleIncomingPreview();
       
  4091         }
       
  4092 
       
  4093         return _this;
       
  4094       }
       
  4095 
       
  4096       Object(createClass["a" /* default */])(_class, [{
       
  4097         key: "handleIncomingPreview",
       
  4098         value: function handleIncomingPreview() {
       
  4099           var allowResponsive = this.props.attributes.allowResponsive;
       
  4100           this.setAttributesFromPreview();
       
  4101           var upgradedBlock = Object(util["a" /* createUpgradedEmbedBlock */])(this.props, this.getAttributesFromPreview(this.props.preview, allowResponsive));
       
  4102 
       
  4103           if (upgradedBlock) {
       
  4104             this.props.onReplace(upgradedBlock);
       
  4105           }
       
  4106         }
       
  4107       }, {
       
  4108         key: "componentDidUpdate",
       
  4109         value: function componentDidUpdate(prevProps) {
       
  4110           var hasPreview = undefined !== this.props.preview;
       
  4111           var hadPreview = undefined !== prevProps.preview;
       
  4112           var previewChanged = prevProps.preview && this.props.preview && this.props.preview.html !== prevProps.preview.html;
       
  4113           var switchedPreview = previewChanged || hasPreview && !hadPreview;
       
  4114           var switchedURL = this.props.attributes.url !== prevProps.attributes.url;
       
  4115 
       
  4116           if (switchedPreview || switchedURL) {
       
  4117             if (this.props.cannotEmbed) {
       
  4118               // We either have a new preview or a new URL, but we can't embed it.
       
  4119               if (!this.props.fetching) {
       
  4120                 // If we're not fetching the preview, then we know it can't be embedded, so try
       
  4121                 // removing any trailing slash, and resubmit.
       
  4122                 this.resubmitWithoutTrailingSlash();
       
  4123               }
       
  4124 
       
  4125               return;
       
  4126             }
       
  4127 
       
  4128             this.handleIncomingPreview();
       
  4129           }
       
  4130         }
       
  4131       }, {
       
  4132         key: "resubmitWithoutTrailingSlash",
       
  4133         value: function resubmitWithoutTrailingSlash() {
       
  4134           this.setState(function (prevState) {
       
  4135             return {
       
  4136               url: prevState.url.replace(/\/$/, '')
       
  4137             };
       
  4138           }, this.setUrl);
       
  4139         }
       
  4140       }, {
       
  4141         key: "setUrl",
       
  4142         value: function setUrl(event) {
       
  4143           if (event) {
       
  4144             event.preventDefault();
       
  4145           }
       
  4146 
       
  4147           var url = this.state.url;
       
  4148           var setAttributes = this.props.setAttributes;
       
  4149           this.setState({
       
  4150             editingURL: false
       
  4151           });
       
  4152           setAttributes({
       
  4153             url: url
       
  4154           });
       
  4155         }
       
  4156         /***
       
  4157          * Gets block attributes based on the preview and responsive state.
       
  4158          *
       
  4159          * @param {string} preview The preview data.
       
  4160          * @param {boolean} allowResponsive Apply responsive classes to fixed size content.
       
  4161          * @return {Object} Attributes and values.
       
  4162          */
       
  4163 
       
  4164       }, {
       
  4165         key: "getAttributesFromPreview",
       
  4166         value: function getAttributesFromPreview(preview) {
       
  4167           var allowResponsive = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
       
  4168           var attributes = {}; // Some plugins only return HTML with no type info, so default this to 'rich'.
       
  4169 
       
  4170           var _preview$type = preview.type,
       
  4171               type = _preview$type === void 0 ? 'rich' : _preview$type; // If we got a provider name from the API, use it for the slug, otherwise we use the title,
       
  4172           // because not all embed code gives us a provider name.
       
  4173 
       
  4174           var html = preview.html,
       
  4175               providerName = preview.provider_name;
       
  4176           var providerNameSlug = Object(external_lodash_["kebabCase"])(Object(external_lodash_["toLower"])('' !== providerName ? providerName : title));
       
  4177 
       
  4178           if (Object(util["e" /* isFromWordPress */])(html)) {
       
  4179             type = 'wp-embed';
       
  4180           }
       
  4181 
       
  4182           if (html || 'photo' === type) {
       
  4183             attributes.type = type;
       
  4184             attributes.providerNameSlug = providerNameSlug;
       
  4185           }
       
  4186 
       
  4187           attributes.className = Object(util["c" /* getClassNames */])(html, this.props.attributes.className, responsive && allowResponsive);
       
  4188           return attributes;
       
  4189         }
       
  4190         /***
       
  4191          * Sets block attributes based on the preview data.
       
  4192          */
       
  4193 
       
  4194       }, {
       
  4195         key: "setAttributesFromPreview",
       
  4196         value: function setAttributesFromPreview() {
       
  4197           var _this$props = this.props,
       
  4198               setAttributes = _this$props.setAttributes,
       
  4199               preview = _this$props.preview;
       
  4200           var allowResponsive = this.props.attributes.allowResponsive;
       
  4201           setAttributes(this.getAttributesFromPreview(preview, allowResponsive));
       
  4202         }
       
  4203       }, {
       
  4204         key: "switchBackToURLInput",
       
  4205         value: function switchBackToURLInput() {
       
  4206           this.setState({
       
  4207             editingURL: true
       
  4208           });
       
  4209         }
       
  4210       }, {
       
  4211         key: "getResponsiveHelp",
       
  4212         value: function getResponsiveHelp(checked) {
       
  4213           return checked ? Object(external_this_wp_i18n_["__"])('This embed will preserve its aspect ratio when the browser is resized.') : Object(external_this_wp_i18n_["__"])('This embed may not preserve its aspect ratio when the browser is resized.');
       
  4214         }
       
  4215       }, {
       
  4216         key: "toggleResponsive",
       
  4217         value: function toggleResponsive() {
       
  4218           var _this$props$attribute = this.props.attributes,
       
  4219               allowResponsive = _this$props$attribute.allowResponsive,
       
  4220               className = _this$props$attribute.className;
       
  4221           var html = this.props.preview.html;
       
  4222           var newAllowResponsive = !allowResponsive;
       
  4223           this.props.setAttributes({
       
  4224             allowResponsive: newAllowResponsive,
       
  4225             className: Object(util["c" /* getClassNames */])(html, className, responsive && newAllowResponsive)
       
  4226           });
       
  4227         }
       
  4228       }, {
       
  4229         key: "render",
       
  4230         value: function render() {
       
  4231           var _this2 = this;
       
  4232 
       
  4233           var _this$state = this.state,
       
  4234               url = _this$state.url,
       
  4235               editingURL = _this$state.editingURL;
       
  4236           var _this$props$attribute2 = this.props.attributes,
       
  4237               caption = _this$props$attribute2.caption,
       
  4238               type = _this$props$attribute2.type,
       
  4239               allowResponsive = _this$props$attribute2.allowResponsive;
       
  4240           var _this$props2 = this.props,
       
  4241               fetching = _this$props2.fetching,
       
  4242               setAttributes = _this$props2.setAttributes,
       
  4243               isSelected = _this$props2.isSelected,
       
  4244               className = _this$props2.className,
       
  4245               preview = _this$props2.preview,
       
  4246               cannotEmbed = _this$props2.cannotEmbed,
       
  4247               themeSupportsResponsive = _this$props2.themeSupportsResponsive,
       
  4248               tryAgain = _this$props2.tryAgain;
       
  4249 
       
  4250           if (fetching) {
       
  4251             return Object(external_this_wp_element_["createElement"])(embed_loading, null);
       
  4252           } // translators: %s: type of embed e.g: "YouTube", "Twitter", etc. "Embed" is used when no specific type exists
       
  4253 
       
  4254 
       
  4255           var label = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('%s URL'), title); // No preview, or we can't embed the current URL, or we've clicked the edit button.
       
  4256 
       
  4257           if (!preview || cannotEmbed || editingURL) {
       
  4258             return Object(external_this_wp_element_["createElement"])(embed_placeholder, {
       
  4259               icon: icon,
       
  4260               label: label,
       
  4261               onSubmit: this.setUrl,
       
  4262               value: url,
       
  4263               cannotEmbed: cannotEmbed,
       
  4264               onChange: function onChange(event) {
       
  4265                 return _this2.setState({
       
  4266                   url: event.target.value
       
  4267                 });
       
  4268               },
       
  4269               fallback: function fallback() {
       
  4270                 return Object(util["b" /* fallback */])(url, _this2.props.onReplace);
       
  4271               },
       
  4272               tryAgain: tryAgain
       
  4273             });
       
  4274           }
       
  4275 
       
  4276           return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(embed_controls, {
       
  4277             showEditButton: preview && !cannotEmbed,
       
  4278             themeSupportsResponsive: themeSupportsResponsive,
       
  4279             blockSupportsResponsive: responsive,
       
  4280             allowResponsive: allowResponsive,
       
  4281             getResponsiveHelp: this.getResponsiveHelp,
       
  4282             toggleResponsive: this.toggleResponsive,
       
  4283             switchBackToURLInput: this.switchBackToURLInput
       
  4284           }), Object(external_this_wp_element_["createElement"])(embed_preview, {
       
  4285             preview: preview,
       
  4286             className: className,
       
  4287             url: url,
       
  4288             type: type,
       
  4289             caption: caption,
       
  4290             onCaptionChange: function onCaptionChange(value) {
       
  4291               return setAttributes({
       
  4292                 caption: value
       
  4293               });
       
  4294             },
       
  4295             isSelected: isSelected,
       
  4296             icon: icon,
       
  4297             label: label
       
  4298           }));
       
  4299         }
       
  4300       }]);
       
  4301 
       
  4302       return _class;
       
  4303     }(external_this_wp_element_["Component"])
       
  4304   );
       
  4305 }
       
  4306 
       
  4307 // EXTERNAL MODULE: external {"this":["wp","data"]}
       
  4308 var external_this_wp_data_ = __webpack_require__(5);
       
  4309 
       
  4310 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/settings.js
       
  4311 
       
  4312 
       
  4313 
       
  4314 
       
  4315 /**
       
  4316  * Internal dependencies
       
  4317  */
       
  4318 
       
  4319 /**
       
  4320  * External dependencies
       
  4321  */
       
  4322 
       
  4323 
       
  4324 /**
       
  4325  * WordPress dependencies
       
  4326  */
       
  4327 
       
  4328 
       
  4329 
       
  4330 
       
  4331 
       
  4332 var embedAttributes = {
       
  4333   url: {
       
  4334     type: 'string'
       
  4335   },
       
  4336   caption: {
       
  4337     type: 'string',
       
  4338     source: 'html',
       
  4339     selector: 'figcaption'
       
  4340   },
       
  4341   type: {
       
  4342     type: 'string'
       
  4343   },
       
  4344   providerNameSlug: {
       
  4345     type: 'string'
       
  4346   },
       
  4347   allowResponsive: {
       
  4348     type: 'boolean',
       
  4349     default: true
       
  4350   }
       
  4351 };
       
  4352 function getEmbedBlockSettings(_ref) {
       
  4353   var title = _ref.title,
       
  4354       description = _ref.description,
       
  4355       icon = _ref.icon,
       
  4356       _ref$category = _ref.category,
       
  4357       category = _ref$category === void 0 ? 'embed' : _ref$category,
       
  4358       transforms = _ref.transforms,
       
  4359       _ref$keywords = _ref.keywords,
       
  4360       keywords = _ref$keywords === void 0 ? [] : _ref$keywords,
       
  4361       _ref$supports = _ref.supports,
       
  4362       supports = _ref$supports === void 0 ? {} : _ref$supports,
       
  4363       _ref$responsive = _ref.responsive,
       
  4364       responsive = _ref$responsive === void 0 ? true : _ref$responsive;
       
  4365 
       
  4366   var blockDescription = description || Object(external_this_wp_i18n_["__"])('Add a block that displays content pulled from other sites, like Twitter, Instagram or YouTube.');
       
  4367 
       
  4368   var edit = getEmbedEditComponent(title, icon, responsive);
       
  4369   return {
       
  4370     title: title,
       
  4371     description: blockDescription,
       
  4372     icon: icon,
       
  4373     category: category,
       
  4374     keywords: keywords,
       
  4375     attributes: embedAttributes,
       
  4376     supports: Object(objectSpread["a" /* default */])({
       
  4377       align: true
       
  4378     }, supports),
       
  4379     transforms: transforms,
       
  4380     edit: Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select, ownProps) {
       
  4381       var url = ownProps.attributes.url;
       
  4382       var core = select('core');
       
  4383       var getEmbedPreview = core.getEmbedPreview,
       
  4384           isPreviewEmbedFallback = core.isPreviewEmbedFallback,
       
  4385           isRequestingEmbedPreview = core.isRequestingEmbedPreview,
       
  4386           getThemeSupports = core.getThemeSupports;
       
  4387       var preview = undefined !== url && getEmbedPreview(url);
       
  4388       var previewIsFallback = undefined !== url && isPreviewEmbedFallback(url);
       
  4389       var fetching = undefined !== url && isRequestingEmbedPreview(url);
       
  4390       var themeSupports = getThemeSupports(); // The external oEmbed provider does not exist. We got no type info and no html.
       
  4391 
       
  4392       var badEmbedProvider = !!preview && undefined === preview.type && false === preview.html; // Some WordPress URLs that can't be embedded will cause the API to return
       
  4393       // a valid JSON response with no HTML and `data.status` set to 404, rather
       
  4394       // than generating a fallback response as other embeds do.
       
  4395 
       
  4396       var wordpressCantEmbed = !!preview && preview.data && preview.data.status === 404;
       
  4397       var validPreview = !!preview && !badEmbedProvider && !wordpressCantEmbed;
       
  4398       var cannotEmbed = undefined !== url && (!validPreview || previewIsFallback);
       
  4399       return {
       
  4400         preview: validPreview ? preview : undefined,
       
  4401         fetching: fetching,
       
  4402         themeSupportsResponsive: themeSupports['responsive-embeds'],
       
  4403         cannotEmbed: cannotEmbed
       
  4404       };
       
  4405     }), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps) {
       
  4406       var url = ownProps.attributes.url;
       
  4407       var coreData = dispatch('core/data');
       
  4408 
       
  4409       var tryAgain = function tryAgain() {
       
  4410         coreData.invalidateResolution('core', 'getEmbedPreview', [url]);
       
  4411       };
       
  4412 
       
  4413       return {
       
  4414         tryAgain: tryAgain
       
  4415       };
       
  4416     }))(edit),
       
  4417     save: function save(_ref2) {
       
  4418       var _classnames;
       
  4419 
       
  4420       var attributes = _ref2.attributes;
       
  4421       var url = attributes.url,
       
  4422           caption = attributes.caption,
       
  4423           type = attributes.type,
       
  4424           providerNameSlug = attributes.providerNameSlug;
       
  4425 
       
  4426       if (!url) {
       
  4427         return null;
       
  4428       }
       
  4429 
       
  4430       var embedClassName = dedupe_default()('wp-block-embed', (_classnames = {}, Object(defineProperty["a" /* default */])(_classnames, "is-type-".concat(type), type), Object(defineProperty["a" /* default */])(_classnames, "is-provider-".concat(providerNameSlug), providerNameSlug), _classnames));
       
  4431       return Object(external_this_wp_element_["createElement"])("figure", {
       
  4432         className: embedClassName
       
  4433       }, Object(external_this_wp_element_["createElement"])("div", {
       
  4434         className: "wp-block-embed__wrapper"
       
  4435       }, "\n".concat(url, "\n")
       
  4436       /* URL needs to be on its own line. */
       
  4437       ), !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  4438         tagName: "figcaption",
       
  4439         value: caption
       
  4440       }));
       
  4441     },
       
  4442     deprecated: [{
       
  4443       attributes: embedAttributes,
       
  4444       save: function save(_ref3) {
       
  4445         var _classnames2;
       
  4446 
       
  4447         var attributes = _ref3.attributes;
       
  4448         var url = attributes.url,
       
  4449             caption = attributes.caption,
       
  4450             type = attributes.type,
       
  4451             providerNameSlug = attributes.providerNameSlug;
       
  4452 
       
  4453         if (!url) {
       
  4454           return null;
       
  4455         }
       
  4456 
       
  4457         var embedClassName = dedupe_default()('wp-block-embed', (_classnames2 = {}, Object(defineProperty["a" /* default */])(_classnames2, "is-type-".concat(type), type), Object(defineProperty["a" /* default */])(_classnames2, "is-provider-".concat(providerNameSlug), providerNameSlug), _classnames2));
       
  4458         return Object(external_this_wp_element_["createElement"])("figure", {
       
  4459           className: embedClassName
       
  4460         }, "\n".concat(url, "\n")
       
  4461         /* URL needs to be on its own line. */
       
  4462         , !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  4463           tagName: "figcaption",
       
  4464           value: caption
       
  4465         }));
       
  4466       }
       
  4467     }]
       
  4468   };
       
  4469 }
       
  4470 
       
  4471 // EXTERNAL MODULE: external {"this":["wp","blocks"]}
       
  4472 var external_this_wp_blocks_ = __webpack_require__(14);
       
  4473 
       
  4474 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/index.js
       
  4475 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return embed_name; });
       
  4476 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
  4477 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "common", function() { return common; });
       
  4478 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "others", function() { return others; });
       
  4479 
       
  4480 
       
  4481 /**
       
  4482  * Internal dependencies
       
  4483  */
       
  4484 
       
  4485 
       
  4486 
       
  4487 /**
       
  4488  * WordPress dependencies
       
  4489  */
       
  4490 
       
  4491 
       
  4492 
       
  4493 var embed_name = 'core/embed';
       
  4494 var settings = getEmbedBlockSettings({
       
  4495   title: Object(external_this_wp_i18n_["_x"])('Embed', 'block title'),
       
  4496   description: Object(external_this_wp_i18n_["__"])('Embed videos, images, tweets, audio, and other content from external sources.'),
       
  4497   icon: icons["c" /* embedContentIcon */],
       
  4498   // Unknown embeds should not be responsive by default.
       
  4499   responsive: false,
       
  4500   transforms: {
       
  4501     from: [{
       
  4502       type: 'raw',
       
  4503       isMatch: function isMatch(node) {
       
  4504         return node.nodeName === 'P' && /^\s*(https?:\/\/\S+)\s*$/i.test(node.textContent);
       
  4505       },
       
  4506       transform: function transform(node) {
       
  4507         return Object(external_this_wp_blocks_["createBlock"])('core/embed', {
       
  4508           url: node.textContent.trim()
       
  4509         });
       
  4510       }
       
  4511     }]
       
  4512   }
       
  4513 });
       
  4514 var common = core_embeds["a" /* common */].map(function (embedDefinition) {
       
  4515   return Object(objectSpread["a" /* default */])({}, embedDefinition, {
       
  4516     settings: getEmbedBlockSettings(embedDefinition.settings)
       
  4517   });
       
  4518 });
       
  4519 var others = core_embeds["b" /* others */].map(function (embedDefinition) {
       
  4520   return Object(objectSpread["a" /* default */])({}, embedDefinition, {
       
  4521     settings: getEmbedBlockSettings(embedDefinition.settings)
       
  4522   });
       
  4523 });
       
  4524 
       
  4525 
 27390 
  4526 /***/ }),
 27391 /***/ }),
  4527 /* 111 */,
 27392 
  4528 /* 112 */,
 27393 /***/ 89:
  4529 /* 113 */,
 27394 /***/ (function(module, exports) {
  4530 /* 114 */,
 27395 
  4531 /* 115 */,
 27396 (function() { module.exports = this["wp"]["escapeHtml"]; }());
  4532 /* 116 */,
       
  4533 /* 117 */
       
  4534 /***/ (function(module, exports, __webpack_require__) {
       
  4535 
       
  4536 /* WEBPACK VAR INJECTION */(function(module, global) {var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.4.1 by @mathias */
       
  4537 ;(function(root) {
       
  4538 
       
  4539 	/** Detect free variables */
       
  4540 	var freeExports =  true && exports &&
       
  4541 		!exports.nodeType && exports;
       
  4542 	var freeModule =  true && module &&
       
  4543 		!module.nodeType && module;
       
  4544 	var freeGlobal = typeof global == 'object' && global;
       
  4545 	if (
       
  4546 		freeGlobal.global === freeGlobal ||
       
  4547 		freeGlobal.window === freeGlobal ||
       
  4548 		freeGlobal.self === freeGlobal
       
  4549 	) {
       
  4550 		root = freeGlobal;
       
  4551 	}
       
  4552 
       
  4553 	/**
       
  4554 	 * The `punycode` object.
       
  4555 	 * @name punycode
       
  4556 	 * @type Object
       
  4557 	 */
       
  4558 	var punycode,
       
  4559 
       
  4560 	/** Highest positive signed 32-bit float value */
       
  4561 	maxInt = 2147483647, // aka. 0x7FFFFFFF or 2^31-1
       
  4562 
       
  4563 	/** Bootstring parameters */
       
  4564 	base = 36,
       
  4565 	tMin = 1,
       
  4566 	tMax = 26,
       
  4567 	skew = 38,
       
  4568 	damp = 700,
       
  4569 	initialBias = 72,
       
  4570 	initialN = 128, // 0x80
       
  4571 	delimiter = '-', // '\x2D'
       
  4572 
       
  4573 	/** Regular expressions */
       
  4574 	regexPunycode = /^xn--/,
       
  4575 	regexNonASCII = /[^\x20-\x7E]/, // unprintable ASCII chars + non-ASCII chars
       
  4576 	regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g, // RFC 3490 separators
       
  4577 
       
  4578 	/** Error messages */
       
  4579 	errors = {
       
  4580 		'overflow': 'Overflow: input needs wider integers to process',
       
  4581 		'not-basic': 'Illegal input >= 0x80 (not a basic code point)',
       
  4582 		'invalid-input': 'Invalid input'
       
  4583 	},
       
  4584 
       
  4585 	/** Convenience shortcuts */
       
  4586 	baseMinusTMin = base - tMin,
       
  4587 	floor = Math.floor,
       
  4588 	stringFromCharCode = String.fromCharCode,
       
  4589 
       
  4590 	/** Temporary variable */
       
  4591 	key;
       
  4592 
       
  4593 	/*--------------------------------------------------------------------------*/
       
  4594 
       
  4595 	/**
       
  4596 	 * A generic error utility function.
       
  4597 	 * @private
       
  4598 	 * @param {String} type The error type.
       
  4599 	 * @returns {Error} Throws a `RangeError` with the applicable error message.
       
  4600 	 */
       
  4601 	function error(type) {
       
  4602 		throw new RangeError(errors[type]);
       
  4603 	}
       
  4604 
       
  4605 	/**
       
  4606 	 * A generic `Array#map` utility function.
       
  4607 	 * @private
       
  4608 	 * @param {Array} array The array to iterate over.
       
  4609 	 * @param {Function} callback The function that gets called for every array
       
  4610 	 * item.
       
  4611 	 * @returns {Array} A new array of values returned by the callback function.
       
  4612 	 */
       
  4613 	function map(array, fn) {
       
  4614 		var length = array.length;
       
  4615 		var result = [];
       
  4616 		while (length--) {
       
  4617 			result[length] = fn(array[length]);
       
  4618 		}
       
  4619 		return result;
       
  4620 	}
       
  4621 
       
  4622 	/**
       
  4623 	 * A simple `Array#map`-like wrapper to work with domain name strings or email
       
  4624 	 * addresses.
       
  4625 	 * @private
       
  4626 	 * @param {String} domain The domain name or email address.
       
  4627 	 * @param {Function} callback The function that gets called for every
       
  4628 	 * character.
       
  4629 	 * @returns {Array} A new string of characters returned by the callback
       
  4630 	 * function.
       
  4631 	 */
       
  4632 	function mapDomain(string, fn) {
       
  4633 		var parts = string.split('@');
       
  4634 		var result = '';
       
  4635 		if (parts.length > 1) {
       
  4636 			// In email addresses, only the domain name should be punycoded. Leave
       
  4637 			// the local part (i.e. everything up to `@`) intact.
       
  4638 			result = parts[0] + '@';
       
  4639 			string = parts[1];
       
  4640 		}
       
  4641 		// Avoid `split(regex)` for IE8 compatibility. See #17.
       
  4642 		string = string.replace(regexSeparators, '\x2E');
       
  4643 		var labels = string.split('.');
       
  4644 		var encoded = map(labels, fn).join('.');
       
  4645 		return result + encoded;
       
  4646 	}
       
  4647 
       
  4648 	/**
       
  4649 	 * Creates an array containing the numeric code points of each Unicode
       
  4650 	 * character in the string. While JavaScript uses UCS-2 internally,
       
  4651 	 * this function will convert a pair of surrogate halves (each of which
       
  4652 	 * UCS-2 exposes as separate characters) into a single code point,
       
  4653 	 * matching UTF-16.
       
  4654 	 * @see `punycode.ucs2.encode`
       
  4655 	 * @see <https://mathiasbynens.be/notes/javascript-encoding>
       
  4656 	 * @memberOf punycode.ucs2
       
  4657 	 * @name decode
       
  4658 	 * @param {String} string The Unicode input string (UCS-2).
       
  4659 	 * @returns {Array} The new array of code points.
       
  4660 	 */
       
  4661 	function ucs2decode(string) {
       
  4662 		var output = [],
       
  4663 		    counter = 0,
       
  4664 		    length = string.length,
       
  4665 		    value,
       
  4666 		    extra;
       
  4667 		while (counter < length) {
       
  4668 			value = string.charCodeAt(counter++);
       
  4669 			if (value >= 0xD800 && value <= 0xDBFF && counter < length) {
       
  4670 				// high surrogate, and there is a next character
       
  4671 				extra = string.charCodeAt(counter++);
       
  4672 				if ((extra & 0xFC00) == 0xDC00) { // low surrogate
       
  4673 					output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);
       
  4674 				} else {
       
  4675 					// unmatched surrogate; only append this code unit, in case the next
       
  4676 					// code unit is the high surrogate of a surrogate pair
       
  4677 					output.push(value);
       
  4678 					counter--;
       
  4679 				}
       
  4680 			} else {
       
  4681 				output.push(value);
       
  4682 			}
       
  4683 		}
       
  4684 		return output;
       
  4685 	}
       
  4686 
       
  4687 	/**
       
  4688 	 * Creates a string based on an array of numeric code points.
       
  4689 	 * @see `punycode.ucs2.decode`
       
  4690 	 * @memberOf punycode.ucs2
       
  4691 	 * @name encode
       
  4692 	 * @param {Array} codePoints The array of numeric code points.
       
  4693 	 * @returns {String} The new Unicode string (UCS-2).
       
  4694 	 */
       
  4695 	function ucs2encode(array) {
       
  4696 		return map(array, function(value) {
       
  4697 			var output = '';
       
  4698 			if (value > 0xFFFF) {
       
  4699 				value -= 0x10000;
       
  4700 				output += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800);
       
  4701 				value = 0xDC00 | value & 0x3FF;
       
  4702 			}
       
  4703 			output += stringFromCharCode(value);
       
  4704 			return output;
       
  4705 		}).join('');
       
  4706 	}
       
  4707 
       
  4708 	/**
       
  4709 	 * Converts a basic code point into a digit/integer.
       
  4710 	 * @see `digitToBasic()`
       
  4711 	 * @private
       
  4712 	 * @param {Number} codePoint The basic numeric code point value.
       
  4713 	 * @returns {Number} The numeric value of a basic code point (for use in
       
  4714 	 * representing integers) in the range `0` to `base - 1`, or `base` if
       
  4715 	 * the code point does not represent a value.
       
  4716 	 */
       
  4717 	function basicToDigit(codePoint) {
       
  4718 		if (codePoint - 48 < 10) {
       
  4719 			return codePoint - 22;
       
  4720 		}
       
  4721 		if (codePoint - 65 < 26) {
       
  4722 			return codePoint - 65;
       
  4723 		}
       
  4724 		if (codePoint - 97 < 26) {
       
  4725 			return codePoint - 97;
       
  4726 		}
       
  4727 		return base;
       
  4728 	}
       
  4729 
       
  4730 	/**
       
  4731 	 * Converts a digit/integer into a basic code point.
       
  4732 	 * @see `basicToDigit()`
       
  4733 	 * @private
       
  4734 	 * @param {Number} digit The numeric value of a basic code point.
       
  4735 	 * @returns {Number} The basic code point whose value (when used for
       
  4736 	 * representing integers) is `digit`, which needs to be in the range
       
  4737 	 * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is
       
  4738 	 * used; else, the lowercase form is used. The behavior is undefined
       
  4739 	 * if `flag` is non-zero and `digit` has no uppercase form.
       
  4740 	 */
       
  4741 	function digitToBasic(digit, flag) {
       
  4742 		//  0..25 map to ASCII a..z or A..Z
       
  4743 		// 26..35 map to ASCII 0..9
       
  4744 		return digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);
       
  4745 	}
       
  4746 
       
  4747 	/**
       
  4748 	 * Bias adaptation function as per section 3.4 of RFC 3492.
       
  4749 	 * https://tools.ietf.org/html/rfc3492#section-3.4
       
  4750 	 * @private
       
  4751 	 */
       
  4752 	function adapt(delta, numPoints, firstTime) {
       
  4753 		var k = 0;
       
  4754 		delta = firstTime ? floor(delta / damp) : delta >> 1;
       
  4755 		delta += floor(delta / numPoints);
       
  4756 		for (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {
       
  4757 			delta = floor(delta / baseMinusTMin);
       
  4758 		}
       
  4759 		return floor(k + (baseMinusTMin + 1) * delta / (delta + skew));
       
  4760 	}
       
  4761 
       
  4762 	/**
       
  4763 	 * Converts a Punycode string of ASCII-only symbols to a string of Unicode
       
  4764 	 * symbols.
       
  4765 	 * @memberOf punycode
       
  4766 	 * @param {String} input The Punycode string of ASCII-only symbols.
       
  4767 	 * @returns {String} The resulting string of Unicode symbols.
       
  4768 	 */
       
  4769 	function decode(input) {
       
  4770 		// Don't use UCS-2
       
  4771 		var output = [],
       
  4772 		    inputLength = input.length,
       
  4773 		    out,
       
  4774 		    i = 0,
       
  4775 		    n = initialN,
       
  4776 		    bias = initialBias,
       
  4777 		    basic,
       
  4778 		    j,
       
  4779 		    index,
       
  4780 		    oldi,
       
  4781 		    w,
       
  4782 		    k,
       
  4783 		    digit,
       
  4784 		    t,
       
  4785 		    /** Cached calculation results */
       
  4786 		    baseMinusT;
       
  4787 
       
  4788 		// Handle the basic code points: let `basic` be the number of input code
       
  4789 		// points before the last delimiter, or `0` if there is none, then copy
       
  4790 		// the first basic code points to the output.
       
  4791 
       
  4792 		basic = input.lastIndexOf(delimiter);
       
  4793 		if (basic < 0) {
       
  4794 			basic = 0;
       
  4795 		}
       
  4796 
       
  4797 		for (j = 0; j < basic; ++j) {
       
  4798 			// if it's not a basic code point
       
  4799 			if (input.charCodeAt(j) >= 0x80) {
       
  4800 				error('not-basic');
       
  4801 			}
       
  4802 			output.push(input.charCodeAt(j));
       
  4803 		}
       
  4804 
       
  4805 		// Main decoding loop: start just after the last delimiter if any basic code
       
  4806 		// points were copied; start at the beginning otherwise.
       
  4807 
       
  4808 		for (index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {
       
  4809 
       
  4810 			// `index` is the index of the next character to be consumed.
       
  4811 			// Decode a generalized variable-length integer into `delta`,
       
  4812 			// which gets added to `i`. The overflow checking is easier
       
  4813 			// if we increase `i` as we go, then subtract off its starting
       
  4814 			// value at the end to obtain `delta`.
       
  4815 			for (oldi = i, w = 1, k = base; /* no condition */; k += base) {
       
  4816 
       
  4817 				if (index >= inputLength) {
       
  4818 					error('invalid-input');
       
  4819 				}
       
  4820 
       
  4821 				digit = basicToDigit(input.charCodeAt(index++));
       
  4822 
       
  4823 				if (digit >= base || digit > floor((maxInt - i) / w)) {
       
  4824 					error('overflow');
       
  4825 				}
       
  4826 
       
  4827 				i += digit * w;
       
  4828 				t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);
       
  4829 
       
  4830 				if (digit < t) {
       
  4831 					break;
       
  4832 				}
       
  4833 
       
  4834 				baseMinusT = base - t;
       
  4835 				if (w > floor(maxInt / baseMinusT)) {
       
  4836 					error('overflow');
       
  4837 				}
       
  4838 
       
  4839 				w *= baseMinusT;
       
  4840 
       
  4841 			}
       
  4842 
       
  4843 			out = output.length + 1;
       
  4844 			bias = adapt(i - oldi, out, oldi == 0);
       
  4845 
       
  4846 			// `i` was supposed to wrap around from `out` to `0`,
       
  4847 			// incrementing `n` each time, so we'll fix that now:
       
  4848 			if (floor(i / out) > maxInt - n) {
       
  4849 				error('overflow');
       
  4850 			}
       
  4851 
       
  4852 			n += floor(i / out);
       
  4853 			i %= out;
       
  4854 
       
  4855 			// Insert `n` at position `i` of the output
       
  4856 			output.splice(i++, 0, n);
       
  4857 
       
  4858 		}
       
  4859 
       
  4860 		return ucs2encode(output);
       
  4861 	}
       
  4862 
       
  4863 	/**
       
  4864 	 * Converts a string of Unicode symbols (e.g. a domain name label) to a
       
  4865 	 * Punycode string of ASCII-only symbols.
       
  4866 	 * @memberOf punycode
       
  4867 	 * @param {String} input The string of Unicode symbols.
       
  4868 	 * @returns {String} The resulting Punycode string of ASCII-only symbols.
       
  4869 	 */
       
  4870 	function encode(input) {
       
  4871 		var n,
       
  4872 		    delta,
       
  4873 		    handledCPCount,
       
  4874 		    basicLength,
       
  4875 		    bias,
       
  4876 		    j,
       
  4877 		    m,
       
  4878 		    q,
       
  4879 		    k,
       
  4880 		    t,
       
  4881 		    currentValue,
       
  4882 		    output = [],
       
  4883 		    /** `inputLength` will hold the number of code points in `input`. */
       
  4884 		    inputLength,
       
  4885 		    /** Cached calculation results */
       
  4886 		    handledCPCountPlusOne,
       
  4887 		    baseMinusT,
       
  4888 		    qMinusT;
       
  4889 
       
  4890 		// Convert the input in UCS-2 to Unicode
       
  4891 		input = ucs2decode(input);
       
  4892 
       
  4893 		// Cache the length
       
  4894 		inputLength = input.length;
       
  4895 
       
  4896 		// Initialize the state
       
  4897 		n = initialN;
       
  4898 		delta = 0;
       
  4899 		bias = initialBias;
       
  4900 
       
  4901 		// Handle the basic code points
       
  4902 		for (j = 0; j < inputLength; ++j) {
       
  4903 			currentValue = input[j];
       
  4904 			if (currentValue < 0x80) {
       
  4905 				output.push(stringFromCharCode(currentValue));
       
  4906 			}
       
  4907 		}
       
  4908 
       
  4909 		handledCPCount = basicLength = output.length;
       
  4910 
       
  4911 		// `handledCPCount` is the number of code points that have been handled;
       
  4912 		// `basicLength` is the number of basic code points.
       
  4913 
       
  4914 		// Finish the basic string - if it is not empty - with a delimiter
       
  4915 		if (basicLength) {
       
  4916 			output.push(delimiter);
       
  4917 		}
       
  4918 
       
  4919 		// Main encoding loop:
       
  4920 		while (handledCPCount < inputLength) {
       
  4921 
       
  4922 			// All non-basic code points < n have been handled already. Find the next
       
  4923 			// larger one:
       
  4924 			for (m = maxInt, j = 0; j < inputLength; ++j) {
       
  4925 				currentValue = input[j];
       
  4926 				if (currentValue >= n && currentValue < m) {
       
  4927 					m = currentValue;
       
  4928 				}
       
  4929 			}
       
  4930 
       
  4931 			// Increase `delta` enough to advance the decoder's <n,i> state to <m,0>,
       
  4932 			// but guard against overflow
       
  4933 			handledCPCountPlusOne = handledCPCount + 1;
       
  4934 			if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {
       
  4935 				error('overflow');
       
  4936 			}
       
  4937 
       
  4938 			delta += (m - n) * handledCPCountPlusOne;
       
  4939 			n = m;
       
  4940 
       
  4941 			for (j = 0; j < inputLength; ++j) {
       
  4942 				currentValue = input[j];
       
  4943 
       
  4944 				if (currentValue < n && ++delta > maxInt) {
       
  4945 					error('overflow');
       
  4946 				}
       
  4947 
       
  4948 				if (currentValue == n) {
       
  4949 					// Represent delta as a generalized variable-length integer
       
  4950 					for (q = delta, k = base; /* no condition */; k += base) {
       
  4951 						t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);
       
  4952 						if (q < t) {
       
  4953 							break;
       
  4954 						}
       
  4955 						qMinusT = q - t;
       
  4956 						baseMinusT = base - t;
       
  4957 						output.push(
       
  4958 							stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))
       
  4959 						);
       
  4960 						q = floor(qMinusT / baseMinusT);
       
  4961 					}
       
  4962 
       
  4963 					output.push(stringFromCharCode(digitToBasic(q, 0)));
       
  4964 					bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);
       
  4965 					delta = 0;
       
  4966 					++handledCPCount;
       
  4967 				}
       
  4968 			}
       
  4969 
       
  4970 			++delta;
       
  4971 			++n;
       
  4972 
       
  4973 		}
       
  4974 		return output.join('');
       
  4975 	}
       
  4976 
       
  4977 	/**
       
  4978 	 * Converts a Punycode string representing a domain name or an email address
       
  4979 	 * to Unicode. Only the Punycoded parts of the input will be converted, i.e.
       
  4980 	 * it doesn't matter if you call it on a string that has already been
       
  4981 	 * converted to Unicode.
       
  4982 	 * @memberOf punycode
       
  4983 	 * @param {String} input The Punycoded domain name or email address to
       
  4984 	 * convert to Unicode.
       
  4985 	 * @returns {String} The Unicode representation of the given Punycode
       
  4986 	 * string.
       
  4987 	 */
       
  4988 	function toUnicode(input) {
       
  4989 		return mapDomain(input, function(string) {
       
  4990 			return regexPunycode.test(string)
       
  4991 				? decode(string.slice(4).toLowerCase())
       
  4992 				: string;
       
  4993 		});
       
  4994 	}
       
  4995 
       
  4996 	/**
       
  4997 	 * Converts a Unicode string representing a domain name or an email address to
       
  4998 	 * Punycode. Only the non-ASCII parts of the domain name will be converted,
       
  4999 	 * i.e. it doesn't matter if you call it with a domain that's already in
       
  5000 	 * ASCII.
       
  5001 	 * @memberOf punycode
       
  5002 	 * @param {String} input The domain name or email address to convert, as a
       
  5003 	 * Unicode string.
       
  5004 	 * @returns {String} The Punycode representation of the given domain name or
       
  5005 	 * email address.
       
  5006 	 */
       
  5007 	function toASCII(input) {
       
  5008 		return mapDomain(input, function(string) {
       
  5009 			return regexNonASCII.test(string)
       
  5010 				? 'xn--' + encode(string)
       
  5011 				: string;
       
  5012 		});
       
  5013 	}
       
  5014 
       
  5015 	/*--------------------------------------------------------------------------*/
       
  5016 
       
  5017 	/** Define the public API */
       
  5018 	punycode = {
       
  5019 		/**
       
  5020 		 * A string representing the current Punycode.js version number.
       
  5021 		 * @memberOf punycode
       
  5022 		 * @type String
       
  5023 		 */
       
  5024 		'version': '1.4.1',
       
  5025 		/**
       
  5026 		 * An object of methods to convert from JavaScript's internal character
       
  5027 		 * representation (UCS-2) to Unicode code points, and back.
       
  5028 		 * @see <https://mathiasbynens.be/notes/javascript-encoding>
       
  5029 		 * @memberOf punycode
       
  5030 		 * @type Object
       
  5031 		 */
       
  5032 		'ucs2': {
       
  5033 			'decode': ucs2decode,
       
  5034 			'encode': ucs2encode
       
  5035 		},
       
  5036 		'decode': decode,
       
  5037 		'encode': encode,
       
  5038 		'toASCII': toASCII,
       
  5039 		'toUnicode': toUnicode
       
  5040 	};
       
  5041 
       
  5042 	/** Expose `punycode` */
       
  5043 	// Some AMD build optimizers, like r.js, check for specific condition patterns
       
  5044 	// like the following:
       
  5045 	if (
       
  5046 		true
       
  5047 	) {
       
  5048 		!(__WEBPACK_AMD_DEFINE_RESULT__ = (function() {
       
  5049 			return punycode;
       
  5050 		}).call(exports, __webpack_require__, exports, module),
       
  5051 				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
       
  5052 	} else {}
       
  5053 
       
  5054 }(this));
       
  5055 
       
  5056 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(118)(module), __webpack_require__(59)))
       
  5057 
 27397 
  5058 /***/ }),
 27398 /***/ }),
  5059 /* 118 */
 27399 
       
 27400 /***/ 9:
  5060 /***/ (function(module, exports) {
 27401 /***/ (function(module, exports) {
  5061 
 27402 
  5062 module.exports = function(module) {
 27403 (function() { module.exports = this["wp"]["compose"]; }());
  5063 	if (!module.webpackPolyfill) {
       
  5064 		module.deprecate = function() {};
       
  5065 		module.paths = [];
       
  5066 		// module.parent = undefined by default
       
  5067 		if (!module.children) module.children = [];
       
  5068 		Object.defineProperty(module, "loaded", {
       
  5069 			enumerable: true,
       
  5070 			get: function() {
       
  5071 				return module.l;
       
  5072 			}
       
  5073 		});
       
  5074 		Object.defineProperty(module, "id", {
       
  5075 			enumerable: true,
       
  5076 			get: function() {
       
  5077 				return module.i;
       
  5078 			}
       
  5079 		});
       
  5080 		module.webpackPolyfill = 1;
       
  5081 	}
       
  5082 	return module;
       
  5083 };
       
  5084 
       
  5085 
 27404 
  5086 /***/ }),
 27405 /***/ }),
  5087 /* 119 */
 27406 
  5088 /***/ (function(module, exports, __webpack_require__) {
 27407 /***/ 98:
  5089 
       
  5090 "use strict";
       
  5091 
       
  5092 
       
  5093 module.exports = {
       
  5094   isString: function(arg) {
       
  5095     return typeof(arg) === 'string';
       
  5096   },
       
  5097   isObject: function(arg) {
       
  5098     return typeof(arg) === 'object' && arg !== null;
       
  5099   },
       
  5100   isNull: function(arg) {
       
  5101     return arg === null;
       
  5102   },
       
  5103   isNullOrUndefined: function(arg) {
       
  5104     return arg == null;
       
  5105   }
       
  5106 };
       
  5107 
       
  5108 
       
  5109 /***/ }),
       
  5110 /* 120 */
       
  5111 /***/ (function(module, exports, __webpack_require__) {
       
  5112 
       
  5113 "use strict";
       
  5114 
       
  5115 
       
  5116 exports.decode = exports.parse = __webpack_require__(121);
       
  5117 exports.encode = exports.stringify = __webpack_require__(122);
       
  5118 
       
  5119 
       
  5120 /***/ }),
       
  5121 /* 121 */
       
  5122 /***/ (function(module, exports, __webpack_require__) {
       
  5123 
       
  5124 "use strict";
       
  5125 // Copyright Joyent, Inc. and other Node contributors.
       
  5126 //
       
  5127 // Permission is hereby granted, free of charge, to any person obtaining a
       
  5128 // copy of this software and associated documentation files (the
       
  5129 // "Software"), to deal in the Software without restriction, including
       
  5130 // without limitation the rights to use, copy, modify, merge, publish,
       
  5131 // distribute, sublicense, and/or sell copies of the Software, and to permit
       
  5132 // persons to whom the Software is furnished to do so, subject to the
       
  5133 // following conditions:
       
  5134 //
       
  5135 // The above copyright notice and this permission notice shall be included
       
  5136 // in all copies or substantial portions of the Software.
       
  5137 //
       
  5138 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
       
  5139 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
       
  5140 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
       
  5141 // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
       
  5142 // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
       
  5143 // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
       
  5144 // USE OR OTHER DEALINGS IN THE SOFTWARE.
       
  5145 
       
  5146 
       
  5147 
       
  5148 // If obj.hasOwnProperty has been overridden, then calling
       
  5149 // obj.hasOwnProperty(prop) will break.
       
  5150 // See: https://github.com/joyent/node/issues/1707
       
  5151 function hasOwnProperty(obj, prop) {
       
  5152   return Object.prototype.hasOwnProperty.call(obj, prop);
       
  5153 }
       
  5154 
       
  5155 module.exports = function(qs, sep, eq, options) {
       
  5156   sep = sep || '&';
       
  5157   eq = eq || '=';
       
  5158   var obj = {};
       
  5159 
       
  5160   if (typeof qs !== 'string' || qs.length === 0) {
       
  5161     return obj;
       
  5162   }
       
  5163 
       
  5164   var regexp = /\+/g;
       
  5165   qs = qs.split(sep);
       
  5166 
       
  5167   var maxKeys = 1000;
       
  5168   if (options && typeof options.maxKeys === 'number') {
       
  5169     maxKeys = options.maxKeys;
       
  5170   }
       
  5171 
       
  5172   var len = qs.length;
       
  5173   // maxKeys <= 0 means that we should not limit keys count
       
  5174   if (maxKeys > 0 && len > maxKeys) {
       
  5175     len = maxKeys;
       
  5176   }
       
  5177 
       
  5178   for (var i = 0; i < len; ++i) {
       
  5179     var x = qs[i].replace(regexp, '%20'),
       
  5180         idx = x.indexOf(eq),
       
  5181         kstr, vstr, k, v;
       
  5182 
       
  5183     if (idx >= 0) {
       
  5184       kstr = x.substr(0, idx);
       
  5185       vstr = x.substr(idx + 1);
       
  5186     } else {
       
  5187       kstr = x;
       
  5188       vstr = '';
       
  5189     }
       
  5190 
       
  5191     k = decodeURIComponent(kstr);
       
  5192     v = decodeURIComponent(vstr);
       
  5193 
       
  5194     if (!hasOwnProperty(obj, k)) {
       
  5195       obj[k] = v;
       
  5196     } else if (isArray(obj[k])) {
       
  5197       obj[k].push(v);
       
  5198     } else {
       
  5199       obj[k] = [obj[k], v];
       
  5200     }
       
  5201   }
       
  5202 
       
  5203   return obj;
       
  5204 };
       
  5205 
       
  5206 var isArray = Array.isArray || function (xs) {
       
  5207   return Object.prototype.toString.call(xs) === '[object Array]';
       
  5208 };
       
  5209 
       
  5210 
       
  5211 /***/ }),
       
  5212 /* 122 */
       
  5213 /***/ (function(module, exports, __webpack_require__) {
       
  5214 
       
  5215 "use strict";
       
  5216 // Copyright Joyent, Inc. and other Node contributors.
       
  5217 //
       
  5218 // Permission is hereby granted, free of charge, to any person obtaining a
       
  5219 // copy of this software and associated documentation files (the
       
  5220 // "Software"), to deal in the Software without restriction, including
       
  5221 // without limitation the rights to use, copy, modify, merge, publish,
       
  5222 // distribute, sublicense, and/or sell copies of the Software, and to permit
       
  5223 // persons to whom the Software is furnished to do so, subject to the
       
  5224 // following conditions:
       
  5225 //
       
  5226 // The above copyright notice and this permission notice shall be included
       
  5227 // in all copies or substantial portions of the Software.
       
  5228 //
       
  5229 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
       
  5230 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
       
  5231 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
       
  5232 // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
       
  5233 // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
       
  5234 // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
       
  5235 // USE OR OTHER DEALINGS IN THE SOFTWARE.
       
  5236 
       
  5237 
       
  5238 
       
  5239 var stringifyPrimitive = function(v) {
       
  5240   switch (typeof v) {
       
  5241     case 'string':
       
  5242       return v;
       
  5243 
       
  5244     case 'boolean':
       
  5245       return v ? 'true' : 'false';
       
  5246 
       
  5247     case 'number':
       
  5248       return isFinite(v) ? v : '';
       
  5249 
       
  5250     default:
       
  5251       return '';
       
  5252   }
       
  5253 };
       
  5254 
       
  5255 module.exports = function(obj, sep, eq, name) {
       
  5256   sep = sep || '&';
       
  5257   eq = eq || '=';
       
  5258   if (obj === null) {
       
  5259     obj = undefined;
       
  5260   }
       
  5261 
       
  5262   if (typeof obj === 'object') {
       
  5263     return map(objectKeys(obj), function(k) {
       
  5264       var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;
       
  5265       if (isArray(obj[k])) {
       
  5266         return map(obj[k], function(v) {
       
  5267           return ks + encodeURIComponent(stringifyPrimitive(v));
       
  5268         }).join(sep);
       
  5269       } else {
       
  5270         return ks + encodeURIComponent(stringifyPrimitive(obj[k]));
       
  5271       }
       
  5272     }).join(sep);
       
  5273 
       
  5274   }
       
  5275 
       
  5276   if (!name) return '';
       
  5277   return encodeURIComponent(stringifyPrimitive(name)) + eq +
       
  5278          encodeURIComponent(stringifyPrimitive(obj));
       
  5279 };
       
  5280 
       
  5281 var isArray = Array.isArray || function (xs) {
       
  5282   return Object.prototype.toString.call(xs) === '[object Array]';
       
  5283 };
       
  5284 
       
  5285 function map (xs, f) {
       
  5286   if (xs.map) return xs.map(f);
       
  5287   var res = [];
       
  5288   for (var i = 0; i < xs.length; i++) {
       
  5289     res.push(f(xs[i], i));
       
  5290   }
       
  5291   return res;
       
  5292 }
       
  5293 
       
  5294 var objectKeys = Object.keys || function (obj) {
       
  5295   var res = [];
       
  5296   for (var key in obj) {
       
  5297     if (Object.prototype.hasOwnProperty.call(obj, key)) res.push(key);
       
  5298   }
       
  5299   return res;
       
  5300 };
       
  5301 
       
  5302 
       
  5303 /***/ }),
       
  5304 /* 123 */,
       
  5305 /* 124 */,
       
  5306 /* 125 */,
       
  5307 /* 126 */,
       
  5308 /* 127 */,
       
  5309 /* 128 */,
       
  5310 /* 129 */,
       
  5311 /* 130 */,
       
  5312 /* 131 */,
       
  5313 /* 132 */,
       
  5314 /* 133 */,
       
  5315 /* 134 */,
       
  5316 /* 135 */,
       
  5317 /* 136 */
       
  5318 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  5319 
       
  5320 "use strict";
       
  5321 __webpack_require__.r(__webpack_exports__);
       
  5322 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return name; });
       
  5323 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
  5324 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
  5325 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
  5326 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
       
  5327 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
       
  5328 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4);
       
  5329 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__);
       
  5330 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(14);
       
  5331 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__);
       
  5332 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(5);
       
  5333 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__);
       
  5334 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(8);
       
  5335 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_5__);
       
  5336 
       
  5337 
       
  5338 /**
       
  5339  * WordPress dependencies
       
  5340  */
       
  5341 
       
  5342 
       
  5343 
       
  5344 
       
  5345 
       
  5346 
       
  5347 
       
  5348 function MissingBlockWarning(_ref) {
       
  5349   var attributes = _ref.attributes,
       
  5350       convertToHTML = _ref.convertToHTML;
       
  5351   var originalName = attributes.originalName,
       
  5352       originalUndelimitedContent = attributes.originalUndelimitedContent;
       
  5353   var hasContent = !!originalUndelimitedContent;
       
  5354   var hasHTMLBlock = Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__["getBlockType"])('core/html');
       
  5355   var actions = [];
       
  5356   var messageHTML;
       
  5357 
       
  5358   if (hasContent && hasHTMLBlock) {
       
  5359     messageHTML = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["sprintf"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Your site doesn’t include support for the "%s" block. You can leave this block intact, convert its content to a Custom HTML block, or remove it entirely.'), originalName);
       
  5360     actions.push(Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Button"], {
       
  5361       key: "convert",
       
  5362       onClick: convertToHTML,
       
  5363       isLarge: true,
       
  5364       isPrimary: true
       
  5365     }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Keep as HTML')));
       
  5366   } else {
       
  5367     messageHTML = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["sprintf"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Your site doesn’t include support for the "%s" block. You can leave this block intact or remove it entirely.'), originalName);
       
  5368   }
       
  5369 
       
  5370   return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_5__["Warning"], {
       
  5371     actions: actions
       
  5372   }, messageHTML), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["RawHTML"], null, originalUndelimitedContent));
       
  5373 }
       
  5374 
       
  5375 var edit = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__["withDispatch"])(function (dispatch, _ref2) {
       
  5376   var clientId = _ref2.clientId,
       
  5377       attributes = _ref2.attributes;
       
  5378 
       
  5379   var _dispatch = dispatch('core/block-editor'),
       
  5380       replaceBlock = _dispatch.replaceBlock;
       
  5381 
       
  5382   return {
       
  5383     convertToHTML: function convertToHTML() {
       
  5384       replaceBlock(clientId, Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__["createBlock"])('core/html', {
       
  5385         content: attributes.originalUndelimitedContent
       
  5386       }));
       
  5387     }
       
  5388   };
       
  5389 })(MissingBlockWarning);
       
  5390 var name = 'core/missing';
       
  5391 var settings = {
       
  5392   name: name,
       
  5393   category: 'common',
       
  5394   title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Unrecognized Block'),
       
  5395   description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Your site doesn’t include support for this block.'),
       
  5396   supports: {
       
  5397     className: false,
       
  5398     customClassName: false,
       
  5399     inserter: false,
       
  5400     html: false,
       
  5401     reusable: false
       
  5402   },
       
  5403   attributes: {
       
  5404     originalName: {
       
  5405       type: 'string'
       
  5406     },
       
  5407     originalUndelimitedContent: {
       
  5408       type: 'string'
       
  5409     },
       
  5410     originalContent: {
       
  5411       type: 'string',
       
  5412       source: 'html'
       
  5413     }
       
  5414   },
       
  5415   edit: edit,
       
  5416   save: function save(_ref3) {
       
  5417     var attributes = _ref3.attributes;
       
  5418     // Preserve the missing block's content.
       
  5419     return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["RawHTML"], null, attributes.originalContent);
       
  5420   }
       
  5421 };
       
  5422 
       
  5423 
       
  5424 /***/ }),
       
  5425 /* 137 */,
       
  5426 /* 138 */
       
  5427 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  5428 
       
  5429 "use strict";
       
  5430 __webpack_require__.r(__webpack_exports__);
       
  5431 
       
  5432 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
       
  5433 var defineProperty = __webpack_require__(15);
       
  5434 
       
  5435 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
       
  5436 var objectSpread = __webpack_require__(7);
       
  5437 
       
  5438 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
  5439 var external_this_wp_element_ = __webpack_require__(0);
       
  5440 
       
  5441 // EXTERNAL MODULE: ./node_modules/classnames/index.js
       
  5442 var classnames = __webpack_require__(16);
       
  5443 var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
       
  5444 
       
  5445 // EXTERNAL MODULE: external "lodash"
       
  5446 var external_lodash_ = __webpack_require__(2);
       
  5447 
       
  5448 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
  5449 var external_this_wp_i18n_ = __webpack_require__(1);
       
  5450 
       
  5451 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
       
  5452 var external_this_wp_blockEditor_ = __webpack_require__(8);
       
  5453 
       
  5454 // EXTERNAL MODULE: external {"this":["wp","blocks"]}
       
  5455 var external_this_wp_blocks_ = __webpack_require__(14);
       
  5456 
       
  5457 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
  5458 var external_this_wp_components_ = __webpack_require__(4);
       
  5459 
       
  5460 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
       
  5461 var esm_extends = __webpack_require__(19);
       
  5462 
       
  5463 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
  5464 var classCallCheck = __webpack_require__(10);
       
  5465 
       
  5466 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
  5467 var createClass = __webpack_require__(9);
       
  5468 
       
  5469 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
  5470 var possibleConstructorReturn = __webpack_require__(11);
       
  5471 
       
  5472 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
  5473 var getPrototypeOf = __webpack_require__(12);
       
  5474 
       
  5475 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
  5476 var inherits = __webpack_require__(13);
       
  5477 
       
  5478 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
       
  5479 var assertThisInitialized = __webpack_require__(3);
       
  5480 
       
  5481 // EXTERNAL MODULE: external {"this":["wp","compose"]}
       
  5482 var external_this_wp_compose_ = __webpack_require__(6);
       
  5483 
       
  5484 // EXTERNAL MODULE: external {"this":["wp","data"]}
       
  5485 var external_this_wp_data_ = __webpack_require__(5);
       
  5486 
       
  5487 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/edit.js
       
  5488 
       
  5489 
       
  5490 
       
  5491 
       
  5492 
       
  5493 
       
  5494 
       
  5495 
       
  5496 
       
  5497 
       
  5498 
       
  5499 /**
       
  5500  * External dependencies
       
  5501  */
       
  5502 
       
  5503 /**
       
  5504  * WordPress dependencies
       
  5505  */
       
  5506 
       
  5507 
       
  5508 
       
  5509 
       
  5510 
       
  5511 
       
  5512 
       
  5513 
       
  5514 var _window = window,
       
  5515     getComputedStyle = _window.getComputedStyle;
       
  5516 var edit_name = 'core/paragraph';
       
  5517 var applyFallbackStyles = Object(external_this_wp_components_["withFallbackStyles"])(function (node, ownProps) {
       
  5518   var _ownProps$attributes = ownProps.attributes,
       
  5519       textColor = _ownProps$attributes.textColor,
       
  5520       backgroundColor = _ownProps$attributes.backgroundColor,
       
  5521       fontSize = _ownProps$attributes.fontSize,
       
  5522       customFontSize = _ownProps$attributes.customFontSize;
       
  5523   var editableNode = node.querySelector('[contenteditable="true"]'); //verify if editableNode is available, before using getComputedStyle.
       
  5524 
       
  5525   var computedStyles = editableNode ? getComputedStyle(editableNode) : null;
       
  5526   return {
       
  5527     fallbackBackgroundColor: backgroundColor || !computedStyles ? undefined : computedStyles.backgroundColor,
       
  5528     fallbackTextColor: textColor || !computedStyles ? undefined : computedStyles.color,
       
  5529     fallbackFontSize: fontSize || customFontSize || !computedStyles ? undefined : parseInt(computedStyles.fontSize) || undefined
       
  5530   };
       
  5531 });
       
  5532 
       
  5533 var edit_ParagraphBlock =
       
  5534 /*#__PURE__*/
       
  5535 function (_Component) {
       
  5536   Object(inherits["a" /* default */])(ParagraphBlock, _Component);
       
  5537 
       
  5538   function ParagraphBlock() {
       
  5539     var _this;
       
  5540 
       
  5541     Object(classCallCheck["a" /* default */])(this, ParagraphBlock);
       
  5542 
       
  5543     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(ParagraphBlock).apply(this, arguments));
       
  5544     _this.onReplace = _this.onReplace.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  5545     _this.toggleDropCap = _this.toggleDropCap.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  5546     _this.splitBlock = _this.splitBlock.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  5547     return _this;
       
  5548   }
       
  5549 
       
  5550   Object(createClass["a" /* default */])(ParagraphBlock, [{
       
  5551     key: "onReplace",
       
  5552     value: function onReplace(blocks) {
       
  5553       var _this$props = this.props,
       
  5554           attributes = _this$props.attributes,
       
  5555           onReplace = _this$props.onReplace;
       
  5556       onReplace(blocks.map(function (block, index) {
       
  5557         return index === 0 && block.name === edit_name ? Object(objectSpread["a" /* default */])({}, block, {
       
  5558           attributes: Object(objectSpread["a" /* default */])({}, attributes, block.attributes)
       
  5559         }) : block;
       
  5560       }));
       
  5561     }
       
  5562   }, {
       
  5563     key: "toggleDropCap",
       
  5564     value: function toggleDropCap() {
       
  5565       var _this$props2 = this.props,
       
  5566           attributes = _this$props2.attributes,
       
  5567           setAttributes = _this$props2.setAttributes;
       
  5568       setAttributes({
       
  5569         dropCap: !attributes.dropCap
       
  5570       });
       
  5571     }
       
  5572   }, {
       
  5573     key: "getDropCapHelp",
       
  5574     value: function getDropCapHelp(checked) {
       
  5575       return checked ? Object(external_this_wp_i18n_["__"])('Showing large initial letter.') : Object(external_this_wp_i18n_["__"])('Toggle to show a large initial letter.');
       
  5576     }
       
  5577     /**
       
  5578      * Split handler for RichText value, namely when content is pasted or the
       
  5579      * user presses the Enter key.
       
  5580      *
       
  5581      * @param {?Array}     before Optional before value, to be used as content
       
  5582      *                            in place of what exists currently for the
       
  5583      *                            block. If undefined, the block is deleted.
       
  5584      * @param {?Array}     after  Optional after value, to be appended in a new
       
  5585      *                            paragraph block to the set of blocks passed
       
  5586      *                            as spread.
       
  5587      * @param {...WPBlock} blocks Optional blocks inserted between the before
       
  5588      *                            and after value blocks.
       
  5589      */
       
  5590 
       
  5591   }, {
       
  5592     key: "splitBlock",
       
  5593     value: function splitBlock(before, after) {
       
  5594       var _this$props3 = this.props,
       
  5595           attributes = _this$props3.attributes,
       
  5596           insertBlocksAfter = _this$props3.insertBlocksAfter,
       
  5597           setAttributes = _this$props3.setAttributes,
       
  5598           onReplace = _this$props3.onReplace;
       
  5599 
       
  5600       for (var _len = arguments.length, blocks = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
       
  5601         blocks[_key - 2] = arguments[_key];
       
  5602       }
       
  5603 
       
  5604       if (after !== null) {
       
  5605         // Append "After" content as a new paragraph block to the end of
       
  5606         // any other blocks being inserted after the current paragraph.
       
  5607         blocks.push(Object(external_this_wp_blocks_["createBlock"])(edit_name, {
       
  5608           content: after
       
  5609         }));
       
  5610       }
       
  5611 
       
  5612       if (blocks.length && insertBlocksAfter) {
       
  5613         insertBlocksAfter(blocks);
       
  5614       }
       
  5615 
       
  5616       var content = attributes.content;
       
  5617 
       
  5618       if (before === null) {
       
  5619         // If before content is omitted, treat as intent to delete block.
       
  5620         onReplace([]);
       
  5621       } else if (content !== before) {
       
  5622         // Only update content if it has in-fact changed. In case that user
       
  5623         // has created a new paragraph at end of an existing one, the value
       
  5624         // of before will be strictly equal to the current content.
       
  5625         setAttributes({
       
  5626           content: before
       
  5627         });
       
  5628       }
       
  5629     }
       
  5630   }, {
       
  5631     key: "render",
       
  5632     value: function render() {
       
  5633       var _classnames;
       
  5634 
       
  5635       var _this$props4 = this.props,
       
  5636           attributes = _this$props4.attributes,
       
  5637           setAttributes = _this$props4.setAttributes,
       
  5638           mergeBlocks = _this$props4.mergeBlocks,
       
  5639           onReplace = _this$props4.onReplace,
       
  5640           className = _this$props4.className,
       
  5641           backgroundColor = _this$props4.backgroundColor,
       
  5642           textColor = _this$props4.textColor,
       
  5643           setBackgroundColor = _this$props4.setBackgroundColor,
       
  5644           setTextColor = _this$props4.setTextColor,
       
  5645           fallbackBackgroundColor = _this$props4.fallbackBackgroundColor,
       
  5646           fallbackTextColor = _this$props4.fallbackTextColor,
       
  5647           fallbackFontSize = _this$props4.fallbackFontSize,
       
  5648           fontSize = _this$props4.fontSize,
       
  5649           setFontSize = _this$props4.setFontSize,
       
  5650           isRTL = _this$props4.isRTL;
       
  5651       var align = attributes.align,
       
  5652           content = attributes.content,
       
  5653           dropCap = attributes.dropCap,
       
  5654           placeholder = attributes.placeholder,
       
  5655           direction = attributes.direction;
       
  5656       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["AlignmentToolbar"], {
       
  5657         value: align,
       
  5658         onChange: function onChange(nextAlign) {
       
  5659           setAttributes({
       
  5660             align: nextAlign
       
  5661           });
       
  5662         }
       
  5663       }), isRTL && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], {
       
  5664         controls: [{
       
  5665           icon: 'editor-ltr',
       
  5666           title: Object(external_this_wp_i18n_["_x"])('Left to right', 'editor button'),
       
  5667           isActive: direction === 'ltr',
       
  5668           onClick: function onClick() {
       
  5669             var nextDirection = direction === 'ltr' ? undefined : 'ltr';
       
  5670             setAttributes({
       
  5671               direction: nextDirection
       
  5672             });
       
  5673           }
       
  5674         }]
       
  5675       })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
  5676         title: Object(external_this_wp_i18n_["__"])('Text Settings'),
       
  5677         className: "blocks-font-size"
       
  5678       }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["FontSizePicker"], {
       
  5679         fallbackFontSize: fallbackFontSize,
       
  5680         value: fontSize.size,
       
  5681         onChange: setFontSize
       
  5682       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
  5683         label: Object(external_this_wp_i18n_["__"])('Drop Cap'),
       
  5684         checked: !!dropCap,
       
  5685         onChange: this.toggleDropCap,
       
  5686         help: this.getDropCapHelp
       
  5687       })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PanelColorSettings"], {
       
  5688         title: Object(external_this_wp_i18n_["__"])('Color Settings'),
       
  5689         initialOpen: false,
       
  5690         colorSettings: [{
       
  5691           value: backgroundColor.color,
       
  5692           onChange: setBackgroundColor,
       
  5693           label: Object(external_this_wp_i18n_["__"])('Background Color')
       
  5694         }, {
       
  5695           value: textColor.color,
       
  5696           onChange: setTextColor,
       
  5697           label: Object(external_this_wp_i18n_["__"])('Text Color')
       
  5698         }]
       
  5699       }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["ContrastChecker"], Object(esm_extends["a" /* default */])({
       
  5700         textColor: textColor.color,
       
  5701         backgroundColor: backgroundColor.color,
       
  5702         fallbackTextColor: fallbackTextColor,
       
  5703         fallbackBackgroundColor: fallbackBackgroundColor
       
  5704       }, {
       
  5705         fontSize: fontSize.size
       
  5706       })))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
  5707         identifier: "content",
       
  5708         tagName: "p",
       
  5709         className: classnames_default()('wp-block-paragraph', className, (_classnames = {
       
  5710           'has-text-color': textColor.color,
       
  5711           'has-background': backgroundColor.color,
       
  5712           'has-drop-cap': dropCap
       
  5713         }, Object(defineProperty["a" /* default */])(_classnames, backgroundColor.class, backgroundColor.class), Object(defineProperty["a" /* default */])(_classnames, textColor.class, textColor.class), Object(defineProperty["a" /* default */])(_classnames, fontSize.class, fontSize.class), _classnames)),
       
  5714         style: {
       
  5715           backgroundColor: backgroundColor.color,
       
  5716           color: textColor.color,
       
  5717           fontSize: fontSize.size ? fontSize.size + 'px' : undefined,
       
  5718           textAlign: align,
       
  5719           direction: direction
       
  5720         },
       
  5721         value: content,
       
  5722         onChange: function onChange(nextContent) {
       
  5723           setAttributes({
       
  5724             content: nextContent
       
  5725           });
       
  5726         },
       
  5727         unstableOnSplit: this.splitBlock,
       
  5728         onMerge: mergeBlocks,
       
  5729         onReplace: this.onReplace,
       
  5730         onRemove: function onRemove() {
       
  5731           return onReplace([]);
       
  5732         },
       
  5733         "aria-label": content ? Object(external_this_wp_i18n_["__"])('Paragraph block') : Object(external_this_wp_i18n_["__"])('Empty block; start writing or type forward slash to choose a block'),
       
  5734         placeholder: placeholder || Object(external_this_wp_i18n_["__"])('Start writing or type / to choose a block')
       
  5735       }));
       
  5736     }
       
  5737   }]);
       
  5738 
       
  5739   return ParagraphBlock;
       
  5740 }(external_this_wp_element_["Component"]);
       
  5741 
       
  5742 var ParagraphEdit = Object(external_this_wp_compose_["compose"])([Object(external_this_wp_blockEditor_["withColors"])('backgroundColor', {
       
  5743   textColor: 'color'
       
  5744 }), Object(external_this_wp_blockEditor_["withFontSizes"])('fontSize'), applyFallbackStyles, Object(external_this_wp_data_["withSelect"])(function (select) {
       
  5745   var _select = select('core/block-editor'),
       
  5746       getSettings = _select.getSettings;
       
  5747 
       
  5748   return {
       
  5749     isRTL: getSettings().isRTL
       
  5750   };
       
  5751 })])(edit_ParagraphBlock);
       
  5752 /* harmony default export */ var edit = (ParagraphEdit);
       
  5753 
       
  5754 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/index.js
       
  5755 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return paragraph_name; });
       
  5756 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
  5757 
       
  5758 
       
  5759 
       
  5760 
       
  5761 /**
       
  5762  * External dependencies
       
  5763  */
       
  5764 
       
  5765 
       
  5766 /**
       
  5767  * WordPress dependencies
       
  5768  */
       
  5769 
       
  5770 
       
  5771 
       
  5772 
       
  5773 
       
  5774 
       
  5775 /**
       
  5776  * Internal dependencies
       
  5777  */
       
  5778 
       
  5779 
       
  5780 var supports = {
       
  5781   className: false
       
  5782 };
       
  5783 var schema = {
       
  5784   content: {
       
  5785     type: 'string',
       
  5786     source: 'html',
       
  5787     selector: 'p',
       
  5788     default: ''
       
  5789   },
       
  5790   align: {
       
  5791     type: 'string'
       
  5792   },
       
  5793   dropCap: {
       
  5794     type: 'boolean',
       
  5795     default: false
       
  5796   },
       
  5797   placeholder: {
       
  5798     type: 'string'
       
  5799   },
       
  5800   textColor: {
       
  5801     type: 'string'
       
  5802   },
       
  5803   customTextColor: {
       
  5804     type: 'string'
       
  5805   },
       
  5806   backgroundColor: {
       
  5807     type: 'string'
       
  5808   },
       
  5809   customBackgroundColor: {
       
  5810     type: 'string'
       
  5811   },
       
  5812   fontSize: {
       
  5813     type: 'string'
       
  5814   },
       
  5815   customFontSize: {
       
  5816     type: 'number'
       
  5817   },
       
  5818   direction: {
       
  5819     type: 'string',
       
  5820     enum: ['ltr', 'rtl']
       
  5821   }
       
  5822 };
       
  5823 var paragraph_name = 'core/paragraph';
       
  5824 var settings = {
       
  5825   title: Object(external_this_wp_i18n_["__"])('Paragraph'),
       
  5826   description: Object(external_this_wp_i18n_["__"])('Start with the building block of all narrative.'),
       
  5827   icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
  5828     xmlns: "http://www.w3.org/2000/svg",
       
  5829     viewBox: "0 0 24 24"
       
  5830   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
  5831     d: "M11 5v7H9.5C7.6 12 6 10.4 6 8.5S7.6 5 9.5 5H11m8-2H9.5C6.5 3 4 5.5 4 8.5S6.5 14 9.5 14H11v7h2V5h2v16h2V5h2V3z"
       
  5832   })),
       
  5833   category: 'common',
       
  5834   keywords: [Object(external_this_wp_i18n_["__"])('text')],
       
  5835   supports: supports,
       
  5836   attributes: schema,
       
  5837   transforms: {
       
  5838     from: [{
       
  5839       type: 'raw',
       
  5840       // Paragraph is a fallback and should be matched last.
       
  5841       priority: 20,
       
  5842       selector: 'p',
       
  5843       schema: {
       
  5844         p: {
       
  5845           children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])()
       
  5846         }
       
  5847       }
       
  5848     }]
       
  5849   },
       
  5850   deprecated: [{
       
  5851     supports: supports,
       
  5852     attributes: Object(objectSpread["a" /* default */])({}, schema, {
       
  5853       width: {
       
  5854         type: 'string'
       
  5855       }
       
  5856     }),
       
  5857     save: function save(_ref) {
       
  5858       var _classnames;
       
  5859 
       
  5860       var attributes = _ref.attributes;
       
  5861       var width = attributes.width,
       
  5862           align = attributes.align,
       
  5863           content = attributes.content,
       
  5864           dropCap = attributes.dropCap,
       
  5865           backgroundColor = attributes.backgroundColor,
       
  5866           textColor = attributes.textColor,
       
  5867           customBackgroundColor = attributes.customBackgroundColor,
       
  5868           customTextColor = attributes.customTextColor,
       
  5869           fontSize = attributes.fontSize,
       
  5870           customFontSize = attributes.customFontSize;
       
  5871       var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
       
  5872       var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
       
  5873       var fontSizeClass = fontSize && "is-".concat(fontSize, "-text");
       
  5874       var className = classnames_default()((_classnames = {}, Object(defineProperty["a" /* default */])(_classnames, "align".concat(width), width), Object(defineProperty["a" /* default */])(_classnames, 'has-background', backgroundColor || customBackgroundColor), Object(defineProperty["a" /* default */])(_classnames, 'has-drop-cap', dropCap), Object(defineProperty["a" /* default */])(_classnames, fontSizeClass, fontSizeClass), Object(defineProperty["a" /* default */])(_classnames, textClass, textClass), Object(defineProperty["a" /* default */])(_classnames, backgroundClass, backgroundClass), _classnames));
       
  5875       var styles = {
       
  5876         backgroundColor: backgroundClass ? undefined : customBackgroundColor,
       
  5877         color: textClass ? undefined : customTextColor,
       
  5878         fontSize: fontSizeClass ? undefined : customFontSize,
       
  5879         textAlign: align
       
  5880       };
       
  5881       return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  5882         tagName: "p",
       
  5883         style: styles,
       
  5884         className: className ? className : undefined,
       
  5885         value: content
       
  5886       });
       
  5887     }
       
  5888   }, {
       
  5889     supports: supports,
       
  5890     attributes: Object(external_lodash_["omit"])(Object(objectSpread["a" /* default */])({}, schema, {
       
  5891       fontSize: {
       
  5892         type: 'number'
       
  5893       }
       
  5894     }), 'customFontSize', 'customTextColor', 'customBackgroundColor'),
       
  5895     save: function save(_ref2) {
       
  5896       var _classnames2;
       
  5897 
       
  5898       var attributes = _ref2.attributes;
       
  5899       var width = attributes.width,
       
  5900           align = attributes.align,
       
  5901           content = attributes.content,
       
  5902           dropCap = attributes.dropCap,
       
  5903           backgroundColor = attributes.backgroundColor,
       
  5904           textColor = attributes.textColor,
       
  5905           fontSize = attributes.fontSize;
       
  5906       var className = classnames_default()((_classnames2 = {}, Object(defineProperty["a" /* default */])(_classnames2, "align".concat(width), width), Object(defineProperty["a" /* default */])(_classnames2, 'has-background', backgroundColor), Object(defineProperty["a" /* default */])(_classnames2, 'has-drop-cap', dropCap), _classnames2));
       
  5907       var styles = {
       
  5908         backgroundColor: backgroundColor,
       
  5909         color: textColor,
       
  5910         fontSize: fontSize,
       
  5911         textAlign: align
       
  5912       };
       
  5913       return Object(external_this_wp_element_["createElement"])("p", {
       
  5914         style: styles,
       
  5915         className: className ? className : undefined
       
  5916       }, content);
       
  5917     },
       
  5918     migrate: function migrate(attributes) {
       
  5919       return Object(external_lodash_["omit"])(Object(objectSpread["a" /* default */])({}, attributes, {
       
  5920         customFontSize: Object(external_lodash_["isFinite"])(attributes.fontSize) ? attributes.fontSize : undefined,
       
  5921         customTextColor: attributes.textColor && '#' === attributes.textColor[0] ? attributes.textColor : undefined,
       
  5922         customBackgroundColor: attributes.backgroundColor && '#' === attributes.backgroundColor[0] ? attributes.backgroundColor : undefined
       
  5923       }), ['fontSize', 'textColor', 'backgroundColor']);
       
  5924     }
       
  5925   }, {
       
  5926     supports: supports,
       
  5927     attributes: Object(objectSpread["a" /* default */])({}, schema, {
       
  5928       content: {
       
  5929         type: 'string',
       
  5930         source: 'html',
       
  5931         default: ''
       
  5932       }
       
  5933     }),
       
  5934     save: function save(_ref3) {
       
  5935       var attributes = _ref3.attributes;
       
  5936       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["RawHTML"], null, attributes.content);
       
  5937     },
       
  5938     migrate: function migrate(attributes) {
       
  5939       return attributes;
       
  5940     }
       
  5941   }],
       
  5942   merge: function merge(attributes, attributesToMerge) {
       
  5943     return {
       
  5944       content: (attributes.content || '') + (attributesToMerge.content || '')
       
  5945     };
       
  5946   },
       
  5947   getEditWrapperProps: function getEditWrapperProps(attributes) {
       
  5948     var width = attributes.width;
       
  5949 
       
  5950     if (['wide', 'full', 'left', 'right'].indexOf(width) !== -1) {
       
  5951       return {
       
  5952         'data-align': width
       
  5953       };
       
  5954     }
       
  5955   },
       
  5956   edit: edit,
       
  5957   save: function save(_ref4) {
       
  5958     var _classnames3;
       
  5959 
       
  5960     var attributes = _ref4.attributes;
       
  5961     var align = attributes.align,
       
  5962         content = attributes.content,
       
  5963         dropCap = attributes.dropCap,
       
  5964         backgroundColor = attributes.backgroundColor,
       
  5965         textColor = attributes.textColor,
       
  5966         customBackgroundColor = attributes.customBackgroundColor,
       
  5967         customTextColor = attributes.customTextColor,
       
  5968         fontSize = attributes.fontSize,
       
  5969         customFontSize = attributes.customFontSize,
       
  5970         direction = attributes.direction;
       
  5971     var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
       
  5972     var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
       
  5973     var fontSizeClass = Object(external_this_wp_blockEditor_["getFontSizeClass"])(fontSize);
       
  5974     var className = classnames_default()((_classnames3 = {
       
  5975       'has-text-color': textColor || customTextColor,
       
  5976       'has-background': backgroundColor || customBackgroundColor,
       
  5977       'has-drop-cap': dropCap
       
  5978     }, Object(defineProperty["a" /* default */])(_classnames3, fontSizeClass, fontSizeClass), Object(defineProperty["a" /* default */])(_classnames3, textClass, textClass), Object(defineProperty["a" /* default */])(_classnames3, backgroundClass, backgroundClass), _classnames3));
       
  5979     var styles = {
       
  5980       backgroundColor: backgroundClass ? undefined : customBackgroundColor,
       
  5981       color: textClass ? undefined : customTextColor,
       
  5982       fontSize: fontSizeClass ? undefined : customFontSize,
       
  5983       textAlign: align
       
  5984     };
       
  5985     return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
  5986       tagName: "p",
       
  5987       style: styles,
       
  5988       className: className ? className : undefined,
       
  5989       value: content,
       
  5990       dir: direction
       
  5991     });
       
  5992   }
       
  5993 };
       
  5994 
       
  5995 
       
  5996 /***/ }),
       
  5997 /* 139 */
       
  5998 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  5999 
       
  6000 "use strict";
       
  6001 __webpack_require__.r(__webpack_exports__);
       
  6002 
       
  6003 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
  6004 var external_this_wp_element_ = __webpack_require__(0);
       
  6005 
       
  6006 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
  6007 var external_this_wp_i18n_ = __webpack_require__(1);
       
  6008 
       
  6009 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
  6010 var external_this_wp_components_ = __webpack_require__(4);
       
  6011 
       
  6012 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
       
  6013 var objectSpread = __webpack_require__(7);
       
  6014 
       
  6015 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
  6016 var classCallCheck = __webpack_require__(10);
       
  6017 
       
  6018 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
  6019 var createClass = __webpack_require__(9);
       
  6020 
       
  6021 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
  6022 var possibleConstructorReturn = __webpack_require__(11);
       
  6023 
       
  6024 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
  6025 var getPrototypeOf = __webpack_require__(12);
       
  6026 
       
  6027 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
  6028 var inherits = __webpack_require__(13);
       
  6029 
       
  6030 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
       
  6031 var assertThisInitialized = __webpack_require__(3);
       
  6032 
       
  6033 // EXTERNAL MODULE: external {"this":["wp","keycodes"]}
       
  6034 var external_this_wp_keycodes_ = __webpack_require__(18);
       
  6035 
       
  6036 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/classic/edit.js
       
  6037 
       
  6038 
       
  6039 
       
  6040 
       
  6041 
       
  6042 
       
  6043 
       
  6044 
       
  6045 
       
  6046 /**
       
  6047  * WordPress dependencies
       
  6048  */
       
  6049 
       
  6050 
       
  6051 
       
  6052 var _window = window,
       
  6053     wp = _window.wp;
       
  6054 
       
  6055 function isTmceEmpty(editor) {
       
  6056   // When tinyMce is empty the content seems to be:
       
  6057   // <p><br data-mce-bogus="1"></p>
       
  6058   // avoid expensive checks for large documents
       
  6059   var body = editor.getBody();
       
  6060 
       
  6061   if (body.childNodes.length > 1) {
       
  6062     return false;
       
  6063   } else if (body.childNodes.length === 0) {
       
  6064     return true;
       
  6065   }
       
  6066 
       
  6067   if (body.childNodes[0].childNodes.length > 1) {
       
  6068     return false;
       
  6069   }
       
  6070 
       
  6071   return /^\n?$/.test(body.innerText || body.textContent);
       
  6072 }
       
  6073 
       
  6074 var edit_ClassicEdit =
       
  6075 /*#__PURE__*/
       
  6076 function (_Component) {
       
  6077   Object(inherits["a" /* default */])(ClassicEdit, _Component);
       
  6078 
       
  6079   function ClassicEdit(props) {
       
  6080     var _this;
       
  6081 
       
  6082     Object(classCallCheck["a" /* default */])(this, ClassicEdit);
       
  6083 
       
  6084     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(ClassicEdit).call(this, props));
       
  6085     _this.initialize = _this.initialize.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  6086     _this.onSetup = _this.onSetup.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  6087     _this.focus = _this.focus.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  6088     return _this;
       
  6089   }
       
  6090 
       
  6091   Object(createClass["a" /* default */])(ClassicEdit, [{
       
  6092     key: "componentDidMount",
       
  6093     value: function componentDidMount() {
       
  6094       var _window$wpEditorL10n$ = window.wpEditorL10n.tinymce,
       
  6095           baseURL = _window$wpEditorL10n$.baseURL,
       
  6096           suffix = _window$wpEditorL10n$.suffix;
       
  6097       window.tinymce.EditorManager.overrideDefaults({
       
  6098         base_url: baseURL,
       
  6099         suffix: suffix
       
  6100       });
       
  6101 
       
  6102       if (document.readyState === 'complete') {
       
  6103         this.initialize();
       
  6104       } else {
       
  6105         window.addEventListener('DOMContentLoaded', this.initialize);
       
  6106       }
       
  6107     }
       
  6108   }, {
       
  6109     key: "componentWillUnmount",
       
  6110     value: function componentWillUnmount() {
       
  6111       window.addEventListener('DOMContentLoaded', this.initialize);
       
  6112       wp.oldEditor.remove("editor-".concat(this.props.clientId));
       
  6113     }
       
  6114   }, {
       
  6115     key: "componentDidUpdate",
       
  6116     value: function componentDidUpdate(prevProps) {
       
  6117       var _this$props = this.props,
       
  6118           clientId = _this$props.clientId,
       
  6119           content = _this$props.attributes.content;
       
  6120       var editor = window.tinymce.get("editor-".concat(clientId));
       
  6121 
       
  6122       if (prevProps.attributes.content !== content) {
       
  6123         editor.setContent(content || '');
       
  6124       }
       
  6125     }
       
  6126   }, {
       
  6127     key: "initialize",
       
  6128     value: function initialize() {
       
  6129       var clientId = this.props.clientId;
       
  6130       var settings = window.wpEditorL10n.tinymce.settings;
       
  6131       wp.oldEditor.initialize("editor-".concat(clientId), {
       
  6132         tinymce: Object(objectSpread["a" /* default */])({}, settings, {
       
  6133           inline: true,
       
  6134           content_css: false,
       
  6135           fixed_toolbar_container: "#toolbar-".concat(clientId),
       
  6136           setup: this.onSetup
       
  6137         })
       
  6138       });
       
  6139     }
       
  6140   }, {
       
  6141     key: "onSetup",
       
  6142     value: function onSetup(editor) {
       
  6143       var _this2 = this;
       
  6144 
       
  6145       var _this$props2 = this.props,
       
  6146           content = _this$props2.attributes.content,
       
  6147           setAttributes = _this$props2.setAttributes;
       
  6148       var ref = this.ref;
       
  6149       var bookmark;
       
  6150       this.editor = editor;
       
  6151 
       
  6152       if (content) {
       
  6153         editor.on('loadContent', function () {
       
  6154           return editor.setContent(content);
       
  6155         });
       
  6156       }
       
  6157 
       
  6158       editor.on('blur', function () {
       
  6159         bookmark = editor.selection.getBookmark(2, true);
       
  6160         setAttributes({
       
  6161           content: editor.getContent()
       
  6162         });
       
  6163         editor.once('focus', function () {
       
  6164           if (bookmark) {
       
  6165             editor.selection.moveToBookmark(bookmark);
       
  6166           }
       
  6167         });
       
  6168         return false;
       
  6169       });
       
  6170       editor.on('mousedown touchstart', function () {
       
  6171         bookmark = null;
       
  6172       });
       
  6173       editor.on('keydown', function (event) {
       
  6174         if ((event.keyCode === external_this_wp_keycodes_["BACKSPACE"] || event.keyCode === external_this_wp_keycodes_["DELETE"]) && isTmceEmpty(editor)) {
       
  6175           // delete the block
       
  6176           _this2.props.onReplace([]);
       
  6177 
       
  6178           event.preventDefault();
       
  6179           event.stopImmediatePropagation();
       
  6180         }
       
  6181 
       
  6182         var altKey = event.altKey;
       
  6183         /*
       
  6184          * Prevent Mousetrap from kicking in: TinyMCE already uses its own
       
  6185          * `alt+f10` shortcut to focus its toolbar.
       
  6186          */
       
  6187 
       
  6188         if (altKey && event.keyCode === external_this_wp_keycodes_["F10"]) {
       
  6189           event.stopPropagation();
       
  6190         }
       
  6191       }); // TODO: the following is for back-compat with WP 4.9, not needed in WP 5.0. Remove it after the release.
       
  6192 
       
  6193       editor.addButton('kitchensink', {
       
  6194         tooltip: Object(external_this_wp_i18n_["_x"])('More', 'button to expand options'),
       
  6195         icon: 'dashicon dashicons-editor-kitchensink',
       
  6196         onClick: function onClick() {
       
  6197           var button = this;
       
  6198           var active = !button.active();
       
  6199           button.active(active);
       
  6200           editor.dom.toggleClass(ref, 'has-advanced-toolbar', active);
       
  6201         }
       
  6202       }); // Show the second, third, etc. toolbars when the `kitchensink` button is removed by a plugin.
       
  6203 
       
  6204       editor.on('init', function () {
       
  6205         if (editor.settings.toolbar1 && editor.settings.toolbar1.indexOf('kitchensink') === -1) {
       
  6206           editor.dom.addClass(ref, 'has-advanced-toolbar');
       
  6207         }
       
  6208       });
       
  6209       editor.addButton('wp_add_media', {
       
  6210         tooltip: Object(external_this_wp_i18n_["__"])('Insert Media'),
       
  6211         icon: 'dashicon dashicons-admin-media',
       
  6212         cmd: 'WP_Medialib'
       
  6213       }); // End TODO.
       
  6214 
       
  6215       editor.on('init', function () {
       
  6216         var rootNode = _this2.editor.getBody(); // Create the toolbar by refocussing the editor.
       
  6217 
       
  6218 
       
  6219         if (document.activeElement === rootNode) {
       
  6220           rootNode.blur();
       
  6221 
       
  6222           _this2.editor.focus();
       
  6223         }
       
  6224       });
       
  6225     }
       
  6226   }, {
       
  6227     key: "focus",
       
  6228     value: function focus() {
       
  6229       if (this.editor) {
       
  6230         this.editor.focus();
       
  6231       }
       
  6232     }
       
  6233   }, {
       
  6234     key: "onToolbarKeyDown",
       
  6235     value: function onToolbarKeyDown(event) {
       
  6236       // Prevent WritingFlow from kicking in and allow arrows navigation on the toolbar.
       
  6237       event.stopPropagation(); // Prevent Mousetrap from moving focus to the top toolbar when pressing `alt+f10` on this block toolbar.
       
  6238 
       
  6239       event.nativeEvent.stopImmediatePropagation();
       
  6240     }
       
  6241   }, {
       
  6242     key: "render",
       
  6243     value: function render() {
       
  6244       var _this3 = this;
       
  6245 
       
  6246       var clientId = this.props.clientId; // Disable reason: the toolbar itself is non-interactive, but must capture
       
  6247       // events from the KeyboardShortcuts component to stop their propagation.
       
  6248 
       
  6249       /* eslint-disable jsx-a11y/no-static-element-interactions */
       
  6250 
       
  6251       return [// Disable reason: Clicking on this visual placeholder should create
       
  6252       // the toolbar, it can also be created by focussing the field below.
       
  6253 
       
  6254       /* eslint-disable jsx-a11y/no-static-element-interactions, jsx-a11y/click-events-have-key-events */
       
  6255       Object(external_this_wp_element_["createElement"])("div", {
       
  6256         key: "toolbar",
       
  6257         id: "toolbar-".concat(clientId),
       
  6258         ref: function ref(_ref) {
       
  6259           return _this3.ref = _ref;
       
  6260         },
       
  6261         className: "block-library-classic__toolbar",
       
  6262         onClick: this.focus,
       
  6263         "data-placeholder": Object(external_this_wp_i18n_["__"])('Classic'),
       
  6264         onKeyDown: this.onToolbarKeyDown
       
  6265       }), Object(external_this_wp_element_["createElement"])("div", {
       
  6266         key: "editor",
       
  6267         id: "editor-".concat(clientId),
       
  6268         className: "wp-block-freeform block-library-rich-text__tinymce"
       
  6269       })];
       
  6270       /* eslint-enable jsx-a11y/no-static-element-interactions */
       
  6271     }
       
  6272   }]);
       
  6273 
       
  6274   return ClassicEdit;
       
  6275 }(external_this_wp_element_["Component"]);
       
  6276 
       
  6277 
       
  6278 
       
  6279 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/classic/index.js
       
  6280 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return classic_name; });
       
  6281 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return classic_settings; });
       
  6282 
       
  6283 
       
  6284 /**
       
  6285  * WordPress dependencies
       
  6286  */
       
  6287 
       
  6288 
       
  6289 
       
  6290 /**
       
  6291  * Internal dependencies
       
  6292  */
       
  6293 
       
  6294 
       
  6295 var classic_name = 'core/freeform';
       
  6296 var classic_settings = {
       
  6297   title: Object(external_this_wp_i18n_["_x"])('Classic', 'block title'),
       
  6298   description: Object(external_this_wp_i18n_["__"])('Use the classic WordPress editor.'),
       
  6299   icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
  6300     viewBox: "0 0 24 24",
       
  6301     xmlns: "http://www.w3.org/2000/svg"
       
  6302   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
  6303     d: "M0,0h24v24H0V0z M0,0h24v24H0V0z",
       
  6304     fill: "none"
       
  6305   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
  6306     d: "m20 7v10h-16v-10h16m0-2h-16c-1.1 0-1.99 0.9-1.99 2l-0.01 10c0 1.1 0.9 2 2 2h16c1.1 0 2-0.9 2-2v-10c0-1.1-0.9-2-2-2z"
       
  6307   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
       
  6308     x: "11",
       
  6309     y: "8",
       
  6310     width: "2",
       
  6311     height: "2"
       
  6312   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
       
  6313     x: "11",
       
  6314     y: "11",
       
  6315     width: "2",
       
  6316     height: "2"
       
  6317   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
       
  6318     x: "8",
       
  6319     y: "8",
       
  6320     width: "2",
       
  6321     height: "2"
       
  6322   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
       
  6323     x: "8",
       
  6324     y: "11",
       
  6325     width: "2",
       
  6326     height: "2"
       
  6327   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
       
  6328     x: "5",
       
  6329     y: "11",
       
  6330     width: "2",
       
  6331     height: "2"
       
  6332   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
       
  6333     x: "5",
       
  6334     y: "8",
       
  6335     width: "2",
       
  6336     height: "2"
       
  6337   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
       
  6338     x: "8",
       
  6339     y: "14",
       
  6340     width: "8",
       
  6341     height: "2"
       
  6342   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
       
  6343     x: "14",
       
  6344     y: "11",
       
  6345     width: "2",
       
  6346     height: "2"
       
  6347   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
       
  6348     x: "14",
       
  6349     y: "8",
       
  6350     width: "2",
       
  6351     height: "2"
       
  6352   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
       
  6353     x: "17",
       
  6354     y: "11",
       
  6355     width: "2",
       
  6356     height: "2"
       
  6357   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
       
  6358     x: "17",
       
  6359     y: "8",
       
  6360     width: "2",
       
  6361     height: "2"
       
  6362   })),
       
  6363   category: 'formatting',
       
  6364   attributes: {
       
  6365     content: {
       
  6366       type: 'string',
       
  6367       source: 'html'
       
  6368     }
       
  6369   },
       
  6370   supports: {
       
  6371     className: false,
       
  6372     customClassName: false,
       
  6373     // Hide 'Add to Reusable Blocks' on Classic blocks. Showing it causes a
       
  6374     // confusing UX, because of its similarity to the 'Convert to Blocks' button.
       
  6375     reusable: false
       
  6376   },
       
  6377   edit: edit_ClassicEdit,
       
  6378   save: function save(_ref) {
       
  6379     var attributes = _ref.attributes;
       
  6380     var content = attributes.content;
       
  6381     return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["RawHTML"], null, content);
       
  6382   }
       
  6383 };
       
  6384 
       
  6385 
       
  6386 /***/ }),
       
  6387 /* 140 */,
       
  6388 /* 141 */,
       
  6389 /* 142 */,
       
  6390 /* 143 */,
       
  6391 /* 144 */,
       
  6392 /* 145 */,
       
  6393 /* 146 */,
       
  6394 /* 147 */,
       
  6395 /* 148 */,
       
  6396 /* 149 */,
       
  6397 /* 150 */,
       
  6398 /* 151 */,
       
  6399 /* 152 */,
       
  6400 /* 153 */,
       
  6401 /* 154 */,
       
  6402 /* 155 */,
       
  6403 /* 156 */,
       
  6404 /* 157 */,
       
  6405 /* 158 */,
       
  6406 /* 159 */,
       
  6407 /* 160 */,
       
  6408 /* 161 */,
       
  6409 /* 162 */,
       
  6410 /* 163 */,
       
  6411 /* 164 */,
       
  6412 /* 165 */,
       
  6413 /* 166 */,
       
  6414 /* 167 */,
       
  6415 /* 168 */,
       
  6416 /* 169 */,
       
  6417 /* 170 */,
       
  6418 /* 171 */,
       
  6419 /* 172 */,
       
  6420 /* 173 */,
       
  6421 /* 174 */,
       
  6422 /* 175 */,
       
  6423 /* 176 */,
       
  6424 /* 177 */,
       
  6425 /* 178 */,
       
  6426 /* 179 */,
       
  6427 /* 180 */,
       
  6428 /* 181 */,
       
  6429 /* 182 */,
       
  6430 /* 183 */,
       
  6431 /* 184 */,
       
  6432 /* 185 */,
       
  6433 /* 186 */,
       
  6434 /* 187 */,
       
  6435 /* 188 */,
       
  6436 /* 189 */,
       
  6437 /* 190 */,
       
  6438 /* 191 */,
       
  6439 /* 192 */,
       
  6440 /* 193 */,
       
  6441 /* 194 */,
       
  6442 /* 195 */,
       
  6443 /* 196 */,
       
  6444 /* 197 */,
       
  6445 /* 198 */,
       
  6446 /* 199 */,
       
  6447 /* 200 */,
       
  6448 /* 201 */,
       
  6449 /* 202 */,
       
  6450 /* 203 */,
       
  6451 /* 204 */,
       
  6452 /* 205 */,
       
  6453 /* 206 */,
       
  6454 /* 207 */,
       
  6455 /* 208 */
       
  6456 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  6457 
       
  6458 "use strict";
       
  6459 __webpack_require__.r(__webpack_exports__);
       
  6460 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return name; });
       
  6461 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
  6462 /* harmony import */ var _babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7);
       
  6463 /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21);
       
  6464 /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(17);
       
  6465 /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(15);
       
  6466 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(0);
       
  6467 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__);
       
  6468 /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2);
       
  6469 /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_5__);
       
  6470 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1);
       
  6471 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__);
       
  6472 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(14);
       
  6473 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__);
       
  6474 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(8);
       
  6475 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__);
       
  6476 /* harmony import */ var _wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(20);
       
  6477 /* harmony import */ var _wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__);
       
  6478 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(4);
       
  6479 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_10__);
       
  6480 
       
  6481 
       
  6482 
       
  6483 
       
  6484 
       
  6485 var _blockAttributes;
       
  6486 
       
  6487 
       
  6488 
       
  6489 /**
       
  6490  * External dependencies
       
  6491  */
       
  6492 
       
  6493 /**
       
  6494  * WordPress dependencies
       
  6495  */
       
  6496 
       
  6497 
       
  6498 
       
  6499 
       
  6500 
       
  6501 
       
  6502 
       
  6503 var ATTRIBUTE_QUOTE = 'value';
       
  6504 var ATTRIBUTE_CITATION = 'citation';
       
  6505 var blockAttributes = (_blockAttributes = {}, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_blockAttributes, ATTRIBUTE_QUOTE, {
       
  6506   type: 'string',
       
  6507   source: 'html',
       
  6508   selector: 'blockquote',
       
  6509   multiline: 'p',
       
  6510   default: ''
       
  6511 }), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_blockAttributes, ATTRIBUTE_CITATION, {
       
  6512   type: 'string',
       
  6513   source: 'html',
       
  6514   selector: 'cite',
       
  6515   default: ''
       
  6516 }), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_blockAttributes, "align", {
       
  6517   type: 'string'
       
  6518 }), _blockAttributes);
       
  6519 var name = 'core/quote';
       
  6520 var settings = {
       
  6521   title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__["__"])('Quote'),
       
  6522   description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__["__"])('Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar'),
       
  6523   icon: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_10__["SVG"], {
       
  6524     viewBox: "0 0 24 24",
       
  6525     xmlns: "http://www.w3.org/2000/svg"
       
  6526   }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_10__["Path"], {
       
  6527     fill: "none",
       
  6528     d: "M0 0h24v24H0V0z"
       
  6529   }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_10__["Path"], {
       
  6530     d: "M18.62 18h-5.24l2-4H13V6h8v7.24L18.62 18zm-2-2h.76L19 12.76V8h-4v4h3.62l-2 4zm-8 2H3.38l2-4H3V6h8v7.24L8.62 18zm-2-2h.76L9 12.76V8H5v4h3.62l-2 4z"
       
  6531   })),
       
  6532   category: 'common',
       
  6533   keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__["__"])('blockquote')],
       
  6534   attributes: blockAttributes,
       
  6535   styles: [{
       
  6536     name: 'default',
       
  6537     label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__["_x"])('Default', 'block style'),
       
  6538     isDefault: true
       
  6539   }, {
       
  6540     name: 'large',
       
  6541     label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__["_x"])('Large', 'block style')
       
  6542   }],
       
  6543   transforms: {
       
  6544     from: [{
       
  6545       type: 'block',
       
  6546       isMultiBlock: true,
       
  6547       blocks: ['core/paragraph'],
       
  6548       transform: function transform(attributes) {
       
  6549         return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["createBlock"])('core/quote', {
       
  6550           value: Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__["toHTMLString"])({
       
  6551             value: Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__["join"])(attributes.map(function (_ref) {
       
  6552               var content = _ref.content;
       
  6553               return Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__["create"])({
       
  6554                 html: content
       
  6555               });
       
  6556             }), "\u2028"),
       
  6557             multilineTag: 'p'
       
  6558           })
       
  6559         });
       
  6560       }
       
  6561     }, {
       
  6562       type: 'block',
       
  6563       blocks: ['core/heading'],
       
  6564       transform: function transform(_ref2) {
       
  6565         var content = _ref2.content;
       
  6566         return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["createBlock"])('core/quote', {
       
  6567           value: "<p>".concat(content, "</p>")
       
  6568         });
       
  6569       }
       
  6570     }, {
       
  6571       type: 'block',
       
  6572       blocks: ['core/pullquote'],
       
  6573       transform: function transform(_ref3) {
       
  6574         var value = _ref3.value,
       
  6575             citation = _ref3.citation;
       
  6576         return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["createBlock"])('core/quote', {
       
  6577           value: value,
       
  6578           citation: citation
       
  6579         });
       
  6580       }
       
  6581     }, {
       
  6582       type: 'prefix',
       
  6583       prefix: '>',
       
  6584       transform: function transform(content) {
       
  6585         return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["createBlock"])('core/quote', {
       
  6586           value: "<p>".concat(content, "</p>")
       
  6587         });
       
  6588       }
       
  6589     }, {
       
  6590       type: 'raw',
       
  6591       isMatch: function isMatch(node) {
       
  6592         var isParagraphOrSingleCite = function () {
       
  6593           var hasCitation = false;
       
  6594           return function (child) {
       
  6595             // Child is a paragraph.
       
  6596             if (child.nodeName === 'P') {
       
  6597               return true;
       
  6598             } // Child is a cite and no other cite child exists before it.
       
  6599 
       
  6600 
       
  6601             if (!hasCitation && child.nodeName === 'CITE') {
       
  6602               hasCitation = true;
       
  6603               return true;
       
  6604             }
       
  6605           };
       
  6606         }();
       
  6607 
       
  6608         return node.nodeName === 'BLOCKQUOTE' && // The quote block can only handle multiline paragraph
       
  6609         // content with an optional cite child.
       
  6610         Array.from(node.childNodes).every(isParagraphOrSingleCite);
       
  6611       },
       
  6612       schema: {
       
  6613         blockquote: {
       
  6614           children: {
       
  6615             p: {
       
  6616               children: Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["getPhrasingContentSchema"])()
       
  6617             },
       
  6618             cite: {
       
  6619               children: Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["getPhrasingContentSchema"])()
       
  6620             }
       
  6621           }
       
  6622         }
       
  6623       }
       
  6624     }],
       
  6625     to: [{
       
  6626       type: 'block',
       
  6627       blocks: ['core/paragraph'],
       
  6628       transform: function transform(_ref4) {
       
  6629         var value = _ref4.value,
       
  6630             citation = _ref4.citation;
       
  6631         var paragraphs = [];
       
  6632 
       
  6633         if (value && value !== '<p></p>') {
       
  6634           paragraphs.push.apply(paragraphs, Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__["split"])(Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__["create"])({
       
  6635             html: value,
       
  6636             multilineTag: 'p'
       
  6637           }), "\u2028").map(function (piece) {
       
  6638             return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["createBlock"])('core/paragraph', {
       
  6639               content: Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__["toHTMLString"])({
       
  6640                 value: piece
       
  6641               })
       
  6642             });
       
  6643           })));
       
  6644         }
       
  6645 
       
  6646         if (citation && citation !== '<p></p>') {
       
  6647           paragraphs.push(Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["createBlock"])('core/paragraph', {
       
  6648             content: citation
       
  6649           }));
       
  6650         }
       
  6651 
       
  6652         if (paragraphs.length === 0) {
       
  6653           return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["createBlock"])('core/paragraph', {
       
  6654             content: ''
       
  6655           });
       
  6656         }
       
  6657 
       
  6658         return paragraphs;
       
  6659       }
       
  6660     }, {
       
  6661       type: 'block',
       
  6662       blocks: ['core/heading'],
       
  6663       transform: function transform(_ref5) {
       
  6664         var value = _ref5.value,
       
  6665             citation = _ref5.citation,
       
  6666             attrs = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref5, ["value", "citation"]);
       
  6667 
       
  6668         // If there is no quote content, use the citation as the
       
  6669         // content of the resulting heading. A nonexistent citation
       
  6670         // will result in an empty heading.
       
  6671         if (value === '<p></p>') {
       
  6672           return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["createBlock"])('core/heading', {
       
  6673             content: citation
       
  6674           });
       
  6675         }
       
  6676 
       
  6677         var pieces = Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__["split"])(Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__["create"])({
       
  6678           html: value,
       
  6679           multilineTag: 'p'
       
  6680         }), "\u2028");
       
  6681         var headingBlock = Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["createBlock"])('core/heading', {
       
  6682           content: Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__["toHTMLString"])({
       
  6683             value: pieces[0]
       
  6684           })
       
  6685         });
       
  6686 
       
  6687         if (!citation && pieces.length === 1) {
       
  6688           return headingBlock;
       
  6689         }
       
  6690 
       
  6691         var quotePieces = pieces.slice(1);
       
  6692         var quoteBlock = Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["createBlock"])('core/quote', Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, attrs, {
       
  6693           citation: citation,
       
  6694           value: Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__["toHTMLString"])({
       
  6695             value: quotePieces.length ? Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__["join"])(pieces.slice(1), "\u2028") : Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__["create"])(),
       
  6696             multilineTag: 'p'
       
  6697           })
       
  6698         }));
       
  6699         return [headingBlock, quoteBlock];
       
  6700       }
       
  6701     }, {
       
  6702       type: 'block',
       
  6703       blocks: ['core/pullquote'],
       
  6704       transform: function transform(_ref6) {
       
  6705         var value = _ref6.value,
       
  6706             citation = _ref6.citation;
       
  6707         return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["createBlock"])('core/pullquote', {
       
  6708           value: value,
       
  6709           citation: citation
       
  6710         });
       
  6711       }
       
  6712     }]
       
  6713   },
       
  6714   edit: function edit(_ref7) {
       
  6715     var attributes = _ref7.attributes,
       
  6716         setAttributes = _ref7.setAttributes,
       
  6717         isSelected = _ref7.isSelected,
       
  6718         mergeBlocks = _ref7.mergeBlocks,
       
  6719         onReplace = _ref7.onReplace,
       
  6720         className = _ref7.className;
       
  6721     var align = attributes.align,
       
  6722         value = attributes.value,
       
  6723         citation = attributes.citation;
       
  6724     return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["Fragment"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["BlockControls"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["AlignmentToolbar"], {
       
  6725       value: align,
       
  6726       onChange: function onChange(nextAlign) {
       
  6727         setAttributes({
       
  6728           align: nextAlign
       
  6729         });
       
  6730       }
       
  6731     })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])("blockquote", {
       
  6732       className: className,
       
  6733       style: {
       
  6734         textAlign: align
       
  6735       }
       
  6736     }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["RichText"], {
       
  6737       identifier: ATTRIBUTE_QUOTE,
       
  6738       multiline: true,
       
  6739       value: value,
       
  6740       onChange: function onChange(nextValue) {
       
  6741         return setAttributes({
       
  6742           value: nextValue
       
  6743         });
       
  6744       },
       
  6745       onMerge: mergeBlocks,
       
  6746       onRemove: function onRemove(forward) {
       
  6747         var hasEmptyCitation = !citation || citation.length === 0;
       
  6748 
       
  6749         if (!forward && hasEmptyCitation) {
       
  6750           onReplace([]);
       
  6751         }
       
  6752       },
       
  6753       placeholder: // translators: placeholder text used for the quote
       
  6754       Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__["__"])('Write quote…')
       
  6755     }), (!_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["RichText"].isEmpty(citation) || isSelected) && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["RichText"], {
       
  6756       identifier: ATTRIBUTE_CITATION,
       
  6757       value: citation,
       
  6758       onChange: function onChange(nextCitation) {
       
  6759         return setAttributes({
       
  6760           citation: nextCitation
       
  6761         });
       
  6762       },
       
  6763       placeholder: // translators: placeholder text used for the citation
       
  6764       Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__["__"])('Write citation…'),
       
  6765       className: "wp-block-quote__citation"
       
  6766     })));
       
  6767   },
       
  6768   save: function save(_ref8) {
       
  6769     var attributes = _ref8.attributes;
       
  6770     var align = attributes.align,
       
  6771         value = attributes.value,
       
  6772         citation = attributes.citation;
       
  6773     return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])("blockquote", {
       
  6774       style: {
       
  6775         textAlign: align ? align : null
       
  6776       }
       
  6777     }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["RichText"].Content, {
       
  6778       multiline: true,
       
  6779       value: value
       
  6780     }), !_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["RichText"].isEmpty(citation) && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["RichText"].Content, {
       
  6781       tagName: "cite",
       
  6782       value: citation
       
  6783     }));
       
  6784   },
       
  6785   merge: function merge(attributes, _ref9) {
       
  6786     var value = _ref9.value,
       
  6787         citation = _ref9.citation;
       
  6788 
       
  6789     if (!value || value === '<p></p>') {
       
  6790       return Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, attributes, {
       
  6791         citation: attributes.citation + citation
       
  6792       });
       
  6793     }
       
  6794 
       
  6795     return Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, attributes, {
       
  6796       value: attributes.value + value,
       
  6797       citation: attributes.citation + citation
       
  6798     });
       
  6799   },
       
  6800   deprecated: [{
       
  6801     attributes: Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, blockAttributes, {
       
  6802       style: {
       
  6803         type: 'number',
       
  6804         default: 1
       
  6805       }
       
  6806     }),
       
  6807     migrate: function migrate(attributes) {
       
  6808       if (attributes.style === 2) {
       
  6809         return Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, Object(lodash__WEBPACK_IMPORTED_MODULE_5__["omit"])(attributes, ['style']), {
       
  6810           className: attributes.className ? attributes.className + ' is-style-large' : 'is-style-large'
       
  6811         });
       
  6812       }
       
  6813 
       
  6814       return attributes;
       
  6815     },
       
  6816     save: function save(_ref10) {
       
  6817       var attributes = _ref10.attributes;
       
  6818       var align = attributes.align,
       
  6819           value = attributes.value,
       
  6820           citation = attributes.citation,
       
  6821           style = attributes.style;
       
  6822       return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])("blockquote", {
       
  6823         className: style === 2 ? 'is-large' : '',
       
  6824         style: {
       
  6825           textAlign: align ? align : null
       
  6826         }
       
  6827       }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["RichText"].Content, {
       
  6828         multiline: true,
       
  6829         value: value
       
  6830       }), !_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["RichText"].isEmpty(citation) && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["RichText"].Content, {
       
  6831         tagName: "cite",
       
  6832         value: citation
       
  6833       }));
       
  6834     }
       
  6835   }, {
       
  6836     attributes: Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, blockAttributes, {
       
  6837       citation: {
       
  6838         type: 'string',
       
  6839         source: 'html',
       
  6840         selector: 'footer',
       
  6841         default: ''
       
  6842       },
       
  6843       style: {
       
  6844         type: 'number',
       
  6845         default: 1
       
  6846       }
       
  6847     }),
       
  6848     save: function save(_ref11) {
       
  6849       var attributes = _ref11.attributes;
       
  6850       var align = attributes.align,
       
  6851           value = attributes.value,
       
  6852           citation = attributes.citation,
       
  6853           style = attributes.style;
       
  6854       return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])("blockquote", {
       
  6855         className: "blocks-quote-style-".concat(style),
       
  6856         style: {
       
  6857           textAlign: align ? align : null
       
  6858         }
       
  6859       }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["RichText"].Content, {
       
  6860         multiline: true,
       
  6861         value: value
       
  6862       }), !_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["RichText"].isEmpty(citation) && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["RichText"].Content, {
       
  6863         tagName: "footer",
       
  6864         value: citation
       
  6865       }));
       
  6866     }
       
  6867   }]
       
  6868 };
       
  6869 
       
  6870 
       
  6871 /***/ }),
       
  6872 /* 209 */
       
  6873 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  6874 
       
  6875 "use strict";
       
  6876 __webpack_require__.r(__webpack_exports__);
       
  6877 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return name; });
       
  6878 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
  6879 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
  6880 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
  6881 /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2);
       
  6882 /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
       
  6883 /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16);
       
  6884 /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
       
  6885 /* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(41);
       
  6886 /* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(memize__WEBPACK_IMPORTED_MODULE_3__);
       
  6887 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1);
       
  6888 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__);
       
  6889 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(4);
       
  6890 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__);
       
  6891 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(14);
       
  6892 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__);
       
  6893 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(8);
       
  6894 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_7__);
       
  6895 
       
  6896 
       
  6897 /**
       
  6898  * External dependencies
       
  6899  */
       
  6900 
       
  6901 
       
  6902 
       
  6903 /**
       
  6904  * WordPress dependencies
       
  6905  */
       
  6906 
       
  6907 
       
  6908 
       
  6909 
       
  6910 
       
  6911 
       
  6912 /**
       
  6913  * Allowed blocks constant is passed to InnerBlocks precisely as specified here.
       
  6914  * The contents of the array should never change.
       
  6915  * The array should contain the name of each block that is allowed.
       
  6916  * In columns block, the only block we allow is 'core/column'.
       
  6917  *
       
  6918  * @constant
       
  6919  * @type {string[]}
       
  6920 */
       
  6921 
       
  6922 var ALLOWED_BLOCKS = ['core/column'];
       
  6923 /**
       
  6924  * Returns the layouts configuration for a given number of columns.
       
  6925  *
       
  6926  * @param {number} columns Number of columns.
       
  6927  *
       
  6928  * @return {Object[]} Columns layout configuration.
       
  6929  */
       
  6930 
       
  6931 var getColumnsTemplate = memize__WEBPACK_IMPORTED_MODULE_3___default()(function (columns) {
       
  6932   return Object(lodash__WEBPACK_IMPORTED_MODULE_1__["times"])(columns, function () {
       
  6933     return ['core/column'];
       
  6934   });
       
  6935 });
       
  6936 /**
       
  6937  * Given an HTML string for a deprecated columns inner block, returns the
       
  6938  * column index to which the migrated inner block should be assigned. Returns
       
  6939  * undefined if the inner block was not assigned to a column.
       
  6940  *
       
  6941  * @param {string} originalContent Deprecated Columns inner block HTML.
       
  6942  *
       
  6943  * @return {?number} Column to which inner block is to be assigned.
       
  6944  */
       
  6945 
       
  6946 function getDeprecatedLayoutColumn(originalContent) {
       
  6947   var doc = getDeprecatedLayoutColumn.doc;
       
  6948 
       
  6949   if (!doc) {
       
  6950     doc = document.implementation.createHTMLDocument('');
       
  6951     getDeprecatedLayoutColumn.doc = doc;
       
  6952   }
       
  6953 
       
  6954   var columnMatch;
       
  6955   doc.body.innerHTML = originalContent;
       
  6956   var _iteratorNormalCompletion = true;
       
  6957   var _didIteratorError = false;
       
  6958   var _iteratorError = undefined;
       
  6959 
       
  6960   try {
       
  6961     for (var _iterator = doc.body.firstChild.classList[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
       
  6962       var classListItem = _step.value;
       
  6963 
       
  6964       if (columnMatch = classListItem.match(/^layout-column-(\d+)$/)) {
       
  6965         return Number(columnMatch[1]) - 1;
       
  6966       }
       
  6967     }
       
  6968   } catch (err) {
       
  6969     _didIteratorError = true;
       
  6970     _iteratorError = err;
       
  6971   } finally {
       
  6972     try {
       
  6973       if (!_iteratorNormalCompletion && _iterator.return != null) {
       
  6974         _iterator.return();
       
  6975       }
       
  6976     } finally {
       
  6977       if (_didIteratorError) {
       
  6978         throw _iteratorError;
       
  6979       }
       
  6980     }
       
  6981   }
       
  6982 }
       
  6983 
       
  6984 var name = 'core/columns';
       
  6985 var settings = {
       
  6986   title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["__"])('Columns'),
       
  6987   icon: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["SVG"], {
       
  6988     viewBox: "0 0 24 24",
       
  6989     xmlns: "http://www.w3.org/2000/svg"
       
  6990   }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["Path"], {
       
  6991     fill: "none",
       
  6992     d: "M0 0h24v24H0V0z"
       
  6993   }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["G"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["Path"], {
       
  6994     d: "M4,4H20a2,2,0,0,1,2,2V18a2,2,0,0,1-2,2H4a2,2,0,0,1-2-2V6A2,2,0,0,1,4,4ZM4 6V18H8V6Zm6 0V18h4V6Zm6 0V18h4V6Z"
       
  6995   }))),
       
  6996   category: 'layout',
       
  6997   attributes: {
       
  6998     columns: {
       
  6999       type: 'number',
       
  7000       default: 2
       
  7001     }
       
  7002   },
       
  7003   description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["__"])('Add a block that displays content in multiple columns, then add whatever content blocks you’d like.'),
       
  7004   supports: {
       
  7005     align: ['wide', 'full'],
       
  7006     html: false
       
  7007   },
       
  7008   deprecated: [{
       
  7009     attributes: {
       
  7010       columns: {
       
  7011         type: 'number',
       
  7012         default: 2
       
  7013       }
       
  7014     },
       
  7015     isEligible: function isEligible(attributes, innerBlocks) {
       
  7016       // Since isEligible is called on every valid instance of the
       
  7017       // Columns block and a deprecation is the unlikely case due to
       
  7018       // its subsequent migration, optimize for the `false` condition
       
  7019       // by performing a naive, inaccurate pass at inner blocks.
       
  7020       var isFastPassEligible = innerBlocks.some(function (innerBlock) {
       
  7021         return /layout-column-\d+/.test(innerBlock.originalContent);
       
  7022       });
       
  7023 
       
  7024       if (!isFastPassEligible) {
       
  7025         return false;
       
  7026       } // Only if the fast pass is considered eligible is the more
       
  7027       // accurate, durable, slower condition performed.
       
  7028 
       
  7029 
       
  7030       return innerBlocks.some(function (innerBlock) {
       
  7031         return getDeprecatedLayoutColumn(innerBlock.originalContent) !== undefined;
       
  7032       });
       
  7033     },
       
  7034     migrate: function migrate(attributes, innerBlocks) {
       
  7035       var columns = innerBlocks.reduce(function (result, innerBlock) {
       
  7036         var originalContent = innerBlock.originalContent;
       
  7037         var columnIndex = getDeprecatedLayoutColumn(originalContent);
       
  7038 
       
  7039         if (columnIndex === undefined) {
       
  7040           columnIndex = 0;
       
  7041         }
       
  7042 
       
  7043         if (!result[columnIndex]) {
       
  7044           result[columnIndex] = [];
       
  7045         }
       
  7046 
       
  7047         result[columnIndex].push(innerBlock);
       
  7048         return result;
       
  7049       }, []);
       
  7050       var migratedInnerBlocks = columns.map(function (columnBlocks) {
       
  7051         return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__["createBlock"])('core/column', {}, columnBlocks);
       
  7052       });
       
  7053       return [attributes, migratedInnerBlocks];
       
  7054     },
       
  7055     save: function save(_ref) {
       
  7056       var attributes = _ref.attributes;
       
  7057       var columns = attributes.columns;
       
  7058       return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
       
  7059         className: "has-".concat(columns, "-columns")
       
  7060       }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_7__["InnerBlocks"].Content, null));
       
  7061     }
       
  7062   }],
       
  7063   edit: function edit(_ref2) {
       
  7064     var attributes = _ref2.attributes,
       
  7065         setAttributes = _ref2.setAttributes,
       
  7066         className = _ref2.className;
       
  7067     var columns = attributes.columns;
       
  7068     var classes = classnames__WEBPACK_IMPORTED_MODULE_2___default()(className, "has-".concat(columns, "-columns"));
       
  7069     return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_7__["InspectorControls"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["PanelBody"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["RangeControl"], {
       
  7070       label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["__"])('Columns'),
       
  7071       value: columns,
       
  7072       onChange: function onChange(nextColumns) {
       
  7073         setAttributes({
       
  7074           columns: nextColumns
       
  7075         });
       
  7076       },
       
  7077       min: 2,
       
  7078       max: 6,
       
  7079       required: true
       
  7080     }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
       
  7081       className: classes
       
  7082     }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_7__["InnerBlocks"], {
       
  7083       template: getColumnsTemplate(columns),
       
  7084       templateLock: "all",
       
  7085       allowedBlocks: ALLOWED_BLOCKS
       
  7086     })));
       
  7087   },
       
  7088   save: function save(_ref3) {
       
  7089     var attributes = _ref3.attributes;
       
  7090     var columns = attributes.columns;
       
  7091     return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
       
  7092       className: "has-".concat(columns, "-columns")
       
  7093     }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_7__["InnerBlocks"].Content, null));
       
  7094   }
       
  7095 };
       
  7096 
       
  7097 
       
  7098 /***/ }),
       
  7099 /* 210 */
       
  7100 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  7101 
       
  7102 "use strict";
       
  7103 __webpack_require__.r(__webpack_exports__);
       
  7104 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return name; });
       
  7105 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
  7106 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
  7107 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
  7108 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
       
  7109 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__);
       
  7110 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1);
       
  7111 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);
       
  7112 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8);
       
  7113 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__);
       
  7114 
       
  7115 
       
  7116 /**
       
  7117  * WordPress dependencies
       
  7118  */
       
  7119 
       
  7120 
       
  7121 
       
  7122 var name = 'core/column';
       
  7123 var settings = {
       
  7124   title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Column'),
       
  7125   parent: ['core/columns'],
       
  7126   icon: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
       
  7127     xmlns: "http://www.w3.org/2000/svg",
       
  7128     viewBox: "0 0 24 24"
       
  7129   }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
  7130     fill: "none",
       
  7131     d: "M0 0h24v24H0V0z"
       
  7132   }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
  7133     d: "M11.99 18.54l-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16zm0-11.47L17.74 9 12 13.47 6.26 9 12 4.53z"
       
  7134   })),
       
  7135   description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('A single column within a columns block.'),
       
  7136   category: 'common',
       
  7137   supports: {
       
  7138     inserter: false,
       
  7139     reusable: false,
       
  7140     html: false
       
  7141   },
       
  7142   edit: function edit() {
       
  7143     return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__["InnerBlocks"], {
       
  7144       templateLock: false
       
  7145     });
       
  7146   },
       
  7147   save: function save() {
       
  7148     return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__["InnerBlocks"].Content, null));
       
  7149   }
       
  7150 };
       
  7151 
       
  7152 
       
  7153 /***/ }),
       
  7154 /* 211 */
       
  7155 /***/ (function(module, exports, __webpack_require__) {
       
  7156 
       
  7157 /*! Fast Average Color | © 2019 Denis Seleznev | MIT License | https://github.com/hcodes/fast-average-color/ */
       
  7158 (function (global, factory) {
       
  7159 	 true ? module.exports = factory() :
       
  7160 	undefined;
       
  7161 }(this, (function () { 'use strict';
       
  7162 
       
  7163 function _classCallCheck(instance, Constructor) {
       
  7164   if (!(instance instanceof Constructor)) {
       
  7165     throw new TypeError("Cannot call a class as a function");
       
  7166   }
       
  7167 }
       
  7168 
       
  7169 function _defineProperties(target, props) {
       
  7170   for (var i = 0; i < props.length; i++) {
       
  7171     var descriptor = props[i];
       
  7172     descriptor.enumerable = descriptor.enumerable || false;
       
  7173     descriptor.configurable = true;
       
  7174     if ("value" in descriptor) descriptor.writable = true;
       
  7175     Object.defineProperty(target, descriptor.key, descriptor);
       
  7176   }
       
  7177 }
       
  7178 
       
  7179 function _createClass(Constructor, protoProps, staticProps) {
       
  7180   if (protoProps) _defineProperties(Constructor.prototype, protoProps);
       
  7181   if (staticProps) _defineProperties(Constructor, staticProps);
       
  7182   return Constructor;
       
  7183 }
       
  7184 
       
  7185 function _slicedToArray(arr, i) {
       
  7186   return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
       
  7187 }
       
  7188 
       
  7189 function _arrayWithHoles(arr) {
       
  7190   if (Array.isArray(arr)) return arr;
       
  7191 }
       
  7192 
       
  7193 function _iterableToArrayLimit(arr, i) {
       
  7194   var _arr = [];
       
  7195   var _n = true;
       
  7196   var _d = false;
       
  7197   var _e = undefined;
       
  7198 
       
  7199   try {
       
  7200     for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
       
  7201       _arr.push(_s.value);
       
  7202 
       
  7203       if (i && _arr.length === i) break;
       
  7204     }
       
  7205   } catch (err) {
       
  7206     _d = true;
       
  7207     _e = err;
       
  7208   } finally {
       
  7209     try {
       
  7210       if (!_n && _i["return"] != null) _i["return"]();
       
  7211     } finally {
       
  7212       if (_d) throw _e;
       
  7213     }
       
  7214   }
       
  7215 
       
  7216   return _arr;
       
  7217 }
       
  7218 
       
  7219 function _nonIterableRest() {
       
  7220   throw new TypeError("Invalid attempt to destructure non-iterable instance");
       
  7221 }
       
  7222 
       
  7223 var FastAverageColor =
       
  7224 /*#__PURE__*/
       
  7225 function () {
       
  7226   function FastAverageColor() {
       
  7227     _classCallCheck(this, FastAverageColor);
       
  7228   }
       
  7229 
       
  7230   _createClass(FastAverageColor, [{
       
  7231     key: "getColorAsync",
       
  7232 
       
  7233     /**
       
  7234      * Get asynchronously the average color from not loaded image.
       
  7235      *
       
  7236      * @param {HTMLImageElement} resource
       
  7237      * @param {Function} callback
       
  7238      * @param {Object|null} [options]
       
  7239      * @param {Array}  [options.defaultColor=[255, 255, 255, 255]]
       
  7240      * @param {*}      [options.data]
       
  7241      * @param {string} [options.mode="speed"] "precision" or "speed"
       
  7242      * @param {string} [options.algorithm="sqrt"] "simple", "sqrt" or "dominant"
       
  7243      * @param {number} [options.step=1]
       
  7244      * @param {number} [options.left=0]
       
  7245      * @param {number} [options.top=0]
       
  7246      * @param {number} [options.width=width of resource]
       
  7247      * @param {number} [options.height=height of resource]
       
  7248      */
       
  7249     value: function getColorAsync(resource, callback, options) {
       
  7250       if (resource.complete) {
       
  7251         callback.call(resource, this.getColor(resource, options), options && options.data);
       
  7252       } else {
       
  7253         this._bindImageEvents(resource, callback, options);
       
  7254       }
       
  7255     }
       
  7256     /**
       
  7257      * Get the average color from images, videos and canvas.
       
  7258      *
       
  7259      * @param {HTMLImageElement|HTMLVideoElement|HTMLCanvasElement} resource
       
  7260      * @param {Object|null} [options]
       
  7261      * @param {Array}  [options.defaultColor=[255, 255, 255, 255]]
       
  7262      * @param {*}      [options.data]
       
  7263      * @param {string} [options.mode="speed"] "precision" or "speed"
       
  7264      * @param {string} [options.algorithm="sqrt"] "simple", "sqrt" or "dominant"
       
  7265      * @param {number} [options.step=1]
       
  7266      * @param {number} [options.left=0]
       
  7267      * @param {number} [options.top=0]
       
  7268      * @param {number} [options.width=width of resource]
       
  7269      * @param {number} [options.height=height of resource]
       
  7270      *
       
  7271      * @returns {Object}
       
  7272      */
       
  7273 
       
  7274   }, {
       
  7275     key: "getColor",
       
  7276     value: function getColor(resource, options) {
       
  7277       options = options || {};
       
  7278 
       
  7279       var defaultColor = this._getDefaultColor(options),
       
  7280           originalSize = this._getOriginalSize(resource),
       
  7281           size = this._prepareSizeAndPosition(originalSize, options);
       
  7282 
       
  7283       var error = null,
       
  7284           value = defaultColor;
       
  7285 
       
  7286       if (!size.srcWidth || !size.srcHeight || !size.destWidth || !size.destHeight) {
       
  7287         return this._prepareResult(defaultColor, new Error('FastAverageColor: Incorrect sizes.'));
       
  7288       }
       
  7289 
       
  7290       if (!this._ctx) {
       
  7291         this._canvas = this._makeCanvas();
       
  7292         this._ctx = this._canvas.getContext && this._canvas.getContext('2d');
       
  7293 
       
  7294         if (!this._ctx) {
       
  7295           return this._prepareResult(defaultColor, new Error('FastAverageColor: Canvas Context 2D is not supported in this browser.'));
       
  7296         }
       
  7297       }
       
  7298 
       
  7299       this._canvas.width = size.destWidth;
       
  7300       this._canvas.height = size.destHeight;
       
  7301 
       
  7302       try {
       
  7303         this._ctx.clearRect(0, 0, size.destWidth, size.destHeight);
       
  7304 
       
  7305         this._ctx.drawImage(resource, size.srcLeft, size.srcTop, size.srcWidth, size.srcHeight, 0, 0, size.destWidth, size.destHeight);
       
  7306 
       
  7307         var bitmapData = this._ctx.getImageData(0, 0, size.destWidth, size.destHeight).data;
       
  7308 
       
  7309         value = this.getColorFromArray4(bitmapData, options);
       
  7310       } catch (e) {
       
  7311         // Security error, CORS
       
  7312         // https://developer.mozilla.org/en/docs/Web/HTML/CORS_enabled_image
       
  7313         error = e;
       
  7314       }
       
  7315 
       
  7316       return this._prepareResult(value, error);
       
  7317     }
       
  7318     /**
       
  7319      * Get the average color from a array when 1 pixel is 4 bytes.
       
  7320      *
       
  7321      * @param {Array|Uint8Array} arr
       
  7322      * @param {Object} [options]
       
  7323      * @param {string} [options.algorithm="sqrt"] "simple", "sqrt" or "dominant"
       
  7324      * @param {Array}  [options.defaultColor=[255, 255, 255, 255]]
       
  7325      * @param {number} [options.step=1]
       
  7326      *
       
  7327      * @returns {Array} [red (0-255), green (0-255), blue (0-255), alpha (0-255)]
       
  7328      */
       
  7329 
       
  7330   }, {
       
  7331     key: "getColorFromArray4",
       
  7332     value: function getColorFromArray4(arr, options) {
       
  7333       options = options || {};
       
  7334       var bytesPerPixel = 4,
       
  7335           arrLength = arr.length;
       
  7336 
       
  7337       if (arrLength < bytesPerPixel) {
       
  7338         return this._getDefaultColor(options);
       
  7339       }
       
  7340 
       
  7341       var len = arrLength - arrLength % bytesPerPixel,
       
  7342           preparedStep = (options.step || 1) * bytesPerPixel,
       
  7343           algorithm = '_' + (options.algorithm || 'sqrt') + 'Algorithm';
       
  7344 
       
  7345       if (typeof this[algorithm] !== 'function') {
       
  7346         throw new Error("FastAverageColor: ".concat(options.algorithm, " is unknown algorithm."));
       
  7347       }
       
  7348 
       
  7349       return this[algorithm](arr, len, preparedStep);
       
  7350     }
       
  7351     /**
       
  7352      * Destroy the instance.
       
  7353      */
       
  7354 
       
  7355   }, {
       
  7356     key: "destroy",
       
  7357     value: function destroy() {
       
  7358       delete this._canvas;
       
  7359       delete this._ctx;
       
  7360     }
       
  7361   }, {
       
  7362     key: "_getDefaultColor",
       
  7363     value: function _getDefaultColor(options) {
       
  7364       return this._getOption(options, 'defaultColor', [255, 255, 255, 255]);
       
  7365     }
       
  7366   }, {
       
  7367     key: "_getOption",
       
  7368     value: function _getOption(options, name, defaultValue) {
       
  7369       return typeof options[name] === 'undefined' ? defaultValue : options[name];
       
  7370     }
       
  7371   }, {
       
  7372     key: "_prepareSizeAndPosition",
       
  7373     value: function _prepareSizeAndPosition(originalSize, options) {
       
  7374       var srcLeft = this._getOption(options, 'left', 0),
       
  7375           srcTop = this._getOption(options, 'top', 0),
       
  7376           srcWidth = this._getOption(options, 'width', originalSize.width),
       
  7377           srcHeight = this._getOption(options, 'height', originalSize.height),
       
  7378           destWidth = srcWidth,
       
  7379           destHeight = srcHeight;
       
  7380 
       
  7381       if (options.mode === 'precision') {
       
  7382         return {
       
  7383           srcLeft: srcLeft,
       
  7384           srcTop: srcTop,
       
  7385           srcWidth: srcWidth,
       
  7386           srcHeight: srcHeight,
       
  7387           destWidth: destWidth,
       
  7388           destHeight: destHeight
       
  7389         };
       
  7390       }
       
  7391 
       
  7392       var maxSize = 100,
       
  7393           minSize = 10;
       
  7394       var factor;
       
  7395 
       
  7396       if (srcWidth > srcHeight) {
       
  7397         factor = srcWidth / srcHeight;
       
  7398         destWidth = maxSize;
       
  7399         destHeight = Math.round(destWidth / factor);
       
  7400       } else {
       
  7401         factor = srcHeight / srcWidth;
       
  7402         destHeight = maxSize;
       
  7403         destWidth = Math.round(destHeight / factor);
       
  7404       }
       
  7405 
       
  7406       if (destWidth > srcWidth || destHeight > srcHeight || destWidth < minSize || destHeight < minSize) {
       
  7407         destWidth = srcWidth;
       
  7408         destHeight = srcHeight;
       
  7409       }
       
  7410 
       
  7411       return {
       
  7412         srcLeft: srcLeft,
       
  7413         srcTop: srcTop,
       
  7414         srcWidth: srcWidth,
       
  7415         srcHeight: srcHeight,
       
  7416         destWidth: destWidth,
       
  7417         destHeight: destHeight
       
  7418       };
       
  7419     }
       
  7420   }, {
       
  7421     key: "_simpleAlgorithm",
       
  7422     value: function _simpleAlgorithm(arr, len, preparedStep) {
       
  7423       var redTotal = 0,
       
  7424           greenTotal = 0,
       
  7425           blueTotal = 0,
       
  7426           alphaTotal = 0,
       
  7427           count = 0;
       
  7428 
       
  7429       for (var i = 0; i < len; i += preparedStep) {
       
  7430         var alpha = arr[i + 3],
       
  7431             red = arr[i] * alpha,
       
  7432             green = arr[i + 1] * alpha,
       
  7433             blue = arr[i + 2] * alpha;
       
  7434         redTotal += red;
       
  7435         greenTotal += green;
       
  7436         blueTotal += blue;
       
  7437         alphaTotal += alpha;
       
  7438         count++;
       
  7439       }
       
  7440 
       
  7441       return alphaTotal ? [Math.round(redTotal / alphaTotal), Math.round(greenTotal / alphaTotal), Math.round(blueTotal / alphaTotal), Math.round(alphaTotal / count)] : [0, 0, 0, 0];
       
  7442     }
       
  7443   }, {
       
  7444     key: "_sqrtAlgorithm",
       
  7445     value: function _sqrtAlgorithm(arr, len, preparedStep) {
       
  7446       var redTotal = 0,
       
  7447           greenTotal = 0,
       
  7448           blueTotal = 0,
       
  7449           alphaTotal = 0,
       
  7450           count = 0;
       
  7451 
       
  7452       for (var i = 0; i < len; i += preparedStep) {
       
  7453         var red = arr[i],
       
  7454             green = arr[i + 1],
       
  7455             blue = arr[i + 2],
       
  7456             alpha = arr[i + 3];
       
  7457         redTotal += red * red * alpha;
       
  7458         greenTotal += green * green * alpha;
       
  7459         blueTotal += blue * blue * alpha;
       
  7460         alphaTotal += alpha;
       
  7461         count++;
       
  7462       }
       
  7463 
       
  7464       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];
       
  7465     }
       
  7466   }, {
       
  7467     key: "_dominantAlgorithm",
       
  7468     value: function _dominantAlgorithm(arr, len, preparedStep) {
       
  7469       var colorHash = {},
       
  7470           divider = 24;
       
  7471 
       
  7472       for (var i = 0; i < len; i += preparedStep) {
       
  7473         var red = arr[i],
       
  7474             green = arr[i + 1],
       
  7475             blue = arr[i + 2],
       
  7476             alpha = arr[i + 3],
       
  7477             key = Math.round(red / divider) + ',' + Math.round(green / divider) + ',' + Math.round(blue / divider);
       
  7478 
       
  7479         if (colorHash[key]) {
       
  7480           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];
       
  7481         } else {
       
  7482           colorHash[key] = [red * alpha, green * alpha, blue * alpha, alpha, 1];
       
  7483         }
       
  7484       }
       
  7485 
       
  7486       var buffer = Object.keys(colorHash).map(function (key) {
       
  7487         return colorHash[key];
       
  7488       }).sort(function (a, b) {
       
  7489         var countA = a[4],
       
  7490             countB = b[4];
       
  7491         return countA > countB ? -1 : countA === countB ? 0 : 1;
       
  7492       });
       
  7493 
       
  7494       var _buffer$ = _slicedToArray(buffer[0], 5),
       
  7495           redTotal = _buffer$[0],
       
  7496           greenTotal = _buffer$[1],
       
  7497           blueTotal = _buffer$[2],
       
  7498           alphaTotal = _buffer$[3],
       
  7499           count = _buffer$[4];
       
  7500 
       
  7501       return alphaTotal ? [Math.round(redTotal / alphaTotal), Math.round(greenTotal / alphaTotal), Math.round(blueTotal / alphaTotal), Math.round(alphaTotal / count)] : [0, 0, 0, 0];
       
  7502     }
       
  7503   }, {
       
  7504     key: "_bindImageEvents",
       
  7505     value: function _bindImageEvents(resource, callback, options) {
       
  7506       var _this = this;
       
  7507 
       
  7508       options = options || {};
       
  7509 
       
  7510       var data = options && options.data,
       
  7511           defaultColor = this._getDefaultColor(options),
       
  7512           onload = function onload() {
       
  7513         unbindEvents();
       
  7514         callback.call(resource, _this.getColor(resource, options), data);
       
  7515       },
       
  7516           onerror = function onerror() {
       
  7517         unbindEvents();
       
  7518         callback.call(resource, _this._prepareResult(defaultColor, new Error('Image error')), data);
       
  7519       },
       
  7520           onabort = function onabort() {
       
  7521         unbindEvents();
       
  7522         callback.call(resource, _this._prepareResult(defaultColor, new Error('Image abort')), data);
       
  7523       },
       
  7524           unbindEvents = function unbindEvents() {
       
  7525         resource.removeEventListener('load', onload);
       
  7526         resource.removeEventListener('error', onerror);
       
  7527         resource.removeEventListener('abort', onabort);
       
  7528       };
       
  7529 
       
  7530       resource.addEventListener('load', onload);
       
  7531       resource.addEventListener('error', onerror);
       
  7532       resource.addEventListener('abort', onabort);
       
  7533     }
       
  7534   }, {
       
  7535     key: "_prepareResult",
       
  7536     value: function _prepareResult(value, error) {
       
  7537       var rgb = value.slice(0, 3),
       
  7538           rgba = [].concat(rgb, value[3] / 255),
       
  7539           isDark = this._isDark(value);
       
  7540 
       
  7541       return {
       
  7542         error: error,
       
  7543         value: value,
       
  7544         rgb: 'rgb(' + rgb.join(',') + ')',
       
  7545         rgba: 'rgba(' + rgba.join(',') + ')',
       
  7546         hex: this._arrayToHex(rgb),
       
  7547         hexa: this._arrayToHex(value),
       
  7548         isDark: isDark,
       
  7549         isLight: !isDark
       
  7550       };
       
  7551     }
       
  7552   }, {
       
  7553     key: "_getOriginalSize",
       
  7554     value: function _getOriginalSize(resource) {
       
  7555       if (resource instanceof HTMLImageElement) {
       
  7556         return {
       
  7557           width: resource.naturalWidth,
       
  7558           height: resource.naturalHeight
       
  7559         };
       
  7560       }
       
  7561 
       
  7562       if (resource instanceof HTMLVideoElement) {
       
  7563         return {
       
  7564           width: resource.videoWidth,
       
  7565           height: resource.videoHeight
       
  7566         };
       
  7567       }
       
  7568 
       
  7569       return {
       
  7570         width: resource.width,
       
  7571         height: resource.height
       
  7572       };
       
  7573     }
       
  7574   }, {
       
  7575     key: "_toHex",
       
  7576     value: function _toHex(num) {
       
  7577       var str = num.toString(16);
       
  7578       return str.length === 1 ? '0' + str : str;
       
  7579     }
       
  7580   }, {
       
  7581     key: "_arrayToHex",
       
  7582     value: function _arrayToHex(arr) {
       
  7583       return '#' + arr.map(this._toHex).join('');
       
  7584     }
       
  7585   }, {
       
  7586     key: "_isDark",
       
  7587     value: function _isDark(color) {
       
  7588       // http://www.w3.org/TR/AERT#color-contrast
       
  7589       var result = (color[0] * 299 + color[1] * 587 + color[2] * 114) / 1000;
       
  7590       return result < 128;
       
  7591     }
       
  7592   }, {
       
  7593     key: "_makeCanvas",
       
  7594     value: function _makeCanvas() {
       
  7595       return typeof window === 'undefined' ? new OffscreenCanvas(1, 1) : document.createElement('canvas');
       
  7596     }
       
  7597   }]);
       
  7598 
       
  7599   return FastAverageColor;
       
  7600 }();
       
  7601 
       
  7602 return FastAverageColor;
       
  7603 
       
  7604 })));
       
  7605 
       
  7606 
       
  7607 /***/ }),
       
  7608 /* 212 */
       
  7609 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  7610 
       
  7611 "use strict";
       
  7612 __webpack_require__.r(__webpack_exports__);
       
  7613 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return name; });
       
  7614 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
  7615 /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(21);
       
  7616 /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17);
       
  7617 /* harmony import */ var _babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
       
  7618 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(0);
       
  7619 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__);
       
  7620 /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2);
       
  7621 /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_4__);
       
  7622 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1);
       
  7623 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__);
       
  7624 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(14);
       
  7625 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__);
       
  7626 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(8);
       
  7627 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_7__);
       
  7628 /* harmony import */ var _wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(20);
       
  7629 /* harmony import */ var _wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__);
       
  7630 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(4);
       
  7631 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_9__);
       
  7632 
       
  7633 
       
  7634 
       
  7635 
       
  7636 
       
  7637 /**
       
  7638  * External dependencies
       
  7639  */
       
  7640 
       
  7641 /**
       
  7642  * WordPress dependencies
       
  7643  */
       
  7644 
       
  7645 
       
  7646 
       
  7647 
       
  7648 
       
  7649 
       
  7650 
       
  7651 var listContentSchema = Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])({}, Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__["getPhrasingContentSchema"])(), {
       
  7652   ul: {},
       
  7653   ol: {
       
  7654     attributes: ['type']
       
  7655   }
       
  7656 }); // Recursion is needed.
       
  7657 // Possible: ul > li > ul.
       
  7658 // Impossible: ul > ul.
       
  7659 
       
  7660 
       
  7661 ['ul', 'ol'].forEach(function (tag) {
       
  7662   listContentSchema[tag].children = {
       
  7663     li: {
       
  7664       children: listContentSchema
       
  7665     }
       
  7666   };
       
  7667 });
       
  7668 var supports = {
       
  7669   className: false
       
  7670 };
       
  7671 var schema = {
       
  7672   ordered: {
       
  7673     type: 'boolean',
       
  7674     default: false
       
  7675   },
       
  7676   values: {
       
  7677     type: 'string',
       
  7678     source: 'html',
       
  7679     selector: 'ol,ul',
       
  7680     multiline: 'li',
       
  7681     default: ''
       
  7682   }
       
  7683 };
       
  7684 var name = 'core/list';
       
  7685 var settings = {
       
  7686   title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('List'),
       
  7687   description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('Create a bulleted or numbered list.'),
       
  7688   icon: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_9__["SVG"], {
       
  7689     viewBox: "0 0 24 24",
       
  7690     xmlns: "http://www.w3.org/2000/svg"
       
  7691   }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_9__["G"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_9__["Path"], {
       
  7692     d: "M9 19h12v-2H9v2zm0-6h12v-2H9v2zm0-8v2h12V5H9zm-4-.5c-.828 0-1.5.672-1.5 1.5S4.172 7.5 5 7.5 6.5 6.828 6.5 6 5.828 4.5 5 4.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"
       
  7693   }))),
       
  7694   category: 'common',
       
  7695   keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('bullet list'), Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('ordered list'), Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('numbered list')],
       
  7696   attributes: schema,
       
  7697   supports: supports,
       
  7698   transforms: {
       
  7699     from: [{
       
  7700       type: 'block',
       
  7701       isMultiBlock: true,
       
  7702       blocks: ['core/paragraph'],
       
  7703       transform: function transform(blockAttributes) {
       
  7704         return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__["createBlock"])('core/list', {
       
  7705           values: Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__["toHTMLString"])({
       
  7706             value: Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__["join"])(blockAttributes.map(function (_ref) {
       
  7707               var content = _ref.content;
       
  7708               var value = Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__["create"])({
       
  7709                 html: content
       
  7710               });
       
  7711 
       
  7712               if (blockAttributes.length > 1) {
       
  7713                 return value;
       
  7714               } // When converting only one block, transform
       
  7715               // every line to a list item.
       
  7716 
       
  7717 
       
  7718               return Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__["replace"])(value, /\n/g, _wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__["LINE_SEPARATOR"]);
       
  7719             }), _wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__["LINE_SEPARATOR"]),
       
  7720             multilineTag: 'li'
       
  7721           })
       
  7722         });
       
  7723       }
       
  7724     }, {
       
  7725       type: 'block',
       
  7726       blocks: ['core/quote'],
       
  7727       transform: function transform(_ref2) {
       
  7728         var value = _ref2.value;
       
  7729         return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__["createBlock"])('core/list', {
       
  7730           values: Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__["toHTMLString"])({
       
  7731             value: Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__["create"])({
       
  7732               html: value,
       
  7733               multilineTag: 'p'
       
  7734             }),
       
  7735             multilineTag: 'li'
       
  7736           })
       
  7737         });
       
  7738       }
       
  7739     }, {
       
  7740       type: 'raw',
       
  7741       selector: 'ol,ul',
       
  7742       schema: {
       
  7743         ol: listContentSchema.ol,
       
  7744         ul: listContentSchema.ul
       
  7745       },
       
  7746       transform: function transform(node) {
       
  7747         return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__["createBlock"])('core/list', Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])({}, Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__["getBlockAttributes"])('core/list', node.outerHTML), {
       
  7748           ordered: node.nodeName === 'OL'
       
  7749         }));
       
  7750       }
       
  7751     }].concat(Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(['*', '-'].map(function (prefix) {
       
  7752       return {
       
  7753         type: 'prefix',
       
  7754         prefix: prefix,
       
  7755         transform: function transform(content) {
       
  7756           return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__["createBlock"])('core/list', {
       
  7757             values: "<li>".concat(content, "</li>")
       
  7758           });
       
  7759         }
       
  7760       };
       
  7761     })), Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(['1.', '1)'].map(function (prefix) {
       
  7762       return {
       
  7763         type: 'prefix',
       
  7764         prefix: prefix,
       
  7765         transform: function transform(content) {
       
  7766           return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__["createBlock"])('core/list', {
       
  7767             ordered: true,
       
  7768             values: "<li>".concat(content, "</li>")
       
  7769           });
       
  7770         }
       
  7771       };
       
  7772     }))),
       
  7773     to: [{
       
  7774       type: 'block',
       
  7775       blocks: ['core/paragraph'],
       
  7776       transform: function transform(_ref3) {
       
  7777         var values = _ref3.values;
       
  7778         return Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__["split"])(Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__["create"])({
       
  7779           html: values,
       
  7780           multilineTag: 'li',
       
  7781           multilineWrapperTags: ['ul', 'ol']
       
  7782         }), _wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__["LINE_SEPARATOR"]).map(function (piece) {
       
  7783           return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__["createBlock"])('core/paragraph', {
       
  7784             content: Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__["toHTMLString"])({
       
  7785               value: piece
       
  7786             })
       
  7787           });
       
  7788         });
       
  7789       }
       
  7790     }, {
       
  7791       type: 'block',
       
  7792       blocks: ['core/quote'],
       
  7793       transform: function transform(_ref4) {
       
  7794         var values = _ref4.values;
       
  7795         return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__["createBlock"])('core/quote', {
       
  7796           value: Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__["toHTMLString"])({
       
  7797             value: Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__["create"])({
       
  7798               html: values,
       
  7799               multilineTag: 'li',
       
  7800               multilineWrapperTags: ['ul', 'ol']
       
  7801             }),
       
  7802             multilineTag: 'p'
       
  7803           })
       
  7804         });
       
  7805       }
       
  7806     }]
       
  7807   },
       
  7808   deprecated: [{
       
  7809     supports: supports,
       
  7810     attributes: Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])({}, Object(lodash__WEBPACK_IMPORTED_MODULE_4__["omit"])(schema, ['ordered']), {
       
  7811       nodeName: {
       
  7812         type: 'string',
       
  7813         source: 'property',
       
  7814         selector: 'ol,ul',
       
  7815         property: 'nodeName',
       
  7816         default: 'UL'
       
  7817       }
       
  7818     }),
       
  7819     migrate: function migrate(attributes) {
       
  7820       var nodeName = attributes.nodeName,
       
  7821           migratedAttributes = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(attributes, ["nodeName"]);
       
  7822 
       
  7823       return Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])({}, migratedAttributes, {
       
  7824         ordered: 'OL' === nodeName
       
  7825       });
       
  7826     },
       
  7827     save: function save(_ref5) {
       
  7828       var attributes = _ref5.attributes;
       
  7829       var nodeName = attributes.nodeName,
       
  7830           values = attributes.values;
       
  7831       return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_7__["RichText"].Content, {
       
  7832         tagName: nodeName.toLowerCase(),
       
  7833         value: values
       
  7834       });
       
  7835     }
       
  7836   }],
       
  7837   merge: function merge(attributes, attributesToMerge) {
       
  7838     var values = attributesToMerge.values;
       
  7839 
       
  7840     if (!values || values === '<li></li>') {
       
  7841       return attributes;
       
  7842     }
       
  7843 
       
  7844     return Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])({}, attributes, {
       
  7845       values: attributes.values + values
       
  7846     });
       
  7847   },
       
  7848   edit: function edit(_ref6) {
       
  7849     var attributes = _ref6.attributes,
       
  7850         insertBlocksAfter = _ref6.insertBlocksAfter,
       
  7851         setAttributes = _ref6.setAttributes,
       
  7852         mergeBlocks = _ref6.mergeBlocks,
       
  7853         onReplace = _ref6.onReplace,
       
  7854         className = _ref6.className;
       
  7855     var ordered = attributes.ordered,
       
  7856         values = attributes.values;
       
  7857     return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_7__["RichText"], {
       
  7858       identifier: "values",
       
  7859       multiline: "li",
       
  7860       tagName: ordered ? 'ol' : 'ul',
       
  7861       onChange: function onChange(nextValues) {
       
  7862         return setAttributes({
       
  7863           values: nextValues
       
  7864         });
       
  7865       },
       
  7866       value: values,
       
  7867       wrapperClassName: "block-library-list",
       
  7868       className: className,
       
  7869       placeholder: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('Write list…'),
       
  7870       onMerge: mergeBlocks,
       
  7871       unstableOnSplit: insertBlocksAfter ? function (before, after) {
       
  7872         for (var _len = arguments.length, blocks = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
       
  7873           blocks[_key - 2] = arguments[_key];
       
  7874         }
       
  7875 
       
  7876         if (!blocks.length) {
       
  7877           blocks.push(Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__["createBlock"])('core/paragraph'));
       
  7878         }
       
  7879 
       
  7880         if (after !== '<li></li>') {
       
  7881           blocks.push(Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__["createBlock"])('core/list', {
       
  7882             ordered: ordered,
       
  7883             values: after
       
  7884           }));
       
  7885         }
       
  7886 
       
  7887         setAttributes({
       
  7888           values: before
       
  7889         });
       
  7890         insertBlocksAfter(blocks);
       
  7891       } : undefined,
       
  7892       onRemove: function onRemove() {
       
  7893         return onReplace([]);
       
  7894       },
       
  7895       onTagNameChange: function onTagNameChange(tag) {
       
  7896         return setAttributes({
       
  7897           ordered: tag === 'ol'
       
  7898         });
       
  7899       }
       
  7900     });
       
  7901   },
       
  7902   save: function save(_ref7) {
       
  7903     var attributes = _ref7.attributes;
       
  7904     var ordered = attributes.ordered,
       
  7905         values = attributes.values;
       
  7906     var tagName = ordered ? 'ol' : 'ul';
       
  7907     return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_7__["RichText"].Content, {
       
  7908       tagName: tagName,
       
  7909       value: values,
       
  7910       multiline: "li"
       
  7911     });
       
  7912   }
       
  7913 };
       
  7914 
       
  7915 
       
  7916 /***/ }),
       
  7917 /* 213 */
       
  7918 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  7919 
       
  7920 "use strict";
       
  7921 __webpack_require__.r(__webpack_exports__);
       
  7922 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return name; });
       
  7923 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
  7924 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
  7925 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
  7926 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
       
  7927 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
       
  7928 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(14);
       
  7929 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__);
       
  7930 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8);
       
  7931 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__);
       
  7932 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4);
       
  7933 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__);
       
  7934 
       
  7935 
       
  7936 /**
       
  7937  * WordPress dependencies
       
  7938  */
       
  7939 
       
  7940 
       
  7941 
       
  7942 
       
  7943 var name = 'core/preformatted';
       
  7944 var settings = {
       
  7945   title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Preformatted'),
       
  7946   description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Add text that respects your spacing and tabs, and also allows styling.'),
       
  7947   icon: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["SVG"], {
       
  7948     viewBox: "0 0 24 24",
       
  7949     xmlns: "http://www.w3.org/2000/svg"
       
  7950   }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["Path"], {
       
  7951     d: "M0,0h24v24H0V0z",
       
  7952     fill: "none"
       
  7953   }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["Path"], {
       
  7954     d: "M20,4H4C2.9,4,2,4.9,2,6v12c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V6C22,4.9,21.1,4,20,4z M20,18H4V6h16V18z"
       
  7955   }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["Rect"], {
       
  7956     x: "6",
       
  7957     y: "10",
       
  7958     width: "2",
       
  7959     height: "2"
       
  7960   }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["Rect"], {
       
  7961     x: "6",
       
  7962     y: "14",
       
  7963     width: "8",
       
  7964     height: "2"
       
  7965   }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["Rect"], {
       
  7966     x: "16",
       
  7967     y: "14",
       
  7968     width: "2",
       
  7969     height: "2"
       
  7970   }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["Rect"], {
       
  7971     x: "10",
       
  7972     y: "10",
       
  7973     width: "8",
       
  7974     height: "2"
       
  7975   })),
       
  7976   category: 'formatting',
       
  7977   attributes: {
       
  7978     content: {
       
  7979       type: 'string',
       
  7980       source: 'html',
       
  7981       selector: 'pre',
       
  7982       default: ''
       
  7983     }
       
  7984   },
       
  7985   transforms: {
       
  7986     from: [{
       
  7987       type: 'block',
       
  7988       blocks: ['core/code', 'core/paragraph'],
       
  7989       transform: function transform(_ref) {
       
  7990         var content = _ref.content;
       
  7991         return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__["createBlock"])('core/preformatted', {
       
  7992           content: content
       
  7993         });
       
  7994       }
       
  7995     }, {
       
  7996       type: 'raw',
       
  7997       isMatch: function isMatch(node) {
       
  7998         return node.nodeName === 'PRE' && !(node.children.length === 1 && node.firstChild.nodeName === 'CODE');
       
  7999       },
       
  8000       schema: {
       
  8001         pre: {
       
  8002           children: Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__["getPhrasingContentSchema"])()
       
  8003         }
       
  8004       }
       
  8005     }],
       
  8006     to: [{
       
  8007       type: 'block',
       
  8008       blocks: ['core/paragraph'],
       
  8009       transform: function transform(attributes) {
       
  8010         return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__["createBlock"])('core/paragraph', attributes);
       
  8011       }
       
  8012     }]
       
  8013   },
       
  8014   edit: function edit(_ref2) {
       
  8015     var attributes = _ref2.attributes,
       
  8016         mergeBlocks = _ref2.mergeBlocks,
       
  8017         setAttributes = _ref2.setAttributes,
       
  8018         className = _ref2.className;
       
  8019     var content = attributes.content;
       
  8020     return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__["RichText"], {
       
  8021       tagName: "pre" // Ensure line breaks are normalised to HTML.
       
  8022       ,
       
  8023       value: content.replace(/\n/g, '<br>'),
       
  8024       onChange: function onChange(nextContent) {
       
  8025         setAttributes({
       
  8026           // Ensure line breaks are normalised to characters. This
       
  8027           // saves space, is easier to read, and ensures display
       
  8028           // filters work correctly.
       
  8029           content: nextContent.replace(/<br ?\/?>/g, '\n')
       
  8030         });
       
  8031       },
       
  8032       placeholder: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Write preformatted text…'),
       
  8033       wrapperClassName: className,
       
  8034       onMerge: mergeBlocks
       
  8035     });
       
  8036   },
       
  8037   save: function save(_ref3) {
       
  8038     var attributes = _ref3.attributes;
       
  8039     var content = attributes.content;
       
  8040     return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__["RichText"].Content, {
       
  8041       tagName: "pre",
       
  8042       value: content
       
  8043     });
       
  8044   },
       
  8045   merge: function merge(attributes, attributesToMerge) {
       
  8046     return {
       
  8047       content: attributes.content + attributesToMerge.content
       
  8048     };
       
  8049   }
       
  8050 };
       
  8051 
       
  8052 
       
  8053 /***/ }),
       
  8054 /* 214 */
       
  8055 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  8056 
       
  8057 "use strict";
       
  8058 __webpack_require__.r(__webpack_exports__);
       
  8059 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return name; });
       
  8060 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
  8061 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
  8062 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
  8063 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
       
  8064 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
       
  8065 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(14);
       
  8066 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__);
       
  8067 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4);
       
  8068 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__);
       
  8069 
       
  8070 
       
  8071 /**
       
  8072  * WordPress dependencies
       
  8073  */
       
  8074 
       
  8075 
       
  8076 
       
  8077 var name = 'core/separator';
       
  8078 var settings = {
       
  8079   title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Separator'),
       
  8080   description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Create a break between ideas or sections with a horizontal separator.'),
       
  8081   icon: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["SVG"], {
       
  8082     viewBox: "0 0 24 24",
       
  8083     xmlns: "http://www.w3.org/2000/svg"
       
  8084   }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["Path"], {
       
  8085     fill: "none",
       
  8086     d: "M0 0h24v24H0V0z"
       
  8087   }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["Path"], {
       
  8088     d: "M19 13H5v-2h14v2z"
       
  8089   })),
       
  8090   category: 'layout',
       
  8091   keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('horizontal-line'), 'hr', Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('divider')],
       
  8092   styles: [{
       
  8093     name: 'default',
       
  8094     label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Default'),
       
  8095     isDefault: true
       
  8096   }, {
       
  8097     name: 'wide',
       
  8098     label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Wide Line')
       
  8099   }, {
       
  8100     name: 'dots',
       
  8101     label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Dots')
       
  8102   }],
       
  8103   transforms: {
       
  8104     from: [{
       
  8105       type: 'enter',
       
  8106       regExp: /^-{3,}$/,
       
  8107       transform: function transform() {
       
  8108         return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__["createBlock"])('core/separator');
       
  8109       }
       
  8110     }, {
       
  8111       type: 'raw',
       
  8112       selector: 'hr',
       
  8113       schema: {
       
  8114         hr: {}
       
  8115       }
       
  8116     }]
       
  8117   },
       
  8118   edit: function edit(_ref) {
       
  8119     var className = _ref.className;
       
  8120     return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("hr", {
       
  8121       className: className
       
  8122     });
       
  8123   },
       
  8124   save: function save() {
       
  8125     return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("hr", null);
       
  8126   }
       
  8127 };
       
  8128 
       
  8129 
       
  8130 /***/ }),
       
  8131 /* 215 */
       
  8132 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  8133 
       
  8134 "use strict";
       
  8135 __webpack_require__.r(__webpack_exports__);
       
  8136 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return name; });
       
  8137 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
  8138 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
  8139 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
  8140 /* harmony import */ var _wordpress_autop__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66);
       
  8141 /* harmony import */ var _wordpress_autop__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_autop__WEBPACK_IMPORTED_MODULE_1__);
       
  8142 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1);
       
  8143 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);
       
  8144 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4);
       
  8145 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__);
       
  8146 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(8);
       
  8147 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__);
       
  8148 /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6);
       
  8149 /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_5__);
       
  8150 
       
  8151 
       
  8152 /**
       
  8153  * WordPress dependencies
       
  8154  */
       
  8155 
       
  8156 
       
  8157 
       
  8158 
       
  8159 
       
  8160 
       
  8161 var name = 'core/shortcode';
       
  8162 var settings = {
       
  8163   title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Shortcode'),
       
  8164   description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Insert additional custom elements with a WordPress shortcode.'),
       
  8165   icon: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["SVG"], {
       
  8166     viewBox: "0 0 24 24",
       
  8167     xmlns: "http://www.w3.org/2000/svg"
       
  8168   }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["Path"], {
       
  8169     d: "M8.5,21.4l1.9,0.5l5.2-19.3l-1.9-0.5L8.5,21.4z M3,19h4v-2H5V7h2V5H3V19z M17,5v2h2v10h-2v2h4V5H17z"
       
  8170   })),
       
  8171   category: 'widgets',
       
  8172   attributes: {
       
  8173     text: {
       
  8174       type: 'string',
       
  8175       source: 'html'
       
  8176     }
       
  8177   },
       
  8178   transforms: {
       
  8179     from: [{
       
  8180       type: 'shortcode',
       
  8181       // Per "Shortcode names should be all lowercase and use all
       
  8182       // letters, but numbers and underscores should work fine too.
       
  8183       // Be wary of using hyphens (dashes), you'll be better off not
       
  8184       // using them." in https://codex.wordpress.org/Shortcode_API
       
  8185       // Require that the first character be a letter. This notably
       
  8186       // prevents footnote markings ([1]) from being caught as
       
  8187       // shortcodes.
       
  8188       tag: '[a-z][a-z0-9_-]*',
       
  8189       attributes: {
       
  8190         text: {
       
  8191           type: 'string',
       
  8192           shortcode: function shortcode(attrs, _ref) {
       
  8193             var content = _ref.content;
       
  8194             return Object(_wordpress_autop__WEBPACK_IMPORTED_MODULE_1__["removep"])(Object(_wordpress_autop__WEBPACK_IMPORTED_MODULE_1__["autop"])(content));
       
  8195           }
       
  8196         }
       
  8197       },
       
  8198       priority: 20
       
  8199     }]
       
  8200   },
       
  8201   supports: {
       
  8202     customClassName: false,
       
  8203     className: false,
       
  8204     html: false
       
  8205   },
       
  8206   edit: Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_5__["withInstanceId"])(function (_ref2) {
       
  8207     var attributes = _ref2.attributes,
       
  8208         setAttributes = _ref2.setAttributes,
       
  8209         instanceId = _ref2.instanceId;
       
  8210     var inputId = "blocks-shortcode-input-".concat(instanceId);
       
  8211     return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
       
  8212       className: "wp-block-shortcode"
       
  8213     }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("label", {
       
  8214       htmlFor: inputId
       
  8215     }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["Dashicon"], {
       
  8216       icon: "shortcode"
       
  8217     }), Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Shortcode')), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__["PlainText"], {
       
  8218       className: "input-control",
       
  8219       id: inputId,
       
  8220       value: attributes.text,
       
  8221       placeholder: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Write shortcode here…'),
       
  8222       onChange: function onChange(text) {
       
  8223         return setAttributes({
       
  8224           text: text
       
  8225         });
       
  8226       }
       
  8227     }));
       
  8228   }),
       
  8229   save: function save(_ref3) {
       
  8230     var attributes = _ref3.attributes;
       
  8231     return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["RawHTML"], null, attributes.text);
       
  8232   }
       
  8233 };
       
  8234 
       
  8235 
       
  8236 /***/ }),
       
  8237 /* 216 */
       
  8238 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  8239 
       
  8240 "use strict";
       
  8241 __webpack_require__.r(__webpack_exports__);
       
  8242 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return name; });
       
  8243 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
  8244 /* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(28);
       
  8245 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0);
       
  8246 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
       
  8247 /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16);
       
  8248 /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
       
  8249 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1);
       
  8250 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__);
       
  8251 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(8);
       
  8252 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__);
       
  8253 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(4);
       
  8254 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__);
       
  8255 /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(6);
       
  8256 /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_6__);
       
  8257 
       
  8258 
       
  8259 
       
  8260 /**
       
  8261  * External dependencies
       
  8262  */
       
  8263 
       
  8264 /**
       
  8265  * WordPress dependencies
       
  8266  */
       
  8267 
       
  8268 
       
  8269 
       
  8270 
       
  8271 
       
  8272 
       
  8273 var name = 'core/spacer';
       
  8274 var settings = {
       
  8275   title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('Spacer'),
       
  8276   description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('Add white space between blocks and customize its height.'),
       
  8277   icon: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["SVG"], {
       
  8278     viewBox: "0 0 24 24",
       
  8279     xmlns: "http://www.w3.org/2000/svg"
       
  8280   }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["G"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["Path"], {
       
  8281     d: "M13 4v2h3.59L6 16.59V13H4v7h7v-2H7.41L18 7.41V11h2V4h-7"
       
  8282   }))),
       
  8283   category: 'layout',
       
  8284   attributes: {
       
  8285     height: {
       
  8286       type: 'number',
       
  8287       default: 100
       
  8288     }
       
  8289   },
       
  8290   edit: Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_6__["withInstanceId"])(function (_ref) {
       
  8291     var attributes = _ref.attributes,
       
  8292         isSelected = _ref.isSelected,
       
  8293         setAttributes = _ref.setAttributes,
       
  8294         toggleSelection = _ref.toggleSelection,
       
  8295         instanceId = _ref.instanceId;
       
  8296     var height = attributes.height;
       
  8297     var id = "block-spacer-height-input-".concat(instanceId);
       
  8298 
       
  8299     var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useState"])(height),
       
  8300         _useState2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_useState, 2),
       
  8301         inputHeightValue = _useState2[0],
       
  8302         setInputHeightValue = _useState2[1];
       
  8303 
       
  8304     return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["Fragment"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["ResizableBox"], {
       
  8305       className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('block-library-spacer__resize-container', {
       
  8306         'is-selected': isSelected
       
  8307       }),
       
  8308       size: {
       
  8309         height: height
       
  8310       },
       
  8311       minHeight: "20",
       
  8312       enable: {
       
  8313         top: false,
       
  8314         right: false,
       
  8315         bottom: true,
       
  8316         left: false,
       
  8317         topRight: false,
       
  8318         bottomRight: false,
       
  8319         bottomLeft: false,
       
  8320         topLeft: false
       
  8321       },
       
  8322       onResizeStop: function onResizeStop(event, direction, elt, delta) {
       
  8323         var spacerHeight = parseInt(height + delta.height, 10);
       
  8324         setAttributes({
       
  8325           height: spacerHeight
       
  8326         });
       
  8327         setInputHeightValue(spacerHeight);
       
  8328         toggleSelection(true);
       
  8329       },
       
  8330       onResizeStart: function onResizeStart() {
       
  8331         toggleSelection(false);
       
  8332       }
       
  8333     }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__["InspectorControls"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["PanelBody"], {
       
  8334       title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('Spacer Settings')
       
  8335     }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["BaseControl"], {
       
  8336       label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('Height in pixels'),
       
  8337       id: id
       
  8338     }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("input", {
       
  8339       type: "number",
       
  8340       id: id,
       
  8341       onChange: function onChange(event) {
       
  8342         var spacerHeight = parseInt(event.target.value, 10);
       
  8343         setInputHeightValue(spacerHeight);
       
  8344 
       
  8345         if (isNaN(spacerHeight)) {
       
  8346           // Set spacer height to default size and input box to empty string
       
  8347           setInputHeightValue('');
       
  8348           spacerHeight = 100;
       
  8349         } else if (spacerHeight < 20) {
       
  8350           // Set spacer height to minimum size
       
  8351           spacerHeight = 20;
       
  8352         }
       
  8353 
       
  8354         setAttributes({
       
  8355           height: spacerHeight
       
  8356         });
       
  8357       },
       
  8358       value: inputHeightValue,
       
  8359       min: "20",
       
  8360       step: "10"
       
  8361     })))));
       
  8362   }),
       
  8363   save: function save(_ref2) {
       
  8364     var attributes = _ref2.attributes;
       
  8365     return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", {
       
  8366       style: {
       
  8367         height: attributes.height
       
  8368       },
       
  8369       "aria-hidden": true
       
  8370     });
       
  8371   }
       
  8372 };
       
  8373 
       
  8374 
       
  8375 /***/ }),
       
  8376 /* 217 */
       
  8377 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  8378 
       
  8379 "use strict";
       
  8380 __webpack_require__.r(__webpack_exports__);
       
  8381 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return name; });
       
  8382 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
  8383 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
  8384 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
  8385 /* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(49);
       
  8386 /* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_1__);
       
  8387 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1);
       
  8388 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);
       
  8389 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(14);
       
  8390 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__);
       
  8391 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(8);
       
  8392 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__);
       
  8393 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(4);
       
  8394 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__);
       
  8395 
       
  8396 
       
  8397 /**
       
  8398  * WordPress dependencies
       
  8399  */
       
  8400 
       
  8401 
       
  8402 
       
  8403 
       
  8404 
       
  8405 
       
  8406 var name = 'core/subhead';
       
  8407 var settings = {
       
  8408   title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Subheading (deprecated)'),
       
  8409   description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('This block is deprecated. Please use the Paragraph block instead.'),
       
  8410   icon: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["SVG"], {
       
  8411     xmlns: "http://www.w3.org/2000/svg",
       
  8412     viewBox: "0 0 24 24"
       
  8413   }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["Path"], {
       
  8414     d: "M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z"
       
  8415   })),
       
  8416   category: 'common',
       
  8417   supports: {
       
  8418     // Hide from inserter as this block is deprecated.
       
  8419     inserter: false,
       
  8420     multiple: false
       
  8421   },
       
  8422   attributes: {
       
  8423     content: {
       
  8424       type: 'string',
       
  8425       source: 'html',
       
  8426       selector: 'p'
       
  8427     },
       
  8428     align: {
       
  8429       type: 'string'
       
  8430     }
       
  8431   },
       
  8432   transforms: {
       
  8433     to: [{
       
  8434       type: 'block',
       
  8435       blocks: ['core/paragraph'],
       
  8436       transform: function transform(attributes) {
       
  8437         return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__["createBlock"])('core/paragraph', attributes);
       
  8438       }
       
  8439     }]
       
  8440   },
       
  8441   edit: function edit(_ref) {
       
  8442     var attributes = _ref.attributes,
       
  8443         setAttributes = _ref.setAttributes,
       
  8444         className = _ref.className;
       
  8445     var align = attributes.align,
       
  8446         content = attributes.content,
       
  8447         placeholder = attributes.placeholder;
       
  8448     _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_1___default()('The Subheading block', {
       
  8449       alternative: 'the Paragraph block',
       
  8450       plugin: 'Gutenberg'
       
  8451     });
       
  8452     return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__["BlockControls"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__["AlignmentToolbar"], {
       
  8453       value: align,
       
  8454       onChange: function onChange(nextAlign) {
       
  8455         setAttributes({
       
  8456           align: nextAlign
       
  8457         });
       
  8458       }
       
  8459     })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__["RichText"], {
       
  8460       tagName: "p",
       
  8461       value: content,
       
  8462       onChange: function onChange(nextContent) {
       
  8463         setAttributes({
       
  8464           content: nextContent
       
  8465         });
       
  8466       },
       
  8467       style: {
       
  8468         textAlign: align
       
  8469       },
       
  8470       className: className,
       
  8471       placeholder: placeholder || Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Write subheading…')
       
  8472     }));
       
  8473   },
       
  8474   save: function save(_ref2) {
       
  8475     var attributes = _ref2.attributes;
       
  8476     var align = attributes.align,
       
  8477         content = attributes.content;
       
  8478     return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__["RichText"].Content, {
       
  8479       tagName: "p",
       
  8480       style: {
       
  8481         textAlign: align
       
  8482       },
       
  8483       value: content
       
  8484     });
       
  8485   }
       
  8486 };
       
  8487 
       
  8488 
       
  8489 /***/ }),
       
  8490 /* 218 */
       
  8491 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  8492 
       
  8493 "use strict";
       
  8494 __webpack_require__.r(__webpack_exports__);
       
  8495 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return name; });
       
  8496 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
  8497 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
  8498 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
  8499 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
       
  8500 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
       
  8501 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8);
       
  8502 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__);
       
  8503 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4);
       
  8504 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__);
       
  8505 
       
  8506 
       
  8507 /**
       
  8508  * WordPress dependencies
       
  8509  */
       
  8510 
       
  8511 
       
  8512 
       
  8513 var name = 'core/template';
       
  8514 var settings = {
       
  8515   title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Reusable Template'),
       
  8516   category: 'reusable',
       
  8517   description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Template block used as a container.'),
       
  8518   icon: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["SVG"], {
       
  8519     xmlns: "http://www.w3.org/2000/svg",
       
  8520     viewBox: "0 0 24 24"
       
  8521   }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["Rect"], {
       
  8522     x: "0",
       
  8523     fill: "none",
       
  8524     width: "24",
       
  8525     height: "24"
       
  8526   }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["G"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["Path"], {
       
  8527     d: "M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zM6 6h5v5H6V6zm4.5 13C9.12 19 8 17.88 8 16.5S9.12 14 10.5 14s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zm3-6l3-5 3 5h-6z"
       
  8528   }))),
       
  8529   supports: {
       
  8530     customClassName: false,
       
  8531     html: false,
       
  8532     inserter: false
       
  8533   },
       
  8534   edit: function edit() {
       
  8535     return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__["InnerBlocks"], null);
       
  8536   },
       
  8537   save: function save() {
       
  8538     return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__["InnerBlocks"].Content, null);
       
  8539   }
       
  8540 };
       
  8541 
       
  8542 
       
  8543 /***/ }),
       
  8544 /* 219 */
       
  8545 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  8546 
       
  8547 "use strict";
       
  8548 __webpack_require__.r(__webpack_exports__);
       
  8549 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return name; });
       
  8550 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
  8551 /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17);
       
  8552 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0);
       
  8553 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
       
  8554 /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2);
       
  8555 /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_2__);
       
  8556 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(14);
       
  8557 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__);
       
  8558 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1);
       
  8559 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__);
       
  8560 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(4);
       
  8561 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__);
       
  8562 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(8);
       
  8563 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_6__);
       
  8564 /* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(49);
       
  8565 /* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_7__);
       
  8566 
       
  8567 
       
  8568 
       
  8569 /**
       
  8570  * External dependencies
       
  8571  */
       
  8572 
       
  8573 /**
       
  8574  * WordPress dependencies
       
  8575  */
       
  8576 
       
  8577 
       
  8578 
       
  8579 
       
  8580 
       
  8581 
       
  8582 
       
  8583 var name = 'core/text-columns';
       
  8584 var settings = {
       
  8585   // Disable insertion as this block is deprecated and ultimately replaced by the Columns block.
       
  8586   supports: {
       
  8587     inserter: false
       
  8588   },
       
  8589   title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["__"])('Text Columns (deprecated)'),
       
  8590   description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["__"])('This block is deprecated. Please use the Columns block instead.'),
       
  8591   icon: 'columns',
       
  8592   category: 'layout',
       
  8593   attributes: {
       
  8594     content: {
       
  8595       type: 'array',
       
  8596       source: 'query',
       
  8597       selector: 'p',
       
  8598       query: {
       
  8599         children: {
       
  8600           type: 'string',
       
  8601           source: 'html'
       
  8602         }
       
  8603       },
       
  8604       default: [{}, {}]
       
  8605     },
       
  8606     columns: {
       
  8607       type: 'number',
       
  8608       default: 2
       
  8609     },
       
  8610     width: {
       
  8611       type: 'string'
       
  8612     }
       
  8613   },
       
  8614   transforms: {
       
  8615     to: [{
       
  8616       type: 'block',
       
  8617       blocks: ['core/columns'],
       
  8618       transform: function transform(_ref) {
       
  8619         var className = _ref.className,
       
  8620             columns = _ref.columns,
       
  8621             content = _ref.content,
       
  8622             width = _ref.width;
       
  8623         return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__["createBlock"])('core/columns', {
       
  8624           align: 'wide' === width || 'full' === width ? width : undefined,
       
  8625           className: className,
       
  8626           columns: columns
       
  8627         }, content.map(function (_ref2) {
       
  8628           var children = _ref2.children;
       
  8629           return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__["createBlock"])('core/column', {}, [Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__["createBlock"])('core/paragraph', {
       
  8630             content: children
       
  8631           })]);
       
  8632         }));
       
  8633       }
       
  8634     }]
       
  8635   },
       
  8636   getEditWrapperProps: function getEditWrapperProps(attributes) {
       
  8637     var width = attributes.width;
       
  8638 
       
  8639     if ('wide' === width || 'full' === width) {
       
  8640       return {
       
  8641         'data-align': width
       
  8642       };
       
  8643     }
       
  8644   },
       
  8645   edit: function edit(_ref3) {
       
  8646     var attributes = _ref3.attributes,
       
  8647         setAttributes = _ref3.setAttributes,
       
  8648         className = _ref3.className;
       
  8649     var width = attributes.width,
       
  8650         content = attributes.content,
       
  8651         columns = attributes.columns;
       
  8652     _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_7___default()('The Text Columns block', {
       
  8653       alternative: 'the Columns block',
       
  8654       plugin: 'Gutenberg'
       
  8655     });
       
  8656     return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["Fragment"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_6__["BlockControls"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_6__["BlockAlignmentToolbar"], {
       
  8657       value: width,
       
  8658       onChange: function onChange(nextWidth) {
       
  8659         return setAttributes({
       
  8660           width: nextWidth
       
  8661         });
       
  8662       },
       
  8663       controls: ['center', 'wide', 'full']
       
  8664     })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_6__["InspectorControls"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["PanelBody"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["RangeControl"], {
       
  8665       label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["__"])('Columns'),
       
  8666       value: columns,
       
  8667       onChange: function onChange(value) {
       
  8668         return setAttributes({
       
  8669           columns: value
       
  8670         });
       
  8671       },
       
  8672       min: 2,
       
  8673       max: 4,
       
  8674       required: true
       
  8675     }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", {
       
  8676       className: "".concat(className, " align").concat(width, " columns-").concat(columns)
       
  8677     }, Object(lodash__WEBPACK_IMPORTED_MODULE_2__["times"])(columns, function (index) {
       
  8678       return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", {
       
  8679         className: "wp-block-column",
       
  8680         key: "column-".concat(index)
       
  8681       }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_6__["RichText"], {
       
  8682         tagName: "p",
       
  8683         value: Object(lodash__WEBPACK_IMPORTED_MODULE_2__["get"])(content, [index, 'children']),
       
  8684         onChange: function onChange(nextContent) {
       
  8685           setAttributes({
       
  8686             content: [].concat(Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(content.slice(0, index)), [{
       
  8687               children: nextContent
       
  8688             }], Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(content.slice(index + 1)))
       
  8689           });
       
  8690         },
       
  8691         placeholder: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["__"])('New Column')
       
  8692       }));
       
  8693     })));
       
  8694   },
       
  8695   save: function save(_ref4) {
       
  8696     var attributes = _ref4.attributes;
       
  8697     var width = attributes.width,
       
  8698         content = attributes.content,
       
  8699         columns = attributes.columns;
       
  8700     return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", {
       
  8701       className: "align".concat(width, " columns-").concat(columns)
       
  8702     }, Object(lodash__WEBPACK_IMPORTED_MODULE_2__["times"])(columns, function (index) {
       
  8703       return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", {
       
  8704         className: "wp-block-column",
       
  8705         key: "column-".concat(index)
       
  8706       }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_6__["RichText"].Content, {
       
  8707         tagName: "p",
       
  8708         value: Object(lodash__WEBPACK_IMPORTED_MODULE_2__["get"])(content, [index, 'children'])
       
  8709       }));
       
  8710     }));
       
  8711   }
       
  8712 };
       
  8713 
       
  8714 
       
  8715 /***/ }),
       
  8716 /* 220 */
       
  8717 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  8718 
       
  8719 "use strict";
       
  8720 __webpack_require__.r(__webpack_exports__);
       
  8721 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return name; });
       
  8722 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
  8723 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
  8724 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
  8725 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
       
  8726 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
       
  8727 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(14);
       
  8728 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__);
       
  8729 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8);
       
  8730 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__);
       
  8731 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4);
       
  8732 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__);
       
  8733 
       
  8734 
       
  8735 /**
       
  8736  * WordPress dependencies
       
  8737  */
       
  8738 
       
  8739 
       
  8740 
       
  8741 
       
  8742 
       
  8743 var name = 'core/verse';
       
  8744 var settings = {
       
  8745   title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Verse'),
       
  8746   description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Insert poetry. Use special spacing formats. Or quote song lyrics.'),
       
  8747   icon: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["SVG"], {
       
  8748     viewBox: "0 0 24 24",
       
  8749     xmlns: "http://www.w3.org/2000/svg"
       
  8750   }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["Path"], {
       
  8751     fill: "none",
       
  8752     d: "M0 0h24v24H0V0z"
       
  8753   }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["Path"], {
       
  8754     d: "M3 17v4h4l11-11-4-4L3 17zm3 2H5v-1l9-9 1 1-9 9zM21 6l-3-3h-1l-2 2 4 4 2-2V6z"
       
  8755   })),
       
  8756   category: 'formatting',
       
  8757   keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('poetry')],
       
  8758   attributes: {
       
  8759     content: {
       
  8760       type: 'string',
       
  8761       source: 'html',
       
  8762       selector: 'pre',
       
  8763       default: ''
       
  8764     },
       
  8765     textAlign: {
       
  8766       type: 'string'
       
  8767     }
       
  8768   },
       
  8769   transforms: {
       
  8770     from: [{
       
  8771       type: 'block',
       
  8772       blocks: ['core/paragraph'],
       
  8773       transform: function transform(attributes) {
       
  8774         return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__["createBlock"])('core/verse', attributes);
       
  8775       }
       
  8776     }],
       
  8777     to: [{
       
  8778       type: 'block',
       
  8779       blocks: ['core/paragraph'],
       
  8780       transform: function transform(attributes) {
       
  8781         return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__["createBlock"])('core/paragraph', attributes);
       
  8782       }
       
  8783     }]
       
  8784   },
       
  8785   edit: function edit(_ref) {
       
  8786     var attributes = _ref.attributes,
       
  8787         setAttributes = _ref.setAttributes,
       
  8788         className = _ref.className,
       
  8789         mergeBlocks = _ref.mergeBlocks;
       
  8790     var textAlign = attributes.textAlign,
       
  8791         content = attributes.content;
       
  8792     return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__["BlockControls"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__["AlignmentToolbar"], {
       
  8793       value: textAlign,
       
  8794       onChange: function onChange(nextAlign) {
       
  8795         setAttributes({
       
  8796           textAlign: nextAlign
       
  8797         });
       
  8798       }
       
  8799     })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__["RichText"], {
       
  8800       tagName: "pre",
       
  8801       value: content,
       
  8802       onChange: function onChange(nextContent) {
       
  8803         setAttributes({
       
  8804           content: nextContent
       
  8805         });
       
  8806       },
       
  8807       style: {
       
  8808         textAlign: textAlign
       
  8809       },
       
  8810       placeholder: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Write…'),
       
  8811       wrapperClassName: className,
       
  8812       onMerge: mergeBlocks
       
  8813     }));
       
  8814   },
       
  8815   save: function save(_ref2) {
       
  8816     var attributes = _ref2.attributes;
       
  8817     var textAlign = attributes.textAlign,
       
  8818         content = attributes.content;
       
  8819     return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__["RichText"].Content, {
       
  8820       tagName: "pre",
       
  8821       style: {
       
  8822         textAlign: textAlign
       
  8823       },
       
  8824       value: content
       
  8825     });
       
  8826   },
       
  8827   merge: function merge(attributes, attributesToMerge) {
       
  8828     return {
       
  8829       content: attributes.content + attributesToMerge.content
       
  8830     };
       
  8831   }
       
  8832 };
       
  8833 
       
  8834 
       
  8835 /***/ }),
       
  8836 /* 221 */,
       
  8837 /* 222 */,
       
  8838 /* 223 */,
       
  8839 /* 224 */,
       
  8840 /* 225 */,
       
  8841 /* 226 */,
       
  8842 /* 227 */,
       
  8843 /* 228 */,
       
  8844 /* 229 */
       
  8845 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  8846 
       
  8847 "use strict";
       
  8848 __webpack_require__.r(__webpack_exports__);
       
  8849 
       
  8850 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
       
  8851 var defineProperty = __webpack_require__(15);
       
  8852 
       
  8853 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
  8854 var external_this_wp_element_ = __webpack_require__(0);
       
  8855 
       
  8856 // EXTERNAL MODULE: ./node_modules/classnames/index.js
       
  8857 var classnames = __webpack_require__(16);
       
  8858 var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
       
  8859 
       
  8860 // EXTERNAL MODULE: external "lodash"
       
  8861 var external_lodash_ = __webpack_require__(2);
       
  8862 
       
  8863 // EXTERNAL MODULE: external {"this":["wp","blocks"]}
       
  8864 var external_this_wp_blocks_ = __webpack_require__(14);
       
  8865 
       
  8866 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
       
  8867 var external_this_wp_blockEditor_ = __webpack_require__(8);
       
  8868 
       
  8869 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
  8870 var external_this_wp_i18n_ = __webpack_require__(1);
       
  8871 
       
  8872 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
       
  8873 var esm_extends = __webpack_require__(19);
       
  8874 
       
  8875 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
  8876 var classCallCheck = __webpack_require__(10);
       
  8877 
       
  8878 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
  8879 var createClass = __webpack_require__(9);
       
  8880 
       
  8881 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
  8882 var possibleConstructorReturn = __webpack_require__(11);
       
  8883 
       
  8884 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
  8885 var getPrototypeOf = __webpack_require__(12);
       
  8886 
       
  8887 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
  8888 var inherits = __webpack_require__(13);
       
  8889 
       
  8890 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
       
  8891 var assertThisInitialized = __webpack_require__(3);
       
  8892 
       
  8893 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
  8894 var external_this_wp_components_ = __webpack_require__(4);
       
  8895 
       
  8896 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/media-container-icon.js
       
  8897 
       
  8898 
       
  8899 /**
       
  8900  * WordPress dependencies
       
  8901  */
       
  8902 
       
  8903 /* harmony default export */ var media_container_icon = (Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
  8904   xmlns: "http://www.w3.org/2000/svg",
       
  8905   viewBox: "0 0 24 24"
       
  8906 }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
  8907   d: "M18 2l2 4h-2l-2-4h-3l2 4h-2l-2-4h-1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V2zm2 12H10V4.4L11.8 8H20z"
       
  8908 }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
  8909   d: "M14 20H4V10h3V8H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3h-2z"
       
  8910 }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
  8911   d: "M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"
       
  8912 })));
       
  8913 
       
  8914 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/media-container.js
       
  8915 
       
  8916 
       
  8917 
       
  8918 
       
  8919 
       
  8920 
       
  8921 
       
  8922 /**
       
  8923  * WordPress dependencies
       
  8924  */
       
  8925 
       
  8926 
       
  8927 
       
  8928 
       
  8929 /**
       
  8930  * Internal dependencies
       
  8931  */
       
  8932 
       
  8933 
       
  8934 /**
       
  8935  * Constants
       
  8936  */
       
  8937 
       
  8938 var ALLOWED_MEDIA_TYPES = ['image', 'video'];
       
  8939 
       
  8940 var media_container_MediaContainer =
       
  8941 /*#__PURE__*/
       
  8942 function (_Component) {
       
  8943   Object(inherits["a" /* default */])(MediaContainer, _Component);
       
  8944 
       
  8945   function MediaContainer() {
       
  8946     Object(classCallCheck["a" /* default */])(this, MediaContainer);
       
  8947 
       
  8948     return Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(MediaContainer).apply(this, arguments));
       
  8949   }
       
  8950 
       
  8951   Object(createClass["a" /* default */])(MediaContainer, [{
       
  8952     key: "renderToolbarEditButton",
       
  8953     value: function renderToolbarEditButton() {
       
  8954       var _this$props = this.props,
       
  8955           mediaId = _this$props.mediaId,
       
  8956           onSelectMedia = _this$props.onSelectMedia;
       
  8957       return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUpload"], {
       
  8958         onSelect: onSelectMedia,
       
  8959         allowedTypes: ALLOWED_MEDIA_TYPES,
       
  8960         value: mediaId,
       
  8961         render: function render(_ref) {
       
  8962           var open = _ref.open;
       
  8963           return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], {
       
  8964             className: "components-toolbar__control",
       
  8965             label: Object(external_this_wp_i18n_["__"])('Edit media'),
       
  8966             icon: "edit",
       
  8967             onClick: open
       
  8968           });
       
  8969         }
       
  8970       })));
       
  8971     }
       
  8972   }, {
       
  8973     key: "renderImage",
       
  8974     value: function renderImage() {
       
  8975       var _this$props2 = this.props,
       
  8976           mediaAlt = _this$props2.mediaAlt,
       
  8977           mediaUrl = _this$props2.mediaUrl,
       
  8978           className = _this$props2.className;
       
  8979       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, this.renderToolbarEditButton(), Object(external_this_wp_element_["createElement"])("figure", {
       
  8980         className: className
       
  8981       }, Object(external_this_wp_element_["createElement"])("img", {
       
  8982         src: mediaUrl,
       
  8983         alt: mediaAlt
       
  8984       })));
       
  8985     }
       
  8986   }, {
       
  8987     key: "renderVideo",
       
  8988     value: function renderVideo() {
       
  8989       var _this$props3 = this.props,
       
  8990           mediaUrl = _this$props3.mediaUrl,
       
  8991           className = _this$props3.className;
       
  8992       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, this.renderToolbarEditButton(), Object(external_this_wp_element_["createElement"])("figure", {
       
  8993         className: className
       
  8994       }, Object(external_this_wp_element_["createElement"])("video", {
       
  8995         controls: true,
       
  8996         src: mediaUrl
       
  8997       })));
       
  8998     }
       
  8999   }, {
       
  9000     key: "renderPlaceholder",
       
  9001     value: function renderPlaceholder() {
       
  9002       var _this$props4 = this.props,
       
  9003           onSelectMedia = _this$props4.onSelectMedia,
       
  9004           className = _this$props4.className;
       
  9005       return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaPlaceholder"], {
       
  9006         icon: Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], {
       
  9007           icon: media_container_icon
       
  9008         }),
       
  9009         labels: {
       
  9010           title: Object(external_this_wp_i18n_["__"])('Media area')
       
  9011         },
       
  9012         className: className,
       
  9013         onSelect: onSelectMedia,
       
  9014         accept: "image/*,video/*",
       
  9015         allowedTypes: ALLOWED_MEDIA_TYPES
       
  9016       });
       
  9017     }
       
  9018   }, {
       
  9019     key: "render",
       
  9020     value: function render() {
       
  9021       var _this$props5 = this.props,
       
  9022           mediaPosition = _this$props5.mediaPosition,
       
  9023           mediaUrl = _this$props5.mediaUrl,
       
  9024           mediaType = _this$props5.mediaType,
       
  9025           mediaWidth = _this$props5.mediaWidth,
       
  9026           commitWidthChange = _this$props5.commitWidthChange,
       
  9027           onWidthChange = _this$props5.onWidthChange;
       
  9028 
       
  9029       if (mediaType && mediaUrl) {
       
  9030         var onResize = function onResize(event, direction, elt) {
       
  9031           onWidthChange(parseInt(elt.style.width));
       
  9032         };
       
  9033 
       
  9034         var onResizeStop = function onResizeStop(event, direction, elt) {
       
  9035           commitWidthChange(parseInt(elt.style.width));
       
  9036         };
       
  9037 
       
  9038         var enablePositions = {
       
  9039           right: mediaPosition === 'left',
       
  9040           left: mediaPosition === 'right'
       
  9041         };
       
  9042         var mediaElement = null;
       
  9043 
       
  9044         switch (mediaType) {
       
  9045           case 'image':
       
  9046             mediaElement = this.renderImage();
       
  9047             break;
       
  9048 
       
  9049           case 'video':
       
  9050             mediaElement = this.renderVideo();
       
  9051             break;
       
  9052         }
       
  9053 
       
  9054         return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ResizableBox"], {
       
  9055           className: "editor-media-container__resizer",
       
  9056           size: {
       
  9057             width: mediaWidth + '%'
       
  9058           },
       
  9059           minWidth: "10%",
       
  9060           maxWidth: "100%",
       
  9061           enable: enablePositions,
       
  9062           onResize: onResize,
       
  9063           onResizeStop: onResizeStop,
       
  9064           axis: "x"
       
  9065         }, mediaElement);
       
  9066       }
       
  9067 
       
  9068       return this.renderPlaceholder();
       
  9069     }
       
  9070   }]);
       
  9071 
       
  9072   return MediaContainer;
       
  9073 }(external_this_wp_element_["Component"]);
       
  9074 
       
  9075 /* harmony default export */ var media_container = (media_container_MediaContainer);
       
  9076 
       
  9077 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/edit.js
       
  9078 
       
  9079 
       
  9080 
       
  9081 
       
  9082 
       
  9083 
       
  9084 
       
  9085 
       
  9086 
       
  9087 
       
  9088 /**
       
  9089  * External dependencies
       
  9090  */
       
  9091 
       
  9092 
       
  9093 /**
       
  9094  * WordPress dependencies
       
  9095  */
       
  9096 
       
  9097 
       
  9098 
       
  9099 
       
  9100 
       
  9101 /**
       
  9102  * Internal dependencies
       
  9103  */
       
  9104 
       
  9105 
       
  9106 /**
       
  9107  * Constants
       
  9108  */
       
  9109 
       
  9110 var ALLOWED_BLOCKS = ['core/button', 'core/paragraph', 'core/heading', 'core/list'];
       
  9111 var TEMPLATE = [['core/paragraph', {
       
  9112   fontSize: 'large',
       
  9113   placeholder: Object(external_this_wp_i18n_["_x"])('Content…', 'content placeholder')
       
  9114 }]];
       
  9115 
       
  9116 var edit_MediaTextEdit =
       
  9117 /*#__PURE__*/
       
  9118 function (_Component) {
       
  9119   Object(inherits["a" /* default */])(MediaTextEdit, _Component);
       
  9120 
       
  9121   function MediaTextEdit() {
       
  9122     var _this;
       
  9123 
       
  9124     Object(classCallCheck["a" /* default */])(this, MediaTextEdit);
       
  9125 
       
  9126     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(MediaTextEdit).apply(this, arguments));
       
  9127     _this.onSelectMedia = _this.onSelectMedia.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  9128     _this.onWidthChange = _this.onWidthChange.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  9129     _this.commitWidthChange = _this.commitWidthChange.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  9130     _this.state = {
       
  9131       mediaWidth: null
       
  9132     };
       
  9133     return _this;
       
  9134   }
       
  9135 
       
  9136   Object(createClass["a" /* default */])(MediaTextEdit, [{
       
  9137     key: "onSelectMedia",
       
  9138     value: function onSelectMedia(media) {
       
  9139       var setAttributes = this.props.setAttributes;
       
  9140       var mediaType;
       
  9141       var src; // for media selections originated from a file upload.
       
  9142 
       
  9143       if (media.media_type) {
       
  9144         if (media.media_type === 'image') {
       
  9145           mediaType = 'image';
       
  9146         } else {
       
  9147           // only images and videos are accepted so if the media_type is not an image we can assume it is a video.
       
  9148           // video contain the media type of 'file' in the object returned from the rest api.
       
  9149           mediaType = 'video';
       
  9150         }
       
  9151       } else {
       
  9152         // for media selections originated from existing files in the media library.
       
  9153         mediaType = media.type;
       
  9154       }
       
  9155 
       
  9156       if (mediaType === 'image') {
       
  9157         // Try the "large" size URL, falling back to the "full" size URL below.
       
  9158         src = Object(external_lodash_["get"])(media, ['sizes', 'large', 'url']) || Object(external_lodash_["get"])(media, ['media_details', 'sizes', 'large', 'source_url']);
       
  9159       }
       
  9160 
       
  9161       setAttributes({
       
  9162         mediaAlt: media.alt,
       
  9163         mediaId: media.id,
       
  9164         mediaType: mediaType,
       
  9165         mediaUrl: src || media.url
       
  9166       });
       
  9167     }
       
  9168   }, {
       
  9169     key: "onWidthChange",
       
  9170     value: function onWidthChange(width) {
       
  9171       this.setState({
       
  9172         mediaWidth: width
       
  9173       });
       
  9174     }
       
  9175   }, {
       
  9176     key: "commitWidthChange",
       
  9177     value: function commitWidthChange(width) {
       
  9178       var setAttributes = this.props.setAttributes;
       
  9179       setAttributes({
       
  9180         mediaWidth: width
       
  9181       });
       
  9182       this.setState({
       
  9183         mediaWidth: null
       
  9184       });
       
  9185     }
       
  9186   }, {
       
  9187     key: "renderMediaArea",
       
  9188     value: function renderMediaArea() {
       
  9189       var attributes = this.props.attributes;
       
  9190       var mediaAlt = attributes.mediaAlt,
       
  9191           mediaId = attributes.mediaId,
       
  9192           mediaPosition = attributes.mediaPosition,
       
  9193           mediaType = attributes.mediaType,
       
  9194           mediaUrl = attributes.mediaUrl,
       
  9195           mediaWidth = attributes.mediaWidth;
       
  9196       return Object(external_this_wp_element_["createElement"])(media_container, Object(esm_extends["a" /* default */])({
       
  9197         className: "block-library-media-text__media-container",
       
  9198         onSelectMedia: this.onSelectMedia,
       
  9199         onWidthChange: this.onWidthChange,
       
  9200         commitWidthChange: this.commitWidthChange
       
  9201       }, {
       
  9202         mediaAlt: mediaAlt,
       
  9203         mediaId: mediaId,
       
  9204         mediaType: mediaType,
       
  9205         mediaUrl: mediaUrl,
       
  9206         mediaPosition: mediaPosition,
       
  9207         mediaWidth: mediaWidth
       
  9208       }));
       
  9209     }
       
  9210   }, {
       
  9211     key: "render",
       
  9212     value: function render() {
       
  9213       var _classnames;
       
  9214 
       
  9215       var _this$props = this.props,
       
  9216           attributes = _this$props.attributes,
       
  9217           className = _this$props.className,
       
  9218           backgroundColor = _this$props.backgroundColor,
       
  9219           isSelected = _this$props.isSelected,
       
  9220           setAttributes = _this$props.setAttributes,
       
  9221           setBackgroundColor = _this$props.setBackgroundColor;
       
  9222       var isStackedOnMobile = attributes.isStackedOnMobile,
       
  9223           mediaAlt = attributes.mediaAlt,
       
  9224           mediaPosition = attributes.mediaPosition,
       
  9225           mediaType = attributes.mediaType,
       
  9226           mediaWidth = attributes.mediaWidth;
       
  9227       var temporaryMediaWidth = this.state.mediaWidth;
       
  9228       var classNames = classnames_default()(className, (_classnames = {
       
  9229         'has-media-on-the-right': 'right' === mediaPosition,
       
  9230         'is-selected': isSelected
       
  9231       }, Object(defineProperty["a" /* default */])(_classnames, backgroundColor.class, backgroundColor.class), Object(defineProperty["a" /* default */])(_classnames, 'is-stacked-on-mobile', isStackedOnMobile), _classnames));
       
  9232       var widthString = "".concat(temporaryMediaWidth || mediaWidth, "%");
       
  9233       var style = {
       
  9234         gridTemplateColumns: 'right' === mediaPosition ? "auto ".concat(widthString) : "".concat(widthString, " auto"),
       
  9235         backgroundColor: backgroundColor.color
       
  9236       };
       
  9237       var colorSettings = [{
       
  9238         value: backgroundColor.color,
       
  9239         onChange: setBackgroundColor,
       
  9240         label: Object(external_this_wp_i18n_["__"])('Background Color')
       
  9241       }];
       
  9242       var toolbarControls = [{
       
  9243         icon: 'align-pull-left',
       
  9244         title: Object(external_this_wp_i18n_["__"])('Show media on left'),
       
  9245         isActive: mediaPosition === 'left',
       
  9246         onClick: function onClick() {
       
  9247           return setAttributes({
       
  9248             mediaPosition: 'left'
       
  9249           });
       
  9250         }
       
  9251       }, {
       
  9252         icon: 'align-pull-right',
       
  9253         title: Object(external_this_wp_i18n_["__"])('Show media on right'),
       
  9254         isActive: mediaPosition === 'right',
       
  9255         onClick: function onClick() {
       
  9256           return setAttributes({
       
  9257             mediaPosition: 'right'
       
  9258           });
       
  9259         }
       
  9260       }];
       
  9261 
       
  9262       var onMediaAltChange = function onMediaAltChange(newMediaAlt) {
       
  9263         setAttributes({
       
  9264           mediaAlt: newMediaAlt
       
  9265         });
       
  9266       };
       
  9267 
       
  9268       var mediaTextGeneralSettings = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
  9269         title: Object(external_this_wp_i18n_["__"])('Media & Text Settings')
       
  9270       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
  9271         label: Object(external_this_wp_i18n_["__"])('Stack on mobile'),
       
  9272         checked: isStackedOnMobile,
       
  9273         onChange: function onChange() {
       
  9274           return setAttributes({
       
  9275             isStackedOnMobile: !isStackedOnMobile
       
  9276           });
       
  9277         }
       
  9278       }), mediaType === 'image' && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextareaControl"], {
       
  9279         label: Object(external_this_wp_i18n_["__"])('Alt Text (Alternative Text)'),
       
  9280         value: mediaAlt,
       
  9281         onChange: onMediaAltChange,
       
  9282         help: Object(external_this_wp_i18n_["__"])('Alternative text describes your image to people who can’t see it. Add a short description with its key details.')
       
  9283       }));
       
  9284       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, mediaTextGeneralSettings, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PanelColorSettings"], {
       
  9285         title: Object(external_this_wp_i18n_["__"])('Color Settings'),
       
  9286         initialOpen: false,
       
  9287         colorSettings: colorSettings
       
  9288       })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], {
       
  9289         controls: toolbarControls
       
  9290       })), Object(external_this_wp_element_["createElement"])("div", {
       
  9291         className: classNames,
       
  9292         style: style
       
  9293       }, this.renderMediaArea(), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"], {
       
  9294         allowedBlocks: ALLOWED_BLOCKS,
       
  9295         template: TEMPLATE,
       
  9296         templateInsertUpdatesSelection: false
       
  9297       })));
       
  9298     }
       
  9299   }]);
       
  9300 
       
  9301   return MediaTextEdit;
       
  9302 }(external_this_wp_element_["Component"]);
       
  9303 
       
  9304 /* harmony default export */ var edit = (Object(external_this_wp_blockEditor_["withColors"])('backgroundColor')(edit_MediaTextEdit));
       
  9305 
       
  9306 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/icon.js
       
  9307 
       
  9308 
       
  9309 /**
       
  9310  * WordPress dependencies
       
  9311  */
       
  9312 
       
  9313 /* harmony default export */ var icon = (Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
  9314   xmlns: "http://www.w3.org/2000/svg",
       
  9315   viewBox: "0 0 24 24"
       
  9316 }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
  9317   d: "M13 17h8v-2h-8v2zM3 19h8V5H3v14zM13 9h8V7h-8v2zm0 4h8v-2h-8v2z"
       
  9318 })));
       
  9319 
       
  9320 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/index.js
       
  9321 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return media_text_name; });
       
  9322 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
  9323 
       
  9324 
       
  9325 
       
  9326 /**
       
  9327  * External dependencies
       
  9328  */
       
  9329 
       
  9330 
       
  9331 /**
       
  9332  * WordPress dependencies
       
  9333  */
       
  9334 
       
  9335 
       
  9336 
       
  9337 
       
  9338 /**
       
  9339  * Internal dependencies
       
  9340  */
       
  9341 
       
  9342 
       
  9343 
       
  9344 var DEFAULT_MEDIA_WIDTH = 50;
       
  9345 var media_text_name = 'core/media-text';
       
  9346 var blockAttributes = {
       
  9347   align: {
       
  9348     type: 'string',
       
  9349     default: 'wide'
       
  9350   },
       
  9351   backgroundColor: {
       
  9352     type: 'string'
       
  9353   },
       
  9354   customBackgroundColor: {
       
  9355     type: 'string'
       
  9356   },
       
  9357   mediaAlt: {
       
  9358     type: 'string',
       
  9359     source: 'attribute',
       
  9360     selector: 'figure img',
       
  9361     attribute: 'alt',
       
  9362     default: ''
       
  9363   },
       
  9364   mediaPosition: {
       
  9365     type: 'string',
       
  9366     default: 'left'
       
  9367   },
       
  9368   mediaId: {
       
  9369     type: 'number'
       
  9370   },
       
  9371   mediaUrl: {
       
  9372     type: 'string',
       
  9373     source: 'attribute',
       
  9374     selector: 'figure video,figure img',
       
  9375     attribute: 'src'
       
  9376   },
       
  9377   mediaType: {
       
  9378     type: 'string'
       
  9379   },
       
  9380   mediaWidth: {
       
  9381     type: 'number',
       
  9382     default: 50
       
  9383   },
       
  9384   isStackedOnMobile: {
       
  9385     type: 'boolean',
       
  9386     default: false
       
  9387   }
       
  9388 };
       
  9389 var settings = {
       
  9390   title: Object(external_this_wp_i18n_["__"])('Media & Text'),
       
  9391   description: Object(external_this_wp_i18n_["__"])('Set media and words side-by-side for a richer layout.'),
       
  9392   icon: icon,
       
  9393   category: 'layout',
       
  9394   keywords: [Object(external_this_wp_i18n_["__"])('image'), Object(external_this_wp_i18n_["__"])('video')],
       
  9395   attributes: blockAttributes,
       
  9396   supports: {
       
  9397     align: ['wide', 'full'],
       
  9398     html: false
       
  9399   },
       
  9400   transforms: {
       
  9401     from: [{
       
  9402       type: 'block',
       
  9403       blocks: ['core/image'],
       
  9404       transform: function transform(_ref) {
       
  9405         var alt = _ref.alt,
       
  9406             url = _ref.url,
       
  9407             id = _ref.id;
       
  9408         return Object(external_this_wp_blocks_["createBlock"])('core/media-text', {
       
  9409           mediaAlt: alt,
       
  9410           mediaId: id,
       
  9411           mediaUrl: url,
       
  9412           mediaType: 'image'
       
  9413         });
       
  9414       }
       
  9415     }, {
       
  9416       type: 'block',
       
  9417       blocks: ['core/video'],
       
  9418       transform: function transform(_ref2) {
       
  9419         var src = _ref2.src,
       
  9420             id = _ref2.id;
       
  9421         return Object(external_this_wp_blocks_["createBlock"])('core/media-text', {
       
  9422           mediaId: id,
       
  9423           mediaUrl: src,
       
  9424           mediaType: 'video'
       
  9425         });
       
  9426       }
       
  9427     }],
       
  9428     to: [{
       
  9429       type: 'block',
       
  9430       blocks: ['core/image'],
       
  9431       isMatch: function isMatch(_ref3) {
       
  9432         var mediaType = _ref3.mediaType,
       
  9433             mediaUrl = _ref3.mediaUrl;
       
  9434         return !mediaUrl || mediaType === 'image';
       
  9435       },
       
  9436       transform: function transform(_ref4) {
       
  9437         var mediaAlt = _ref4.mediaAlt,
       
  9438             mediaId = _ref4.mediaId,
       
  9439             mediaUrl = _ref4.mediaUrl;
       
  9440         return Object(external_this_wp_blocks_["createBlock"])('core/image', {
       
  9441           alt: mediaAlt,
       
  9442           id: mediaId,
       
  9443           url: mediaUrl
       
  9444         });
       
  9445       }
       
  9446     }, {
       
  9447       type: 'block',
       
  9448       blocks: ['core/video'],
       
  9449       isMatch: function isMatch(_ref5) {
       
  9450         var mediaType = _ref5.mediaType,
       
  9451             mediaUrl = _ref5.mediaUrl;
       
  9452         return !mediaUrl || mediaType === 'video';
       
  9453       },
       
  9454       transform: function transform(_ref6) {
       
  9455         var mediaId = _ref6.mediaId,
       
  9456             mediaUrl = _ref6.mediaUrl;
       
  9457         return Object(external_this_wp_blocks_["createBlock"])('core/video', {
       
  9458           id: mediaId,
       
  9459           src: mediaUrl
       
  9460         });
       
  9461       }
       
  9462     }]
       
  9463   },
       
  9464   edit: edit,
       
  9465   save: function save(_ref7) {
       
  9466     var _classnames;
       
  9467 
       
  9468     var attributes = _ref7.attributes;
       
  9469     var backgroundColor = attributes.backgroundColor,
       
  9470         customBackgroundColor = attributes.customBackgroundColor,
       
  9471         isStackedOnMobile = attributes.isStackedOnMobile,
       
  9472         mediaAlt = attributes.mediaAlt,
       
  9473         mediaPosition = attributes.mediaPosition,
       
  9474         mediaType = attributes.mediaType,
       
  9475         mediaUrl = attributes.mediaUrl,
       
  9476         mediaWidth = attributes.mediaWidth,
       
  9477         mediaId = attributes.mediaId;
       
  9478     var mediaTypeRenders = {
       
  9479       image: function image() {
       
  9480         return Object(external_this_wp_element_["createElement"])("img", {
       
  9481           src: mediaUrl,
       
  9482           alt: mediaAlt,
       
  9483           className: mediaId && mediaType === 'image' ? "wp-image-".concat(mediaId) : null
       
  9484         });
       
  9485       },
       
  9486       video: function video() {
       
  9487         return Object(external_this_wp_element_["createElement"])("video", {
       
  9488           controls: true,
       
  9489           src: mediaUrl
       
  9490         });
       
  9491       }
       
  9492     };
       
  9493     var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
       
  9494     var className = classnames_default()((_classnames = {
       
  9495       'has-media-on-the-right': 'right' === mediaPosition
       
  9496     }, Object(defineProperty["a" /* default */])(_classnames, backgroundClass, backgroundClass), Object(defineProperty["a" /* default */])(_classnames, 'is-stacked-on-mobile', isStackedOnMobile), _classnames));
       
  9497     var gridTemplateColumns;
       
  9498 
       
  9499     if (mediaWidth !== DEFAULT_MEDIA_WIDTH) {
       
  9500       gridTemplateColumns = 'right' === mediaPosition ? "auto ".concat(mediaWidth, "%") : "".concat(mediaWidth, "% auto");
       
  9501     }
       
  9502 
       
  9503     var style = {
       
  9504       backgroundColor: backgroundClass ? undefined : customBackgroundColor,
       
  9505       gridTemplateColumns: gridTemplateColumns
       
  9506     };
       
  9507     return Object(external_this_wp_element_["createElement"])("div", {
       
  9508       className: className,
       
  9509       style: style
       
  9510     }, Object(external_this_wp_element_["createElement"])("figure", {
       
  9511       className: "wp-block-media-text__media"
       
  9512     }, (mediaTypeRenders[mediaType] || external_lodash_["noop"])()), Object(external_this_wp_element_["createElement"])("div", {
       
  9513       className: "wp-block-media-text__content"
       
  9514     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null)));
       
  9515   },
       
  9516   deprecated: [{
       
  9517     attributes: blockAttributes,
       
  9518     save: function save(_ref8) {
       
  9519       var _classnames2;
       
  9520 
       
  9521       var attributes = _ref8.attributes;
       
  9522       var backgroundColor = attributes.backgroundColor,
       
  9523           customBackgroundColor = attributes.customBackgroundColor,
       
  9524           isStackedOnMobile = attributes.isStackedOnMobile,
       
  9525           mediaAlt = attributes.mediaAlt,
       
  9526           mediaPosition = attributes.mediaPosition,
       
  9527           mediaType = attributes.mediaType,
       
  9528           mediaUrl = attributes.mediaUrl,
       
  9529           mediaWidth = attributes.mediaWidth;
       
  9530       var mediaTypeRenders = {
       
  9531         image: function image() {
       
  9532           return Object(external_this_wp_element_["createElement"])("img", {
       
  9533             src: mediaUrl,
       
  9534             alt: mediaAlt
       
  9535           });
       
  9536         },
       
  9537         video: function video() {
       
  9538           return Object(external_this_wp_element_["createElement"])("video", {
       
  9539             controls: true,
       
  9540             src: mediaUrl
       
  9541           });
       
  9542         }
       
  9543       };
       
  9544       var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
       
  9545       var className = classnames_default()((_classnames2 = {
       
  9546         'has-media-on-the-right': 'right' === mediaPosition
       
  9547       }, Object(defineProperty["a" /* default */])(_classnames2, backgroundClass, backgroundClass), Object(defineProperty["a" /* default */])(_classnames2, 'is-stacked-on-mobile', isStackedOnMobile), _classnames2));
       
  9548       var gridTemplateColumns;
       
  9549 
       
  9550       if (mediaWidth !== DEFAULT_MEDIA_WIDTH) {
       
  9551         gridTemplateColumns = 'right' === mediaPosition ? "auto ".concat(mediaWidth, "%") : "".concat(mediaWidth, "% auto");
       
  9552       }
       
  9553 
       
  9554       var style = {
       
  9555         backgroundColor: backgroundClass ? undefined : customBackgroundColor,
       
  9556         gridTemplateColumns: gridTemplateColumns
       
  9557       };
       
  9558       return Object(external_this_wp_element_["createElement"])("div", {
       
  9559         className: className,
       
  9560         style: style
       
  9561       }, Object(external_this_wp_element_["createElement"])("figure", {
       
  9562         className: "wp-block-media-text__media"
       
  9563       }, (mediaTypeRenders[mediaType] || external_lodash_["noop"])()), Object(external_this_wp_element_["createElement"])("div", {
       
  9564         className: "wp-block-media-text__content"
       
  9565       }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null)));
       
  9566     }
       
  9567   }]
       
  9568 };
       
  9569 
       
  9570 
       
  9571 /***/ }),
       
  9572 /* 230 */
       
  9573 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  9574 
       
  9575 "use strict";
       
  9576 __webpack_require__.r(__webpack_exports__);
       
  9577 
       
  9578 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
       
  9579 var esm_extends = __webpack_require__(19);
       
  9580 
       
  9581 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
       
  9582 var defineProperty = __webpack_require__(15);
       
  9583 
       
  9584 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
       
  9585 var objectSpread = __webpack_require__(7);
       
  9586 
       
  9587 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
  9588 var external_this_wp_element_ = __webpack_require__(0);
       
  9589 
       
  9590 // EXTERNAL MODULE: ./node_modules/classnames/index.js
       
  9591 var classnames = __webpack_require__(16);
       
  9592 var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
       
  9593 
       
  9594 // EXTERNAL MODULE: external {"this":["wp","blob"]}
       
  9595 var external_this_wp_blob_ = __webpack_require__(35);
       
  9596 
       
  9597 // EXTERNAL MODULE: external {"this":["wp","blocks"]}
       
  9598 var external_this_wp_blocks_ = __webpack_require__(14);
       
  9599 
       
  9600 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
       
  9601 var external_this_wp_blockEditor_ = __webpack_require__(8);
       
  9602 
       
  9603 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
  9604 var external_this_wp_i18n_ = __webpack_require__(1);
       
  9605 
       
  9606 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
       
  9607 var slicedToArray = __webpack_require__(28);
       
  9608 
       
  9609 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
  9610 var classCallCheck = __webpack_require__(10);
       
  9611 
       
  9612 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
  9613 var createClass = __webpack_require__(9);
       
  9614 
       
  9615 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
  9616 var possibleConstructorReturn = __webpack_require__(11);
       
  9617 
       
  9618 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
  9619 var getPrototypeOf = __webpack_require__(12);
       
  9620 
       
  9621 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
  9622 var inherits = __webpack_require__(13);
       
  9623 
       
  9624 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
       
  9625 var assertThisInitialized = __webpack_require__(3);
       
  9626 
       
  9627 // EXTERNAL MODULE: external "lodash"
       
  9628 var external_lodash_ = __webpack_require__(2);
       
  9629 
       
  9630 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
  9631 var external_this_wp_components_ = __webpack_require__(4);
       
  9632 
       
  9633 // EXTERNAL MODULE: external {"this":["wp","compose"]}
       
  9634 var external_this_wp_compose_ = __webpack_require__(6);
       
  9635 
       
  9636 // EXTERNAL MODULE: external {"this":["wp","data"]}
       
  9637 var external_this_wp_data_ = __webpack_require__(5);
       
  9638 
       
  9639 // EXTERNAL MODULE: external {"this":["wp","editor"]}
       
  9640 var external_this_wp_editor_ = __webpack_require__(22);
       
  9641 
       
  9642 // EXTERNAL MODULE: external {"this":["wp","url"]}
       
  9643 var external_this_wp_url_ = __webpack_require__(25);
       
  9644 
       
  9645 // EXTERNAL MODULE: external {"this":["wp","viewport"]}
       
  9646 var external_this_wp_viewport_ = __webpack_require__(40);
       
  9647 
       
  9648 // EXTERNAL MODULE: ./node_modules/@wordpress/block-library/build-module/embed/util.js
       
  9649 var util = __webpack_require__(53);
       
  9650 
       
  9651 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/icon.js
       
  9652 
       
  9653 
       
  9654 /**
       
  9655  * WordPress dependencies
       
  9656  */
       
  9657 
       
  9658 /* harmony default export */ var icon = (Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
  9659   viewBox: "0 0 24 24",
       
  9660   xmlns: "http://www.w3.org/2000/svg"
       
  9661 }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
  9662   d: "M0,0h24v24H0V0z",
       
  9663   fill: "none"
       
  9664 }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
  9665   d: "m19 5v14h-14v-14h14m0-2h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2z"
       
  9666 }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
  9667   d: "m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"
       
  9668 })));
       
  9669 
       
  9670 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/utils.js
       
  9671 function calculatePreferedImageSize(image, container) {
       
  9672   var maxWidth = container.clientWidth;
       
  9673   var exceedMaxWidth = image.width > maxWidth;
       
  9674   var ratio = image.height / image.width;
       
  9675   var width = exceedMaxWidth ? maxWidth : image.width;
       
  9676   var height = exceedMaxWidth ? maxWidth * ratio : image.height;
       
  9677   return {
       
  9678     width: width,
       
  9679     height: height
       
  9680   };
       
  9681 }
       
  9682 
       
  9683 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/image-size.js
       
  9684 
       
  9685 
       
  9686 
       
  9687 
       
  9688 
       
  9689 
       
  9690 
       
  9691 
       
  9692 /**
       
  9693  * External dependencies
       
  9694  */
       
  9695 
       
  9696 /**
       
  9697  * WordPress dependencies
       
  9698  */
       
  9699 
       
  9700 
       
  9701 
       
  9702 /**
       
  9703  * Internal dependencies
       
  9704  */
       
  9705 
       
  9706 
       
  9707 
       
  9708 var image_size_ImageSize =
       
  9709 /*#__PURE__*/
       
  9710 function (_Component) {
       
  9711   Object(inherits["a" /* default */])(ImageSize, _Component);
       
  9712 
       
  9713   function ImageSize() {
       
  9714     var _this;
       
  9715 
       
  9716     Object(classCallCheck["a" /* default */])(this, ImageSize);
       
  9717 
       
  9718     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(ImageSize).apply(this, arguments));
       
  9719     _this.state = {
       
  9720       width: undefined,
       
  9721       height: undefined
       
  9722     };
       
  9723     _this.bindContainer = _this.bindContainer.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  9724     _this.calculateSize = _this.calculateSize.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  9725     return _this;
       
  9726   }
       
  9727 
       
  9728   Object(createClass["a" /* default */])(ImageSize, [{
       
  9729     key: "bindContainer",
       
  9730     value: function bindContainer(ref) {
       
  9731       this.container = ref;
       
  9732     }
       
  9733   }, {
       
  9734     key: "componentDidUpdate",
       
  9735     value: function componentDidUpdate(prevProps) {
       
  9736       if (this.props.src !== prevProps.src) {
       
  9737         this.setState({
       
  9738           width: undefined,
       
  9739           height: undefined
       
  9740         });
       
  9741         this.fetchImageSize();
       
  9742       }
       
  9743 
       
  9744       if (this.props.dirtynessTrigger !== prevProps.dirtynessTrigger) {
       
  9745         this.calculateSize();
       
  9746       }
       
  9747     }
       
  9748   }, {
       
  9749     key: "componentDidMount",
       
  9750     value: function componentDidMount() {
       
  9751       this.fetchImageSize();
       
  9752     }
       
  9753   }, {
       
  9754     key: "componentWillUnmount",
       
  9755     value: function componentWillUnmount() {
       
  9756       if (this.image) {
       
  9757         this.image.onload = external_lodash_["noop"];
       
  9758       }
       
  9759     }
       
  9760   }, {
       
  9761     key: "fetchImageSize",
       
  9762     value: function fetchImageSize() {
       
  9763       this.image = new window.Image();
       
  9764       this.image.onload = this.calculateSize;
       
  9765       this.image.src = this.props.src;
       
  9766     }
       
  9767   }, {
       
  9768     key: "calculateSize",
       
  9769     value: function calculateSize() {
       
  9770       var _calculatePreferedIma = calculatePreferedImageSize(this.image, this.container),
       
  9771           width = _calculatePreferedIma.width,
       
  9772           height = _calculatePreferedIma.height;
       
  9773 
       
  9774       this.setState({
       
  9775         width: width,
       
  9776         height: height
       
  9777       });
       
  9778     }
       
  9779   }, {
       
  9780     key: "render",
       
  9781     value: function render() {
       
  9782       var sizes = {
       
  9783         imageWidth: this.image && this.image.width,
       
  9784         imageHeight: this.image && this.image.height,
       
  9785         containerWidth: this.container && this.container.clientWidth,
       
  9786         containerHeight: this.container && this.container.clientHeight,
       
  9787         imageWidthWithinContainer: this.state.width,
       
  9788         imageHeightWithinContainer: this.state.height
       
  9789       };
       
  9790       return Object(external_this_wp_element_["createElement"])("div", {
       
  9791         ref: this.bindContainer
       
  9792       }, this.props.children(sizes));
       
  9793     }
       
  9794   }]);
       
  9795 
       
  9796   return ImageSize;
       
  9797 }(external_this_wp_element_["Component"]);
       
  9798 
       
  9799 /* harmony default export */ var image_size = (Object(external_this_wp_compose_["withGlobalEvents"])({
       
  9800   resize: 'calculateSize'
       
  9801 })(image_size_ImageSize));
       
  9802 
       
  9803 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/edit.js
       
  9804 
       
  9805 
       
  9806 
       
  9807 
       
  9808 
       
  9809 
       
  9810 
       
  9811 
       
  9812 
       
  9813 
       
  9814 /**
       
  9815  * External dependencies
       
  9816  */
       
  9817 
       
  9818 
       
  9819 /**
       
  9820  * WordPress dependencies
       
  9821  */
       
  9822 
       
  9823 
       
  9824 
       
  9825 
       
  9826 
       
  9827 
       
  9828 
       
  9829 
       
  9830 
       
  9831 
       
  9832 
       
  9833 /**
       
  9834  * Internal dependencies
       
  9835  */
       
  9836 
       
  9837 
       
  9838 
       
  9839 
       
  9840 /**
       
  9841  * Module constants
       
  9842  */
       
  9843 
       
  9844 var MIN_SIZE = 20;
       
  9845 var LINK_DESTINATION_NONE = 'none';
       
  9846 var LINK_DESTINATION_MEDIA = 'media';
       
  9847 var LINK_DESTINATION_ATTACHMENT = 'attachment';
       
  9848 var LINK_DESTINATION_CUSTOM = 'custom';
       
  9849 var NEW_TAB_REL = 'noreferrer noopener';
       
  9850 var ALLOWED_MEDIA_TYPES = ['image'];
       
  9851 var edit_pickRelevantMediaFiles = function pickRelevantMediaFiles(image) {
       
  9852   var imageProps = Object(external_lodash_["pick"])(image, ['alt', 'id', 'link', 'caption']);
       
  9853   imageProps.url = Object(external_lodash_["get"])(image, ['sizes', 'large', 'url']) || Object(external_lodash_["get"])(image, ['media_details', 'sizes', 'large', 'source_url']) || image.url;
       
  9854   return imageProps;
       
  9855 };
       
  9856 /**
       
  9857  * Is the URL a temporary blob URL? A blob URL is one that is used temporarily
       
  9858  * while the image is being uploaded and will not have an id yet allocated.
       
  9859  *
       
  9860  * @param {number=} id The id of the image.
       
  9861  * @param {string=} url The url of the image.
       
  9862  *
       
  9863  * @return {boolean} Is the URL a Blob URL
       
  9864  */
       
  9865 
       
  9866 var edit_isTemporaryImage = function isTemporaryImage(id, url) {
       
  9867   return !id && Object(external_this_wp_blob_["isBlobURL"])(url);
       
  9868 };
       
  9869 /**
       
  9870  * Is the url for the image hosted externally. An externally hosted image has no id
       
  9871  * and is not a blob url.
       
  9872  *
       
  9873  * @param {number=} id  The id of the image.
       
  9874  * @param {string=} url The url of the image.
       
  9875  *
       
  9876  * @return {boolean} Is the url an externally hosted url?
       
  9877  */
       
  9878 
       
  9879 
       
  9880 var edit_isExternalImage = function isExternalImage(id, url) {
       
  9881   return url && !id && !Object(external_this_wp_blob_["isBlobURL"])(url);
       
  9882 };
       
  9883 
       
  9884 var edit_ImageEdit =
       
  9885 /*#__PURE__*/
       
  9886 function (_Component) {
       
  9887   Object(inherits["a" /* default */])(ImageEdit, _Component);
       
  9888 
       
  9889   function ImageEdit(_ref) {
       
  9890     var _this;
       
  9891 
       
  9892     var attributes = _ref.attributes;
       
  9893 
       
  9894     Object(classCallCheck["a" /* default */])(this, ImageEdit);
       
  9895 
       
  9896     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(ImageEdit).apply(this, arguments));
       
  9897     _this.updateAlt = _this.updateAlt.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  9898     _this.updateAlignment = _this.updateAlignment.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  9899     _this.onFocusCaption = _this.onFocusCaption.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  9900     _this.onImageClick = _this.onImageClick.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  9901     _this.onSelectImage = _this.onSelectImage.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  9902     _this.onSelectURL = _this.onSelectURL.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  9903     _this.updateImageURL = _this.updateImageURL.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  9904     _this.updateWidth = _this.updateWidth.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  9905     _this.updateHeight = _this.updateHeight.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  9906     _this.updateDimensions = _this.updateDimensions.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  9907     _this.onSetCustomHref = _this.onSetCustomHref.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  9908     _this.onSetLinkClass = _this.onSetLinkClass.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  9909     _this.onSetLinkRel = _this.onSetLinkRel.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  9910     _this.onSetLinkDestination = _this.onSetLinkDestination.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  9911     _this.onSetNewTab = _this.onSetNewTab.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  9912     _this.getFilename = _this.getFilename.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  9913     _this.toggleIsEditing = _this.toggleIsEditing.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  9914     _this.onUploadError = _this.onUploadError.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  9915     _this.onImageError = _this.onImageError.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
  9916     _this.state = {
       
  9917       captionFocused: false,
       
  9918       isEditing: !attributes.url
       
  9919     };
       
  9920     return _this;
       
  9921   }
       
  9922 
       
  9923   Object(createClass["a" /* default */])(ImageEdit, [{
       
  9924     key: "componentDidMount",
       
  9925     value: function componentDidMount() {
       
  9926       var _this2 = this;
       
  9927 
       
  9928       var _this$props = this.props,
       
  9929           attributes = _this$props.attributes,
       
  9930           setAttributes = _this$props.setAttributes,
       
  9931           noticeOperations = _this$props.noticeOperations;
       
  9932       var id = attributes.id,
       
  9933           _attributes$url = attributes.url,
       
  9934           url = _attributes$url === void 0 ? '' : _attributes$url;
       
  9935 
       
  9936       if (edit_isTemporaryImage(id, url)) {
       
  9937         var file = Object(external_this_wp_blob_["getBlobByURL"])(url);
       
  9938 
       
  9939         if (file) {
       
  9940           Object(external_this_wp_editor_["mediaUpload"])({
       
  9941             filesList: [file],
       
  9942             onFileChange: function onFileChange(_ref2) {
       
  9943               var _ref3 = Object(slicedToArray["a" /* default */])(_ref2, 1),
       
  9944                   image = _ref3[0];
       
  9945 
       
  9946               setAttributes(edit_pickRelevantMediaFiles(image));
       
  9947             },
       
  9948             allowedTypes: ALLOWED_MEDIA_TYPES,
       
  9949             onError: function onError(message) {
       
  9950               noticeOperations.createErrorNotice(message);
       
  9951 
       
  9952               _this2.setState({
       
  9953                 isEditing: true
       
  9954               });
       
  9955             }
       
  9956           });
       
  9957         }
       
  9958       }
       
  9959     }
       
  9960   }, {
       
  9961     key: "componentDidUpdate",
       
  9962     value: function componentDidUpdate(prevProps) {
       
  9963       var _prevProps$attributes = prevProps.attributes,
       
  9964           prevID = _prevProps$attributes.id,
       
  9965           _prevProps$attributes2 = _prevProps$attributes.url,
       
  9966           prevURL = _prevProps$attributes2 === void 0 ? '' : _prevProps$attributes2;
       
  9967       var _this$props$attribute = this.props.attributes,
       
  9968           id = _this$props$attribute.id,
       
  9969           _this$props$attribute2 = _this$props$attribute.url,
       
  9970           url = _this$props$attribute2 === void 0 ? '' : _this$props$attribute2;
       
  9971 
       
  9972       if (edit_isTemporaryImage(prevID, prevURL) && !edit_isTemporaryImage(id, url)) {
       
  9973         Object(external_this_wp_blob_["revokeBlobURL"])(url);
       
  9974       }
       
  9975 
       
  9976       if (!this.props.isSelected && prevProps.isSelected && this.state.captionFocused) {
       
  9977         this.setState({
       
  9978           captionFocused: false
       
  9979         });
       
  9980       }
       
  9981     }
       
  9982   }, {
       
  9983     key: "onUploadError",
       
  9984     value: function onUploadError(message) {
       
  9985       var noticeOperations = this.props.noticeOperations;
       
  9986       noticeOperations.createErrorNotice(message);
       
  9987       this.setState({
       
  9988         isEditing: true
       
  9989       });
       
  9990     }
       
  9991   }, {
       
  9992     key: "onSelectImage",
       
  9993     value: function onSelectImage(media) {
       
  9994       if (!media || !media.url) {
       
  9995         this.props.setAttributes({
       
  9996           url: undefined,
       
  9997           alt: undefined,
       
  9998           id: undefined,
       
  9999           caption: undefined
       
 10000         });
       
 10001         return;
       
 10002       }
       
 10003 
       
 10004       this.setState({
       
 10005         isEditing: false
       
 10006       });
       
 10007       this.props.setAttributes(Object(objectSpread["a" /* default */])({}, edit_pickRelevantMediaFiles(media), {
       
 10008         width: undefined,
       
 10009         height: undefined
       
 10010       }));
       
 10011     }
       
 10012   }, {
       
 10013     key: "onSetLinkDestination",
       
 10014     value: function onSetLinkDestination(value) {
       
 10015       var href;
       
 10016 
       
 10017       if (value === LINK_DESTINATION_NONE) {
       
 10018         href = undefined;
       
 10019       } else if (value === LINK_DESTINATION_MEDIA) {
       
 10020         href = this.props.image && this.props.image.source_url || this.props.attributes.url;
       
 10021       } else if (value === LINK_DESTINATION_ATTACHMENT) {
       
 10022         href = this.props.image && this.props.image.link;
       
 10023       } else {
       
 10024         href = this.props.attributes.href;
       
 10025       }
       
 10026 
       
 10027       this.props.setAttributes({
       
 10028         linkDestination: value,
       
 10029         href: href
       
 10030       });
       
 10031     }
       
 10032   }, {
       
 10033     key: "onSelectURL",
       
 10034     value: function onSelectURL(newURL) {
       
 10035       var url = this.props.attributes.url;
       
 10036 
       
 10037       if (newURL !== url) {
       
 10038         this.props.setAttributes({
       
 10039           url: newURL,
       
 10040           id: undefined
       
 10041         });
       
 10042       }
       
 10043 
       
 10044       this.setState({
       
 10045         isEditing: false
       
 10046       });
       
 10047     }
       
 10048   }, {
       
 10049     key: "onImageError",
       
 10050     value: function onImageError(url) {
       
 10051       // Check if there's an embed block that handles this URL.
       
 10052       var embedBlock = Object(util["a" /* createUpgradedEmbedBlock */])({
       
 10053         attributes: {
       
 10054           url: url
       
 10055         }
       
 10056       });
       
 10057 
       
 10058       if (undefined !== embedBlock) {
       
 10059         this.props.onReplace(embedBlock);
       
 10060       }
       
 10061     }
       
 10062   }, {
       
 10063     key: "onSetCustomHref",
       
 10064     value: function onSetCustomHref(value) {
       
 10065       this.props.setAttributes({
       
 10066         href: value
       
 10067       });
       
 10068     }
       
 10069   }, {
       
 10070     key: "onSetLinkClass",
       
 10071     value: function onSetLinkClass(value) {
       
 10072       this.props.setAttributes({
       
 10073         linkClass: value
       
 10074       });
       
 10075     }
       
 10076   }, {
       
 10077     key: "onSetLinkRel",
       
 10078     value: function onSetLinkRel(value) {
       
 10079       this.props.setAttributes({
       
 10080         rel: value
       
 10081       });
       
 10082     }
       
 10083   }, {
       
 10084     key: "onSetNewTab",
       
 10085     value: function onSetNewTab(value) {
       
 10086       var rel = this.props.attributes.rel;
       
 10087       var linkTarget = value ? '_blank' : undefined;
       
 10088       var updatedRel = rel;
       
 10089 
       
 10090       if (linkTarget && !rel) {
       
 10091         updatedRel = NEW_TAB_REL;
       
 10092       } else if (!linkTarget && rel === NEW_TAB_REL) {
       
 10093         updatedRel = undefined;
       
 10094       }
       
 10095 
       
 10096       this.props.setAttributes({
       
 10097         linkTarget: linkTarget,
       
 10098         rel: updatedRel
       
 10099       });
       
 10100     }
       
 10101   }, {
       
 10102     key: "onFocusCaption",
       
 10103     value: function onFocusCaption() {
       
 10104       if (!this.state.captionFocused) {
       
 10105         this.setState({
       
 10106           captionFocused: true
       
 10107         });
       
 10108       }
       
 10109     }
       
 10110   }, {
       
 10111     key: "onImageClick",
       
 10112     value: function onImageClick() {
       
 10113       if (this.state.captionFocused) {
       
 10114         this.setState({
       
 10115           captionFocused: false
       
 10116         });
       
 10117       }
       
 10118     }
       
 10119   }, {
       
 10120     key: "updateAlt",
       
 10121     value: function updateAlt(newAlt) {
       
 10122       this.props.setAttributes({
       
 10123         alt: newAlt
       
 10124       });
       
 10125     }
       
 10126   }, {
       
 10127     key: "updateAlignment",
       
 10128     value: function updateAlignment(nextAlign) {
       
 10129       var extraUpdatedAttributes = ['wide', 'full'].indexOf(nextAlign) !== -1 ? {
       
 10130         width: undefined,
       
 10131         height: undefined
       
 10132       } : {};
       
 10133       this.props.setAttributes(Object(objectSpread["a" /* default */])({}, extraUpdatedAttributes, {
       
 10134         align: nextAlign
       
 10135       }));
       
 10136     }
       
 10137   }, {
       
 10138     key: "updateImageURL",
       
 10139     value: function updateImageURL(url) {
       
 10140       this.props.setAttributes({
       
 10141         url: url,
       
 10142         width: undefined,
       
 10143         height: undefined
       
 10144       });
       
 10145     }
       
 10146   }, {
       
 10147     key: "updateWidth",
       
 10148     value: function updateWidth(width) {
       
 10149       this.props.setAttributes({
       
 10150         width: parseInt(width, 10)
       
 10151       });
       
 10152     }
       
 10153   }, {
       
 10154     key: "updateHeight",
       
 10155     value: function updateHeight(height) {
       
 10156       this.props.setAttributes({
       
 10157         height: parseInt(height, 10)
       
 10158       });
       
 10159     }
       
 10160   }, {
       
 10161     key: "updateDimensions",
       
 10162     value: function updateDimensions() {
       
 10163       var _this3 = this;
       
 10164 
       
 10165       var width = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined;
       
 10166       var height = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;
       
 10167       return function () {
       
 10168         _this3.props.setAttributes({
       
 10169           width: width,
       
 10170           height: height
       
 10171         });
       
 10172       };
       
 10173     }
       
 10174   }, {
       
 10175     key: "getFilename",
       
 10176     value: function getFilename(url) {
       
 10177       var path = Object(external_this_wp_url_["getPath"])(url);
       
 10178 
       
 10179       if (path) {
       
 10180         return Object(external_lodash_["last"])(path.split('/'));
       
 10181       }
       
 10182     }
       
 10183   }, {
       
 10184     key: "getLinkDestinationOptions",
       
 10185     value: function getLinkDestinationOptions() {
       
 10186       return [{
       
 10187         value: LINK_DESTINATION_NONE,
       
 10188         label: Object(external_this_wp_i18n_["__"])('None')
       
 10189       }, {
       
 10190         value: LINK_DESTINATION_MEDIA,
       
 10191         label: Object(external_this_wp_i18n_["__"])('Media File')
       
 10192       }, {
       
 10193         value: LINK_DESTINATION_ATTACHMENT,
       
 10194         label: Object(external_this_wp_i18n_["__"])('Attachment Page')
       
 10195       }, {
       
 10196         value: LINK_DESTINATION_CUSTOM,
       
 10197         label: Object(external_this_wp_i18n_["__"])('Custom URL')
       
 10198       }];
       
 10199     }
       
 10200   }, {
       
 10201     key: "toggleIsEditing",
       
 10202     value: function toggleIsEditing() {
       
 10203       this.setState({
       
 10204         isEditing: !this.state.isEditing
       
 10205       });
       
 10206     }
       
 10207   }, {
       
 10208     key: "getImageSizeOptions",
       
 10209     value: function getImageSizeOptions() {
       
 10210       var _this$props2 = this.props,
       
 10211           imageSizes = _this$props2.imageSizes,
       
 10212           image = _this$props2.image;
       
 10213       return Object(external_lodash_["compact"])(Object(external_lodash_["map"])(imageSizes, function (_ref4) {
       
 10214         var name = _ref4.name,
       
 10215             slug = _ref4.slug;
       
 10216         var sizeUrl = Object(external_lodash_["get"])(image, ['media_details', 'sizes', slug, 'source_url']);
       
 10217 
       
 10218         if (!sizeUrl) {
       
 10219           return null;
       
 10220         }
       
 10221 
       
 10222         return {
       
 10223           value: sizeUrl,
       
 10224           label: name
       
 10225         };
       
 10226       }));
       
 10227     }
       
 10228   }, {
       
 10229     key: "render",
       
 10230     value: function render() {
       
 10231       var _this4 = this;
       
 10232 
       
 10233       var isEditing = this.state.isEditing;
       
 10234       var _this$props3 = this.props,
       
 10235           attributes = _this$props3.attributes,
       
 10236           setAttributes = _this$props3.setAttributes,
       
 10237           isLargeViewport = _this$props3.isLargeViewport,
       
 10238           isSelected = _this$props3.isSelected,
       
 10239           className = _this$props3.className,
       
 10240           maxWidth = _this$props3.maxWidth,
       
 10241           noticeUI = _this$props3.noticeUI,
       
 10242           toggleSelection = _this$props3.toggleSelection,
       
 10243           isRTL = _this$props3.isRTL;
       
 10244       var url = attributes.url,
       
 10245           alt = attributes.alt,
       
 10246           caption = attributes.caption,
       
 10247           align = attributes.align,
       
 10248           id = attributes.id,
       
 10249           href = attributes.href,
       
 10250           rel = attributes.rel,
       
 10251           linkClass = attributes.linkClass,
       
 10252           linkDestination = attributes.linkDestination,
       
 10253           width = attributes.width,
       
 10254           height = attributes.height,
       
 10255           linkTarget = attributes.linkTarget;
       
 10256       var isExternal = edit_isExternalImage(id, url);
       
 10257       var toolbarEditButton;
       
 10258 
       
 10259       if (url) {
       
 10260         if (isExternal) {
       
 10261           toolbarEditButton = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], {
       
 10262             className: "components-icon-button components-toolbar__control",
       
 10263             label: Object(external_this_wp_i18n_["__"])('Edit image'),
       
 10264             onClick: this.toggleIsEditing,
       
 10265             icon: "edit"
       
 10266           }));
       
 10267         } else {
       
 10268           toolbarEditButton = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUploadCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUpload"], {
       
 10269             onSelect: this.onSelectImage,
       
 10270             allowedTypes: ALLOWED_MEDIA_TYPES,
       
 10271             value: id,
       
 10272             render: function render(_ref5) {
       
 10273               var open = _ref5.open;
       
 10274               return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], {
       
 10275                 className: "components-toolbar__control",
       
 10276                 label: Object(external_this_wp_i18n_["__"])('Edit image'),
       
 10277                 icon: "edit",
       
 10278                 onClick: open
       
 10279               });
       
 10280             }
       
 10281           })));
       
 10282         }
       
 10283       }
       
 10284 
       
 10285       var controls = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockAlignmentToolbar"], {
       
 10286         value: align,
       
 10287         onChange: this.updateAlignment
       
 10288       }), toolbarEditButton);
       
 10289 
       
 10290       if (isEditing || !url) {
       
 10291         var src = isExternal ? url : undefined;
       
 10292         return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, controls, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaPlaceholder"], {
       
 10293           icon: Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], {
       
 10294             icon: icon
       
 10295           }),
       
 10296           className: className,
       
 10297           onSelect: this.onSelectImage,
       
 10298           onSelectURL: this.onSelectURL,
       
 10299           notices: noticeUI,
       
 10300           onError: this.onUploadError,
       
 10301           accept: "image/*",
       
 10302           allowedTypes: ALLOWED_MEDIA_TYPES,
       
 10303           value: {
       
 10304             id: id,
       
 10305             src: src
       
 10306           }
       
 10307         }));
       
 10308       }
       
 10309 
       
 10310       var classes = classnames_default()(className, {
       
 10311         'is-transient': Object(external_this_wp_blob_["isBlobURL"])(url),
       
 10312         'is-resized': !!width || !!height,
       
 10313         'is-focused': isSelected
       
 10314       });
       
 10315       var isResizable = ['wide', 'full'].indexOf(align) === -1 && isLargeViewport;
       
 10316       var isLinkURLInputReadOnly = linkDestination !== LINK_DESTINATION_CUSTOM;
       
 10317       var imageSizeOptions = this.getImageSizeOptions();
       
 10318 
       
 10319       var getInspectorControls = function getInspectorControls(imageWidth, imageHeight) {
       
 10320         return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 10321           title: Object(external_this_wp_i18n_["__"])('Image Settings')
       
 10322         }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextareaControl"], {
       
 10323           label: Object(external_this_wp_i18n_["__"])('Alt Text (Alternative Text)'),
       
 10324           value: alt,
       
 10325           onChange: _this4.updateAlt,
       
 10326           help: Object(external_this_wp_i18n_["__"])('Alternative text describes your image to people who can’t see it. Add a short description with its key details.')
       
 10327         }), !Object(external_lodash_["isEmpty"])(imageSizeOptions) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], {
       
 10328           label: Object(external_this_wp_i18n_["__"])('Image Size'),
       
 10329           value: url,
       
 10330           options: imageSizeOptions,
       
 10331           onChange: _this4.updateImageURL
       
 10332         }), isResizable && Object(external_this_wp_element_["createElement"])("div", {
       
 10333           className: "block-library-image__dimensions"
       
 10334         }, Object(external_this_wp_element_["createElement"])("p", {
       
 10335           className: "block-library-image__dimensions__row"
       
 10336         }, Object(external_this_wp_i18n_["__"])('Image Dimensions')), Object(external_this_wp_element_["createElement"])("div", {
       
 10337           className: "block-library-image__dimensions__row"
       
 10338         }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
       
 10339           type: "number",
       
 10340           className: "block-library-image__dimensions__width",
       
 10341           label: Object(external_this_wp_i18n_["__"])('Width'),
       
 10342           value: width !== undefined ? width : imageWidth,
       
 10343           min: 1,
       
 10344           onChange: _this4.updateWidth
       
 10345         }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
       
 10346           type: "number",
       
 10347           className: "block-library-image__dimensions__height",
       
 10348           label: Object(external_this_wp_i18n_["__"])('Height'),
       
 10349           value: height !== undefined ? height : imageHeight,
       
 10350           min: 1,
       
 10351           onChange: _this4.updateHeight
       
 10352         })), Object(external_this_wp_element_["createElement"])("div", {
       
 10353           className: "block-library-image__dimensions__row"
       
 10354         }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ButtonGroup"], {
       
 10355           "aria-label": Object(external_this_wp_i18n_["__"])('Image Size')
       
 10356         }, [25, 50, 75, 100].map(function (scale) {
       
 10357           var scaledWidth = Math.round(imageWidth * (scale / 100));
       
 10358           var scaledHeight = Math.round(imageHeight * (scale / 100));
       
 10359           var isCurrent = width === scaledWidth && height === scaledHeight;
       
 10360           return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
 10361             key: scale,
       
 10362             isSmall: true,
       
 10363             isPrimary: isCurrent,
       
 10364             "aria-pressed": isCurrent,
       
 10365             onClick: _this4.updateDimensions(scaledWidth, scaledHeight)
       
 10366           }, scale, "%");
       
 10367         })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
 10368           isSmall: true,
       
 10369           onClick: _this4.updateDimensions()
       
 10370         }, Object(external_this_wp_i18n_["__"])('Reset'))))), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 10371           title: Object(external_this_wp_i18n_["__"])('Link Settings')
       
 10372         }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], {
       
 10373           label: Object(external_this_wp_i18n_["__"])('Link To'),
       
 10374           value: linkDestination,
       
 10375           options: _this4.getLinkDestinationOptions(),
       
 10376           onChange: _this4.onSetLinkDestination
       
 10377         }), linkDestination !== LINK_DESTINATION_NONE && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
       
 10378           label: Object(external_this_wp_i18n_["__"])('Link URL'),
       
 10379           value: href || '',
       
 10380           onChange: _this4.onSetCustomHref,
       
 10381           placeholder: !isLinkURLInputReadOnly ? 'https://' : undefined,
       
 10382           readOnly: isLinkURLInputReadOnly
       
 10383         }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 10384           label: Object(external_this_wp_i18n_["__"])('Open in New Tab'),
       
 10385           onChange: _this4.onSetNewTab,
       
 10386           checked: linkTarget === '_blank'
       
 10387         }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
       
 10388           label: Object(external_this_wp_i18n_["__"])('Link CSS Class'),
       
 10389           value: linkClass || '',
       
 10390           onChange: _this4.onSetLinkClass
       
 10391         }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
       
 10392           label: Object(external_this_wp_i18n_["__"])('Link Rel'),
       
 10393           value: rel || '',
       
 10394           onChange: _this4.onSetLinkRel
       
 10395         }))));
       
 10396       }; // Disable reason: Each block can be selected by clicking on it
       
 10397 
       
 10398       /* eslint-disable jsx-a11y/no-static-element-interactions, jsx-a11y/onclick-has-role, jsx-a11y/click-events-have-key-events */
       
 10399 
       
 10400 
       
 10401       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, controls, Object(external_this_wp_element_["createElement"])("figure", {
       
 10402         className: classes
       
 10403       }, Object(external_this_wp_element_["createElement"])(image_size, {
       
 10404         src: url,
       
 10405         dirtynessTrigger: align
       
 10406       }, function (sizes) {
       
 10407         var imageWidthWithinContainer = sizes.imageWidthWithinContainer,
       
 10408             imageHeightWithinContainer = sizes.imageHeightWithinContainer,
       
 10409             imageWidth = sizes.imageWidth,
       
 10410             imageHeight = sizes.imageHeight;
       
 10411 
       
 10412         var filename = _this4.getFilename(url);
       
 10413 
       
 10414         var defaultedAlt;
       
 10415 
       
 10416         if (alt) {
       
 10417           defaultedAlt = alt;
       
 10418         } else if (filename) {
       
 10419           defaultedAlt = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('This image has an empty alt attribute; its file name is %s'), filename);
       
 10420         } else {
       
 10421           defaultedAlt = Object(external_this_wp_i18n_["__"])('This image has an empty alt attribute');
       
 10422         }
       
 10423 
       
 10424         var img = // Disable reason: Image itself is not meant to be interactive, but
       
 10425         // should direct focus to block.
       
 10426 
       
 10427         /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
       
 10428         Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("img", {
       
 10429           src: url,
       
 10430           alt: defaultedAlt,
       
 10431           onClick: _this4.onImageClick,
       
 10432           onError: function onError() {
       
 10433             return _this4.onImageError(url);
       
 10434           }
       
 10435         }), Object(external_this_wp_blob_["isBlobURL"])(url) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null))
       
 10436         /* eslint-enable jsx-a11y/no-noninteractive-element-interactions */
       
 10437         ;
       
 10438 
       
 10439         if (!isResizable || !imageWidthWithinContainer) {
       
 10440           return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, getInspectorControls(imageWidth, imageHeight), Object(external_this_wp_element_["createElement"])("div", {
       
 10441             style: {
       
 10442               width: width,
       
 10443               height: height
       
 10444             }
       
 10445           }, img));
       
 10446         }
       
 10447 
       
 10448         var currentWidth = width || imageWidthWithinContainer;
       
 10449         var currentHeight = height || imageHeightWithinContainer;
       
 10450         var ratio = imageWidth / imageHeight;
       
 10451         var minWidth = imageWidth < imageHeight ? MIN_SIZE : MIN_SIZE * ratio;
       
 10452         var minHeight = imageHeight < imageWidth ? MIN_SIZE : MIN_SIZE / ratio; // With the current implementation of ResizableBox, an image needs an explicit pixel value for the max-width.
       
 10453         // In absence of being able to set the content-width, this max-width is currently dictated by the vanilla editor style.
       
 10454         // The following variable adds a buffer to this vanilla style, so 3rd party themes have some wiggleroom.
       
 10455         // This does, in most cases, allow you to scale the image beyond the width of the main column, though not infinitely.
       
 10456         // @todo It would be good to revisit this once a content-width variable becomes available.
       
 10457 
       
 10458         var maxWidthBuffer = maxWidth * 2.5;
       
 10459         var showRightHandle = false;
       
 10460         var showLeftHandle = false;
       
 10461         /* eslint-disable no-lonely-if */
       
 10462         // See https://github.com/WordPress/gutenberg/issues/7584.
       
 10463 
       
 10464         if (align === 'center') {
       
 10465           // When the image is centered, show both handles.
       
 10466           showRightHandle = true;
       
 10467           showLeftHandle = true;
       
 10468         } else if (isRTL) {
       
 10469           // In RTL mode the image is on the right by default.
       
 10470           // Show the right handle and hide the left handle only when it is aligned left.
       
 10471           // Otherwise always show the left handle.
       
 10472           if (align === 'left') {
       
 10473             showRightHandle = true;
       
 10474           } else {
       
 10475             showLeftHandle = true;
       
 10476           }
       
 10477         } else {
       
 10478           // Show the left handle and hide the right handle only when the image is aligned right.
       
 10479           // Otherwise always show the right handle.
       
 10480           if (align === 'right') {
       
 10481             showLeftHandle = true;
       
 10482           } else {
       
 10483             showRightHandle = true;
       
 10484           }
       
 10485         }
       
 10486         /* eslint-enable no-lonely-if */
       
 10487 
       
 10488 
       
 10489         return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, getInspectorControls(imageWidth, imageHeight), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ResizableBox"], {
       
 10490           size: width && height ? {
       
 10491             width: width,
       
 10492             height: height
       
 10493           } : undefined,
       
 10494           minWidth: minWidth,
       
 10495           maxWidth: maxWidthBuffer,
       
 10496           minHeight: minHeight,
       
 10497           maxHeight: maxWidthBuffer / ratio,
       
 10498           lockAspectRatio: true,
       
 10499           enable: {
       
 10500             top: false,
       
 10501             right: showRightHandle,
       
 10502             bottom: true,
       
 10503             left: showLeftHandle
       
 10504           },
       
 10505           onResizeStart: function onResizeStart() {
       
 10506             toggleSelection(false);
       
 10507           },
       
 10508           onResizeStop: function onResizeStop(event, direction, elt, delta) {
       
 10509             setAttributes({
       
 10510               width: parseInt(currentWidth + delta.width, 10),
       
 10511               height: parseInt(currentHeight + delta.height, 10)
       
 10512             });
       
 10513             toggleSelection(true);
       
 10514           }
       
 10515         }, img));
       
 10516       }), (!external_this_wp_blockEditor_["RichText"].isEmpty(caption) || isSelected) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 10517         tagName: "figcaption",
       
 10518         placeholder: Object(external_this_wp_i18n_["__"])('Write caption…'),
       
 10519         value: caption,
       
 10520         unstableOnFocus: this.onFocusCaption,
       
 10521         onChange: function onChange(value) {
       
 10522           return setAttributes({
       
 10523             caption: value
       
 10524           });
       
 10525         },
       
 10526         isSelected: this.state.captionFocused,
       
 10527         inlineToolbar: true
       
 10528       })));
       
 10529       /* eslint-enable jsx-a11y/no-static-element-interactions, jsx-a11y/onclick-has-role, jsx-a11y/click-events-have-key-events */
       
 10530     }
       
 10531   }]);
       
 10532 
       
 10533   return ImageEdit;
       
 10534 }(external_this_wp_element_["Component"]);
       
 10535 
       
 10536 /* harmony default export */ var edit = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, props) {
       
 10537   var _select = select('core'),
       
 10538       getMedia = _select.getMedia;
       
 10539 
       
 10540   var _select2 = select('core/block-editor'),
       
 10541       getSettings = _select2.getSettings;
       
 10542 
       
 10543   var id = props.attributes.id;
       
 10544 
       
 10545   var _getSettings = getSettings(),
       
 10546       maxWidth = _getSettings.maxWidth,
       
 10547       isRTL = _getSettings.isRTL,
       
 10548       imageSizes = _getSettings.imageSizes;
       
 10549 
       
 10550   return {
       
 10551     image: id ? getMedia(id) : null,
       
 10552     maxWidth: maxWidth,
       
 10553     isRTL: isRTL,
       
 10554     imageSizes: imageSizes
       
 10555   };
       
 10556 }), Object(external_this_wp_viewport_["withViewportMatch"])({
       
 10557   isLargeViewport: 'medium'
       
 10558 }), external_this_wp_components_["withNotices"]])(edit_ImageEdit));
       
 10559 
       
 10560 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/index.js
       
 10561 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return image_name; });
       
 10562 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "stripFirstImage", function() { return stripFirstImage; });
       
 10563 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
 10564 
       
 10565 
       
 10566 
       
 10567 
       
 10568 
       
 10569 /**
       
 10570  * External dependencies
       
 10571  */
       
 10572 
       
 10573 /**
       
 10574  * WordPress dependencies
       
 10575  */
       
 10576 
       
 10577 
       
 10578 
       
 10579 
       
 10580 
       
 10581 
       
 10582 /**
       
 10583  * Internal dependencies
       
 10584  */
       
 10585 
       
 10586 
       
 10587 
       
 10588 var image_name = 'core/image';
       
 10589 var blockAttributes = {
       
 10590   url: {
       
 10591     type: 'string',
       
 10592     source: 'attribute',
       
 10593     selector: 'img',
       
 10594     attribute: 'src'
       
 10595   },
       
 10596   alt: {
       
 10597     type: 'string',
       
 10598     source: 'attribute',
       
 10599     selector: 'img',
       
 10600     attribute: 'alt',
       
 10601     default: ''
       
 10602   },
       
 10603   caption: {
       
 10604     type: 'string',
       
 10605     source: 'html',
       
 10606     selector: 'figcaption'
       
 10607   },
       
 10608   href: {
       
 10609     type: 'string',
       
 10610     source: 'attribute',
       
 10611     selector: 'figure > a',
       
 10612     attribute: 'href'
       
 10613   },
       
 10614   rel: {
       
 10615     type: 'string',
       
 10616     source: 'attribute',
       
 10617     selector: 'figure > a',
       
 10618     attribute: 'rel'
       
 10619   },
       
 10620   linkClass: {
       
 10621     type: 'string',
       
 10622     source: 'attribute',
       
 10623     selector: 'figure > a',
       
 10624     attribute: 'class'
       
 10625   },
       
 10626   id: {
       
 10627     type: 'number'
       
 10628   },
       
 10629   align: {
       
 10630     type: 'string'
       
 10631   },
       
 10632   width: {
       
 10633     type: 'number'
       
 10634   },
       
 10635   height: {
       
 10636     type: 'number'
       
 10637   },
       
 10638   linkDestination: {
       
 10639     type: 'string',
       
 10640     default: 'none'
       
 10641   },
       
 10642   linkTarget: {
       
 10643     type: 'string',
       
 10644     source: 'attribute',
       
 10645     selector: 'figure > a',
       
 10646     attribute: 'target'
       
 10647   }
       
 10648 };
       
 10649 var imageSchema = {
       
 10650   img: {
       
 10651     attributes: ['src', 'alt'],
       
 10652     classes: ['alignleft', 'aligncenter', 'alignright', 'alignnone', /^wp-image-\d+$/]
       
 10653   }
       
 10654 };
       
 10655 var schema = {
       
 10656   figure: {
       
 10657     require: ['img'],
       
 10658     children: Object(objectSpread["a" /* default */])({}, imageSchema, {
       
 10659       a: {
       
 10660         attributes: ['href', 'rel', 'target'],
       
 10661         children: imageSchema
       
 10662       },
       
 10663       figcaption: {
       
 10664         children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])()
       
 10665       }
       
 10666     })
       
 10667   }
       
 10668 };
       
 10669 
       
 10670 function getFirstAnchorAttributeFormHTML(html, attributeName) {
       
 10671   var _document$implementat = document.implementation.createHTMLDocument(''),
       
 10672       body = _document$implementat.body;
       
 10673 
       
 10674   body.innerHTML = html;
       
 10675   var firstElementChild = body.firstElementChild;
       
 10676 
       
 10677   if (firstElementChild && firstElementChild.nodeName === 'A') {
       
 10678     return firstElementChild.getAttribute(attributeName) || undefined;
       
 10679   }
       
 10680 }
       
 10681 
       
 10682 function stripFirstImage(attributes, _ref) {
       
 10683   var shortcode = _ref.shortcode;
       
 10684 
       
 10685   var _document$implementat2 = document.implementation.createHTMLDocument(''),
       
 10686       body = _document$implementat2.body;
       
 10687 
       
 10688   body.innerHTML = shortcode.content;
       
 10689   var nodeToRemove = body.querySelector('img'); // if an image has parents, find the topmost node to remove
       
 10690 
       
 10691   while (nodeToRemove && nodeToRemove.parentNode && nodeToRemove.parentNode !== body) {
       
 10692     nodeToRemove = nodeToRemove.parentNode;
       
 10693   }
       
 10694 
       
 10695   if (nodeToRemove) {
       
 10696     nodeToRemove.parentNode.removeChild(nodeToRemove);
       
 10697   }
       
 10698 
       
 10699   return body.innerHTML.trim();
       
 10700 }
       
 10701 var settings = {
       
 10702   title: Object(external_this_wp_i18n_["__"])('Image'),
       
 10703   description: Object(external_this_wp_i18n_["__"])('Insert an image to make a visual statement.'),
       
 10704   icon: icon,
       
 10705   category: 'common',
       
 10706   keywords: ['img', // "img" is not translated as it is intended to reflect the HTML <img> tag.
       
 10707   Object(external_this_wp_i18n_["__"])('photo')],
       
 10708   attributes: blockAttributes,
       
 10709   transforms: {
       
 10710     from: [{
       
 10711       type: 'raw',
       
 10712       isMatch: function isMatch(node) {
       
 10713         return node.nodeName === 'FIGURE' && !!node.querySelector('img');
       
 10714       },
       
 10715       schema: schema,
       
 10716       transform: function transform(node) {
       
 10717         // Search both figure and image classes. Alignment could be
       
 10718         // set on either. ID is set on the image.
       
 10719         var className = node.className + ' ' + node.querySelector('img').className;
       
 10720         var alignMatches = /(?:^|\s)align(left|center|right)(?:$|\s)/.exec(className);
       
 10721         var align = alignMatches ? alignMatches[1] : undefined;
       
 10722         var idMatches = /(?:^|\s)wp-image-(\d+)(?:$|\s)/.exec(className);
       
 10723         var id = idMatches ? Number(idMatches[1]) : undefined;
       
 10724         var anchorElement = node.querySelector('a');
       
 10725         var linkDestination = anchorElement && anchorElement.href ? 'custom' : undefined;
       
 10726         var href = anchorElement && anchorElement.href ? anchorElement.href : undefined;
       
 10727         var rel = anchorElement && anchorElement.rel ? anchorElement.rel : undefined;
       
 10728         var linkClass = anchorElement && anchorElement.className ? anchorElement.className : undefined;
       
 10729         var attributes = Object(external_this_wp_blocks_["getBlockAttributes"])('core/image', node.outerHTML, {
       
 10730           align: align,
       
 10731           id: id,
       
 10732           linkDestination: linkDestination,
       
 10733           href: href,
       
 10734           rel: rel,
       
 10735           linkClass: linkClass
       
 10736         });
       
 10737         return Object(external_this_wp_blocks_["createBlock"])('core/image', attributes);
       
 10738       }
       
 10739     }, {
       
 10740       type: 'files',
       
 10741       isMatch: function isMatch(files) {
       
 10742         return files.length === 1 && files[0].type.indexOf('image/') === 0;
       
 10743       },
       
 10744       transform: function transform(files) {
       
 10745         var file = files[0]; // We don't need to upload the media directly here
       
 10746         // It's already done as part of the `componentDidMount`
       
 10747         // int the image block
       
 10748 
       
 10749         var block = Object(external_this_wp_blocks_["createBlock"])('core/image', {
       
 10750           url: Object(external_this_wp_blob_["createBlobURL"])(file)
       
 10751         });
       
 10752         return block;
       
 10753       }
       
 10754     }, {
       
 10755       type: 'shortcode',
       
 10756       tag: 'caption',
       
 10757       attributes: {
       
 10758         url: {
       
 10759           type: 'string',
       
 10760           source: 'attribute',
       
 10761           attribute: 'src',
       
 10762           selector: 'img'
       
 10763         },
       
 10764         alt: {
       
 10765           type: 'string',
       
 10766           source: 'attribute',
       
 10767           attribute: 'alt',
       
 10768           selector: 'img'
       
 10769         },
       
 10770         caption: {
       
 10771           shortcode: stripFirstImage
       
 10772         },
       
 10773         href: {
       
 10774           shortcode: function shortcode(attributes, _ref2) {
       
 10775             var _shortcode = _ref2.shortcode;
       
 10776             return getFirstAnchorAttributeFormHTML(_shortcode.content, 'href');
       
 10777           }
       
 10778         },
       
 10779         rel: {
       
 10780           shortcode: function shortcode(attributes, _ref3) {
       
 10781             var _shortcode2 = _ref3.shortcode;
       
 10782             return getFirstAnchorAttributeFormHTML(_shortcode2.content, 'rel');
       
 10783           }
       
 10784         },
       
 10785         linkClass: {
       
 10786           shortcode: function shortcode(attributes, _ref4) {
       
 10787             var _shortcode3 = _ref4.shortcode;
       
 10788             return getFirstAnchorAttributeFormHTML(_shortcode3.content, 'class');
       
 10789           }
       
 10790         },
       
 10791         id: {
       
 10792           type: 'number',
       
 10793           shortcode: function shortcode(_ref5) {
       
 10794             var id = _ref5.named.id;
       
 10795 
       
 10796             if (!id) {
       
 10797               return;
       
 10798             }
       
 10799 
       
 10800             return parseInt(id.replace('attachment_', ''), 10);
       
 10801           }
       
 10802         },
       
 10803         align: {
       
 10804           type: 'string',
       
 10805           shortcode: function shortcode(_ref6) {
       
 10806             var _ref6$named$align = _ref6.named.align,
       
 10807                 align = _ref6$named$align === void 0 ? 'alignnone' : _ref6$named$align;
       
 10808             return align.replace('align', '');
       
 10809           }
       
 10810         }
       
 10811       }
       
 10812     }]
       
 10813   },
       
 10814   getEditWrapperProps: function getEditWrapperProps(attributes) {
       
 10815     var align = attributes.align,
       
 10816         width = attributes.width;
       
 10817 
       
 10818     if ('left' === align || 'center' === align || 'right' === align || 'wide' === align || 'full' === align) {
       
 10819       return {
       
 10820         'data-align': align,
       
 10821         'data-resized': !!width
       
 10822       };
       
 10823     }
       
 10824   },
       
 10825   edit: edit,
       
 10826   save: function save(_ref7) {
       
 10827     var _classnames;
       
 10828 
       
 10829     var attributes = _ref7.attributes;
       
 10830     var url = attributes.url,
       
 10831         alt = attributes.alt,
       
 10832         caption = attributes.caption,
       
 10833         align = attributes.align,
       
 10834         href = attributes.href,
       
 10835         rel = attributes.rel,
       
 10836         linkClass = attributes.linkClass,
       
 10837         width = attributes.width,
       
 10838         height = attributes.height,
       
 10839         id = attributes.id,
       
 10840         linkTarget = attributes.linkTarget;
       
 10841     var classes = classnames_default()((_classnames = {}, Object(defineProperty["a" /* default */])(_classnames, "align".concat(align), align), Object(defineProperty["a" /* default */])(_classnames, 'is-resized', width || height), _classnames));
       
 10842     var image = Object(external_this_wp_element_["createElement"])("img", {
       
 10843       src: url,
       
 10844       alt: alt,
       
 10845       className: id ? "wp-image-".concat(id) : null,
       
 10846       width: width,
       
 10847       height: height
       
 10848     });
       
 10849     var figure = Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, href ? Object(external_this_wp_element_["createElement"])("a", {
       
 10850       className: linkClass,
       
 10851       href: href,
       
 10852       target: linkTarget,
       
 10853       rel: rel
       
 10854     }, image) : image, !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 10855       tagName: "figcaption",
       
 10856       value: caption
       
 10857     }));
       
 10858 
       
 10859     if ('left' === align || 'right' === align || 'center' === align) {
       
 10860       return Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_element_["createElement"])("figure", {
       
 10861         className: classes
       
 10862       }, figure));
       
 10863     }
       
 10864 
       
 10865     return Object(external_this_wp_element_["createElement"])("figure", {
       
 10866       className: classes
       
 10867     }, figure);
       
 10868   },
       
 10869   deprecated: [{
       
 10870     attributes: blockAttributes,
       
 10871     save: function save(_ref8) {
       
 10872       var _classnames2;
       
 10873 
       
 10874       var attributes = _ref8.attributes;
       
 10875       var url = attributes.url,
       
 10876           alt = attributes.alt,
       
 10877           caption = attributes.caption,
       
 10878           align = attributes.align,
       
 10879           href = attributes.href,
       
 10880           width = attributes.width,
       
 10881           height = attributes.height,
       
 10882           id = attributes.id;
       
 10883       var classes = classnames_default()((_classnames2 = {}, Object(defineProperty["a" /* default */])(_classnames2, "align".concat(align), align), Object(defineProperty["a" /* default */])(_classnames2, 'is-resized', width || height), _classnames2));
       
 10884       var image = Object(external_this_wp_element_["createElement"])("img", {
       
 10885         src: url,
       
 10886         alt: alt,
       
 10887         className: id ? "wp-image-".concat(id) : null,
       
 10888         width: width,
       
 10889         height: height
       
 10890       });
       
 10891       return Object(external_this_wp_element_["createElement"])("figure", {
       
 10892         className: classes
       
 10893       }, href ? Object(external_this_wp_element_["createElement"])("a", {
       
 10894         href: href
       
 10895       }, image) : image, !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 10896         tagName: "figcaption",
       
 10897         value: caption
       
 10898       }));
       
 10899     }
       
 10900   }, {
       
 10901     attributes: blockAttributes,
       
 10902     save: function save(_ref9) {
       
 10903       var attributes = _ref9.attributes;
       
 10904       var url = attributes.url,
       
 10905           alt = attributes.alt,
       
 10906           caption = attributes.caption,
       
 10907           align = attributes.align,
       
 10908           href = attributes.href,
       
 10909           width = attributes.width,
       
 10910           height = attributes.height,
       
 10911           id = attributes.id;
       
 10912       var image = Object(external_this_wp_element_["createElement"])("img", {
       
 10913         src: url,
       
 10914         alt: alt,
       
 10915         className: id ? "wp-image-".concat(id) : null,
       
 10916         width: width,
       
 10917         height: height
       
 10918       });
       
 10919       return Object(external_this_wp_element_["createElement"])("figure", {
       
 10920         className: align ? "align".concat(align) : null
       
 10921       }, href ? Object(external_this_wp_element_["createElement"])("a", {
       
 10922         href: href
       
 10923       }, image) : image, !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 10924         tagName: "figcaption",
       
 10925         value: caption
       
 10926       }));
       
 10927     }
       
 10928   }, {
       
 10929     attributes: blockAttributes,
       
 10930     save: function save(_ref10) {
       
 10931       var attributes = _ref10.attributes;
       
 10932       var url = attributes.url,
       
 10933           alt = attributes.alt,
       
 10934           caption = attributes.caption,
       
 10935           align = attributes.align,
       
 10936           href = attributes.href,
       
 10937           width = attributes.width,
       
 10938           height = attributes.height;
       
 10939       var extraImageProps = width || height ? {
       
 10940         width: width,
       
 10941         height: height
       
 10942       } : {};
       
 10943       var image = Object(external_this_wp_element_["createElement"])("img", Object(esm_extends["a" /* default */])({
       
 10944         src: url,
       
 10945         alt: alt
       
 10946       }, extraImageProps));
       
 10947       var figureStyle = {};
       
 10948 
       
 10949       if (width) {
       
 10950         figureStyle = {
       
 10951           width: width
       
 10952         };
       
 10953       } else if (align === 'left' || align === 'right') {
       
 10954         figureStyle = {
       
 10955           maxWidth: '50%'
       
 10956         };
       
 10957       }
       
 10958 
       
 10959       return Object(external_this_wp_element_["createElement"])("figure", {
       
 10960         className: align ? "align".concat(align) : null,
       
 10961         style: figureStyle
       
 10962       }, href ? Object(external_this_wp_element_["createElement"])("a", {
       
 10963         href: href
       
 10964       }, image) : image, !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 10965         tagName: "figcaption",
       
 10966         value: caption
       
 10967       }));
       
 10968     }
       
 10969   }]
       
 10970 };
       
 10971 
       
 10972 
       
 10973 /***/ }),
       
 10974 /* 231 */
       
 10975 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
 10976 
       
 10977 "use strict";
       
 10978 __webpack_require__.r(__webpack_exports__);
       
 10979 
       
 10980 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
 10981 var external_this_wp_element_ = __webpack_require__(0);
       
 10982 
       
 10983 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
 10984 var external_this_wp_i18n_ = __webpack_require__(1);
       
 10985 
       
 10986 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
 10987 var external_this_wp_components_ = __webpack_require__(4);
       
 10988 
       
 10989 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
 10990 var classCallCheck = __webpack_require__(10);
       
 10991 
       
 10992 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
 10993 var createClass = __webpack_require__(9);
       
 10994 
       
 10995 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
 10996 var possibleConstructorReturn = __webpack_require__(11);
       
 10997 
       
 10998 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
 10999 var getPrototypeOf = __webpack_require__(12);
       
 11000 
       
 11001 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
 11002 var inherits = __webpack_require__(13);
       
 11003 
       
 11004 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
       
 11005 var assertThisInitialized = __webpack_require__(3);
       
 11006 
       
 11007 // EXTERNAL MODULE: external "lodash"
       
 11008 var external_lodash_ = __webpack_require__(2);
       
 11009 
       
 11010 // EXTERNAL MODULE: external {"this":["wp","data"]}
       
 11011 var external_this_wp_data_ = __webpack_require__(5);
       
 11012 
       
 11013 // EXTERNAL MODULE: external {"this":["wp","editor"]}
       
 11014 var external_this_wp_editor_ = __webpack_require__(22);
       
 11015 
       
 11016 // EXTERNAL MODULE: external {"this":["wp","apiFetch"]}
       
 11017 var external_this_wp_apiFetch_ = __webpack_require__(33);
       
 11018 var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_);
       
 11019 
       
 11020 // EXTERNAL MODULE: external {"this":["wp","compose"]}
       
 11021 var external_this_wp_compose_ = __webpack_require__(6);
       
 11022 
       
 11023 // EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]}
       
 11024 var external_this_wp_isShallowEqual_ = __webpack_require__(42);
       
 11025 var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_);
       
 11026 
       
 11027 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/legacy-widget/WidgetEditDomManager.js
       
 11028 
       
 11029 
       
 11030 
       
 11031 
       
 11032 
       
 11033 
       
 11034 
       
 11035 
       
 11036 /**
       
 11037  * External dependencies
       
 11038  */
       
 11039 
       
 11040 /**
       
 11041  * WordPress dependencies
       
 11042  */
       
 11043 
       
 11044 
       
 11045 
       
 11046 
       
 11047 var WidgetEditDomManager_WidgetEditDomManager =
       
 11048 /*#__PURE__*/
       
 11049 function (_Component) {
       
 11050   Object(inherits["a" /* default */])(WidgetEditDomManager, _Component);
       
 11051 
       
 11052   function WidgetEditDomManager() {
       
 11053     var _this;
       
 11054 
       
 11055     Object(classCallCheck["a" /* default */])(this, WidgetEditDomManager);
       
 11056 
       
 11057     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(WidgetEditDomManager).apply(this, arguments));
       
 11058     _this.containerRef = Object(external_this_wp_element_["createRef"])();
       
 11059     _this.formRef = Object(external_this_wp_element_["createRef"])();
       
 11060     _this.widgetContentRef = Object(external_this_wp_element_["createRef"])();
       
 11061     _this.triggerWidgetEvent = _this.triggerWidgetEvent.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 11062     return _this;
       
 11063   }
       
 11064 
       
 11065   Object(createClass["a" /* default */])(WidgetEditDomManager, [{
       
 11066     key: "componentDidMount",
       
 11067     value: function componentDidMount() {
       
 11068       this.triggerWidgetEvent('widget-added');
       
 11069       this.previousFormData = new window.FormData(this.formRef.current);
       
 11070     }
       
 11071   }, {
       
 11072     key: "shouldComponentUpdate",
       
 11073     value: function shouldComponentUpdate(nextProps) {
       
 11074       // We can not leverage react render otherwise we would destroy dom changes applied by the plugins.
       
 11075       // We manually update the required dom node replicating what the widget screen and the customizer do.
       
 11076       if (nextProps.form !== this.props.form && this.widgetContentRef.current) {
       
 11077         var widgetContent = this.widgetContentRef.current;
       
 11078         widgetContent.innerHTML = nextProps.form;
       
 11079         this.triggerWidgetEvent('widget-updated');
       
 11080         this.previousFormData = new window.FormData(this.formRef.current);
       
 11081       }
       
 11082 
       
 11083       return false;
       
 11084     }
       
 11085   }, {
       
 11086     key: "render",
       
 11087     value: function render() {
       
 11088       var _this2 = this;
       
 11089 
       
 11090       var _this$props = this.props,
       
 11091           id = _this$props.id,
       
 11092           idBase = _this$props.idBase,
       
 11093           widgetNumber = _this$props.widgetNumber,
       
 11094           form = _this$props.form;
       
 11095       return Object(external_this_wp_element_["createElement"])("div", {
       
 11096         className: "widget open",
       
 11097         ref: this.containerRef
       
 11098       }, Object(external_this_wp_element_["createElement"])("div", {
       
 11099         className: "widget-inside"
       
 11100       }, Object(external_this_wp_element_["createElement"])("form", {
       
 11101         ref: this.formRef,
       
 11102         method: "post",
       
 11103         onBlur: function onBlur() {
       
 11104           if (_this2.shouldTriggerInstanceUpdate()) {
       
 11105             _this2.props.onInstanceChange(_this2.retrieveUpdatedInstance());
       
 11106           }
       
 11107         }
       
 11108       }, Object(external_this_wp_element_["createElement"])("div", {
       
 11109         ref: this.widgetContentRef,
       
 11110         className: "widget-content",
       
 11111         dangerouslySetInnerHTML: {
       
 11112           __html: form
       
 11113         }
       
 11114       }), Object(external_this_wp_element_["createElement"])("input", {
       
 11115         type: "hidden",
       
 11116         name: "widget-id",
       
 11117         className: "widget-id",
       
 11118         value: id
       
 11119       }), Object(external_this_wp_element_["createElement"])("input", {
       
 11120         type: "hidden",
       
 11121         name: "id_base",
       
 11122         className: "id_base",
       
 11123         value: idBase
       
 11124       }), Object(external_this_wp_element_["createElement"])("input", {
       
 11125         type: "hidden",
       
 11126         name: "widget_number",
       
 11127         className: "widget_number",
       
 11128         value: widgetNumber
       
 11129       }), Object(external_this_wp_element_["createElement"])("input", {
       
 11130         type: "hidden",
       
 11131         name: "multi_number",
       
 11132         className: "multi_number",
       
 11133         value: ""
       
 11134       }), Object(external_this_wp_element_["createElement"])("input", {
       
 11135         type: "hidden",
       
 11136         name: "add_new",
       
 11137         className: "add_new",
       
 11138         value: ""
       
 11139       }))));
       
 11140     }
       
 11141   }, {
       
 11142     key: "shouldTriggerInstanceUpdate",
       
 11143     value: function shouldTriggerInstanceUpdate() {
       
 11144       if (!this.formRef.current) {
       
 11145         return false;
       
 11146       }
       
 11147 
       
 11148       if (!this.previousFormData) {
       
 11149         return true;
       
 11150       }
       
 11151 
       
 11152       var currentFormData = new window.FormData(this.formRef.current);
       
 11153       var currentFormDataKeys = Array.from(currentFormData.keys());
       
 11154       var previousFormDataKeys = Array.from(this.previousFormData.keys());
       
 11155 
       
 11156       if (currentFormDataKeys.length !== previousFormDataKeys.length) {
       
 11157         return true;
       
 11158       }
       
 11159 
       
 11160       for (var _i = 0; _i < currentFormDataKeys.length; _i++) {
       
 11161         var rawKey = currentFormDataKeys[_i];
       
 11162 
       
 11163         if (!external_this_wp_isShallowEqual_default()(currentFormData.getAll(rawKey), this.previousFormData.getAll(rawKey))) {
       
 11164           this.previousFormData = currentFormData;
       
 11165           return true;
       
 11166         }
       
 11167       }
       
 11168 
       
 11169       return false;
       
 11170     }
       
 11171   }, {
       
 11172     key: "triggerWidgetEvent",
       
 11173     value: function triggerWidgetEvent(event) {
       
 11174       window.$(window.document).trigger(event, [window.$(this.containerRef.current)]);
       
 11175     }
       
 11176   }, {
       
 11177     key: "retrieveUpdatedInstance",
       
 11178     value: function retrieveUpdatedInstance() {
       
 11179       if (this.formRef.current) {
       
 11180         var _this$props2 = this.props,
       
 11181             idBase = _this$props2.idBase,
       
 11182             widgetNumber = _this$props2.widgetNumber;
       
 11183         var form = this.formRef.current;
       
 11184         var formData = new window.FormData(form);
       
 11185         var updatedInstance = {};
       
 11186         var keyPrefixLength = "widget-".concat(idBase, "[").concat(widgetNumber, "][").length;
       
 11187         var keySuffixLength = "]".length;
       
 11188         var _iteratorNormalCompletion = true;
       
 11189         var _didIteratorError = false;
       
 11190         var _iteratorError = undefined;
       
 11191 
       
 11192         try {
       
 11193           for (var _iterator = formData.keys()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
       
 11194             var rawKey = _step.value;
       
 11195 
       
 11196             // This fields are added to the form because the widget JavaScript code may use this values.
       
 11197             // They are not relevant for the update mechanism.
       
 11198             if (Object(external_lodash_["includes"])(['widget-id', 'id_base', 'widget_number', 'multi_number', 'add_new'], rawKey)) {
       
 11199               continue;
       
 11200             }
       
 11201 
       
 11202             var keyParsed = rawKey.substring(keyPrefixLength, rawKey.length - keySuffixLength);
       
 11203             var value = formData.getAll(rawKey);
       
 11204 
       
 11205             if (value.length > 1) {
       
 11206               updatedInstance[keyParsed] = value;
       
 11207             } else {
       
 11208               updatedInstance[keyParsed] = value[0];
       
 11209             }
       
 11210           }
       
 11211         } catch (err) {
       
 11212           _didIteratorError = true;
       
 11213           _iteratorError = err;
       
 11214         } finally {
       
 11215           try {
       
 11216             if (!_iteratorNormalCompletion && _iterator.return != null) {
       
 11217               _iterator.return();
       
 11218             }
       
 11219           } finally {
       
 11220             if (_didIteratorError) {
       
 11221               throw _iteratorError;
       
 11222             }
       
 11223           }
       
 11224         }
       
 11225 
       
 11226         return updatedInstance;
       
 11227       }
       
 11228     }
       
 11229   }]);
       
 11230 
       
 11231   return WidgetEditDomManager;
       
 11232 }(external_this_wp_element_["Component"]);
       
 11233 
       
 11234 /* harmony default export */ var legacy_widget_WidgetEditDomManager = (WidgetEditDomManager_WidgetEditDomManager);
       
 11235 
       
 11236 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/legacy-widget/WidgetEditHandler.js
       
 11237 
       
 11238 
       
 11239 
       
 11240 
       
 11241 
       
 11242 
       
 11243 
       
 11244 
       
 11245 /**
       
 11246  * WordPress dependencies
       
 11247  */
       
 11248 
       
 11249 
       
 11250 
       
 11251 
       
 11252 /**
       
 11253  * Internal dependencies
       
 11254  */
       
 11255 
       
 11256 
       
 11257 
       
 11258 var WidgetEditHandler_WidgetEditHandler =
       
 11259 /*#__PURE__*/
       
 11260 function (_Component) {
       
 11261   Object(inherits["a" /* default */])(WidgetEditHandler, _Component);
       
 11262 
       
 11263   function WidgetEditHandler() {
       
 11264     var _this;
       
 11265 
       
 11266     Object(classCallCheck["a" /* default */])(this, WidgetEditHandler);
       
 11267 
       
 11268     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(WidgetEditHandler).apply(this, arguments));
       
 11269     _this.state = {
       
 11270       form: null,
       
 11271       idBase: null
       
 11272     };
       
 11273     _this.instanceUpdating = null;
       
 11274     _this.onInstanceChange = _this.onInstanceChange.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 11275     _this.requestWidgetUpdater = _this.requestWidgetUpdater.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 11276     return _this;
       
 11277   }
       
 11278 
       
 11279   Object(createClass["a" /* default */])(WidgetEditHandler, [{
       
 11280     key: "componentDidMount",
       
 11281     value: function componentDidMount() {
       
 11282       this.isStillMounted = true;
       
 11283       this.requestWidgetUpdater();
       
 11284     }
       
 11285   }, {
       
 11286     key: "componentDidUpdate",
       
 11287     value: function componentDidUpdate(prevProps) {
       
 11288       if (prevProps.instance !== this.props.instance && this.instanceUpdating !== this.props.instance) {
       
 11289         this.requestWidgetUpdater();
       
 11290       }
       
 11291 
       
 11292       if (this.instanceUpdating === this.props.instance) {
       
 11293         this.instanceUpdating = null;
       
 11294       }
       
 11295     }
       
 11296   }, {
       
 11297     key: "componentWillUnmount",
       
 11298     value: function componentWillUnmount() {
       
 11299       this.isStillMounted = false;
       
 11300     }
       
 11301   }, {
       
 11302     key: "render",
       
 11303     value: function render() {
       
 11304       var _this2 = this;
       
 11305 
       
 11306       var _this$props = this.props,
       
 11307           instanceId = _this$props.instanceId,
       
 11308           identifier = _this$props.identifier;
       
 11309       var _this$state = this.state,
       
 11310           id = _this$state.id,
       
 11311           idBase = _this$state.idBase,
       
 11312           form = _this$state.form;
       
 11313 
       
 11314       if (!identifier) {
       
 11315         return Object(external_this_wp_i18n_["__"])('Not a valid widget.');
       
 11316       }
       
 11317 
       
 11318       if (!form) {
       
 11319         return null;
       
 11320       }
       
 11321 
       
 11322       return Object(external_this_wp_element_["createElement"])("div", {
       
 11323         className: "wp-block-legacy-widget__edit-container" // Display none is used because when we switch from edit to preview,
       
 11324         // we don't want to unmount the component.
       
 11325         // Otherwise when we went back to edit we wound need to trigger
       
 11326         // all widgets events again and some scripts may not deal well with this.
       
 11327         ,
       
 11328         style: {
       
 11329           display: this.props.isVisible ? 'block' : 'none'
       
 11330         }
       
 11331       }, Object(external_this_wp_element_["createElement"])(legacy_widget_WidgetEditDomManager, {
       
 11332         ref: function ref(_ref) {
       
 11333           _this2.widgetEditDomManagerRef = _ref;
       
 11334         },
       
 11335         onInstanceChange: this.onInstanceChange,
       
 11336         widgetNumber: instanceId * -1,
       
 11337         id: id,
       
 11338         idBase: idBase,
       
 11339         form: form
       
 11340       }));
       
 11341     }
       
 11342   }, {
       
 11343     key: "onInstanceChange",
       
 11344     value: function onInstanceChange(instanceChanges) {
       
 11345       var _this3 = this;
       
 11346 
       
 11347       this.requestWidgetUpdater(instanceChanges, function (response) {
       
 11348         _this3.instanceUpdating = response.instance;
       
 11349 
       
 11350         _this3.props.onInstanceChange(response.instance);
       
 11351       });
       
 11352     }
       
 11353   }, {
       
 11354     key: "requestWidgetUpdater",
       
 11355     value: function requestWidgetUpdater(instanceChanges, callback) {
       
 11356       var _this4 = this;
       
 11357 
       
 11358       var _this$props2 = this.props,
       
 11359           identifier = _this$props2.identifier,
       
 11360           instanceId = _this$props2.instanceId,
       
 11361           instance = _this$props2.instance;
       
 11362 
       
 11363       if (!identifier) {
       
 11364         return;
       
 11365       }
       
 11366 
       
 11367       external_this_wp_apiFetch_default()({
       
 11368         path: "/wp/v2/widgets/".concat(identifier, "/"),
       
 11369         data: {
       
 11370           identifier: identifier,
       
 11371           instance: instance,
       
 11372           // use negative ids to make sure the id does not exist on the database.
       
 11373           id_to_use: instanceId * -1,
       
 11374           instance_changes: instanceChanges
       
 11375         },
       
 11376         method: 'POST'
       
 11377       }).then(function (response) {
       
 11378         if (_this4.isStillMounted) {
       
 11379           _this4.setState({
       
 11380             form: response.form,
       
 11381             idBase: response.id_base,
       
 11382             id: response.id
       
 11383           });
       
 11384 
       
 11385           if (callback) {
       
 11386             callback(response);
       
 11387           }
       
 11388         }
       
 11389       });
       
 11390     }
       
 11391   }]);
       
 11392 
       
 11393   return WidgetEditHandler;
       
 11394 }(external_this_wp_element_["Component"]);
       
 11395 
       
 11396 /* harmony default export */ var legacy_widget_WidgetEditHandler = (Object(external_this_wp_compose_["withInstanceId"])(WidgetEditHandler_WidgetEditHandler));
       
 11397 
       
 11398 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/legacy-widget/edit.js
       
 11399 
       
 11400 
       
 11401 
       
 11402 
       
 11403 
       
 11404 
       
 11405 
       
 11406 
       
 11407 /**
       
 11408  * External dependencies
       
 11409  */
       
 11410 
       
 11411 /**
       
 11412  * WordPress dependencies
       
 11413  */
       
 11414 
       
 11415 
       
 11416 
       
 11417 
       
 11418 
       
 11419 /**
       
 11420  * Internal dependencies
       
 11421  */
       
 11422 
       
 11423 
       
 11424 
       
 11425 
       
 11426 var edit_LegacyWidgetEdit =
       
 11427 /*#__PURE__*/
       
 11428 function (_Component) {
       
 11429   Object(inherits["a" /* default */])(LegacyWidgetEdit, _Component);
       
 11430 
       
 11431   function LegacyWidgetEdit() {
       
 11432     var _this;
       
 11433 
       
 11434     Object(classCallCheck["a" /* default */])(this, LegacyWidgetEdit);
       
 11435 
       
 11436     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(LegacyWidgetEdit).apply(this, arguments));
       
 11437     _this.state = {
       
 11438       isPreview: false
       
 11439     };
       
 11440     _this.switchToEdit = _this.switchToEdit.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 11441     _this.switchToPreview = _this.switchToPreview.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 11442     _this.changeWidget = _this.changeWidget.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 11443     return _this;
       
 11444   }
       
 11445 
       
 11446   Object(createClass["a" /* default */])(LegacyWidgetEdit, [{
       
 11447     key: "render",
       
 11448     value: function render() {
       
 11449       var _this2 = this;
       
 11450 
       
 11451       var _this$props = this.props,
       
 11452           attributes = _this$props.attributes,
       
 11453           availableLegacyWidgets = _this$props.availableLegacyWidgets,
       
 11454           hasPermissionsToManageWidgets = _this$props.hasPermissionsToManageWidgets,
       
 11455           setAttributes = _this$props.setAttributes;
       
 11456       var isPreview = this.state.isPreview;
       
 11457       var identifier = attributes.identifier,
       
 11458           isCallbackWidget = attributes.isCallbackWidget;
       
 11459       var widgetObject = identifier && availableLegacyWidgets[identifier];
       
 11460 
       
 11461       if (!widgetObject) {
       
 11462         var placeholderContent;
       
 11463 
       
 11464         if (!hasPermissionsToManageWidgets) {
       
 11465           placeholderContent = Object(external_this_wp_i18n_["__"])('You don\'t have permissions to use widgets on this site.');
       
 11466         } else if (availableLegacyWidgets.length === 0) {
       
 11467           placeholderContent = Object(external_this_wp_i18n_["__"])('There are no widgets available.');
       
 11468         } else {
       
 11469           placeholderContent = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], {
       
 11470             label: Object(external_this_wp_i18n_["__"])('Select a legacy widget to display:'),
       
 11471             value: identifier || 'none',
       
 11472             onChange: function onChange(value) {
       
 11473               return setAttributes({
       
 11474                 instance: {},
       
 11475                 identifier: value,
       
 11476                 isCallbackWidget: availableLegacyWidgets[value].isCallbackWidget
       
 11477               });
       
 11478             },
       
 11479             options: [{
       
 11480               value: 'none',
       
 11481               label: 'Select widget'
       
 11482             }].concat(Object(external_lodash_["map"])(availableLegacyWidgets, function (widget, key) {
       
 11483               return {
       
 11484                 value: key,
       
 11485                 label: widget.name
       
 11486               };
       
 11487             }))
       
 11488           });
       
 11489         }
       
 11490 
       
 11491         return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], {
       
 11492           icon: Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["BlockIcon"], {
       
 11493             icon: "admin-customizer"
       
 11494           }),
       
 11495           label: Object(external_this_wp_i18n_["__"])('Legacy Widget')
       
 11496         }, placeholderContent);
       
 11497       }
       
 11498 
       
 11499       var inspectorControls = Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 11500         title: widgetObject.name
       
 11501       }, widgetObject.description));
       
 11502 
       
 11503       if (!hasPermissionsToManageWidgets) {
       
 11504         return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, inspectorControls, this.renderWidgetPreview());
       
 11505       }
       
 11506 
       
 11507       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], {
       
 11508         onClick: this.changeWidget,
       
 11509         label: Object(external_this_wp_i18n_["__"])('Change widget'),
       
 11510         icon: "update"
       
 11511       }), !isCallbackWidget && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
 11512         className: "components-tab-button ".concat(!isPreview ? 'is-active' : ''),
       
 11513         onClick: this.switchToEdit
       
 11514       }, Object(external_this_wp_element_["createElement"])("span", null, Object(external_this_wp_i18n_["__"])('Edit'))), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
 11515         className: "components-tab-button ".concat(isPreview ? 'is-active' : ''),
       
 11516         onClick: this.switchToPreview
       
 11517       }, Object(external_this_wp_element_["createElement"])("span", null, Object(external_this_wp_i18n_["__"])('Preview')))))), inspectorControls, !isCallbackWidget && Object(external_this_wp_element_["createElement"])(legacy_widget_WidgetEditHandler, {
       
 11518         isVisible: !isPreview,
       
 11519         identifier: attributes.identifier,
       
 11520         instance: attributes.instance,
       
 11521         onInstanceChange: function onInstanceChange(newInstance) {
       
 11522           _this2.props.setAttributes({
       
 11523             instance: newInstance
       
 11524           });
       
 11525         }
       
 11526       }), (isPreview || isCallbackWidget) && this.renderWidgetPreview());
       
 11527     }
       
 11528   }, {
       
 11529     key: "changeWidget",
       
 11530     value: function changeWidget() {
       
 11531       this.switchToEdit();
       
 11532       this.props.setAttributes({
       
 11533         instance: {},
       
 11534         identifier: undefined
       
 11535       });
       
 11536     }
       
 11537   }, {
       
 11538     key: "switchToEdit",
       
 11539     value: function switchToEdit() {
       
 11540       this.setState({
       
 11541         isPreview: false
       
 11542       });
       
 11543     }
       
 11544   }, {
       
 11545     key: "switchToPreview",
       
 11546     value: function switchToPreview() {
       
 11547       this.setState({
       
 11548         isPreview: true
       
 11549       });
       
 11550     }
       
 11551   }, {
       
 11552     key: "renderWidgetPreview",
       
 11553     value: function renderWidgetPreview() {
       
 11554       var attributes = this.props.attributes;
       
 11555       return Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["ServerSideRender"], {
       
 11556         className: "wp-block-legacy-widget__preview",
       
 11557         block: "core/legacy-widget",
       
 11558         attributes: attributes
       
 11559       });
       
 11560     }
       
 11561   }]);
       
 11562 
       
 11563   return LegacyWidgetEdit;
       
 11564 }(external_this_wp_element_["Component"]);
       
 11565 
       
 11566 /* harmony default export */ var edit = (Object(external_this_wp_data_["withSelect"])(function (select) {
       
 11567   var editorSettings = select('core/block-editor').getSettings();
       
 11568   var availableLegacyWidgets = editorSettings.availableLegacyWidgets,
       
 11569       hasPermissionsToManageWidgets = editorSettings.hasPermissionsToManageWidgets;
       
 11570   return {
       
 11571     hasPermissionsToManageWidgets: hasPermissionsToManageWidgets,
       
 11572     availableLegacyWidgets: availableLegacyWidgets
       
 11573   };
       
 11574 })(edit_LegacyWidgetEdit));
       
 11575 
       
 11576 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/legacy-widget/index.js
       
 11577 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return legacy_widget_name; });
       
 11578 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
 11579 
       
 11580 
       
 11581 /**
       
 11582  * WordPress dependencies
       
 11583  */
       
 11584 
       
 11585 
       
 11586 /**
       
 11587  * Internal dependencies
       
 11588  */
       
 11589 
       
 11590 
       
 11591 var legacy_widget_name = 'core/legacy-widget';
       
 11592 var settings = {
       
 11593   title: Object(external_this_wp_i18n_["__"])('Legacy Widget (Experimental)'),
       
 11594   description: Object(external_this_wp_i18n_["__"])('Display a legacy widget.'),
       
 11595   icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
 11596     viewBox: "0 0 24 24",
       
 11597     xmlns: "http://www.w3.org/2000/svg"
       
 11598   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 11599     fill: "none",
       
 11600     d: "M0 0h24v24H0V0z"
       
 11601   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["G"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 11602     d: "M7 11h2v2H7v-2zm14-5v14l-2 2H5l-2-2V6l2-2h1V2h2v2h8V2h2v2h1l2 2zM5 8h14V6H5v2zm14 12V10H5v10h14zm-4-7h2v-2h-2v2zm-4 0h2v-2h-2v2z"
       
 11603   }))),
       
 11604   category: 'widgets',
       
 11605   supports: {
       
 11606     html: false
       
 11607   },
       
 11608   edit: edit,
       
 11609   save: function save() {
       
 11610     // Handled by PHP.
       
 11611     return null;
       
 11612   }
       
 11613 };
       
 11614 
       
 11615 
       
 11616 /***/ }),
       
 11617 /* 232 */
       
 11618 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
 11619 
       
 11620 "use strict";
       
 11621 __webpack_require__.r(__webpack_exports__);
       
 11622 
       
 11623 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
 11624 var external_this_wp_element_ = __webpack_require__(0);
       
 11625 
       
 11626 // EXTERNAL MODULE: external "lodash"
       
 11627 var external_lodash_ = __webpack_require__(2);
       
 11628 
       
 11629 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
 11630 var external_this_wp_i18n_ = __webpack_require__(1);
       
 11631 
       
 11632 // EXTERNAL MODULE: external {"this":["wp","blob"]}
       
 11633 var external_this_wp_blob_ = __webpack_require__(35);
       
 11634 
       
 11635 // EXTERNAL MODULE: external {"this":["wp","blocks"]}
       
 11636 var external_this_wp_blocks_ = __webpack_require__(14);
       
 11637 
       
 11638 // EXTERNAL MODULE: external {"this":["wp","data"]}
       
 11639 var external_this_wp_data_ = __webpack_require__(5);
       
 11640 
       
 11641 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
       
 11642 var external_this_wp_blockEditor_ = __webpack_require__(8);
       
 11643 
       
 11644 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
       
 11645 var esm_extends = __webpack_require__(19);
       
 11646 
       
 11647 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
       
 11648 var slicedToArray = __webpack_require__(28);
       
 11649 
       
 11650 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
 11651 var classCallCheck = __webpack_require__(10);
       
 11652 
       
 11653 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
 11654 var createClass = __webpack_require__(9);
       
 11655 
       
 11656 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
 11657 var possibleConstructorReturn = __webpack_require__(11);
       
 11658 
       
 11659 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
 11660 var getPrototypeOf = __webpack_require__(12);
       
 11661 
       
 11662 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
 11663 var inherits = __webpack_require__(13);
       
 11664 
       
 11665 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
       
 11666 var assertThisInitialized = __webpack_require__(3);
       
 11667 
       
 11668 // EXTERNAL MODULE: ./node_modules/classnames/index.js
       
 11669 var classnames = __webpack_require__(16);
       
 11670 var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
       
 11671 
       
 11672 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
 11673 var external_this_wp_components_ = __webpack_require__(4);
       
 11674 
       
 11675 // EXTERNAL MODULE: external {"this":["wp","compose"]}
       
 11676 var external_this_wp_compose_ = __webpack_require__(6);
       
 11677 
       
 11678 // EXTERNAL MODULE: external {"this":["wp","editor"]}
       
 11679 var external_this_wp_editor_ = __webpack_require__(22);
       
 11680 
       
 11681 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/icon.js
       
 11682 
       
 11683 
       
 11684 /**
       
 11685  * WordPress dependencies
       
 11686  */
       
 11687 
       
 11688 /* harmony default export */ var icon = (Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
 11689   viewBox: "0 0 24 24",
       
 11690   xmlns: "http://www.w3.org/2000/svg"
       
 11691 }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 11692   fill: "none",
       
 11693   d: "M0 0h24v24H0V0z"
       
 11694 }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 11695   d: "M9.17 6l2 2H20v10H4V6h5.17M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"
       
 11696 })));
       
 11697 
       
 11698 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/inspector.js
       
 11699 
       
 11700 
       
 11701 /**
       
 11702  * WordPress dependencies
       
 11703  */
       
 11704 
       
 11705 
       
 11706 
       
 11707 
       
 11708 function FileBlockInspector(_ref) {
       
 11709   var hrefs = _ref.hrefs,
       
 11710       openInNewWindow = _ref.openInNewWindow,
       
 11711       showDownloadButton = _ref.showDownloadButton,
       
 11712       changeLinkDestinationOption = _ref.changeLinkDestinationOption,
       
 11713       changeOpenInNewWindow = _ref.changeOpenInNewWindow,
       
 11714       changeShowDownloadButton = _ref.changeShowDownloadButton;
       
 11715   var href = hrefs.href,
       
 11716       textLinkHref = hrefs.textLinkHref,
       
 11717       attachmentPage = hrefs.attachmentPage;
       
 11718   var linkDestinationOptions = [{
       
 11719     value: href,
       
 11720     label: Object(external_this_wp_i18n_["__"])('URL')
       
 11721   }];
       
 11722 
       
 11723   if (attachmentPage) {
       
 11724     linkDestinationOptions = [{
       
 11725       value: href,
       
 11726       label: Object(external_this_wp_i18n_["__"])('Media File')
       
 11727     }, {
       
 11728       value: attachmentPage,
       
 11729       label: Object(external_this_wp_i18n_["__"])('Attachment Page')
       
 11730     }];
       
 11731   }
       
 11732 
       
 11733   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 11734     title: Object(external_this_wp_i18n_["__"])('Text Link Settings')
       
 11735   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], {
       
 11736     label: Object(external_this_wp_i18n_["__"])('Link To'),
       
 11737     value: textLinkHref,
       
 11738     options: linkDestinationOptions,
       
 11739     onChange: changeLinkDestinationOption
       
 11740   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 11741     label: Object(external_this_wp_i18n_["__"])('Open in New Tab'),
       
 11742     checked: openInNewWindow,
       
 11743     onChange: changeOpenInNewWindow
       
 11744   })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 11745     title: Object(external_this_wp_i18n_["__"])('Download Button Settings')
       
 11746   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 11747     label: Object(external_this_wp_i18n_["__"])('Show Download Button'),
       
 11748     checked: showDownloadButton,
       
 11749     onChange: changeShowDownloadButton
       
 11750   }))));
       
 11751 }
       
 11752 
       
 11753 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/edit.js
       
 11754 
       
 11755 
       
 11756 
       
 11757 
       
 11758 
       
 11759 
       
 11760 
       
 11761 
       
 11762 
       
 11763 
       
 11764 /**
       
 11765  * External dependencies
       
 11766  */
       
 11767 
       
 11768 /**
       
 11769  * WordPress dependencies
       
 11770  */
       
 11771 
       
 11772 
       
 11773 
       
 11774 
       
 11775 
       
 11776 
       
 11777 
       
 11778 
       
 11779 
       
 11780 /**
       
 11781  * Internal dependencies
       
 11782  */
       
 11783 
       
 11784 
       
 11785 
       
 11786 
       
 11787 var edit_FileEdit =
       
 11788 /*#__PURE__*/
       
 11789 function (_Component) {
       
 11790   Object(inherits["a" /* default */])(FileEdit, _Component);
       
 11791 
       
 11792   function FileEdit() {
       
 11793     var _this;
       
 11794 
       
 11795     Object(classCallCheck["a" /* default */])(this, FileEdit);
       
 11796 
       
 11797     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(FileEdit).apply(this, arguments));
       
 11798     _this.onSelectFile = _this.onSelectFile.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 11799     _this.confirmCopyURL = _this.confirmCopyURL.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 11800     _this.resetCopyConfirmation = _this.resetCopyConfirmation.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 11801     _this.changeLinkDestinationOption = _this.changeLinkDestinationOption.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 11802     _this.changeOpenInNewWindow = _this.changeOpenInNewWindow.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 11803     _this.changeShowDownloadButton = _this.changeShowDownloadButton.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 11804     _this.state = {
       
 11805       hasError: false,
       
 11806       showCopyConfirmation: false
       
 11807     };
       
 11808     return _this;
       
 11809   }
       
 11810 
       
 11811   Object(createClass["a" /* default */])(FileEdit, [{
       
 11812     key: "componentDidMount",
       
 11813     value: function componentDidMount() {
       
 11814       var _this2 = this;
       
 11815 
       
 11816       var _this$props = this.props,
       
 11817           attributes = _this$props.attributes,
       
 11818           noticeOperations = _this$props.noticeOperations;
       
 11819       var href = attributes.href; // Upload a file drag-and-dropped into the editor
       
 11820 
       
 11821       if (Object(external_this_wp_blob_["isBlobURL"])(href)) {
       
 11822         var file = Object(external_this_wp_blob_["getBlobByURL"])(href);
       
 11823         Object(external_this_wp_editor_["mediaUpload"])({
       
 11824           filesList: [file],
       
 11825           onFileChange: function onFileChange(_ref) {
       
 11826             var _ref2 = Object(slicedToArray["a" /* default */])(_ref, 1),
       
 11827                 media = _ref2[0];
       
 11828 
       
 11829             return _this2.onSelectFile(media);
       
 11830           },
       
 11831           onError: function onError(message) {
       
 11832             _this2.setState({
       
 11833               hasError: true
       
 11834             });
       
 11835 
       
 11836             noticeOperations.createErrorNotice(message);
       
 11837           }
       
 11838         });
       
 11839         Object(external_this_wp_blob_["revokeBlobURL"])(href);
       
 11840       }
       
 11841     }
       
 11842   }, {
       
 11843     key: "componentDidUpdate",
       
 11844     value: function componentDidUpdate(prevProps) {
       
 11845       // Reset copy confirmation state when block is deselected
       
 11846       if (prevProps.isSelected && !this.props.isSelected) {
       
 11847         this.setState({
       
 11848           showCopyConfirmation: false
       
 11849         });
       
 11850       }
       
 11851     }
       
 11852   }, {
       
 11853     key: "onSelectFile",
       
 11854     value: function onSelectFile(media) {
       
 11855       if (media && media.url) {
       
 11856         this.setState({
       
 11857           hasError: false
       
 11858         });
       
 11859         this.props.setAttributes({
       
 11860           href: media.url,
       
 11861           fileName: media.title,
       
 11862           textLinkHref: media.url,
       
 11863           id: media.id
       
 11864         });
       
 11865       }
       
 11866     }
       
 11867   }, {
       
 11868     key: "confirmCopyURL",
       
 11869     value: function confirmCopyURL() {
       
 11870       this.setState({
       
 11871         showCopyConfirmation: true
       
 11872       });
       
 11873     }
       
 11874   }, {
       
 11875     key: "resetCopyConfirmation",
       
 11876     value: function resetCopyConfirmation() {
       
 11877       this.setState({
       
 11878         showCopyConfirmation: false
       
 11879       });
       
 11880     }
       
 11881   }, {
       
 11882     key: "changeLinkDestinationOption",
       
 11883     value: function changeLinkDestinationOption(newHref) {
       
 11884       // Choose Media File or Attachment Page (when file is in Media Library)
       
 11885       this.props.setAttributes({
       
 11886         textLinkHref: newHref
       
 11887       });
       
 11888     }
       
 11889   }, {
       
 11890     key: "changeOpenInNewWindow",
       
 11891     value: function changeOpenInNewWindow(newValue) {
       
 11892       this.props.setAttributes({
       
 11893         textLinkTarget: newValue ? '_blank' : false
       
 11894       });
       
 11895     }
       
 11896   }, {
       
 11897     key: "changeShowDownloadButton",
       
 11898     value: function changeShowDownloadButton(newValue) {
       
 11899       this.props.setAttributes({
       
 11900         showDownloadButton: newValue
       
 11901       });
       
 11902     }
       
 11903   }, {
       
 11904     key: "render",
       
 11905     value: function render() {
       
 11906       var _this$props2 = this.props,
       
 11907           className = _this$props2.className,
       
 11908           isSelected = _this$props2.isSelected,
       
 11909           attributes = _this$props2.attributes,
       
 11910           setAttributes = _this$props2.setAttributes,
       
 11911           noticeUI = _this$props2.noticeUI,
       
 11912           noticeOperations = _this$props2.noticeOperations,
       
 11913           media = _this$props2.media;
       
 11914       var fileName = attributes.fileName,
       
 11915           href = attributes.href,
       
 11916           textLinkHref = attributes.textLinkHref,
       
 11917           textLinkTarget = attributes.textLinkTarget,
       
 11918           showDownloadButton = attributes.showDownloadButton,
       
 11919           downloadButtonText = attributes.downloadButtonText,
       
 11920           id = attributes.id;
       
 11921       var _this$state = this.state,
       
 11922           hasError = _this$state.hasError,
       
 11923           showCopyConfirmation = _this$state.showCopyConfirmation;
       
 11924       var attachmentPage = media && media.link;
       
 11925 
       
 11926       if (!href || hasError) {
       
 11927         return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaPlaceholder"], {
       
 11928           icon: Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], {
       
 11929             icon: icon
       
 11930           }),
       
 11931           labels: {
       
 11932             title: Object(external_this_wp_i18n_["__"])('File'),
       
 11933             instructions: Object(external_this_wp_i18n_["__"])('Drag a file, upload a new one or select a file from your library.')
       
 11934           },
       
 11935           onSelect: this.onSelectFile,
       
 11936           notices: noticeUI,
       
 11937           onError: noticeOperations.createErrorNotice,
       
 11938           accept: "*"
       
 11939         });
       
 11940       }
       
 11941 
       
 11942       var classes = classnames_default()(className, {
       
 11943         'is-transient': Object(external_this_wp_blob_["isBlobURL"])(href)
       
 11944       });
       
 11945       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(FileBlockInspector, Object(esm_extends["a" /* default */])({
       
 11946         hrefs: {
       
 11947           href: href,
       
 11948           textLinkHref: textLinkHref,
       
 11949           attachmentPage: attachmentPage
       
 11950         }
       
 11951       }, {
       
 11952         openInNewWindow: !!textLinkTarget,
       
 11953         showDownloadButton: showDownloadButton,
       
 11954         changeLinkDestinationOption: this.changeLinkDestinationOption,
       
 11955         changeOpenInNewWindow: this.changeOpenInNewWindow,
       
 11956         changeShowDownloadButton: this.changeShowDownloadButton
       
 11957       })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUploadCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUpload"], {
       
 11958         onSelect: this.onSelectFile,
       
 11959         value: id,
       
 11960         render: function render(_ref3) {
       
 11961           var open = _ref3.open;
       
 11962           return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], {
       
 11963             className: "components-toolbar__control",
       
 11964             label: Object(external_this_wp_i18n_["__"])('Edit file'),
       
 11965             onClick: open,
       
 11966             icon: "edit"
       
 11967           });
       
 11968         }
       
 11969       })))), Object(external_this_wp_element_["createElement"])("div", {
       
 11970         className: classes
       
 11971       }, Object(external_this_wp_element_["createElement"])("div", {
       
 11972         className: 'wp-block-file__content-wrapper'
       
 11973       }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 11974         wrapperClassName: 'wp-block-file__textlink',
       
 11975         tagName: "div" // must be block-level or else cursor disappears
       
 11976         ,
       
 11977         value: fileName,
       
 11978         placeholder: Object(external_this_wp_i18n_["__"])('Write file name…'),
       
 11979         keepPlaceholderOnFocus: true,
       
 11980         formattingControls: [] // disable controls
       
 11981         ,
       
 11982         onChange: function onChange(text) {
       
 11983           return setAttributes({
       
 11984             fileName: text
       
 11985           });
       
 11986         }
       
 11987       }), showDownloadButton && Object(external_this_wp_element_["createElement"])("div", {
       
 11988         className: 'wp-block-file__button-richtext-wrapper'
       
 11989       }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 11990         tagName: "div" // must be block-level or else cursor disappears
       
 11991         ,
       
 11992         className: 'wp-block-file__button',
       
 11993         value: downloadButtonText,
       
 11994         formattingControls: [] // disable controls
       
 11995         ,
       
 11996         placeholder: Object(external_this_wp_i18n_["__"])('Add text…'),
       
 11997         keepPlaceholderOnFocus: true,
       
 11998         onChange: function onChange(text) {
       
 11999           return setAttributes({
       
 12000             downloadButtonText: text
       
 12001           });
       
 12002         }
       
 12003       }))), isSelected && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ClipboardButton"], {
       
 12004         isDefault: true,
       
 12005         text: href,
       
 12006         className: 'wp-block-file__copy-url-button',
       
 12007         onCopy: this.confirmCopyURL,
       
 12008         onFinishCopy: this.resetCopyConfirmation,
       
 12009         disabled: Object(external_this_wp_blob_["isBlobURL"])(href)
       
 12010       }, showCopyConfirmation ? Object(external_this_wp_i18n_["__"])('Copied!') : Object(external_this_wp_i18n_["__"])('Copy URL'))));
       
 12011     }
       
 12012   }]);
       
 12013 
       
 12014   return FileEdit;
       
 12015 }(external_this_wp_element_["Component"]);
       
 12016 
       
 12017 /* harmony default export */ var edit = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, props) {
       
 12018   var _select = select('core'),
       
 12019       getMedia = _select.getMedia;
       
 12020 
       
 12021   var id = props.attributes.id;
       
 12022   return {
       
 12023     media: id === undefined ? undefined : getMedia(id)
       
 12024   };
       
 12025 }), external_this_wp_components_["withNotices"]])(edit_FileEdit));
       
 12026 
       
 12027 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/index.js
       
 12028 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return file_name; });
       
 12029 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
 12030 
       
 12031 
       
 12032 /**
       
 12033  * External dependencies
       
 12034  */
       
 12035 
       
 12036 /**
       
 12037  * WordPress dependencies
       
 12038  */
       
 12039 
       
 12040 
       
 12041 
       
 12042 
       
 12043 
       
 12044 
       
 12045 /**
       
 12046  * Internal dependencies
       
 12047  */
       
 12048 
       
 12049 
       
 12050 
       
 12051 var file_name = 'core/file';
       
 12052 var settings = {
       
 12053   title: Object(external_this_wp_i18n_["__"])('File'),
       
 12054   description: Object(external_this_wp_i18n_["__"])('Add a link to a downloadable file.'),
       
 12055   icon: icon,
       
 12056   category: 'common',
       
 12057   keywords: [Object(external_this_wp_i18n_["__"])('document'), Object(external_this_wp_i18n_["__"])('pdf')],
       
 12058   attributes: {
       
 12059     id: {
       
 12060       type: 'number'
       
 12061     },
       
 12062     href: {
       
 12063       type: 'string'
       
 12064     },
       
 12065     fileName: {
       
 12066       type: 'string',
       
 12067       source: 'html',
       
 12068       selector: 'a:not([download])'
       
 12069     },
       
 12070     // Differs to the href when the block is configured to link to the attachment page
       
 12071     textLinkHref: {
       
 12072       type: 'string',
       
 12073       source: 'attribute',
       
 12074       selector: 'a:not([download])',
       
 12075       attribute: 'href'
       
 12076     },
       
 12077     // e.g. `_blank` when the block is configured to open in a new tab
       
 12078     textLinkTarget: {
       
 12079       type: 'string',
       
 12080       source: 'attribute',
       
 12081       selector: 'a:not([download])',
       
 12082       attribute: 'target'
       
 12083     },
       
 12084     showDownloadButton: {
       
 12085       type: 'boolean',
       
 12086       default: true
       
 12087     },
       
 12088     downloadButtonText: {
       
 12089       type: 'string',
       
 12090       source: 'html',
       
 12091       selector: 'a[download]',
       
 12092       default: Object(external_this_wp_i18n_["_x"])('Download', 'button label')
       
 12093     }
       
 12094   },
       
 12095   supports: {
       
 12096     align: true
       
 12097   },
       
 12098   transforms: {
       
 12099     from: [{
       
 12100       type: 'files',
       
 12101       isMatch: function isMatch(files) {
       
 12102         return files.length > 0;
       
 12103       },
       
 12104       // We define a lower priorty (higher number) than the default of 10. This
       
 12105       // ensures that the File block is only created as a fallback.
       
 12106       priority: 15,
       
 12107       transform: function transform(files) {
       
 12108         var blocks = [];
       
 12109         files.forEach(function (file) {
       
 12110           var blobURL = Object(external_this_wp_blob_["createBlobURL"])(file); // File will be uploaded in componentDidMount()
       
 12111 
       
 12112           blocks.push(Object(external_this_wp_blocks_["createBlock"])('core/file', {
       
 12113             href: blobURL,
       
 12114             fileName: file.name,
       
 12115             textLinkHref: blobURL
       
 12116           }));
       
 12117         });
       
 12118         return blocks;
       
 12119       }
       
 12120     }, {
       
 12121       type: 'block',
       
 12122       blocks: ['core/audio'],
       
 12123       transform: function transform(attributes) {
       
 12124         return Object(external_this_wp_blocks_["createBlock"])('core/file', {
       
 12125           href: attributes.src,
       
 12126           fileName: attributes.caption,
       
 12127           textLinkHref: attributes.src,
       
 12128           id: attributes.id
       
 12129         });
       
 12130       }
       
 12131     }, {
       
 12132       type: 'block',
       
 12133       blocks: ['core/video'],
       
 12134       transform: function transform(attributes) {
       
 12135         return Object(external_this_wp_blocks_["createBlock"])('core/file', {
       
 12136           href: attributes.src,
       
 12137           fileName: attributes.caption,
       
 12138           textLinkHref: attributes.src,
       
 12139           id: attributes.id
       
 12140         });
       
 12141       }
       
 12142     }, {
       
 12143       type: 'block',
       
 12144       blocks: ['core/image'],
       
 12145       transform: function transform(attributes) {
       
 12146         return Object(external_this_wp_blocks_["createBlock"])('core/file', {
       
 12147           href: attributes.url,
       
 12148           fileName: attributes.caption,
       
 12149           textLinkHref: attributes.url,
       
 12150           id: attributes.id
       
 12151         });
       
 12152       }
       
 12153     }],
       
 12154     to: [{
       
 12155       type: 'block',
       
 12156       blocks: ['core/audio'],
       
 12157       isMatch: function isMatch(_ref) {
       
 12158         var id = _ref.id;
       
 12159 
       
 12160         if (!id) {
       
 12161           return false;
       
 12162         }
       
 12163 
       
 12164         var _select = Object(external_this_wp_data_["select"])('core'),
       
 12165             getMedia = _select.getMedia;
       
 12166 
       
 12167         var media = getMedia(id);
       
 12168         return !!media && Object(external_lodash_["includes"])(media.mime_type, 'audio');
       
 12169       },
       
 12170       transform: function transform(attributes) {
       
 12171         return Object(external_this_wp_blocks_["createBlock"])('core/audio', {
       
 12172           src: attributes.href,
       
 12173           caption: attributes.fileName,
       
 12174           id: attributes.id
       
 12175         });
       
 12176       }
       
 12177     }, {
       
 12178       type: 'block',
       
 12179       blocks: ['core/video'],
       
 12180       isMatch: function isMatch(_ref2) {
       
 12181         var id = _ref2.id;
       
 12182 
       
 12183         if (!id) {
       
 12184           return false;
       
 12185         }
       
 12186 
       
 12187         var _select2 = Object(external_this_wp_data_["select"])('core'),
       
 12188             getMedia = _select2.getMedia;
       
 12189 
       
 12190         var media = getMedia(id);
       
 12191         return !!media && Object(external_lodash_["includes"])(media.mime_type, 'video');
       
 12192       },
       
 12193       transform: function transform(attributes) {
       
 12194         return Object(external_this_wp_blocks_["createBlock"])('core/video', {
       
 12195           src: attributes.href,
       
 12196           caption: attributes.fileName,
       
 12197           id: attributes.id
       
 12198         });
       
 12199       }
       
 12200     }, {
       
 12201       type: 'block',
       
 12202       blocks: ['core/image'],
       
 12203       isMatch: function isMatch(_ref3) {
       
 12204         var id = _ref3.id;
       
 12205 
       
 12206         if (!id) {
       
 12207           return false;
       
 12208         }
       
 12209 
       
 12210         var _select3 = Object(external_this_wp_data_["select"])('core'),
       
 12211             getMedia = _select3.getMedia;
       
 12212 
       
 12213         var media = getMedia(id);
       
 12214         return !!media && Object(external_lodash_["includes"])(media.mime_type, 'image');
       
 12215       },
       
 12216       transform: function transform(attributes) {
       
 12217         return Object(external_this_wp_blocks_["createBlock"])('core/image', {
       
 12218           url: attributes.href,
       
 12219           caption: attributes.fileName,
       
 12220           id: attributes.id
       
 12221         });
       
 12222       }
       
 12223     }]
       
 12224   },
       
 12225   edit: edit,
       
 12226   save: function save(_ref4) {
       
 12227     var attributes = _ref4.attributes;
       
 12228     var href = attributes.href,
       
 12229         fileName = attributes.fileName,
       
 12230         textLinkHref = attributes.textLinkHref,
       
 12231         textLinkTarget = attributes.textLinkTarget,
       
 12232         showDownloadButton = attributes.showDownloadButton,
       
 12233         downloadButtonText = attributes.downloadButtonText;
       
 12234     return href && Object(external_this_wp_element_["createElement"])("div", null, !external_this_wp_blockEditor_["RichText"].isEmpty(fileName) && Object(external_this_wp_element_["createElement"])("a", {
       
 12235       href: textLinkHref,
       
 12236       target: textLinkTarget,
       
 12237       rel: textLinkTarget ? 'noreferrer noopener' : false
       
 12238     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 12239       value: fileName
       
 12240     })), showDownloadButton && Object(external_this_wp_element_["createElement"])("a", {
       
 12241       href: href,
       
 12242       className: "wp-block-file__button",
       
 12243       download: true
       
 12244     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 12245       value: downloadButtonText
       
 12246     })));
       
 12247   }
       
 12248 };
       
 12249 
       
 12250 
       
 12251 /***/ }),
       
 12252 /* 233 */
       
 12253 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
 12254 
       
 12255 "use strict";
       
 12256 __webpack_require__.r(__webpack_exports__);
       
 12257 
       
 12258 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
 12259 var external_this_wp_i18n_ = __webpack_require__(1);
       
 12260 
       
 12261 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
       
 12262 var esm_extends = __webpack_require__(19);
       
 12263 
       
 12264 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
       
 12265 var objectSpread = __webpack_require__(7);
       
 12266 
       
 12267 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
 12268 var classCallCheck = __webpack_require__(10);
       
 12269 
       
 12270 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
 12271 var createClass = __webpack_require__(9);
       
 12272 
       
 12273 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
 12274 var possibleConstructorReturn = __webpack_require__(11);
       
 12275 
       
 12276 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
 12277 var getPrototypeOf = __webpack_require__(12);
       
 12278 
       
 12279 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
 12280 var inherits = __webpack_require__(13);
       
 12281 
       
 12282 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
       
 12283 var assertThisInitialized = __webpack_require__(3);
       
 12284 
       
 12285 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
 12286 var external_this_wp_element_ = __webpack_require__(0);
       
 12287 
       
 12288 // EXTERNAL MODULE: external "lodash"
       
 12289 var external_lodash_ = __webpack_require__(2);
       
 12290 
       
 12291 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
 12292 var external_this_wp_components_ = __webpack_require__(4);
       
 12293 
       
 12294 // EXTERNAL MODULE: external {"this":["wp","data"]}
       
 12295 var external_this_wp_data_ = __webpack_require__(5);
       
 12296 
       
 12297 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
       
 12298 var external_this_wp_blockEditor_ = __webpack_require__(8);
       
 12299 
       
 12300 // EXTERNAL MODULE: external {"this":["wp","compose"]}
       
 12301 var external_this_wp_compose_ = __webpack_require__(6);
       
 12302 
       
 12303 // EXTERNAL MODULE: external {"this":["wp","keycodes"]}
       
 12304 var external_this_wp_keycodes_ = __webpack_require__(18);
       
 12305 
       
 12306 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/block/edit-panel/index.js
       
 12307 
       
 12308 
       
 12309 
       
 12310 
       
 12311 
       
 12312 
       
 12313 
       
 12314 
       
 12315 /**
       
 12316  * WordPress dependencies
       
 12317  */
       
 12318 
       
 12319 
       
 12320 
       
 12321 
       
 12322 
       
 12323 
       
 12324 var edit_panel_ReusableBlockEditPanel =
       
 12325 /*#__PURE__*/
       
 12326 function (_Component) {
       
 12327   Object(inherits["a" /* default */])(ReusableBlockEditPanel, _Component);
       
 12328 
       
 12329   function ReusableBlockEditPanel() {
       
 12330     var _this;
       
 12331 
       
 12332     Object(classCallCheck["a" /* default */])(this, ReusableBlockEditPanel);
       
 12333 
       
 12334     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(ReusableBlockEditPanel).apply(this, arguments));
       
 12335     _this.titleField = Object(external_this_wp_element_["createRef"])();
       
 12336     _this.editButton = Object(external_this_wp_element_["createRef"])();
       
 12337     _this.handleFormSubmit = _this.handleFormSubmit.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 12338     _this.handleTitleChange = _this.handleTitleChange.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 12339     _this.handleTitleKeyDown = _this.handleTitleKeyDown.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 12340     return _this;
       
 12341   }
       
 12342 
       
 12343   Object(createClass["a" /* default */])(ReusableBlockEditPanel, [{
       
 12344     key: "componentDidMount",
       
 12345     value: function componentDidMount() {
       
 12346       // Select the input text when the form opens.
       
 12347       if (this.props.isEditing && this.titleField.current) {
       
 12348         this.titleField.current.select();
       
 12349       }
       
 12350     }
       
 12351   }, {
       
 12352     key: "componentDidUpdate",
       
 12353     value: function componentDidUpdate(prevProps) {
       
 12354       // Select the input text only once when the form opens.
       
 12355       if (!prevProps.isEditing && this.props.isEditing) {
       
 12356         this.titleField.current.select();
       
 12357       } // Move focus back to the Edit button after pressing the Escape key or Save.
       
 12358 
       
 12359 
       
 12360       if ((prevProps.isEditing || prevProps.isSaving) && !this.props.isEditing && !this.props.isSaving) {
       
 12361         this.editButton.current.focus();
       
 12362       }
       
 12363     }
       
 12364   }, {
       
 12365     key: "handleFormSubmit",
       
 12366     value: function handleFormSubmit(event) {
       
 12367       event.preventDefault();
       
 12368       this.props.onSave();
       
 12369     }
       
 12370   }, {
       
 12371     key: "handleTitleChange",
       
 12372     value: function handleTitleChange(event) {
       
 12373       this.props.onChangeTitle(event.target.value);
       
 12374     }
       
 12375   }, {
       
 12376     key: "handleTitleKeyDown",
       
 12377     value: function handleTitleKeyDown(event) {
       
 12378       if (event.keyCode === external_this_wp_keycodes_["ESCAPE"]) {
       
 12379         event.stopPropagation();
       
 12380         this.props.onCancel();
       
 12381       }
       
 12382     }
       
 12383   }, {
       
 12384     key: "render",
       
 12385     value: function render() {
       
 12386       var _this$props = this.props,
       
 12387           isEditing = _this$props.isEditing,
       
 12388           title = _this$props.title,
       
 12389           isSaving = _this$props.isSaving,
       
 12390           isEditDisabled = _this$props.isEditDisabled,
       
 12391           onEdit = _this$props.onEdit,
       
 12392           instanceId = _this$props.instanceId;
       
 12393       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, !isEditing && !isSaving && Object(external_this_wp_element_["createElement"])("div", {
       
 12394         className: "reusable-block-edit-panel"
       
 12395       }, Object(external_this_wp_element_["createElement"])("b", {
       
 12396         className: "reusable-block-edit-panel__info"
       
 12397       }, title), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
 12398         ref: this.editButton,
       
 12399         isLarge: true,
       
 12400         className: "reusable-block-edit-panel__button",
       
 12401         disabled: isEditDisabled,
       
 12402         onClick: onEdit
       
 12403       }, Object(external_this_wp_i18n_["__"])('Edit'))), (isEditing || isSaving) && Object(external_this_wp_element_["createElement"])("form", {
       
 12404         className: "reusable-block-edit-panel",
       
 12405         onSubmit: this.handleFormSubmit
       
 12406       }, Object(external_this_wp_element_["createElement"])("label", {
       
 12407         htmlFor: "reusable-block-edit-panel__title-".concat(instanceId),
       
 12408         className: "reusable-block-edit-panel__label"
       
 12409       }, Object(external_this_wp_i18n_["__"])('Name:')), Object(external_this_wp_element_["createElement"])("input", {
       
 12410         ref: this.titleField,
       
 12411         type: "text",
       
 12412         disabled: isSaving,
       
 12413         className: "reusable-block-edit-panel__title",
       
 12414         value: title,
       
 12415         onChange: this.handleTitleChange,
       
 12416         onKeyDown: this.handleTitleKeyDown,
       
 12417         id: "reusable-block-edit-panel__title-".concat(instanceId)
       
 12418       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
 12419         type: "submit",
       
 12420         isLarge: true,
       
 12421         isBusy: isSaving,
       
 12422         disabled: !title || isSaving,
       
 12423         className: "reusable-block-edit-panel__button"
       
 12424       }, Object(external_this_wp_i18n_["__"])('Save'))));
       
 12425     }
       
 12426   }]);
       
 12427 
       
 12428   return ReusableBlockEditPanel;
       
 12429 }(external_this_wp_element_["Component"]);
       
 12430 
       
 12431 /* harmony default export */ var edit_panel = (Object(external_this_wp_compose_["withInstanceId"])(edit_panel_ReusableBlockEditPanel));
       
 12432 
       
 12433 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/block/indicator/index.js
       
 12434 
       
 12435 
       
 12436 /**
       
 12437  * WordPress dependencies
       
 12438  */
       
 12439 
       
 12440 
       
 12441 
       
 12442 function ReusableBlockIndicator(_ref) {
       
 12443   var title = _ref.title;
       
 12444   // translators: %s: title/name of the reusable block
       
 12445   var tooltipText = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Reusable Block: %s'), title);
       
 12446   return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Tooltip"], {
       
 12447     text: tooltipText
       
 12448   }, Object(external_this_wp_element_["createElement"])("span", {
       
 12449     className: "reusable-block-indicator"
       
 12450   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dashicon"], {
       
 12451     icon: "controls-repeat"
       
 12452   })));
       
 12453 }
       
 12454 
       
 12455 /* harmony default export */ var indicator = (ReusableBlockIndicator);
       
 12456 
       
 12457 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/block/edit.js
       
 12458 
       
 12459 
       
 12460 
       
 12461 
       
 12462 
       
 12463 
       
 12464 
       
 12465 
       
 12466 
       
 12467 
       
 12468 /**
       
 12469  * External dependencies
       
 12470  */
       
 12471 
       
 12472 /**
       
 12473  * WordPress dependencies
       
 12474  */
       
 12475 
       
 12476 
       
 12477 
       
 12478 
       
 12479 
       
 12480 
       
 12481 
       
 12482 /**
       
 12483  * Internal dependencies
       
 12484  */
       
 12485 
       
 12486 
       
 12487 
       
 12488 
       
 12489 var edit_ReusableBlockEdit =
       
 12490 /*#__PURE__*/
       
 12491 function (_Component) {
       
 12492   Object(inherits["a" /* default */])(ReusableBlockEdit, _Component);
       
 12493 
       
 12494   function ReusableBlockEdit(_ref) {
       
 12495     var _this;
       
 12496 
       
 12497     var reusableBlock = _ref.reusableBlock;
       
 12498 
       
 12499     Object(classCallCheck["a" /* default */])(this, ReusableBlockEdit);
       
 12500 
       
 12501     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(ReusableBlockEdit).apply(this, arguments));
       
 12502     _this.startEditing = _this.startEditing.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 12503     _this.stopEditing = _this.stopEditing.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 12504     _this.setAttributes = _this.setAttributes.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 12505     _this.setTitle = _this.setTitle.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 12506     _this.save = _this.save.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 12507 
       
 12508     if (reusableBlock && reusableBlock.isTemporary) {
       
 12509       // Start in edit mode when we're working with a newly created reusable block
       
 12510       _this.state = {
       
 12511         isEditing: true,
       
 12512         title: reusableBlock.title,
       
 12513         changedAttributes: {}
       
 12514       };
       
 12515     } else {
       
 12516       // Start in preview mode when we're working with an existing reusable block
       
 12517       _this.state = {
       
 12518         isEditing: false,
       
 12519         title: null,
       
 12520         changedAttributes: null
       
 12521       };
       
 12522     }
       
 12523 
       
 12524     return _this;
       
 12525   }
       
 12526 
       
 12527   Object(createClass["a" /* default */])(ReusableBlockEdit, [{
       
 12528     key: "componentDidMount",
       
 12529     value: function componentDidMount() {
       
 12530       if (!this.props.reusableBlock) {
       
 12531         this.props.fetchReusableBlock();
       
 12532       }
       
 12533     }
       
 12534   }, {
       
 12535     key: "startEditing",
       
 12536     value: function startEditing() {
       
 12537       var reusableBlock = this.props.reusableBlock;
       
 12538       this.setState({
       
 12539         isEditing: true,
       
 12540         title: reusableBlock.title,
       
 12541         changedAttributes: {}
       
 12542       });
       
 12543     }
       
 12544   }, {
       
 12545     key: "stopEditing",
       
 12546     value: function stopEditing() {
       
 12547       this.setState({
       
 12548         isEditing: false,
       
 12549         title: null,
       
 12550         changedAttributes: null
       
 12551       });
       
 12552     }
       
 12553   }, {
       
 12554     key: "setAttributes",
       
 12555     value: function setAttributes(attributes) {
       
 12556       this.setState(function (prevState) {
       
 12557         if (prevState.changedAttributes !== null) {
       
 12558           return {
       
 12559             changedAttributes: Object(objectSpread["a" /* default */])({}, prevState.changedAttributes, attributes)
       
 12560           };
       
 12561         }
       
 12562       });
       
 12563     }
       
 12564   }, {
       
 12565     key: "setTitle",
       
 12566     value: function setTitle(title) {
       
 12567       this.setState({
       
 12568         title: title
       
 12569       });
       
 12570     }
       
 12571   }, {
       
 12572     key: "save",
       
 12573     value: function save() {
       
 12574       var _this$props = this.props,
       
 12575           reusableBlock = _this$props.reusableBlock,
       
 12576           onUpdateTitle = _this$props.onUpdateTitle,
       
 12577           updateAttributes = _this$props.updateAttributes,
       
 12578           block = _this$props.block,
       
 12579           onSave = _this$props.onSave;
       
 12580       var _this$state = this.state,
       
 12581           title = _this$state.title,
       
 12582           changedAttributes = _this$state.changedAttributes;
       
 12583 
       
 12584       if (title !== reusableBlock.title) {
       
 12585         onUpdateTitle(title);
       
 12586       }
       
 12587 
       
 12588       updateAttributes(block.clientId, changedAttributes);
       
 12589       onSave();
       
 12590       this.stopEditing();
       
 12591     }
       
 12592   }, {
       
 12593     key: "render",
       
 12594     value: function render() {
       
 12595       var _this$props2 = this.props,
       
 12596           isSelected = _this$props2.isSelected,
       
 12597           reusableBlock = _this$props2.reusableBlock,
       
 12598           block = _this$props2.block,
       
 12599           isFetching = _this$props2.isFetching,
       
 12600           isSaving = _this$props2.isSaving,
       
 12601           canUpdateBlock = _this$props2.canUpdateBlock;
       
 12602       var _this$state2 = this.state,
       
 12603           isEditing = _this$state2.isEditing,
       
 12604           title = _this$state2.title,
       
 12605           changedAttributes = _this$state2.changedAttributes;
       
 12606 
       
 12607       if (!reusableBlock && isFetching) {
       
 12608         return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null));
       
 12609       }
       
 12610 
       
 12611       if (!reusableBlock || !block) {
       
 12612         return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], null, Object(external_this_wp_i18n_["__"])('Block has been deleted or is unavailable.'));
       
 12613       }
       
 12614 
       
 12615       var element = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockEdit"], Object(esm_extends["a" /* default */])({}, this.props, {
       
 12616         isSelected: isEditing && isSelected,
       
 12617         clientId: block.clientId,
       
 12618         name: block.name,
       
 12619         attributes: Object(objectSpread["a" /* default */])({}, block.attributes, changedAttributes),
       
 12620         setAttributes: isEditing ? this.setAttributes : external_lodash_["noop"]
       
 12621       }));
       
 12622 
       
 12623       if (!isEditing) {
       
 12624         element = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Disabled"], null, element);
       
 12625       }
       
 12626 
       
 12627       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, (isSelected || isEditing) && Object(external_this_wp_element_["createElement"])(edit_panel, {
       
 12628         isEditing: isEditing,
       
 12629         title: title !== null ? title : reusableBlock.title,
       
 12630         isSaving: isSaving && !reusableBlock.isTemporary,
       
 12631         isEditDisabled: !canUpdateBlock,
       
 12632         onEdit: this.startEditing,
       
 12633         onChangeTitle: this.setTitle,
       
 12634         onSave: this.save,
       
 12635         onCancel: this.stopEditing
       
 12636       }), !isSelected && !isEditing && Object(external_this_wp_element_["createElement"])(indicator, {
       
 12637         title: reusableBlock.title
       
 12638       }), element);
       
 12639     }
       
 12640   }]);
       
 12641 
       
 12642   return ReusableBlockEdit;
       
 12643 }(external_this_wp_element_["Component"]);
       
 12644 
       
 12645 /* harmony default export */ var edit = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, ownProps) {
       
 12646   var _select = select('core/editor'),
       
 12647       getReusableBlock = _select.__experimentalGetReusableBlock,
       
 12648       isFetchingReusableBlock = _select.__experimentalIsFetchingReusableBlock,
       
 12649       isSavingReusableBlock = _select.__experimentalIsSavingReusableBlock;
       
 12650 
       
 12651   var _select2 = select('core'),
       
 12652       canUser = _select2.canUser;
       
 12653 
       
 12654   var _select3 = select('core/block-editor'),
       
 12655       getBlock = _select3.getBlock;
       
 12656 
       
 12657   var ref = ownProps.attributes.ref;
       
 12658   var reusableBlock = getReusableBlock(ref);
       
 12659   return {
       
 12660     reusableBlock: reusableBlock,
       
 12661     isFetching: isFetchingReusableBlock(ref),
       
 12662     isSaving: isSavingReusableBlock(ref),
       
 12663     block: reusableBlock ? getBlock(reusableBlock.clientId) : null,
       
 12664     canUpdateBlock: !!reusableBlock && !reusableBlock.isTemporary && !!canUser('update', 'blocks', ref)
       
 12665   };
       
 12666 }), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps) {
       
 12667   var _dispatch = dispatch('core/editor'),
       
 12668       fetchReusableBlocks = _dispatch.__experimentalFetchReusableBlocks,
       
 12669       updateReusableBlockTitle = _dispatch.__experimentalUpdateReusableBlockTitle,
       
 12670       saveReusableBlock = _dispatch.__experimentalSaveReusableBlock;
       
 12671 
       
 12672   var _dispatch2 = dispatch('core/block-editor'),
       
 12673       updateBlockAttributes = _dispatch2.updateBlockAttributes;
       
 12674 
       
 12675   var ref = ownProps.attributes.ref;
       
 12676   return {
       
 12677     fetchReusableBlock: Object(external_lodash_["partial"])(fetchReusableBlocks, ref),
       
 12678     updateAttributes: updateBlockAttributes,
       
 12679     onUpdateTitle: Object(external_lodash_["partial"])(updateReusableBlockTitle, ref),
       
 12680     onSave: Object(external_lodash_["partial"])(saveReusableBlock, ref)
       
 12681   };
       
 12682 })])(edit_ReusableBlockEdit));
       
 12683 
       
 12684 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/block/index.js
       
 12685 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return block_name; });
       
 12686 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
 12687 /**
       
 12688  * WordPress dependencies
       
 12689  */
       
 12690 
       
 12691 /**
       
 12692  * Internal dependencies
       
 12693  */
       
 12694 
       
 12695 
       
 12696 var block_name = 'core/block';
       
 12697 var settings = {
       
 12698   title: Object(external_this_wp_i18n_["__"])('Reusable Block'),
       
 12699   category: 'reusable',
       
 12700   description: Object(external_this_wp_i18n_["__"])('Create content, and save it for you and other contributors to reuse across your site. Update the block, and the changes apply everywhere it’s used.'),
       
 12701   attributes: {
       
 12702     ref: {
       
 12703       type: 'number'
       
 12704     }
       
 12705   },
       
 12706   supports: {
       
 12707     customClassName: false,
       
 12708     html: false,
       
 12709     inserter: false
       
 12710   },
       
 12711   edit: edit,
       
 12712   save: function save() {
       
 12713     return null;
       
 12714   }
       
 12715 };
       
 12716 
       
 12717 
       
 12718 /***/ }),
       
 12719 /* 234 */
       
 12720 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
 12721 
       
 12722 "use strict";
       
 12723 __webpack_require__.r(__webpack_exports__);
       
 12724 
       
 12725 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
       
 12726 var objectSpread = __webpack_require__(7);
       
 12727 
       
 12728 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
 12729 var external_this_wp_element_ = __webpack_require__(0);
       
 12730 
       
 12731 // EXTERNAL MODULE: external "lodash"
       
 12732 var external_lodash_ = __webpack_require__(2);
       
 12733 
       
 12734 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
 12735 var external_this_wp_i18n_ = __webpack_require__(1);
       
 12736 
       
 12737 // EXTERNAL MODULE: external {"this":["wp","blocks"]}
       
 12738 var external_this_wp_blocks_ = __webpack_require__(14);
       
 12739 
       
 12740 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
       
 12741 var external_this_wp_blockEditor_ = __webpack_require__(8);
       
 12742 
       
 12743 // EXTERNAL MODULE: external {"this":["wp","editor"]}
       
 12744 var external_this_wp_editor_ = __webpack_require__(22);
       
 12745 
       
 12746 // EXTERNAL MODULE: external {"this":["wp","blob"]}
       
 12747 var external_this_wp_blob_ = __webpack_require__(35);
       
 12748 
       
 12749 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
       
 12750 var defineProperty = __webpack_require__(15);
       
 12751 
       
 12752 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
       
 12753 var toConsumableArray = __webpack_require__(17);
       
 12754 
       
 12755 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
 12756 var classCallCheck = __webpack_require__(10);
       
 12757 
       
 12758 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
 12759 var createClass = __webpack_require__(9);
       
 12760 
       
 12761 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
 12762 var possibleConstructorReturn = __webpack_require__(11);
       
 12763 
       
 12764 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
 12765 var getPrototypeOf = __webpack_require__(12);
       
 12766 
       
 12767 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
 12768 var inherits = __webpack_require__(13);
       
 12769 
       
 12770 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
       
 12771 var assertThisInitialized = __webpack_require__(3);
       
 12772 
       
 12773 // EXTERNAL MODULE: ./node_modules/classnames/index.js
       
 12774 var classnames = __webpack_require__(16);
       
 12775 var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
       
 12776 
       
 12777 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
 12778 var external_this_wp_components_ = __webpack_require__(4);
       
 12779 
       
 12780 // EXTERNAL MODULE: external {"this":["wp","keycodes"]}
       
 12781 var external_this_wp_keycodes_ = __webpack_require__(18);
       
 12782 
       
 12783 // EXTERNAL MODULE: external {"this":["wp","data"]}
       
 12784 var external_this_wp_data_ = __webpack_require__(5);
       
 12785 
       
 12786 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/gallery-image.js
       
 12787 
       
 12788 
       
 12789 
       
 12790 
       
 12791 
       
 12792 
       
 12793 
       
 12794 
       
 12795 /**
       
 12796  * External dependencies
       
 12797  */
       
 12798 
       
 12799 /**
       
 12800  * WordPress dependencies
       
 12801  */
       
 12802 
       
 12803 
       
 12804 
       
 12805 
       
 12806 
       
 12807 
       
 12808 
       
 12809 
       
 12810 
       
 12811 var gallery_image_GalleryImage =
       
 12812 /*#__PURE__*/
       
 12813 function (_Component) {
       
 12814   Object(inherits["a" /* default */])(GalleryImage, _Component);
       
 12815 
       
 12816   function GalleryImage() {
       
 12817     var _this;
       
 12818 
       
 12819     Object(classCallCheck["a" /* default */])(this, GalleryImage);
       
 12820 
       
 12821     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(GalleryImage).apply(this, arguments));
       
 12822     _this.onSelectImage = _this.onSelectImage.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 12823     _this.onSelectCaption = _this.onSelectCaption.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 12824     _this.onRemoveImage = _this.onRemoveImage.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 12825     _this.bindContainer = _this.bindContainer.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 12826     _this.state = {
       
 12827       captionSelected: false
       
 12828     };
       
 12829     return _this;
       
 12830   }
       
 12831 
       
 12832   Object(createClass["a" /* default */])(GalleryImage, [{
       
 12833     key: "bindContainer",
       
 12834     value: function bindContainer(ref) {
       
 12835       this.container = ref;
       
 12836     }
       
 12837   }, {
       
 12838     key: "onSelectCaption",
       
 12839     value: function onSelectCaption() {
       
 12840       if (!this.state.captionSelected) {
       
 12841         this.setState({
       
 12842           captionSelected: true
       
 12843         });
       
 12844       }
       
 12845 
       
 12846       if (!this.props.isSelected) {
       
 12847         this.props.onSelect();
       
 12848       }
       
 12849     }
       
 12850   }, {
       
 12851     key: "onSelectImage",
       
 12852     value: function onSelectImage() {
       
 12853       if (!this.props.isSelected) {
       
 12854         this.props.onSelect();
       
 12855       }
       
 12856 
       
 12857       if (this.state.captionSelected) {
       
 12858         this.setState({
       
 12859           captionSelected: false
       
 12860         });
       
 12861       }
       
 12862     }
       
 12863   }, {
       
 12864     key: "onRemoveImage",
       
 12865     value: function onRemoveImage(event) {
       
 12866       if (this.container === document.activeElement && this.props.isSelected && [external_this_wp_keycodes_["BACKSPACE"], external_this_wp_keycodes_["DELETE"]].indexOf(event.keyCode) !== -1) {
       
 12867         event.stopPropagation();
       
 12868         event.preventDefault();
       
 12869         this.props.onRemove();
       
 12870       }
       
 12871     }
       
 12872   }, {
       
 12873     key: "componentDidUpdate",
       
 12874     value: function componentDidUpdate(prevProps) {
       
 12875       var _this$props = this.props,
       
 12876           isSelected = _this$props.isSelected,
       
 12877           image = _this$props.image,
       
 12878           url = _this$props.url;
       
 12879 
       
 12880       if (image && !url) {
       
 12881         this.props.setAttributes({
       
 12882           url: image.source_url,
       
 12883           alt: image.alt_text
       
 12884         });
       
 12885       } // unselect the caption so when the user selects other image and comeback
       
 12886       // the caption is not immediately selected
       
 12887 
       
 12888 
       
 12889       if (this.state.captionSelected && !isSelected && prevProps.isSelected) {
       
 12890         this.setState({
       
 12891           captionSelected: false
       
 12892         });
       
 12893       }
       
 12894     }
       
 12895   }, {
       
 12896     key: "render",
       
 12897     value: function render() {
       
 12898       var _this$props2 = this.props,
       
 12899           url = _this$props2.url,
       
 12900           alt = _this$props2.alt,
       
 12901           id = _this$props2.id,
       
 12902           linkTo = _this$props2.linkTo,
       
 12903           link = _this$props2.link,
       
 12904           isSelected = _this$props2.isSelected,
       
 12905           caption = _this$props2.caption,
       
 12906           onRemove = _this$props2.onRemove,
       
 12907           setAttributes = _this$props2.setAttributes,
       
 12908           ariaLabel = _this$props2['aria-label'];
       
 12909       var href;
       
 12910 
       
 12911       switch (linkTo) {
       
 12912         case 'media':
       
 12913           href = url;
       
 12914           break;
       
 12915 
       
 12916         case 'attachment':
       
 12917           href = link;
       
 12918           break;
       
 12919       }
       
 12920 
       
 12921       var img = // Disable reason: Image itself is not meant to be interactive, but should
       
 12922       // direct image selection and unfocus caption fields.
       
 12923 
       
 12924       /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
       
 12925       Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("img", {
       
 12926         src: url,
       
 12927         alt: alt,
       
 12928         "data-id": id,
       
 12929         onClick: this.onSelectImage,
       
 12930         onFocus: this.onSelectImage,
       
 12931         onKeyDown: this.onRemoveImage,
       
 12932         tabIndex: "0",
       
 12933         "aria-label": ariaLabel,
       
 12934         ref: this.bindContainer
       
 12935       }), Object(external_this_wp_blob_["isBlobURL"])(url) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null))
       
 12936       /* eslint-enable jsx-a11y/no-noninteractive-element-interactions */
       
 12937       ;
       
 12938       var className = classnames_default()({
       
 12939         'is-selected': isSelected,
       
 12940         'is-transient': Object(external_this_wp_blob_["isBlobURL"])(url)
       
 12941       });
       
 12942       return Object(external_this_wp_element_["createElement"])("figure", {
       
 12943         className: className
       
 12944       }, isSelected && Object(external_this_wp_element_["createElement"])("div", {
       
 12945         className: "block-library-gallery-item__inline-menu"
       
 12946       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], {
       
 12947         icon: "no-alt",
       
 12948         onClick: onRemove,
       
 12949         className: "blocks-gallery-item__remove",
       
 12950         label: Object(external_this_wp_i18n_["__"])('Remove Image')
       
 12951       })), href ? Object(external_this_wp_element_["createElement"])("a", {
       
 12952         href: href
       
 12953       }, img) : img, !external_this_wp_blockEditor_["RichText"].isEmpty(caption) || isSelected ? Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 12954         tagName: "figcaption",
       
 12955         placeholder: Object(external_this_wp_i18n_["__"])('Write caption…'),
       
 12956         value: caption,
       
 12957         isSelected: this.state.captionSelected,
       
 12958         onChange: function onChange(newCaption) {
       
 12959           return setAttributes({
       
 12960             caption: newCaption
       
 12961           });
       
 12962         },
       
 12963         unstableOnFocus: this.onSelectCaption,
       
 12964         inlineToolbar: true
       
 12965       }) : null);
       
 12966     }
       
 12967   }]);
       
 12968 
       
 12969   return GalleryImage;
       
 12970 }(external_this_wp_element_["Component"]);
       
 12971 
       
 12972 /* harmony default export */ var gallery_image = (Object(external_this_wp_data_["withSelect"])(function (select, ownProps) {
       
 12973   var _select = select('core'),
       
 12974       getMedia = _select.getMedia;
       
 12975 
       
 12976   var id = ownProps.id;
       
 12977   return {
       
 12978     image: id ? getMedia(id) : null
       
 12979   };
       
 12980 })(gallery_image_GalleryImage));
       
 12981 
       
 12982 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/icon.js
       
 12983 
       
 12984 
       
 12985 /**
       
 12986  * WordPress dependencies
       
 12987  */
       
 12988 
       
 12989 /* harmony default export */ var icon = (Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
 12990   viewBox: "0 0 24 24",
       
 12991   xmlns: "http://www.w3.org/2000/svg"
       
 12992 }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 12993   fill: "none",
       
 12994   d: "M0 0h24v24H0V0z"
       
 12995 }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["G"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 12996   d: "M20 4v12H8V4h12m0-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 9.67l1.69 2.26 2.48-3.1L19 15H9zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"
       
 12997 }))));
       
 12998 
       
 12999 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/edit.js
       
 13000 
       
 13001 
       
 13002 
       
 13003 
       
 13004 
       
 13005 
       
 13006 
       
 13007 
       
 13008 
       
 13009 
       
 13010 
       
 13011 /**
       
 13012  * External dependencies
       
 13013  */
       
 13014 
       
 13015 
       
 13016 /**
       
 13017  * WordPress dependencies
       
 13018  */
       
 13019 
       
 13020 
       
 13021 
       
 13022 
       
 13023 
       
 13024 
       
 13025 /**
       
 13026  * Internal dependencies
       
 13027  */
       
 13028 
       
 13029 
       
 13030 
       
 13031 var MAX_COLUMNS = 8;
       
 13032 var linkOptions = [{
       
 13033   value: 'attachment',
       
 13034   label: Object(external_this_wp_i18n_["__"])('Attachment Page')
       
 13035 }, {
       
 13036   value: 'media',
       
 13037   label: Object(external_this_wp_i18n_["__"])('Media File')
       
 13038 }, {
       
 13039   value: 'none',
       
 13040   label: Object(external_this_wp_i18n_["__"])('None')
       
 13041 }];
       
 13042 var ALLOWED_MEDIA_TYPES = ['image'];
       
 13043 function defaultColumnsNumber(attributes) {
       
 13044   return Math.min(3, attributes.images.length);
       
 13045 }
       
 13046 var edit_pickRelevantMediaFiles = function pickRelevantMediaFiles(image) {
       
 13047   var imageProps = Object(external_lodash_["pick"])(image, ['alt', 'id', 'link', 'caption']);
       
 13048   imageProps.url = Object(external_lodash_["get"])(image, ['sizes', 'large', 'url']) || Object(external_lodash_["get"])(image, ['media_details', 'sizes', 'large', 'source_url']) || image.url;
       
 13049   return imageProps;
       
 13050 };
       
 13051 
       
 13052 var edit_GalleryEdit =
       
 13053 /*#__PURE__*/
       
 13054 function (_Component) {
       
 13055   Object(inherits["a" /* default */])(GalleryEdit, _Component);
       
 13056 
       
 13057   function GalleryEdit() {
       
 13058     var _this;
       
 13059 
       
 13060     Object(classCallCheck["a" /* default */])(this, GalleryEdit);
       
 13061 
       
 13062     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(GalleryEdit).apply(this, arguments));
       
 13063     _this.onSelectImage = _this.onSelectImage.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 13064     _this.onSelectImages = _this.onSelectImages.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 13065     _this.setLinkTo = _this.setLinkTo.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 13066     _this.setColumnsNumber = _this.setColumnsNumber.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 13067     _this.toggleImageCrop = _this.toggleImageCrop.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 13068     _this.onRemoveImage = _this.onRemoveImage.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 13069     _this.setImageAttributes = _this.setImageAttributes.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 13070     _this.addFiles = _this.addFiles.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 13071     _this.uploadFromFiles = _this.uploadFromFiles.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 13072     _this.setAttributes = _this.setAttributes.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 13073     _this.state = {
       
 13074       selectedImage: null
       
 13075     };
       
 13076     return _this;
       
 13077   }
       
 13078 
       
 13079   Object(createClass["a" /* default */])(GalleryEdit, [{
       
 13080     key: "setAttributes",
       
 13081     value: function setAttributes(attributes) {
       
 13082       if (attributes.ids) {
       
 13083         throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');
       
 13084       }
       
 13085 
       
 13086       if (attributes.images) {
       
 13087         attributes = Object(objectSpread["a" /* default */])({}, attributes, {
       
 13088           ids: Object(external_lodash_["map"])(attributes.images, 'id')
       
 13089         });
       
 13090       }
       
 13091 
       
 13092       this.props.setAttributes(attributes);
       
 13093     }
       
 13094   }, {
       
 13095     key: "onSelectImage",
       
 13096     value: function onSelectImage(index) {
       
 13097       var _this2 = this;
       
 13098 
       
 13099       return function () {
       
 13100         if (_this2.state.selectedImage !== index) {
       
 13101           _this2.setState({
       
 13102             selectedImage: index
       
 13103           });
       
 13104         }
       
 13105       };
       
 13106     }
       
 13107   }, {
       
 13108     key: "onRemoveImage",
       
 13109     value: function onRemoveImage(index) {
       
 13110       var _this3 = this;
       
 13111 
       
 13112       return function () {
       
 13113         var images = Object(external_lodash_["filter"])(_this3.props.attributes.images, function (img, i) {
       
 13114           return index !== i;
       
 13115         });
       
 13116         var columns = _this3.props.attributes.columns;
       
 13117 
       
 13118         _this3.setState({
       
 13119           selectedImage: null
       
 13120         });
       
 13121 
       
 13122         _this3.setAttributes({
       
 13123           images: images,
       
 13124           columns: columns ? Math.min(images.length, columns) : columns
       
 13125         });
       
 13126       };
       
 13127     }
       
 13128   }, {
       
 13129     key: "onSelectImages",
       
 13130     value: function onSelectImages(images) {
       
 13131       var columns = this.props.attributes.columns;
       
 13132       this.setAttributes({
       
 13133         images: images.map(function (image) {
       
 13134           return edit_pickRelevantMediaFiles(image);
       
 13135         }),
       
 13136         columns: columns ? Math.min(images.length, columns) : columns
       
 13137       });
       
 13138     }
       
 13139   }, {
       
 13140     key: "setLinkTo",
       
 13141     value: function setLinkTo(value) {
       
 13142       this.setAttributes({
       
 13143         linkTo: value
       
 13144       });
       
 13145     }
       
 13146   }, {
       
 13147     key: "setColumnsNumber",
       
 13148     value: function setColumnsNumber(value) {
       
 13149       this.setAttributes({
       
 13150         columns: value
       
 13151       });
       
 13152     }
       
 13153   }, {
       
 13154     key: "toggleImageCrop",
       
 13155     value: function toggleImageCrop() {
       
 13156       this.setAttributes({
       
 13157         imageCrop: !this.props.attributes.imageCrop
       
 13158       });
       
 13159     }
       
 13160   }, {
       
 13161     key: "getImageCropHelp",
       
 13162     value: function getImageCropHelp(checked) {
       
 13163       return checked ? Object(external_this_wp_i18n_["__"])('Thumbnails are cropped to align.') : Object(external_this_wp_i18n_["__"])('Thumbnails are not cropped.');
       
 13164     }
       
 13165   }, {
       
 13166     key: "setImageAttributes",
       
 13167     value: function setImageAttributes(index, attributes) {
       
 13168       var images = this.props.attributes.images;
       
 13169       var setAttributes = this.setAttributes;
       
 13170 
       
 13171       if (!images[index]) {
       
 13172         return;
       
 13173       }
       
 13174 
       
 13175       setAttributes({
       
 13176         images: [].concat(Object(toConsumableArray["a" /* default */])(images.slice(0, index)), [Object(objectSpread["a" /* default */])({}, images[index], attributes)], Object(toConsumableArray["a" /* default */])(images.slice(index + 1)))
       
 13177       });
       
 13178     }
       
 13179   }, {
       
 13180     key: "uploadFromFiles",
       
 13181     value: function uploadFromFiles(event) {
       
 13182       this.addFiles(event.target.files);
       
 13183     }
       
 13184   }, {
       
 13185     key: "addFiles",
       
 13186     value: function addFiles(files) {
       
 13187       var currentImages = this.props.attributes.images || [];
       
 13188       var noticeOperations = this.props.noticeOperations;
       
 13189       var setAttributes = this.setAttributes;
       
 13190       Object(external_this_wp_editor_["mediaUpload"])({
       
 13191         allowedTypes: ALLOWED_MEDIA_TYPES,
       
 13192         filesList: files,
       
 13193         onFileChange: function onFileChange(images) {
       
 13194           var imagesNormalized = images.map(function (image) {
       
 13195             return edit_pickRelevantMediaFiles(image);
       
 13196           });
       
 13197           setAttributes({
       
 13198             images: currentImages.concat(imagesNormalized)
       
 13199           });
       
 13200         },
       
 13201         onError: noticeOperations.createErrorNotice
       
 13202       });
       
 13203     }
       
 13204   }, {
       
 13205     key: "componentDidUpdate",
       
 13206     value: function componentDidUpdate(prevProps) {
       
 13207       // Deselect images when deselecting the block
       
 13208       if (!this.props.isSelected && prevProps.isSelected) {
       
 13209         this.setState({
       
 13210           selectedImage: null,
       
 13211           captionSelected: false
       
 13212         });
       
 13213       }
       
 13214     }
       
 13215   }, {
       
 13216     key: "render",
       
 13217     value: function render() {
       
 13218       var _classnames,
       
 13219           _this4 = this;
       
 13220 
       
 13221       var _this$props = this.props,
       
 13222           attributes = _this$props.attributes,
       
 13223           isSelected = _this$props.isSelected,
       
 13224           className = _this$props.className,
       
 13225           noticeOperations = _this$props.noticeOperations,
       
 13226           noticeUI = _this$props.noticeUI;
       
 13227       var images = attributes.images,
       
 13228           _attributes$columns = attributes.columns,
       
 13229           columns = _attributes$columns === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns,
       
 13230           align = attributes.align,
       
 13231           imageCrop = attributes.imageCrop,
       
 13232           linkTo = attributes.linkTo;
       
 13233       var dropZone = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["DropZone"], {
       
 13234         onFilesDrop: this.addFiles
       
 13235       });
       
 13236       var controls = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, !!images.length && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUpload"], {
       
 13237         onSelect: this.onSelectImages,
       
 13238         allowedTypes: ALLOWED_MEDIA_TYPES,
       
 13239         multiple: true,
       
 13240         gallery: true,
       
 13241         value: images.map(function (img) {
       
 13242           return img.id;
       
 13243         }),
       
 13244         render: function render(_ref) {
       
 13245           var open = _ref.open;
       
 13246           return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], {
       
 13247             className: "components-toolbar__control",
       
 13248             label: Object(external_this_wp_i18n_["__"])('Edit gallery'),
       
 13249             icon: "edit",
       
 13250             onClick: open
       
 13251           });
       
 13252         }
       
 13253       })));
       
 13254 
       
 13255       if (images.length === 0) {
       
 13256         return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, controls, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaPlaceholder"], {
       
 13257           icon: Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], {
       
 13258             icon: icon
       
 13259           }),
       
 13260           className: className,
       
 13261           labels: {
       
 13262             title: Object(external_this_wp_i18n_["__"])('Gallery'),
       
 13263             instructions: Object(external_this_wp_i18n_["__"])('Drag images, upload new ones or select files from your library.')
       
 13264           },
       
 13265           onSelect: this.onSelectImages,
       
 13266           accept: "image/*",
       
 13267           allowedTypes: ALLOWED_MEDIA_TYPES,
       
 13268           multiple: true,
       
 13269           notices: noticeUI,
       
 13270           onError: noticeOperations.createErrorNotice
       
 13271         }));
       
 13272       }
       
 13273 
       
 13274       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, controls, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 13275         title: Object(external_this_wp_i18n_["__"])('Gallery Settings')
       
 13276       }, images.length > 1 && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], {
       
 13277         label: Object(external_this_wp_i18n_["__"])('Columns'),
       
 13278         value: columns,
       
 13279         onChange: this.setColumnsNumber,
       
 13280         min: 1,
       
 13281         max: Math.min(MAX_COLUMNS, images.length),
       
 13282         required: true
       
 13283       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 13284         label: Object(external_this_wp_i18n_["__"])('Crop Images'),
       
 13285         checked: !!imageCrop,
       
 13286         onChange: this.toggleImageCrop,
       
 13287         help: this.getImageCropHelp
       
 13288       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], {
       
 13289         label: Object(external_this_wp_i18n_["__"])('Link To'),
       
 13290         value: linkTo,
       
 13291         onChange: this.setLinkTo,
       
 13292         options: linkOptions
       
 13293       }))), noticeUI, Object(external_this_wp_element_["createElement"])("ul", {
       
 13294         className: classnames_default()(className, (_classnames = {}, Object(defineProperty["a" /* default */])(_classnames, "align".concat(align), align), Object(defineProperty["a" /* default */])(_classnames, "columns-".concat(columns), columns), Object(defineProperty["a" /* default */])(_classnames, 'is-cropped', imageCrop), _classnames))
       
 13295       }, dropZone, images.map(function (img, index) {
       
 13296         /* translators: %1$d is the order number of the image, %2$d is the total number of images. */
       
 13297         var ariaLabel = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('image %1$d of %2$d in gallery'), index + 1, images.length);
       
 13298         return Object(external_this_wp_element_["createElement"])("li", {
       
 13299           className: "blocks-gallery-item",
       
 13300           key: img.id || img.url
       
 13301         }, Object(external_this_wp_element_["createElement"])(gallery_image, {
       
 13302           url: img.url,
       
 13303           alt: img.alt,
       
 13304           id: img.id,
       
 13305           isSelected: isSelected && _this4.state.selectedImage === index,
       
 13306           onRemove: _this4.onRemoveImage(index),
       
 13307           onSelect: _this4.onSelectImage(index),
       
 13308           setAttributes: function setAttributes(attrs) {
       
 13309             return _this4.setImageAttributes(index, attrs);
       
 13310           },
       
 13311           caption: img.caption,
       
 13312           "aria-label": ariaLabel
       
 13313         }));
       
 13314       }), isSelected && Object(external_this_wp_element_["createElement"])("li", {
       
 13315         className: "blocks-gallery-item has-add-item-button"
       
 13316       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["FormFileUpload"], {
       
 13317         multiple: true,
       
 13318         isLarge: true,
       
 13319         className: "block-library-gallery-add-item-button",
       
 13320         onChange: this.uploadFromFiles,
       
 13321         accept: "image/*",
       
 13322         icon: "insert"
       
 13323       }, Object(external_this_wp_i18n_["__"])('Upload an image')))));
       
 13324     }
       
 13325   }]);
       
 13326 
       
 13327   return GalleryEdit;
       
 13328 }(external_this_wp_element_["Component"]);
       
 13329 
       
 13330 /* harmony default export */ var edit = (Object(external_this_wp_components_["withNotices"])(edit_GalleryEdit));
       
 13331 
       
 13332 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/index.js
       
 13333 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return gallery_name; });
       
 13334 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
 13335 
       
 13336 
       
 13337 
       
 13338 /**
       
 13339  * External dependencies
       
 13340  */
       
 13341 
       
 13342 /**
       
 13343  * WordPress dependencies
       
 13344  */
       
 13345 
       
 13346 
       
 13347 
       
 13348 
       
 13349 
       
 13350 
       
 13351 /**
       
 13352  * Internal dependencies
       
 13353  */
       
 13354 
       
 13355 
       
 13356 
       
 13357 var blockAttributes = {
       
 13358   images: {
       
 13359     type: 'array',
       
 13360     default: [],
       
 13361     source: 'query',
       
 13362     selector: 'ul.wp-block-gallery .blocks-gallery-item',
       
 13363     query: {
       
 13364       url: {
       
 13365         source: 'attribute',
       
 13366         selector: 'img',
       
 13367         attribute: 'src'
       
 13368       },
       
 13369       link: {
       
 13370         source: 'attribute',
       
 13371         selector: 'img',
       
 13372         attribute: 'data-link'
       
 13373       },
       
 13374       alt: {
       
 13375         source: 'attribute',
       
 13376         selector: 'img',
       
 13377         attribute: 'alt',
       
 13378         default: ''
       
 13379       },
       
 13380       id: {
       
 13381         source: 'attribute',
       
 13382         selector: 'img',
       
 13383         attribute: 'data-id'
       
 13384       },
       
 13385       caption: {
       
 13386         type: 'string',
       
 13387         source: 'html',
       
 13388         selector: 'figcaption'
       
 13389       }
       
 13390     }
       
 13391   },
       
 13392   ids: {
       
 13393     type: 'array',
       
 13394     default: []
       
 13395   },
       
 13396   columns: {
       
 13397     type: 'number'
       
 13398   },
       
 13399   imageCrop: {
       
 13400     type: 'boolean',
       
 13401     default: true
       
 13402   },
       
 13403   linkTo: {
       
 13404     type: 'string',
       
 13405     default: 'none'
       
 13406   }
       
 13407 };
       
 13408 var gallery_name = 'core/gallery';
       
 13409 
       
 13410 var parseShortcodeIds = function parseShortcodeIds(ids) {
       
 13411   if (!ids) {
       
 13412     return [];
       
 13413   }
       
 13414 
       
 13415   return ids.split(',').map(function (id) {
       
 13416     return parseInt(id, 10);
       
 13417   });
       
 13418 };
       
 13419 
       
 13420 var settings = {
       
 13421   title: Object(external_this_wp_i18n_["__"])('Gallery'),
       
 13422   description: Object(external_this_wp_i18n_["__"])('Display multiple images in a rich gallery.'),
       
 13423   icon: icon,
       
 13424   category: 'common',
       
 13425   keywords: [Object(external_this_wp_i18n_["__"])('images'), Object(external_this_wp_i18n_["__"])('photos')],
       
 13426   attributes: blockAttributes,
       
 13427   supports: {
       
 13428     align: true
       
 13429   },
       
 13430   transforms: {
       
 13431     from: [{
       
 13432       type: 'block',
       
 13433       isMultiBlock: true,
       
 13434       blocks: ['core/image'],
       
 13435       transform: function transform(attributes) {
       
 13436         // Init the align attribute from the first item which may be either the placeholder or an image.
       
 13437         var align = attributes[0].align; // Loop through all the images and check if they have the same align.
       
 13438 
       
 13439         align = Object(external_lodash_["every"])(attributes, ['align', align]) ? align : undefined;
       
 13440         var validImages = Object(external_lodash_["filter"])(attributes, function (_ref) {
       
 13441           var id = _ref.id,
       
 13442               url = _ref.url;
       
 13443           return id && url;
       
 13444         });
       
 13445         return Object(external_this_wp_blocks_["createBlock"])('core/gallery', {
       
 13446           images: validImages.map(function (_ref2) {
       
 13447             var id = _ref2.id,
       
 13448                 url = _ref2.url,
       
 13449                 alt = _ref2.alt,
       
 13450                 caption = _ref2.caption;
       
 13451             return {
       
 13452               id: id,
       
 13453               url: url,
       
 13454               alt: alt,
       
 13455               caption: caption
       
 13456             };
       
 13457           }),
       
 13458           ids: validImages.map(function (_ref3) {
       
 13459             var id = _ref3.id;
       
 13460             return id;
       
 13461           }),
       
 13462           align: align
       
 13463         });
       
 13464       }
       
 13465     }, {
       
 13466       type: 'shortcode',
       
 13467       tag: 'gallery',
       
 13468       attributes: {
       
 13469         images: {
       
 13470           type: 'array',
       
 13471           shortcode: function shortcode(_ref4) {
       
 13472             var ids = _ref4.named.ids;
       
 13473             return parseShortcodeIds(ids).map(function (id) {
       
 13474               return {
       
 13475                 id: id
       
 13476               };
       
 13477             });
       
 13478           }
       
 13479         },
       
 13480         ids: {
       
 13481           type: 'array',
       
 13482           shortcode: function shortcode(_ref5) {
       
 13483             var ids = _ref5.named.ids;
       
 13484             return parseShortcodeIds(ids);
       
 13485           }
       
 13486         },
       
 13487         columns: {
       
 13488           type: 'number',
       
 13489           shortcode: function shortcode(_ref6) {
       
 13490             var _ref6$named$columns = _ref6.named.columns,
       
 13491                 columns = _ref6$named$columns === void 0 ? '3' : _ref6$named$columns;
       
 13492             return parseInt(columns, 10);
       
 13493           }
       
 13494         },
       
 13495         linkTo: {
       
 13496           type: 'string',
       
 13497           shortcode: function shortcode(_ref7) {
       
 13498             var _ref7$named$link = _ref7.named.link,
       
 13499                 link = _ref7$named$link === void 0 ? 'attachment' : _ref7$named$link;
       
 13500             return link === 'file' ? 'media' : link;
       
 13501           }
       
 13502         }
       
 13503       }
       
 13504     }, {
       
 13505       // When created by drag and dropping multiple files on an insertion point
       
 13506       type: 'files',
       
 13507       isMatch: function isMatch(files) {
       
 13508         return files.length !== 1 && Object(external_lodash_["every"])(files, function (file) {
       
 13509           return file.type.indexOf('image/') === 0;
       
 13510         });
       
 13511       },
       
 13512       transform: function transform(files, onChange) {
       
 13513         var block = Object(external_this_wp_blocks_["createBlock"])('core/gallery', {
       
 13514           images: files.map(function (file) {
       
 13515             return edit_pickRelevantMediaFiles({
       
 13516               url: Object(external_this_wp_blob_["createBlobURL"])(file)
       
 13517             });
       
 13518           })
       
 13519         });
       
 13520         Object(external_this_wp_editor_["mediaUpload"])({
       
 13521           filesList: files,
       
 13522           onFileChange: function onFileChange(images) {
       
 13523             var imagesAttr = images.map(edit_pickRelevantMediaFiles);
       
 13524             onChange(block.clientId, {
       
 13525               ids: Object(external_lodash_["map"])(imagesAttr, 'id'),
       
 13526               images: imagesAttr
       
 13527             });
       
 13528           },
       
 13529           allowedTypes: ['image']
       
 13530         });
       
 13531         return block;
       
 13532       }
       
 13533     }],
       
 13534     to: [{
       
 13535       type: 'block',
       
 13536       blocks: ['core/image'],
       
 13537       transform: function transform(_ref8) {
       
 13538         var images = _ref8.images,
       
 13539             align = _ref8.align;
       
 13540 
       
 13541         if (images.length > 0) {
       
 13542           return images.map(function (_ref9) {
       
 13543             var id = _ref9.id,
       
 13544                 url = _ref9.url,
       
 13545                 alt = _ref9.alt,
       
 13546                 caption = _ref9.caption;
       
 13547             return Object(external_this_wp_blocks_["createBlock"])('core/image', {
       
 13548               id: id,
       
 13549               url: url,
       
 13550               alt: alt,
       
 13551               caption: caption,
       
 13552               align: align
       
 13553             });
       
 13554           });
       
 13555         }
       
 13556 
       
 13557         return Object(external_this_wp_blocks_["createBlock"])('core/image', {
       
 13558           align: align
       
 13559         });
       
 13560       }
       
 13561     }]
       
 13562   },
       
 13563   edit: edit,
       
 13564   save: function save(_ref10) {
       
 13565     var attributes = _ref10.attributes;
       
 13566     var images = attributes.images,
       
 13567         _attributes$columns = attributes.columns,
       
 13568         columns = _attributes$columns === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns,
       
 13569         imageCrop = attributes.imageCrop,
       
 13570         linkTo = attributes.linkTo;
       
 13571     return Object(external_this_wp_element_["createElement"])("ul", {
       
 13572       className: "columns-".concat(columns, " ").concat(imageCrop ? 'is-cropped' : '')
       
 13573     }, images.map(function (image) {
       
 13574       var href;
       
 13575 
       
 13576       switch (linkTo) {
       
 13577         case 'media':
       
 13578           href = image.url;
       
 13579           break;
       
 13580 
       
 13581         case 'attachment':
       
 13582           href = image.link;
       
 13583           break;
       
 13584       }
       
 13585 
       
 13586       var img = Object(external_this_wp_element_["createElement"])("img", {
       
 13587         src: image.url,
       
 13588         alt: image.alt,
       
 13589         "data-id": image.id,
       
 13590         "data-link": image.link,
       
 13591         className: image.id ? "wp-image-".concat(image.id) : null
       
 13592       });
       
 13593       return Object(external_this_wp_element_["createElement"])("li", {
       
 13594         key: image.id || image.url,
       
 13595         className: "blocks-gallery-item"
       
 13596       }, Object(external_this_wp_element_["createElement"])("figure", null, href ? Object(external_this_wp_element_["createElement"])("a", {
       
 13597         href: href
       
 13598       }, img) : img, image.caption && image.caption.length > 0 && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 13599         tagName: "figcaption",
       
 13600         value: image.caption
       
 13601       })));
       
 13602     }));
       
 13603   },
       
 13604   deprecated: [{
       
 13605     attributes: blockAttributes,
       
 13606     isEligible: function isEligible(_ref11) {
       
 13607       var images = _ref11.images,
       
 13608           ids = _ref11.ids;
       
 13609       return images && images.length > 0 && (!ids && images || ids && images && ids.length !== images.length || Object(external_lodash_["some"])(images, function (id, index) {
       
 13610         if (!id && ids[index] !== null) {
       
 13611           return true;
       
 13612         }
       
 13613 
       
 13614         return parseInt(id, 10) !== ids[index];
       
 13615       }));
       
 13616     },
       
 13617     migrate: function migrate(attributes) {
       
 13618       return Object(objectSpread["a" /* default */])({}, attributes, {
       
 13619         ids: Object(external_lodash_["map"])(attributes.images, function (_ref12) {
       
 13620           var id = _ref12.id;
       
 13621 
       
 13622           if (!id) {
       
 13623             return null;
       
 13624           }
       
 13625 
       
 13626           return parseInt(id, 10);
       
 13627         })
       
 13628       });
       
 13629     },
       
 13630     save: function save(_ref13) {
       
 13631       var attributes = _ref13.attributes;
       
 13632       var images = attributes.images,
       
 13633           _attributes$columns2 = attributes.columns,
       
 13634           columns = _attributes$columns2 === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns2,
       
 13635           imageCrop = attributes.imageCrop,
       
 13636           linkTo = attributes.linkTo;
       
 13637       return Object(external_this_wp_element_["createElement"])("ul", {
       
 13638         className: "columns-".concat(columns, " ").concat(imageCrop ? 'is-cropped' : '')
       
 13639       }, images.map(function (image) {
       
 13640         var href;
       
 13641 
       
 13642         switch (linkTo) {
       
 13643           case 'media':
       
 13644             href = image.url;
       
 13645             break;
       
 13646 
       
 13647           case 'attachment':
       
 13648             href = image.link;
       
 13649             break;
       
 13650         }
       
 13651 
       
 13652         var img = Object(external_this_wp_element_["createElement"])("img", {
       
 13653           src: image.url,
       
 13654           alt: image.alt,
       
 13655           "data-id": image.id,
       
 13656           "data-link": image.link,
       
 13657           className: image.id ? "wp-image-".concat(image.id) : null
       
 13658         });
       
 13659         return Object(external_this_wp_element_["createElement"])("li", {
       
 13660           key: image.id || image.url,
       
 13661           className: "blocks-gallery-item"
       
 13662         }, Object(external_this_wp_element_["createElement"])("figure", null, href ? Object(external_this_wp_element_["createElement"])("a", {
       
 13663           href: href
       
 13664         }, img) : img, image.caption && image.caption.length > 0 && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 13665           tagName: "figcaption",
       
 13666           value: image.caption
       
 13667         })));
       
 13668       }));
       
 13669     }
       
 13670   }, {
       
 13671     attributes: blockAttributes,
       
 13672     save: function save(_ref14) {
       
 13673       var attributes = _ref14.attributes;
       
 13674       var images = attributes.images,
       
 13675           _attributes$columns3 = attributes.columns,
       
 13676           columns = _attributes$columns3 === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns3,
       
 13677           imageCrop = attributes.imageCrop,
       
 13678           linkTo = attributes.linkTo;
       
 13679       return Object(external_this_wp_element_["createElement"])("ul", {
       
 13680         className: "columns-".concat(columns, " ").concat(imageCrop ? 'is-cropped' : '')
       
 13681       }, images.map(function (image) {
       
 13682         var href;
       
 13683 
       
 13684         switch (linkTo) {
       
 13685           case 'media':
       
 13686             href = image.url;
       
 13687             break;
       
 13688 
       
 13689           case 'attachment':
       
 13690             href = image.link;
       
 13691             break;
       
 13692         }
       
 13693 
       
 13694         var img = Object(external_this_wp_element_["createElement"])("img", {
       
 13695           src: image.url,
       
 13696           alt: image.alt,
       
 13697           "data-id": image.id,
       
 13698           "data-link": image.link
       
 13699         });
       
 13700         return Object(external_this_wp_element_["createElement"])("li", {
       
 13701           key: image.id || image.url,
       
 13702           className: "blocks-gallery-item"
       
 13703         }, Object(external_this_wp_element_["createElement"])("figure", null, href ? Object(external_this_wp_element_["createElement"])("a", {
       
 13704           href: href
       
 13705         }, img) : img, image.caption && image.caption.length > 0 && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 13706           tagName: "figcaption",
       
 13707           value: image.caption
       
 13708         })));
       
 13709       }));
       
 13710     }
       
 13711   }, {
       
 13712     attributes: Object(objectSpread["a" /* default */])({}, blockAttributes, {
       
 13713       images: Object(objectSpread["a" /* default */])({}, blockAttributes.images, {
       
 13714         selector: 'div.wp-block-gallery figure.blocks-gallery-image img'
       
 13715       }),
       
 13716       align: {
       
 13717         type: 'string',
       
 13718         default: 'none'
       
 13719       }
       
 13720     }),
       
 13721     save: function save(_ref15) {
       
 13722       var attributes = _ref15.attributes;
       
 13723       var images = attributes.images,
       
 13724           _attributes$columns4 = attributes.columns,
       
 13725           columns = _attributes$columns4 === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns4,
       
 13726           align = attributes.align,
       
 13727           imageCrop = attributes.imageCrop,
       
 13728           linkTo = attributes.linkTo;
       
 13729       return Object(external_this_wp_element_["createElement"])("div", {
       
 13730         className: "align".concat(align, " columns-").concat(columns, " ").concat(imageCrop ? 'is-cropped' : '')
       
 13731       }, images.map(function (image) {
       
 13732         var href;
       
 13733 
       
 13734         switch (linkTo) {
       
 13735           case 'media':
       
 13736             href = image.url;
       
 13737             break;
       
 13738 
       
 13739           case 'attachment':
       
 13740             href = image.link;
       
 13741             break;
       
 13742         }
       
 13743 
       
 13744         var img = Object(external_this_wp_element_["createElement"])("img", {
       
 13745           src: image.url,
       
 13746           alt: image.alt,
       
 13747           "data-id": image.id
       
 13748         });
       
 13749         return Object(external_this_wp_element_["createElement"])("figure", {
       
 13750           key: image.id || image.url,
       
 13751           className: "blocks-gallery-image"
       
 13752         }, href ? Object(external_this_wp_element_["createElement"])("a", {
       
 13753           href: href
       
 13754         }, img) : img);
       
 13755       }));
       
 13756     }
       
 13757   }]
       
 13758 };
       
 13759 
       
 13760 
       
 13761 /***/ }),
       
 13762 /* 235 */
       
 13763 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
 13764 
       
 13765 "use strict";
       
 13766 __webpack_require__.r(__webpack_exports__);
       
 13767 
       
 13768 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules
       
 13769 var objectWithoutProperties = __webpack_require__(21);
       
 13770 
       
 13771 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
       
 13772 var objectSpread = __webpack_require__(7);
       
 13773 
       
 13774 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
       
 13775 var toConsumableArray = __webpack_require__(17);
       
 13776 
       
 13777 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
 13778 var external_this_wp_element_ = __webpack_require__(0);
       
 13779 
       
 13780 // EXTERNAL MODULE: external "lodash"
       
 13781 var external_lodash_ = __webpack_require__(2);
       
 13782 
       
 13783 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
 13784 var external_this_wp_i18n_ = __webpack_require__(1);
       
 13785 
       
 13786 // EXTERNAL MODULE: external {"this":["wp","blocks"]}
       
 13787 var external_this_wp_blocks_ = __webpack_require__(14);
       
 13788 
       
 13789 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
       
 13790 var external_this_wp_blockEditor_ = __webpack_require__(8);
       
 13791 
       
 13792 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
 13793 var external_this_wp_components_ = __webpack_require__(4);
       
 13794 
       
 13795 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
 13796 var classCallCheck = __webpack_require__(10);
       
 13797 
       
 13798 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
 13799 var createClass = __webpack_require__(9);
       
 13800 
       
 13801 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
 13802 var possibleConstructorReturn = __webpack_require__(11);
       
 13803 
       
 13804 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
 13805 var getPrototypeOf = __webpack_require__(12);
       
 13806 
       
 13807 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
 13808 var inherits = __webpack_require__(13);
       
 13809 
       
 13810 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/heading-toolbar.js
       
 13811 
       
 13812 
       
 13813 
       
 13814 
       
 13815 
       
 13816 
       
 13817 
       
 13818 /**
       
 13819  * External dependencies
       
 13820  */
       
 13821 
       
 13822 /**
       
 13823  * WordPress dependencies
       
 13824  */
       
 13825 
       
 13826 
       
 13827 
       
 13828 
       
 13829 
       
 13830 var heading_toolbar_HeadingToolbar =
       
 13831 /*#__PURE__*/
       
 13832 function (_Component) {
       
 13833   Object(inherits["a" /* default */])(HeadingToolbar, _Component);
       
 13834 
       
 13835   function HeadingToolbar() {
       
 13836     Object(classCallCheck["a" /* default */])(this, HeadingToolbar);
       
 13837 
       
 13838     return Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(HeadingToolbar).apply(this, arguments));
       
 13839   }
       
 13840 
       
 13841   Object(createClass["a" /* default */])(HeadingToolbar, [{
       
 13842     key: "createLevelControl",
       
 13843     value: function createLevelControl(targetLevel, selectedLevel, onChange) {
       
 13844       return {
       
 13845         icon: 'heading',
       
 13846         // translators: %s: heading level e.g: "1", "2", "3"
       
 13847         title: Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Heading %d'), targetLevel),
       
 13848         isActive: targetLevel === selectedLevel,
       
 13849         onClick: function onClick() {
       
 13850           return onChange(targetLevel);
       
 13851         },
       
 13852         subscript: String(targetLevel)
       
 13853       };
       
 13854     }
       
 13855   }, {
       
 13856     key: "render",
       
 13857     value: function render() {
       
 13858       var _this = this;
       
 13859 
       
 13860       var _this$props = this.props,
       
 13861           minLevel = _this$props.minLevel,
       
 13862           maxLevel = _this$props.maxLevel,
       
 13863           selectedLevel = _this$props.selectedLevel,
       
 13864           onChange = _this$props.onChange;
       
 13865       return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], {
       
 13866         controls: Object(external_lodash_["range"])(minLevel, maxLevel).map(function (index) {
       
 13867           return _this.createLevelControl(index, selectedLevel, onChange);
       
 13868         })
       
 13869       });
       
 13870     }
       
 13871   }]);
       
 13872 
       
 13873   return HeadingToolbar;
       
 13874 }(external_this_wp_element_["Component"]);
       
 13875 
       
 13876 /* harmony default export */ var heading_toolbar = (heading_toolbar_HeadingToolbar);
       
 13877 
       
 13878 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/edit.js
       
 13879 
       
 13880 
       
 13881 /**
       
 13882  * Internal dependencies
       
 13883  */
       
 13884 
       
 13885 /**
       
 13886  * WordPress dependencies
       
 13887  */
       
 13888 
       
 13889 
       
 13890 
       
 13891 
       
 13892 
       
 13893 
       
 13894 function HeadingEdit(_ref) {
       
 13895   var attributes = _ref.attributes,
       
 13896       setAttributes = _ref.setAttributes,
       
 13897       mergeBlocks = _ref.mergeBlocks,
       
 13898       insertBlocksAfter = _ref.insertBlocksAfter,
       
 13899       onReplace = _ref.onReplace,
       
 13900       className = _ref.className;
       
 13901   var align = attributes.align,
       
 13902       content = attributes.content,
       
 13903       level = attributes.level,
       
 13904       placeholder = attributes.placeholder;
       
 13905   var tagName = 'h' + level;
       
 13906   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(heading_toolbar, {
       
 13907     minLevel: 2,
       
 13908     maxLevel: 5,
       
 13909     selectedLevel: level,
       
 13910     onChange: function onChange(newLevel) {
       
 13911       return setAttributes({
       
 13912         level: newLevel
       
 13913       });
       
 13914     }
       
 13915   })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 13916     title: Object(external_this_wp_i18n_["__"])('Heading Settings')
       
 13917   }, Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_i18n_["__"])('Level')), Object(external_this_wp_element_["createElement"])(heading_toolbar, {
       
 13918     minLevel: 1,
       
 13919     maxLevel: 7,
       
 13920     selectedLevel: level,
       
 13921     onChange: function onChange(newLevel) {
       
 13922       return setAttributes({
       
 13923         level: newLevel
       
 13924       });
       
 13925     }
       
 13926   }), Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_i18n_["__"])('Text Alignment')), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["AlignmentToolbar"], {
       
 13927     value: align,
       
 13928     onChange: function onChange(nextAlign) {
       
 13929       setAttributes({
       
 13930         align: nextAlign
       
 13931       });
       
 13932     }
       
 13933   }))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 13934     identifier: "content",
       
 13935     wrapperClassName: "wp-block-heading",
       
 13936     tagName: tagName,
       
 13937     value: content,
       
 13938     onChange: function onChange(value) {
       
 13939       return setAttributes({
       
 13940         content: value
       
 13941       });
       
 13942     },
       
 13943     onMerge: mergeBlocks,
       
 13944     unstableOnSplit: insertBlocksAfter ? function (before, after) {
       
 13945       setAttributes({
       
 13946         content: before
       
 13947       });
       
 13948 
       
 13949       for (var _len = arguments.length, blocks = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
       
 13950         blocks[_key - 2] = arguments[_key];
       
 13951       }
       
 13952 
       
 13953       insertBlocksAfter([].concat(blocks, [Object(external_this_wp_blocks_["createBlock"])('core/paragraph', {
       
 13954         content: after
       
 13955       })]));
       
 13956     } : undefined,
       
 13957     onRemove: function onRemove() {
       
 13958       return onReplace([]);
       
 13959     },
       
 13960     style: {
       
 13961       textAlign: align
       
 13962     },
       
 13963     className: className,
       
 13964     placeholder: placeholder || Object(external_this_wp_i18n_["__"])('Write heading…')
       
 13965   }));
       
 13966 }
       
 13967 
       
 13968 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/index.js
       
 13969 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getLevelFromHeadingNodeName", function() { return getLevelFromHeadingNodeName; });
       
 13970 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return heading_name; });
       
 13971 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
 13972 
       
 13973 
       
 13974 
       
 13975 
       
 13976 
       
 13977 /**
       
 13978  * External dependencies
       
 13979  */
       
 13980 
       
 13981 /**
       
 13982  * WordPress dependencies
       
 13983  */
       
 13984 
       
 13985 
       
 13986 
       
 13987 
       
 13988 
       
 13989 /**
       
 13990  * Internal dependencies
       
 13991  */
       
 13992 
       
 13993 
       
 13994 /**
       
 13995  * Given a node name string for a heading node, returns its numeric level.
       
 13996  *
       
 13997  * @param {string} nodeName Heading node name.
       
 13998  *
       
 13999  * @return {number} Heading level.
       
 14000  */
       
 14001 
       
 14002 function getLevelFromHeadingNodeName(nodeName) {
       
 14003   return Number(nodeName.substr(1));
       
 14004 }
       
 14005 var supports = {
       
 14006   className: false,
       
 14007   anchor: true
       
 14008 };
       
 14009 var schema = {
       
 14010   content: {
       
 14011     type: 'string',
       
 14012     source: 'html',
       
 14013     selector: 'h1,h2,h3,h4,h5,h6',
       
 14014     default: ''
       
 14015   },
       
 14016   level: {
       
 14017     type: 'number',
       
 14018     default: 2
       
 14019   },
       
 14020   align: {
       
 14021     type: 'string'
       
 14022   },
       
 14023   placeholder: {
       
 14024     type: 'string'
       
 14025   }
       
 14026 };
       
 14027 var heading_name = 'core/heading';
       
 14028 var settings = {
       
 14029   title: Object(external_this_wp_i18n_["__"])('Heading'),
       
 14030   description: Object(external_this_wp_i18n_["__"])('Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.'),
       
 14031   icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
 14032     xmlns: "http://www.w3.org/2000/svg",
       
 14033     viewBox: "0 0 24 24"
       
 14034   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 14035     d: "M5 4v3h5.5v12h3V7H19V4z"
       
 14036   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 14037     fill: "none",
       
 14038     d: "M0 0h24v24H0V0z"
       
 14039   })),
       
 14040   category: 'common',
       
 14041   keywords: [Object(external_this_wp_i18n_["__"])('title'), Object(external_this_wp_i18n_["__"])('subtitle')],
       
 14042   supports: supports,
       
 14043   attributes: schema,
       
 14044   transforms: {
       
 14045     from: [{
       
 14046       type: 'block',
       
 14047       blocks: ['core/paragraph'],
       
 14048       transform: function transform(_ref) {
       
 14049         var content = _ref.content;
       
 14050         return Object(external_this_wp_blocks_["createBlock"])('core/heading', {
       
 14051           content: content
       
 14052         });
       
 14053       }
       
 14054     }, {
       
 14055       type: 'raw',
       
 14056       selector: 'h1,h2,h3,h4,h5,h6',
       
 14057       schema: {
       
 14058         h1: {
       
 14059           children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])()
       
 14060         },
       
 14061         h2: {
       
 14062           children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])()
       
 14063         },
       
 14064         h3: {
       
 14065           children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])()
       
 14066         },
       
 14067         h4: {
       
 14068           children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])()
       
 14069         },
       
 14070         h5: {
       
 14071           children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])()
       
 14072         },
       
 14073         h6: {
       
 14074           children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])()
       
 14075         }
       
 14076       },
       
 14077       transform: function transform(node) {
       
 14078         return Object(external_this_wp_blocks_["createBlock"])('core/heading', Object(objectSpread["a" /* default */])({}, Object(external_this_wp_blocks_["getBlockAttributes"])('core/heading', node.outerHTML), {
       
 14079           level: getLevelFromHeadingNodeName(node.nodeName)
       
 14080         }));
       
 14081       }
       
 14082     }].concat(Object(toConsumableArray["a" /* default */])([2, 3, 4, 5, 6].map(function (level) {
       
 14083       return {
       
 14084         type: 'prefix',
       
 14085         prefix: Array(level + 1).join('#'),
       
 14086         transform: function transform(content) {
       
 14087           return Object(external_this_wp_blocks_["createBlock"])('core/heading', {
       
 14088             level: level,
       
 14089             content: content
       
 14090           });
       
 14091         }
       
 14092       };
       
 14093     }))),
       
 14094     to: [{
       
 14095       type: 'block',
       
 14096       blocks: ['core/paragraph'],
       
 14097       transform: function transform(_ref2) {
       
 14098         var content = _ref2.content;
       
 14099         return Object(external_this_wp_blocks_["createBlock"])('core/paragraph', {
       
 14100           content: content
       
 14101         });
       
 14102       }
       
 14103     }]
       
 14104   },
       
 14105   deprecated: [{
       
 14106     supports: supports,
       
 14107     attributes: Object(objectSpread["a" /* default */])({}, Object(external_lodash_["omit"])(schema, ['level']), {
       
 14108       nodeName: {
       
 14109         type: 'string',
       
 14110         source: 'property',
       
 14111         selector: 'h1,h2,h3,h4,h5,h6',
       
 14112         property: 'nodeName',
       
 14113         default: 'H2'
       
 14114       }
       
 14115     }),
       
 14116     migrate: function migrate(attributes) {
       
 14117       var nodeName = attributes.nodeName,
       
 14118           migratedAttributes = Object(objectWithoutProperties["a" /* default */])(attributes, ["nodeName"]);
       
 14119 
       
 14120       return Object(objectSpread["a" /* default */])({}, migratedAttributes, {
       
 14121         level: getLevelFromHeadingNodeName(nodeName)
       
 14122       });
       
 14123     },
       
 14124     save: function save(_ref3) {
       
 14125       var attributes = _ref3.attributes;
       
 14126       var align = attributes.align,
       
 14127           nodeName = attributes.nodeName,
       
 14128           content = attributes.content;
       
 14129       return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 14130         tagName: nodeName.toLowerCase(),
       
 14131         style: {
       
 14132           textAlign: align
       
 14133         },
       
 14134         value: content
       
 14135       });
       
 14136     }
       
 14137   }],
       
 14138   merge: function merge(attributes, attributesToMerge) {
       
 14139     return {
       
 14140       content: (attributes.content || '') + (attributesToMerge.content || '')
       
 14141     };
       
 14142   },
       
 14143   edit: HeadingEdit,
       
 14144   save: function save(_ref4) {
       
 14145     var attributes = _ref4.attributes;
       
 14146     var align = attributes.align,
       
 14147         level = attributes.level,
       
 14148         content = attributes.content;
       
 14149     var tagName = 'h' + level;
       
 14150     return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 14151       tagName: tagName,
       
 14152       style: {
       
 14153         textAlign: align
       
 14154       },
       
 14155       value: content
       
 14156     });
       
 14157   }
       
 14158 };
       
 14159 
       
 14160 
       
 14161 /***/ }),
       
 14162 /* 236 */
       
 14163 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
 14164 
       
 14165 "use strict";
       
 14166 __webpack_require__.r(__webpack_exports__);
       
 14167 
       
 14168 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
 14169 var external_this_wp_element_ = __webpack_require__(0);
       
 14170 
       
 14171 // EXTERNAL MODULE: external {"this":["wp","blob"]}
       
 14172 var external_this_wp_blob_ = __webpack_require__(35);
       
 14173 
       
 14174 // EXTERNAL MODULE: external {"this":["wp","blocks"]}
       
 14175 var external_this_wp_blocks_ = __webpack_require__(14);
       
 14176 
       
 14177 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
       
 14178 var external_this_wp_blockEditor_ = __webpack_require__(8);
       
 14179 
       
 14180 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
 14181 var external_this_wp_i18n_ = __webpack_require__(1);
       
 14182 
       
 14183 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
       
 14184 var defineProperty = __webpack_require__(15);
       
 14185 
       
 14186 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
       
 14187 var slicedToArray = __webpack_require__(28);
       
 14188 
       
 14189 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
 14190 var classCallCheck = __webpack_require__(10);
       
 14191 
       
 14192 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
 14193 var createClass = __webpack_require__(9);
       
 14194 
       
 14195 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
 14196 var possibleConstructorReturn = __webpack_require__(11);
       
 14197 
       
 14198 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
 14199 var getPrototypeOf = __webpack_require__(12);
       
 14200 
       
 14201 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
 14202 var inherits = __webpack_require__(13);
       
 14203 
       
 14204 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
       
 14205 var assertThisInitialized = __webpack_require__(3);
       
 14206 
       
 14207 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
 14208 var external_this_wp_components_ = __webpack_require__(4);
       
 14209 
       
 14210 // EXTERNAL MODULE: external {"this":["wp","editor"]}
       
 14211 var external_this_wp_editor_ = __webpack_require__(22);
       
 14212 
       
 14213 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/icon.js
       
 14214 
       
 14215 
       
 14216 /**
       
 14217  * WordPress dependencies
       
 14218  */
       
 14219 
       
 14220 /* harmony default export */ var icon = (Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
 14221   viewBox: "0 0 24 24",
       
 14222   xmlns: "http://www.w3.org/2000/svg"
       
 14223 }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 14224   d: "M0,0h24v24H0V0z",
       
 14225   fill: "none"
       
 14226 }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 14227   d: "m12 3l0.01 10.55c-0.59-0.34-1.27-0.55-2-0.55-2.22 0-4.01 1.79-4.01 4s1.79 4 4.01 4 3.99-1.79 3.99-4v-10h4v-4h-6zm-1.99 16c-1.1 0-2-0.9-2-2s0.9-2 2-2 2 0.9 2 2-0.9 2-2 2z"
       
 14228 })));
       
 14229 
       
 14230 // EXTERNAL MODULE: ./node_modules/@wordpress/block-library/build-module/embed/util.js
       
 14231 var util = __webpack_require__(53);
       
 14232 
       
 14233 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/edit.js
       
 14234 
       
 14235 
       
 14236 
       
 14237 
       
 14238 
       
 14239 
       
 14240 
       
 14241 
       
 14242 
       
 14243 
       
 14244 /**
       
 14245  * WordPress dependencies
       
 14246  */
       
 14247 
       
 14248 
       
 14249 
       
 14250 
       
 14251 
       
 14252 
       
 14253 /**
       
 14254  * Internal dependencies
       
 14255  */
       
 14256 
       
 14257 
       
 14258 /**
       
 14259  * Internal dependencies
       
 14260  */
       
 14261 
       
 14262 
       
 14263 var ALLOWED_MEDIA_TYPES = ['audio'];
       
 14264 
       
 14265 var edit_AudioEdit =
       
 14266 /*#__PURE__*/
       
 14267 function (_Component) {
       
 14268   Object(inherits["a" /* default */])(AudioEdit, _Component);
       
 14269 
       
 14270   function AudioEdit() {
       
 14271     var _this;
       
 14272 
       
 14273     Object(classCallCheck["a" /* default */])(this, AudioEdit);
       
 14274 
       
 14275     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(AudioEdit).apply(this, arguments)); // edit component has its own src in the state so it can be edited
       
 14276     // without setting the actual value outside of the edit UI
       
 14277 
       
 14278     _this.state = {
       
 14279       editing: !_this.props.attributes.src
       
 14280     };
       
 14281     _this.toggleAttribute = _this.toggleAttribute.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 14282     _this.onSelectURL = _this.onSelectURL.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 14283     return _this;
       
 14284   }
       
 14285 
       
 14286   Object(createClass["a" /* default */])(AudioEdit, [{
       
 14287     key: "componentDidMount",
       
 14288     value: function componentDidMount() {
       
 14289       var _this2 = this;
       
 14290 
       
 14291       var _this$props = this.props,
       
 14292           attributes = _this$props.attributes,
       
 14293           noticeOperations = _this$props.noticeOperations,
       
 14294           setAttributes = _this$props.setAttributes;
       
 14295       var id = attributes.id,
       
 14296           _attributes$src = attributes.src,
       
 14297           src = _attributes$src === void 0 ? '' : _attributes$src;
       
 14298 
       
 14299       if (!id && Object(external_this_wp_blob_["isBlobURL"])(src)) {
       
 14300         var file = Object(external_this_wp_blob_["getBlobByURL"])(src);
       
 14301 
       
 14302         if (file) {
       
 14303           Object(external_this_wp_editor_["mediaUpload"])({
       
 14304             filesList: [file],
       
 14305             onFileChange: function onFileChange(_ref) {
       
 14306               var _ref2 = Object(slicedToArray["a" /* default */])(_ref, 1),
       
 14307                   _ref2$ = _ref2[0],
       
 14308                   mediaId = _ref2$.id,
       
 14309                   url = _ref2$.url;
       
 14310 
       
 14311               setAttributes({
       
 14312                 id: mediaId,
       
 14313                 src: url
       
 14314               });
       
 14315             },
       
 14316             onError: function onError(e) {
       
 14317               setAttributes({
       
 14318                 src: undefined,
       
 14319                 id: undefined
       
 14320               });
       
 14321 
       
 14322               _this2.setState({
       
 14323                 editing: true
       
 14324               });
       
 14325 
       
 14326               noticeOperations.createErrorNotice(e);
       
 14327             },
       
 14328             allowedTypes: ALLOWED_MEDIA_TYPES
       
 14329           });
       
 14330         }
       
 14331       }
       
 14332     }
       
 14333   }, {
       
 14334     key: "toggleAttribute",
       
 14335     value: function toggleAttribute(attribute) {
       
 14336       var _this3 = this;
       
 14337 
       
 14338       return function (newValue) {
       
 14339         _this3.props.setAttributes(Object(defineProperty["a" /* default */])({}, attribute, newValue));
       
 14340       };
       
 14341     }
       
 14342   }, {
       
 14343     key: "onSelectURL",
       
 14344     value: function onSelectURL(newSrc) {
       
 14345       var _this$props2 = this.props,
       
 14346           attributes = _this$props2.attributes,
       
 14347           setAttributes = _this$props2.setAttributes;
       
 14348       var src = attributes.src; // Set the block's src from the edit component's state, and switch off
       
 14349       // the editing UI.
       
 14350 
       
 14351       if (newSrc !== src) {
       
 14352         // Check if there's an embed block that handles this URL.
       
 14353         var embedBlock = Object(util["a" /* createUpgradedEmbedBlock */])({
       
 14354           attributes: {
       
 14355             url: newSrc
       
 14356           }
       
 14357         });
       
 14358 
       
 14359         if (undefined !== embedBlock) {
       
 14360           this.props.onReplace(embedBlock);
       
 14361           return;
       
 14362         }
       
 14363 
       
 14364         setAttributes({
       
 14365           src: newSrc,
       
 14366           id: undefined
       
 14367         });
       
 14368       }
       
 14369 
       
 14370       this.setState({
       
 14371         editing: false
       
 14372       });
       
 14373     }
       
 14374   }, {
       
 14375     key: "render",
       
 14376     value: function render() {
       
 14377       var _this4 = this;
       
 14378 
       
 14379       var _this$props$attribute = this.props.attributes,
       
 14380           autoplay = _this$props$attribute.autoplay,
       
 14381           caption = _this$props$attribute.caption,
       
 14382           loop = _this$props$attribute.loop,
       
 14383           preload = _this$props$attribute.preload,
       
 14384           src = _this$props$attribute.src;
       
 14385       var _this$props3 = this.props,
       
 14386           setAttributes = _this$props3.setAttributes,
       
 14387           isSelected = _this$props3.isSelected,
       
 14388           className = _this$props3.className,
       
 14389           noticeOperations = _this$props3.noticeOperations,
       
 14390           noticeUI = _this$props3.noticeUI;
       
 14391       var editing = this.state.editing;
       
 14392 
       
 14393       var switchToEditing = function switchToEditing() {
       
 14394         _this4.setState({
       
 14395           editing: true
       
 14396         });
       
 14397       };
       
 14398 
       
 14399       var onSelectAudio = function onSelectAudio(media) {
       
 14400         if (!media || !media.url) {
       
 14401           // in this case there was an error and we should continue in the editing state
       
 14402           // previous attributes should be removed because they may be temporary blob urls
       
 14403           setAttributes({
       
 14404             src: undefined,
       
 14405             id: undefined
       
 14406           });
       
 14407           switchToEditing();
       
 14408           return;
       
 14409         } // sets the block's attribute and updates the edit component from the
       
 14410         // selected media, then switches off the editing UI
       
 14411 
       
 14412 
       
 14413         setAttributes({
       
 14414           src: media.url,
       
 14415           id: media.id
       
 14416         });
       
 14417 
       
 14418         _this4.setState({
       
 14419           src: media.url,
       
 14420           editing: false
       
 14421         });
       
 14422       };
       
 14423 
       
 14424       if (editing) {
       
 14425         return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaPlaceholder"], {
       
 14426           icon: Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], {
       
 14427             icon: icon
       
 14428           }),
       
 14429           className: className,
       
 14430           onSelect: onSelectAudio,
       
 14431           onSelectURL: this.onSelectURL,
       
 14432           accept: "audio/*",
       
 14433           allowedTypes: ALLOWED_MEDIA_TYPES,
       
 14434           value: this.props.attributes,
       
 14435           notices: noticeUI,
       
 14436           onError: noticeOperations.createErrorNotice
       
 14437         });
       
 14438       }
       
 14439       /* eslint-disable jsx-a11y/no-static-element-interactions, jsx-a11y/onclick-has-role, jsx-a11y/click-events-have-key-events */
       
 14440 
       
 14441 
       
 14442       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], {
       
 14443         className: "components-icon-button components-toolbar__control",
       
 14444         label: Object(external_this_wp_i18n_["__"])('Edit audio'),
       
 14445         onClick: switchToEditing,
       
 14446         icon: "edit"
       
 14447       }))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 14448         title: Object(external_this_wp_i18n_["__"])('Audio Settings')
       
 14449       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 14450         label: Object(external_this_wp_i18n_["__"])('Autoplay'),
       
 14451         onChange: this.toggleAttribute('autoplay'),
       
 14452         checked: autoplay
       
 14453       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 14454         label: Object(external_this_wp_i18n_["__"])('Loop'),
       
 14455         onChange: this.toggleAttribute('loop'),
       
 14456         checked: loop
       
 14457       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], {
       
 14458         label: Object(external_this_wp_i18n_["__"])('Preload'),
       
 14459         value: undefined !== preload ? preload : 'none' // `undefined` is required for the preload attribute to be unset.
       
 14460         ,
       
 14461         onChange: function onChange(value) {
       
 14462           return setAttributes({
       
 14463             preload: 'none' !== value ? value : undefined
       
 14464           });
       
 14465         },
       
 14466         options: [{
       
 14467           value: 'auto',
       
 14468           label: Object(external_this_wp_i18n_["__"])('Auto')
       
 14469         }, {
       
 14470           value: 'metadata',
       
 14471           label: Object(external_this_wp_i18n_["__"])('Metadata')
       
 14472         }, {
       
 14473           value: 'none',
       
 14474           label: Object(external_this_wp_i18n_["__"])('None')
       
 14475         }]
       
 14476       }))), Object(external_this_wp_element_["createElement"])("figure", {
       
 14477         className: className
       
 14478       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Disabled"], null, Object(external_this_wp_element_["createElement"])("audio", {
       
 14479         controls: "controls",
       
 14480         src: src
       
 14481       })), (!external_this_wp_blockEditor_["RichText"].isEmpty(caption) || isSelected) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 14482         tagName: "figcaption",
       
 14483         placeholder: Object(external_this_wp_i18n_["__"])('Write caption…'),
       
 14484         value: caption,
       
 14485         onChange: function onChange(value) {
       
 14486           return setAttributes({
       
 14487             caption: value
       
 14488           });
       
 14489         },
       
 14490         inlineToolbar: true
       
 14491       })));
       
 14492       /* eslint-enable jsx-a11y/no-static-element-interactions, jsx-a11y/onclick-has-role, jsx-a11y/click-events-have-key-events */
       
 14493     }
       
 14494   }]);
       
 14495 
       
 14496   return AudioEdit;
       
 14497 }(external_this_wp_element_["Component"]);
       
 14498 
       
 14499 /* harmony default export */ var edit = (Object(external_this_wp_components_["withNotices"])(edit_AudioEdit));
       
 14500 
       
 14501 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/index.js
       
 14502 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return audio_name; });
       
 14503 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
 14504 
       
 14505 
       
 14506 /**
       
 14507  * WordPress dependencies
       
 14508  */
       
 14509 
       
 14510 
       
 14511 
       
 14512 
       
 14513 /**
       
 14514  * Internal dependencies
       
 14515  */
       
 14516 
       
 14517 
       
 14518 
       
 14519 var audio_name = 'core/audio';
       
 14520 var settings = {
       
 14521   title: Object(external_this_wp_i18n_["__"])('Audio'),
       
 14522   description: Object(external_this_wp_i18n_["__"])('Embed a simple audio player.'),
       
 14523   icon: icon,
       
 14524   category: 'common',
       
 14525   attributes: {
       
 14526     src: {
       
 14527       type: 'string',
       
 14528       source: 'attribute',
       
 14529       selector: 'audio',
       
 14530       attribute: 'src'
       
 14531     },
       
 14532     caption: {
       
 14533       type: 'string',
       
 14534       source: 'html',
       
 14535       selector: 'figcaption'
       
 14536     },
       
 14537     id: {
       
 14538       type: 'number'
       
 14539     },
       
 14540     autoplay: {
       
 14541       type: 'boolean',
       
 14542       source: 'attribute',
       
 14543       selector: 'audio',
       
 14544       attribute: 'autoplay'
       
 14545     },
       
 14546     loop: {
       
 14547       type: 'boolean',
       
 14548       source: 'attribute',
       
 14549       selector: 'audio',
       
 14550       attribute: 'loop'
       
 14551     },
       
 14552     preload: {
       
 14553       type: 'string',
       
 14554       source: 'attribute',
       
 14555       selector: 'audio',
       
 14556       attribute: 'preload'
       
 14557     }
       
 14558   },
       
 14559   transforms: {
       
 14560     from: [{
       
 14561       type: 'files',
       
 14562       isMatch: function isMatch(files) {
       
 14563         return files.length === 1 && files[0].type.indexOf('audio/') === 0;
       
 14564       },
       
 14565       transform: function transform(files) {
       
 14566         var file = files[0]; // We don't need to upload the media directly here
       
 14567         // It's already done as part of the `componentDidMount`
       
 14568         // in the audio block
       
 14569 
       
 14570         var block = Object(external_this_wp_blocks_["createBlock"])('core/audio', {
       
 14571           src: Object(external_this_wp_blob_["createBlobURL"])(file)
       
 14572         });
       
 14573         return block;
       
 14574       }
       
 14575     }, {
       
 14576       type: 'shortcode',
       
 14577       tag: 'audio',
       
 14578       attributes: {
       
 14579         src: {
       
 14580           type: 'string',
       
 14581           shortcode: function shortcode(_ref) {
       
 14582             var src = _ref.named.src;
       
 14583             return src;
       
 14584           }
       
 14585         },
       
 14586         loop: {
       
 14587           type: 'string',
       
 14588           shortcode: function shortcode(_ref2) {
       
 14589             var loop = _ref2.named.loop;
       
 14590             return loop;
       
 14591           }
       
 14592         },
       
 14593         autoplay: {
       
 14594           type: 'srting',
       
 14595           shortcode: function shortcode(_ref3) {
       
 14596             var autoplay = _ref3.named.autoplay;
       
 14597             return autoplay;
       
 14598           }
       
 14599         },
       
 14600         preload: {
       
 14601           type: 'string',
       
 14602           shortcode: function shortcode(_ref4) {
       
 14603             var preload = _ref4.named.preload;
       
 14604             return preload;
       
 14605           }
       
 14606         }
       
 14607       }
       
 14608     }]
       
 14609   },
       
 14610   supports: {
       
 14611     align: true
       
 14612   },
       
 14613   edit: edit,
       
 14614   save: function save(_ref5) {
       
 14615     var attributes = _ref5.attributes;
       
 14616     var autoplay = attributes.autoplay,
       
 14617         caption = attributes.caption,
       
 14618         loop = attributes.loop,
       
 14619         preload = attributes.preload,
       
 14620         src = attributes.src;
       
 14621     return Object(external_this_wp_element_["createElement"])("figure", null, Object(external_this_wp_element_["createElement"])("audio", {
       
 14622       controls: "controls",
       
 14623       src: src,
       
 14624       autoPlay: autoplay,
       
 14625       loop: loop,
       
 14626       preload: preload
       
 14627     }), !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 14628       tagName: "figcaption",
       
 14629       value: caption
       
 14630     }));
       
 14631   }
       
 14632 };
       
 14633 
       
 14634 
       
 14635 /***/ }),
       
 14636 /* 237 */
       
 14637 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
 14638 
       
 14639 "use strict";
       
 14640 __webpack_require__.r(__webpack_exports__);
       
 14641 
       
 14642 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
       
 14643 var defineProperty = __webpack_require__(15);
       
 14644 
       
 14645 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
       
 14646 var objectSpread = __webpack_require__(7);
       
 14647 
       
 14648 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
 14649 var external_this_wp_element_ = __webpack_require__(0);
       
 14650 
       
 14651 // EXTERNAL MODULE: external "lodash"
       
 14652 var external_lodash_ = __webpack_require__(2);
       
 14653 
       
 14654 // EXTERNAL MODULE: ./node_modules/classnames/index.js
       
 14655 var classnames = __webpack_require__(16);
       
 14656 var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
       
 14657 
       
 14658 // EXTERNAL MODULE: external {"this":["wp","blocks"]}
       
 14659 var external_this_wp_blocks_ = __webpack_require__(14);
       
 14660 
       
 14661 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
       
 14662 var external_this_wp_blockEditor_ = __webpack_require__(8);
       
 14663 
       
 14664 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
 14665 var external_this_wp_i18n_ = __webpack_require__(1);
       
 14666 
       
 14667 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
 14668 var external_this_wp_components_ = __webpack_require__(4);
       
 14669 
       
 14670 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/icon.js
       
 14671 
       
 14672 
       
 14673 /**
       
 14674  * WordPress dependencies
       
 14675  */
       
 14676 
       
 14677 /* harmony default export */ var icon = (Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
 14678   xmlns: "http://www.w3.org/2000/svg",
       
 14679   viewBox: "0 0 24 24"
       
 14680 }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 14681   d: "M4 4h7V2H4c-1.1 0-2 .9-2 2v7h2V4zm6 9l-4 5h12l-3-4-2.03 2.71L10 13zm7-4.5c0-.83-.67-1.5-1.5-1.5S14 7.67 14 8.5s.67 1.5 1.5 1.5S17 9.33 17 8.5zM20 2h-7v2h7v7h2V4c0-1.1-.9-2-2-2zm0 18h-7v2h7c1.1 0 2-.9 2-2v-7h-2v7zM4 13H2v7c0 1.1.9 2 2 2h7v-2H4v-7z"
       
 14682 }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 14683   d: "M0 0h24v24H0z",
       
 14684   fill: "none"
       
 14685 })));
       
 14686 
       
 14687 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
 14688 var classCallCheck = __webpack_require__(10);
       
 14689 
       
 14690 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
 14691 var createClass = __webpack_require__(9);
       
 14692 
       
 14693 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
 14694 var possibleConstructorReturn = __webpack_require__(11);
       
 14695 
       
 14696 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
 14697 var getPrototypeOf = __webpack_require__(12);
       
 14698 
       
 14699 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
 14700 var inherits = __webpack_require__(13);
       
 14701 
       
 14702 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
       
 14703 var assertThisInitialized = __webpack_require__(3);
       
 14704 
       
 14705 // EXTERNAL MODULE: ./node_modules/fast-average-color/dist/index.js
       
 14706 var dist = __webpack_require__(211);
       
 14707 var dist_default = /*#__PURE__*/__webpack_require__.n(dist);
       
 14708 
       
 14709 // EXTERNAL MODULE: ./node_modules/tinycolor2/tinycolor.js
       
 14710 var tinycolor = __webpack_require__(45);
       
 14711 var tinycolor_default = /*#__PURE__*/__webpack_require__.n(tinycolor);
       
 14712 
       
 14713 // EXTERNAL MODULE: external {"this":["wp","compose"]}
       
 14714 var external_this_wp_compose_ = __webpack_require__(6);
       
 14715 
       
 14716 // EXTERNAL MODULE: external {"this":["wp","editor"]}
       
 14717 var external_this_wp_editor_ = __webpack_require__(22);
       
 14718 
       
 14719 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/edit.js
       
 14720 
       
 14721 
       
 14722 
       
 14723 
       
 14724 
       
 14725 
       
 14726 
       
 14727 
       
 14728 
       
 14729 /**
       
 14730  * External dependencies
       
 14731  */
       
 14732 
       
 14733 
       
 14734 
       
 14735 /**
       
 14736  * WordPress dependencies
       
 14737  */
       
 14738 
       
 14739 
       
 14740 
       
 14741 
       
 14742 
       
 14743 
       
 14744 /**
       
 14745  * Internal dependencies
       
 14746  */
       
 14747 
       
 14748 
       
 14749 /**
       
 14750  * Module Constants
       
 14751  */
       
 14752 
       
 14753 var IMAGE_BACKGROUND_TYPE = 'image';
       
 14754 var VIDEO_BACKGROUND_TYPE = 'video';
       
 14755 var ALLOWED_MEDIA_TYPES = ['image', 'video'];
       
 14756 var INNER_BLOCKS_TEMPLATE = [['core/paragraph', {
       
 14757   align: 'center',
       
 14758   fontSize: 'large',
       
 14759   placeholder: Object(external_this_wp_i18n_["__"])('Write title…')
       
 14760 }]];
       
 14761 var INNER_BLOCKS_ALLOWED_BLOCKS = ['core/button', 'core/heading', 'core/paragraph'];
       
 14762 
       
 14763 function retrieveFastAverageColor() {
       
 14764   if (!retrieveFastAverageColor.fastAverageColor) {
       
 14765     retrieveFastAverageColor.fastAverageColor = new dist_default.a();
       
 14766   }
       
 14767 
       
 14768   return retrieveFastAverageColor.fastAverageColor;
       
 14769 }
       
 14770 
       
 14771 function backgroundImageStyles(url) {
       
 14772   return url ? {
       
 14773     backgroundImage: "url(".concat(url, ")")
       
 14774   } : {};
       
 14775 }
       
 14776 function dimRatioToClass(ratio) {
       
 14777   return ratio === 0 || ratio === 50 ? null : 'has-background-dim-' + 10 * Math.round(ratio / 10);
       
 14778 }
       
 14779 
       
 14780 var edit_CoverEdit =
       
 14781 /*#__PURE__*/
       
 14782 function (_Component) {
       
 14783   Object(inherits["a" /* default */])(CoverEdit, _Component);
       
 14784 
       
 14785   function CoverEdit() {
       
 14786     var _this;
       
 14787 
       
 14788     Object(classCallCheck["a" /* default */])(this, CoverEdit);
       
 14789 
       
 14790     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(CoverEdit).apply(this, arguments));
       
 14791     _this.state = {
       
 14792       isDark: false
       
 14793     };
       
 14794     _this.imageRef = Object(external_this_wp_element_["createRef"])();
       
 14795     _this.videoRef = Object(external_this_wp_element_["createRef"])();
       
 14796     _this.changeIsDarkIfRequired = _this.changeIsDarkIfRequired.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 14797     return _this;
       
 14798   }
       
 14799 
       
 14800   Object(createClass["a" /* default */])(CoverEdit, [{
       
 14801     key: "componentDidMount",
       
 14802     value: function componentDidMount() {
       
 14803       this.handleBackgroundMode();
       
 14804     }
       
 14805   }, {
       
 14806     key: "componentDidUpdate",
       
 14807     value: function componentDidUpdate(prevProps) {
       
 14808       this.handleBackgroundMode(prevProps);
       
 14809     }
       
 14810   }, {
       
 14811     key: "render",
       
 14812     value: function render() {
       
 14813       var _this$props = this.props,
       
 14814           attributes = _this$props.attributes,
       
 14815           setAttributes = _this$props.setAttributes,
       
 14816           className = _this$props.className,
       
 14817           noticeOperations = _this$props.noticeOperations,
       
 14818           noticeUI = _this$props.noticeUI,
       
 14819           overlayColor = _this$props.overlayColor,
       
 14820           setOverlayColor = _this$props.setOverlayColor;
       
 14821       var backgroundType = attributes.backgroundType,
       
 14822           dimRatio = attributes.dimRatio,
       
 14823           focalPoint = attributes.focalPoint,
       
 14824           hasParallax = attributes.hasParallax,
       
 14825           id = attributes.id,
       
 14826           url = attributes.url;
       
 14827 
       
 14828       var onSelectMedia = function onSelectMedia(media) {
       
 14829         if (!media || !media.url) {
       
 14830           setAttributes({
       
 14831             url: undefined,
       
 14832             id: undefined
       
 14833           });
       
 14834           return;
       
 14835         }
       
 14836 
       
 14837         var mediaType; // for media selections originated from a file upload.
       
 14838 
       
 14839         if (media.media_type) {
       
 14840           if (media.media_type === IMAGE_BACKGROUND_TYPE) {
       
 14841             mediaType = IMAGE_BACKGROUND_TYPE;
       
 14842           } else {
       
 14843             // only images and videos are accepted so if the media_type is not an image we can assume it is a video.
       
 14844             // Videos contain the media type of 'file' in the object returned from the rest api.
       
 14845             mediaType = VIDEO_BACKGROUND_TYPE;
       
 14846           }
       
 14847         } else {
       
 14848           // for media selections originated from existing files in the media library.
       
 14849           if (media.type !== IMAGE_BACKGROUND_TYPE && media.type !== VIDEO_BACKGROUND_TYPE) {
       
 14850             return;
       
 14851           }
       
 14852 
       
 14853           mediaType = media.type;
       
 14854         }
       
 14855 
       
 14856         setAttributes({
       
 14857           url: media.url,
       
 14858           id: media.id,
       
 14859           backgroundType: mediaType
       
 14860         });
       
 14861       };
       
 14862 
       
 14863       var toggleParallax = function toggleParallax() {
       
 14864         return setAttributes({
       
 14865           hasParallax: !hasParallax
       
 14866         });
       
 14867       };
       
 14868 
       
 14869       var setDimRatio = function setDimRatio(ratio) {
       
 14870         return setAttributes({
       
 14871           dimRatio: ratio
       
 14872         });
       
 14873       };
       
 14874 
       
 14875       var style = Object(objectSpread["a" /* default */])({}, backgroundType === IMAGE_BACKGROUND_TYPE ? backgroundImageStyles(url) : {}, {
       
 14876         backgroundColor: overlayColor.color
       
 14877       });
       
 14878 
       
 14879       if (focalPoint) {
       
 14880         style.backgroundPosition = "".concat(focalPoint.x * 100, "% ").concat(focalPoint.y * 100, "%");
       
 14881       }
       
 14882 
       
 14883       var controls = Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["BlockControls"], null, !!url && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["MediaUploadCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["MediaUpload"], {
       
 14884         onSelect: onSelectMedia,
       
 14885         allowedTypes: ALLOWED_MEDIA_TYPES,
       
 14886         value: id,
       
 14887         render: function render(_ref) {
       
 14888           var open = _ref.open;
       
 14889           return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], {
       
 14890             className: "components-toolbar__control",
       
 14891             label: Object(external_this_wp_i18n_["__"])('Edit media'),
       
 14892             icon: "edit",
       
 14893             onClick: open
       
 14894           });
       
 14895         }
       
 14896       }))))), !!url && Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 14897         title: Object(external_this_wp_i18n_["__"])('Cover Settings')
       
 14898       }, IMAGE_BACKGROUND_TYPE === backgroundType && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 14899         label: Object(external_this_wp_i18n_["__"])('Fixed Background'),
       
 14900         checked: hasParallax,
       
 14901         onChange: toggleParallax
       
 14902       }), IMAGE_BACKGROUND_TYPE === backgroundType && !hasParallax && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["FocalPointPicker"], {
       
 14903         label: Object(external_this_wp_i18n_["__"])('Focal Point Picker'),
       
 14904         url: url,
       
 14905         value: focalPoint,
       
 14906         onChange: function onChange(value) {
       
 14907           return setAttributes({
       
 14908             focalPoint: value
       
 14909           });
       
 14910         }
       
 14911       }), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PanelColorSettings"], {
       
 14912         title: Object(external_this_wp_i18n_["__"])('Overlay'),
       
 14913         initialOpen: true,
       
 14914         colorSettings: [{
       
 14915           value: overlayColor.color,
       
 14916           onChange: setOverlayColor,
       
 14917           label: Object(external_this_wp_i18n_["__"])('Overlay Color')
       
 14918         }]
       
 14919       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], {
       
 14920         label: Object(external_this_wp_i18n_["__"])('Background Opacity'),
       
 14921         value: dimRatio,
       
 14922         onChange: setDimRatio,
       
 14923         min: 0,
       
 14924         max: 100,
       
 14925         step: 10,
       
 14926         required: true
       
 14927       })))));
       
 14928 
       
 14929       if (!url) {
       
 14930         var placeholderIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["BlockIcon"], {
       
 14931           icon: icon
       
 14932         });
       
 14933 
       
 14934         var label = Object(external_this_wp_i18n_["__"])('Cover');
       
 14935 
       
 14936         return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, controls, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["MediaPlaceholder"], {
       
 14937           icon: placeholderIcon,
       
 14938           className: className,
       
 14939           labels: {
       
 14940             title: label,
       
 14941             instructions: Object(external_this_wp_i18n_["__"])('Drag an image or a video, upload a new one or select a file from your library.')
       
 14942           },
       
 14943           onSelect: onSelectMedia,
       
 14944           accept: "image/*,video/*",
       
 14945           allowedTypes: ALLOWED_MEDIA_TYPES,
       
 14946           notices: noticeUI,
       
 14947           onError: noticeOperations.createErrorNotice
       
 14948         }));
       
 14949       }
       
 14950 
       
 14951       var classes = classnames_default()(className, dimRatioToClass(dimRatio), {
       
 14952         'is-dark-theme': this.state.isDark,
       
 14953         'has-background-dim': dimRatio !== 0,
       
 14954         'has-parallax': hasParallax
       
 14955       });
       
 14956       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, controls, Object(external_this_wp_element_["createElement"])("div", {
       
 14957         "data-url": url,
       
 14958         style: style,
       
 14959         className: classes
       
 14960       }, IMAGE_BACKGROUND_TYPE === backgroundType && // Used only to programmatically check if the image is dark or not
       
 14961       Object(external_this_wp_element_["createElement"])("img", {
       
 14962         ref: this.imageRef,
       
 14963         "aria-hidden": true,
       
 14964         alt: "",
       
 14965         style: {
       
 14966           display: 'none'
       
 14967         },
       
 14968         src: url
       
 14969       }), VIDEO_BACKGROUND_TYPE === backgroundType && Object(external_this_wp_element_["createElement"])("video", {
       
 14970         ref: this.videoRef,
       
 14971         className: "wp-block-cover__video-background",
       
 14972         autoPlay: true,
       
 14973         muted: true,
       
 14974         loop: true,
       
 14975         src: url
       
 14976       }), Object(external_this_wp_element_["createElement"])("div", {
       
 14977         className: "wp-block-cover__inner-container"
       
 14978       }, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["InnerBlocks"], {
       
 14979         template: INNER_BLOCKS_TEMPLATE,
       
 14980         allowedBlocks: INNER_BLOCKS_ALLOWED_BLOCKS
       
 14981       }))));
       
 14982     }
       
 14983   }, {
       
 14984     key: "handleBackgroundMode",
       
 14985     value: function handleBackgroundMode(prevProps) {
       
 14986       var _this2 = this;
       
 14987 
       
 14988       var _this$props2 = this.props,
       
 14989           attributes = _this$props2.attributes,
       
 14990           overlayColor = _this$props2.overlayColor;
       
 14991       var dimRatio = attributes.dimRatio,
       
 14992           url = attributes.url; // If opacity is greater than 50 the dominant color is the overlay color,
       
 14993       // so use that color for the dark mode computation.
       
 14994 
       
 14995       if (dimRatio > 50) {
       
 14996         if (prevProps && prevProps.attributes.dimRatio > 50 && prevProps.overlayColor.color === overlayColor.color) {
       
 14997           // No relevant prop changes happened there is no need to apply any change.
       
 14998           return;
       
 14999         }
       
 15000 
       
 15001         if (!overlayColor.color) {
       
 15002           // If no overlay color exists the overlay color is black (isDark )
       
 15003           this.changeIsDarkIfRequired(true);
       
 15004           return;
       
 15005         }
       
 15006 
       
 15007         this.changeIsDarkIfRequired(tinycolor_default()(overlayColor.color).isDark());
       
 15008         return;
       
 15009       } // If opacity is lower than 50 the dominant color is the image or video color,
       
 15010       // so use that color for the dark mode computation.
       
 15011 
       
 15012 
       
 15013       if (prevProps && prevProps.attributes.dimRatio <= 50 && prevProps.attributes.url === url) {
       
 15014         // No relevant prop changes happened there is no need to apply any change.
       
 15015         return;
       
 15016       }
       
 15017 
       
 15018       var backgroundType = attributes.backgroundType;
       
 15019       var element;
       
 15020 
       
 15021       switch (backgroundType) {
       
 15022         case IMAGE_BACKGROUND_TYPE:
       
 15023           element = this.imageRef.current;
       
 15024           break;
       
 15025 
       
 15026         case VIDEO_BACKGROUND_TYPE:
       
 15027           element = this.videoRef.current;
       
 15028           break;
       
 15029       }
       
 15030 
       
 15031       if (!element) {
       
 15032         return;
       
 15033       }
       
 15034 
       
 15035       retrieveFastAverageColor().getColorAsync(element, function (color) {
       
 15036         _this2.changeIsDarkIfRequired(color.isDark);
       
 15037       });
       
 15038     }
       
 15039   }, {
       
 15040     key: "changeIsDarkIfRequired",
       
 15041     value: function changeIsDarkIfRequired(newIsDark) {
       
 15042       if (this.state.isDark !== newIsDark) {
       
 15043         this.setState({
       
 15044           isDark: newIsDark
       
 15045         });
       
 15046       }
       
 15047     }
       
 15048   }]);
       
 15049 
       
 15050   return CoverEdit;
       
 15051 }(external_this_wp_element_["Component"]);
       
 15052 
       
 15053 /* harmony default export */ var edit = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_editor_["withColors"])({
       
 15054   overlayColor: 'background-color'
       
 15055 }), external_this_wp_components_["withNotices"]])(edit_CoverEdit));
       
 15056 
       
 15057 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/index.js
       
 15058 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return cover_name; });
       
 15059 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
 15060 
       
 15061 
       
 15062 
       
 15063 
       
 15064 /**
       
 15065  * External dependencies
       
 15066  */
       
 15067 
       
 15068 
       
 15069 /**
       
 15070  * WordPress dependencies
       
 15071  */
       
 15072 
       
 15073 
       
 15074 
       
 15075 
       
 15076 /**
       
 15077  * Internal dependencies
       
 15078  */
       
 15079 
       
 15080 
       
 15081 
       
 15082 var blockAttributes = {
       
 15083   url: {
       
 15084     type: 'string'
       
 15085   },
       
 15086   id: {
       
 15087     type: 'number'
       
 15088   },
       
 15089   hasParallax: {
       
 15090     type: 'boolean',
       
 15091     default: false
       
 15092   },
       
 15093   dimRatio: {
       
 15094     type: 'number',
       
 15095     default: 50
       
 15096   },
       
 15097   overlayColor: {
       
 15098     type: 'string'
       
 15099   },
       
 15100   customOverlayColor: {
       
 15101     type: 'string'
       
 15102   },
       
 15103   backgroundType: {
       
 15104     type: 'string',
       
 15105     default: 'image'
       
 15106   },
       
 15107   focalPoint: {
       
 15108     type: 'object'
       
 15109   }
       
 15110 };
       
 15111 var cover_name = 'core/cover';
       
 15112 var settings = {
       
 15113   title: Object(external_this_wp_i18n_["__"])('Cover'),
       
 15114   description: Object(external_this_wp_i18n_["__"])('Add an image or video with a text overlay — great for headers.'),
       
 15115   icon: icon,
       
 15116   category: 'common',
       
 15117   attributes: blockAttributes,
       
 15118   supports: {
       
 15119     align: true
       
 15120   },
       
 15121   transforms: {
       
 15122     from: [{
       
 15123       type: 'block',
       
 15124       blocks: ['core/image'],
       
 15125       transform: function transform(_ref) {
       
 15126         var caption = _ref.caption,
       
 15127             url = _ref.url,
       
 15128             align = _ref.align,
       
 15129             id = _ref.id;
       
 15130         return Object(external_this_wp_blocks_["createBlock"])('core/cover', {
       
 15131           title: caption,
       
 15132           url: url,
       
 15133           align: align,
       
 15134           id: id
       
 15135         });
       
 15136       }
       
 15137     }, {
       
 15138       type: 'block',
       
 15139       blocks: ['core/video'],
       
 15140       transform: function transform(_ref2) {
       
 15141         var caption = _ref2.caption,
       
 15142             src = _ref2.src,
       
 15143             align = _ref2.align,
       
 15144             id = _ref2.id;
       
 15145         return Object(external_this_wp_blocks_["createBlock"])('core/cover', {
       
 15146           title: caption,
       
 15147           url: src,
       
 15148           align: align,
       
 15149           id: id,
       
 15150           backgroundType: VIDEO_BACKGROUND_TYPE
       
 15151         });
       
 15152       }
       
 15153     }],
       
 15154     to: [{
       
 15155       type: 'block',
       
 15156       blocks: ['core/image'],
       
 15157       isMatch: function isMatch(_ref3) {
       
 15158         var backgroundType = _ref3.backgroundType,
       
 15159             url = _ref3.url;
       
 15160         return !url || backgroundType === IMAGE_BACKGROUND_TYPE;
       
 15161       },
       
 15162       transform: function transform(_ref4) {
       
 15163         var title = _ref4.title,
       
 15164             url = _ref4.url,
       
 15165             align = _ref4.align,
       
 15166             id = _ref4.id;
       
 15167         return Object(external_this_wp_blocks_["createBlock"])('core/image', {
       
 15168           caption: title,
       
 15169           url: url,
       
 15170           align: align,
       
 15171           id: id
       
 15172         });
       
 15173       }
       
 15174     }, {
       
 15175       type: 'block',
       
 15176       blocks: ['core/video'],
       
 15177       isMatch: function isMatch(_ref5) {
       
 15178         var backgroundType = _ref5.backgroundType,
       
 15179             url = _ref5.url;
       
 15180         return !url || backgroundType === VIDEO_BACKGROUND_TYPE;
       
 15181       },
       
 15182       transform: function transform(_ref6) {
       
 15183         var title = _ref6.title,
       
 15184             url = _ref6.url,
       
 15185             align = _ref6.align,
       
 15186             id = _ref6.id;
       
 15187         return Object(external_this_wp_blocks_["createBlock"])('core/video', {
       
 15188           caption: title,
       
 15189           src: url,
       
 15190           id: id,
       
 15191           align: align
       
 15192         });
       
 15193       }
       
 15194     }]
       
 15195   },
       
 15196   save: function save(_ref7) {
       
 15197     var attributes = _ref7.attributes;
       
 15198     var backgroundType = attributes.backgroundType,
       
 15199         customOverlayColor = attributes.customOverlayColor,
       
 15200         dimRatio = attributes.dimRatio,
       
 15201         focalPoint = attributes.focalPoint,
       
 15202         hasParallax = attributes.hasParallax,
       
 15203         overlayColor = attributes.overlayColor,
       
 15204         url = attributes.url;
       
 15205     var overlayColorClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', overlayColor);
       
 15206     var style = backgroundType === IMAGE_BACKGROUND_TYPE ? backgroundImageStyles(url) : {};
       
 15207 
       
 15208     if (!overlayColorClass) {
       
 15209       style.backgroundColor = customOverlayColor;
       
 15210     }
       
 15211 
       
 15212     if (focalPoint && !hasParallax) {
       
 15213       style.backgroundPosition = "".concat(focalPoint.x * 100, "% ").concat(focalPoint.y * 100, "%");
       
 15214     }
       
 15215 
       
 15216     var classes = classnames_default()(dimRatioToClass(dimRatio), overlayColorClass, {
       
 15217       'has-background-dim': dimRatio !== 0,
       
 15218       'has-parallax': hasParallax
       
 15219     });
       
 15220     return Object(external_this_wp_element_["createElement"])("div", {
       
 15221       className: classes,
       
 15222       style: style
       
 15223     }, VIDEO_BACKGROUND_TYPE === backgroundType && url && Object(external_this_wp_element_["createElement"])("video", {
       
 15224       className: "wp-block-cover__video-background",
       
 15225       autoPlay: true,
       
 15226       muted: true,
       
 15227       loop: true,
       
 15228       src: url
       
 15229     }), Object(external_this_wp_element_["createElement"])("div", {
       
 15230       className: "wp-block-cover__inner-container"
       
 15231     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null)));
       
 15232   },
       
 15233   edit: edit,
       
 15234   deprecated: [{
       
 15235     attributes: Object(objectSpread["a" /* default */])({}, blockAttributes, {
       
 15236       title: {
       
 15237         type: 'string',
       
 15238         source: 'html',
       
 15239         selector: 'p'
       
 15240       },
       
 15241       contentAlign: {
       
 15242         type: 'string',
       
 15243         default: 'center'
       
 15244       }
       
 15245     }),
       
 15246     supports: {
       
 15247       align: true
       
 15248     },
       
 15249     save: function save(_ref8) {
       
 15250       var attributes = _ref8.attributes;
       
 15251       var backgroundType = attributes.backgroundType,
       
 15252           contentAlign = attributes.contentAlign,
       
 15253           customOverlayColor = attributes.customOverlayColor,
       
 15254           dimRatio = attributes.dimRatio,
       
 15255           focalPoint = attributes.focalPoint,
       
 15256           hasParallax = attributes.hasParallax,
       
 15257           overlayColor = attributes.overlayColor,
       
 15258           title = attributes.title,
       
 15259           url = attributes.url;
       
 15260       var overlayColorClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', overlayColor);
       
 15261       var style = backgroundType === IMAGE_BACKGROUND_TYPE ? backgroundImageStyles(url) : {};
       
 15262 
       
 15263       if (!overlayColorClass) {
       
 15264         style.backgroundColor = customOverlayColor;
       
 15265       }
       
 15266 
       
 15267       if (focalPoint && !hasParallax) {
       
 15268         style.backgroundPosition = "".concat(focalPoint.x * 100, "% ").concat(focalPoint.y * 100, "%");
       
 15269       }
       
 15270 
       
 15271       var classes = classnames_default()(dimRatioToClass(dimRatio), overlayColorClass, Object(defineProperty["a" /* default */])({
       
 15272         'has-background-dim': dimRatio !== 0,
       
 15273         'has-parallax': hasParallax
       
 15274       }, "has-".concat(contentAlign, "-content"), contentAlign !== 'center'));
       
 15275       return Object(external_this_wp_element_["createElement"])("div", {
       
 15276         className: classes,
       
 15277         style: style
       
 15278       }, VIDEO_BACKGROUND_TYPE === backgroundType && url && Object(external_this_wp_element_["createElement"])("video", {
       
 15279         className: "wp-block-cover__video-background",
       
 15280         autoPlay: true,
       
 15281         muted: true,
       
 15282         loop: true,
       
 15283         src: url
       
 15284       }), !external_this_wp_blockEditor_["RichText"].isEmpty(title) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 15285         tagName: "p",
       
 15286         className: "wp-block-cover-text",
       
 15287         value: title
       
 15288       }));
       
 15289     },
       
 15290     migrate: function migrate(attributes) {
       
 15291       return [Object(external_lodash_["omit"])(attributes, ['title', 'contentAlign']), [Object(external_this_wp_blocks_["createBlock"])('core/paragraph', {
       
 15292         content: attributes.title,
       
 15293         align: attributes.contentAlign,
       
 15294         fontSize: 'large',
       
 15295         placeholder: Object(external_this_wp_i18n_["__"])('Write title…')
       
 15296       })]];
       
 15297     }
       
 15298   }, {
       
 15299     attributes: Object(objectSpread["a" /* default */])({}, blockAttributes, {
       
 15300       title: {
       
 15301         type: 'string',
       
 15302         source: 'html',
       
 15303         selector: 'p'
       
 15304       },
       
 15305       contentAlign: {
       
 15306         type: 'string',
       
 15307         default: 'center'
       
 15308       },
       
 15309       align: {
       
 15310         type: 'string'
       
 15311       }
       
 15312     }),
       
 15313     supports: {
       
 15314       className: false
       
 15315     },
       
 15316     save: function save(_ref9) {
       
 15317       var attributes = _ref9.attributes;
       
 15318       var url = attributes.url,
       
 15319           title = attributes.title,
       
 15320           hasParallax = attributes.hasParallax,
       
 15321           dimRatio = attributes.dimRatio,
       
 15322           align = attributes.align,
       
 15323           contentAlign = attributes.contentAlign,
       
 15324           overlayColor = attributes.overlayColor,
       
 15325           customOverlayColor = attributes.customOverlayColor;
       
 15326       var overlayColorClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', overlayColor);
       
 15327       var style = backgroundImageStyles(url);
       
 15328 
       
 15329       if (!overlayColorClass) {
       
 15330         style.backgroundColor = customOverlayColor;
       
 15331       }
       
 15332 
       
 15333       var classes = classnames_default()('wp-block-cover-image', dimRatioToClass(dimRatio), overlayColorClass, Object(defineProperty["a" /* default */])({
       
 15334         'has-background-dim': dimRatio !== 0,
       
 15335         'has-parallax': hasParallax
       
 15336       }, "has-".concat(contentAlign, "-content"), contentAlign !== 'center'), align ? "align".concat(align) : null);
       
 15337       return Object(external_this_wp_element_["createElement"])("div", {
       
 15338         className: classes,
       
 15339         style: style
       
 15340       }, !external_this_wp_blockEditor_["RichText"].isEmpty(title) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 15341         tagName: "p",
       
 15342         className: "wp-block-cover-image-text",
       
 15343         value: title
       
 15344       }));
       
 15345     }
       
 15346   }, {
       
 15347     attributes: Object(objectSpread["a" /* default */])({}, blockAttributes, {
       
 15348       align: {
       
 15349         type: 'string'
       
 15350       },
       
 15351       title: {
       
 15352         type: 'string',
       
 15353         source: 'html',
       
 15354         selector: 'h2'
       
 15355       },
       
 15356       contentAlign: {
       
 15357         type: 'string',
       
 15358         default: 'center'
       
 15359       }
       
 15360     }),
       
 15361     save: function save(_ref10) {
       
 15362       var attributes = _ref10.attributes;
       
 15363       var url = attributes.url,
       
 15364           title = attributes.title,
       
 15365           hasParallax = attributes.hasParallax,
       
 15366           dimRatio = attributes.dimRatio,
       
 15367           align = attributes.align;
       
 15368       var style = backgroundImageStyles(url);
       
 15369       var classes = classnames_default()(dimRatioToClass(dimRatio), {
       
 15370         'has-background-dim': dimRatio !== 0,
       
 15371         'has-parallax': hasParallax
       
 15372       }, align ? "align".concat(align) : null);
       
 15373       return Object(external_this_wp_element_["createElement"])("section", {
       
 15374         className: classes,
       
 15375         style: style
       
 15376       }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 15377         tagName: "h2",
       
 15378         value: title
       
 15379       }));
       
 15380     }
       
 15381   }]
       
 15382 };
       
 15383 
       
 15384 
       
 15385 /***/ }),
       
 15386 /* 238 */
       
 15387 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
 15388 
       
 15389 "use strict";
       
 15390 __webpack_require__.r(__webpack_exports__);
       
 15391 
       
 15392 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
 15393 var external_this_wp_element_ = __webpack_require__(0);
       
 15394 
       
 15395 // EXTERNAL MODULE: external {"this":["wp","blob"]}
       
 15396 var external_this_wp_blob_ = __webpack_require__(35);
       
 15397 
       
 15398 // EXTERNAL MODULE: external {"this":["wp","blocks"]}
       
 15399 var external_this_wp_blocks_ = __webpack_require__(14);
       
 15400 
       
 15401 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
       
 15402 var external_this_wp_blockEditor_ = __webpack_require__(8);
       
 15403 
       
 15404 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
 15405 var external_this_wp_i18n_ = __webpack_require__(1);
       
 15406 
       
 15407 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
       
 15408 var defineProperty = __webpack_require__(15);
       
 15409 
       
 15410 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
       
 15411 var slicedToArray = __webpack_require__(28);
       
 15412 
       
 15413 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
 15414 var classCallCheck = __webpack_require__(10);
       
 15415 
       
 15416 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
 15417 var createClass = __webpack_require__(9);
       
 15418 
       
 15419 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
 15420 var possibleConstructorReturn = __webpack_require__(11);
       
 15421 
       
 15422 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
 15423 var getPrototypeOf = __webpack_require__(12);
       
 15424 
       
 15425 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
 15426 var inherits = __webpack_require__(13);
       
 15427 
       
 15428 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
       
 15429 var assertThisInitialized = __webpack_require__(3);
       
 15430 
       
 15431 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
 15432 var external_this_wp_components_ = __webpack_require__(4);
       
 15433 
       
 15434 // EXTERNAL MODULE: external {"this":["wp","editor"]}
       
 15435 var external_this_wp_editor_ = __webpack_require__(22);
       
 15436 
       
 15437 // EXTERNAL MODULE: ./node_modules/@wordpress/block-library/build-module/embed/util.js
       
 15438 var util = __webpack_require__(53);
       
 15439 
       
 15440 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/icon.js
       
 15441 
       
 15442 
       
 15443 /**
       
 15444  * WordPress dependencies
       
 15445  */
       
 15446 
       
 15447 /* harmony default export */ var icon = (Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
 15448   viewBox: "0 0 24 24",
       
 15449   xmlns: "http://www.w3.org/2000/svg"
       
 15450 }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 15451   fill: "none",
       
 15452   d: "M0 0h24v24H0V0z"
       
 15453 }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 15454   d: "M4 6.47L5.76 10H20v8H4V6.47M22 4h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4z"
       
 15455 })));
       
 15456 
       
 15457 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/edit.js
       
 15458 
       
 15459 
       
 15460 
       
 15461 
       
 15462 
       
 15463 
       
 15464 
       
 15465 
       
 15466 
       
 15467 
       
 15468 /**
       
 15469  * WordPress dependencies
       
 15470  */
       
 15471 
       
 15472 
       
 15473 
       
 15474 
       
 15475 
       
 15476 
       
 15477 /**
       
 15478  * Internal dependencies
       
 15479  */
       
 15480 
       
 15481 
       
 15482 
       
 15483 var ALLOWED_MEDIA_TYPES = ['video'];
       
 15484 var VIDEO_POSTER_ALLOWED_MEDIA_TYPES = ['image'];
       
 15485 
       
 15486 var edit_VideoEdit =
       
 15487 /*#__PURE__*/
       
 15488 function (_Component) {
       
 15489   Object(inherits["a" /* default */])(VideoEdit, _Component);
       
 15490 
       
 15491   function VideoEdit() {
       
 15492     var _this;
       
 15493 
       
 15494     Object(classCallCheck["a" /* default */])(this, VideoEdit);
       
 15495 
       
 15496     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(VideoEdit).apply(this, arguments)); // edit component has its own src in the state so it can be edited
       
 15497     // without setting the actual value outside of the edit UI
       
 15498 
       
 15499     _this.state = {
       
 15500       editing: !_this.props.attributes.src
       
 15501     };
       
 15502     _this.videoPlayer = Object(external_this_wp_element_["createRef"])();
       
 15503     _this.posterImageButton = Object(external_this_wp_element_["createRef"])();
       
 15504     _this.toggleAttribute = _this.toggleAttribute.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 15505     _this.onSelectURL = _this.onSelectURL.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 15506     _this.onSelectPoster = _this.onSelectPoster.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 15507     _this.onRemovePoster = _this.onRemovePoster.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 15508     return _this;
       
 15509   }
       
 15510 
       
 15511   Object(createClass["a" /* default */])(VideoEdit, [{
       
 15512     key: "componentDidMount",
       
 15513     value: function componentDidMount() {
       
 15514       var _this2 = this;
       
 15515 
       
 15516       var _this$props = this.props,
       
 15517           attributes = _this$props.attributes,
       
 15518           noticeOperations = _this$props.noticeOperations,
       
 15519           setAttributes = _this$props.setAttributes;
       
 15520       var id = attributes.id,
       
 15521           _attributes$src = attributes.src,
       
 15522           src = _attributes$src === void 0 ? '' : _attributes$src;
       
 15523 
       
 15524       if (!id && Object(external_this_wp_blob_["isBlobURL"])(src)) {
       
 15525         var file = Object(external_this_wp_blob_["getBlobByURL"])(src);
       
 15526 
       
 15527         if (file) {
       
 15528           Object(external_this_wp_editor_["mediaUpload"])({
       
 15529             filesList: [file],
       
 15530             onFileChange: function onFileChange(_ref) {
       
 15531               var _ref2 = Object(slicedToArray["a" /* default */])(_ref, 1),
       
 15532                   url = _ref2[0].url;
       
 15533 
       
 15534               setAttributes({
       
 15535                 src: url
       
 15536               });
       
 15537             },
       
 15538             onError: function onError(message) {
       
 15539               _this2.setState({
       
 15540                 editing: true
       
 15541               });
       
 15542 
       
 15543               noticeOperations.createErrorNotice(message);
       
 15544             },
       
 15545             allowedTypes: ALLOWED_MEDIA_TYPES
       
 15546           });
       
 15547         }
       
 15548       }
       
 15549     }
       
 15550   }, {
       
 15551     key: "componentDidUpdate",
       
 15552     value: function componentDidUpdate(prevProps) {
       
 15553       if (this.props.attributes.poster !== prevProps.attributes.poster) {
       
 15554         this.videoPlayer.current.load();
       
 15555       }
       
 15556     }
       
 15557   }, {
       
 15558     key: "toggleAttribute",
       
 15559     value: function toggleAttribute(attribute) {
       
 15560       var _this3 = this;
       
 15561 
       
 15562       return function (newValue) {
       
 15563         _this3.props.setAttributes(Object(defineProperty["a" /* default */])({}, attribute, newValue));
       
 15564       };
       
 15565     }
       
 15566   }, {
       
 15567     key: "onSelectURL",
       
 15568     value: function onSelectURL(newSrc) {
       
 15569       var _this$props2 = this.props,
       
 15570           attributes = _this$props2.attributes,
       
 15571           setAttributes = _this$props2.setAttributes;
       
 15572       var src = attributes.src; // Set the block's src from the edit component's state, and switch off
       
 15573       // the editing UI.
       
 15574 
       
 15575       if (newSrc !== src) {
       
 15576         // Check if there's an embed block that handles this URL.
       
 15577         var embedBlock = Object(util["a" /* createUpgradedEmbedBlock */])({
       
 15578           attributes: {
       
 15579             url: newSrc
       
 15580           }
       
 15581         });
       
 15582 
       
 15583         if (undefined !== embedBlock) {
       
 15584           this.props.onReplace(embedBlock);
       
 15585           return;
       
 15586         }
       
 15587 
       
 15588         setAttributes({
       
 15589           src: newSrc,
       
 15590           id: undefined
       
 15591         });
       
 15592       }
       
 15593 
       
 15594       this.setState({
       
 15595         editing: false
       
 15596       });
       
 15597     }
       
 15598   }, {
       
 15599     key: "onSelectPoster",
       
 15600     value: function onSelectPoster(image) {
       
 15601       var setAttributes = this.props.setAttributes;
       
 15602       setAttributes({
       
 15603         poster: image.url
       
 15604       });
       
 15605     }
       
 15606   }, {
       
 15607     key: "onRemovePoster",
       
 15608     value: function onRemovePoster() {
       
 15609       var setAttributes = this.props.setAttributes;
       
 15610       setAttributes({
       
 15611         poster: ''
       
 15612       }); // Move focus back to the Media Upload button.
       
 15613 
       
 15614       this.posterImageButton.current.focus();
       
 15615     }
       
 15616   }, {
       
 15617     key: "render",
       
 15618     value: function render() {
       
 15619       var _this4 = this;
       
 15620 
       
 15621       var _this$props$attribute = this.props.attributes,
       
 15622           autoplay = _this$props$attribute.autoplay,
       
 15623           caption = _this$props$attribute.caption,
       
 15624           controls = _this$props$attribute.controls,
       
 15625           loop = _this$props$attribute.loop,
       
 15626           muted = _this$props$attribute.muted,
       
 15627           poster = _this$props$attribute.poster,
       
 15628           preload = _this$props$attribute.preload,
       
 15629           src = _this$props$attribute.src;
       
 15630       var _this$props3 = this.props,
       
 15631           setAttributes = _this$props3.setAttributes,
       
 15632           isSelected = _this$props3.isSelected,
       
 15633           className = _this$props3.className,
       
 15634           noticeOperations = _this$props3.noticeOperations,
       
 15635           noticeUI = _this$props3.noticeUI;
       
 15636       var editing = this.state.editing;
       
 15637 
       
 15638       var switchToEditing = function switchToEditing() {
       
 15639         _this4.setState({
       
 15640           editing: true
       
 15641         });
       
 15642       };
       
 15643 
       
 15644       var onSelectVideo = function onSelectVideo(media) {
       
 15645         if (!media || !media.url) {
       
 15646           // in this case there was an error and we should continue in the editing state
       
 15647           // previous attributes should be removed because they may be temporary blob urls
       
 15648           setAttributes({
       
 15649             src: undefined,
       
 15650             id: undefined
       
 15651           });
       
 15652           switchToEditing();
       
 15653           return;
       
 15654         } // sets the block's attribute and updates the edit component from the
       
 15655         // selected media, then switches off the editing UI
       
 15656 
       
 15657 
       
 15658         setAttributes({
       
 15659           src: media.url,
       
 15660           id: media.id
       
 15661         });
       
 15662 
       
 15663         _this4.setState({
       
 15664           src: media.url,
       
 15665           editing: false
       
 15666         });
       
 15667       };
       
 15668 
       
 15669       if (editing) {
       
 15670         return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaPlaceholder"], {
       
 15671           icon: Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], {
       
 15672             icon: icon
       
 15673           }),
       
 15674           className: className,
       
 15675           onSelect: onSelectVideo,
       
 15676           onSelectURL: this.onSelectURL,
       
 15677           accept: "video/*",
       
 15678           allowedTypes: ALLOWED_MEDIA_TYPES,
       
 15679           value: this.props.attributes,
       
 15680           notices: noticeUI,
       
 15681           onError: noticeOperations.createErrorNotice
       
 15682         });
       
 15683       }
       
 15684       /* eslint-disable jsx-a11y/no-static-element-interactions, jsx-a11y/onclick-has-role, jsx-a11y/click-events-have-key-events */
       
 15685 
       
 15686 
       
 15687       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], {
       
 15688         className: "components-icon-button components-toolbar__control",
       
 15689         label: Object(external_this_wp_i18n_["__"])('Edit video'),
       
 15690         onClick: switchToEditing,
       
 15691         icon: "edit"
       
 15692       }))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 15693         title: Object(external_this_wp_i18n_["__"])('Video Settings')
       
 15694       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 15695         label: Object(external_this_wp_i18n_["__"])('Autoplay'),
       
 15696         onChange: this.toggleAttribute('autoplay'),
       
 15697         checked: autoplay
       
 15698       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 15699         label: Object(external_this_wp_i18n_["__"])('Loop'),
       
 15700         onChange: this.toggleAttribute('loop'),
       
 15701         checked: loop
       
 15702       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 15703         label: Object(external_this_wp_i18n_["__"])('Muted'),
       
 15704         onChange: this.toggleAttribute('muted'),
       
 15705         checked: muted
       
 15706       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 15707         label: Object(external_this_wp_i18n_["__"])('Playback Controls'),
       
 15708         onChange: this.toggleAttribute('controls'),
       
 15709         checked: controls
       
 15710       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], {
       
 15711         label: Object(external_this_wp_i18n_["__"])('Preload'),
       
 15712         value: preload,
       
 15713         onChange: function onChange(value) {
       
 15714           return setAttributes({
       
 15715             preload: value
       
 15716           });
       
 15717         },
       
 15718         options: [{
       
 15719           value: 'auto',
       
 15720           label: Object(external_this_wp_i18n_["__"])('Auto')
       
 15721         }, {
       
 15722           value: 'metadata',
       
 15723           label: Object(external_this_wp_i18n_["__"])('Metadata')
       
 15724         }, {
       
 15725           value: 'none',
       
 15726           label: Object(external_this_wp_i18n_["__"])('None')
       
 15727         }]
       
 15728       }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUploadCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"], {
       
 15729         className: "editor-video-poster-control",
       
 15730         label: Object(external_this_wp_i18n_["__"])('Poster Image')
       
 15731       }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUpload"], {
       
 15732         title: Object(external_this_wp_i18n_["__"])('Select Poster Image'),
       
 15733         onSelect: this.onSelectPoster,
       
 15734         allowedTypes: VIDEO_POSTER_ALLOWED_MEDIA_TYPES,
       
 15735         render: function render(_ref3) {
       
 15736           var open = _ref3.open;
       
 15737           return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
 15738             isDefault: true,
       
 15739             onClick: open,
       
 15740             ref: _this4.posterImageButton
       
 15741           }, !_this4.props.attributes.poster ? Object(external_this_wp_i18n_["__"])('Select Poster Image') : Object(external_this_wp_i18n_["__"])('Replace image'));
       
 15742         }
       
 15743       }), !!this.props.attributes.poster && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
 15744         onClick: this.onRemovePoster,
       
 15745         isLink: true,
       
 15746         isDestructive: true
       
 15747       }, Object(external_this_wp_i18n_["__"])('Remove Poster Image')))))), Object(external_this_wp_element_["createElement"])("figure", {
       
 15748         className: className
       
 15749       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Disabled"], null, Object(external_this_wp_element_["createElement"])("video", {
       
 15750         controls: controls,
       
 15751         poster: poster,
       
 15752         src: src,
       
 15753         ref: this.videoPlayer
       
 15754       })), (!external_this_wp_blockEditor_["RichText"].isEmpty(caption) || isSelected) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 15755         tagName: "figcaption",
       
 15756         placeholder: Object(external_this_wp_i18n_["__"])('Write caption…'),
       
 15757         value: caption,
       
 15758         onChange: function onChange(value) {
       
 15759           return setAttributes({
       
 15760             caption: value
       
 15761           });
       
 15762         },
       
 15763         inlineToolbar: true
       
 15764       })));
       
 15765       /* eslint-enable jsx-a11y/no-static-element-interactions, jsx-a11y/onclick-has-role, jsx-a11y/click-events-have-key-events */
       
 15766     }
       
 15767   }]);
       
 15768 
       
 15769   return VideoEdit;
       
 15770 }(external_this_wp_element_["Component"]);
       
 15771 
       
 15772 /* harmony default export */ var edit = (Object(external_this_wp_components_["withNotices"])(edit_VideoEdit));
       
 15773 
       
 15774 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/index.js
       
 15775 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return video_name; });
       
 15776 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
 15777 
       
 15778 
       
 15779 /**
       
 15780  * WordPress dependencies
       
 15781  */
       
 15782 
       
 15783 
       
 15784 
       
 15785 
       
 15786 /**
       
 15787  * Internal dependencies
       
 15788  */
       
 15789 
       
 15790 
       
 15791 
       
 15792 var video_name = 'core/video';
       
 15793 var settings = {
       
 15794   title: Object(external_this_wp_i18n_["__"])('Video'),
       
 15795   description: Object(external_this_wp_i18n_["__"])('Embed a video from your media library or upload a new one.'),
       
 15796   icon: icon,
       
 15797   keywords: [Object(external_this_wp_i18n_["__"])('movie')],
       
 15798   category: 'common',
       
 15799   attributes: {
       
 15800     autoplay: {
       
 15801       type: 'boolean',
       
 15802       source: 'attribute',
       
 15803       selector: 'video',
       
 15804       attribute: 'autoplay'
       
 15805     },
       
 15806     caption: {
       
 15807       type: 'string',
       
 15808       source: 'html',
       
 15809       selector: 'figcaption'
       
 15810     },
       
 15811     controls: {
       
 15812       type: 'boolean',
       
 15813       source: 'attribute',
       
 15814       selector: 'video',
       
 15815       attribute: 'controls',
       
 15816       default: true
       
 15817     },
       
 15818     id: {
       
 15819       type: 'number'
       
 15820     },
       
 15821     loop: {
       
 15822       type: 'boolean',
       
 15823       source: 'attribute',
       
 15824       selector: 'video',
       
 15825       attribute: 'loop'
       
 15826     },
       
 15827     muted: {
       
 15828       type: 'boolean',
       
 15829       source: 'attribute',
       
 15830       selector: 'video',
       
 15831       attribute: 'muted'
       
 15832     },
       
 15833     poster: {
       
 15834       type: 'string',
       
 15835       source: 'attribute',
       
 15836       selector: 'video',
       
 15837       attribute: 'poster'
       
 15838     },
       
 15839     preload: {
       
 15840       type: 'string',
       
 15841       source: 'attribute',
       
 15842       selector: 'video',
       
 15843       attribute: 'preload',
       
 15844       default: 'metadata'
       
 15845     },
       
 15846     src: {
       
 15847       type: 'string',
       
 15848       source: 'attribute',
       
 15849       selector: 'video',
       
 15850       attribute: 'src'
       
 15851     }
       
 15852   },
       
 15853   transforms: {
       
 15854     from: [{
       
 15855       type: 'files',
       
 15856       isMatch: function isMatch(files) {
       
 15857         return files.length === 1 && files[0].type.indexOf('video/') === 0;
       
 15858       },
       
 15859       transform: function transform(files) {
       
 15860         var file = files[0]; // We don't need to upload the media directly here
       
 15861         // It's already done as part of the `componentDidMount`
       
 15862         // in the video block
       
 15863 
       
 15864         var block = Object(external_this_wp_blocks_["createBlock"])('core/video', {
       
 15865           src: Object(external_this_wp_blob_["createBlobURL"])(file)
       
 15866         });
       
 15867         return block;
       
 15868       }
       
 15869     }, {
       
 15870       type: 'shortcode',
       
 15871       tag: 'video',
       
 15872       attributes: {
       
 15873         src: {
       
 15874           type: 'string',
       
 15875           shortcode: function shortcode(_ref) {
       
 15876             var src = _ref.named.src;
       
 15877             return src;
       
 15878           }
       
 15879         },
       
 15880         poster: {
       
 15881           type: 'string',
       
 15882           shortcode: function shortcode(_ref2) {
       
 15883             var poster = _ref2.named.poster;
       
 15884             return poster;
       
 15885           }
       
 15886         },
       
 15887         loop: {
       
 15888           type: 'string',
       
 15889           shortcode: function shortcode(_ref3) {
       
 15890             var loop = _ref3.named.loop;
       
 15891             return loop;
       
 15892           }
       
 15893         },
       
 15894         autoplay: {
       
 15895           type: 'string',
       
 15896           shortcode: function shortcode(_ref4) {
       
 15897             var autoplay = _ref4.named.autoplay;
       
 15898             return autoplay;
       
 15899           }
       
 15900         },
       
 15901         preload: {
       
 15902           type: 'string',
       
 15903           shortcode: function shortcode(_ref5) {
       
 15904             var preload = _ref5.named.preload;
       
 15905             return preload;
       
 15906           }
       
 15907         }
       
 15908       }
       
 15909     }]
       
 15910   },
       
 15911   supports: {
       
 15912     align: true
       
 15913   },
       
 15914   edit: edit,
       
 15915   save: function save(_ref6) {
       
 15916     var attributes = _ref6.attributes;
       
 15917     var autoplay = attributes.autoplay,
       
 15918         caption = attributes.caption,
       
 15919         controls = attributes.controls,
       
 15920         loop = attributes.loop,
       
 15921         muted = attributes.muted,
       
 15922         poster = attributes.poster,
       
 15923         preload = attributes.preload,
       
 15924         src = attributes.src;
       
 15925     return Object(external_this_wp_element_["createElement"])("figure", null, src && Object(external_this_wp_element_["createElement"])("video", {
       
 15926       autoPlay: autoplay,
       
 15927       controls: controls,
       
 15928       loop: loop,
       
 15929       muted: muted,
       
 15930       poster: poster,
       
 15931       preload: preload !== 'metadata' ? preload : undefined,
       
 15932       src: src
       
 15933     }), !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 15934       tagName: "figcaption",
       
 15935       value: caption
       
 15936     }));
       
 15937   }
       
 15938 };
       
 15939 
       
 15940 
       
 15941 /***/ }),
       
 15942 /* 239 */
       
 15943 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
 15944 
       
 15945 "use strict";
       
 15946 __webpack_require__.r(__webpack_exports__);
       
 15947 
       
 15948 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
 15949 var external_this_wp_element_ = __webpack_require__(0);
       
 15950 
       
 15951 // EXTERNAL MODULE: ./node_modules/classnames/index.js
       
 15952 var classnames = __webpack_require__(16);
       
 15953 var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
       
 15954 
       
 15955 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
 15956 var external_this_wp_i18n_ = __webpack_require__(1);
       
 15957 
       
 15958 // EXTERNAL MODULE: external {"this":["wp","blocks"]}
       
 15959 var external_this_wp_blocks_ = __webpack_require__(14);
       
 15960 
       
 15961 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
 15962 var external_this_wp_components_ = __webpack_require__(4);
       
 15963 
       
 15964 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
       
 15965 var external_this_wp_blockEditor_ = __webpack_require__(8);
       
 15966 
       
 15967 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
 15968 var classCallCheck = __webpack_require__(10);
       
 15969 
       
 15970 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
 15971 var createClass = __webpack_require__(9);
       
 15972 
       
 15973 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
 15974 var possibleConstructorReturn = __webpack_require__(11);
       
 15975 
       
 15976 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
 15977 var getPrototypeOf = __webpack_require__(12);
       
 15978 
       
 15979 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
 15980 var inherits = __webpack_require__(13);
       
 15981 
       
 15982 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
       
 15983 var assertThisInitialized = __webpack_require__(3);
       
 15984 
       
 15985 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
       
 15986 var toConsumableArray = __webpack_require__(17);
       
 15987 
       
 15988 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
       
 15989 var defineProperty = __webpack_require__(15);
       
 15990 
       
 15991 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
       
 15992 var objectSpread = __webpack_require__(7);
       
 15993 
       
 15994 // EXTERNAL MODULE: external "lodash"
       
 15995 var external_lodash_ = __webpack_require__(2);
       
 15996 
       
 15997 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/state.js
       
 15998 
       
 15999 
       
 16000 
       
 16001 
       
 16002 /**
       
 16003  * External dependencies
       
 16004  */
       
 16005 
       
 16006 /**
       
 16007  * Creates a table state.
       
 16008  *
       
 16009  * @param {number} options.rowCount    Row count for the table to create.
       
 16010  * @param {number} options.columnCount Column count for the table to create.
       
 16011  *
       
 16012  * @return {Object} New table state.
       
 16013  */
       
 16014 
       
 16015 function createTable(_ref) {
       
 16016   var rowCount = _ref.rowCount,
       
 16017       columnCount = _ref.columnCount;
       
 16018   return {
       
 16019     body: Object(external_lodash_["times"])(rowCount, function () {
       
 16020       return {
       
 16021         cells: Object(external_lodash_["times"])(columnCount, function () {
       
 16022           return {
       
 16023             content: '',
       
 16024             tag: 'td'
       
 16025           };
       
 16026         })
       
 16027       };
       
 16028     })
       
 16029   };
       
 16030 }
       
 16031 /**
       
 16032  * Updates cell content in the table state.
       
 16033  *
       
 16034  * @param {Object} state               Current table state.
       
 16035  * @param {string} options.section     Section of the cell to update.
       
 16036  * @param {number} options.rowIndex    Row index of the cell to update.
       
 16037  * @param {number} options.columnIndex Column index of the cell to update.
       
 16038  * @param {Array}  options.content     Content to set for the cell.
       
 16039  *
       
 16040  * @return {Object} New table state.
       
 16041  */
       
 16042 
       
 16043 function updateCellContent(state, _ref2) {
       
 16044   var section = _ref2.section,
       
 16045       rowIndex = _ref2.rowIndex,
       
 16046       columnIndex = _ref2.columnIndex,
       
 16047       content = _ref2.content;
       
 16048   return Object(defineProperty["a" /* default */])({}, section, state[section].map(function (row, currentRowIndex) {
       
 16049     if (currentRowIndex !== rowIndex) {
       
 16050       return row;
       
 16051     }
       
 16052 
       
 16053     return {
       
 16054       cells: row.cells.map(function (cell, currentColumnIndex) {
       
 16055         if (currentColumnIndex !== columnIndex) {
       
 16056           return cell;
       
 16057         }
       
 16058 
       
 16059         return Object(objectSpread["a" /* default */])({}, cell, {
       
 16060           content: content
       
 16061         });
       
 16062       })
       
 16063     };
       
 16064   }));
       
 16065 }
       
 16066 /**
       
 16067  * Inserts a row in the table state.
       
 16068  *
       
 16069  * @param {Object} state            Current table state.
       
 16070  * @param {string} options.section  Section in which to insert the row.
       
 16071  * @param {number} options.rowIndex Row index at which to insert the row.
       
 16072  *
       
 16073  * @return {Object} New table state.
       
 16074  */
       
 16075 
       
 16076 function insertRow(state, _ref4) {
       
 16077   var section = _ref4.section,
       
 16078       rowIndex = _ref4.rowIndex;
       
 16079   var cellCount = state[section][0].cells.length;
       
 16080   return Object(defineProperty["a" /* default */])({}, section, [].concat(Object(toConsumableArray["a" /* default */])(state[section].slice(0, rowIndex)), [{
       
 16081     cells: Object(external_lodash_["times"])(cellCount, function () {
       
 16082       return {
       
 16083         content: '',
       
 16084         tag: 'td'
       
 16085       };
       
 16086     })
       
 16087   }], Object(toConsumableArray["a" /* default */])(state[section].slice(rowIndex))));
       
 16088 }
       
 16089 /**
       
 16090  * Deletes a row from the table state.
       
 16091  *
       
 16092  * @param {Object} state            Current table state.
       
 16093  * @param {string} options.section  Section in which to delete the row.
       
 16094  * @param {number} options.rowIndex Row index to delete.
       
 16095  *
       
 16096  * @return {Object} New table state.
       
 16097  */
       
 16098 
       
 16099 function deleteRow(state, _ref6) {
       
 16100   var section = _ref6.section,
       
 16101       rowIndex = _ref6.rowIndex;
       
 16102   return Object(defineProperty["a" /* default */])({}, section, state[section].filter(function (row, index) {
       
 16103     return index !== rowIndex;
       
 16104   }));
       
 16105 }
       
 16106 /**
       
 16107  * Inserts a column in the table state.
       
 16108  *
       
 16109  * @param {Object} state               Current table state.
       
 16110  * @param {string} options.section     Section in which to insert the column.
       
 16111  * @param {number} options.columnIndex Column index at which to insert the column.
       
 16112  *
       
 16113  * @return {Object} New table state.
       
 16114  */
       
 16115 
       
 16116 function insertColumn(state, _ref8) {
       
 16117   var section = _ref8.section,
       
 16118       columnIndex = _ref8.columnIndex;
       
 16119   return Object(defineProperty["a" /* default */])({}, section, state[section].map(function (row) {
       
 16120     return {
       
 16121       cells: [].concat(Object(toConsumableArray["a" /* default */])(row.cells.slice(0, columnIndex)), [{
       
 16122         content: '',
       
 16123         tag: 'td'
       
 16124       }], Object(toConsumableArray["a" /* default */])(row.cells.slice(columnIndex)))
       
 16125     };
       
 16126   }));
       
 16127 }
       
 16128 /**
       
 16129  * Deletes a column from the table state.
       
 16130  *
       
 16131  * @param {Object} state               Current table state.
       
 16132  * @param {string} options.section     Section in which to delete the column.
       
 16133  * @param {number} options.columnIndex Column index to delete.
       
 16134  *
       
 16135  * @return {Object} New table state.
       
 16136  */
       
 16137 
       
 16138 function deleteColumn(state, _ref10) {
       
 16139   var section = _ref10.section,
       
 16140       columnIndex = _ref10.columnIndex;
       
 16141   return Object(defineProperty["a" /* default */])({}, section, state[section].map(function (row) {
       
 16142     return {
       
 16143       cells: row.cells.filter(function (cell, index) {
       
 16144         return index !== columnIndex;
       
 16145       })
       
 16146     };
       
 16147   }).filter(function (row) {
       
 16148     return row.cells.length;
       
 16149   }));
       
 16150 }
       
 16151 
       
 16152 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/edit.js
       
 16153 
       
 16154 
       
 16155 
       
 16156 
       
 16157 
       
 16158 
       
 16159 
       
 16160 
       
 16161 /**
       
 16162  * External dependencies
       
 16163  */
       
 16164 
       
 16165 /**
       
 16166  * WordPress dependencies
       
 16167  */
       
 16168 
       
 16169 
       
 16170 
       
 16171 
       
 16172 
       
 16173 /**
       
 16174  * Internal dependencies
       
 16175  */
       
 16176 
       
 16177 
       
 16178 var BACKGROUND_COLORS = [{
       
 16179   color: '#f3f4f5',
       
 16180   name: 'Subtle light gray',
       
 16181   slug: 'subtle-light-gray'
       
 16182 }, {
       
 16183   color: '#e9fbe5',
       
 16184   name: 'Subtle pale green',
       
 16185   slug: 'subtle-pale-green'
       
 16186 }, {
       
 16187   color: '#e7f5fe',
       
 16188   name: 'Subtle pale blue',
       
 16189   slug: 'subtle-pale-blue'
       
 16190 }, {
       
 16191   color: '#fcf0ef',
       
 16192   name: 'Subtle pale pink',
       
 16193   slug: 'subtle-pale-pink'
       
 16194 }];
       
 16195 var withCustomBackgroundColors = Object(external_this_wp_blockEditor_["createCustomColorsHOC"])(BACKGROUND_COLORS);
       
 16196 var edit_TableEdit =
       
 16197 /*#__PURE__*/
       
 16198 function (_Component) {
       
 16199   Object(inherits["a" /* default */])(TableEdit, _Component);
       
 16200 
       
 16201   function TableEdit() {
       
 16202     var _this;
       
 16203 
       
 16204     Object(classCallCheck["a" /* default */])(this, TableEdit);
       
 16205 
       
 16206     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(TableEdit).apply(this, arguments));
       
 16207     _this.onCreateTable = _this.onCreateTable.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 16208     _this.onChangeFixedLayout = _this.onChangeFixedLayout.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 16209     _this.onChange = _this.onChange.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 16210     _this.onChangeInitialColumnCount = _this.onChangeInitialColumnCount.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 16211     _this.onChangeInitialRowCount = _this.onChangeInitialRowCount.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 16212     _this.renderSection = _this.renderSection.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 16213     _this.getTableControls = _this.getTableControls.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 16214     _this.onInsertRow = _this.onInsertRow.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 16215     _this.onInsertRowBefore = _this.onInsertRowBefore.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 16216     _this.onInsertRowAfter = _this.onInsertRowAfter.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 16217     _this.onDeleteRow = _this.onDeleteRow.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 16218     _this.onInsertColumn = _this.onInsertColumn.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 16219     _this.onInsertColumnBefore = _this.onInsertColumnBefore.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 16220     _this.onInsertColumnAfter = _this.onInsertColumnAfter.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 16221     _this.onDeleteColumn = _this.onDeleteColumn.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 16222     _this.state = {
       
 16223       initialRowCount: 2,
       
 16224       initialColumnCount: 2,
       
 16225       selectedCell: null
       
 16226     };
       
 16227     return _this;
       
 16228   }
       
 16229   /**
       
 16230    * Updates the initial column count used for table creation.
       
 16231    *
       
 16232    * @param {number} initialColumnCount New initial column count.
       
 16233    */
       
 16234 
       
 16235 
       
 16236   Object(createClass["a" /* default */])(TableEdit, [{
       
 16237     key: "onChangeInitialColumnCount",
       
 16238     value: function onChangeInitialColumnCount(initialColumnCount) {
       
 16239       this.setState({
       
 16240         initialColumnCount: initialColumnCount
       
 16241       });
       
 16242     }
       
 16243     /**
       
 16244      * Updates the initial row count used for table creation.
       
 16245      *
       
 16246      * @param {number} initialRowCount New initial row count.
       
 16247      */
       
 16248 
       
 16249   }, {
       
 16250     key: "onChangeInitialRowCount",
       
 16251     value: function onChangeInitialRowCount(initialRowCount) {
       
 16252       this.setState({
       
 16253         initialRowCount: initialRowCount
       
 16254       });
       
 16255     }
       
 16256     /**
       
 16257      * Creates a table based on dimensions in local state.
       
 16258      *
       
 16259      * @param {Object} event Form submit event.
       
 16260      */
       
 16261 
       
 16262   }, {
       
 16263     key: "onCreateTable",
       
 16264     value: function onCreateTable(event) {
       
 16265       event.preventDefault();
       
 16266       var setAttributes = this.props.setAttributes;
       
 16267       var _this$state = this.state,
       
 16268           initialRowCount = _this$state.initialRowCount,
       
 16269           initialColumnCount = _this$state.initialColumnCount;
       
 16270       initialRowCount = parseInt(initialRowCount, 10) || 2;
       
 16271       initialColumnCount = parseInt(initialColumnCount, 10) || 2;
       
 16272       setAttributes(createTable({
       
 16273         rowCount: initialRowCount,
       
 16274         columnCount: initialColumnCount
       
 16275       }));
       
 16276     }
       
 16277     /**
       
 16278      * Toggles whether the table has a fixed layout or not.
       
 16279      */
       
 16280 
       
 16281   }, {
       
 16282     key: "onChangeFixedLayout",
       
 16283     value: function onChangeFixedLayout() {
       
 16284       var _this$props = this.props,
       
 16285           attributes = _this$props.attributes,
       
 16286           setAttributes = _this$props.setAttributes;
       
 16287       var hasFixedLayout = attributes.hasFixedLayout;
       
 16288       setAttributes({
       
 16289         hasFixedLayout: !hasFixedLayout
       
 16290       });
       
 16291     }
       
 16292     /**
       
 16293      * Changes the content of the currently selected cell.
       
 16294      *
       
 16295      * @param {Array} content A RichText content value.
       
 16296      */
       
 16297 
       
 16298   }, {
       
 16299     key: "onChange",
       
 16300     value: function onChange(content) {
       
 16301       var selectedCell = this.state.selectedCell;
       
 16302 
       
 16303       if (!selectedCell) {
       
 16304         return;
       
 16305       }
       
 16306 
       
 16307       var _this$props2 = this.props,
       
 16308           attributes = _this$props2.attributes,
       
 16309           setAttributes = _this$props2.setAttributes;
       
 16310       var section = selectedCell.section,
       
 16311           rowIndex = selectedCell.rowIndex,
       
 16312           columnIndex = selectedCell.columnIndex;
       
 16313       setAttributes(updateCellContent(attributes, {
       
 16314         section: section,
       
 16315         rowIndex: rowIndex,
       
 16316         columnIndex: columnIndex,
       
 16317         content: content
       
 16318       }));
       
 16319     }
       
 16320     /**
       
 16321      * Inserts a row at the currently selected row index, plus `delta`.
       
 16322      *
       
 16323      * @param {number} delta Offset for selected row index at which to insert.
       
 16324      */
       
 16325 
       
 16326   }, {
       
 16327     key: "onInsertRow",
       
 16328     value: function onInsertRow(delta) {
       
 16329       var selectedCell = this.state.selectedCell;
       
 16330 
       
 16331       if (!selectedCell) {
       
 16332         return;
       
 16333       }
       
 16334 
       
 16335       var _this$props3 = this.props,
       
 16336           attributes = _this$props3.attributes,
       
 16337           setAttributes = _this$props3.setAttributes;
       
 16338       var section = selectedCell.section,
       
 16339           rowIndex = selectedCell.rowIndex;
       
 16340       this.setState({
       
 16341         selectedCell: null
       
 16342       });
       
 16343       setAttributes(insertRow(attributes, {
       
 16344         section: section,
       
 16345         rowIndex: rowIndex + delta
       
 16346       }));
       
 16347     }
       
 16348     /**
       
 16349      * Inserts a row before the currently selected row.
       
 16350      */
       
 16351 
       
 16352   }, {
       
 16353     key: "onInsertRowBefore",
       
 16354     value: function onInsertRowBefore() {
       
 16355       this.onInsertRow(0);
       
 16356     }
       
 16357     /**
       
 16358      * Inserts a row after the currently selected row.
       
 16359      */
       
 16360 
       
 16361   }, {
       
 16362     key: "onInsertRowAfter",
       
 16363     value: function onInsertRowAfter() {
       
 16364       this.onInsertRow(1);
       
 16365     }
       
 16366     /**
       
 16367      * Deletes the currently selected row.
       
 16368      */
       
 16369 
       
 16370   }, {
       
 16371     key: "onDeleteRow",
       
 16372     value: function onDeleteRow() {
       
 16373       var selectedCell = this.state.selectedCell;
       
 16374 
       
 16375       if (!selectedCell) {
       
 16376         return;
       
 16377       }
       
 16378 
       
 16379       var _this$props4 = this.props,
       
 16380           attributes = _this$props4.attributes,
       
 16381           setAttributes = _this$props4.setAttributes;
       
 16382       var section = selectedCell.section,
       
 16383           rowIndex = selectedCell.rowIndex;
       
 16384       this.setState({
       
 16385         selectedCell: null
       
 16386       });
       
 16387       setAttributes(deleteRow(attributes, {
       
 16388         section: section,
       
 16389         rowIndex: rowIndex
       
 16390       }));
       
 16391     }
       
 16392     /**
       
 16393      * Inserts a column at the currently selected column index, plus `delta`.
       
 16394      *
       
 16395      * @param {number} delta Offset for selected column index at which to insert.
       
 16396      */
       
 16397 
       
 16398   }, {
       
 16399     key: "onInsertColumn",
       
 16400     value: function onInsertColumn() {
       
 16401       var delta = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
       
 16402       var selectedCell = this.state.selectedCell;
       
 16403 
       
 16404       if (!selectedCell) {
       
 16405         return;
       
 16406       }
       
 16407 
       
 16408       var _this$props5 = this.props,
       
 16409           attributes = _this$props5.attributes,
       
 16410           setAttributes = _this$props5.setAttributes;
       
 16411       var section = selectedCell.section,
       
 16412           columnIndex = selectedCell.columnIndex;
       
 16413       this.setState({
       
 16414         selectedCell: null
       
 16415       });
       
 16416       setAttributes(insertColumn(attributes, {
       
 16417         section: section,
       
 16418         columnIndex: columnIndex + delta
       
 16419       }));
       
 16420     }
       
 16421     /**
       
 16422      * Inserts a column before the currently selected column.
       
 16423      */
       
 16424 
       
 16425   }, {
       
 16426     key: "onInsertColumnBefore",
       
 16427     value: function onInsertColumnBefore() {
       
 16428       this.onInsertColumn(0);
       
 16429     }
       
 16430     /**
       
 16431      * Inserts a column after the currently selected column.
       
 16432      */
       
 16433 
       
 16434   }, {
       
 16435     key: "onInsertColumnAfter",
       
 16436     value: function onInsertColumnAfter() {
       
 16437       this.onInsertColumn(1);
       
 16438     }
       
 16439     /**
       
 16440      * Deletes the currently selected column.
       
 16441      */
       
 16442 
       
 16443   }, {
       
 16444     key: "onDeleteColumn",
       
 16445     value: function onDeleteColumn() {
       
 16446       var selectedCell = this.state.selectedCell;
       
 16447 
       
 16448       if (!selectedCell) {
       
 16449         return;
       
 16450       }
       
 16451 
       
 16452       var _this$props6 = this.props,
       
 16453           attributes = _this$props6.attributes,
       
 16454           setAttributes = _this$props6.setAttributes;
       
 16455       var section = selectedCell.section,
       
 16456           columnIndex = selectedCell.columnIndex;
       
 16457       this.setState({
       
 16458         selectedCell: null
       
 16459       });
       
 16460       setAttributes(deleteColumn(attributes, {
       
 16461         section: section,
       
 16462         columnIndex: columnIndex
       
 16463       }));
       
 16464     }
       
 16465     /**
       
 16466      * Creates an onFocus handler for a specified cell.
       
 16467      *
       
 16468      * @param {Object} selectedCell Object with `section`, `rowIndex`, and
       
 16469      *                              `columnIndex` properties.
       
 16470      *
       
 16471      * @return {Function} Function to call on focus.
       
 16472      */
       
 16473 
       
 16474   }, {
       
 16475     key: "createOnFocus",
       
 16476     value: function createOnFocus(selectedCell) {
       
 16477       var _this2 = this;
       
 16478 
       
 16479       return function () {
       
 16480         _this2.setState({
       
 16481           selectedCell: selectedCell
       
 16482         });
       
 16483       };
       
 16484     }
       
 16485     /**
       
 16486      * Gets the table controls to display in the block toolbar.
       
 16487      *
       
 16488      * @return {Array} Table controls.
       
 16489      */
       
 16490 
       
 16491   }, {
       
 16492     key: "getTableControls",
       
 16493     value: function getTableControls() {
       
 16494       var selectedCell = this.state.selectedCell;
       
 16495       return [{
       
 16496         icon: 'table-row-before',
       
 16497         title: Object(external_this_wp_i18n_["__"])('Add Row Before'),
       
 16498         isDisabled: !selectedCell,
       
 16499         onClick: this.onInsertRowBefore
       
 16500       }, {
       
 16501         icon: 'table-row-after',
       
 16502         title: Object(external_this_wp_i18n_["__"])('Add Row After'),
       
 16503         isDisabled: !selectedCell,
       
 16504         onClick: this.onInsertRowAfter
       
 16505       }, {
       
 16506         icon: 'table-row-delete',
       
 16507         title: Object(external_this_wp_i18n_["__"])('Delete Row'),
       
 16508         isDisabled: !selectedCell,
       
 16509         onClick: this.onDeleteRow
       
 16510       }, {
       
 16511         icon: 'table-col-before',
       
 16512         title: Object(external_this_wp_i18n_["__"])('Add Column Before'),
       
 16513         isDisabled: !selectedCell,
       
 16514         onClick: this.onInsertColumnBefore
       
 16515       }, {
       
 16516         icon: 'table-col-after',
       
 16517         title: Object(external_this_wp_i18n_["__"])('Add Column After'),
       
 16518         isDisabled: !selectedCell,
       
 16519         onClick: this.onInsertColumnAfter
       
 16520       }, {
       
 16521         icon: 'table-col-delete',
       
 16522         title: Object(external_this_wp_i18n_["__"])('Delete Column'),
       
 16523         isDisabled: !selectedCell,
       
 16524         onClick: this.onDeleteColumn
       
 16525       }];
       
 16526     }
       
 16527     /**
       
 16528      * Renders a table section.
       
 16529      *
       
 16530      * @param {string} options.type Section type: head, body, or foot.
       
 16531      * @param {Array}  options.rows The rows to render.
       
 16532      *
       
 16533      * @return {Object} React element for the section.
       
 16534      */
       
 16535 
       
 16536   }, {
       
 16537     key: "renderSection",
       
 16538     value: function renderSection(_ref) {
       
 16539       var _this3 = this;
       
 16540 
       
 16541       var type = _ref.type,
       
 16542           rows = _ref.rows;
       
 16543 
       
 16544       if (!rows.length) {
       
 16545         return null;
       
 16546       }
       
 16547 
       
 16548       var Tag = "t".concat(type);
       
 16549       var selectedCell = this.state.selectedCell;
       
 16550       return Object(external_this_wp_element_["createElement"])(Tag, null, rows.map(function (_ref2, rowIndex) {
       
 16551         var cells = _ref2.cells;
       
 16552         return Object(external_this_wp_element_["createElement"])("tr", {
       
 16553           key: rowIndex
       
 16554         }, cells.map(function (_ref3, columnIndex) {
       
 16555           var content = _ref3.content,
       
 16556               CellTag = _ref3.tag;
       
 16557           var isSelected = selectedCell && type === selectedCell.section && rowIndex === selectedCell.rowIndex && columnIndex === selectedCell.columnIndex;
       
 16558           var cell = {
       
 16559             section: type,
       
 16560             rowIndex: rowIndex,
       
 16561             columnIndex: columnIndex
       
 16562           };
       
 16563           var cellClasses = classnames_default()({
       
 16564             'is-selected': isSelected
       
 16565           });
       
 16566           return Object(external_this_wp_element_["createElement"])(CellTag, {
       
 16567             key: columnIndex,
       
 16568             className: cellClasses
       
 16569           }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 16570             className: "wp-block-table__cell-content",
       
 16571             value: content,
       
 16572             onChange: _this3.onChange,
       
 16573             unstableOnFocus: _this3.createOnFocus(cell)
       
 16574           }));
       
 16575         }));
       
 16576       }));
       
 16577     }
       
 16578   }, {
       
 16579     key: "componentDidUpdate",
       
 16580     value: function componentDidUpdate() {
       
 16581       var isSelected = this.props.isSelected;
       
 16582       var selectedCell = this.state.selectedCell;
       
 16583 
       
 16584       if (!isSelected && selectedCell) {
       
 16585         this.setState({
       
 16586           selectedCell: null
       
 16587         });
       
 16588       }
       
 16589     }
       
 16590   }, {
       
 16591     key: "render",
       
 16592     value: function render() {
       
 16593       var _this$props7 = this.props,
       
 16594           attributes = _this$props7.attributes,
       
 16595           className = _this$props7.className,
       
 16596           backgroundColor = _this$props7.backgroundColor,
       
 16597           setBackgroundColor = _this$props7.setBackgroundColor;
       
 16598       var _this$state2 = this.state,
       
 16599           initialRowCount = _this$state2.initialRowCount,
       
 16600           initialColumnCount = _this$state2.initialColumnCount;
       
 16601       var hasFixedLayout = attributes.hasFixedLayout,
       
 16602           head = attributes.head,
       
 16603           body = attributes.body,
       
 16604           foot = attributes.foot;
       
 16605       var isEmpty = !head.length && !body.length && !foot.length;
       
 16606       var Section = this.renderSection;
       
 16607 
       
 16608       if (isEmpty) {
       
 16609         return Object(external_this_wp_element_["createElement"])("form", {
       
 16610           onSubmit: this.onCreateTable
       
 16611         }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
       
 16612           type: "number",
       
 16613           label: Object(external_this_wp_i18n_["__"])('Column Count'),
       
 16614           value: initialColumnCount,
       
 16615           onChange: this.onChangeInitialColumnCount,
       
 16616           min: "1"
       
 16617         }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
       
 16618           type: "number",
       
 16619           label: Object(external_this_wp_i18n_["__"])('Row Count'),
       
 16620           value: initialRowCount,
       
 16621           onChange: this.onChangeInitialRowCount,
       
 16622           min: "1"
       
 16623         }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
 16624           isPrimary: true,
       
 16625           type: "submit"
       
 16626         }, Object(external_this_wp_i18n_["__"])('Create')));
       
 16627       }
       
 16628 
       
 16629       var classes = classnames_default()(className, backgroundColor.class, {
       
 16630         'has-fixed-layout': hasFixedLayout,
       
 16631         'has-background': !!backgroundColor.color
       
 16632       });
       
 16633       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["DropdownMenu"], {
       
 16634         icon: "editor-table",
       
 16635         label: Object(external_this_wp_i18n_["__"])('Edit table'),
       
 16636         controls: this.getTableControls()
       
 16637       }))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 16638         title: Object(external_this_wp_i18n_["__"])('Table Settings'),
       
 16639         className: "blocks-table-settings"
       
 16640       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 16641         label: Object(external_this_wp_i18n_["__"])('Fixed width table cells'),
       
 16642         checked: !!hasFixedLayout,
       
 16643         onChange: this.onChangeFixedLayout
       
 16644       })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PanelColorSettings"], {
       
 16645         title: Object(external_this_wp_i18n_["__"])('Color Settings'),
       
 16646         initialOpen: false,
       
 16647         colorSettings: [{
       
 16648           value: backgroundColor.color,
       
 16649           onChange: setBackgroundColor,
       
 16650           label: Object(external_this_wp_i18n_["__"])('Background Color'),
       
 16651           disableCustomColors: true,
       
 16652           colors: BACKGROUND_COLORS
       
 16653         }]
       
 16654       })), Object(external_this_wp_element_["createElement"])("table", {
       
 16655         className: classes
       
 16656       }, Object(external_this_wp_element_["createElement"])(Section, {
       
 16657         type: "head",
       
 16658         rows: head
       
 16659       }), Object(external_this_wp_element_["createElement"])(Section, {
       
 16660         type: "body",
       
 16661         rows: body
       
 16662       }), Object(external_this_wp_element_["createElement"])(Section, {
       
 16663         type: "foot",
       
 16664         rows: foot
       
 16665       })));
       
 16666     }
       
 16667   }]);
       
 16668 
       
 16669   return TableEdit;
       
 16670 }(external_this_wp_element_["Component"]);
       
 16671 /* harmony default export */ var edit = (withCustomBackgroundColors('backgroundColor')(edit_TableEdit));
       
 16672 
       
 16673 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/index.js
       
 16674 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return table_name; });
       
 16675 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
 16676 
       
 16677 
       
 16678 /**
       
 16679  * External dependencies
       
 16680  */
       
 16681 
       
 16682 /**
       
 16683  * WordPress dependencies
       
 16684  */
       
 16685 
       
 16686 
       
 16687 
       
 16688 
       
 16689 
       
 16690 /**
       
 16691  * Internal dependencies
       
 16692  */
       
 16693 
       
 16694 
       
 16695 var tableContentPasteSchema = {
       
 16696   tr: {
       
 16697     allowEmpty: true,
       
 16698     children: {
       
 16699       th: {
       
 16700         allowEmpty: true,
       
 16701         children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])()
       
 16702       },
       
 16703       td: {
       
 16704         allowEmpty: true,
       
 16705         children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])()
       
 16706       }
       
 16707     }
       
 16708   }
       
 16709 };
       
 16710 var tablePasteSchema = {
       
 16711   table: {
       
 16712     children: {
       
 16713       thead: {
       
 16714         allowEmpty: true,
       
 16715         children: tableContentPasteSchema
       
 16716       },
       
 16717       tfoot: {
       
 16718         allowEmpty: true,
       
 16719         children: tableContentPasteSchema
       
 16720       },
       
 16721       tbody: {
       
 16722         allowEmpty: true,
       
 16723         children: tableContentPasteSchema
       
 16724       }
       
 16725     }
       
 16726   }
       
 16727 };
       
 16728 
       
 16729 function getTableSectionAttributeSchema(section) {
       
 16730   return {
       
 16731     type: 'array',
       
 16732     default: [],
       
 16733     source: 'query',
       
 16734     selector: "t".concat(section, " tr"),
       
 16735     query: {
       
 16736       cells: {
       
 16737         type: 'array',
       
 16738         default: [],
       
 16739         source: 'query',
       
 16740         selector: 'td,th',
       
 16741         query: {
       
 16742           content: {
       
 16743             type: 'string',
       
 16744             source: 'html'
       
 16745           },
       
 16746           tag: {
       
 16747             type: 'string',
       
 16748             default: 'td',
       
 16749             source: 'tag'
       
 16750           }
       
 16751         }
       
 16752       }
       
 16753     }
       
 16754   };
       
 16755 }
       
 16756 
       
 16757 var table_name = 'core/table';
       
 16758 var settings = {
       
 16759   title: Object(external_this_wp_i18n_["__"])('Table'),
       
 16760   description: Object(external_this_wp_i18n_["__"])('Insert a table — perfect for sharing charts and data.'),
       
 16761   icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
 16762     viewBox: "0 0 24 24",
       
 16763     xmlns: "http://www.w3.org/2000/svg"
       
 16764   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 16765     fill: "none",
       
 16766     d: "M0 0h24v24H0V0z"
       
 16767   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["G"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 16768     d: "M20 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 2v3H5V5h15zm-5 14h-5v-9h5v9zM5 10h3v9H5v-9zm12 9v-9h3v9h-3z"
       
 16769   }))),
       
 16770   category: 'formatting',
       
 16771   attributes: {
       
 16772     hasFixedLayout: {
       
 16773       type: 'boolean',
       
 16774       default: false
       
 16775     },
       
 16776     backgroundColor: {
       
 16777       type: 'string'
       
 16778     },
       
 16779     head: getTableSectionAttributeSchema('head'),
       
 16780     body: getTableSectionAttributeSchema('body'),
       
 16781     foot: getTableSectionAttributeSchema('foot')
       
 16782   },
       
 16783   styles: [{
       
 16784     name: 'regular',
       
 16785     label: Object(external_this_wp_i18n_["_x"])('Default', 'block style'),
       
 16786     isDefault: true
       
 16787   }, {
       
 16788     name: 'stripes',
       
 16789     label: Object(external_this_wp_i18n_["__"])('Stripes')
       
 16790   }],
       
 16791   supports: {
       
 16792     align: true
       
 16793   },
       
 16794   transforms: {
       
 16795     from: [{
       
 16796       type: 'raw',
       
 16797       selector: 'table',
       
 16798       schema: tablePasteSchema
       
 16799     }]
       
 16800   },
       
 16801   edit: edit,
       
 16802   save: function save(_ref) {
       
 16803     var attributes = _ref.attributes;
       
 16804     var hasFixedLayout = attributes.hasFixedLayout,
       
 16805         head = attributes.head,
       
 16806         body = attributes.body,
       
 16807         foot = attributes.foot,
       
 16808         backgroundColor = attributes.backgroundColor;
       
 16809     var isEmpty = !head.length && !body.length && !foot.length;
       
 16810 
       
 16811     if (isEmpty) {
       
 16812       return null;
       
 16813     }
       
 16814 
       
 16815     var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
       
 16816     var classes = classnames_default()(backgroundClass, {
       
 16817       'has-fixed-layout': hasFixedLayout,
       
 16818       'has-background': !!backgroundClass
       
 16819     });
       
 16820 
       
 16821     var Section = function Section(_ref2) {
       
 16822       var type = _ref2.type,
       
 16823           rows = _ref2.rows;
       
 16824 
       
 16825       if (!rows.length) {
       
 16826         return null;
       
 16827       }
       
 16828 
       
 16829       var Tag = "t".concat(type);
       
 16830       return Object(external_this_wp_element_["createElement"])(Tag, null, rows.map(function (_ref3, rowIndex) {
       
 16831         var cells = _ref3.cells;
       
 16832         return Object(external_this_wp_element_["createElement"])("tr", {
       
 16833           key: rowIndex
       
 16834         }, cells.map(function (_ref4, cellIndex) {
       
 16835           var content = _ref4.content,
       
 16836               tag = _ref4.tag;
       
 16837           return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 16838             tagName: tag,
       
 16839             value: content,
       
 16840             key: cellIndex
       
 16841           });
       
 16842         }));
       
 16843       }));
       
 16844     };
       
 16845 
       
 16846     return Object(external_this_wp_element_["createElement"])("table", {
       
 16847       className: classes
       
 16848     }, Object(external_this_wp_element_["createElement"])(Section, {
       
 16849       type: "head",
       
 16850       rows: head
       
 16851     }), Object(external_this_wp_element_["createElement"])(Section, {
       
 16852       type: "body",
       
 16853       rows: body
       
 16854     }), Object(external_this_wp_element_["createElement"])(Section, {
       
 16855       type: "foot",
       
 16856       rows: foot
       
 16857     }));
       
 16858   }
       
 16859 };
       
 16860 
       
 16861 
       
 16862 /***/ }),
       
 16863 /* 240 */
       
 16864 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
 16865 
       
 16866 "use strict";
       
 16867 __webpack_require__.r(__webpack_exports__);
       
 16868 
       
 16869 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
 16870 var external_this_wp_element_ = __webpack_require__(0);
       
 16871 
       
 16872 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
 16873 var external_this_wp_i18n_ = __webpack_require__(1);
       
 16874 
       
 16875 // EXTERNAL MODULE: external {"this":["wp","blocks"]}
       
 16876 var external_this_wp_blocks_ = __webpack_require__(14);
       
 16877 
       
 16878 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
 16879 var external_this_wp_components_ = __webpack_require__(4);
       
 16880 
       
 16881 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
       
 16882 var external_this_wp_blockEditor_ = __webpack_require__(8);
       
 16883 
       
 16884 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/edit.js
       
 16885 
       
 16886 
       
 16887 /**
       
 16888  * WordPress dependencies
       
 16889  */
       
 16890 
       
 16891 /**
       
 16892  * Internal dependencies
       
 16893  */
       
 16894 
       
 16895 
       
 16896 function CodeEdit(_ref) {
       
 16897   var attributes = _ref.attributes,
       
 16898       setAttributes = _ref.setAttributes,
       
 16899       className = _ref.className;
       
 16900   return Object(external_this_wp_element_["createElement"])("div", {
       
 16901     className: className
       
 16902   }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PlainText"], {
       
 16903     value: attributes.content,
       
 16904     onChange: function onChange(content) {
       
 16905       return setAttributes({
       
 16906         content: content
       
 16907       });
       
 16908     },
       
 16909     placeholder: Object(external_this_wp_i18n_["__"])('Write code…'),
       
 16910     "aria-label": Object(external_this_wp_i18n_["__"])('Code')
       
 16911   }));
       
 16912 }
       
 16913 
       
 16914 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/index.js
       
 16915 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return code_name; });
       
 16916 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
 16917 
       
 16918 
       
 16919 /**
       
 16920  * WordPress dependencies
       
 16921  */
       
 16922 
       
 16923 
       
 16924 
       
 16925 /**
       
 16926  * Internal dependencies
       
 16927  */
       
 16928 
       
 16929 
       
 16930 var code_name = 'core/code';
       
 16931 var settings = {
       
 16932   title: Object(external_this_wp_i18n_["__"])('Code'),
       
 16933   description: Object(external_this_wp_i18n_["__"])('Display code snippets that respect your spacing and tabs.'),
       
 16934   icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
 16935     viewBox: "0 0 24 24",
       
 16936     xmlns: "http://www.w3.org/2000/svg"
       
 16937   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 16938     d: "M0,0h24v24H0V0z",
       
 16939     fill: "none"
       
 16940   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 16941     d: "M9.4,16.6L4.8,12l4.6-4.6L8,6l-6,6l6,6L9.4,16.6z M14.6,16.6l4.6-4.6l-4.6-4.6L16,6l6,6l-6,6L14.6,16.6z"
       
 16942   })),
       
 16943   category: 'formatting',
       
 16944   attributes: {
       
 16945     content: {
       
 16946       type: 'string',
       
 16947       source: 'text',
       
 16948       selector: 'code'
       
 16949     }
       
 16950   },
       
 16951   supports: {
       
 16952     html: false
       
 16953   },
       
 16954   transforms: {
       
 16955     from: [{
       
 16956       type: 'enter',
       
 16957       regExp: /^```$/,
       
 16958       transform: function transform() {
       
 16959         return Object(external_this_wp_blocks_["createBlock"])('core/code');
       
 16960       }
       
 16961     }, {
       
 16962       type: 'raw',
       
 16963       isMatch: function isMatch(node) {
       
 16964         return node.nodeName === 'PRE' && node.children.length === 1 && node.firstChild.nodeName === 'CODE';
       
 16965       },
       
 16966       schema: {
       
 16967         pre: {
       
 16968           children: {
       
 16969             code: {
       
 16970               children: {
       
 16971                 '#text': {}
       
 16972               }
       
 16973             }
       
 16974           }
       
 16975         }
       
 16976       }
       
 16977     }]
       
 16978   },
       
 16979   edit: CodeEdit,
       
 16980   save: function save(_ref) {
       
 16981     var attributes = _ref.attributes;
       
 16982     return Object(external_this_wp_element_["createElement"])("pre", null, Object(external_this_wp_element_["createElement"])("code", null, attributes.content));
       
 16983   }
       
 16984 };
       
 16985 
       
 16986 
       
 16987 /***/ }),
       
 16988 /* 241 */
       
 16989 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
 16990 
       
 16991 "use strict";
       
 16992 __webpack_require__.r(__webpack_exports__);
       
 16993 
       
 16994 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
 16995 var external_this_wp_element_ = __webpack_require__(0);
       
 16996 
       
 16997 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
 16998 var external_this_wp_i18n_ = __webpack_require__(1);
       
 16999 
       
 17000 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
 17001 var external_this_wp_components_ = __webpack_require__(4);
       
 17002 
       
 17003 // EXTERNAL MODULE: external {"this":["wp","blocks"]}
       
 17004 var external_this_wp_blocks_ = __webpack_require__(14);
       
 17005 
       
 17006 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
       
 17007 var toConsumableArray = __webpack_require__(17);
       
 17008 
       
 17009 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
 17010 var classCallCheck = __webpack_require__(10);
       
 17011 
       
 17012 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
 17013 var createClass = __webpack_require__(9);
       
 17014 
       
 17015 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
 17016 var possibleConstructorReturn = __webpack_require__(11);
       
 17017 
       
 17018 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
 17019 var getPrototypeOf = __webpack_require__(12);
       
 17020 
       
 17021 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
 17022 var inherits = __webpack_require__(13);
       
 17023 
       
 17024 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
       
 17025 var assertThisInitialized = __webpack_require__(3);
       
 17026 
       
 17027 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
       
 17028 var external_this_wp_blockEditor_ = __webpack_require__(8);
       
 17029 
       
 17030 // EXTERNAL MODULE: external {"this":["wp","editor"]}
       
 17031 var external_this_wp_editor_ = __webpack_require__(22);
       
 17032 
       
 17033 // EXTERNAL MODULE: external {"this":["wp","data"]}
       
 17034 var external_this_wp_data_ = __webpack_require__(5);
       
 17035 
       
 17036 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/html/edit.js
       
 17037 
       
 17038 
       
 17039 
       
 17040 
       
 17041 
       
 17042 
       
 17043 
       
 17044 
       
 17045 
       
 17046 /**
       
 17047  * WordPress dependencies
       
 17048  */
       
 17049 
       
 17050 
       
 17051 
       
 17052 
       
 17053 
       
 17054 
       
 17055 
       
 17056 var edit_HTMLEdit =
       
 17057 /*#__PURE__*/
       
 17058 function (_Component) {
       
 17059   Object(inherits["a" /* default */])(HTMLEdit, _Component);
       
 17060 
       
 17061   function HTMLEdit() {
       
 17062     var _this;
       
 17063 
       
 17064     Object(classCallCheck["a" /* default */])(this, HTMLEdit);
       
 17065 
       
 17066     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(HTMLEdit).apply(this, arguments));
       
 17067     _this.state = {
       
 17068       isPreview: false,
       
 17069       styles: []
       
 17070     };
       
 17071     _this.switchToHTML = _this.switchToHTML.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 17072     _this.switchToPreview = _this.switchToPreview.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 17073     return _this;
       
 17074   }
       
 17075 
       
 17076   Object(createClass["a" /* default */])(HTMLEdit, [{
       
 17077     key: "componentDidMount",
       
 17078     value: function componentDidMount() {
       
 17079       var styles = this.props.styles; // Default styles used to unset some of the styles
       
 17080       // that might be inherited from the editor style.
       
 17081 
       
 17082       var defaultStyles = "\n\t\t\thtml,body,:root {\n\t\t\t\tmargin: 0 !important;\n\t\t\t\tpadding: 0 !important;\n\t\t\t\toverflow: visible !important;\n\t\t\t\tmin-height: auto !important;\n\t\t\t}\n\t\t";
       
 17083       this.setState({
       
 17084         styles: [defaultStyles].concat(Object(toConsumableArray["a" /* default */])(Object(external_this_wp_editor_["transformStyles"])(styles)))
       
 17085       });
       
 17086     }
       
 17087   }, {
       
 17088     key: "switchToPreview",
       
 17089     value: function switchToPreview() {
       
 17090       this.setState({
       
 17091         isPreview: true
       
 17092       });
       
 17093     }
       
 17094   }, {
       
 17095     key: "switchToHTML",
       
 17096     value: function switchToHTML() {
       
 17097       this.setState({
       
 17098         isPreview: false
       
 17099       });
       
 17100     }
       
 17101   }, {
       
 17102     key: "render",
       
 17103     value: function render() {
       
 17104       var _this$props = this.props,
       
 17105           attributes = _this$props.attributes,
       
 17106           setAttributes = _this$props.setAttributes;
       
 17107       var _this$state = this.state,
       
 17108           isPreview = _this$state.isPreview,
       
 17109           styles = _this$state.styles;
       
 17110       return Object(external_this_wp_element_["createElement"])("div", {
       
 17111         className: "wp-block-html"
       
 17112       }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])("div", {
       
 17113         className: "components-toolbar"
       
 17114       }, Object(external_this_wp_element_["createElement"])("button", {
       
 17115         className: "components-tab-button ".concat(!isPreview ? 'is-active' : ''),
       
 17116         onClick: this.switchToHTML
       
 17117       }, Object(external_this_wp_element_["createElement"])("span", null, "HTML")), Object(external_this_wp_element_["createElement"])("button", {
       
 17118         className: "components-tab-button ".concat(isPreview ? 'is-active' : ''),
       
 17119         onClick: this.switchToPreview
       
 17120       }, Object(external_this_wp_element_["createElement"])("span", null, Object(external_this_wp_i18n_["__"])('Preview'))))), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Disabled"].Consumer, null, function (isDisabled) {
       
 17121         return isPreview || isDisabled ? Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SandBox"], {
       
 17122           html: attributes.content,
       
 17123           styles: styles
       
 17124         }) : Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PlainText"], {
       
 17125           value: attributes.content,
       
 17126           onChange: function onChange(content) {
       
 17127             return setAttributes({
       
 17128               content: content
       
 17129             });
       
 17130           },
       
 17131           placeholder: Object(external_this_wp_i18n_["__"])('Write HTML…'),
       
 17132           "aria-label": Object(external_this_wp_i18n_["__"])('HTML')
       
 17133         });
       
 17134       }));
       
 17135     }
       
 17136   }]);
       
 17137 
       
 17138   return HTMLEdit;
       
 17139 }(external_this_wp_element_["Component"]);
       
 17140 
       
 17141 /* harmony default export */ var edit = (Object(external_this_wp_data_["withSelect"])(function (select) {
       
 17142   var _select = select('core/block-editor'),
       
 17143       getSettings = _select.getSettings;
       
 17144 
       
 17145   return {
       
 17146     styles: getSettings().styles
       
 17147   };
       
 17148 })(edit_HTMLEdit));
       
 17149 
       
 17150 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/html/index.js
       
 17151 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return html_name; });
       
 17152 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
 17153 
       
 17154 
       
 17155 /**
       
 17156  * WordPress dependencies
       
 17157  */
       
 17158 
       
 17159 
       
 17160 
       
 17161 
       
 17162 /**
       
 17163  * Internal dependencies
       
 17164  */
       
 17165 
       
 17166 
       
 17167 var html_name = 'core/html';
       
 17168 var settings = {
       
 17169   title: Object(external_this_wp_i18n_["__"])('Custom HTML'),
       
 17170   description: Object(external_this_wp_i18n_["__"])('Add custom HTML code and preview it as you edit.'),
       
 17171   icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
 17172     viewBox: "0 0 24 24",
       
 17173     xmlns: "http://www.w3.org/2000/svg"
       
 17174   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 17175     d: "M4.5,11h-2V9H1v6h1.5v-2.5h2V15H6V9H4.5V11z M7,10.5h1.5V15H10v-4.5h1.5V9H7V10.5z M14.5,10l-1-1H12v6h1.5v-3.9  l1,1l1-1V15H17V9h-1.5L14.5,10z M19.5,13.5V9H18v6h5v-1.5H19.5z"
       
 17176   })),
       
 17177   category: 'formatting',
       
 17178   keywords: [Object(external_this_wp_i18n_["__"])('embed')],
       
 17179   supports: {
       
 17180     customClassName: false,
       
 17181     className: false,
       
 17182     html: false
       
 17183   },
       
 17184   attributes: {
       
 17185     content: {
       
 17186       type: 'string',
       
 17187       source: 'html'
       
 17188     }
       
 17189   },
       
 17190   transforms: {
       
 17191     from: [{
       
 17192       type: 'raw',
       
 17193       isMatch: function isMatch(node) {
       
 17194         return node.nodeName === 'FIGURE' && !!node.querySelector('iframe');
       
 17195       },
       
 17196       schema: {
       
 17197         figure: {
       
 17198           require: ['iframe'],
       
 17199           children: {
       
 17200             iframe: {
       
 17201               attributes: ['src', 'allowfullscreen', 'height', 'width']
       
 17202             },
       
 17203             figcaption: {
       
 17204               children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])()
       
 17205             }
       
 17206           }
       
 17207         }
       
 17208       }
       
 17209     }]
       
 17210   },
       
 17211   edit: edit,
       
 17212   save: function save(_ref) {
       
 17213     var attributes = _ref.attributes;
       
 17214     return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["RawHTML"], null, attributes.content);
       
 17215   }
       
 17216 };
       
 17217 
       
 17218 
       
 17219 /***/ }),
       
 17220 /* 242 */
       
 17221 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
 17222 
       
 17223 "use strict";
       
 17224 __webpack_require__.r(__webpack_exports__);
       
 17225 
       
 17226 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
 17227 var external_this_wp_element_ = __webpack_require__(0);
       
 17228 
       
 17229 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
 17230 var external_this_wp_i18n_ = __webpack_require__(1);
       
 17231 
       
 17232 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
 17233 var external_this_wp_components_ = __webpack_require__(4);
       
 17234 
       
 17235 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
       
 17236 var external_this_wp_blockEditor_ = __webpack_require__(8);
       
 17237 
       
 17238 // EXTERNAL MODULE: external {"this":["wp","editor"]}
       
 17239 var external_this_wp_editor_ = __webpack_require__(22);
       
 17240 
       
 17241 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/archives/edit.js
       
 17242 
       
 17243 
       
 17244 /**
       
 17245  * WordPress dependencies
       
 17246  */
       
 17247 
       
 17248 
       
 17249 
       
 17250 
       
 17251 
       
 17252 function ArchivesEdit(_ref) {
       
 17253   var attributes = _ref.attributes,
       
 17254       setAttributes = _ref.setAttributes;
       
 17255   var align = attributes.align,
       
 17256       showPostCounts = attributes.showPostCounts,
       
 17257       displayAsDropdown = attributes.displayAsDropdown;
       
 17258   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 17259     title: Object(external_this_wp_i18n_["__"])('Archives Settings')
       
 17260   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 17261     label: Object(external_this_wp_i18n_["__"])('Display as Dropdown'),
       
 17262     checked: displayAsDropdown,
       
 17263     onChange: function onChange() {
       
 17264       return setAttributes({
       
 17265         displayAsDropdown: !displayAsDropdown
       
 17266       });
       
 17267     }
       
 17268   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 17269     label: Object(external_this_wp_i18n_["__"])('Show Post Counts'),
       
 17270     checked: showPostCounts,
       
 17271     onChange: function onChange() {
       
 17272       return setAttributes({
       
 17273         showPostCounts: !showPostCounts
       
 17274       });
       
 17275     }
       
 17276   }))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockAlignmentToolbar"], {
       
 17277     value: align,
       
 17278     onChange: function onChange(nextAlign) {
       
 17279       setAttributes({
       
 17280         align: nextAlign
       
 17281       });
       
 17282     },
       
 17283     controls: ['left', 'center', 'right']
       
 17284   })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Disabled"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["ServerSideRender"], {
       
 17285     block: "core/archives",
       
 17286     attributes: attributes
       
 17287   })));
       
 17288 }
       
 17289 
       
 17290 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/archives/index.js
       
 17291 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return archives_name; });
       
 17292 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
 17293 
       
 17294 
       
 17295 /**
       
 17296  * WordPress dependencies
       
 17297  */
       
 17298 
       
 17299 
       
 17300 /**
       
 17301  * Internal dependencies
       
 17302  */
       
 17303 
       
 17304 
       
 17305 var archives_name = 'core/archives';
       
 17306 var settings = {
       
 17307   title: Object(external_this_wp_i18n_["__"])('Archives'),
       
 17308   description: Object(external_this_wp_i18n_["__"])('Display a monthly archive of your posts.'),
       
 17309   icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
 17310     viewBox: "0 0 24 24",
       
 17311     xmlns: "http://www.w3.org/2000/svg"
       
 17312   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 17313     fill: "none",
       
 17314     d: "M0 0h24v24H0V0z"
       
 17315   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["G"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 17316     d: "M7 11h2v2H7v-2zm14-5v14c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2l.01-14c0-1.1.88-2 1.99-2h1V2h2v2h8V2h2v2h1c1.1 0 2 .9 2 2zM5 8h14V6H5v2zm14 12V10H5v10h14zm-4-7h2v-2h-2v2zm-4 0h2v-2h-2v2z"
       
 17317   }))),
       
 17318   category: 'widgets',
       
 17319   supports: {
       
 17320     html: false
       
 17321   },
       
 17322   getEditWrapperProps: function getEditWrapperProps(attributes) {
       
 17323     var align = attributes.align;
       
 17324 
       
 17325     if (['left', 'center', 'right'].includes(align)) {
       
 17326       return {
       
 17327         'data-align': align
       
 17328       };
       
 17329     }
       
 17330   },
       
 17331   edit: ArchivesEdit,
       
 17332   save: function save() {
       
 17333     // Handled by PHP.
       
 17334     return null;
       
 17335   }
       
 17336 };
       
 17337 
       
 17338 
       
 17339 /***/ }),
       
 17340 /* 243 */
       
 17341 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
 17342 
       
 17343 "use strict";
       
 17344 __webpack_require__.r(__webpack_exports__);
       
 17345 
       
 17346 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
       
 17347 var defineProperty = __webpack_require__(15);
       
 17348 
       
 17349 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
       
 17350 var objectSpread = __webpack_require__(7);
       
 17351 
       
 17352 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
 17353 var external_this_wp_element_ = __webpack_require__(0);
       
 17354 
       
 17355 // EXTERNAL MODULE: ./node_modules/classnames/index.js
       
 17356 var classnames = __webpack_require__(16);
       
 17357 var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
       
 17358 
       
 17359 // EXTERNAL MODULE: external "lodash"
       
 17360 var external_lodash_ = __webpack_require__(2);
       
 17361 
       
 17362 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
 17363 var external_this_wp_components_ = __webpack_require__(4);
       
 17364 
       
 17365 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
 17366 var external_this_wp_i18n_ = __webpack_require__(1);
       
 17367 
       
 17368 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
       
 17369 var external_this_wp_blockEditor_ = __webpack_require__(8);
       
 17370 
       
 17371 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
 17372 var classCallCheck = __webpack_require__(10);
       
 17373 
       
 17374 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
 17375 var createClass = __webpack_require__(9);
       
 17376 
       
 17377 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
 17378 var possibleConstructorReturn = __webpack_require__(11);
       
 17379 
       
 17380 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
 17381 var getPrototypeOf = __webpack_require__(12);
       
 17382 
       
 17383 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
 17384 var inherits = __webpack_require__(13);
       
 17385 
       
 17386 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
       
 17387 var assertThisInitialized = __webpack_require__(3);
       
 17388 
       
 17389 // EXTERNAL MODULE: external {"this":["wp","compose"]}
       
 17390 var external_this_wp_compose_ = __webpack_require__(6);
       
 17391 
       
 17392 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/button/edit.js
       
 17393 
       
 17394 
       
 17395 
       
 17396 
       
 17397 
       
 17398 
       
 17399 
       
 17400 
       
 17401 
       
 17402 /**
       
 17403  * External dependencies
       
 17404  */
       
 17405 
       
 17406 /**
       
 17407  * WordPress dependencies
       
 17408  */
       
 17409 
       
 17410 
       
 17411 
       
 17412 
       
 17413 
       
 17414 
       
 17415 var _window = window,
       
 17416     getComputedStyle = _window.getComputedStyle;
       
 17417 var applyFallbackStyles = Object(external_this_wp_components_["withFallbackStyles"])(function (node, ownProps) {
       
 17418   var textColor = ownProps.textColor,
       
 17419       backgroundColor = ownProps.backgroundColor;
       
 17420   var backgroundColorValue = backgroundColor && backgroundColor.color;
       
 17421   var textColorValue = textColor && textColor.color; //avoid the use of querySelector if textColor color is known and verify if node is available.
       
 17422 
       
 17423   var textNode = !textColorValue && node ? node.querySelector('[contenteditable="true"]') : null;
       
 17424   return {
       
 17425     fallbackBackgroundColor: backgroundColorValue || !node ? undefined : getComputedStyle(node).backgroundColor,
       
 17426     fallbackTextColor: textColorValue || !textNode ? undefined : getComputedStyle(textNode).color
       
 17427   };
       
 17428 });
       
 17429 
       
 17430 var edit_ButtonEdit =
       
 17431 /*#__PURE__*/
       
 17432 function (_Component) {
       
 17433   Object(inherits["a" /* default */])(ButtonEdit, _Component);
       
 17434 
       
 17435   function ButtonEdit() {
       
 17436     var _this;
       
 17437 
       
 17438     Object(classCallCheck["a" /* default */])(this, ButtonEdit);
       
 17439 
       
 17440     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(ButtonEdit).apply(this, arguments));
       
 17441     _this.nodeRef = null;
       
 17442     _this.bindRef = _this.bindRef.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 17443     return _this;
       
 17444   }
       
 17445 
       
 17446   Object(createClass["a" /* default */])(ButtonEdit, [{
       
 17447     key: "bindRef",
       
 17448     value: function bindRef(node) {
       
 17449       if (!node) {
       
 17450         return;
       
 17451       }
       
 17452 
       
 17453       this.nodeRef = node;
       
 17454     }
       
 17455   }, {
       
 17456     key: "render",
       
 17457     value: function render() {
       
 17458       var _classnames;
       
 17459 
       
 17460       var _this$props = this.props,
       
 17461           attributes = _this$props.attributes,
       
 17462           backgroundColor = _this$props.backgroundColor,
       
 17463           textColor = _this$props.textColor,
       
 17464           setBackgroundColor = _this$props.setBackgroundColor,
       
 17465           setTextColor = _this$props.setTextColor,
       
 17466           fallbackBackgroundColor = _this$props.fallbackBackgroundColor,
       
 17467           fallbackTextColor = _this$props.fallbackTextColor,
       
 17468           setAttributes = _this$props.setAttributes,
       
 17469           isSelected = _this$props.isSelected,
       
 17470           className = _this$props.className;
       
 17471       var text = attributes.text,
       
 17472           url = attributes.url,
       
 17473           title = attributes.title;
       
 17474       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("div", {
       
 17475         className: className,
       
 17476         title: title,
       
 17477         ref: this.bindRef
       
 17478       }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 17479         placeholder: Object(external_this_wp_i18n_["__"])('Add text…'),
       
 17480         value: text,
       
 17481         onChange: function onChange(value) {
       
 17482           return setAttributes({
       
 17483             text: value
       
 17484           });
       
 17485         },
       
 17486         formattingControls: ['bold', 'italic', 'strikethrough'],
       
 17487         className: classnames_default()('wp-block-button__link', (_classnames = {
       
 17488           'has-background': backgroundColor.color
       
 17489         }, Object(defineProperty["a" /* default */])(_classnames, backgroundColor.class, backgroundColor.class), Object(defineProperty["a" /* default */])(_classnames, 'has-text-color', textColor.color), Object(defineProperty["a" /* default */])(_classnames, textColor.class, textColor.class), _classnames)),
       
 17490         style: {
       
 17491           backgroundColor: backgroundColor.color,
       
 17492           color: textColor.color
       
 17493         },
       
 17494         keepPlaceholderOnFocus: true
       
 17495       }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PanelColorSettings"], {
       
 17496         title: Object(external_this_wp_i18n_["__"])('Color Settings'),
       
 17497         colorSettings: [{
       
 17498           value: backgroundColor.color,
       
 17499           onChange: setBackgroundColor,
       
 17500           label: Object(external_this_wp_i18n_["__"])('Background Color')
       
 17501         }, {
       
 17502           value: textColor.color,
       
 17503           onChange: setTextColor,
       
 17504           label: Object(external_this_wp_i18n_["__"])('Text Color')
       
 17505         }]
       
 17506       }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["ContrastChecker"], {
       
 17507         // Text is considered large if font size is greater or equal to 18pt or 24px,
       
 17508         // currently that's not the case for button.
       
 17509         isLargeText: false,
       
 17510         textColor: textColor.color,
       
 17511         backgroundColor: backgroundColor.color,
       
 17512         fallbackBackgroundColor: fallbackBackgroundColor,
       
 17513         fallbackTextColor: fallbackTextColor
       
 17514       })))), isSelected && Object(external_this_wp_element_["createElement"])("form", {
       
 17515         className: "block-library-button__inline-link",
       
 17516         onSubmit: function onSubmit(event) {
       
 17517           return event.preventDefault();
       
 17518         }
       
 17519       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dashicon"], {
       
 17520         icon: "admin-links"
       
 17521       }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["URLInput"], {
       
 17522         value: url,
       
 17523         onChange: function onChange(value) {
       
 17524           return setAttributes({
       
 17525             url: value
       
 17526           });
       
 17527         }
       
 17528       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], {
       
 17529         icon: "editor-break",
       
 17530         label: Object(external_this_wp_i18n_["__"])('Apply'),
       
 17531         type: "submit"
       
 17532       })));
       
 17533     }
       
 17534   }]);
       
 17535 
       
 17536   return ButtonEdit;
       
 17537 }(external_this_wp_element_["Component"]);
       
 17538 
       
 17539 /* harmony default export */ var edit = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_blockEditor_["withColors"])('backgroundColor', {
       
 17540   textColor: 'color'
       
 17541 }), applyFallbackStyles])(edit_ButtonEdit));
       
 17542 
       
 17543 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/button/index.js
       
 17544 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return button_name; });
       
 17545 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
 17546 
       
 17547 
       
 17548 
       
 17549 
       
 17550 /**
       
 17551  * External dependencies
       
 17552  */
       
 17553 
       
 17554 
       
 17555 /**
       
 17556  * WordPress dependencies
       
 17557  */
       
 17558 
       
 17559 
       
 17560 
       
 17561 
       
 17562 /**
       
 17563  * Internal dependencies
       
 17564  */
       
 17565 
       
 17566 
       
 17567 var blockAttributes = {
       
 17568   url: {
       
 17569     type: 'string',
       
 17570     source: 'attribute',
       
 17571     selector: 'a',
       
 17572     attribute: 'href'
       
 17573   },
       
 17574   title: {
       
 17575     type: 'string',
       
 17576     source: 'attribute',
       
 17577     selector: 'a',
       
 17578     attribute: 'title'
       
 17579   },
       
 17580   text: {
       
 17581     type: 'string',
       
 17582     source: 'html',
       
 17583     selector: 'a'
       
 17584   },
       
 17585   backgroundColor: {
       
 17586     type: 'string'
       
 17587   },
       
 17588   textColor: {
       
 17589     type: 'string'
       
 17590   },
       
 17591   customBackgroundColor: {
       
 17592     type: 'string'
       
 17593   },
       
 17594   customTextColor: {
       
 17595     type: 'string'
       
 17596   }
       
 17597 };
       
 17598 var button_name = 'core/button';
       
 17599 
       
 17600 var button_colorsMigration = function colorsMigration(attributes) {
       
 17601   return Object(external_lodash_["omit"])(Object(objectSpread["a" /* default */])({}, attributes, {
       
 17602     customTextColor: attributes.textColor && '#' === attributes.textColor[0] ? attributes.textColor : undefined,
       
 17603     customBackgroundColor: attributes.color && '#' === attributes.color[0] ? attributes.color : undefined
       
 17604   }), ['color', 'textColor']);
       
 17605 };
       
 17606 
       
 17607 var settings = {
       
 17608   title: Object(external_this_wp_i18n_["__"])('Button'),
       
 17609   description: Object(external_this_wp_i18n_["__"])('Prompt visitors to take action with a button-style link.'),
       
 17610   icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
 17611     viewBox: "0 0 24 24",
       
 17612     xmlns: "http://www.w3.org/2000/svg"
       
 17613   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 17614     fill: "none",
       
 17615     d: "M0 0h24v24H0V0z"
       
 17616   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["G"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 17617     d: "M19 6H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 10H5V8h14v8z"
       
 17618   }))),
       
 17619   category: 'layout',
       
 17620   keywords: [Object(external_this_wp_i18n_["__"])('link')],
       
 17621   attributes: blockAttributes,
       
 17622   supports: {
       
 17623     align: true,
       
 17624     alignWide: false
       
 17625   },
       
 17626   styles: [{
       
 17627     name: 'default',
       
 17628     label: Object(external_this_wp_i18n_["_x"])('Default', 'block style'),
       
 17629     isDefault: true
       
 17630   }, {
       
 17631     name: 'outline',
       
 17632     label: Object(external_this_wp_i18n_["__"])('Outline')
       
 17633   }, {
       
 17634     name: 'squared',
       
 17635     label: Object(external_this_wp_i18n_["_x"])('Squared', 'block style')
       
 17636   }],
       
 17637   edit: edit,
       
 17638   save: function save(_ref) {
       
 17639     var _classnames;
       
 17640 
       
 17641     var attributes = _ref.attributes;
       
 17642     var url = attributes.url,
       
 17643         text = attributes.text,
       
 17644         title = attributes.title,
       
 17645         backgroundColor = attributes.backgroundColor,
       
 17646         textColor = attributes.textColor,
       
 17647         customBackgroundColor = attributes.customBackgroundColor,
       
 17648         customTextColor = attributes.customTextColor;
       
 17649     var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
       
 17650     var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
       
 17651     var buttonClasses = classnames_default()('wp-block-button__link', (_classnames = {
       
 17652       'has-text-color': textColor || customTextColor
       
 17653     }, Object(defineProperty["a" /* default */])(_classnames, textClass, textClass), Object(defineProperty["a" /* default */])(_classnames, 'has-background', backgroundColor || customBackgroundColor), Object(defineProperty["a" /* default */])(_classnames, backgroundClass, backgroundClass), _classnames));
       
 17654     var buttonStyle = {
       
 17655       backgroundColor: backgroundClass ? undefined : customBackgroundColor,
       
 17656       color: textClass ? undefined : customTextColor
       
 17657     };
       
 17658     return Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 17659       tagName: "a",
       
 17660       className: buttonClasses,
       
 17661       href: url,
       
 17662       title: title,
       
 17663       style: buttonStyle,
       
 17664       value: text
       
 17665     }));
       
 17666   },
       
 17667   deprecated: [{
       
 17668     attributes: Object(objectSpread["a" /* default */])({}, Object(external_lodash_["pick"])(blockAttributes, ['url', 'title', 'text']), {
       
 17669       color: {
       
 17670         type: 'string'
       
 17671       },
       
 17672       textColor: {
       
 17673         type: 'string'
       
 17674       },
       
 17675       align: {
       
 17676         type: 'string',
       
 17677         default: 'none'
       
 17678       }
       
 17679     }),
       
 17680     save: function save(_ref2) {
       
 17681       var attributes = _ref2.attributes;
       
 17682       var url = attributes.url,
       
 17683           text = attributes.text,
       
 17684           title = attributes.title,
       
 17685           align = attributes.align,
       
 17686           color = attributes.color,
       
 17687           textColor = attributes.textColor;
       
 17688       var buttonStyle = {
       
 17689         backgroundColor: color,
       
 17690         color: textColor
       
 17691       };
       
 17692       var linkClass = 'wp-block-button__link';
       
 17693       return Object(external_this_wp_element_["createElement"])("div", {
       
 17694         className: "align".concat(align)
       
 17695       }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 17696         tagName: "a",
       
 17697         className: linkClass,
       
 17698         href: url,
       
 17699         title: title,
       
 17700         style: buttonStyle,
       
 17701         value: text
       
 17702       }));
       
 17703     },
       
 17704     migrate: button_colorsMigration
       
 17705   }, {
       
 17706     attributes: Object(objectSpread["a" /* default */])({}, Object(external_lodash_["pick"])(blockAttributes, ['url', 'title', 'text']), {
       
 17707       color: {
       
 17708         type: 'string'
       
 17709       },
       
 17710       textColor: {
       
 17711         type: 'string'
       
 17712       },
       
 17713       align: {
       
 17714         type: 'string',
       
 17715         default: 'none'
       
 17716       }
       
 17717     }),
       
 17718     save: function save(_ref3) {
       
 17719       var attributes = _ref3.attributes;
       
 17720       var url = attributes.url,
       
 17721           text = attributes.text,
       
 17722           title = attributes.title,
       
 17723           align = attributes.align,
       
 17724           color = attributes.color,
       
 17725           textColor = attributes.textColor;
       
 17726       return Object(external_this_wp_element_["createElement"])("div", {
       
 17727         className: "align".concat(align),
       
 17728         style: {
       
 17729           backgroundColor: color
       
 17730         }
       
 17731       }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 17732         tagName: "a",
       
 17733         href: url,
       
 17734         title: title,
       
 17735         style: {
       
 17736           color: textColor
       
 17737         },
       
 17738         value: text
       
 17739       }));
       
 17740     },
       
 17741     migrate: button_colorsMigration
       
 17742   }]
       
 17743 };
       
 17744 
       
 17745 
       
 17746 /***/ }),
       
 17747 /* 244 */
       
 17748 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
 17749 
       
 17750 "use strict";
       
 17751 __webpack_require__.r(__webpack_exports__);
       
 17752 
       
 17753 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
 17754 var external_this_wp_element_ = __webpack_require__(0);
       
 17755 
       
 17756 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
 17757 var external_this_wp_components_ = __webpack_require__(4);
       
 17758 
       
 17759 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
 17760 var external_this_wp_i18n_ = __webpack_require__(1);
       
 17761 
       
 17762 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
       
 17763 var defineProperty = __webpack_require__(15);
       
 17764 
       
 17765 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
 17766 var classCallCheck = __webpack_require__(10);
       
 17767 
       
 17768 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
 17769 var createClass = __webpack_require__(9);
       
 17770 
       
 17771 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
 17772 var possibleConstructorReturn = __webpack_require__(11);
       
 17773 
       
 17774 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
 17775 var getPrototypeOf = __webpack_require__(12);
       
 17776 
       
 17777 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
 17778 var inherits = __webpack_require__(13);
       
 17779 
       
 17780 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
       
 17781 var assertThisInitialized = __webpack_require__(3);
       
 17782 
       
 17783 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
       
 17784 var external_this_wp_blockEditor_ = __webpack_require__(8);
       
 17785 
       
 17786 // EXTERNAL MODULE: external {"this":["wp","editor"]}
       
 17787 var external_this_wp_editor_ = __webpack_require__(22);
       
 17788 
       
 17789 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-comments/edit.js
       
 17790 
       
 17791 
       
 17792 
       
 17793 
       
 17794 
       
 17795 
       
 17796 
       
 17797 
       
 17798 
       
 17799 /**
       
 17800  * WordPress dependencies
       
 17801  */
       
 17802 
       
 17803 
       
 17804 
       
 17805 
       
 17806 
       
 17807 /**
       
 17808  * Minimum number of comments a user can show using this block.
       
 17809  *
       
 17810  * @type {number}
       
 17811  */
       
 17812 
       
 17813 var MIN_COMMENTS = 1;
       
 17814 /**
       
 17815  * Maximum number of comments a user can show using this block.
       
 17816  *
       
 17817  * @type {number}
       
 17818  */
       
 17819 
       
 17820 var MAX_COMMENTS = 100;
       
 17821 
       
 17822 var edit_LatestComments =
       
 17823 /*#__PURE__*/
       
 17824 function (_Component) {
       
 17825   Object(inherits["a" /* default */])(LatestComments, _Component);
       
 17826 
       
 17827   function LatestComments() {
       
 17828     var _this;
       
 17829 
       
 17830     Object(classCallCheck["a" /* default */])(this, LatestComments);
       
 17831 
       
 17832     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(LatestComments).apply(this, arguments));
       
 17833     _this.setCommentsToShow = _this.setCommentsToShow.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this))); // Create toggles for each attribute; we create them here rather than
       
 17834     // passing `this.createToggleAttribute( 'displayAvatar' )` directly to
       
 17835     // `onChange` to avoid re-renders.
       
 17836 
       
 17837     _this.toggleDisplayAvatar = _this.createToggleAttribute('displayAvatar');
       
 17838     _this.toggleDisplayDate = _this.createToggleAttribute('displayDate');
       
 17839     _this.toggleDisplayExcerpt = _this.createToggleAttribute('displayExcerpt');
       
 17840     return _this;
       
 17841   }
       
 17842 
       
 17843   Object(createClass["a" /* default */])(LatestComments, [{
       
 17844     key: "createToggleAttribute",
       
 17845     value: function createToggleAttribute(propName) {
       
 17846       var _this2 = this;
       
 17847 
       
 17848       return function () {
       
 17849         var value = _this2.props.attributes[propName];
       
 17850         var setAttributes = _this2.props.setAttributes;
       
 17851         setAttributes(Object(defineProperty["a" /* default */])({}, propName, !value));
       
 17852       };
       
 17853     }
       
 17854   }, {
       
 17855     key: "setCommentsToShow",
       
 17856     value: function setCommentsToShow(commentsToShow) {
       
 17857       this.props.setAttributes({
       
 17858         commentsToShow: commentsToShow
       
 17859       });
       
 17860     }
       
 17861   }, {
       
 17862     key: "render",
       
 17863     value: function render() {
       
 17864       var _this$props$attribute = this.props.attributes,
       
 17865           commentsToShow = _this$props$attribute.commentsToShow,
       
 17866           displayAvatar = _this$props$attribute.displayAvatar,
       
 17867           displayDate = _this$props$attribute.displayDate,
       
 17868           displayExcerpt = _this$props$attribute.displayExcerpt;
       
 17869       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 17870         title: Object(external_this_wp_i18n_["__"])('Latest Comments Settings')
       
 17871       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 17872         label: Object(external_this_wp_i18n_["__"])('Display Avatar'),
       
 17873         checked: displayAvatar,
       
 17874         onChange: this.toggleDisplayAvatar
       
 17875       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 17876         label: Object(external_this_wp_i18n_["__"])('Display Date'),
       
 17877         checked: displayDate,
       
 17878         onChange: this.toggleDisplayDate
       
 17879       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 17880         label: Object(external_this_wp_i18n_["__"])('Display Excerpt'),
       
 17881         checked: displayExcerpt,
       
 17882         onChange: this.toggleDisplayExcerpt
       
 17883       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], {
       
 17884         label: Object(external_this_wp_i18n_["__"])('Number of Comments'),
       
 17885         value: commentsToShow,
       
 17886         onChange: this.setCommentsToShow,
       
 17887         min: MIN_COMMENTS,
       
 17888         max: MAX_COMMENTS,
       
 17889         required: true
       
 17890       }))), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Disabled"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["ServerSideRender"], {
       
 17891         block: "core/latest-comments",
       
 17892         attributes: this.props.attributes
       
 17893       })));
       
 17894     }
       
 17895   }]);
       
 17896 
       
 17897   return LatestComments;
       
 17898 }(external_this_wp_element_["Component"]);
       
 17899 
       
 17900 /* harmony default export */ var edit = (edit_LatestComments);
       
 17901 
       
 17902 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-comments/index.js
       
 17903 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return latest_comments_name; });
       
 17904 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
 17905 
       
 17906 
       
 17907 /**
       
 17908  * WordPress dependencies
       
 17909  */
       
 17910 
       
 17911 
       
 17912 /**
       
 17913  * Internal dependencies
       
 17914  */
       
 17915 
       
 17916 
       
 17917 var latest_comments_name = 'core/latest-comments';
       
 17918 var settings = {
       
 17919   title: Object(external_this_wp_i18n_["__"])('Latest Comments'),
       
 17920   description: Object(external_this_wp_i18n_["__"])('Display a list of your most recent comments.'),
       
 17921   icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
 17922     viewBox: "0 0 24 24",
       
 17923     xmlns: "http://www.w3.org/2000/svg"
       
 17924   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 17925     fill: "none",
       
 17926     d: "M0 0h24v24H0V0z"
       
 17927   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["G"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 17928     d: "M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM20 4v13.17L18.83 16H4V4h16zM6 12h12v2H6zm0-3h12v2H6zm0-3h12v2H6z"
       
 17929   }))),
       
 17930   category: 'widgets',
       
 17931   keywords: [Object(external_this_wp_i18n_["__"])('recent comments')],
       
 17932   supports: {
       
 17933     align: true,
       
 17934     html: false
       
 17935   },
       
 17936   edit: edit,
       
 17937   save: function save() {
       
 17938     return null;
       
 17939   }
       
 17940 };
       
 17941 
       
 17942 
       
 17943 /***/ }),
       
 17944 /* 245 */
       
 17945 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
 17946 
       
 17947 "use strict";
       
 17948 __webpack_require__.r(__webpack_exports__);
       
 17949 
       
 17950 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
 17951 var external_this_wp_element_ = __webpack_require__(0);
       
 17952 
       
 17953 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
 17954 var external_this_wp_i18n_ = __webpack_require__(1);
       
 17955 
       
 17956 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
 17957 var external_this_wp_components_ = __webpack_require__(4);
       
 17958 
       
 17959 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
       
 17960 var defineProperty = __webpack_require__(15);
       
 17961 
       
 17962 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
       
 17963 var esm_extends = __webpack_require__(19);
       
 17964 
       
 17965 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
 17966 var classCallCheck = __webpack_require__(10);
       
 17967 
       
 17968 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
 17969 var createClass = __webpack_require__(9);
       
 17970 
       
 17971 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
 17972 var possibleConstructorReturn = __webpack_require__(11);
       
 17973 
       
 17974 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
 17975 var getPrototypeOf = __webpack_require__(12);
       
 17976 
       
 17977 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
 17978 var inherits = __webpack_require__(13);
       
 17979 
       
 17980 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
       
 17981 var assertThisInitialized = __webpack_require__(3);
       
 17982 
       
 17983 // EXTERNAL MODULE: external "lodash"
       
 17984 var external_lodash_ = __webpack_require__(2);
       
 17985 
       
 17986 // EXTERNAL MODULE: ./node_modules/classnames/index.js
       
 17987 var classnames = __webpack_require__(16);
       
 17988 var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
       
 17989 
       
 17990 // EXTERNAL MODULE: external {"this":["wp","apiFetch"]}
       
 17991 var external_this_wp_apiFetch_ = __webpack_require__(33);
       
 17992 var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_);
       
 17993 
       
 17994 // EXTERNAL MODULE: external {"this":["wp","url"]}
       
 17995 var external_this_wp_url_ = __webpack_require__(25);
       
 17996 
       
 17997 // EXTERNAL MODULE: external {"this":["wp","date"]}
       
 17998 var external_this_wp_date_ = __webpack_require__(50);
       
 17999 
       
 18000 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
       
 18001 var external_this_wp_blockEditor_ = __webpack_require__(8);
       
 18002 
       
 18003 // EXTERNAL MODULE: external {"this":["wp","data"]}
       
 18004 var external_this_wp_data_ = __webpack_require__(5);
       
 18005 
       
 18006 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-posts/edit.js
       
 18007 
       
 18008 
       
 18009 
       
 18010 
       
 18011 
       
 18012 
       
 18013 
       
 18014 
       
 18015 
       
 18016 
       
 18017 /**
       
 18018  * External dependencies
       
 18019  */
       
 18020 
       
 18021 
       
 18022 /**
       
 18023  * WordPress dependencies
       
 18024  */
       
 18025 
       
 18026 
       
 18027 
       
 18028 
       
 18029 
       
 18030 
       
 18031 
       
 18032 
       
 18033 
       
 18034 /**
       
 18035  * Module Constants
       
 18036  */
       
 18037 
       
 18038 var CATEGORIES_LIST_QUERY = {
       
 18039   per_page: -1
       
 18040 };
       
 18041 var MAX_POSTS_COLUMNS = 6;
       
 18042 
       
 18043 var edit_LatestPostsEdit =
       
 18044 /*#__PURE__*/
       
 18045 function (_Component) {
       
 18046   Object(inherits["a" /* default */])(LatestPostsEdit, _Component);
       
 18047 
       
 18048   function LatestPostsEdit() {
       
 18049     var _this;
       
 18050 
       
 18051     Object(classCallCheck["a" /* default */])(this, LatestPostsEdit);
       
 18052 
       
 18053     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(LatestPostsEdit).apply(this, arguments));
       
 18054     _this.state = {
       
 18055       categoriesList: []
       
 18056     };
       
 18057     _this.toggleDisplayPostDate = _this.toggleDisplayPostDate.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 18058     return _this;
       
 18059   }
       
 18060 
       
 18061   Object(createClass["a" /* default */])(LatestPostsEdit, [{
       
 18062     key: "componentWillMount",
       
 18063     value: function componentWillMount() {
       
 18064       var _this2 = this;
       
 18065 
       
 18066       this.isStillMounted = true;
       
 18067       this.fetchRequest = external_this_wp_apiFetch_default()({
       
 18068         path: Object(external_this_wp_url_["addQueryArgs"])("/wp/v2/categories", CATEGORIES_LIST_QUERY)
       
 18069       }).then(function (categoriesList) {
       
 18070         if (_this2.isStillMounted) {
       
 18071           _this2.setState({
       
 18072             categoriesList: categoriesList
       
 18073           });
       
 18074         }
       
 18075       }).catch(function () {
       
 18076         if (_this2.isStillMounted) {
       
 18077           _this2.setState({
       
 18078             categoriesList: []
       
 18079           });
       
 18080         }
       
 18081       });
       
 18082     }
       
 18083   }, {
       
 18084     key: "componentWillUnmount",
       
 18085     value: function componentWillUnmount() {
       
 18086       this.isStillMounted = false;
       
 18087     }
       
 18088   }, {
       
 18089     key: "toggleDisplayPostDate",
       
 18090     value: function toggleDisplayPostDate() {
       
 18091       var displayPostDate = this.props.attributes.displayPostDate;
       
 18092       var setAttributes = this.props.setAttributes;
       
 18093       setAttributes({
       
 18094         displayPostDate: !displayPostDate
       
 18095       });
       
 18096     }
       
 18097   }, {
       
 18098     key: "render",
       
 18099     value: function render() {
       
 18100       var _this$props = this.props,
       
 18101           attributes = _this$props.attributes,
       
 18102           setAttributes = _this$props.setAttributes,
       
 18103           latestPosts = _this$props.latestPosts;
       
 18104       var categoriesList = this.state.categoriesList;
       
 18105       var displayPostDate = attributes.displayPostDate,
       
 18106           align = attributes.align,
       
 18107           postLayout = attributes.postLayout,
       
 18108           columns = attributes.columns,
       
 18109           order = attributes.order,
       
 18110           orderBy = attributes.orderBy,
       
 18111           categories = attributes.categories,
       
 18112           postsToShow = attributes.postsToShow;
       
 18113       var inspectorControls = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 18114         title: Object(external_this_wp_i18n_["__"])('Latest Posts Settings')
       
 18115       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["QueryControls"], Object(esm_extends["a" /* default */])({
       
 18116         order: order,
       
 18117         orderBy: orderBy
       
 18118       }, {
       
 18119         numberOfItems: postsToShow,
       
 18120         categoriesList: categoriesList,
       
 18121         selectedCategoryId: categories,
       
 18122         onOrderChange: function onOrderChange(value) {
       
 18123           return setAttributes({
       
 18124             order: value
       
 18125           });
       
 18126         },
       
 18127         onOrderByChange: function onOrderByChange(value) {
       
 18128           return setAttributes({
       
 18129             orderBy: value
       
 18130           });
       
 18131         },
       
 18132         onCategoryChange: function onCategoryChange(value) {
       
 18133           return setAttributes({
       
 18134             categories: '' !== value ? value : undefined
       
 18135           });
       
 18136         },
       
 18137         onNumberOfItemsChange: function onNumberOfItemsChange(value) {
       
 18138           return setAttributes({
       
 18139             postsToShow: value
       
 18140           });
       
 18141         }
       
 18142       })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 18143         label: Object(external_this_wp_i18n_["__"])('Display post date'),
       
 18144         checked: displayPostDate,
       
 18145         onChange: this.toggleDisplayPostDate
       
 18146       }), postLayout === 'grid' && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], {
       
 18147         label: Object(external_this_wp_i18n_["__"])('Columns'),
       
 18148         value: columns,
       
 18149         onChange: function onChange(value) {
       
 18150           return setAttributes({
       
 18151             columns: value
       
 18152           });
       
 18153         },
       
 18154         min: 2,
       
 18155         max: !hasPosts ? MAX_POSTS_COLUMNS : Math.min(MAX_POSTS_COLUMNS, latestPosts.length),
       
 18156         required: true
       
 18157       })));
       
 18158       var hasPosts = Array.isArray(latestPosts) && latestPosts.length;
       
 18159 
       
 18160       if (!hasPosts) {
       
 18161         return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, inspectorControls, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], {
       
 18162           icon: "admin-post",
       
 18163           label: Object(external_this_wp_i18n_["__"])('Latest Posts')
       
 18164         }, !Array.isArray(latestPosts) ? Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null) : Object(external_this_wp_i18n_["__"])('No posts found.')));
       
 18165       } // Removing posts from display should be instant.
       
 18166 
       
 18167 
       
 18168       var displayPosts = latestPosts.length > postsToShow ? latestPosts.slice(0, postsToShow) : latestPosts;
       
 18169       var layoutControls = [{
       
 18170         icon: 'list-view',
       
 18171         title: Object(external_this_wp_i18n_["__"])('List View'),
       
 18172         onClick: function onClick() {
       
 18173           return setAttributes({
       
 18174             postLayout: 'list'
       
 18175           });
       
 18176         },
       
 18177         isActive: postLayout === 'list'
       
 18178       }, {
       
 18179         icon: 'grid-view',
       
 18180         title: Object(external_this_wp_i18n_["__"])('Grid View'),
       
 18181         onClick: function onClick() {
       
 18182           return setAttributes({
       
 18183             postLayout: 'grid'
       
 18184           });
       
 18185         },
       
 18186         isActive: postLayout === 'grid'
       
 18187       }];
       
 18188 
       
 18189       var dateFormat = Object(external_this_wp_date_["__experimentalGetSettings"])().formats.date;
       
 18190 
       
 18191       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, inspectorControls, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockAlignmentToolbar"], {
       
 18192         value: align,
       
 18193         onChange: function onChange(nextAlign) {
       
 18194           setAttributes({
       
 18195             align: nextAlign
       
 18196           });
       
 18197         }
       
 18198       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], {
       
 18199         controls: layoutControls
       
 18200       })), Object(external_this_wp_element_["createElement"])("ul", {
       
 18201         className: classnames_default()(this.props.className, Object(defineProperty["a" /* default */])({
       
 18202           'is-grid': postLayout === 'grid',
       
 18203           'has-dates': displayPostDate
       
 18204         }, "columns-".concat(columns), postLayout === 'grid'))
       
 18205       }, displayPosts.map(function (post, i) {
       
 18206         var titleTrimmed = post.title.rendered.trim();
       
 18207         return Object(external_this_wp_element_["createElement"])("li", {
       
 18208           key: i
       
 18209         }, Object(external_this_wp_element_["createElement"])("a", {
       
 18210           href: post.link,
       
 18211           target: "_blank",
       
 18212           rel: "noreferrer noopener"
       
 18213         }, titleTrimmed ? Object(external_this_wp_element_["createElement"])(external_this_wp_element_["RawHTML"], null, titleTrimmed) : Object(external_this_wp_i18n_["__"])('(Untitled)')), displayPostDate && post.date_gmt && Object(external_this_wp_element_["createElement"])("time", {
       
 18214           dateTime: Object(external_this_wp_date_["format"])('c', post.date_gmt),
       
 18215           className: "wp-block-latest-posts__post-date"
       
 18216         }, Object(external_this_wp_date_["dateI18n"])(dateFormat, post.date_gmt)));
       
 18217       })));
       
 18218     }
       
 18219   }]);
       
 18220 
       
 18221   return LatestPostsEdit;
       
 18222 }(external_this_wp_element_["Component"]);
       
 18223 
       
 18224 /* harmony default export */ var edit = (Object(external_this_wp_data_["withSelect"])(function (select, props) {
       
 18225   var _props$attributes = props.attributes,
       
 18226       postsToShow = _props$attributes.postsToShow,
       
 18227       order = _props$attributes.order,
       
 18228       orderBy = _props$attributes.orderBy,
       
 18229       categories = _props$attributes.categories;
       
 18230 
       
 18231   var _select = select('core'),
       
 18232       getEntityRecords = _select.getEntityRecords;
       
 18233 
       
 18234   var latestPostsQuery = Object(external_lodash_["pickBy"])({
       
 18235     categories: categories,
       
 18236     order: order,
       
 18237     orderby: orderBy,
       
 18238     per_page: postsToShow
       
 18239   }, function (value) {
       
 18240     return !Object(external_lodash_["isUndefined"])(value);
       
 18241   });
       
 18242   return {
       
 18243     latestPosts: getEntityRecords('postType', 'post', latestPostsQuery)
       
 18244   };
       
 18245 })(edit_LatestPostsEdit));
       
 18246 
       
 18247 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-posts/index.js
       
 18248 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return latest_posts_name; });
       
 18249 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
 18250 
       
 18251 
       
 18252 /**
       
 18253  * WordPress dependencies
       
 18254  */
       
 18255 
       
 18256 
       
 18257 /**
       
 18258  * Internal dependencies
       
 18259  */
       
 18260 
       
 18261 
       
 18262 var latest_posts_name = 'core/latest-posts';
       
 18263 var settings = {
       
 18264   title: Object(external_this_wp_i18n_["__"])('Latest Posts'),
       
 18265   description: Object(external_this_wp_i18n_["__"])('Display a list of your most recent posts.'),
       
 18266   icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
 18267     viewBox: "0 0 24 24",
       
 18268     xmlns: "http://www.w3.org/2000/svg"
       
 18269   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 18270     d: "M0,0h24v24H0V0z",
       
 18271     fill: "none"
       
 18272   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
       
 18273     x: "11",
       
 18274     y: "7",
       
 18275     width: "6",
       
 18276     height: "2"
       
 18277   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
       
 18278     x: "11",
       
 18279     y: "11",
       
 18280     width: "6",
       
 18281     height: "2"
       
 18282   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
       
 18283     x: "11",
       
 18284     y: "15",
       
 18285     width: "6",
       
 18286     height: "2"
       
 18287   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
       
 18288     x: "7",
       
 18289     y: "7",
       
 18290     width: "2",
       
 18291     height: "2"
       
 18292   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
       
 18293     x: "7",
       
 18294     y: "11",
       
 18295     width: "2",
       
 18296     height: "2"
       
 18297   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
       
 18298     x: "7",
       
 18299     y: "15",
       
 18300     width: "2",
       
 18301     height: "2"
       
 18302   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 18303     d: "M20.1,3H3.9C3.4,3,3,3.4,3,3.9v16.2C3,20.5,3.4,21,3.9,21h16.2c0.4,0,0.9-0.5,0.9-0.9V3.9C21,3.4,20.5,3,20.1,3z M19,19H5V5h14V19z"
       
 18304   })),
       
 18305   category: 'widgets',
       
 18306   keywords: [Object(external_this_wp_i18n_["__"])('recent posts')],
       
 18307   supports: {
       
 18308     html: false
       
 18309   },
       
 18310   getEditWrapperProps: function getEditWrapperProps(attributes) {
       
 18311     var align = attributes.align;
       
 18312 
       
 18313     if (['left', 'center', 'right', 'wide', 'full'].includes(align)) {
       
 18314       return {
       
 18315         'data-align': align
       
 18316       };
       
 18317     }
       
 18318   },
       
 18319   edit: edit,
       
 18320   save: function save() {
       
 18321     return null;
       
 18322   }
       
 18323 };
       
 18324 
       
 18325 
       
 18326 /***/ }),
       
 18327 /* 246 */
       
 18328 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
 18329 
       
 18330 "use strict";
       
 18331 __webpack_require__.r(__webpack_exports__);
       
 18332 
       
 18333 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
 18334 var external_this_wp_i18n_ = __webpack_require__(1);
       
 18335 
       
 18336 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
       
 18337 var objectSpread = __webpack_require__(7);
       
 18338 
       
 18339 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
 18340 var classCallCheck = __webpack_require__(10);
       
 18341 
       
 18342 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
 18343 var createClass = __webpack_require__(9);
       
 18344 
       
 18345 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
 18346 var possibleConstructorReturn = __webpack_require__(11);
       
 18347 
       
 18348 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
 18349 var getPrototypeOf = __webpack_require__(12);
       
 18350 
       
 18351 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
 18352 var inherits = __webpack_require__(13);
       
 18353 
       
 18354 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
       
 18355 var assertThisInitialized = __webpack_require__(3);
       
 18356 
       
 18357 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
 18358 var external_this_wp_element_ = __webpack_require__(0);
       
 18359 
       
 18360 // EXTERNAL MODULE: external "moment"
       
 18361 var external_moment_ = __webpack_require__(29);
       
 18362 var external_moment_default = /*#__PURE__*/__webpack_require__.n(external_moment_);
       
 18363 
       
 18364 // EXTERNAL MODULE: ./node_modules/memize/index.js
       
 18365 var memize = __webpack_require__(41);
       
 18366 var memize_default = /*#__PURE__*/__webpack_require__.n(memize);
       
 18367 
       
 18368 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
 18369 var external_this_wp_components_ = __webpack_require__(4);
       
 18370 
       
 18371 // EXTERNAL MODULE: external {"this":["wp","data"]}
       
 18372 var external_this_wp_data_ = __webpack_require__(5);
       
 18373 
       
 18374 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/calendar/edit.js
       
 18375 
       
 18376 
       
 18377 
       
 18378 
       
 18379 
       
 18380 
       
 18381 
       
 18382 
       
 18383 
       
 18384 /**
       
 18385  * External dependencies
       
 18386  */
       
 18387 
       
 18388 
       
 18389 /**
       
 18390  * WordPress dependencies
       
 18391  */
       
 18392 
       
 18393 
       
 18394 
       
 18395 
       
 18396 
       
 18397 var edit_CalendarEdit =
       
 18398 /*#__PURE__*/
       
 18399 function (_Component) {
       
 18400   Object(inherits["a" /* default */])(CalendarEdit, _Component);
       
 18401 
       
 18402   function CalendarEdit() {
       
 18403     var _this;
       
 18404 
       
 18405     Object(classCallCheck["a" /* default */])(this, CalendarEdit);
       
 18406 
       
 18407     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(CalendarEdit).apply(this, arguments));
       
 18408     _this.getYearMonth = memize_default()(_this.getYearMonth.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this))), {
       
 18409       maxSize: 1
       
 18410     });
       
 18411     _this.getServerSideAttributes = memize_default()(_this.getServerSideAttributes.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this))), {
       
 18412       maxSize: 1
       
 18413     });
       
 18414     return _this;
       
 18415   }
       
 18416 
       
 18417   Object(createClass["a" /* default */])(CalendarEdit, [{
       
 18418     key: "getYearMonth",
       
 18419     value: function getYearMonth(date) {
       
 18420       if (!date) {
       
 18421         return {};
       
 18422       }
       
 18423 
       
 18424       var momentDate = external_moment_default()(date);
       
 18425       return {
       
 18426         year: momentDate.year(),
       
 18427         month: momentDate.month() + 1
       
 18428       };
       
 18429     }
       
 18430   }, {
       
 18431     key: "getServerSideAttributes",
       
 18432     value: function getServerSideAttributes(attributes, date) {
       
 18433       return Object(objectSpread["a" /* default */])({}, attributes, this.getYearMonth(date));
       
 18434     }
       
 18435   }, {
       
 18436     key: "render",
       
 18437     value: function render() {
       
 18438       return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Disabled"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ServerSideRender"], {
       
 18439         block: "core/calendar",
       
 18440         attributes: this.getServerSideAttributes(this.props.attributes, this.props.date)
       
 18441       }));
       
 18442     }
       
 18443   }]);
       
 18444 
       
 18445   return CalendarEdit;
       
 18446 }(external_this_wp_element_["Component"]);
       
 18447 
       
 18448 /* harmony default export */ var edit = (Object(external_this_wp_data_["withSelect"])(function (select) {
       
 18449   var _select = select('core/editor'),
       
 18450       getEditedPostAttribute = _select.getEditedPostAttribute;
       
 18451 
       
 18452   var postType = getEditedPostAttribute('type'); // Dates are used to overwrite year and month used on the calendar.
       
 18453   // This overwrite should only happen for 'post' post types.
       
 18454   // For other post types the calendar always displays the current month.
       
 18455 
       
 18456   return {
       
 18457     date: postType === 'post' ? getEditedPostAttribute('date') : undefined
       
 18458   };
       
 18459 })(edit_CalendarEdit));
       
 18460 
       
 18461 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/calendar/index.js
       
 18462 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return calendar_name; });
       
 18463 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
 18464 /**
       
 18465  * WordPress dependencies
       
 18466  */
       
 18467 
       
 18468 /**
       
 18469  * Internal dependencies
       
 18470  */
       
 18471 
       
 18472 
       
 18473 var calendar_name = 'core/calendar';
       
 18474 var settings = {
       
 18475   title: Object(external_this_wp_i18n_["__"])('Calendar'),
       
 18476   description: Object(external_this_wp_i18n_["__"])('A calendar of your site’s posts.'),
       
 18477   icon: 'calendar',
       
 18478   category: 'widgets',
       
 18479   keywords: [Object(external_this_wp_i18n_["__"])('posts'), Object(external_this_wp_i18n_["__"])('archive')],
       
 18480   supports: {
       
 18481     align: true
       
 18482   },
       
 18483   edit: edit,
       
 18484   save: function save() {
       
 18485     return null;
       
 18486   }
       
 18487 };
       
 18488 
       
 18489 
       
 18490 /***/ }),
       
 18491 /* 247 */
       
 18492 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
 18493 
       
 18494 "use strict";
       
 18495 __webpack_require__.r(__webpack_exports__);
       
 18496 
       
 18497 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
 18498 var external_this_wp_element_ = __webpack_require__(0);
       
 18499 
       
 18500 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
 18501 var external_this_wp_i18n_ = __webpack_require__(1);
       
 18502 
       
 18503 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
 18504 var external_this_wp_components_ = __webpack_require__(4);
       
 18505 
       
 18506 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
 18507 var classCallCheck = __webpack_require__(10);
       
 18508 
       
 18509 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
 18510 var createClass = __webpack_require__(9);
       
 18511 
       
 18512 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
 18513 var possibleConstructorReturn = __webpack_require__(11);
       
 18514 
       
 18515 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
 18516 var getPrototypeOf = __webpack_require__(12);
       
 18517 
       
 18518 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
 18519 var inherits = __webpack_require__(13);
       
 18520 
       
 18521 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
       
 18522 var assertThisInitialized = __webpack_require__(3);
       
 18523 
       
 18524 // EXTERNAL MODULE: external "lodash"
       
 18525 var external_lodash_ = __webpack_require__(2);
       
 18526 
       
 18527 // EXTERNAL MODULE: external {"this":["wp","compose"]}
       
 18528 var external_this_wp_compose_ = __webpack_require__(6);
       
 18529 
       
 18530 // EXTERNAL MODULE: external {"this":["wp","data"]}
       
 18531 var external_this_wp_data_ = __webpack_require__(5);
       
 18532 
       
 18533 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
       
 18534 var external_this_wp_blockEditor_ = __webpack_require__(8);
       
 18535 
       
 18536 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/categories/edit.js
       
 18537 
       
 18538 
       
 18539 
       
 18540 
       
 18541 
       
 18542 
       
 18543 
       
 18544 
       
 18545 /**
       
 18546  * External dependencies
       
 18547  */
       
 18548 
       
 18549 /**
       
 18550  * WordPress dependencies
       
 18551  */
       
 18552 
       
 18553 
       
 18554 
       
 18555 
       
 18556 
       
 18557 
       
 18558 
       
 18559 
       
 18560 var edit_CategoriesEdit =
       
 18561 /*#__PURE__*/
       
 18562 function (_Component) {
       
 18563   Object(inherits["a" /* default */])(CategoriesEdit, _Component);
       
 18564 
       
 18565   function CategoriesEdit() {
       
 18566     var _this;
       
 18567 
       
 18568     Object(classCallCheck["a" /* default */])(this, CategoriesEdit);
       
 18569 
       
 18570     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(CategoriesEdit).apply(this, arguments));
       
 18571     _this.toggleDisplayAsDropdown = _this.toggleDisplayAsDropdown.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 18572     _this.toggleShowPostCounts = _this.toggleShowPostCounts.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 18573     _this.toggleShowHierarchy = _this.toggleShowHierarchy.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 18574     return _this;
       
 18575   }
       
 18576 
       
 18577   Object(createClass["a" /* default */])(CategoriesEdit, [{
       
 18578     key: "toggleDisplayAsDropdown",
       
 18579     value: function toggleDisplayAsDropdown() {
       
 18580       var _this$props = this.props,
       
 18581           attributes = _this$props.attributes,
       
 18582           setAttributes = _this$props.setAttributes;
       
 18583       var displayAsDropdown = attributes.displayAsDropdown;
       
 18584       setAttributes({
       
 18585         displayAsDropdown: !displayAsDropdown
       
 18586       });
       
 18587     }
       
 18588   }, {
       
 18589     key: "toggleShowPostCounts",
       
 18590     value: function toggleShowPostCounts() {
       
 18591       var _this$props2 = this.props,
       
 18592           attributes = _this$props2.attributes,
       
 18593           setAttributes = _this$props2.setAttributes;
       
 18594       var showPostCounts = attributes.showPostCounts;
       
 18595       setAttributes({
       
 18596         showPostCounts: !showPostCounts
       
 18597       });
       
 18598     }
       
 18599   }, {
       
 18600     key: "toggleShowHierarchy",
       
 18601     value: function toggleShowHierarchy() {
       
 18602       var _this$props3 = this.props,
       
 18603           attributes = _this$props3.attributes,
       
 18604           setAttributes = _this$props3.setAttributes;
       
 18605       var showHierarchy = attributes.showHierarchy;
       
 18606       setAttributes({
       
 18607         showHierarchy: !showHierarchy
       
 18608       });
       
 18609     }
       
 18610   }, {
       
 18611     key: "getCategories",
       
 18612     value: function getCategories() {
       
 18613       var parentId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
       
 18614       var categories = this.props.categories;
       
 18615 
       
 18616       if (!categories || !categories.length) {
       
 18617         return [];
       
 18618       }
       
 18619 
       
 18620       if (parentId === null) {
       
 18621         return categories;
       
 18622       }
       
 18623 
       
 18624       return categories.filter(function (category) {
       
 18625         return category.parent === parentId;
       
 18626       });
       
 18627     }
       
 18628   }, {
       
 18629     key: "getCategoryListClassName",
       
 18630     value: function getCategoryListClassName(level) {
       
 18631       return "wp-block-categories__list wp-block-categories__list-level-".concat(level);
       
 18632     }
       
 18633   }, {
       
 18634     key: "renderCategoryName",
       
 18635     value: function renderCategoryName(category) {
       
 18636       if (!category.name) {
       
 18637         return Object(external_this_wp_i18n_["__"])('(Untitled)');
       
 18638       }
       
 18639 
       
 18640       return Object(external_lodash_["unescape"])(category.name).trim();
       
 18641     }
       
 18642   }, {
       
 18643     key: "renderCategoryList",
       
 18644     value: function renderCategoryList() {
       
 18645       var _this2 = this;
       
 18646 
       
 18647       var showHierarchy = this.props.attributes.showHierarchy;
       
 18648       var parentId = showHierarchy ? 0 : null;
       
 18649       var categories = this.getCategories(parentId);
       
 18650       return Object(external_this_wp_element_["createElement"])("ul", {
       
 18651         className: this.getCategoryListClassName(0)
       
 18652       }, categories.map(function (category) {
       
 18653         return _this2.renderCategoryListItem(category, 0);
       
 18654       }));
       
 18655     }
       
 18656   }, {
       
 18657     key: "renderCategoryListItem",
       
 18658     value: function renderCategoryListItem(category, level) {
       
 18659       var _this3 = this;
       
 18660 
       
 18661       var _this$props$attribute = this.props.attributes,
       
 18662           showHierarchy = _this$props$attribute.showHierarchy,
       
 18663           showPostCounts = _this$props$attribute.showPostCounts;
       
 18664       var childCategories = this.getCategories(category.id);
       
 18665       return Object(external_this_wp_element_["createElement"])("li", {
       
 18666         key: category.id
       
 18667       }, Object(external_this_wp_element_["createElement"])("a", {
       
 18668         href: category.link,
       
 18669         target: "_blank",
       
 18670         rel: "noreferrer noopener"
       
 18671       }, this.renderCategoryName(category)), showPostCounts && Object(external_this_wp_element_["createElement"])("span", {
       
 18672         className: "wp-block-categories__post-count"
       
 18673       }, ' ', "(", category.count, ")"), showHierarchy && !!childCategories.length && Object(external_this_wp_element_["createElement"])("ul", {
       
 18674         className: this.getCategoryListClassName(level + 1)
       
 18675       }, childCategories.map(function (childCategory) {
       
 18676         return _this3.renderCategoryListItem(childCategory, level + 1);
       
 18677       })));
       
 18678     }
       
 18679   }, {
       
 18680     key: "renderCategoryDropdown",
       
 18681     value: function renderCategoryDropdown() {
       
 18682       var _this4 = this;
       
 18683 
       
 18684       var instanceId = this.props.instanceId;
       
 18685       var showHierarchy = this.props.attributes.showHierarchy;
       
 18686       var parentId = showHierarchy ? 0 : null;
       
 18687       var categories = this.getCategories(parentId);
       
 18688       var selectId = "blocks-category-select-".concat(instanceId);
       
 18689       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("label", {
       
 18690         htmlFor: selectId,
       
 18691         className: "screen-reader-text"
       
 18692       }, Object(external_this_wp_i18n_["__"])('Categories')), Object(external_this_wp_element_["createElement"])("select", {
       
 18693         id: selectId,
       
 18694         className: "wp-block-categories__dropdown"
       
 18695       }, categories.map(function (category) {
       
 18696         return _this4.renderCategoryDropdownItem(category, 0);
       
 18697       })));
       
 18698     }
       
 18699   }, {
       
 18700     key: "renderCategoryDropdownItem",
       
 18701     value: function renderCategoryDropdownItem(category, level) {
       
 18702       var _this5 = this;
       
 18703 
       
 18704       var _this$props$attribute2 = this.props.attributes,
       
 18705           showHierarchy = _this$props$attribute2.showHierarchy,
       
 18706           showPostCounts = _this$props$attribute2.showPostCounts;
       
 18707       var childCategories = this.getCategories(category.id);
       
 18708       return [Object(external_this_wp_element_["createElement"])("option", {
       
 18709         key: category.id
       
 18710       }, Object(external_lodash_["times"])(level * 3, function () {
       
 18711         return '\xa0';
       
 18712       }), this.renderCategoryName(category), !!showPostCounts ? " (".concat(category.count, ")") : ''), showHierarchy && !!childCategories.length && childCategories.map(function (childCategory) {
       
 18713         return _this5.renderCategoryDropdownItem(childCategory, level + 1);
       
 18714       })];
       
 18715     }
       
 18716   }, {
       
 18717     key: "render",
       
 18718     value: function render() {
       
 18719       var _this$props4 = this.props,
       
 18720           attributes = _this$props4.attributes,
       
 18721           isRequesting = _this$props4.isRequesting;
       
 18722       var displayAsDropdown = attributes.displayAsDropdown,
       
 18723           showHierarchy = attributes.showHierarchy,
       
 18724           showPostCounts = attributes.showPostCounts;
       
 18725       var inspectorControls = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 18726         title: Object(external_this_wp_i18n_["__"])('Categories Settings')
       
 18727       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 18728         label: Object(external_this_wp_i18n_["__"])('Display as Dropdown'),
       
 18729         checked: displayAsDropdown,
       
 18730         onChange: this.toggleDisplayAsDropdown
       
 18731       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 18732         label: Object(external_this_wp_i18n_["__"])('Show Hierarchy'),
       
 18733         checked: showHierarchy,
       
 18734         onChange: this.toggleShowHierarchy
       
 18735       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 18736         label: Object(external_this_wp_i18n_["__"])('Show Post Counts'),
       
 18737         checked: showPostCounts,
       
 18738         onChange: this.toggleShowPostCounts
       
 18739       })));
       
 18740 
       
 18741       if (isRequesting) {
       
 18742         return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, inspectorControls, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], {
       
 18743           icon: "admin-post",
       
 18744           label: Object(external_this_wp_i18n_["__"])('Categories')
       
 18745         }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null)));
       
 18746       }
       
 18747 
       
 18748       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, inspectorControls, Object(external_this_wp_element_["createElement"])("div", {
       
 18749         className: this.props.className
       
 18750       }, displayAsDropdown ? this.renderCategoryDropdown() : this.renderCategoryList()));
       
 18751     }
       
 18752   }]);
       
 18753 
       
 18754   return CategoriesEdit;
       
 18755 }(external_this_wp_element_["Component"]);
       
 18756 
       
 18757 /* harmony default export */ var edit = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select) {
       
 18758   var _select = select('core'),
       
 18759       getEntityRecords = _select.getEntityRecords;
       
 18760 
       
 18761   var _select2 = select('core/data'),
       
 18762       isResolving = _select2.isResolving;
       
 18763 
       
 18764   var query = {
       
 18765     per_page: -1,
       
 18766     hide_empty: true
       
 18767   };
       
 18768   return {
       
 18769     categories: getEntityRecords('taxonomy', 'category', query),
       
 18770     isRequesting: isResolving('core', 'getEntityRecords', ['taxonomy', 'category', query])
       
 18771   };
       
 18772 }), external_this_wp_compose_["withInstanceId"])(edit_CategoriesEdit));
       
 18773 
       
 18774 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/categories/index.js
       
 18775 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return categories_name; });
       
 18776 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
 18777 
       
 18778 
       
 18779 /**
       
 18780  * WordPress dependencies
       
 18781  */
       
 18782 
       
 18783 
       
 18784 /**
       
 18785  * Internal dependencies
       
 18786  */
       
 18787 
       
 18788 
       
 18789 var categories_name = 'core/categories';
       
 18790 var settings = {
       
 18791   title: Object(external_this_wp_i18n_["__"])('Categories'),
       
 18792   description: Object(external_this_wp_i18n_["__"])('Display a list of all categories.'),
       
 18793   icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
 18794     viewBox: "0 0 24 24",
       
 18795     xmlns: "http://www.w3.org/2000/svg"
       
 18796   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 18797     d: "M0,0h24v24H0V0z",
       
 18798     fill: "none"
       
 18799   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 18800     d: "M12,2l-5.5,9h11L12,2z M12,5.84L13.93,9h-3.87L12,5.84z"
       
 18801   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 18802     d: "m17.5 13c-2.49 0-4.5 2.01-4.5 4.5s2.01 4.5 4.5 4.5 4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5zm0 7c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"
       
 18803   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 18804     d: "m3 21.5h8v-8h-8v8zm2-6h4v4h-4v-4z"
       
 18805   })),
       
 18806   category: 'widgets',
       
 18807   attributes: {
       
 18808     displayAsDropdown: {
       
 18809       type: 'boolean',
       
 18810       default: false
       
 18811     },
       
 18812     showHierarchy: {
       
 18813       type: 'boolean',
       
 18814       default: false
       
 18815     },
       
 18816     showPostCounts: {
       
 18817       type: 'boolean',
       
 18818       default: false
       
 18819     }
       
 18820   },
       
 18821   supports: {
       
 18822     align: true,
       
 18823     alignWide: false,
       
 18824     html: false
       
 18825   },
       
 18826   edit: edit,
       
 18827   save: function save() {
       
 18828     return null;
       
 18829   }
       
 18830 };
       
 18831 
       
 18832 
       
 18833 /***/ }),
       
 18834 /* 248 */
       
 18835 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
 18836 
       
 18837 "use strict";
       
 18838 __webpack_require__.r(__webpack_exports__);
       
 18839 
       
 18840 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
 18841 var external_this_wp_element_ = __webpack_require__(0);
       
 18842 
       
 18843 // EXTERNAL MODULE: external "lodash"
       
 18844 var external_lodash_ = __webpack_require__(2);
       
 18845 
       
 18846 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
 18847 var external_this_wp_i18n_ = __webpack_require__(1);
       
 18848 
       
 18849 // EXTERNAL MODULE: external {"this":["wp","blocks"]}
       
 18850 var external_this_wp_blocks_ = __webpack_require__(14);
       
 18851 
       
 18852 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
 18853 var external_this_wp_components_ = __webpack_require__(4);
       
 18854 
       
 18855 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
 18856 var classCallCheck = __webpack_require__(10);
       
 18857 
       
 18858 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
 18859 var createClass = __webpack_require__(9);
       
 18860 
       
 18861 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
 18862 var possibleConstructorReturn = __webpack_require__(11);
       
 18863 
       
 18864 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
 18865 var getPrototypeOf = __webpack_require__(12);
       
 18866 
       
 18867 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
 18868 var inherits = __webpack_require__(13);
       
 18869 
       
 18870 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
       
 18871 var assertThisInitialized = __webpack_require__(3);
       
 18872 
       
 18873 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
       
 18874 var external_this_wp_blockEditor_ = __webpack_require__(8);
       
 18875 
       
 18876 // EXTERNAL MODULE: external {"this":["wp","keycodes"]}
       
 18877 var external_this_wp_keycodes_ = __webpack_require__(18);
       
 18878 
       
 18879 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/more/edit.js
       
 18880 
       
 18881 
       
 18882 
       
 18883 
       
 18884 
       
 18885 
       
 18886 
       
 18887 
       
 18888 /**
       
 18889  * WordPress dependencies
       
 18890  */
       
 18891 
       
 18892 
       
 18893 
       
 18894 
       
 18895 
       
 18896 
       
 18897 
       
 18898 var edit_MoreEdit =
       
 18899 /*#__PURE__*/
       
 18900 function (_Component) {
       
 18901   Object(inherits["a" /* default */])(MoreEdit, _Component);
       
 18902 
       
 18903   function MoreEdit() {
       
 18904     var _this;
       
 18905 
       
 18906     Object(classCallCheck["a" /* default */])(this, MoreEdit);
       
 18907 
       
 18908     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(MoreEdit).apply(this, arguments));
       
 18909     _this.onChangeInput = _this.onChangeInput.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 18910     _this.onKeyDown = _this.onKeyDown.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 18911     _this.state = {
       
 18912       defaultText: Object(external_this_wp_i18n_["__"])('Read more')
       
 18913     };
       
 18914     return _this;
       
 18915   }
       
 18916 
       
 18917   Object(createClass["a" /* default */])(MoreEdit, [{
       
 18918     key: "onChangeInput",
       
 18919     value: function onChangeInput(event) {
       
 18920       // Set defaultText to an empty string, allowing the user to clear/replace the input field's text
       
 18921       this.setState({
       
 18922         defaultText: ''
       
 18923       });
       
 18924       var value = event.target.value.length === 0 ? undefined : event.target.value;
       
 18925       this.props.setAttributes({
       
 18926         customText: value
       
 18927       });
       
 18928     }
       
 18929   }, {
       
 18930     key: "onKeyDown",
       
 18931     value: function onKeyDown(event) {
       
 18932       var keyCode = event.keyCode;
       
 18933       var insertBlocksAfter = this.props.insertBlocksAfter;
       
 18934 
       
 18935       if (keyCode === external_this_wp_keycodes_["ENTER"]) {
       
 18936         insertBlocksAfter([Object(external_this_wp_blocks_["createBlock"])(Object(external_this_wp_blocks_["getDefaultBlockName"])())]);
       
 18937       }
       
 18938     }
       
 18939   }, {
       
 18940     key: "getHideExcerptHelp",
       
 18941     value: function getHideExcerptHelp(checked) {
       
 18942       return checked ? Object(external_this_wp_i18n_["__"])('The excerpt is hidden.') : Object(external_this_wp_i18n_["__"])('The excerpt is visible.');
       
 18943     }
       
 18944   }, {
       
 18945     key: "render",
       
 18946     value: function render() {
       
 18947       var _this$props$attribute = this.props.attributes,
       
 18948           customText = _this$props$attribute.customText,
       
 18949           noTeaser = _this$props$attribute.noTeaser;
       
 18950       var setAttributes = this.props.setAttributes;
       
 18951 
       
 18952       var toggleHideExcerpt = function toggleHideExcerpt() {
       
 18953         return setAttributes({
       
 18954           noTeaser: !noTeaser
       
 18955         });
       
 18956       };
       
 18957 
       
 18958       var defaultText = this.state.defaultText;
       
 18959       var value = customText !== undefined ? customText : defaultText;
       
 18960       var inputLength = value.length + 1;
       
 18961       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 18962         label: Object(external_this_wp_i18n_["__"])('Hide the excerpt on the full content page'),
       
 18963         checked: !!noTeaser,
       
 18964         onChange: toggleHideExcerpt,
       
 18965         help: this.getHideExcerptHelp
       
 18966       }))), Object(external_this_wp_element_["createElement"])("div", {
       
 18967         className: "wp-block-more"
       
 18968       }, Object(external_this_wp_element_["createElement"])("input", {
       
 18969         type: "text",
       
 18970         value: value,
       
 18971         size: inputLength,
       
 18972         onChange: this.onChangeInput,
       
 18973         onKeyDown: this.onKeyDown
       
 18974       })));
       
 18975     }
       
 18976   }]);
       
 18977 
       
 18978   return MoreEdit;
       
 18979 }(external_this_wp_element_["Component"]);
       
 18980 
       
 18981 
       
 18982 
       
 18983 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/more/index.js
       
 18984 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return more_name; });
       
 18985 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
 18986 
       
 18987 
       
 18988 /**
       
 18989  * External dependencies
       
 18990  */
       
 18991 
       
 18992 /**
       
 18993  * WordPress dependencies
       
 18994  */
       
 18995 
       
 18996 
       
 18997 
       
 18998 
       
 18999 
       
 19000 /**
       
 19001  * Internal dependencies
       
 19002  */
       
 19003 
       
 19004 
       
 19005 var more_name = 'core/more';
       
 19006 var settings = {
       
 19007   title: Object(external_this_wp_i18n_["_x"])('More', 'block name'),
       
 19008   description: Object(external_this_wp_i18n_["__"])('Content before this block will be shown in the excerpt on your archives page.'),
       
 19009   icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
 19010     viewBox: "0 0 24 24",
       
 19011     xmlns: "http://www.w3.org/2000/svg"
       
 19012   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 19013     fill: "none",
       
 19014     d: "M0 0h24v24H0V0z"
       
 19015   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["G"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 19016     d: "M2 9v2h19V9H2zm0 6h5v-2H2v2zm7 0h5v-2H9v2zm7 0h5v-2h-5v2z"
       
 19017   }))),
       
 19018   category: 'layout',
       
 19019   supports: {
       
 19020     customClassName: false,
       
 19021     className: false,
       
 19022     html: false,
       
 19023     multiple: false
       
 19024   },
       
 19025   attributes: {
       
 19026     customText: {
       
 19027       type: 'string'
       
 19028     },
       
 19029     noTeaser: {
       
 19030       type: 'boolean',
       
 19031       default: false
       
 19032     }
       
 19033   },
       
 19034   transforms: {
       
 19035     from: [{
       
 19036       type: 'raw',
       
 19037       schema: {
       
 19038         'wp-block': {
       
 19039           attributes: ['data-block']
       
 19040         }
       
 19041       },
       
 19042       isMatch: function isMatch(node) {
       
 19043         return node.dataset && node.dataset.block === 'core/more';
       
 19044       },
       
 19045       transform: function transform(node) {
       
 19046         var _node$dataset = node.dataset,
       
 19047             customText = _node$dataset.customText,
       
 19048             noTeaser = _node$dataset.noTeaser;
       
 19049         var attrs = {}; // Don't copy unless defined and not an empty string
       
 19050 
       
 19051         if (customText) {
       
 19052           attrs.customText = customText;
       
 19053         } // Special handling for boolean
       
 19054 
       
 19055 
       
 19056         if (noTeaser === '') {
       
 19057           attrs.noTeaser = true;
       
 19058         }
       
 19059 
       
 19060         return Object(external_this_wp_blocks_["createBlock"])('core/more', attrs);
       
 19061       }
       
 19062     }]
       
 19063   },
       
 19064   edit: edit_MoreEdit,
       
 19065   save: function save(_ref) {
       
 19066     var attributes = _ref.attributes;
       
 19067     var customText = attributes.customText,
       
 19068         noTeaser = attributes.noTeaser;
       
 19069     var moreTag = customText ? "<!--more ".concat(customText, "-->") : '<!--more-->';
       
 19070     var noTeaserTag = noTeaser ? '<!--noteaser-->' : '';
       
 19071     return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["RawHTML"], null, Object(external_lodash_["compact"])([moreTag, noTeaserTag]).join('\n'));
       
 19072   }
       
 19073 };
       
 19074 
       
 19075 
       
 19076 /***/ }),
       
 19077 /* 249 */
       
 19078 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
 19079 
       
 19080 "use strict";
       
 19081 __webpack_require__.r(__webpack_exports__);
       
 19082 
       
 19083 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
 19084 var external_this_wp_element_ = __webpack_require__(0);
       
 19085 
       
 19086 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
 19087 var external_this_wp_i18n_ = __webpack_require__(1);
       
 19088 
       
 19089 // EXTERNAL MODULE: external {"this":["wp","blocks"]}
       
 19090 var external_this_wp_blocks_ = __webpack_require__(14);
       
 19091 
       
 19092 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
 19093 var external_this_wp_components_ = __webpack_require__(4);
       
 19094 
       
 19095 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/nextpage/edit.js
       
 19096 
       
 19097 
       
 19098 /**
       
 19099  * WordPress dependencies
       
 19100  */
       
 19101 
       
 19102 function NextPageEdit() {
       
 19103   return Object(external_this_wp_element_["createElement"])("div", {
       
 19104     className: "wp-block-nextpage"
       
 19105   }, Object(external_this_wp_element_["createElement"])("span", null, Object(external_this_wp_i18n_["__"])('Page break')));
       
 19106 }
       
 19107 
       
 19108 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/nextpage/index.js
       
 19109 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return nextpage_name; });
       
 19110 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
 19111 
       
 19112 
       
 19113 /**
       
 19114  * WordPress dependencies
       
 19115  */
       
 19116 
       
 19117 
       
 19118 
       
 19119 
       
 19120 /**
       
 19121  * Internal dependencies
       
 19122  */
       
 19123 
       
 19124 
       
 19125 var nextpage_name = 'core/nextpage';
       
 19126 var settings = {
       
 19127   title: Object(external_this_wp_i18n_["__"])('Page Break'),
       
 19128   description: Object(external_this_wp_i18n_["__"])('Separate your content into a multi-page experience.'),
       
 19129   icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
 19130     xmlns: "http://www.w3.org/2000/svg",
       
 19131     viewBox: "0 0 24 24"
       
 19132   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["G"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 19133     d: "M9 12h6v-2H9zm-7 0h5v-2H2zm15 0h5v-2h-5zm3 2v2l-6 6H6a2 2 0 0 1-2-2v-6h2v6h6v-4a2 2 0 0 1 2-2h6zM4 8V4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4h-2V4H6v4z"
       
 19134   }))),
       
 19135   category: 'layout',
       
 19136   keywords: [Object(external_this_wp_i18n_["__"])('next page'), Object(external_this_wp_i18n_["__"])('pagination')],
       
 19137   supports: {
       
 19138     customClassName: false,
       
 19139     className: false,
       
 19140     html: false
       
 19141   },
       
 19142   attributes: {},
       
 19143   transforms: {
       
 19144     from: [{
       
 19145       type: 'raw',
       
 19146       schema: {
       
 19147         'wp-block': {
       
 19148           attributes: ['data-block']
       
 19149         }
       
 19150       },
       
 19151       isMatch: function isMatch(node) {
       
 19152         return node.dataset && node.dataset.block === 'core/nextpage';
       
 19153       },
       
 19154       transform: function transform() {
       
 19155         return Object(external_this_wp_blocks_["createBlock"])('core/nextpage', {});
       
 19156       }
       
 19157     }]
       
 19158   },
       
 19159   edit: NextPageEdit,
       
 19160   save: function save() {
       
 19161     return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["RawHTML"], null, '<!--nextpage-->');
       
 19162   }
       
 19163 };
       
 19164 
       
 19165 
       
 19166 /***/ }),
       
 19167 /* 250 */
       
 19168 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
 19169 
       
 19170 "use strict";
       
 19171 __webpack_require__.r(__webpack_exports__);
       
 19172 
       
 19173 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
       
 19174 var objectSpread = __webpack_require__(7);
       
 19175 
       
 19176 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
       
 19177 var defineProperty = __webpack_require__(15);
       
 19178 
       
 19179 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
 19180 var external_this_wp_element_ = __webpack_require__(0);
       
 19181 
       
 19182 // EXTERNAL MODULE: ./node_modules/classnames/index.js
       
 19183 var classnames = __webpack_require__(16);
       
 19184 var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
       
 19185 
       
 19186 // EXTERNAL MODULE: external "lodash"
       
 19187 var external_lodash_ = __webpack_require__(2);
       
 19188 
       
 19189 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
 19190 var external_this_wp_i18n_ = __webpack_require__(1);
       
 19191 
       
 19192 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
       
 19193 var external_this_wp_blockEditor_ = __webpack_require__(8);
       
 19194 
       
 19195 // EXTERNAL MODULE: external {"this":["wp","data"]}
       
 19196 var external_this_wp_data_ = __webpack_require__(5);
       
 19197 
       
 19198 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
 19199 var external_this_wp_components_ = __webpack_require__(4);
       
 19200 
       
 19201 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
       
 19202 var esm_extends = __webpack_require__(19);
       
 19203 
       
 19204 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
 19205 var classCallCheck = __webpack_require__(10);
       
 19206 
       
 19207 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
 19208 var createClass = __webpack_require__(9);
       
 19209 
       
 19210 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
 19211 var possibleConstructorReturn = __webpack_require__(11);
       
 19212 
       
 19213 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
 19214 var getPrototypeOf = __webpack_require__(12);
       
 19215 
       
 19216 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
 19217 var inherits = __webpack_require__(13);
       
 19218 
       
 19219 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
       
 19220 var assertThisInitialized = __webpack_require__(3);
       
 19221 
       
 19222 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/edit.js
       
 19223 
       
 19224 
       
 19225 
       
 19226 
       
 19227 
       
 19228 
       
 19229 
       
 19230 
       
 19231 
       
 19232 
       
 19233 /**
       
 19234  * External dependencies
       
 19235  */
       
 19236 
       
 19237 
       
 19238 /**
       
 19239  * WordPress dependencies
       
 19240  */
       
 19241 
       
 19242 
       
 19243 
       
 19244 
       
 19245 var SOLID_COLOR_STYLE_NAME = 'solid-color';
       
 19246 var SOLID_COLOR_CLASS = "is-style-".concat(SOLID_COLOR_STYLE_NAME);
       
 19247 
       
 19248 var edit_PullQuoteEdit =
       
 19249 /*#__PURE__*/
       
 19250 function (_Component) {
       
 19251   Object(inherits["a" /* default */])(PullQuoteEdit, _Component);
       
 19252 
       
 19253   function PullQuoteEdit(props) {
       
 19254     var _this;
       
 19255 
       
 19256     Object(classCallCheck["a" /* default */])(this, PullQuoteEdit);
       
 19257 
       
 19258     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(PullQuoteEdit).call(this, props));
       
 19259     _this.wasTextColorAutomaticallyComputed = false;
       
 19260     _this.pullQuoteMainColorSetter = _this.pullQuoteMainColorSetter.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 19261     _this.pullQuoteTextColorSetter = _this.pullQuoteTextColorSetter.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 19262     return _this;
       
 19263   }
       
 19264 
       
 19265   Object(createClass["a" /* default */])(PullQuoteEdit, [{
       
 19266     key: "pullQuoteMainColorSetter",
       
 19267     value: function pullQuoteMainColorSetter(colorValue) {
       
 19268       var _this$props = this.props,
       
 19269           colorUtils = _this$props.colorUtils,
       
 19270           textColor = _this$props.textColor,
       
 19271           setTextColor = _this$props.setTextColor,
       
 19272           setMainColor = _this$props.setMainColor,
       
 19273           className = _this$props.className;
       
 19274       var isSolidColorStyle = Object(external_lodash_["includes"])(className, SOLID_COLOR_CLASS);
       
 19275       var needTextColor = !textColor.color || this.wasTextColorAutomaticallyComputed;
       
 19276       var shouldSetTextColor = isSolidColorStyle && needTextColor && colorValue;
       
 19277       setMainColor(colorValue);
       
 19278 
       
 19279       if (shouldSetTextColor) {
       
 19280         this.wasTextColorAutomaticallyComputed = true;
       
 19281         setTextColor(colorUtils.getMostReadableColor(colorValue));
       
 19282       }
       
 19283     }
       
 19284   }, {
       
 19285     key: "pullQuoteTextColorSetter",
       
 19286     value: function pullQuoteTextColorSetter(colorValue) {
       
 19287       var setTextColor = this.props.setTextColor;
       
 19288       setTextColor(colorValue);
       
 19289       this.wasTextColorAutomaticallyComputed = false;
       
 19290     }
       
 19291   }, {
       
 19292     key: "render",
       
 19293     value: function render() {
       
 19294       var _this$props2 = this.props,
       
 19295           attributes = _this$props2.attributes,
       
 19296           mainColor = _this$props2.mainColor,
       
 19297           textColor = _this$props2.textColor,
       
 19298           setAttributes = _this$props2.setAttributes,
       
 19299           isSelected = _this$props2.isSelected,
       
 19300           className = _this$props2.className;
       
 19301       var value = attributes.value,
       
 19302           citation = attributes.citation;
       
 19303       var isSolidColorStyle = Object(external_lodash_["includes"])(className, SOLID_COLOR_CLASS);
       
 19304       var figureStyle = isSolidColorStyle ? {
       
 19305         backgroundColor: mainColor.color
       
 19306       } : {
       
 19307         borderColor: mainColor.color
       
 19308       };
       
 19309       var blockquoteStyle = {
       
 19310         color: textColor.color
       
 19311       };
       
 19312       var blockquoteClasses = textColor.color ? classnames_default()('has-text-color', Object(defineProperty["a" /* default */])({}, textColor.class, textColor.class)) : undefined;
       
 19313       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("figure", {
       
 19314         style: figureStyle,
       
 19315         className: classnames_default()(className, Object(defineProperty["a" /* default */])({}, mainColor.class, isSolidColorStyle && mainColor.class))
       
 19316       }, Object(external_this_wp_element_["createElement"])("blockquote", {
       
 19317         style: blockquoteStyle,
       
 19318         className: blockquoteClasses
       
 19319       }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 19320         multiline: true,
       
 19321         value: value,
       
 19322         onChange: function onChange(nextValue) {
       
 19323           return setAttributes({
       
 19324             value: nextValue
       
 19325           });
       
 19326         },
       
 19327         placeholder: // translators: placeholder text used for the quote
       
 19328         Object(external_this_wp_i18n_["__"])('Write quote…'),
       
 19329         wrapperClassName: "block-library-pullquote__content"
       
 19330       }), (!external_this_wp_blockEditor_["RichText"].isEmpty(citation) || isSelected) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 19331         value: citation,
       
 19332         placeholder: // translators: placeholder text used for the citation
       
 19333         Object(external_this_wp_i18n_["__"])('Write citation…'),
       
 19334         onChange: function onChange(nextCitation) {
       
 19335           return setAttributes({
       
 19336             citation: nextCitation
       
 19337           });
       
 19338         },
       
 19339         className: "wp-block-pullquote__citation"
       
 19340       }))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PanelColorSettings"], {
       
 19341         title: Object(external_this_wp_i18n_["__"])('Color Settings'),
       
 19342         colorSettings: [{
       
 19343           value: mainColor.color,
       
 19344           onChange: this.pullQuoteMainColorSetter,
       
 19345           label: Object(external_this_wp_i18n_["__"])('Main Color')
       
 19346         }, {
       
 19347           value: textColor.color,
       
 19348           onChange: this.pullQuoteTextColorSetter,
       
 19349           label: Object(external_this_wp_i18n_["__"])('Text Color')
       
 19350         }]
       
 19351       }, isSolidColorStyle && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["ContrastChecker"], Object(esm_extends["a" /* default */])({
       
 19352         textColor: textColor.color,
       
 19353         backgroundColor: mainColor.color
       
 19354       }, {
       
 19355         isLargeText: false
       
 19356       })))));
       
 19357     }
       
 19358   }]);
       
 19359 
       
 19360   return PullQuoteEdit;
       
 19361 }(external_this_wp_element_["Component"]);
       
 19362 
       
 19363 /* harmony default export */ var edit = (Object(external_this_wp_blockEditor_["withColors"])({
       
 19364   mainColor: 'background-color',
       
 19365   textColor: 'color'
       
 19366 })(edit_PullQuoteEdit));
       
 19367 
       
 19368 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/index.js
       
 19369 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return pullquote_name; });
       
 19370 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
 19371 
       
 19372 
       
 19373 
       
 19374 
       
 19375 /**
       
 19376  * External dependencies
       
 19377  */
       
 19378 
       
 19379 
       
 19380 /**
       
 19381  * WordPress dependencies
       
 19382  */
       
 19383 
       
 19384 
       
 19385 
       
 19386 
       
 19387 
       
 19388 /**
       
 19389  * Internal dependencies
       
 19390  */
       
 19391 
       
 19392 
       
 19393 var blockAttributes = {
       
 19394   value: {
       
 19395     type: 'string',
       
 19396     source: 'html',
       
 19397     selector: 'blockquote',
       
 19398     multiline: 'p'
       
 19399   },
       
 19400   citation: {
       
 19401     type: 'string',
       
 19402     source: 'html',
       
 19403     selector: 'cite',
       
 19404     default: ''
       
 19405   },
       
 19406   mainColor: {
       
 19407     type: 'string'
       
 19408   },
       
 19409   customMainColor: {
       
 19410     type: 'string'
       
 19411   },
       
 19412   textColor: {
       
 19413     type: 'string'
       
 19414   },
       
 19415   customTextColor: {
       
 19416     type: 'string'
       
 19417   }
       
 19418 };
       
 19419 var pullquote_name = 'core/pullquote';
       
 19420 var settings = {
       
 19421   title: Object(external_this_wp_i18n_["__"])('Pullquote'),
       
 19422   description: Object(external_this_wp_i18n_["__"])('Give special visual emphasis to a quote from your text.'),
       
 19423   icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
 19424     viewBox: "0 0 24 24",
       
 19425     xmlns: "http://www.w3.org/2000/svg"
       
 19426   }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 19427     d: "M0,0h24v24H0V0z",
       
 19428     fill: "none"
       
 19429   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Polygon"], {
       
 19430     points: "21 18 2 18 2 20 21 20"
       
 19431   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
 19432     d: "m19 10v4h-15v-4h15m1-2h-17c-0.55 0-1 0.45-1 1v6c0 0.55 0.45 1 1 1h17c0.55 0 1-0.45 1-1v-6c0-0.55-0.45-1-1-1z"
       
 19433   }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Polygon"], {
       
 19434     points: "21 4 2 4 2 6 21 6"
       
 19435   })),
       
 19436   category: 'formatting',
       
 19437   attributes: blockAttributes,
       
 19438   styles: [{
       
 19439     name: 'default',
       
 19440     label: Object(external_this_wp_i18n_["_x"])('Default', 'block style'),
       
 19441     isDefault: true
       
 19442   }, {
       
 19443     name: SOLID_COLOR_STYLE_NAME,
       
 19444     label: Object(external_this_wp_i18n_["__"])('Solid Color')
       
 19445   }],
       
 19446   supports: {
       
 19447     align: ['left', 'right', 'wide', 'full']
       
 19448   },
       
 19449   edit: edit,
       
 19450   save: function save(_ref) {
       
 19451     var attributes = _ref.attributes;
       
 19452     var mainColor = attributes.mainColor,
       
 19453         customMainColor = attributes.customMainColor,
       
 19454         textColor = attributes.textColor,
       
 19455         customTextColor = attributes.customTextColor,
       
 19456         value = attributes.value,
       
 19457         citation = attributes.citation,
       
 19458         className = attributes.className;
       
 19459     var isSolidColorStyle = Object(external_lodash_["includes"])(className, SOLID_COLOR_CLASS);
       
 19460     var figureClass, figureStyles; // Is solid color style
       
 19461 
       
 19462     if (isSolidColorStyle) {
       
 19463       figureClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', mainColor);
       
 19464 
       
 19465       if (!figureClass) {
       
 19466         figureStyles = {
       
 19467           backgroundColor: customMainColor
       
 19468         };
       
 19469       } // Is normal style and a custom color is being used ( we can set a style directly with its value)
       
 19470 
       
 19471     } else if (customMainColor) {
       
 19472       figureStyles = {
       
 19473         borderColor: customMainColor
       
 19474       }; // Is normal style and a named color is being used, we need to retrieve the color value to set the style,
       
 19475       // as there is no expectation that themes create classes that set border colors.
       
 19476     } else if (mainColor) {
       
 19477       var colors = Object(external_lodash_["get"])(Object(external_this_wp_data_["select"])('core/block-editor').getSettings(), ['colors'], []);
       
 19478       var colorObject = Object(external_this_wp_blockEditor_["getColorObjectByAttributeValues"])(colors, mainColor);
       
 19479       figureStyles = {
       
 19480         borderColor: colorObject.color
       
 19481       };
       
 19482     }
       
 19483 
       
 19484     var blockquoteTextColorClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
       
 19485     var blockquoteClasses = textColor || customTextColor ? classnames_default()('has-text-color', Object(defineProperty["a" /* default */])({}, blockquoteTextColorClass, blockquoteTextColorClass)) : undefined;
       
 19486     var blockquoteStyle = blockquoteTextColorClass ? undefined : {
       
 19487       color: customTextColor
       
 19488     };
       
 19489     return Object(external_this_wp_element_["createElement"])("figure", {
       
 19490       className: figureClass,
       
 19491       style: figureStyles
       
 19492     }, Object(external_this_wp_element_["createElement"])("blockquote", {
       
 19493       className: blockquoteClasses,
       
 19494       style: blockquoteStyle
       
 19495     }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 19496       value: value,
       
 19497       multiline: true
       
 19498     }), !external_this_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 19499       tagName: "cite",
       
 19500       value: citation
       
 19501     })));
       
 19502   },
       
 19503   deprecated: [{
       
 19504     attributes: Object(objectSpread["a" /* default */])({}, blockAttributes),
       
 19505     save: function save(_ref2) {
       
 19506       var attributes = _ref2.attributes;
       
 19507       var value = attributes.value,
       
 19508           citation = attributes.citation;
       
 19509       return Object(external_this_wp_element_["createElement"])("blockquote", null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 19510         value: value,
       
 19511         multiline: true
       
 19512       }), !external_this_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 19513         tagName: "cite",
       
 19514         value: citation
       
 19515       }));
       
 19516     }
       
 19517   }, {
       
 19518     attributes: Object(objectSpread["a" /* default */])({}, blockAttributes, {
       
 19519       citation: {
       
 19520         type: 'string',
       
 19521         source: 'html',
       
 19522         selector: 'footer'
       
 19523       },
       
 19524       align: {
       
 19525         type: 'string',
       
 19526         default: 'none'
       
 19527       }
       
 19528     }),
       
 19529     save: function save(_ref3) {
       
 19530       var attributes = _ref3.attributes;
       
 19531       var value = attributes.value,
       
 19532           citation = attributes.citation,
       
 19533           align = attributes.align;
       
 19534       return Object(external_this_wp_element_["createElement"])("blockquote", {
       
 19535         className: "align".concat(align)
       
 19536       }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 19537         value: value,
       
 19538         multiline: true
       
 19539       }), !external_this_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
       
 19540         tagName: "footer",
       
 19541         value: citation
       
 19542       }));
       
 19543     }
       
 19544   }]
       
 19545 };
       
 19546 
       
 19547 
       
 19548 /***/ }),
       
 19549 /* 251 */
       
 19550 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
 19551 
       
 19552 "use strict";
       
 19553 __webpack_require__.r(__webpack_exports__);
       
 19554 
       
 19555 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
 19556 var external_this_wp_i18n_ = __webpack_require__(1);
       
 19557 
       
 19558 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
 19559 var external_this_wp_element_ = __webpack_require__(0);
       
 19560 
       
 19561 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
       
 19562 var external_this_wp_blockEditor_ = __webpack_require__(8);
       
 19563 
       
 19564 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/search/edit.js
       
 19565 
       
 19566 
       
 19567 /**
       
 19568  * WordPress dependencies
       
 19569  */
       
 19570 
       
 19571 
       
 19572 function SearchEdit(_ref) {
       
 19573   var className = _ref.className,
       
 19574       attributes = _ref.attributes,
       
 19575       setAttributes = _ref.setAttributes;
       
 19576   var label = attributes.label,
       
 19577       placeholder = attributes.placeholder,
       
 19578       buttonText = attributes.buttonText;
       
 19579   return Object(external_this_wp_element_["createElement"])("div", {
       
 19580     className: className
       
 19581   }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 19582     wrapperClassName: "wp-block-search__label",
       
 19583     "aria-label": Object(external_this_wp_i18n_["__"])('Label text'),
       
 19584     placeholder: Object(external_this_wp_i18n_["__"])('Add label…'),
       
 19585     keepPlaceholderOnFocus: true,
       
 19586     formattingControls: [],
       
 19587     value: label,
       
 19588     onChange: function onChange(html) {
       
 19589       return setAttributes({
       
 19590         label: html
       
 19591       });
       
 19592     }
       
 19593   }), Object(external_this_wp_element_["createElement"])("input", {
       
 19594     className: "wp-block-search__input",
       
 19595     "aria-label": Object(external_this_wp_i18n_["__"])('Optional placeholder text') // We hide the placeholder field's placeholder when there is a value. This
       
 19596     // stops screen readers from reading the placeholder field's placeholder
       
 19597     // which is confusing.
       
 19598     ,
       
 19599     placeholder: placeholder ? undefined : Object(external_this_wp_i18n_["__"])('Optional placeholder…'),
       
 19600     value: placeholder,
       
 19601     onChange: function onChange(event) {
       
 19602       return setAttributes({
       
 19603         placeholder: event.target.value
       
 19604       });
       
 19605     }
       
 19606   }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
       
 19607     wrapperClassName: "wp-block-search__button",
       
 19608     className: "wp-block-search__button-rich-text",
       
 19609     "aria-label": Object(external_this_wp_i18n_["__"])('Button text'),
       
 19610     placeholder: Object(external_this_wp_i18n_["__"])('Add button text…'),
       
 19611     keepPlaceholderOnFocus: true,
       
 19612     formattingControls: [],
       
 19613     value: buttonText,
       
 19614     onChange: function onChange(html) {
       
 19615       return setAttributes({
       
 19616         buttonText: html
       
 19617       });
       
 19618     }
       
 19619   }));
       
 19620 }
       
 19621 
       
 19622 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/search/index.js
       
 19623 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return search_name; });
       
 19624 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
 19625 /**
       
 19626  * WordPress dependencies
       
 19627  */
       
 19628 
       
 19629 /**
       
 19630  * Internal dependencies
       
 19631  */
       
 19632 
       
 19633 
       
 19634 var search_name = 'core/search';
       
 19635 var settings = {
       
 19636   title: Object(external_this_wp_i18n_["__"])('Search'),
       
 19637   description: Object(external_this_wp_i18n_["__"])('Help visitors find your content.'),
       
 19638   icon: 'search',
       
 19639   category: 'widgets',
       
 19640   keywords: [Object(external_this_wp_i18n_["__"])('find')],
       
 19641   edit: SearchEdit,
       
 19642   save: function save() {
       
 19643     return null;
       
 19644   }
       
 19645 };
       
 19646 
       
 19647 
       
 19648 /***/ }),
       
 19649 /* 252 */
       
 19650 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
 19651 
       
 19652 "use strict";
       
 19653 __webpack_require__.r(__webpack_exports__);
       
 19654 
       
 19655 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
 19656 var external_this_wp_i18n_ = __webpack_require__(1);
       
 19657 
       
 19658 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
       
 19659 var defineProperty = __webpack_require__(15);
       
 19660 
       
 19661 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
 19662 var classCallCheck = __webpack_require__(10);
       
 19663 
       
 19664 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
 19665 var createClass = __webpack_require__(9);
       
 19666 
       
 19667 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
 19668 var possibleConstructorReturn = __webpack_require__(11);
       
 19669 
       
 19670 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
 19671 var getPrototypeOf = __webpack_require__(12);
       
 19672 
       
 19673 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
 19674 var inherits = __webpack_require__(13);
       
 19675 
       
 19676 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
       
 19677 var assertThisInitialized = __webpack_require__(3);
       
 19678 
       
 19679 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
 19680 var external_this_wp_element_ = __webpack_require__(0);
       
 19681 
       
 19682 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
 19683 var external_this_wp_components_ = __webpack_require__(4);
       
 19684 
       
 19685 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
       
 19686 var external_this_wp_blockEditor_ = __webpack_require__(8);
       
 19687 
       
 19688 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/rss/edit.js
       
 19689 
       
 19690 
       
 19691 
       
 19692 
       
 19693 
       
 19694 
       
 19695 
       
 19696 
       
 19697 
       
 19698 /**
       
 19699  * WordPress dependencies
       
 19700  */
       
 19701 
       
 19702 
       
 19703 
       
 19704 
       
 19705 var DEFAULT_MIN_ITEMS = 1;
       
 19706 var DEFAULT_MAX_ITEMS = 10;
       
 19707 
       
 19708 var edit_RSSEdit =
       
 19709 /*#__PURE__*/
       
 19710 function (_Component) {
       
 19711   Object(inherits["a" /* default */])(RSSEdit, _Component);
       
 19712 
       
 19713   function RSSEdit() {
       
 19714     var _this;
       
 19715 
       
 19716     Object(classCallCheck["a" /* default */])(this, RSSEdit);
       
 19717 
       
 19718     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(RSSEdit).apply(this, arguments));
       
 19719     _this.state = {
       
 19720       editing: !_this.props.attributes.feedURL
       
 19721     };
       
 19722     _this.toggleAttribute = _this.toggleAttribute.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 19723     _this.onSubmitURL = _this.onSubmitURL.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 19724     return _this;
       
 19725   }
       
 19726 
       
 19727   Object(createClass["a" /* default */])(RSSEdit, [{
       
 19728     key: "toggleAttribute",
       
 19729     value: function toggleAttribute(propName) {
       
 19730       var _this2 = this;
       
 19731 
       
 19732       return function () {
       
 19733         var value = _this2.props.attributes[propName];
       
 19734         var setAttributes = _this2.props.setAttributes;
       
 19735         setAttributes(Object(defineProperty["a" /* default */])({}, propName, !value));
       
 19736       };
       
 19737     }
       
 19738   }, {
       
 19739     key: "onSubmitURL",
       
 19740     value: function onSubmitURL(event) {
       
 19741       event.preventDefault();
       
 19742       var feedURL = this.props.attributes.feedURL;
       
 19743 
       
 19744       if (feedURL) {
       
 19745         this.setState({
       
 19746           editing: false
       
 19747         });
       
 19748       }
       
 19749     }
       
 19750   }, {
       
 19751     key: "render",
       
 19752     value: function render() {
       
 19753       var _this3 = this;
       
 19754 
       
 19755       var _this$props$attribute = this.props.attributes,
       
 19756           blockLayout = _this$props$attribute.blockLayout,
       
 19757           columns = _this$props$attribute.columns,
       
 19758           displayAuthor = _this$props$attribute.displayAuthor,
       
 19759           displayExcerpt = _this$props$attribute.displayExcerpt,
       
 19760           displayDate = _this$props$attribute.displayDate,
       
 19761           excerptLength = _this$props$attribute.excerptLength,
       
 19762           feedURL = _this$props$attribute.feedURL,
       
 19763           itemsToShow = _this$props$attribute.itemsToShow;
       
 19764       var setAttributes = this.props.setAttributes;
       
 19765 
       
 19766       if (this.state.editing) {
       
 19767         return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], {
       
 19768           icon: "rss",
       
 19769           label: "RSS"
       
 19770         }, Object(external_this_wp_element_["createElement"])("form", {
       
 19771           onSubmit: this.onSubmitURL
       
 19772         }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
       
 19773           placeholder: Object(external_this_wp_i18n_["__"])('Enter URL here…'),
       
 19774           value: feedURL,
       
 19775           onChange: function onChange(value) {
       
 19776             return setAttributes({
       
 19777               feedURL: value
       
 19778             });
       
 19779           },
       
 19780           className: 'components-placeholder__input'
       
 19781         }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
 19782           isLarge: true,
       
 19783           type: "submit"
       
 19784         }, Object(external_this_wp_i18n_["__"])('Use URL'))));
       
 19785       }
       
 19786 
       
 19787       var toolbarControls = [{
       
 19788         icon: 'edit',
       
 19789         title: Object(external_this_wp_i18n_["__"])('Edit RSS URL'),
       
 19790         onClick: function onClick() {
       
 19791           return _this3.setState({
       
 19792             editing: true
       
 19793           });
       
 19794         }
       
 19795       }, {
       
 19796         icon: 'list-view',
       
 19797         title: Object(external_this_wp_i18n_["__"])('List View'),
       
 19798         onClick: function onClick() {
       
 19799           return setAttributes({
       
 19800             blockLayout: 'list'
       
 19801           });
       
 19802         },
       
 19803         isActive: blockLayout === 'list'
       
 19804       }, {
       
 19805         icon: 'grid-view',
       
 19806         title: Object(external_this_wp_i18n_["__"])('Grid View'),
       
 19807         onClick: function onClick() {
       
 19808           return setAttributes({
       
 19809             blockLayout: 'grid'
       
 19810           });
       
 19811         },
       
 19812         isActive: blockLayout === 'grid'
       
 19813       }];
       
 19814       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], {
       
 19815         controls: toolbarControls
       
 19816       })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 19817         title: Object(external_this_wp_i18n_["__"])('RSS Settings')
       
 19818       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], {
       
 19819         label: Object(external_this_wp_i18n_["__"])('Number of items'),
       
 19820         value: itemsToShow,
       
 19821         onChange: function onChange(value) {
       
 19822           return setAttributes({
       
 19823             itemsToShow: value
       
 19824           });
       
 19825         },
       
 19826         min: DEFAULT_MIN_ITEMS,
       
 19827         max: DEFAULT_MAX_ITEMS,
       
 19828         required: true
       
 19829       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 19830         label: Object(external_this_wp_i18n_["__"])('Display author'),
       
 19831         checked: displayAuthor,
       
 19832         onChange: this.toggleAttribute('displayAuthor')
       
 19833       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 19834         label: Object(external_this_wp_i18n_["__"])('Display date'),
       
 19835         checked: displayDate,
       
 19836         onChange: this.toggleAttribute('displayDate')
       
 19837       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 19838         label: Object(external_this_wp_i18n_["__"])('Display excerpt'),
       
 19839         checked: displayExcerpt,
       
 19840         onChange: this.toggleAttribute('displayExcerpt')
       
 19841       }), displayExcerpt && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], {
       
 19842         label: Object(external_this_wp_i18n_["__"])('Max number of words in excerpt'),
       
 19843         value: excerptLength,
       
 19844         onChange: function onChange(value) {
       
 19845           return setAttributes({
       
 19846             excerptLength: value
       
 19847           });
       
 19848         },
       
 19849         min: 10,
       
 19850         max: 100,
       
 19851         required: true
       
 19852       }), blockLayout === 'grid' && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], {
       
 19853         label: Object(external_this_wp_i18n_["__"])('Columns'),
       
 19854         value: columns,
       
 19855         onChange: function onChange(value) {
       
 19856           return setAttributes({
       
 19857             columns: value
       
 19858           });
       
 19859         },
       
 19860         min: 2,
       
 19861         max: 6,
       
 19862         required: true
       
 19863       }))), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Disabled"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ServerSideRender"], {
       
 19864         block: "core/rss",
       
 19865         attributes: this.props.attributes
       
 19866       })));
       
 19867     }
       
 19868   }]);
       
 19869 
       
 19870   return RSSEdit;
       
 19871 }(external_this_wp_element_["Component"]);
       
 19872 
       
 19873 /* harmony default export */ var edit = (edit_RSSEdit);
       
 19874 
       
 19875 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/rss/index.js
       
 19876 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return rss_name; });
       
 19877 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
 19878 /**
       
 19879  * WordPress dependencies
       
 19880  */
       
 19881 
       
 19882 /**
       
 19883  * Internal dependencies
       
 19884  */
       
 19885 
       
 19886 
       
 19887 var rss_name = 'core/rss';
       
 19888 var settings = {
       
 19889   title: Object(external_this_wp_i18n_["__"])('RSS'),
       
 19890   description: Object(external_this_wp_i18n_["__"])('Display entries from any RSS or Atom feed.'),
       
 19891   icon: 'rss',
       
 19892   category: 'widgets',
       
 19893   keywords: [Object(external_this_wp_i18n_["__"])('atom'), Object(external_this_wp_i18n_["__"])('feed')],
       
 19894   supports: {
       
 19895     html: false
       
 19896   },
       
 19897   edit: edit,
       
 19898   save: function save() {
       
 19899     return null;
       
 19900   }
       
 19901 };
       
 19902 
       
 19903 
       
 19904 /***/ }),
       
 19905 /* 253 */
       
 19906 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
 19907 
       
 19908 "use strict";
       
 19909 __webpack_require__.r(__webpack_exports__);
       
 19910 
       
 19911 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
       
 19912 var external_this_wp_i18n_ = __webpack_require__(1);
       
 19913 
       
 19914 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
       
 19915 var toConsumableArray = __webpack_require__(17);
       
 19916 
       
 19917 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
 19918 var classCallCheck = __webpack_require__(10);
       
 19919 
       
 19920 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
 19921 var createClass = __webpack_require__(9);
       
 19922 
       
 19923 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
 19924 var possibleConstructorReturn = __webpack_require__(11);
       
 19925 
       
 19926 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
 19927 var getPrototypeOf = __webpack_require__(12);
       
 19928 
       
 19929 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
 19930 var inherits = __webpack_require__(13);
       
 19931 
       
 19932 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
       
 19933 var assertThisInitialized = __webpack_require__(3);
       
 19934 
       
 19935 // EXTERNAL MODULE: external {"this":["wp","element"]}
       
 19936 var external_this_wp_element_ = __webpack_require__(0);
       
 19937 
       
 19938 // EXTERNAL MODULE: external "lodash"
       
 19939 var external_lodash_ = __webpack_require__(2);
       
 19940 
       
 19941 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
 19942 var external_this_wp_components_ = __webpack_require__(4);
       
 19943 
       
 19944 // EXTERNAL MODULE: external {"this":["wp","data"]}
       
 19945 var external_this_wp_data_ = __webpack_require__(5);
       
 19946 
       
 19947 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
       
 19948 var external_this_wp_blockEditor_ = __webpack_require__(8);
       
 19949 
       
 19950 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/tag-cloud/edit.js
       
 19951 
       
 19952 
       
 19953 
       
 19954 
       
 19955 
       
 19956 
       
 19957 
       
 19958 
       
 19959 
       
 19960 /**
       
 19961  * External dependencies
       
 19962  */
       
 19963 
       
 19964 /**
       
 19965  * WordPress dependencies
       
 19966  */
       
 19967 
       
 19968 
       
 19969 
       
 19970 
       
 19971 
       
 19972 
       
 19973 
       
 19974 var edit_TagCloudEdit =
       
 19975 /*#__PURE__*/
       
 19976 function (_Component) {
       
 19977   Object(inherits["a" /* default */])(TagCloudEdit, _Component);
       
 19978 
       
 19979   function TagCloudEdit() {
       
 19980     var _this;
       
 19981 
       
 19982     Object(classCallCheck["a" /* default */])(this, TagCloudEdit);
       
 19983 
       
 19984     _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(TagCloudEdit).apply(this, arguments));
       
 19985     _this.state = {
       
 19986       editing: !_this.props.attributes.taxonomy
       
 19987     };
       
 19988     _this.setTaxonomy = _this.setTaxonomy.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 19989     _this.toggleShowTagCounts = _this.toggleShowTagCounts.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
       
 19990     return _this;
       
 19991   }
       
 19992 
       
 19993   Object(createClass["a" /* default */])(TagCloudEdit, [{
       
 19994     key: "getTaxonomyOptions",
       
 19995     value: function getTaxonomyOptions() {
       
 19996       var taxonomies = Object(external_lodash_["filter"])(this.props.taxonomies, 'show_cloud');
       
 19997       var selectOption = {
       
 19998         label: Object(external_this_wp_i18n_["__"])('- Select -'),
       
 19999         value: ''
       
 20000       };
       
 20001       var taxonomyOptions = Object(external_lodash_["map"])(taxonomies, function (taxonomy) {
       
 20002         return {
       
 20003           value: taxonomy.slug,
       
 20004           label: taxonomy.name
       
 20005         };
       
 20006       });
       
 20007       return [selectOption].concat(Object(toConsumableArray["a" /* default */])(taxonomyOptions));
       
 20008     }
       
 20009   }, {
       
 20010     key: "setTaxonomy",
       
 20011     value: function setTaxonomy(taxonomy) {
       
 20012       var setAttributes = this.props.setAttributes;
       
 20013       setAttributes({
       
 20014         taxonomy: taxonomy
       
 20015       });
       
 20016     }
       
 20017   }, {
       
 20018     key: "toggleShowTagCounts",
       
 20019     value: function toggleShowTagCounts() {
       
 20020       var _this$props = this.props,
       
 20021           attributes = _this$props.attributes,
       
 20022           setAttributes = _this$props.setAttributes;
       
 20023       var showTagCounts = attributes.showTagCounts;
       
 20024       setAttributes({
       
 20025         showTagCounts: !showTagCounts
       
 20026       });
       
 20027     }
       
 20028   }, {
       
 20029     key: "render",
       
 20030     value: function render() {
       
 20031       var attributes = this.props.attributes;
       
 20032       var taxonomy = attributes.taxonomy,
       
 20033           showTagCounts = attributes.showTagCounts;
       
 20034       var taxonomyOptions = this.getTaxonomyOptions();
       
 20035       var inspectorControls = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
       
 20036         title: Object(external_this_wp_i18n_["__"])('Tag Cloud Settings')
       
 20037       }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], {
       
 20038         label: Object(external_this_wp_i18n_["__"])('Taxonomy'),
       
 20039         options: taxonomyOptions,
       
 20040         value: taxonomy,
       
 20041         onChange: this.setTaxonomy
       
 20042       }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
       
 20043         label: Object(external_this_wp_i18n_["__"])('Show post counts'),
       
 20044         checked: showTagCounts,
       
 20045         onChange: this.toggleShowTagCounts
       
 20046       })));
       
 20047       return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, inspectorControls, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ServerSideRender"], {
       
 20048         key: "tag-cloud",
       
 20049         block: "core/tag-cloud",
       
 20050         attributes: attributes
       
 20051       }));
       
 20052     }
       
 20053   }]);
       
 20054 
       
 20055   return TagCloudEdit;
       
 20056 }(external_this_wp_element_["Component"]);
       
 20057 
       
 20058 /* harmony default export */ var edit = (Object(external_this_wp_data_["withSelect"])(function (select) {
       
 20059   return {
       
 20060     taxonomies: select('core').getTaxonomies()
       
 20061   };
       
 20062 })(edit_TagCloudEdit));
       
 20063 
       
 20064 // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/tag-cloud/index.js
       
 20065 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return tag_cloud_name; });
       
 20066 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
       
 20067 /**
       
 20068  * WordPress dependencies
       
 20069  */
       
 20070 
       
 20071 /**
       
 20072  * Internal dependencies
       
 20073  */
       
 20074 
       
 20075 
       
 20076 var tag_cloud_name = 'core/tag-cloud';
       
 20077 var settings = {
       
 20078   title: Object(external_this_wp_i18n_["__"])('Tag Cloud'),
       
 20079   description: Object(external_this_wp_i18n_["__"])('A cloud of your most used tags.'),
       
 20080   icon: 'tag',
       
 20081   category: 'widgets',
       
 20082   supports: {
       
 20083     html: false,
       
 20084     align: true
       
 20085   },
       
 20086   edit: edit,
       
 20087   save: function save() {
       
 20088     return null;
       
 20089   }
       
 20090 };
       
 20091 
       
 20092 
       
 20093 /***/ }),
       
 20094 /* 254 */,
       
 20095 /* 255 */,
       
 20096 /* 256 */
       
 20097 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
 20098 
       
 20099 "use strict";
       
 20100 __webpack_require__.r(__webpack_exports__);
       
 20101 /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "registerCoreBlocks", function() { return registerCoreBlocks; });
       
 20102 /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17);
       
 20103 /* harmony import */ var _wordpress_core_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(72);
       
 20104 /* harmony import */ var _wordpress_core_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_core_data__WEBPACK_IMPORTED_MODULE_1__);
       
 20105 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8);
       
 20106 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__);
       
 20107 /* harmony import */ var _wordpress_editor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(22);
       
 20108 /* harmony import */ var _wordpress_editor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_editor__WEBPACK_IMPORTED_MODULE_3__);
       
 20109 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(14);
       
 20110 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_4__);
       
 20111 /* harmony import */ var _paragraph__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(138);
       
 20112 /* harmony import */ var _image__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(230);
       
 20113 /* harmony import */ var _heading__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(235);
       
 20114 /* harmony import */ var _quote__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(208);
       
 20115 /* harmony import */ var _gallery__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(234);
       
 20116 /* harmony import */ var _archives__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(242);
       
 20117 /* harmony import */ var _audio__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(236);
       
 20118 /* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(243);
       
 20119 /* harmony import */ var _calendar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(246);
       
 20120 /* harmony import */ var _categories__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(247);
       
 20121 /* harmony import */ var _code__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(240);
       
 20122 /* harmony import */ var _columns__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(209);
       
 20123 /* harmony import */ var _columns_column__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(210);
       
 20124 /* harmony import */ var _cover__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(237);
       
 20125 /* harmony import */ var _embed__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(110);
       
 20126 /* harmony import */ var _file__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(232);
       
 20127 /* harmony import */ var _html__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(241);
       
 20128 /* harmony import */ var _media_text__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(229);
       
 20129 /* harmony import */ var _latest_comments__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(244);
       
 20130 /* harmony import */ var _latest_posts__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(245);
       
 20131 /* harmony import */ var _legacy_widget__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(231);
       
 20132 /* harmony import */ var _list__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(212);
       
 20133 /* harmony import */ var _missing__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(136);
       
 20134 /* harmony import */ var _more__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(248);
       
 20135 /* harmony import */ var _nextpage__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(249);
       
 20136 /* harmony import */ var _preformatted__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(213);
       
 20137 /* harmony import */ var _pullquote__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(250);
       
 20138 /* harmony import */ var _block__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(233);
       
 20139 /* harmony import */ var _rss__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(252);
       
 20140 /* harmony import */ var _search__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(251);
       
 20141 /* harmony import */ var _separator__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(214);
       
 20142 /* harmony import */ var _shortcode__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(215);
       
 20143 /* harmony import */ var _spacer__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(216);
       
 20144 /* harmony import */ var _subhead__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(217);
       
 20145 /* harmony import */ var _table__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(239);
       
 20146 /* harmony import */ var _template__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(218);
       
 20147 /* harmony import */ var _text_columns__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(219);
       
 20148 /* harmony import */ var _verse__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(220);
       
 20149 /* harmony import */ var _video__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(238);
       
 20150 /* harmony import */ var _tag_cloud__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(253);
       
 20151 /* harmony import */ var _classic__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(139);
       
 20152 
       
 20153 
       
 20154 /**
       
 20155  * WordPress dependencies
       
 20156  */
       
 20157 
       
 20158 
       
 20159 
       
 20160 
       
 20161 /**
       
 20162  * Internal dependencies
       
 20163  */
       
 20164 
       
 20165 
       
 20166 
       
 20167 
       
 20168 
       
 20169 
       
 20170 
       
 20171 
       
 20172 
       
 20173 
       
 20174 
       
 20175 
       
 20176 
       
 20177 
       
 20178 
       
 20179 
       
 20180 
       
 20181 
       
 20182 
       
 20183 
       
 20184 
       
 20185 
       
 20186 
       
 20187 
       
 20188 
       
 20189 
       
 20190 
       
 20191 
       
 20192 
       
 20193 
       
 20194 
       
 20195 
       
 20196 
       
 20197 
       
 20198 
       
 20199 
       
 20200 
       
 20201 
       
 20202 
       
 20203 
       
 20204 
       
 20205 
       
 20206 /**
       
 20207  * Function to register core blocks provided by the block editor.
       
 20208  *
       
 20209  * @example
       
 20210  * ```js
       
 20211  * import { registerCoreBlocks } from '@wordpress/block-library';
       
 20212  *
       
 20213  * registerCoreBlocks();
       
 20214  * ```
       
 20215  */
       
 20216 
       
 20217 var registerCoreBlocks = function registerCoreBlocks() {
       
 20218   [// Common blocks are grouped at the top to prioritize their display
       
 20219   // in various contexts — like the inserter and auto-complete components.
       
 20220   _paragraph__WEBPACK_IMPORTED_MODULE_5__, _image__WEBPACK_IMPORTED_MODULE_6__, _heading__WEBPACK_IMPORTED_MODULE_7__, _gallery__WEBPACK_IMPORTED_MODULE_9__, _list__WEBPACK_IMPORTED_MODULE_26__, _quote__WEBPACK_IMPORTED_MODULE_8__, // Register all remaining core blocks.
       
 20221   _shortcode__WEBPACK_IMPORTED_MODULE_36__, _archives__WEBPACK_IMPORTED_MODULE_10__, _audio__WEBPACK_IMPORTED_MODULE_11__, _button__WEBPACK_IMPORTED_MODULE_12__, _calendar__WEBPACK_IMPORTED_MODULE_13__, _categories__WEBPACK_IMPORTED_MODULE_14__, _code__WEBPACK_IMPORTED_MODULE_15__, _columns__WEBPACK_IMPORTED_MODULE_16__, _columns_column__WEBPACK_IMPORTED_MODULE_17__, _cover__WEBPACK_IMPORTED_MODULE_18__, _embed__WEBPACK_IMPORTED_MODULE_19__].concat(Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_embed__WEBPACK_IMPORTED_MODULE_19__["common"]), Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_embed__WEBPACK_IMPORTED_MODULE_19__["others"]), [_file__WEBPACK_IMPORTED_MODULE_20__, window.wp && window.wp.oldEditor ? _classic__WEBPACK_IMPORTED_MODULE_45__ : null, // Only add the classic block in WP Context
       
 20222   _html__WEBPACK_IMPORTED_MODULE_21__, _media_text__WEBPACK_IMPORTED_MODULE_22__, _latest_comments__WEBPACK_IMPORTED_MODULE_23__, _latest_posts__WEBPACK_IMPORTED_MODULE_24__, process.env.GUTENBERG_PHASE === 2 ? _legacy_widget__WEBPACK_IMPORTED_MODULE_25__ : null, _missing__WEBPACK_IMPORTED_MODULE_27__, _more__WEBPACK_IMPORTED_MODULE_28__, _nextpage__WEBPACK_IMPORTED_MODULE_29__, _preformatted__WEBPACK_IMPORTED_MODULE_30__, _pullquote__WEBPACK_IMPORTED_MODULE_31__, _rss__WEBPACK_IMPORTED_MODULE_33__, _search__WEBPACK_IMPORTED_MODULE_34__, _separator__WEBPACK_IMPORTED_MODULE_35__, _block__WEBPACK_IMPORTED_MODULE_32__, _spacer__WEBPACK_IMPORTED_MODULE_37__, _subhead__WEBPACK_IMPORTED_MODULE_38__, _table__WEBPACK_IMPORTED_MODULE_39__, _tag_cloud__WEBPACK_IMPORTED_MODULE_44__, _template__WEBPACK_IMPORTED_MODULE_40__, _text_columns__WEBPACK_IMPORTED_MODULE_41__, _verse__WEBPACK_IMPORTED_MODULE_42__, _video__WEBPACK_IMPORTED_MODULE_43__]).forEach(function (block) {
       
 20223     if (!block) {
       
 20224       return;
       
 20225     }
       
 20226 
       
 20227     var name = block.name,
       
 20228         settings = block.settings;
       
 20229     Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_4__["registerBlockType"])(name, settings);
       
 20230   });
       
 20231   Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_4__["setDefaultBlockName"])(_paragraph__WEBPACK_IMPORTED_MODULE_5__["name"]);
       
 20232 
       
 20233   if (window.wp && window.wp.oldEditor) {
       
 20234     Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_4__["setFreeformContentHandlerName"])(_classic__WEBPACK_IMPORTED_MODULE_45__["name"]);
       
 20235   }
       
 20236 
       
 20237   Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_4__["setUnregisteredTypeHandlerName"])(_missing__WEBPACK_IMPORTED_MODULE_27__["name"]);
       
 20238 };
       
 20239 
       
 20240 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(257)))
       
 20241 
       
 20242 /***/ }),
       
 20243 /* 257 */
       
 20244 /***/ (function(module, exports) {
 27408 /***/ (function(module, exports) {
 20245 
 27409 
 20246 // shim for using process in browser
 27410 (function() { module.exports = this["wp"]["coreData"]; }());
 20247 var process = module.exports = {};
       
 20248 
       
 20249 // cached from whatever global is present so that test runners that stub it
       
 20250 // don't break things.  But we need to wrap it in a try catch in case it is
       
 20251 // wrapped in strict mode code which doesn't define any globals.  It's inside a
       
 20252 // function because try/catches deoptimize in certain engines.
       
 20253 
       
 20254 var cachedSetTimeout;
       
 20255 var cachedClearTimeout;
       
 20256 
       
 20257 function defaultSetTimout() {
       
 20258     throw new Error('setTimeout has not been defined');
       
 20259 }
       
 20260 function defaultClearTimeout () {
       
 20261     throw new Error('clearTimeout has not been defined');
       
 20262 }
       
 20263 (function () {
       
 20264     try {
       
 20265         if (typeof setTimeout === 'function') {
       
 20266             cachedSetTimeout = setTimeout;
       
 20267         } else {
       
 20268             cachedSetTimeout = defaultSetTimout;
       
 20269         }
       
 20270     } catch (e) {
       
 20271         cachedSetTimeout = defaultSetTimout;
       
 20272     }
       
 20273     try {
       
 20274         if (typeof clearTimeout === 'function') {
       
 20275             cachedClearTimeout = clearTimeout;
       
 20276         } else {
       
 20277             cachedClearTimeout = defaultClearTimeout;
       
 20278         }
       
 20279     } catch (e) {
       
 20280         cachedClearTimeout = defaultClearTimeout;
       
 20281     }
       
 20282 } ())
       
 20283 function runTimeout(fun) {
       
 20284     if (cachedSetTimeout === setTimeout) {
       
 20285         //normal enviroments in sane situations
       
 20286         return setTimeout(fun, 0);
       
 20287     }
       
 20288     // if setTimeout wasn't available but was latter defined
       
 20289     if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
       
 20290         cachedSetTimeout = setTimeout;
       
 20291         return setTimeout(fun, 0);
       
 20292     }
       
 20293     try {
       
 20294         // when when somebody has screwed with setTimeout but no I.E. maddness
       
 20295         return cachedSetTimeout(fun, 0);
       
 20296     } catch(e){
       
 20297         try {
       
 20298             // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
       
 20299             return cachedSetTimeout.call(null, fun, 0);
       
 20300         } catch(e){
       
 20301             // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
       
 20302             return cachedSetTimeout.call(this, fun, 0);
       
 20303         }
       
 20304     }
       
 20305 
       
 20306 
       
 20307 }
       
 20308 function runClearTimeout(marker) {
       
 20309     if (cachedClearTimeout === clearTimeout) {
       
 20310         //normal enviroments in sane situations
       
 20311         return clearTimeout(marker);
       
 20312     }
       
 20313     // if clearTimeout wasn't available but was latter defined
       
 20314     if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
       
 20315         cachedClearTimeout = clearTimeout;
       
 20316         return clearTimeout(marker);
       
 20317     }
       
 20318     try {
       
 20319         // when when somebody has screwed with setTimeout but no I.E. maddness
       
 20320         return cachedClearTimeout(marker);
       
 20321     } catch (e){
       
 20322         try {
       
 20323             // When we are in I.E. but the script has been evaled so I.E. doesn't  trust the global object when called normally
       
 20324             return cachedClearTimeout.call(null, marker);
       
 20325         } catch (e){
       
 20326             // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
       
 20327             // Some versions of I.E. have different rules for clearTimeout vs setTimeout
       
 20328             return cachedClearTimeout.call(this, marker);
       
 20329         }
       
 20330     }
       
 20331 
       
 20332 
       
 20333 
       
 20334 }
       
 20335 var queue = [];
       
 20336 var draining = false;
       
 20337 var currentQueue;
       
 20338 var queueIndex = -1;
       
 20339 
       
 20340 function cleanUpNextTick() {
       
 20341     if (!draining || !currentQueue) {
       
 20342         return;
       
 20343     }
       
 20344     draining = false;
       
 20345     if (currentQueue.length) {
       
 20346         queue = currentQueue.concat(queue);
       
 20347     } else {
       
 20348         queueIndex = -1;
       
 20349     }
       
 20350     if (queue.length) {
       
 20351         drainQueue();
       
 20352     }
       
 20353 }
       
 20354 
       
 20355 function drainQueue() {
       
 20356     if (draining) {
       
 20357         return;
       
 20358     }
       
 20359     var timeout = runTimeout(cleanUpNextTick);
       
 20360     draining = true;
       
 20361 
       
 20362     var len = queue.length;
       
 20363     while(len) {
       
 20364         currentQueue = queue;
       
 20365         queue = [];
       
 20366         while (++queueIndex < len) {
       
 20367             if (currentQueue) {
       
 20368                 currentQueue[queueIndex].run();
       
 20369             }
       
 20370         }
       
 20371         queueIndex = -1;
       
 20372         len = queue.length;
       
 20373     }
       
 20374     currentQueue = null;
       
 20375     draining = false;
       
 20376     runClearTimeout(timeout);
       
 20377 }
       
 20378 
       
 20379 process.nextTick = function (fun) {
       
 20380     var args = new Array(arguments.length - 1);
       
 20381     if (arguments.length > 1) {
       
 20382         for (var i = 1; i < arguments.length; i++) {
       
 20383             args[i - 1] = arguments[i];
       
 20384         }
       
 20385     }
       
 20386     queue.push(new Item(fun, args));
       
 20387     if (queue.length === 1 && !draining) {
       
 20388         runTimeout(drainQueue);
       
 20389     }
       
 20390 };
       
 20391 
       
 20392 // v8 likes predictible objects
       
 20393 function Item(fun, array) {
       
 20394     this.fun = fun;
       
 20395     this.array = array;
       
 20396 }
       
 20397 Item.prototype.run = function () {
       
 20398     this.fun.apply(null, this.array);
       
 20399 };
       
 20400 process.title = 'browser';
       
 20401 process.browser = true;
       
 20402 process.env = {};
       
 20403 process.argv = [];
       
 20404 process.version = ''; // empty string to avoid regexp issues
       
 20405 process.versions = {};
       
 20406 
       
 20407 function noop() {}
       
 20408 
       
 20409 process.on = noop;
       
 20410 process.addListener = noop;
       
 20411 process.once = noop;
       
 20412 process.off = noop;
       
 20413 process.removeListener = noop;
       
 20414 process.removeAllListeners = noop;
       
 20415 process.emit = noop;
       
 20416 process.prependListener = noop;
       
 20417 process.prependOnceListener = noop;
       
 20418 
       
 20419 process.listeners = function (name) { return [] }
       
 20420 
       
 20421 process.binding = function (name) {
       
 20422     throw new Error('process.binding is not supported');
       
 20423 };
       
 20424 
       
 20425 process.cwd = function () { return '/' };
       
 20426 process.chdir = function (dir) {
       
 20427     throw new Error('process.chdir is not supported');
       
 20428 };
       
 20429 process.umask = function() { return 0; };
       
 20430 
       
 20431 
 27411 
 20432 /***/ })
 27412 /***/ })
 20433 /******/ ]);
 27413 
       
 27414 /******/ });