diff --git a/dist/blocks.build.js b/dist/blocks.build.js index 3ee9cef5..3f17d72b 100644 --- a/dist/blocks.build.js +++ b/dist/blocks.build.js @@ -155,7 +155,7 @@ eval("Object.defineProperty(__webpack_exports__, \"__esModule\", { value: true } /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss__ = __webpack_require__(/*! ./style.scss */ 8);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames__ = __webpack_require__(/*! classnames */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_classnames__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_block_title__ = __webpack_require__(/*! ../../components/block-title */ 4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_background_options__ = __webpack_require__(/*! ../../components/background-options */ 1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_text_options__ = __webpack_require__(/*! ../../components/text-options */ 2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_other_options__ = __webpack_require__(/*! ../../components/other-options */ 3);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__components_button_link__ = __webpack_require__(/*! ../../components/button-link */ 5);\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\n/**\n * BLOCK: Call To Action\n *\n * Display a block which stands out, and asks\n * for a user to do something.\n */\n\n/**\n * External dependencies\n */\n// Import NPM libraries here. Example:\n// import npmPackage from 'npmpackage';\n\n/**\n * WordPress dependencies\n */\nvar __ = wp.i18n.__;\nvar _wp$blocks = wp.blocks,\n InspectorControls = _wp$blocks.InspectorControls,\n registerBlockType = _wp$blocks.registerBlockType,\n RichText = _wp$blocks.RichText;\n\n/**\n * Internal dependencies\n */\n\n\n\n\n// Import our Block Title component.\n\n\n// Import all of our Background Options requirements.\n\n\n// Import all of our Text Options requirements.\n\n\n// Import all of our Other Options requirements.\n\n\n// Import all of our ButtonLink requirements.\n\n\n/**\n * Register block\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/\n * @param {string} name Block name.\n * @param {Object} settings Block settings.\n * @return {?WPBlock} The block, if it has been successfully\n * registered; otherwise `undefined`.\n */\n/* unused harmony default export */ var _unused_webpack_default_export = (registerBlockType(\n// Namespaced with 'wds', lowercase, hyphenated. Example: 'wds/example-block-name'\n'wds/call-to-action', {\n\t// Localize title using wp.i18n.__()\n\ttitle: __('WDS Call To Action'),\n\t// Description: Write a quick description.\n\tdescription: __('Create a call to action area which will encourage a user to take action.'),\n\t// Category options: common, formatting, layout, widgets, embed.\n\tcategory: 'common',\n\t// Can use a Dashicon (see https://developer.wordpress.org/resource/dashicons/) or an imported SVG.\n\ticon: 'admin-comments',\n\t// Limit to 3 keywords/phrases. Users will see your block when they search using these keywords.\n\tkeywords: [__('CTA'), __('Button')],\n\t// Set for each piece of dynamic data used in your block.\n\t// https://wordpress.org/gutenberg/handbook/block-api/attributes/\n\tattributes: Object.assign({\n\t\tmessage: {\n\t\t\ttype: 'array',\n\t\t\tsource: 'children',\n\t\t\tselector: '.content-block'\n\t\t}\n\t}, __WEBPACK_IMPORTED_MODULE_2__components_block_title__[\"a\" /* BlockTitleAttributes */], __WEBPACK_IMPORTED_MODULE_3__components_background_options__[\"a\" /* BackgroundOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_4__components_text_options__[\"a\" /* TextOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_5__components_other_options__[\"a\" /* OtherOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_6__components_button_link__[\"a\" /* ButtonLinkAttributes */]),\n\t// Determines what is displayed in the editor.\n\t// https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/#edit\n\tedit: function edit(props) {\n\t\t// Event handler to update the value of the content when changed in editor.\n\t\tvar onChangeMessage = function onChangeMessage(value) {\n\t\t\tprops.setAttributes({ message: value });\n\t\t};\n\n\t\t// Return the markup displayed in the editor, including a core Editable field.\n\t\treturn [!!props.focus && wp.element.createElement(\n\t\t\tInspectorControls,\n\t\t\t{ key: 'inspector' },\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_background_options__[\"e\" /* default */], props),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_4__components_text_options__[\"c\" /* default */], props),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_5__components_other_options__[\"c\" /* default */], props)\n\t\t), wp.element.createElement(\n\t\t\t'section',\n\t\t\t{\n\t\t\t\tkey: 'editable-content-example-block-with-options',\n\t\t\t\tclassName: __WEBPACK_IMPORTED_MODULE_1_classnames___default.a.apply(undefined, [props.className].concat(_toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_3__components_background_options__[\"b\" /* BackgroundOptionsClasses */])(props)), _toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_5__components_other_options__[\"b\" /* OtherOptionsClasses */])(props)))),\n\t\t\t\tstyle: Object.assign({}, Object(__WEBPACK_IMPORTED_MODULE_3__components_background_options__[\"c\" /* BackgroundOptionsInlineStyles */])(props), Object(__WEBPACK_IMPORTED_MODULE_4__components_text_options__[\"b\" /* TextOptionsInlineStyles */])(props))\n\t\t\t},\n\t\t\tObject(__WEBPACK_IMPORTED_MODULE_3__components_background_options__[\"d\" /* BackgroundOptionsVideoOutput */])(props),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_block_title__[\"c\" /* default */], props),\n\t\t\twp.element.createElement(RichText, {\n\t\t\t\ttagName: 'div',\n\t\t\t\tmultiline: 'p',\n\t\t\t\tclassName: 'content-block',\n\t\t\t\tplaceholder: __('To customize this block, click on \"Show Advanced Settings\"'),\n\t\t\t\tonChange: onChangeMessage,\n\t\t\t\tvalue: props.attributes.message,\n\t\t\t\tfocus: props.focus,\n\t\t\t\tonFocus: props.setFocus\n\t\t\t}),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_button_link__[\"c\" /* default */], _extends({\n\t\t\t\tplaceholder: __('Click Here')\n\t\t\t}, props))\n\t\t)];\n\t},\n\t// Determines what is displayed on the front-end.\n\t// https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/#save\n\t//\n\t// For dynamic blocks, you can return null here and define a render callback function in PHP.\n\t// https://wordpress.org/gutenberg/handbook/blocks/creating-dynamic-blocks/\n\tsave: function save(props) {\n\t\treturn wp.element.createElement(\n\t\t\t'section',\n\t\t\t{\n\t\t\t\tclassName: __WEBPACK_IMPORTED_MODULE_1_classnames___default.a.apply(undefined, [props.className].concat(_toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_3__components_background_options__[\"b\" /* BackgroundOptionsClasses */])(props)), _toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_5__components_other_options__[\"b\" /* OtherOptionsClasses */])(props)))),\n\t\t\t\tstyle: Object.assign({}, Object(__WEBPACK_IMPORTED_MODULE_3__components_background_options__[\"c\" /* BackgroundOptionsInlineStyles */])(props), Object(__WEBPACK_IMPORTED_MODULE_4__components_text_options__[\"b\" /* TextOptionsInlineStyles */])(props))\n\t\t\t},\n\t\t\tObject(__WEBPACK_IMPORTED_MODULE_3__components_background_options__[\"d\" /* BackgroundOptionsVideoOutput */])(props),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_block_title__[\"b\" /* BlockTitleOutput */], props),\n\t\t\twp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'content-block-content content-block' },\n\t\t\t\tprops.attributes.message\n\t\t\t),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_button_link__[\"b\" /* ButtonLinkOutput */], props)\n\t\t);\n\t}\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9ibG9ja3MvY2FsbC10by1hY3Rpb24vaW5kZXguanM/MTQ0MSJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9O1xuXG5mdW5jdGlvbiBfdG9Db25zdW1hYmxlQXJyYXkoYXJyKSB7IGlmIChBcnJheS5pc0FycmF5KGFycikpIHsgZm9yICh2YXIgaSA9IDAsIGFycjIgPSBBcnJheShhcnIubGVuZ3RoKTsgaSA8IGFyci5sZW5ndGg7IGkrKykgeyBhcnIyW2ldID0gYXJyW2ldOyB9IHJldHVybiBhcnIyOyB9IGVsc2UgeyByZXR1cm4gQXJyYXkuZnJvbShhcnIpOyB9IH1cblxuLyoqXG4gKiBCTE9DSzogQ2FsbCBUbyBBY3Rpb25cbiAqXG4gKiBEaXNwbGF5IGEgYmxvY2sgd2hpY2ggc3RhbmRzIG91dCwgYW5kIGFza3NcbiAqIGZvciBhIHVzZXIgdG8gZG8gc29tZXRoaW5nLlxuICovXG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7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///7\n"); +eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss__ = __webpack_require__(/*! ./style.scss */ 8);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames__ = __webpack_require__(/*! classnames */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_classnames__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_block_title__ = __webpack_require__(/*! ../../components/block-title */ 4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_background_options__ = __webpack_require__(/*! ../../components/background-options */ 1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_text_options__ = __webpack_require__(/*! ../../components/text-options */ 2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_other_options__ = __webpack_require__(/*! ../../components/other-options */ 3);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__components_button_link__ = __webpack_require__(/*! ../../components/button-link */ 5);\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\n/**\n * BLOCK: Call To Action\n *\n * Display a block which stands out, and asks\n * for a user to do something.\n */\n\n/**\n * External dependencies\n */\n// Import NPM libraries here. Example:\n// import npmPackage from 'npmpackage';\n\n/**\n * WordPress dependencies\n */\nvar __ = wp.i18n.__;\nvar _wp$blocks = wp.blocks,\n InspectorControls = _wp$blocks.InspectorControls,\n registerBlockType = _wp$blocks.registerBlockType,\n RichText = _wp$blocks.RichText;\n\n/**\n * Internal dependencies\n */\n\n\n\n\n// Import our Block Title component.\n\n\n// Import all of our Background Options requirements.\n\n\n// Import all of our Text Options requirements.\n\n\n// Import all of our Other Options requirements.\n\n\n// Import all of our ButtonLink requirements.\n\n\n/**\n * Register block\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/\n * @param {string} name Block name.\n * @param {Object} settings Block settings.\n * @return {?WPBlock} The block, if it has been successfully\n * registered; otherwise `undefined`.\n */\n/* unused harmony default export */ var _unused_webpack_default_export = (registerBlockType(\n// Namespaced with 'wds', lowercase, hyphenated. Example: 'wds/example-block-name'\n'wds/call-to-action', {\n\t// Localize title using wp.i18n.__()\n\ttitle: __('WDS Call To Action'),\n\t// Description: Write a quick description.\n\tdescription: __('Create a call to action area which will encourage a user to take action.'),\n\t// Category options: common, formatting, layout, widgets, embed.\n\tcategory: 'common',\n\t// Can use a Dashicon (see https://developer.wordpress.org/resource/dashicons/) or an imported SVG.\n\ticon: 'admin-comments',\n\t// Limit to 3 keywords/phrases. Users will see your block when they search using these keywords.\n\tkeywords: [__('CTA'), __('Button')],\n\t// Set for each piece of dynamic data used in your block.\n\t// https://wordpress.org/gutenberg/handbook/block-api/attributes/\n\tattributes: Object.assign({\n\t\tmessage: {\n\t\t\ttype: 'array',\n\t\t\tsource: 'children',\n\t\t\tselector: '.content-block'\n\t\t}\n\t}, __WEBPACK_IMPORTED_MODULE_2__components_block_title__[\"a\" /* BlockTitleAttributes */], __WEBPACK_IMPORTED_MODULE_3__components_background_options__[\"a\" /* BackgroundOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_4__components_text_options__[\"a\" /* TextOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_5__components_other_options__[\"a\" /* OtherOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_6__components_button_link__[\"a\" /* ButtonLinkAttributes */]),\n\t// Determines what is displayed in the editor.\n\t// https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/#edit\n\tedit: function edit(props) {\n\t\t// Event handler to update the value of the content when changed in editor.\n\t\tvar onChangeMessage = function onChangeMessage(value) {\n\t\t\tprops.setAttributes({ message: value });\n\t\t};\n\n\t\t// Return the markup displayed in the editor, including a core Editable field.\n\t\treturn [!!props.focus && wp.element.createElement(\n\t\t\tInspectorControls,\n\t\t\t{ key: 'inspector' },\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_background_options__[\"e\" /* default */], props),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_4__components_text_options__[\"c\" /* default */], props),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_5__components_other_options__[\"c\" /* default */], props)\n\t\t), wp.element.createElement(\n\t\t\t'section',\n\t\t\t{\n\t\t\t\tkey: 'editable-content-example-block-with-options',\n\t\t\t\tclassName: __WEBPACK_IMPORTED_MODULE_1_classnames___default.a.apply(undefined, [props.className].concat(_toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_3__components_background_options__[\"b\" /* BackgroundOptionsClasses */])(props)), _toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_5__components_other_options__[\"b\" /* OtherOptionsClasses */])(props)))),\n\t\t\t\tstyle: Object.assign({}, Object(__WEBPACK_IMPORTED_MODULE_3__components_background_options__[\"c\" /* BackgroundOptionsInlineStyles */])(props), Object(__WEBPACK_IMPORTED_MODULE_4__components_text_options__[\"b\" /* TextOptionsInlineStyles */])(props))\n\t\t\t},\n\t\t\tObject(__WEBPACK_IMPORTED_MODULE_3__components_background_options__[\"d\" /* BackgroundOptionsVideoOutput */])(props),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_block_title__[\"c\" /* default */], props),\n\t\t\twp.element.createElement(RichText, {\n\t\t\t\ttagName: 'div',\n\t\t\t\tmultiline: 'p',\n\t\t\t\tclassName: 'content-block',\n\t\t\t\tplaceholder: __('To customize this block, click on \"Show Advanced Settings\"'),\n\t\t\t\tonChange: onChangeMessage,\n\t\t\t\tvalue: props.attributes.message,\n\t\t\t\tfocus: props.focus,\n\t\t\t\tonFocus: props.setFocus\n\t\t\t}),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_button_link__[\"c\" /* default */], _extends({\n\t\t\t\tplaceholder: __('Click Here')\n\t\t\t}, props))\n\t\t)];\n\t},\n\t// Determines what is displayed on the front-end.\n\t// https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/#save\n\t//\n\t// For dynamic blocks, you can return null here and define a render callback function in PHP.\n\t// https://wordpress.org/gutenberg/handbook/blocks/creating-dynamic-blocks/\n\tsave: function save(props) {\n\t\treturn wp.element.createElement(\n\t\t\t'section',\n\t\t\t{\n\t\t\t\tclassName: __WEBPACK_IMPORTED_MODULE_1_classnames___default.a.apply(undefined, [props.className].concat(_toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_3__components_background_options__[\"b\" /* BackgroundOptionsClasses */])(props)), _toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_5__components_other_options__[\"b\" /* OtherOptionsClasses */])(props)))),\n\t\t\t\tstyle: Object.assign({}, Object(__WEBPACK_IMPORTED_MODULE_3__components_background_options__[\"c\" /* BackgroundOptionsInlineStyles */])(props), Object(__WEBPACK_IMPORTED_MODULE_4__components_text_options__[\"b\" /* TextOptionsInlineStyles */])(props))\n\t\t\t},\n\t\t\tObject(__WEBPACK_IMPORTED_MODULE_3__components_background_options__[\"d\" /* BackgroundOptionsVideoOutput */])(props),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_block_title__[\"b\" /* BlockTitleOutput */], props),\n\t\t\twp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'content-block-content content-block' },\n\t\t\t\tprops.attributes.message\n\t\t\t),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_button_link__[\"b\" /* ButtonLinkOutput */], props)\n\t\t);\n\t},\n\tdeprecated: [{\n\t\tattributes: Object.assign({\n\t\t\tmessage: {\n\t\t\t\ttype: 'array',\n\t\t\t\tsource: 'children',\n\t\t\t\tselector: '.content-block'\n\t\t\t}\n\t\t}, __WEBPACK_IMPORTED_MODULE_2__components_block_title__[\"a\" /* BlockTitleAttributes */], __WEBPACK_IMPORTED_MODULE_3__components_background_options__[\"a\" /* BackgroundOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_4__components_text_options__[\"a\" /* TextOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_5__components_other_options__[\"a\" /* OtherOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_6__components_button_link__[\"a\" /* ButtonLinkAttributes */]),\n\t\tsave: function save(props) {\n\t\t\treturn wp.element.createElement(\n\t\t\t\t'section',\n\t\t\t\t{\n\t\t\t\t\tclassName: __WEBPACK_IMPORTED_MODULE_1_classnames___default.a.apply(undefined, [props.className].concat(_toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_3__components_background_options__[\"b\" /* BackgroundOptionsClasses */])(props)), _toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_5__components_other_options__[\"b\" /* OtherOptionsClasses */])(props)))),\n\t\t\t\t\tstyle: Object.assign({}, Object(__WEBPACK_IMPORTED_MODULE_3__components_background_options__[\"c\" /* BackgroundOptionsInlineStyles */])(props), Object(__WEBPACK_IMPORTED_MODULE_4__components_text_options__[\"b\" /* TextOptionsInlineStyles */])(props))\n\t\t\t\t},\n\t\t\t\tObject(__WEBPACK_IMPORTED_MODULE_3__components_background_options__[\"d\" /* BackgroundOptionsVideoOutput */])(props),\n\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_block_title__[\"b\" /* BlockTitleOutput */], props),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'content-block-content content-block' },\n\t\t\t\t\tprops.attributes.message\n\t\t\t\t),\n\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_button_link__[\"b\" /* ButtonLinkOutput */], props)\n\t\t\t);\n\t\t}\n\t}]\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9ibG9ja3MvY2FsbC10by1hY3Rpb24vaW5kZXguanM/MTQ0MSJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9O1xuXG5mdW5jdGlvbiBfdG9Db25zdW1hYmxlQXJyYXkoYXJyKSB7IGlmIChBcnJheS5pc0FycmF5KGFycikpIHsgZm9yICh2YXIgaSA9IDAsIGFycjIgPSBBcnJheShhcnIubGVuZ3RoKTsgaSA8IGFyci5sZW5ndGg7IGkrKykgeyBhcnIyW2ldID0gYXJyW2ldOyB9IHJldHVybiBhcnIyOyB9IGVsc2UgeyByZXR1cm4gQXJyYXkuZnJvbShhcnIpOyB9IH1cblxuLyoqXG4gKiBCTE9DSzogQ2FsbCBUbyBBY3Rpb25cbiAqXG4gKiBEaXNwbGF5IGEgYmxvY2sgd2hpY2ggc3RhbmRzIG91dCwgYW5kIGFza3NcbiAqIGZvciBhIHVzZXIgdG8gZG8gc29tZXRoaW5nLlxuICovXG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0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///7\n"); /***/ }), /* 8 */ @@ -586,7 +586,7 @@ eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourc /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss__ = __webpack_require__(/*! ./style.scss */ 47);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 48);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__editor_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_block_title__ = __webpack_require__(/*! ../../components/block-title */ 4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_background_options__ = __webpack_require__(/*! ../../components/background-options */ 1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_text_options__ = __webpack_require__(/*! ../../components/text-options */ 2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__components_other_options__ = __webpack_require__(/*! ../../components/other-options */ 3);\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\n/**\n * BLOCK: Two-Column Block\n *\n * This is the two-column, or fifty-fifty, block.\n */\n\n/**\n * External dependencies\n */\n // Import NPM libraries here.\n\n/**\n * WordPress dependencies\n */\nvar __ = wp.i18n.__;\nvar _wp$blocks = wp.blocks,\n AlignmentToolbar = _wp$blocks.AlignmentToolbar,\n BlockControls = _wp$blocks.BlockControls,\n description = _wp$blocks.description,\n InspectorControls = _wp$blocks.InspectorControls,\n MediaUpload = _wp$blocks.MediaUpload,\n registerBlockType = _wp$blocks.registerBlockType,\n RichText = _wp$blocks.RichText;\nvar _wp$components = wp.components,\n Button = _wp$components.Button,\n Dashicon = _wp$components.Dashicon,\n FormToggle = _wp$components.FormToggle,\n PanelBody = _wp$components.PanelBody,\n PanelRow = _wp$components.PanelRow,\n SelectControl = _wp$components.SelectControl;\n\n/**\n * Internal dependencies\n */\n\n\n\n\n// Import our Block Title component.\n\n\n// Import all of our Background Options requirements.\n\n\n// Import all of our Text Options requirements.\n\n\n// Import all of our Other Options requirements.\n\n\n/**\n * Register block\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/\n * @param {string} name Block name.\n * @param {Object} settings Block settings.\n * @return {?WPBlock} The block, if it has been successfully\n * registered; otherwise `undefined`.\n */\n/* unused harmony default export */ var _unused_webpack_default_export = (registerBlockType('wds/two-column', { // Namespaced with 'wds/', lowercase, hyphenated.\n\t// Localize title using wp.i18n.__()\n\ttitle: __('Two-Column Block'),\n\t// Description: Write a quick description.\n\tdescription: __('Two equal-width columns displaying a combination of text and/or an image.'),\n\t// Category options: common, formatting, layout, widgets, embed.\n\tcategory: 'layout',\n\t// Can use a Dashicon (see https://developer.wordpress.org/resource/dashicons/) or an imported SVG.\n\ticon: 'edit',\n\t// Limit to 3 keywords/phrases. Users will see your block when they search using these keywords.\n\tkeywords: [__('Two-Column'), __('Editable'), __('Fifty/Fifty')],\n\t// Set for each piece of dynamic data used in your block.\n\t// https://wordpress.org/gutenberg/handbook/block-api/attributes/\n\tattributes: Object.assign({\n\t\tcontentLeft: {\n\t\t\ttype: 'array',\n\t\t\tsource: 'children',\n\t\t\tselector: '.content-block-left'\n\t\t},\n\t\tcontentRight: {\n\t\t\ttype: 'array',\n\t\t\tsource: 'children',\n\t\t\tselector: '.content-block-right'\n\t\t},\n\t\talignmentLeft: {\n\t\t\ttype: 'string'\n\t\t},\n\t\talignmentRight: {\n\t\t\ttype: 'string'\n\t\t},\n\t\timgURL: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'attribute',\n\t\t\tattribute: 'src',\n\t\t\tselector: 'img'\n\t\t},\n\t\timgID: {\n\t\t\ttype: 'number'\n\t\t},\n\t\timgAlt: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'attribute',\n\t\t\tattribute: 'alt',\n\t\t\tselector: 'img'\n\t\t},\n\t\tlayout: {\n\t\t\ttype: 'string'\n\t\t},\n\t\tcolumnOrder: {\n\t\t\ttype: 'boolean',\n\t\t\tdefault: false\n\t\t}\n\t}, __WEBPACK_IMPORTED_MODULE_3__components_block_title__[\"a\" /* BlockTitleAttributes */], __WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"a\" /* BackgroundOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_5__components_text_options__[\"a\" /* TextOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_6__components_other_options__[\"a\" /* OtherOptionsAttributes */]),\n\t// Determines what is displayed in the editor.\n\t// https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/#edit\n\tedit: function edit(props) {\n\t\t// Change the Left content value as we type.\n\t\tvar onChangeContentLeft = function onChangeContentLeft(value) {\n\t\t\tprops.setAttributes({ contentLeft: value });\n\t\t};\n\n\t\t// Change the Right content value as we type.\n\t\tvar onChangeContentRight = function onChangeContentRight(value) {\n\t\t\tprops.setAttributes({ contentRight: value });\n\t\t};\n\n\t\t// Listen for an alignment change.\n\t\tvar onChangeAlignmentLeft = function onChangeAlignmentLeft(value) {\n\t\t\tprops.setAttributes({ alignmentLeft: value });\n\t\t};\n\n\t\t// Listen for an alignment change.\n\t\tvar onChangeAlignmentRight = function onChangeAlignmentRight(value) {\n\t\t\tprops.setAttributes({ alignmentRight: value });\n\t\t};\n\n\t\t// Select an image.\n\t\tvar onSelectImage = function onSelectImage(img) {\n\t\t\tprops.setAttributes({\n\t\t\t\timgID: img.id,\n\t\t\t\timgURL: img.url,\n\t\t\t\timgAlt: img.alt\n\t\t\t});\n\t\t};\n\n\t\t// Remove an image.\n\t\tvar onRemoveImage = function onRemoveImage() {\n\t\t\tprops.setAttributes({\n\t\t\t\timgID: null,\n\t\t\t\timgURL: null,\n\t\t\t\timgAlt: null\n\t\t\t});\n\t\t};\n\n\t\t// Toggle our layout.\n\t\tvar onChangeLayout = function onChangeLayout(value) {\n\t\t\tprops.setAttributes({ layout: value });\n\t\t};\n\n\t\t// Toggle our column order.\n\t\tvar toggleColumnOrder = function toggleColumnOrder() {\n\t\t\tprops.setAttributes({ columnOrder: !props.attributes.columnOrder });\n\t\t};\n\n\t\t// Displays the Left content block.\n\t\t// Details on RichText Editor: https://wordpress.org/gutenberg/handbook/block-api/rich-text-api/\n\t\tfunction displayLeftContent() {\n\t\t\treturn wp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'content-block-content content-block' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'h2',\n\t\t\t\t\tnull,\n\t\t\t\t\t__('Column Text')\n\t\t\t\t),\n\t\t\t\t!!props.isSelected && wp.element.createElement(\n\t\t\t\t\tBlockControls,\n\t\t\t\t\t{ key: 'controlsLeft' },\n\t\t\t\t\twp.element.createElement(AlignmentToolbar, {\n\t\t\t\t\t\tvalue: props.attributes.alignmentLeft,\n\t\t\t\t\t\tonChange: onChangeAlignmentLeft\n\t\t\t\t\t})\n\t\t\t\t),\n\t\t\t\twp.element.createElement(RichText, {\n\t\t\t\t\ttagName: 'div',\n\t\t\t\t\tmultiline: 'p',\n\t\t\t\t\tclassName: 'content-block-left',\n\t\t\t\t\tstyle: { textAlign: props.attributes.alignmentLeft },\n\t\t\t\t\tplaceholder: __('Enter your content here for one column of the Two-Column block'),\n\t\t\t\t\tonChange: onChangeContentLeft,\n\t\t\t\t\tvalue: props.attributes.contentLeft,\n\t\t\t\t\tformattingControls: ['bold', 'italic', 'strikethrough'],\n\t\t\t\t\tisSelected: props.isSelected\n\t\t\t\t})\n\t\t\t);\n\t\t}\n\n\t\t// Displays the Right contenet block.\n\t\tfunction displayRightContent() {\n\t\t\treturn wp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'content-block-content content-block' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'h2',\n\t\t\t\t\tnull,\n\t\t\t\t\t__('Column Text')\n\t\t\t\t),\n\t\t\t\t!!props.isSelected && wp.element.createElement(\n\t\t\t\t\tBlockControls,\n\t\t\t\t\t{ key: 'controlsRight' },\n\t\t\t\t\twp.element.createElement(AlignmentToolbar, {\n\t\t\t\t\t\tvalue: props.attributes.alignmentRight,\n\t\t\t\t\t\tonChange: onChangeAlignmentRight\n\t\t\t\t\t})\n\t\t\t\t),\n\t\t\t\twp.element.createElement(RichText, {\n\t\t\t\t\ttagName: 'div',\n\t\t\t\t\tmultiline: 'p',\n\t\t\t\t\tclassName: 'content-block-right',\n\t\t\t\t\tstyle: { textAlign: props.attributes.alignmentRight },\n\t\t\t\t\tplaceholder: __('Enter your content here for one column of the Two-Column block'),\n\t\t\t\t\tonChange: onChangeContentRight,\n\t\t\t\t\tvalue: props.attributes.contentRight,\n\t\t\t\t\tformattingControls: ['bold', 'italic', 'strikethrough'],\n\t\t\t\t\tisSelected: props.isSelected\n\t\t\t\t})\n\t\t\t);\n\t\t}\n\n\t\t// Displays the Media Upload block.\n\t\tfunction displayMediaUpload() {\n\t\t\treturn wp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'content-block-content content-block' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'h2',\n\t\t\t\t\tnull,\n\t\t\t\t\t__('Column Image')\n\t\t\t\t),\n\t\t\t\t!props.attributes.imgID ? wp.element.createElement(MediaUpload, {\n\t\t\t\t\tbuttonProps: {\n\t\t\t\t\t\tclassName: 'components-button button button-large'\n\t\t\t\t\t},\n\t\t\t\t\tonSelect: onSelectImage,\n\t\t\t\t\ttype: 'image',\n\t\t\t\t\tvalue: props.attributes.imgID,\n\t\t\t\t\trender: function render(_ref) {\n\t\t\t\t\t\tvar open = _ref.open;\n\t\t\t\t\t\treturn wp.element.createElement(\n\t\t\t\t\t\t\tButton,\n\t\t\t\t\t\t\t{ className: 'button button-large', onClick: open },\n\t\t\t\t\t\t\twp.element.createElement(Dashicon, { icon: 'format-image' }),\n\t\t\t\t\t\t\t' ',\n\t\t\t\t\t\t\t!props.attributes.imgID ? __('Upload Image') : wp.element.createElement('img', { src: props.attributes.imgURL, alt: props.attributes.imgAlt })\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t}) : wp.element.createElement(\n\t\t\t\t\t'p',\n\t\t\t\t\t{ className: 'image-wrapper' },\n\t\t\t\t\twp.element.createElement('img', {\n\t\t\t\t\t\tsrc: props.attributes.imgURL,\n\t\t\t\t\t\talt: props.attributes.imgAlt\n\t\t\t\t\t}),\n\t\t\t\t\tprops.isSelected ? wp.element.createElement(\n\t\t\t\t\t\tButton,\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tclassName: 'remove-image button button-large',\n\t\t\t\t\t\t\tonClick: onRemoveImage\n\t\t\t\t\t\t},\n\t\t\t\t\t\twp.element.createElement(Dashicon, { icon: 'no-alt' }),\n\t\t\t\t\t\t' ',\n\t\t\t\t\t\t__('Remove Image')\n\t\t\t\t\t) : null\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\n\t\t// Check to see which option is set and display blocks as needed.\n\t\tfunction displayLayoutFields() {\n\t\t\tif ('text-image' === props.attributes.layout) {\n\t\t\t\treturn [displayLeftContent(), displayMediaUpload()];\n\t\t\t} else if ('image-text' === props.attributes.layout) {\n\t\t\t\treturn [displayMediaUpload(), displayLeftContent()];\n\t\t\t} else if ('text-text' === props.attributes.layout || !props.attributes.layout) {\n\t\t\t\t// If the toggle is clicked, display the Right column first.\n\t\t\t\tif (props.attributes.columnOrder) {\n\t\t\t\t\treturn [displayRightContent(), displayLeftContent()];\n\t\t\t\t}\n\n\t\t\t\t// Otherwise, display the columns as usual.\n\t\t\t\treturn [displayLeftContent(), displayRightContent()];\n\t\t\t}\n\t\t}\n\n\t\treturn [!!props.isSelected && wp.element.createElement(\n\t\t\tInspectorControls,\n\t\t\t{ key: 'inspector' },\n\t\t\twp.element.createElement(\n\t\t\t\t'description',\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'p',\n\t\t\t\t\tnull,\n\t\t\t\t\t__('Layout options for the Two-Column Block')\n\t\t\t\t)\n\t\t\t),\n\t\t\twp.element.createElement(\n\t\t\t\tPanelBody,\n\t\t\t\t{\n\t\t\t\t\tclassName: 'wds-two-column-options',\n\t\t\t\t\ttitle: __('Two-Column Options Panel')\n\t\t\t\t},\n\t\t\t\twp.element.createElement(\n\t\t\t\t\tPanelRow,\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(SelectControl, {\n\t\t\t\t\t\tkey: 'layout',\n\t\t\t\t\t\tlabel: __('Layout'),\n\t\t\t\t\t\tvalue: props.attributes.layout ? props.attributes.layout : '',\n\t\t\t\t\t\toptions: [{\n\t\t\t\t\t\t\tlabel: __('Text/Text'),\n\t\t\t\t\t\t\tvalue: 'text-text'\n\t\t\t\t\t\t}, {\n\t\t\t\t\t\t\tlabel: __('Text/Image'),\n\t\t\t\t\t\t\tvalue: 'text-image'\n\t\t\t\t\t\t}, {\n\t\t\t\t\t\t\tlabel: __('Image/Text'),\n\t\t\t\t\t\t\tvalue: 'image-text'\n\t\t\t\t\t\t}],\n\t\t\t\t\t\tonChange: onChangeLayout\n\t\t\t\t\t})\n\t\t\t\t),\n\t\t\t\t'text-text' === props.attributes.layout || !props.attributes.layout ? wp.element.createElement(\n\t\t\t\t\tPanelRow,\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'label',\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\thtmlFor: 'column-order',\n\t\t\t\t\t\t\tclassName: 'blocks-base-control__label'\n\t\t\t\t\t\t},\n\t\t\t\t\t\t__('Switch Text Column Order')\n\t\t\t\t\t),\n\t\t\t\t\twp.element.createElement(FormToggle, {\n\t\t\t\t\t\tid: 'column-order',\n\t\t\t\t\t\tlabel: __('Column Order'),\n\t\t\t\t\t\tchecked: !!props.attributes.columnOrder,\n\t\t\t\t\t\tonChange: toggleColumnOrder\n\t\t\t\t\t})\n\t\t\t\t) : null,\n\t\t\t\tObject(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"e\" /* default */])(props),\n\t\t\t\tObject(__WEBPACK_IMPORTED_MODULE_5__components_text_options__[\"c\" /* default */])(props),\n\t\t\t\tObject(__WEBPACK_IMPORTED_MODULE_6__components_other_options__[\"c\" /* default */])(props)\n\t\t\t)\n\t\t), wp.element.createElement(\n\t\t\t'section',\n\t\t\t{\n\t\t\t\tkey: props.className,\n\t\t\t\tclassName: __WEBPACK_IMPORTED_MODULE_0_classnames___default.a.apply(undefined, [props.className].concat(_toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"b\" /* BackgroundOptionsClasses */])(props)), _toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_6__components_other_options__[\"b\" /* OtherOptionsClasses */])(props)))),\n\t\t\t\tstyle: Object.assign({}, Object(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"c\" /* BackgroundOptionsInlineStyles */])(props), Object(__WEBPACK_IMPORTED_MODULE_5__components_text_options__[\"b\" /* TextOptionsInlineStyles */])(props))\n\t\t\t},\n\t\t\tObject(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"d\" /* BackgroundOptionsVideoOutput */])(props),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_block_title__[\"c\" /* default */], props),\n\t\t\twp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'content-block-container' },\n\t\t\t\tdisplayLayoutFields()\n\t\t\t)\n\t\t)];\n\t},\n\t// https://wordpress.org/gutenberg/handbook/blocks/introducing-attributes-and-editable-fields/#attributes\n\t// https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n\tsave: function save(props) {\n\t\t// Display the output of the Left content block.\n\t\tfunction displayLeftContentOutput() {\n\t\t\treturn wp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{\n\t\t\t\t\tkey: 'content-block',\n\t\t\t\t\tclassName: 'content-block-content content-block-left',\n\t\t\t\t\tstyle: { textAlign: props.attributes.alignmentLeft }\n\t\t\t\t},\n\t\t\t\tprops.attributes.contentLeft\n\t\t\t);\n\t\t}\n\n\t\t// Display the output of the Right content block.\n\t\tfunction displayRightContentOutput() {\n\t\t\treturn wp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{\n\t\t\t\t\tkey: 'content-block',\n\t\t\t\t\tclassName: 'content-block-content content-block-right',\n\t\t\t\t\tstyle: { textAlign: props.attributes.alignmentRight }\n\t\t\t\t},\n\t\t\t\tprops.attributes.contentRight\n\t\t\t);\n\t\t}\n\n\t\t// Display the output of the Image block.\n\t\tfunction displayImageOutput() {\n\t\t\treturn wp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{\n\t\t\t\t\tkey: 'content-block-image',\n\t\t\t\t\tclassName: 'content-block-content content-block',\n\t\t\t\t\tstyle: { textAlign: props.attributes.alignmentRight }\n\t\t\t\t},\n\t\t\t\twp.element.createElement('img', {\n\t\t\t\t\tsrc: props.attributes.imgURL,\n\t\t\t\t\talt: props.attributes.imgAlt\n\t\t\t\t})\n\t\t\t);\n\t\t}\n\n\t\t// Check our layout type and display blocks as needed.\n\t\tfunction displayLayoutOutput() {\n\t\t\tif ('text-image' === props.attributes.layout) {\n\t\t\t\treturn [displayLeftContentOutput(), displayImageOutput()];\n\t\t\t} else if ('image-text' === props.attributes.layout) {\n\t\t\t\treturn [displayImageOutput(), displayLeftContentOutput()];\n\t\t\t} else if ('text-text' === props.attributes.layout || !props.attributes.layout) {\n\t\t\t\t// If the toggle is clicked, display the Right column first.\n\t\t\t\tif (props.attributes.columnOrder) {\n\t\t\t\t\treturn [displayRightContentOutput(), displayLeftContentOutput()];\n\t\t\t\t}\n\n\t\t\t\t// Otherwise, display the columns as usual.\n\t\t\t\treturn [displayLeftContentOutput(), displayRightContentOutput()];\n\t\t\t}\n\t\t}\n\n\t\treturn wp.element.createElement(\n\t\t\t'section',\n\t\t\t{\n\t\t\t\tclassName: __WEBPACK_IMPORTED_MODULE_0_classnames___default.a.apply(undefined, [props.className, 'content-block grid-container two-column'].concat(_toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"b\" /* BackgroundOptionsClasses */])(props)), _toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_6__components_other_options__[\"b\" /* OtherOptionsClasses */])(props)))),\n\t\t\t\tstyle: Object.assign({}, Object(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"c\" /* BackgroundOptionsInlineStyles */])(props), Object(__WEBPACK_IMPORTED_MODULE_5__components_text_options__[\"b\" /* TextOptionsInlineStyles */])(props))\n\t\t\t},\n\t\t\tObject(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"d\" /* BackgroundOptionsVideoOutput */])(props),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_block_title__[\"b\" /* BlockTitleOutput */], props),\n\t\t\twp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'content-block-container' },\n\t\t\t\tdisplayLayoutOutput()\n\t\t\t)\n\t\t);\n\t}\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL3R3by1jb2x1bW4tYmxvY2svaW5kZXguanM/YjJiNyJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfdG9Db25zdW1hYmxlQXJyYXkoYXJyKSB7IGlmIChBcnJheS5pc0FycmF5KGFycikpIHsgZm9yICh2YXIgaSA9IDAsIGFycjIgPSBBcnJheShhcnIubGVuZ3RoKTsgaSA8IGFyci5sZW5ndGg7IGkrKykgeyBhcnIyW2ldID0gYXJyW2ldOyB9IHJldHVybiBhcnIyOyB9IGVsc2UgeyByZXR1cm4gQXJyYXkuZnJvbShhcnIpOyB9IH1cblxuLyoqXG4gKiBCTE9DSzogVHdvLUNvbHVtbiBCbG9ja1xuICpcbiAqIFRoaXMgaXMgdGhlIHR3by1jb2x1bW4sIG9yIGZpZnR5LWZpZnR5LCBibG9jay5cbiAqL1xuXG4vKipcbiAqIEV4dGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgY2xhc3NuYW1lcyBmcm9tICdjbGFzc25hbWVzJzsgLy8gSW1wb3J0IE5QTSBsaWJyYXJpZX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0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///46\n"); +eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss__ = __webpack_require__(/*! ./style.scss */ 47);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 48);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__editor_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_block_title__ = __webpack_require__(/*! ../../components/block-title */ 4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_background_options__ = __webpack_require__(/*! ../../components/background-options */ 1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_text_options__ = __webpack_require__(/*! ../../components/text-options */ 2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__components_other_options__ = __webpack_require__(/*! ../../components/other-options */ 3);\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\n/**\n * BLOCK: Two-Column Block\n *\n * This is the two-column, or fifty-fifty, block.\n */\n\n/**\n * External dependencies\n */\n // Import NPM libraries here.\n\n/**\n * WordPress dependencies\n */\nvar __ = wp.i18n.__;\nvar _wp$blocks = wp.blocks,\n AlignmentToolbar = _wp$blocks.AlignmentToolbar,\n BlockControls = _wp$blocks.BlockControls,\n description = _wp$blocks.description,\n InspectorControls = _wp$blocks.InspectorControls,\n MediaUpload = _wp$blocks.MediaUpload,\n registerBlockType = _wp$blocks.registerBlockType,\n RichText = _wp$blocks.RichText;\nvar _wp$components = wp.components,\n Button = _wp$components.Button,\n Dashicon = _wp$components.Dashicon,\n FormToggle = _wp$components.FormToggle,\n PanelBody = _wp$components.PanelBody,\n PanelRow = _wp$components.PanelRow,\n SelectControl = _wp$components.SelectControl;\n\n/**\n * Internal dependencies\n */\n\n\n\n\n// Import our Block Title component.\n\n\n// Import all of our Background Options requirements.\n\n\n// Import all of our Text Options requirements.\n\n\n// Import all of our Other Options requirements.\n\n\n/**\n * Register block\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/\n * @param {string} name Block name.\n * @param {Object} settings Block settings.\n * @return {?WPBlock} The block, if it has been successfully\n * registered; otherwise `undefined`.\n */\n/* unused harmony default export */ var _unused_webpack_default_export = (registerBlockType('wds/two-column', { // Namespaced with 'wds/', lowercase, hyphenated.\n\t// Localize title using wp.i18n.__()\n\ttitle: __('WDS Two-Column Block'),\n\t// Description: Write a quick description.\n\tdescription: __('Two equal-width columns displaying a combination of text and/or an image.'),\n\t// Category options: common, formatting, layout, widgets, embed.\n\tcategory: 'layout',\n\t// Can use a Dashicon (see https://developer.wordpress.org/resource/dashicons/) or an imported SVG.\n\ticon: 'edit',\n\t// Limit to 3 keywords/phrases. Users will see your block when they search using these keywords.\n\tkeywords: [__('Two-Column'), __('Editable'), __('Fifty/Fifty')],\n\t// Set for each piece of dynamic data used in your block.\n\t// https://wordpress.org/gutenberg/handbook/block-api/attributes/\n\tattributes: Object.assign({\n\t\tcontentLeft: {\n\t\t\ttype: 'array',\n\t\t\tsource: 'children',\n\t\t\tselector: '.content-block-left'\n\t\t},\n\t\tcontentRight: {\n\t\t\ttype: 'array',\n\t\t\tsource: 'children',\n\t\t\tselector: '.content-block-right'\n\t\t},\n\t\talignmentLeft: {\n\t\t\ttype: 'string'\n\t\t},\n\t\talignmentRight: {\n\t\t\ttype: 'string'\n\t\t},\n\t\timgURL: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'attribute',\n\t\t\tattribute: 'src',\n\t\t\tselector: 'img'\n\t\t},\n\t\timgID: {\n\t\t\ttype: 'number'\n\t\t},\n\t\timgAlt: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'attribute',\n\t\t\tattribute: 'alt',\n\t\t\tselector: 'img'\n\t\t},\n\t\tlayout: {\n\t\t\ttype: 'string'\n\t\t},\n\t\tcolumnOrder: {\n\t\t\ttype: 'boolean',\n\t\t\tdefault: false\n\t\t}\n\t}, __WEBPACK_IMPORTED_MODULE_3__components_block_title__[\"a\" /* BlockTitleAttributes */], __WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"a\" /* BackgroundOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_5__components_text_options__[\"a\" /* TextOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_6__components_other_options__[\"a\" /* OtherOptionsAttributes */]),\n\t// Determines what is displayed in the editor.\n\t// https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/#edit\n\tedit: function edit(props) {\n\t\t// Change the Left content value as we type.\n\t\tvar onChangeContentLeft = function onChangeContentLeft(value) {\n\t\t\tprops.setAttributes({ contentLeft: value });\n\t\t};\n\n\t\t// Change the Right content value as we type.\n\t\tvar onChangeContentRight = function onChangeContentRight(value) {\n\t\t\tprops.setAttributes({ contentRight: value });\n\t\t};\n\n\t\t// Listen for an alignment change.\n\t\tvar onChangeAlignmentLeft = function onChangeAlignmentLeft(value) {\n\t\t\tprops.setAttributes({ alignmentLeft: value });\n\t\t};\n\n\t\t// Listen for an alignment change.\n\t\tvar onChangeAlignmentRight = function onChangeAlignmentRight(value) {\n\t\t\tprops.setAttributes({ alignmentRight: value });\n\t\t};\n\n\t\t// Select an image.\n\t\tvar onSelectImage = function onSelectImage(img) {\n\t\t\tprops.setAttributes({\n\t\t\t\timgID: img.id,\n\t\t\t\timgURL: img.url,\n\t\t\t\timgAlt: img.alt\n\t\t\t});\n\t\t};\n\n\t\t// Remove an image.\n\t\tvar onRemoveImage = function onRemoveImage() {\n\t\t\tprops.setAttributes({\n\t\t\t\timgID: null,\n\t\t\t\timgURL: null,\n\t\t\t\timgAlt: null\n\t\t\t});\n\t\t};\n\n\t\t// Toggle our layout.\n\t\tvar onChangeLayout = function onChangeLayout(value) {\n\t\t\tprops.setAttributes({ layout: value });\n\t\t};\n\n\t\t// Toggle our column order.\n\t\tvar toggleColumnOrder = function toggleColumnOrder() {\n\t\t\tprops.setAttributes({ columnOrder: !props.attributes.columnOrder });\n\t\t};\n\n\t\t// Displays the Left content block.\n\t\t// Details on RichText Editor: https://wordpress.org/gutenberg/handbook/block-api/rich-text-api/\n\t\tfunction displayLeftContent() {\n\t\t\treturn wp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'content-block-content content-block' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'h2',\n\t\t\t\t\tnull,\n\t\t\t\t\t__('Column Text')\n\t\t\t\t),\n\t\t\t\t!!props.isSelected && wp.element.createElement(\n\t\t\t\t\tBlockControls,\n\t\t\t\t\t{ key: 'controlsLeft' },\n\t\t\t\t\twp.element.createElement(AlignmentToolbar, {\n\t\t\t\t\t\tvalue: props.attributes.alignmentLeft,\n\t\t\t\t\t\tonChange: onChangeAlignmentLeft\n\t\t\t\t\t})\n\t\t\t\t),\n\t\t\t\twp.element.createElement(RichText, {\n\t\t\t\t\ttagName: 'div',\n\t\t\t\t\tmultiline: 'p',\n\t\t\t\t\tclassName: 'content-block-left',\n\t\t\t\t\tstyle: { textAlign: props.attributes.alignmentLeft },\n\t\t\t\t\tplaceholder: __('Enter your content here for one column of the Two-Column block'),\n\t\t\t\t\tonChange: onChangeContentLeft,\n\t\t\t\t\tvalue: props.attributes.contentLeft,\n\t\t\t\t\tformattingControls: ['bold', 'italic', 'strikethrough'],\n\t\t\t\t\tisSelected: props.isSelected\n\t\t\t\t})\n\t\t\t);\n\t\t}\n\n\t\t// Displays the Right contenet block.\n\t\tfunction displayRightContent() {\n\t\t\treturn wp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'content-block-content content-block' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'h2',\n\t\t\t\t\tnull,\n\t\t\t\t\t__('Column Text')\n\t\t\t\t),\n\t\t\t\t!!props.isSelected && wp.element.createElement(\n\t\t\t\t\tBlockControls,\n\t\t\t\t\t{ key: 'controlsRight' },\n\t\t\t\t\twp.element.createElement(AlignmentToolbar, {\n\t\t\t\t\t\tvalue: props.attributes.alignmentRight,\n\t\t\t\t\t\tonChange: onChangeAlignmentRight\n\t\t\t\t\t})\n\t\t\t\t),\n\t\t\t\twp.element.createElement(RichText, {\n\t\t\t\t\ttagName: 'div',\n\t\t\t\t\tmultiline: 'p',\n\t\t\t\t\tclassName: 'content-block-right',\n\t\t\t\t\tstyle: { textAlign: props.attributes.alignmentRight },\n\t\t\t\t\tplaceholder: __('Enter your content here for one column of the Two-Column block'),\n\t\t\t\t\tonChange: onChangeContentRight,\n\t\t\t\t\tvalue: props.attributes.contentRight,\n\t\t\t\t\tformattingControls: ['bold', 'italic', 'strikethrough'],\n\t\t\t\t\tisSelected: props.isSelected\n\t\t\t\t})\n\t\t\t);\n\t\t}\n\n\t\t// Displays the Media Upload block.\n\t\tfunction displayMediaUpload() {\n\t\t\treturn wp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'content-block-content content-block' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'h2',\n\t\t\t\t\tnull,\n\t\t\t\t\t__('Column Image')\n\t\t\t\t),\n\t\t\t\t!props.attributes.imgID ? wp.element.createElement(MediaUpload, {\n\t\t\t\t\tbuttonProps: {\n\t\t\t\t\t\tclassName: 'components-button button button-large'\n\t\t\t\t\t},\n\t\t\t\t\tonSelect: onSelectImage,\n\t\t\t\t\ttype: 'image',\n\t\t\t\t\tvalue: props.attributes.imgID,\n\t\t\t\t\trender: function render(_ref) {\n\t\t\t\t\t\tvar open = _ref.open;\n\t\t\t\t\t\treturn wp.element.createElement(\n\t\t\t\t\t\t\tButton,\n\t\t\t\t\t\t\t{ className: 'button button-large', onClick: open },\n\t\t\t\t\t\t\twp.element.createElement(Dashicon, { icon: 'format-image' }),\n\t\t\t\t\t\t\t' ',\n\t\t\t\t\t\t\t!props.attributes.imgID ? __('Upload Image') : wp.element.createElement('img', { src: props.attributes.imgURL, alt: props.attributes.imgAlt })\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t}) : wp.element.createElement(\n\t\t\t\t\t'p',\n\t\t\t\t\t{ className: 'image-wrapper' },\n\t\t\t\t\twp.element.createElement('img', {\n\t\t\t\t\t\tsrc: props.attributes.imgURL,\n\t\t\t\t\t\talt: props.attributes.imgAlt\n\t\t\t\t\t}),\n\t\t\t\t\tprops.isSelected ? wp.element.createElement(\n\t\t\t\t\t\tButton,\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tclassName: 'remove-image button button-large',\n\t\t\t\t\t\t\tonClick: onRemoveImage\n\t\t\t\t\t\t},\n\t\t\t\t\t\twp.element.createElement(Dashicon, { icon: 'no-alt' }),\n\t\t\t\t\t\t' ',\n\t\t\t\t\t\t__('Remove Image')\n\t\t\t\t\t) : null\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\n\t\t// Check to see which option is set and display blocks as needed.\n\t\tfunction displayLayoutFields() {\n\t\t\tif ('text-image' === props.attributes.layout) {\n\t\t\t\treturn [displayLeftContent(), displayMediaUpload()];\n\t\t\t} else if ('image-text' === props.attributes.layout) {\n\t\t\t\treturn [displayMediaUpload(), displayLeftContent()];\n\t\t\t} else if ('text-text' === props.attributes.layout || !props.attributes.layout) {\n\t\t\t\t// If the toggle is clicked, display the Right column first.\n\t\t\t\tif (props.attributes.columnOrder) {\n\t\t\t\t\treturn [displayRightContent(), displayLeftContent()];\n\t\t\t\t}\n\n\t\t\t\t// Otherwise, display the columns as usual.\n\t\t\t\treturn [displayLeftContent(), displayRightContent()];\n\t\t\t}\n\t\t}\n\n\t\treturn [!!props.isSelected && wp.element.createElement(\n\t\t\tInspectorControls,\n\t\t\t{ key: 'inspector' },\n\t\t\twp.element.createElement(\n\t\t\t\t'description',\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'p',\n\t\t\t\t\tnull,\n\t\t\t\t\t__('Layout options for the Two-Column Block')\n\t\t\t\t)\n\t\t\t),\n\t\t\twp.element.createElement(\n\t\t\t\tPanelBody,\n\t\t\t\t{\n\t\t\t\t\tclassName: 'wds-two-column-options',\n\t\t\t\t\ttitle: __('Two-Column Options Panel')\n\t\t\t\t},\n\t\t\t\twp.element.createElement(\n\t\t\t\t\tPanelRow,\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(SelectControl, {\n\t\t\t\t\t\tkey: 'layout',\n\t\t\t\t\t\tlabel: __('Layout'),\n\t\t\t\t\t\tvalue: props.attributes.layout ? props.attributes.layout : '',\n\t\t\t\t\t\toptions: [{\n\t\t\t\t\t\t\tlabel: __('Text/Text'),\n\t\t\t\t\t\t\tvalue: 'text-text'\n\t\t\t\t\t\t}, {\n\t\t\t\t\t\t\tlabel: __('Text/Image'),\n\t\t\t\t\t\t\tvalue: 'text-image'\n\t\t\t\t\t\t}, {\n\t\t\t\t\t\t\tlabel: __('Image/Text'),\n\t\t\t\t\t\t\tvalue: 'image-text'\n\t\t\t\t\t\t}],\n\t\t\t\t\t\tonChange: onChangeLayout\n\t\t\t\t\t})\n\t\t\t\t),\n\t\t\t\t'text-text' === props.attributes.layout || !props.attributes.layout ? wp.element.createElement(\n\t\t\t\t\tPanelRow,\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'label',\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\thtmlFor: 'column-order',\n\t\t\t\t\t\t\tclassName: 'blocks-base-control__label'\n\t\t\t\t\t\t},\n\t\t\t\t\t\t__('Switch Text Column Order')\n\t\t\t\t\t),\n\t\t\t\t\twp.element.createElement(FormToggle, {\n\t\t\t\t\t\tid: 'column-order',\n\t\t\t\t\t\tlabel: __('Column Order'),\n\t\t\t\t\t\tchecked: !!props.attributes.columnOrder,\n\t\t\t\t\t\tonChange: toggleColumnOrder\n\t\t\t\t\t})\n\t\t\t\t) : null,\n\t\t\t\tObject(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"e\" /* default */])(props),\n\t\t\t\tObject(__WEBPACK_IMPORTED_MODULE_5__components_text_options__[\"c\" /* default */])(props),\n\t\t\t\tObject(__WEBPACK_IMPORTED_MODULE_6__components_other_options__[\"c\" /* default */])(props)\n\t\t\t)\n\t\t), wp.element.createElement(\n\t\t\t'section',\n\t\t\t{\n\t\t\t\tkey: props.className,\n\t\t\t\tclassName: __WEBPACK_IMPORTED_MODULE_0_classnames___default.a.apply(undefined, [props.className].concat(_toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"b\" /* BackgroundOptionsClasses */])(props)), _toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_6__components_other_options__[\"b\" /* OtherOptionsClasses */])(props)))),\n\t\t\t\tstyle: Object.assign({}, Object(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"c\" /* BackgroundOptionsInlineStyles */])(props), Object(__WEBPACK_IMPORTED_MODULE_5__components_text_options__[\"b\" /* TextOptionsInlineStyles */])(props))\n\t\t\t},\n\t\t\tObject(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"d\" /* BackgroundOptionsVideoOutput */])(props),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_block_title__[\"c\" /* default */], props),\n\t\t\twp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'content-block-container' },\n\t\t\t\tdisplayLayoutFields()\n\t\t\t)\n\t\t)];\n\t},\n\t// https://wordpress.org/gutenberg/handbook/blocks/introducing-attributes-and-editable-fields/#attributes\n\t// https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n\tsave: function save(props) {\n\t\t// Display the output of the Left content block.\n\t\tfunction displayLeftContentOutput() {\n\t\t\treturn wp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{\n\t\t\t\t\tkey: 'content-block',\n\t\t\t\t\tclassName: 'content-block-content content-block-left',\n\t\t\t\t\tstyle: { textAlign: props.attributes.alignmentLeft }\n\t\t\t\t},\n\t\t\t\tprops.attributes.contentLeft\n\t\t\t);\n\t\t}\n\n\t\t// Display the output of the Right content block.\n\t\tfunction displayRightContentOutput() {\n\t\t\treturn wp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{\n\t\t\t\t\tkey: 'content-block',\n\t\t\t\t\tclassName: 'content-block-content content-block-right',\n\t\t\t\t\tstyle: { textAlign: props.attributes.alignmentRight }\n\t\t\t\t},\n\t\t\t\tprops.attributes.contentRight\n\t\t\t);\n\t\t}\n\n\t\t// Display the output of the Image block.\n\t\tfunction displayImageOutput() {\n\t\t\treturn wp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{\n\t\t\t\t\tkey: 'content-block-image',\n\t\t\t\t\tclassName: 'content-block-content content-block',\n\t\t\t\t\tstyle: { textAlign: props.attributes.alignmentRight }\n\t\t\t\t},\n\t\t\t\twp.element.createElement('img', {\n\t\t\t\t\tsrc: props.attributes.imgURL,\n\t\t\t\t\talt: props.attributes.imgAlt\n\t\t\t\t})\n\t\t\t);\n\t\t}\n\n\t\t// Check our layout type and display blocks as needed.\n\t\tfunction displayLayoutOutput() {\n\t\t\tif ('text-image' === props.attributes.layout) {\n\t\t\t\treturn [displayLeftContentOutput(), displayImageOutput()];\n\t\t\t} else if ('image-text' === props.attributes.layout) {\n\t\t\t\treturn [displayImageOutput(), displayLeftContentOutput()];\n\t\t\t} else if ('text-text' === props.attributes.layout || !props.attributes.layout) {\n\t\t\t\t// If the toggle is clicked, display the Right column first.\n\t\t\t\tif (props.attributes.columnOrder) {\n\t\t\t\t\treturn [displayRightContentOutput(), displayLeftContentOutput()];\n\t\t\t\t}\n\n\t\t\t\t// Otherwise, display the columns as usual.\n\t\t\t\treturn [displayLeftContentOutput(), displayRightContentOutput()];\n\t\t\t}\n\t\t}\n\n\t\treturn wp.element.createElement(\n\t\t\t'section',\n\t\t\t{\n\t\t\t\tclassName: __WEBPACK_IMPORTED_MODULE_0_classnames___default.a.apply(undefined, [props.className, 'content-block grid-container two-column'].concat(_toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"b\" /* BackgroundOptionsClasses */])(props)), _toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_6__components_other_options__[\"b\" /* OtherOptionsClasses */])(props)))),\n\t\t\t\tstyle: Object.assign({}, Object(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"c\" /* BackgroundOptionsInlineStyles */])(props), Object(__WEBPACK_IMPORTED_MODULE_5__components_text_options__[\"b\" /* TextOptionsInlineStyles */])(props))\n\t\t\t},\n\t\t\tObject(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"d\" /* BackgroundOptionsVideoOutput */])(props),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_block_title__[\"b\" /* BlockTitleOutput */], props),\n\t\t\twp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'content-block-container' },\n\t\t\t\tdisplayLayoutOutput()\n\t\t\t)\n\t\t);\n\t},\n\tdeprecated: [{\n\t\tattributes: Object.assign({\n\t\t\tcontentLeft: {\n\t\t\t\ttype: 'array',\n\t\t\t\tsource: 'children',\n\t\t\t\tselector: '.content-block-left'\n\t\t\t},\n\t\t\tcontentRight: {\n\t\t\t\ttype: 'array',\n\t\t\t\tsource: 'children',\n\t\t\t\tselector: '.content-block-right'\n\t\t\t},\n\t\t\talignmentLeft: {\n\t\t\t\ttype: 'string'\n\t\t\t},\n\t\t\talignmentRight: {\n\t\t\t\ttype: 'string'\n\t\t\t},\n\t\t\timgURL: {\n\t\t\t\ttype: 'string',\n\t\t\t\tsource: 'attribute',\n\t\t\t\tattribute: 'src',\n\t\t\t\tselector: 'img'\n\t\t\t},\n\t\t\timgID: {\n\t\t\t\ttype: 'number'\n\t\t\t},\n\t\t\timgAlt: {\n\t\t\t\ttype: 'string',\n\t\t\t\tsource: 'attribute',\n\t\t\t\tattribute: 'alt',\n\t\t\t\tselector: 'img'\n\t\t\t},\n\t\t\tlayout: {\n\t\t\t\ttype: 'string'\n\t\t\t},\n\t\t\tcolumnOrder: {\n\t\t\t\ttype: 'boolean',\n\t\t\t\tdefault: false\n\t\t\t}\n\t\t}, __WEBPACK_IMPORTED_MODULE_3__components_block_title__[\"a\" /* BlockTitleAttributes */], __WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"a\" /* BackgroundOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_5__components_text_options__[\"a\" /* TextOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_6__components_other_options__[\"a\" /* OtherOptionsAttributes */]),\n\t\tsave: function save(props) {\n\t\t\t// Display the output of the Left content block.\n\t\t\tfunction displayLeftContentOutput() {\n\t\t\t\treturn wp.element.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'content-block',\n\t\t\t\t\t\tclassName: 'content-block-content content-block-left',\n\t\t\t\t\t\tstyle: { textAlign: props.attributes.alignmentLeft }\n\t\t\t\t\t},\n\t\t\t\t\tprops.attributes.contentLeft\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// Display the output of the Right content block.\n\t\t\tfunction displayRightContentOutput() {\n\t\t\t\treturn wp.element.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'content-block',\n\t\t\t\t\t\tclassName: 'content-block-content content-block-right',\n\t\t\t\t\t\tstyle: { textAlign: props.attributes.alignmentRight }\n\t\t\t\t\t},\n\t\t\t\t\tprops.attributes.contentRight\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// Display the output of the Image block.\n\t\t\tfunction displayImageOutput() {\n\t\t\t\treturn wp.element.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'content-block-image',\n\t\t\t\t\t\tclassName: 'content-block-content content-block',\n\t\t\t\t\t\tstyle: { textAlign: props.attributes.alignmentRight }\n\t\t\t\t\t},\n\t\t\t\t\twp.element.createElement('img', {\n\t\t\t\t\t\tsrc: props.attributes.imgURL,\n\t\t\t\t\t\talt: props.attributes.imgAlt\n\t\t\t\t\t})\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// Check our layout type and display blocks as needed.\n\t\t\tfunction displayLayoutOutput() {\n\t\t\t\tif ('text-image' === props.attributes.layout) {\n\t\t\t\t\treturn [displayLeftContentOutput(), displayImageOutput()];\n\t\t\t\t} else if ('image-text' === props.attributes.layout) {\n\t\t\t\t\treturn [displayImageOutput(), displayLeftContentOutput()];\n\t\t\t\t} else if ('text-text' === props.attributes.layout || !props.attributes.layout) {\n\t\t\t\t\t// If the toggle is clicked, display the Right column first.\n\t\t\t\t\tif (props.attributes.columnOrder) {\n\t\t\t\t\t\treturn [displayRightContentOutput(), displayLeftContentOutput()];\n\t\t\t\t\t}\n\n\t\t\t\t\t// Otherwise, display the columns as usual.\n\t\t\t\t\treturn [displayLeftContentOutput(), displayRightContentOutput()];\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn wp.element.createElement(\n\t\t\t\t'section',\n\t\t\t\t{\n\t\t\t\t\tclassName: __WEBPACK_IMPORTED_MODULE_0_classnames___default.a.apply(undefined, [props.className, 'content-block grid-container two-column'].concat(_toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"b\" /* BackgroundOptionsClasses */])(props)), _toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_6__components_other_options__[\"b\" /* OtherOptionsClasses */])(props)))),\n\t\t\t\t\tstyle: Object.assign({}, Object(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"c\" /* BackgroundOptionsInlineStyles */])(props), Object(__WEBPACK_IMPORTED_MODULE_5__components_text_options__[\"b\" /* TextOptionsInlineStyles */])(props))\n\t\t\t\t},\n\t\t\t\tObject(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"d\" /* BackgroundOptionsVideoOutput */])(props),\n\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_block_title__[\"b\" /* BlockTitleOutput */], props),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'content-block-container' },\n\t\t\t\t\tdisplayLayoutOutput()\n\t\t\t\t)\n\t\t\t);\n\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