From 1e700641c9177ab5bef7126622d7267d953709c4 Mon Sep 17 00:00:00 2001 From: Ilnur Basyrov Date: Tue, 24 Jun 2025 15:12:51 +0400 Subject: [PATCH] Fixed distignore and builded gutenberg blocks --- .distignore | 1 + js/gutenberg/build/index.asset.php | 2 +- js/gutenberg/build/index.js | 3965 +--------------------------- js/gutenberg/build/index.js.map | 1 - js/gutenberg/build/main.css | 751 +----- js/gutenberg/build/main.css.map | 1 - js/gutenberg/build/style-main.css | 30 - 7 files changed, 13 insertions(+), 4738 deletions(-) delete mode 100644 js/gutenberg/build/index.js.map delete mode 100644 js/gutenberg/build/main.css.map diff --git a/.distignore b/.distignore index c583aa11..2c0b494a 100644 --- a/.distignore +++ b/.distignore @@ -2,6 +2,7 @@ /.git /.github /node_modules +/js/gutenberg/src .distignore .gitignore diff --git a/js/gutenberg/build/index.asset.php b/js/gutenberg/build/index.asset.php index ac45646b..08ecfc74 100644 --- a/js/gutenberg/build/index.asset.php +++ b/js/gutenberg/build/index.asset.php @@ -1 +1 @@ - array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => '48597db797c8c57c6499'); + array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => 'fbfb9331d768fd33bb74'); diff --git a/js/gutenberg/build/index.js b/js/gutenberg/build/index.js index 190512f6..a8fa54de 100644 --- a/js/gutenberg/build/index.js +++ b/js/gutenberg/build/index.js @@ -1,3964 +1 @@ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./js/gutenberg/src/buynow/block.jsx": -/*!*******************************************!*\ - !*** ./js/gutenberg/src/buynow/block.jsx ***! - \*******************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); -/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); -/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); -/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./style.scss */ "./js/gutenberg/src/buynow/style.scss"); -/* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./editor.scss */ "./js/gutenberg/src/buynow/editor.scss"); -/* harmony import */ var _includes_icons_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../includes/icons.js */ "./js/gutenberg/src/includes/icons.js"); -/* harmony import */ var _includes_controls_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../includes/controls.js */ "./js/gutenberg/src/includes/controls.js"); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__); - - - - - - - - - -(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockType)('ec-store/buynow', { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Buy Now Button', 'ecwid-shopping-cart'), - icon: _includes_icons_js__WEBPACK_IMPORTED_MODULE_6__.EcwidIcons.button, - category: 'ec-store', - // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed. - attributes: { - id: { - type: 'integer' - }, - show_price_on_button: { - type: 'boolean', - default: true - }, - center_align: { - type: 'boolean', - default: true - } - }, - description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Display a buy button', 'ecwid-shopping-cart'), - supports: { - customClassName: false, - className: false, - html: false, - align: true, - alignWide: false, - inserter: EcwidGutenbergParams.isApiAvailable, - isPrivate: !EcwidGutenbergParams.isApiAvailable - }, - example: {}, - /** - * The edit function describes the structure of your block in the context of the editor. - * This represents what the editor will render when the block is used. - * - * The "edit" property must be a valid function. - * - * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/ - */ - edit: function (props) { - const { - attributes - } = props; - const saveCallback = function (params) { - const attributes = { - 'id': params.newProps.id - }; - EcwidGutenbergParams.products[params.newProps.id] = { - name: params.newProps.product.name, - imageUrl: params.newProps.product.thumb - }; - params.originalProps.setAttributes(attributes); - }; - const editor = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(_includes_controls_js__WEBPACK_IMPORTED_MODULE_7__.EcwidProductBrowserBlock, { - props: props, - attributes: attributes, - icon: _includes_icons_js__WEBPACK_IMPORTED_MODULE_6__.EcwidIcons.button, - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Buy Now Button', 'ecwid-shopping-cart'), - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { - className: "ec-store-block-cart-page", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { - className: "ec-store-block-buynow-preview" - }) - }), !attributes.id && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { - className: "button-container", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("button", { - className: "button ec-store-block-button", - onClick: () => { - var params = { - 'saveCallback': saveCallback, - 'props': props - }; - ecwid_open_product_popup(params); - }, - children: EcwidGutenbergParams.chooseProduct - }) - })] - }); - function buildToggle(props, name, label) { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { - label: label, - checked: props.attributes[name], - onChange: () => props.setAttributes({ - [name]: !props.attributes[name] - }), - __nextHasNoMarginBottom: true - }); - } - function openEcwidProductPopup(props) { - ecwid_open_product_popup({ - 'saveCallback': saveCallback, - 'props': props - }); - } - return [editor, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.InspectorControls, { - children: [attributes.id && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { - className: "ec-store-inspector-row", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("label", { - className: "ec-store-inspector-subheader", - children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Linked product', 'ecwid-shopping-cart') - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)("div", { - className: "ec-store-inspector-row", - children: [EcwidGutenbergParams.products && EcwidGutenbergParams.products[attributes.id] && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("label", { - children: EcwidGutenbergParams.products[attributes.id].name - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("button", { - className: "button", - onClick: () => openEcwidProductPopup(props), - children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Change', 'ecwid-shopping-cart') - })] - })] - }), !attributes.id && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("button", { - className: "button", - onClick: () => openEcwidProductPopup(props), - children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Choose product', 'ecwid-shopping-cart') - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Appearance', 'ecwid-shopping-cart'), - initialOpen: false, - children: [buildToggle(props, 'show_price_on_button', (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Show price inside the «Buy now» button', 'ecwid-shopping-cart')), buildToggle(props, 'center_align', (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Center align on a page', 'ecwid-shopping-cart'))] - })] - })]; - }, - save: function (props) { - return false; - } -}); - -/***/ }), - -/***/ "./js/gutenberg/src/buynow/editor.scss": -/*!*********************************************!*\ - !*** ./js/gutenberg/src/buynow/editor.scss ***! - \*********************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -// extracted by mini-css-extract-plugin - - -/***/ }), - -/***/ "./js/gutenberg/src/buynow/style.scss": -/*!********************************************!*\ - !*** ./js/gutenberg/src/buynow/style.scss ***! - \********************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -// extracted by mini-css-extract-plugin - - -/***/ }), - -/***/ "./js/gutenberg/src/cart-page/block.jsx": -/*!**********************************************!*\ - !*** ./js/gutenberg/src/cart-page/block.jsx ***! - \**********************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); -/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); -/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./style.scss */ "./js/gutenberg/src/cart-page/style.scss"); -/* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./editor.scss */ "./js/gutenberg/src/cart-page/editor.scss"); -/* harmony import */ var _includes_icons_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../includes/icons.js */ "./js/gutenberg/src/includes/icons.js"); -/* harmony import */ var _includes_controls_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../includes/controls.js */ "./js/gutenberg/src/includes/controls.js"); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__); - - - - - - - - -const blockName = 'ec-store/cart-page'; -const blockParams = EcwidGutenbergParams.blockParams[blockName]; - -/** - * Register: aa Gutenberg Block. - * - * Registers a new block provided a unique name and an object defining its - * behavior. Once registered, the block is made editor as an option to any - * editor interface where blocks are implemented. - * - * @link https://wordpress.org/gutenberg/handbook/block-api/ - * @param {string} name Block name. - * @param {Object} settings Block settings. - * @return {?WPBlock} The block, if it has been successfully - * registered; otherwise `undefined`. - */ -(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockType)('ec-store/cart-page', { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Cart and Checkout', 'ecwid-shopping-cart'), - // Block title. - icon: _includes_icons_js__WEBPACK_IMPORTED_MODULE_5__.EcwidIcons.cartPage, - category: 'ec-store', - // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed. - attributes: blockParams.attributes, - description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Display shopping cart and checkout page', 'ecwid-shopping-cart'), - supports: { - customClassName: false, - className: false, - html: false, - multiple: false, - inserter: EcwidGutenbergParams.isWidgetsScreen ? false : true - }, - example: {}, - /** - * The edit function describes the structure of your block in the context of the editor. - * This represents what the editor will render when the block is used. - * - * The "edit" property must be a valid function. - * - * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/ - */ - edit: function (props) { - const { - attributes - } = props; - const editor = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_includes_controls_js__WEBPACK_IMPORTED_MODULE_6__.EcwidProductBrowserBlock, { - props: props, - attributes: attributes, - icon: _includes_icons_js__WEBPACK_IMPORTED_MODULE_5__.EcwidIcons.cartPage, - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Cart and Checkout', 'ecwid-shopping-cart'), - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("div", { - className: "ec-store-block-cart-page", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("div", { - className: "ec-store-block-cart-page-preview" - }) - }) - }); - return [editor]; - }, - save: function (props) { - return null; - } -}); - -/***/ }), - -/***/ "./js/gutenberg/src/cart-page/editor.scss": -/*!************************************************!*\ - !*** ./js/gutenberg/src/cart-page/editor.scss ***! - \************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -// extracted by mini-css-extract-plugin - - -/***/ }), - -/***/ "./js/gutenberg/src/cart-page/style.scss": -/*!***********************************************!*\ - !*** ./js/gutenberg/src/cart-page/style.scss ***! - \***********************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -// extracted by mini-css-extract-plugin - - -/***/ }), - -/***/ "./js/gutenberg/src/categories/block.jsx": -/*!***********************************************!*\ - !*** ./js/gutenberg/src/categories/block.jsx ***! - \***********************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); -/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./style.scss */ "./js/gutenberg/src/categories/style.scss"); -/* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./editor.scss */ "./js/gutenberg/src/categories/editor.scss"); -/* harmony import */ var _includes_icons_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../includes/icons.js */ "./js/gutenberg/src/includes/icons.js"); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__); - - - - - - -if (!EcwidGutenbergParams.isDemoStore) { - const { - InspectorControls - } = wp.blockEditor; - const { - PanelBody - } = wp.components; - const blockName = 'ec-store/categories'; - const blockParams = EcwidGutenbergParams.blockParams[blockName]; - - /** - * Register: aa Gutenberg Block. - * - * Registers a new block provided a unique name and an object defining its - * behavior. Once registered, the block is made editor as an option to any - * editor interface where blocks are implemented. - * - * @link https://wordpress.org/gutenberg/handbook/block-api/ - * @param {string} name Block name. - * @param {Object} settings Block settings. - * @return {?WPBlock} The block, if it has been successfully - * registered; otherwise `undefined`. - */ - (0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockType)('ec-store/categories', { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Store Categories Menu', 'ecwid-shopping-cart'), - icon: _includes_icons_js__WEBPACK_IMPORTED_MODULE_4__.EcwidIcons.categories, - category: 'ec-store', - // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed. - description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Display categories navigation bar', 'ecwid-shopping-cart'), - supports: { - customClassName: false, - className: false, - html: false, - multiple: false, - inserter: EcwidGutenbergParams.isApiAvailable, - isPrivate: !EcwidGutenbergParams.isApiAvailable - }, - example: {}, - /** - * The edit function describes the structure of your block in the context of the editor. - * This represents what the editor will render when the block is used. - * - * The "edit" property must be a valid function. - * - * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/ - */ - edit: function (props) { - const { - attributes - } = props; - const editor = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-block ec-store-block-categories", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-block-header", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Categories', 'ecwid-shopping-cart') - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-categories-menu" - })] - }) - }); - const message = (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('The block is hidden because you don\'t have categories in your store. Add categories.', 'ecwid-shopping-cart'); - return [editor, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(InspectorControls, { - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)(PanelBody, { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - style: { - height: '10px' - } - }), !blockParams.has_categories && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - dangerouslySetInnerHTML: { - __html: message - } - })] - }) - })]; - }, - save: function (props) { - return false; - } - }); -} - -/***/ }), - -/***/ "./js/gutenberg/src/categories/editor.scss": -/*!*************************************************!*\ - !*** ./js/gutenberg/src/categories/editor.scss ***! - \*************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -// extracted by mini-css-extract-plugin - - -/***/ }), - -/***/ "./js/gutenberg/src/categories/style.scss": -/*!************************************************!*\ - !*** ./js/gutenberg/src/categories/style.scss ***! - \************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -// extracted by mini-css-extract-plugin - - -/***/ }), - -/***/ "./js/gutenberg/src/category-page/block.jsx": -/*!**************************************************!*\ - !*** ./js/gutenberg/src/category-page/block.jsx ***! - \**************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); -/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); -/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); -/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./style.scss */ "./js/gutenberg/src/category-page/style.scss"); -/* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./editor.scss */ "./js/gutenberg/src/category-page/editor.scss"); -/* harmony import */ var _includes_icons_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../includes/icons.js */ "./js/gutenberg/src/includes/icons.js"); -/* harmony import */ var _includes_controls_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../includes/controls.js */ "./js/gutenberg/src/includes/controls.js"); -/* harmony import */ var _includes_utils_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../includes/utils.js */ "./js/gutenberg/src/includes/utils.js"); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__); - - - - - - - - - - -const blockName = 'ec-store/category-page'; -const blockParams = EcwidGutenbergParams.blockParams[blockName]; - -/** - * Register: Gutenberg Block. - * - * Registers a new block provided a unique name and an object defining its - * behavior. Once registered, the block is made editor as an option to any - * editor interface where blocks are implemented. - * - * @link https://wordpress.org/gutenberg/handbook/block-api/ - * @param {string} name Block name. - * @param {Object} settings Block settings. - * @return {?WPBlock} The block, if it has been successfully - * registered; otherwise `undefined`. - */ - -(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockType)('ec-store/category-page', { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Store Category Page', 'ecwid-shopping-cart'), - // Block title. - icon: _includes_icons_js__WEBPACK_IMPORTED_MODULE_6__.EcwidIcons.category, - category: 'ec-store', - // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed. - attributes: EcwidGutenbergStoreBlockParams.attributes, - description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Display category page', 'ecwid-shopping-cart'), - supports: { - customClassName: false, - className: false, - html: false, - multiple: false, - inserter: EcwidGutenbergParams.isWidgetsScreen ? false : true - }, - example: {}, - /** - * The edit function describes the structure of your block in the context of the editor. - * This represents what the editor will render when the block is used. - * - * The "edit" property must be a valid function. - * - * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/ - */ - edit: function (props) { - const { - attributes - } = props; - - // legacy reset - props.setAttributes({ - widgets: '' - }); - const editor = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(_includes_controls_js__WEBPACK_IMPORTED_MODULE_7__.EcwidProductBrowserBlock, { - props: props, - attributes: attributes, - icon: _includes_icons_js__WEBPACK_IMPORTED_MODULE_6__.EcwidIcons.category, - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Store Category Page', 'ecwid-shopping-cart'), - showDemoButton: blockParams.isDemoStore, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)("div", { - className: "ec-store-products", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", { - className: "ec-store-product-block", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", { - className: "ec-store-product ec-store-category-sneaker" - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", { - className: "ec-store-product-block", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", { - className: "ec-store-product ec-store-category-bag" - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", { - className: "ec-store-product-block", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", { - className: "ec-store-product ec-store-category-shirt" - }) - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)("div", { - className: "ec-store-products", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", { - className: "ec-store-product-block", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", { - className: "ec-store-product ec-store-category-hat" - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", { - className: "ec-store-product-block", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", { - className: "ec-store-product ec-store-category-watch" - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", { - className: "ec-store-product-block", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", { - className: "ec-store-product ec-store-category-glasses" - }) - })] - })] - }); - const productMigrationWarning = (0,_includes_utils_js__WEBPACK_IMPORTED_MODULE_8__.buildDangerousHTMLMessageWithTitle)('', (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('To improve the look and feel of your store and manage your storefront appearance here, please enable the “Next-gen look and feel of the product list on the storefront” option in your store dashboard (“Settings → What’s New”).', 'ecwid-shopping-cart')); - const cartIconMessage = (0,_includes_utils_js__WEBPACK_IMPORTED_MODULE_8__.buildDangerousHTMLMessageWithTitle)((0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Display cart icon', 'ecwid-shopping-cart'), blockParams.customizeMinicartText); - const isNewProductList = blockParams.isNewProductList; - const isNewDetailsPage = blockParams.isNewDetailsPage; - const controls = (0,_includes_controls_js__WEBPACK_IMPORTED_MODULE_7__.EcwidControls)(blockParams.attributes, props); - return [editor, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.InspectorControls, { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - children: [!EcwidGutenbergParams.hasCategories && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", { - style: { - margin: '10px' - }, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("a", { - href: "admin.php?page=ec-store-admin-category-id-0-mode-edit", - target: "_blank", - class: "button button-primary", - children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Add categories', 'ecwid-shopping-cart') - }) - }), EcwidGutenbergParams.hasCategories && [!props.attributes.default_category_id && controls.select('default_category_id', (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Select category', 'ecwid-shopping-cart')), props.attributes.default_category_id && controls.select('default_category_id', (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Selected category', 'ecwid-shopping-cart'))]] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Category List Appearance', 'ecwid-shopping-cart'), - initialOpen: false, - children: [isNewProductList && [controls.select('product_list_category_title_behavior'), attributes.product_list_category_title_behavior !== 'SHOW_TEXT_ONLY' && [controls.buttonGroup('product_list_category_image_size'), controls.toolbar('product_list_category_image_aspect_ratio')]], !isNewProductList && productMigrationWarning] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Product List Appearance', 'ecwid-shopping-cart'), - initialOpen: false, - children: [isNewProductList && [controls.toggle('product_list_show_product_images'), attributes.product_list_show_product_images && [controls.buttonGroup('product_list_image_size'), controls.toolbar('product_list_image_aspect_ratio')], controls.toolbar('product_list_product_info_layout'), controls.select('product_list_title_behavior'), controls.select('product_list_price_behavior'), controls.select('product_list_sku_behavior'), controls.select('product_list_buybutton_behavior'), controls.toggle('product_list_show_additional_image_on_hover'), controls.toggle('product_list_show_frame')], !isNewProductList && productMigrationWarning] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Product Page Appearance', 'ecwid-shopping-cart'), - initialOpen: false, - children: [isNewDetailsPage && [controls.select('product_details_layout'), (attributes.product_details_layout === 'TWO_COLUMNS_SIDEBAR_ON_THE_RIGHT' || attributes.product_details_layout === 'TWO_COLUMNS_SIDEBAR_ON_THE_LEFT') && controls.toggle('show_description_under_image'), controls.toolbar('product_details_gallery_layout'), (0,_includes_controls_js__WEBPACK_IMPORTED_MODULE_7__.EcwidInspectorSubheader)((0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Product sidebar content', 'ecwid-shopping-cart')), controls.toggle('product_details_show_product_name'), controls.toggle('product_details_show_breadcrumbs'), controls.toggle('product_details_show_product_sku'), controls.toggle('product_details_show_product_price'), controls.toggle('product_details_show_qty'), controls.toggle('product_details_show_weight'), controls.toggle('product_details_show_number_of_items_in_stock'), controls.toggle('product_details_show_in_stock_label'), controls.toggle('product_details_show_wholesale_prices'), controls.toggle('product_details_show_share_buttons'), controls.toggle('product_details_show_navigation_arrows'), controls.toggle('product_details_show_product_photo_zoom')], !isNewDetailsPage && productMigrationWarning] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Store Navigation', 'ecwid-shopping-cart'), - initialOpen: false, - children: [controls.toggle('show_categories'), controls.toggle('show_search'), controls.toggle('show_breadcrumbs'), isNewProductList && controls.toggle('show_footer_menu'), controls.toggle('show_signin_link'), controls.toggle('product_list_show_sort_viewas_options'), cartIconMessage] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Color settings', 'ecwid-shopping-cart'), - initialOpen: false, - children: [controls.color('chameleon_color_button'), controls.color('chameleon_color_foreground'), controls.color('chameleon_color_price'), controls.color('chameleon_color_link'), controls.color('chameleon_color_background')] - })] - })]; - }, - save: function (props) { - return null; - } -}); - -/***/ }), - -/***/ "./js/gutenberg/src/category-page/editor.scss": -/*!****************************************************!*\ - !*** ./js/gutenberg/src/category-page/editor.scss ***! - \****************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -// extracted by mini-css-extract-plugin - - -/***/ }), - -/***/ "./js/gutenberg/src/category-page/style.scss": -/*!***************************************************!*\ - !*** ./js/gutenberg/src/category-page/style.scss ***! - \***************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -// extracted by mini-css-extract-plugin - - -/***/ }), - -/***/ "./js/gutenberg/src/filters-page/block.jsx": -/*!*************************************************!*\ - !*** ./js/gutenberg/src/filters-page/block.jsx ***! - \*************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); -/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); -/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); -/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./style.scss */ "./js/gutenberg/src/filters-page/style.scss"); -/* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./editor.scss */ "./js/gutenberg/src/filters-page/editor.scss"); -/* harmony import */ var _includes_icons_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../includes/icons.js */ "./js/gutenberg/src/includes/icons.js"); -/* harmony import */ var _includes_controls_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../includes/controls.js */ "./js/gutenberg/src/includes/controls.js"); -/* harmony import */ var _includes_utils_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../includes/utils.js */ "./js/gutenberg/src/includes/utils.js"); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__); - - - - - - - - - - -const blockName = 'ec-store/filters-page'; -const blockParams = EcwidGutenbergParams.blockParams[blockName]; - -/** - * Register: aa Gutenberg Block. - * - * Registers a new block provided a unique name and an object defining its - * behavior. Once registered, the block is made editor as an option to any - * editor interface where blocks are implemented. - * - * @link https://wordpress.org/gutenberg/handbook/block-api/ - * @param {string} name Block name. - * @param {Object} settings Block settings. - * @return {?WPBlock} The block, if it has been successfully - * registered; otherwise `undefined`. - */ -(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockType)('ec-store/filters-page', { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Product Search and filters', 'ecwid-shopping-cart'), - // Block title. - icon: _includes_icons_js__WEBPACK_IMPORTED_MODULE_6__.EcwidIcons.filters, - category: 'ec-store', - // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed. - attributes: blockParams.attributes, - description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Display search page with filters on a side', 'ecwid-shopping-cart'), - supports: { - customClassName: false, - className: false, - html: false, - multiple: false, - inserter: EcwidGutenbergParams.isWidgetsScreen ? false : true - }, - example: {}, - /** - * The edit function describes the structure of your block in the context of the editor. - * This represents what the editor will render when the block is used. - * - * The "edit" property must be a valid function. - * - * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/ - */ - edit: function (props) { - const { - attributes - } = props; - const editor = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_includes_controls_js__WEBPACK_IMPORTED_MODULE_7__.EcwidProductBrowserBlock, { - props: props, - attributes: attributes, - icon: _includes_icons_js__WEBPACK_IMPORTED_MODULE_6__.EcwidIcons.filters, - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Search and Filters', 'ecwid-shopping-cart'), - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_includes_controls_js__WEBPACK_IMPORTED_MODULE_7__.EcwidStoreBlockInner, { - state: "SEARCH_FILTERS_PAGE" - }) - }); - /* const editor = -
-
- { EcwidIcons.filters } - { __( 'Filters Page', 'ecwid-shopping-cart' ) } -
-
-
- { blockParams.isDemoStore && -
- { __( 'Set up your store', 'ecwid-shopping-cart') } -
- } -
- ;*/ - - const filtersDisabledMessage = (0,_includes_utils_js__WEBPACK_IMPORTED_MODULE_8__.buildDangerousHTMLMessageWithTitle)('', (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('You can enable filters in the store settings: (“Settings → Product Filters”).', 'ecwid-shopping-cart')); - const productMigrationWarning = (0,_includes_utils_js__WEBPACK_IMPORTED_MODULE_8__.buildDangerousHTMLMessageWithTitle)('', (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('To improve the look and feel of your store and manage your storefront appearance here, please enable the “Next-gen look and feel of the product list on the storefront” option in your store dashboard (“Settings → What’s New”).', 'ecwid-shopping-cart')); - const isNewProductList = blockParams.isNewProductList; - const controls = (0,_includes_controls_js__WEBPACK_IMPORTED_MODULE_7__.EcwidControls)(blockParams.attributes, props); - return [editor, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.InspectorControls, { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Filters', 'ecwid-shopping-cart'), - initialOpen: false, - children: [!blockParams.filtersEnabled && filtersDisabledMessage, blockParams.filtersEnabled && [controls.select('product_filters_position_search_page')]] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Product List Appearance', 'ecwid-shopping-cart'), - initialOpen: false, - children: [isNewProductList && [controls.toggle('product_list_show_product_images'), attributes.product_list_show_product_images && [controls.buttonGroup('product_list_image_size'), controls.toolbar('product_list_image_aspect_ratio')], controls.toolbar('product_list_product_info_layout'), controls.select('product_list_title_behavior'), controls.select('product_list_price_behavior'), controls.select('product_list_sku_behavior'), controls.select('product_list_buybutton_behavior'), controls.toggle('product_list_show_additional_image_on_hover'), controls.toggle('product_list_show_frame')], !isNewProductList && productMigrationWarning] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Store Navigation', 'ecwid-shopping-cart'), - initialOpen: false, - children: [controls.toggle('show_categories'), controls.toggle('show_breadcrumbs'), isNewProductList && controls.toggle('show_footer_menu'), controls.toggle('show_signin_link'), controls.toggle('product_list_show_sort_viewas_options')] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Color settings', 'ecwid-shopping-cart'), - initialOpen: false, - children: [controls.color('chameleon_color_button'), controls.color('chameleon_color_foreground'), controls.color('chameleon_color_price'), controls.color('chameleon_color_link'), controls.color('chameleon_color_background')] - })] - })]; - }, - save: function (props) { - return null; - } -}); - -/***/ }), - -/***/ "./js/gutenberg/src/filters-page/editor.scss": -/*!***************************************************!*\ - !*** ./js/gutenberg/src/filters-page/editor.scss ***! - \***************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -// extracted by mini-css-extract-plugin - - -/***/ }), - -/***/ "./js/gutenberg/src/filters-page/style.scss": -/*!**************************************************!*\ - !*** ./js/gutenberg/src/filters-page/style.scss ***! - \**************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -// extracted by mini-css-extract-plugin - - -/***/ }), - -/***/ "./js/gutenberg/src/includes/color.js": -/*!********************************************!*\ - !*** ./js/gutenberg/src/includes/color.js ***! - \********************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ ColorControl: () => (/* binding */ ColorControl) -/* harmony export */ }); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); -/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); -/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__); - - - - -const colors = [{ - name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)("Pale pink"), - slug: "pale-pink", - color: "#f78da7" -}, { - name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)("Vivid red"), - slug: "vivid-red", - color: "#cf2e2e" -}, { - name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)("Luminous vivid orange"), - slug: "luminous-vivid-orange", - color: "#ff6900" -}, { - name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)("Luminous vivid amber"), - slug: "luminous-vivid-amber", - color: "#fcb900" -}, { - name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)("Light green cyan"), - slug: "light-green-cyan", - color: "#7bdcb5" -}, { - name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)("Vivid green cyan"), - slug: "vivid-green-cyan", - color: "#00d084" -}, { - name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)("Pale cyan blue"), - slug: "pale-cyan-blue", - color: "#8ed1fc" -}, { - name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)("Vivid cyan blue"), - slug: "vivid-cyan-blue", - color: "#0693e3" -}, { - name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)("Very light gray"), - slug: "very-light-gray", - color: "#eeeeee" -}, { - name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)("Cyan bluish gray"), - slug: "cyan-bluish-gray", - color: "#abb8c3" -}, { - name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)("Very dark gray"), - slug: "very-dark-gray", - color: "#313131" -}]; -const ColorControl = ({ - name, - title, - props -}) => { - const [manual, setManual] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useState)(null); - const [color, setColor] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useState)(null); - - // Setting default value - if (typeof props.attributes[name] === 'undefined') { - props.attributes[name] = false; - } - const isManual = manual === null && props.attributes[name] !== false && props.attributes[name] !== null && props.attributes[name] !== '' || manual === 'manual'; - if (!isManual) { - props.setAttributes({ - [name]: false - }); - } else if (color !== null) { - props.setAttributes({ - [name]: color === undefined ? false : color - }); - } - const currentValue = props.attributes[name] || ''; - const titleElement = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("span", { - children: [title, currentValue !== null && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorIndicator, { - colorValue: props.attributes[name] - })] - }); - function handleColorChange(newColor) { - setColor(newColor === undefined ? false : newColor); - props.setAttributes({ - [name]: newColor === undefined ? false : newColor - }); - } - function handleSelectChange(event) { - const newValue = event.target.value; - setManual(newValue); - if (newValue === 'auto') { - setColor(false); - props.setAttributes({ - [name]: false - }); - } - } - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.BaseControl, { - label: titleElement, - className: "ec-store-color-picker", - __nextHasNoMarginBottom: true, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("select", { - onChange: handleSelectChange, - value: isManual ? 'manual' : 'auto', - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("option", { - value: "auto", - children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Detect automatically', 'ecwid-shopping-cart') - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("option", { - value: "manual", - children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Set manually', 'ecwid-shopping-cart') - })] - }), isManual && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.ColorPalette, { - value: currentValue, - colors: colors, - onChange: handleColorChange - })] - }); -}; - -/***/ }), - -/***/ "./js/gutenberg/src/includes/controls.js": -/*!***********************************************!*\ - !*** ./js/gutenberg/src/includes/controls.js ***! - \***********************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ EcwidControls: () => (/* binding */ EcwidControls), -/* harmony export */ EcwidInspectorSubheader: () => (/* binding */ EcwidInspectorSubheader), -/* harmony export */ EcwidProductBrowserBlock: () => (/* binding */ EcwidProductBrowserBlock), -/* harmony export */ EcwidStoreBlockInner: () => (/* binding */ EcwidStoreBlockInner) -/* harmony export */ }); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); -/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); -/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var _icons_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./icons.js */ "./js/gutenberg/src/includes/icons.js"); -/* harmony import */ var _color_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./color.js */ "./js/gutenberg/src/includes/color.js"); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__); - - - - - - -function EcwidControls(declaration, properties) { - const attributes = properties.attributes; - let buildButtonGroup = function (props, name, label, items) { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.BaseControl, { - label: label, - __nextHasNoMarginBottom: true, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ButtonGroup, { - className: "ec-store-inspector-button-group", - children: items.map(function (item) { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Button, { - isPrimary: attributes[name] === item.value, - onClick: () => props.setAttributes({ - [name]: item.value - }), - children: item.title - }); - }) - }) - }); - }; - let buildToggle = function (props, name, label) { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { - label: label, - checked: props.attributes[name], - onChange: () => props.setAttributes({ - [name]: !props.attributes[name] - }), - __nextHasNoMarginBottom: true - }); - }; - let buildSelect = function (props, name, label, items, callback = () => {}) { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.BaseControl, { - label: label, - __nextHasNoMarginBottom: true, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("select", { - className: "ec-store-control-select", - onChange: event => { - props.setAttributes({ - [name]: event.target.value - }); - callback(); - }, - children: items.map(function (item) { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("option", { - value: item.value, - selected: props.attributes[name] == item.value, - children: item.title - }); - }) - }) - }); - }; - let buildTextbox = function (props, name, label) { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.BaseControl, { - label: label, - __nextHasNoMarginBottom: true, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("input", { - type: "text", - value: props.attributes[name], - onChange: event => { - props.setAttributes({ - [name]: event.target.value - }); - } - }) - }); - }; - let buildToolbar = function (props, name, label, items) { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.BaseControl, { - label: label, - __nextHasNoMarginBottom: true, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToolbarGroup, { - controls: items.map(function (item) { - return { - icon: _icons_js__WEBPACK_IMPORTED_MODULE_3__.EcwidIcons[item.icon], - title: item.title, - isActive: props.attributes[name] === item.value, - className: 'ecwid-toolbar-icon', - onClick: () => props.setAttributes({ - [name]: item.value - }) - }; - }) - }) - }); - }; - let buildRadioButtonWithDescription = function (props, name, label, items) { - const needShowCategories = props.attributes[name] == 'DEFAULT_CATEGORY_ID'; - const item = declaration['default_category_id']; - let isPreviewInFrame = document.querySelector('[name=editor-canvas]') != null ? true : false; - let w = window; - if (isPreviewInFrame) w = document.querySelector('[name=editor-canvas]').contentWindow; - const bodyDone = value => { - if (typeof w.Ecwid != 'undefined' && value != 'FILTERS_PAGE') { - if (w.document.getElementById('ec-store-preview') != null) w.document.getElementById('ec-store-preview').innerHTML = ''; - setTimeout(function () { - // w.ecwid_onBodyDone(); - window.Ecwid.init(); - }, 300); - } - }; - let select = ''; - if (item.values && item.values.length > 1) { - select = buildSelect(props, item.name, item.title, item.values, bodyDone); - } - let options = items.map(function (item) { - return { - value: item.value, - label: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("span", { - className: "ec-store-inspector-radio__title", - children: item.title - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("p", { - children: item.description - }), item.value == 'DEFAULT_CATEGORY_ID' && needShowCategories && [select]] - }) - }; - }); - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.BaseControl, { - __nextHasNoMarginBottom: true, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.RadioControl, { - label: label, - className: "ec-store-inspector-radio", - options: options, - selected: props.attributes[name], - onChange: value => { - props.setAttributes({ - [name]: value - }); - bodyDone(value); - } - }) - }); - }; - return { - buttonGroup: function (name) { - const item = declaration[name]; - if (typeof properties.attributes[name] == 'undefined') { - properties.attributes[name] = item.default; - } - return buildButtonGroup(properties, item.name, item.title, item.values); - }, - toggle: function (name) { - const item = declaration[name]; - if (typeof properties.attributes[name] == 'undefined') { - properties.attributes[name] = item.default; - } - return buildToggle(properties, item.name, item.title); - }, - select: function (name, title = null) { - const item = declaration[name]; - if (typeof properties.attributes[name] == 'undefined') { - properties.attributes[name] = item.default; - } - return buildSelect(properties, item.name, title ? title : item.title, item.values); - }, - textbox: function (name) { - const item = declaration[name]; - return builtTextbox(properties, item.name, item.title); - }, - toolbar: function (name) { - const item = declaration[name]; - if (typeof properties.attributes[name] == 'undefined') { - properties.attributes[name] = item.default; - } - return buildToolbar(properties, item.name, item.title, item.values); - }, - color: function (name) { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_color_js__WEBPACK_IMPORTED_MODULE_4__.ColorControl, { - props: properties, - name: name, - title: declaration[name].title - }); - }, - defaultCategoryId: function (name) { - const item = declaration[name]; - if (item.values && item.values.length > 1) { - if (typeof properties.attributes[name] == 'undefined') { - properties.attributes[name] = item.default; - } - return buildSelect(properties, item.name, item.title, item.values); - } else { - return buildTextbox(properties, item.name, item.title); - } - }, - radioButtonWithDescription: function (name) { - const item = declaration[name]; - if (typeof properties.attributes[name] == 'undefined') { - properties.attributes[name] = item.default; - } - return buildRadioButtonWithDescription(properties, item.name, item.title, item.values); - } - }; -} -function EcwidInspectorSubheader(title) { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-inspector-subheader-row", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("label", { - className: "ec-store-inspector-subheader", - children: title - }) - }); -} -; -function trackDynamicProperties(currentDocument, props, dynamicProps) { - const blockProps = props.props; - const dynamicProperties = dynamicProps.split(' '); - const blockId = blockProps.clientId; - const wrapperId = '#ec-store-block-' + blockId; - const storedData = jQuery(currentDocument).find(wrapperId).data('ec-store-block-stored-properties'); - let changed = false; - let propValues = {}; - for (let i = 0; i < dynamicProperties.length; i++) { - let name = dynamicProperties[i]; - if (!storedData || blockProps.attributes[name] != storedData[name]) { - changed = true; - } - propValues[name] = blockProps.attributes[name]; - } - jQuery(currentDocument).find(wrapperId).data('ec-store-block-stored-properties', propValues); - return changed; -} -function EcwidProductBrowserBlock(props) { - const blockProps = props.props; - const attributes = props.attributes; - const blockId = blockProps.clientId; - const showCats = blockProps.attributes.show_categories; - const showSearch = blockProps.attributes.show_search; - const render = typeof props.render === 'undefined' ? true : props.render; - const wrapperId = 'ec-store-block-' + blockId; - const isPreviewInFrame = () => { - return document.querySelector('[name=editor-canvas]') != null ? true : false; - }; - const getPreviewFrameContent = () => { - return document.querySelector('[name=editor-canvas]').contentWindow; - }; - let w = window; - if (isPreviewInFrame()) w = getPreviewFrameContent(); - let widget = "productbrowser"; - let args = ''; - if (blockProps.attributes.default_category_id) { - args = "defaultCategoryId=" + blockProps.attributes.default_category_id; - } else if (blockProps.attributes.default_product_id) { - args = "defaultProductId=" + blockProps.attributes.default_product_id; - } - let className = ''; - if (!props.isLivePreviewEnabled) { - className = "ec-store-generic-block ec-store-dynamic-block"; - if (!render || !w.document.getElementById(wrapperId) || !w.document.getElementById(wrapperId).getAttribute('data-ec-store-rendered')) { - className += " ec-store-block"; - } - if (showCats) { - className += " ec-store-with-categories"; - } - if (showSearch) { - className += " ec-store-with-search"; - } - className += " ec-store-with-stub"; - } - let changed = trackDynamicProperties(w.document, props, "default_product_id default_category_id show_search show_categories"); - if (render && changed) { - w.document.getElementById(wrapperId) && w.document.getElementById(wrapperId).removeAttribute('data-ec-store-rendered'); - if ("undefined" != typeof EcwidGutenberg) { - setTimeout(function () { - EcwidGutenberg.refresh(); - }); - } - } - w.ec = w.ec || {}; - w.ec.storefront = w.ec.storefront || {}; - w.ec.config = w.ec.config || {}; - w.ec.config.chameleon = w.ec.config.chameleon || {}; - w.ec.config.chameleon.colors = {}; - w.ec.config.disable_all_cookies = true; - Object.keys(attributes).map(i => { - let value = typeof blockProps.attributes[i] !== 'undefined' ? blockProps.attributes[i] : attributes.default; - if (i.indexOf('chameleon') !== -1) { - if (value) { - w.ec.config.chameleon.colors['color-' + i.substring(16)] = value; - } - } else { - if (typeof value != 'undefined') { - w.ec.storefront[i] = value; - } - } - }); - delete w.ec.storefront.enable_catalog_on_one_page; - delete w.ec.storefront.show_root_categories; - if (!!props.isLivePreviewEnabled) { - const [lastBlockId, setLastBlockId] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_1__.useState)(''); - const openPage = (page, params = {}) => { - if (props.isProductPage) return; - if ("undefined" != typeof w.Ecwid && w.Ecwid.openPage) { - w.Ecwid.openPage(page, params); - } - }; - const clearUrlHash = () => { - history.replaceState(null, null, ' '); - }; - switch (attributes.storefront_view) { - case 'EXPAND_CATEGORIES': - w.ec.storefront.enable_catalog_on_one_page = true; - clearUrlHash(); - break; - case 'SHOW_ROOT_CATEGORIES': - w.ec.storefront.show_root_categories = false; - clearUrlHash(); - break; - case 'FILTERS_PAGE': - openPage("search"); - break; - case 'DEFAULT_CATEGORY_ID': - case 'COLLAPSE_CATEGORIES': - default: - w.ec.storefront.enable_catalog_on_one_page = false; - clearUrlHash(); - } - const loadScriptJS = el => { - if (el == null) return; - if (typeof w.Ecwid != 'undefined') { - w.Ecwid.OnAPILoaded.add(() => { - w.Ecwid.refreshConfig(); - }); - } - w.ecwid_script_defer = true; - w.ecwid_dynamic_widgets = true; - w._xnext_initialization_scripts = []; - localStorage.setItem('ec_disabled_apps', "all"); - let was_opened_once = false; - let searchNode = w.document.getElementById('ec-store-search-preview'); - let hasSearchBoxAdded = searchNode && searchNode.childNodes && searchNode.childNodes.length > 0; - if (!!props.attributes.show_search && !hasSearchBoxAdded) { - w._xnext_initialization_scripts.push({ - widgetType: 'SearchWidget', - id: 'ec-store-search-preview', - arg: ["id=ec-store-search-preview"] - }); - } - if (!!props.attributes.show_categories) { - w._xnext_initialization_scripts.push({ - widgetType: 'CategoriesV2', - id: 'ec-store-categories-preview', - arg: ["id=ec-store-categories-preview"] - }); - } - w._xnext_initialization_scripts.push({ - widgetType: 'ProductBrowser', - id: 'ec-store-preview', - arg: [args] - }); - if (!w.document.getElementById('ec-store-script')) { - var script = w.document.createElement('script'); - script.type = 'text/javascript'; - script.id = 'ec-store-script'; - script.src = EcwidGutenbergParams.scriptJsUrl; - el.innerHTML = ''; - el.appendChild(script); - script.addEventListener('load', function () { - if (typeof w.Ecwid == 'undefined') { - return; - } - var nodes = w.document.getElementsByClassName('ec-cart-widget'); - if (nodes.length > 0) { - w.Ecwid.init(); - } - w.Ecwid.OnAPILoaded.add(function () { - if (attributes.storefront_view == 'FILTERS_PAGE' && !was_opened_once) { - openPage("search"); - was_opened_once = true; - } - }); - setLastBlockId(blockId); - }); - } else { - if (typeof w.Ecwid != 'undefined') { - if (lastBlockId != blockId) { - setLastBlockId(blockId); - w.Ecwid.init(); - } - if (changed) { - w.document.getElementById('ec-store-preview').innerHTML = ''; - w.Ecwid.init(); - } - } - } - }; - const noticeActions = [{ - 'label': (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Set up your store', 'ecwid-shopping-cart'), - 'url': 'admin.php?page=ec-store', - 'variant': 'primary' - }]; - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: className, - "data-ec-store-widget": widget, - "data-ec-store-id": blockId, - "data-ec-store-args": args, - "data-ec-store-with-search": showSearch, - "data-ec-store-with-categories": showCats, - id: wrapperId, - children: [props.attributes.show_search && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - id: "ec-store-search-preview" - }), props.attributes.show_categories && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - id: "ec-store-categories-preview" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - id: "ec-store-preview" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - ref: loadScriptJS - }), props.showDemoButton && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Notice, { - status: "info", - isDismissible: false, - actions: noticeActions, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - style: { - margin: '0 0 12px 12px' - }, - children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('This is a demo store. Create your store to see your store products here.', 'ecwid-shopping-cart') - }) - })] - }); - } else { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: className, - "data-ec-store-widget": widget, - "data-ec-store-id": blockId, - "data-ec-store-args": args, - "data-ec-store-with-search": showSearch, - "data-ec-store-with-categories": showCats, - id: wrapperId, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-block-header", - children: [props.icon, props.title] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-block-content", - children: props.children - }), props.showDemoButton && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("a", { - className: "button button-primary", - href: "admin.php?page=ec-store", - children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Set up your store', 'ecwid-shopping-cart') - }) - })] - }); - } -} -; -function EcwidStoreBlockInner(props) { - let products = function (title = '') { - if (title != '') { - title = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("h5", { - children: title - }); - } - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-block-subheader", - children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Categories', 'ecwid-shopping-cart') - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-products", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product-block", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-category-sneaker" - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product-block", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-category-bag" - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product-block", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-category-shirt" - }) - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-block-subheader", - children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Featured Products', 'ecwid-shopping-cart') - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-products", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-product-block", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-product-g_sneaker" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-product-block", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-product-p_shirt" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-product-block", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-product-b_hat" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - })] - })] - })] - }); - }; - let only_featured_products = function () { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-block-subheader", - children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Featured Products', 'ecwid-shopping-cart') - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-products", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-product-block", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-product-m_sneaker" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-product-block", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-product-p_shirt" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-product-block", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-product-g_hat" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - })] - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-products", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-product-block", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-product-b_watch" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-product-block", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-product-y_bag" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-product-block", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-product-p_sneaker" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - })] - })] - })] - }); - }; - let category = function () { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-block-subheader", - children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Category #1', 'ecwid-shopping-cart') - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-products", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-product-block", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-product-y_sneaker" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-product-block", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-product-y_shirt" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-product-block", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-product-y_watch" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - })] - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-products", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-product-block", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-product-y_bag" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-product-block", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-product-y_hat" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-product-block", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-product-y_sneaker" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - })] - })] - })] - }); - }; - let menu_mode = function () { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-block-subheader", - children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Category #1', 'ecwid-shopping-cart') - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-products", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-product-block", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-product-y_sneaker" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-product-block", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-product-y_shirt" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-product-block", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-product-y_watch" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - })] - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-block-subheader", - children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Category #2', 'ecwid-shopping-cart') - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-products", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-product-block", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-product-g_sneaker" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-product-block", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-product-g_shirt" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-product-block", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-product-g_watch" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - })] - })] - })] - }); - }; - let filter = function (class_name = '') { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: class_name, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-products", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product-block ec-store-product-filter", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-product-block", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-product-y_shirt" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-product-block", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-product-b_watch" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - })] - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-products", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product-block" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-product-block", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-product-g_sneaker" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div", { - className: "ec-store-product-block", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-product ec-store-product-g_hat" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-stub-sample" - })] - })] - })] - }); - }; - switch (props.state) { - case 'EXPAND_CATEGORIES': - return menu_mode(); - case 'SHOW_ROOT_CATEGORIES': - return only_featured_products(); - case 'DEFAULT_CATEGORY_ID': - return category(); - case 'FILTERS_PAGE': - return filter(); - case 'SEARCH_FILTERS_PAGE': - return filter('ec-store-block-filters-page'); - default: - return products(); - } -} - - -/***/ }), - -/***/ "./js/gutenberg/src/includes/icons.js": -/*!********************************************!*\ - !*** ./js/gutenberg/src/includes/icons.js ***! - \********************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ EcwidIcons: () => (/* binding */ EcwidIcons) -/* harmony export */ }); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__); - -const EcwidIcons = { - ecwid: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - class: "ec-store-icon", - version: "1.1", - id: "Layer_1", - x: "0px", - y: "0px", - viewBox: "0 0 215 215", - "enable-background": "new 0 0 215 215", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("g", { - fill: "#0087cd", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { - "fill-rule": "evenodd", - "clip-rule": "evenodd", - d: "M160.68,163.34c-3.67,0-6.65,2.98-6.65,6.66c0,3.68,2.98,6.66,6.65,6.66 c3.68,0,6.66-2.98,6.66-6.66C167.34,166.32,164.36,163.34,160.68,163.34z" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { - "fill-rule": "evenodd", - "clip-rule": "evenodd", - d: "M53.46,162.51c-3.67,0-6.65,2.98-6.65,6.66c0,3.68,2.98,6.66,6.65,6.66 c3.68,0,6.66-2.98,6.66-6.66C60.12,165.49,57.14,162.51,53.46,162.51z" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { - "fill-rule": "evenodd", - "clip-rule": "evenodd", - d: "M166.12,0H48.88C21.89,0,0,21.89,0,48.89v117.23c0,27,21.89,48.88,48.88,48.88 h117.24c27,0,48.88-21.88,48.88-48.88V48.88C215,21.89,193.11,0,166.12,0z M134.43,57.85c5.36,0,9.7,4.34,9.7,9.7 c0,5.36-4.34,9.7-9.7,9.7c-5.36,0-9.7-4.34-9.7-9.7C124.73,62.19,129.07,57.85,134.43,57.85z M134.43,85.25 c5.36,0,9.7,4.34,9.7,9.7s-4.34,9.7-9.7,9.7c-5.36,0-9.7-4.34-9.7-9.7S129.07,85.25,134.43,85.25z M107.09,57.85 c5.36,0,9.7,4.34,9.7,9.7c0,5.36-4.34,9.7-9.7,9.7c-5.36,0-9.7-4.34-9.7-9.7C97.39,62.19,101.73,57.85,107.09,57.85z M107.09,85.25 c5.36,0,9.7,4.34,9.7,9.7s-4.34,9.7-9.7,9.7c-5.36,0-9.7-4.34-9.7-9.7S101.73,85.25,107.09,85.25z M79.75,57.85 c5.36,0,9.7,4.34,9.7,9.7c0,5.36-4.34,9.7-9.7,9.7c-5.36,0-9.7-4.34-9.7-9.7C70.05,62.19,74.39,57.85,79.75,57.85z M79.75,85.25 c5.36,0,9.7,4.34,9.7,9.7s-4.34,9.7-9.7,9.7c-5.36,0-9.7-4.34-9.7-9.7S74.39,85.25,79.75,85.25z M53.46,187.72 c-10.24,0-18.55-8.31-18.55-18.55c0-10.25,8.31-18.56,18.55-18.56c10.25,0,18.56,8.31,18.56,18.56 C72.03,179.41,63.71,187.72,53.46,187.72z M160.68,188.55c-10.24,0-18.55-8.31-18.55-18.55c0-10.25,8.31-18.56,18.55-18.56 c10.25,0,18.56,8.31,18.56,18.56C179.24,180.24,170.93,188.55,160.68,188.55z M193.27,37.66l-19.18,71.44 c-5.12,19.07-21.28,31.04-41.03,31.04h-12.65c-4.18,0-10.23-2.26-12.74-4.62c-0.42-0.39-1.08-0.39-1.5,0 c-2.51,2.36-8.56,4.62-12.74,4.62h-13.9c-19.12,0-33.61-10.9-39.41-29.12L23.81,59.86c-0.32-1.02-0.15-2.1,0.49-2.97 c0.63-0.86,1.6-1.36,2.69-1.36l3.12,0.01c7.52,0.03,14.11,4.86,16.38,12.02l11.98,37.62c3.24,10.19,13.61,17.04,24.3,17.04 l4.65-0.01c4.8,0,8.18-2.46,10.22-4.66c1.06-1.15,2.54-1.82,4.11-1.82l10.44,0.01c1.48,0,2.92,0.59,3.91,1.68 c1.98,2.17,5.49,4.79,10.33,4.79l4.43,0.01c11.04,0,21.75-7.45,24.62-18.11l15.53-57.84c2.03-7.53,8.88-12.78,16.67-12.78l2.74,0 c0.26,0,0.52,0.04,0.76,0.14C192.93,34.37,193.7,36.08,193.27,37.66z" - })] - }) - }), - store: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - class: "ec-store-icon-color", - xmlns: "http://www.w3.org/2000/svg", - width: "24", - height: "24", - viewBox: "0 0 24 24", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("g", { - fill: "none", - "fill-rule": "evenodd", - stroke: "currentColor", - "stroke-linejoin": "round", - "stroke-width": "2", - transform: "translate(0 3)", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { - d: "M20 7L20 17C20 18.1045695 19.1045695 19 18 19L4 19C2.8954305 19 2 18.1045695 2 17L2 7 2 7M1 0L21 0 21.5808632 3.48517907C21.8145004 4.88700236 20.8935617 6.22128765 19.5 6.5L18.9764235 6.60471529C17.7961226 6.84077548 16.5971903 6.29508301 16 5.25L16 5.25 16 5.25 15.7442084 5.69763529C15.2840087 6.50298484 14.4275622 7 13.5 7 12.5724378 7 11.7159913 6.50298484 11.2557916 5.69763529L11 5.25 11 5.25 10.7442084 5.69763529C10.2840087 6.50298484 9.42756224 7 8.5 7 7.57243776 7 6.71599134 6.50298484 6.25579159 5.69763529L6 5.25 6 5.25C5.40280971 6.29508301 4.20387741 6.84077548 3.02357646 6.60471529L2.5 6.5C1.10643827 6.22128765.185499607 4.88700236.419136822 3.48517907L1 0 1 0z" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("polygon", { - points: "7 11 15 11 15 19 7 19" - })] - }) - }), - product: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - class: "ec-store-icon-color", - xmlns: "http://www.w3.org/2000/svg", - width: "24", - height: "24", - viewBox: "0 0 24 24", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("g", { - fill: "none", - "fill-rule": "evenodd", - "stroke-linecap": "round", - "stroke-linejoin": "round", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { - stroke: "currentColor", - "stroke-width": "2", - d: "M5.5638852,7 L18.4361148,7 C19.3276335,7 19.6509198,7.09282561 19.9768457,7.2671327 C20.3027716,7.4414398 20.5585602,7.69722837 20.7328673,8.0231543 C20.9071744,8.34908022 21,8.67236646 21,9.5638852 L21,20.4361148 C21,21.3276335 20.9071744,21.6509198 20.7328673,21.9768457 C20.5585602,22.3027716 20.3027716,22.5585602 19.9768457,22.7328673 C19.6509198,22.9071744 19.3276335,23 18.4361148,23 L5.5638852,23 C4.67236646,23 4.34908022,22.9071744 4.0231543,22.7328673 C3.69722837,22.5585602 3.4414398,22.3027716 3.2671327,21.9768457 C3.09282561,21.6509198 3,21.3276335 3,20.4361148 L3,9.5638852 C3,8.67236646 3.09282561,8.34908022 3.2671327,8.0231543 C3.4414398,7.69722837 3.69722837,7.4414398 4.0231543,7.2671327 C4.34908022,7.09282561 4.67236646,7 5.5638852,7 Z" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { - stroke: "currentColor", - "stroke-width": "2", - d: "M8,10 L8,6 C8,3.790861 9.790861,2 12,2 C14.209139,2 16,3.790861 16,6 L16,10 L16,10" - })] - }) - }), - aspect169: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - width: "40px", - height: "40px", - viewBox: "0 0 40 40", - version: "1.1", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("g", { - stroke: "none", - "stroke-width": "1", - fill: "none", - "fill-rule": "evenodd", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "9", - y: "14", - width: "22", - height: "12", - rx: "2" - }) - }) - }), - aspect916: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("svg", { - width: "40px", - height: "40px", - viewBox: "0 0 40 40", - version: "1.1", - children: [" ", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("g", { - stroke: "none", - "stroke-width": "1", - fill: "none", - "fill-rule": "evenodd", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "14", - y: "9", - width: "12", - height: "22", - rx: "2" - }) - })] - }), - aspect11: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - width: "40px", - height: "40px", - viewBox: "0 0 40 40", - version: "1.1", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("g", { - stroke: "none", - "stroke-width": "1", - fill: "none", - "fill-rule": "evenodd", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "12", - y: "12", - width: "16", - height: "16", - rx: "2" - }) - }) - }), - aspect34: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - width: "40px", - height: "40px", - viewBox: "0 0 40 40", - version: "1.1", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("g", { - stroke: "none", - "stroke-width": "1", - fill: "none", - "fill-rule": "evenodd", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "12", - y: "10", - width: "16", - height: "20", - rx: "2" - }) - }) - }), - aspect43: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - width: "40px", - height: "40px", - viewBox: "0 0 40 40", - version: "1.1", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("g", { - stroke: "none", - "stroke-width": "1", - fill: "none", - "fill-rule": "evenodd", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "10", - y: "12", - width: "20", - height: "16", - rx: "2" - }) - }) - }), - textalignleft: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - width: "40px", - height: "40px", - viewBox: "0 0 40 40", - version: "1.1", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("g", { - stroke: "none", - "stroke-width": "1", - fill: "none", - "fill-rule": "evenodd", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "13", - y: "13", - width: "14", - height: "2" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "13", - y: "16", - width: "9", - height: "2" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "13", - y: "19", - width: "13", - height: "2" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "13", - y: "22", - width: "9", - height: "2" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "13", - y: "25", - width: "14", - height: "2" - })] - }) - }), - textaligncenter: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - width: "40px", - height: "40px", - viewBox: "0 0 40 40", - version: "1.1", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("g", { - stroke: "none", - "stroke-width": "1", - fill: "none", - "fill-rule": "evenodd", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "13", - y: "13", - width: "14", - height: "2" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "16", - y: "16", - width: "8", - height: "2" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "14", - y: "19", - width: "12", - height: "2" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "16", - y: "22", - width: "8", - height: "2" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "13", - y: "25", - width: "14", - height: "2" - })] - }) - }), - textalignright: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - width: "40px", - height: "40px", - viewBox: "0 0 40 40", - version: "1.1", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("g", { - stroke: "none", - "stroke-width": "1", - fill: "none", - "fill-rule": "evenodd", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "13", - y: "13", - width: "14", - height: "2" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "18", - y: "16", - width: "9", - height: "2" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "14", - y: "19", - width: "13", - height: "2" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "18", - y: "22", - width: "9", - height: "2" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "13", - y: "25", - width: "14", - height: "2" - })] - }) - }), - textalignjustify: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - width: "40px", - height: "40px", - viewBox: "0 0 40 40", - zoomAndPan: "1.5", - version: "1.1", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("g", { - stroke: "none", - "stroke-width": "1", - fill: "none", - "fill-rule": "evenodd", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "13", - y: "13", - width: "14", - height: "2" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "13", - y: "16", - width: "14", - height: "2" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "13", - y: "19", - width: "14", - height: "2" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "13", - y: "22", - width: "14", - height: "2" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "13", - y: "25", - width: "14", - height: "2" - })] - }) - }), - productLayout3Columns: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - width: "40px", - height: "40px", - viewBox: "0 0 40 40", - version: "1.1", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("g", { - stroke: "none", - "stroke-width": "1", - fill: "none", - "fill-rule": "evenodd", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - transform: "translate(13.000000, 19.500000) rotate(-270.000000) translate(-13.000000, -19.500000) ", - x: "3.5", - y: "16.5", - width: "19", - height: "6", - rx: "1" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "18", - y: "10", - width: "5", - height: "19" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "25", - y: "10", - width: "5", - height: "8" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "25", - y: "19", - width: "5", - height: "10" - })] - }) - }), - productLayout2ColumnsLeft: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - width: "40px", - height: "40px", - viewBox: "0 0 40 40", - version: "1.1", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("g", { - stroke: "none", - "stroke-width": "1", - fill: "none", - "fill-rule": "evenodd", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "17", - y: "10", - width: "13", - height: "19", - rx: "1" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "10", - y: "10", - width: "5", - height: "5" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - fill: "#000000", - x: "10", - y: "17", - width: "5", - height: "12" - })] - }) - }), - productLayout2ColumnsRight: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - width: "40px", - height: "40px", - viewBox: "0 0 40 40", - version: "1.1", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("g", { - stroke: "none", - "stroke-width": "1", - fill: "none", - "fill-rule": "evenodd", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("g", { - transform: "translate(10.000000, 10.000000)", - fill: "#000000", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - x: "0", - y: "0", - width: "13", - height: "19", - rx: "1" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - x: "15", - y: "0", - width: "5", - height: "5" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - x: "15", - y: "7", - width: "5", - height: "12" - })] - }) - }) - }), - productLayout2ColumnsBottom: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - width: "40px", - height: "40px", - viewBox: "0 0 40 40", - version: "1.1", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("g", { - stroke: "none", - "stroke-width": "1", - fill: "none", - "fill-rule": "evenodd", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("g", { - transform: "translate(10.000000, 10.000000)", - fill: "#000000", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - x: "0", - y: "0", - width: "13", - height: "12", - rx: "1" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - x: "15", - y: "0", - width: "5", - height: "12" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - x: "0", - y: "14", - width: "20", - height: "5" - })] - }) - }) - }), - galleryLayoutHorizontal: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - width: "40px", - height: "40px", - viewBox: "0 0 40 40", - version: "1.1", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("g", { - stroke: "none", - "stroke-width": "1", - fill: "none", - "fill-rule": "evenodd", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("g", { - transform: "translate(20.000000, 20.500000) rotate(-180.000000) translate(-20.000000, -20.500000) translate(10.000000, 11.000000)", - fill: "#000000", - "fill-rule": "nonzero", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - x: "0", - y: "0", - width: "13", - height: "19", - rx: "1" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - x: "15", - y: "0", - width: "5", - height: "6" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - x: "15", - y: "14", - width: "5", - height: "5" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - x: "15", - y: "7", - width: "5", - height: "6" - })] - }) - }) - }), - galleryLayoutVertical: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - width: "40px", - height: "40px", - viewBox: "0 0 40 40", - version: "1.1", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("g", { - stroke: "none", - "stroke-width": "1", - fill: "none", - "fill-rule": "evenodd", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("g", { - transform: "translate(19.500000, 20.000000) rotate(-270.000000) translate(-19.500000, -20.000000) translate(9.500000, 10.500000)", - fill: "#000000", - "fill-rule": "nonzero", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - x: "0", - y: "-1.13686838e-13", - width: "13", - height: "19", - rx: "1" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - x: "15", - y: "-1.13686838e-13", - width: "5", - height: "6" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - x: "15", - y: "7", - width: "5", - height: "5" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - x: "15", - y: "13", - width: "5", - height: "6" - })] - }) - }) - }), - galleryLayoutFeed: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - width: "40px", - height: "40px", - viewBox: "0 0 40 40", - version: "1.1", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("g", { - stroke: "none", - "stroke-width": "1", - fill: "none", - "fill-rule": "evenodd", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("g", { - transform: "translate(20.500000, 12.500000) rotate(-270.000000) translate(-20.500000, -12.500000) translate(14.000000, 3.000000)", - fill: "#000000", - "fill-rule": "nonzero", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - x: "0", - y: "0", - width: "13", - height: "19", - rx: "1" - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("g", { - transform: "translate(20.500000, 27.500000) rotate(-270.000000) translate(-20.500000, -27.500000) translate(14.000000, 18.000000)", - fill: "#000000", - "fill-rule": "nonzero", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - x: "0", - y: "0", - width: "13", - height: "19", - rx: "1" - }) - })] - }) - }), - cart: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - class: "ec-store-icon-color", - class: "ec-store-icon-color", - width: "24px", - height: "24px", - viewBox: "0 0 24 24", - version: "1.1", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("g", { - id: "Typography", - stroke: "none", - "stroke-width": "1", - "fill-rule": "evenodd", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("g", { - id: "gutenberg-widgets-icons", - transform: "translate(-352.000000, -415.000000)", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("g", { - id: "cart-icon", - transform: "translate(352.000000, 415.000000)", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { - d: "M4.5269723,4 L2,4 C1.44771525,4 1,3.55228475 1,3 C1,2.44771525 1.44771525,2 2,2 L5.33333333,2 C5.80393835,2 6.21086155,2.32812702 6.31061146,2.788039 L7.22413999,7 L21,7 C21.6640252,7 22.143636,7.63527258 21.9617572,8.27390353 L19.968471,15.272927 C19.8460922,15.7026358 19.4535094,15.9990234 19.0067139,15.9990234 L7.93579102,15.9990234 C7.465186,15.9990234 7.0582628,15.6708964 6.95851289,15.2109844 L4.5269723,4 Z M7.65791824,9 L8.74215205,13.9990234 L18.2517453,13.9990234 L19.6754416,9 L7.65791824,9 Z", - id: "Path-3", - "fill-rule": "nonzero" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("circle", { - id: "Oval-2", - cx: "9", - cy: "20", - r: "2" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("circle", { - id: "Oval-2", - cx: "18", - cy: "20", - r: "2" - })] - }) - }) - }) - }), - search: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - class: "ec-store-icon-color", - xmlns: "http://www.w3.org/2000/svg", - width: "18", - height: "18", - viewBox: "0 0 18 18", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("g", { - fill: "none", - "fill-rule": "evenodd", - stroke: "currentColor", - "stroke-linecap": "round", - "stroke-width": "2", - transform: "translate(1.667 1.667)", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("line", { - x1: "10.667", - x2: "14.667", - y1: "10.667", - y2: "14.667" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("circle", { - cx: "6", - cy: "6", - r: "6", - "stroke-linejoin": "round" - })] - }) - }), - categories: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - class: "ec-store-icon-color", - class: "ec-store-icon-color", - width: "24px", - height: "24px", - viewBox: "0 0 24 24", - version: "1.1", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("g", { - id: "Typography", - stroke: "none", - "stroke-width": "1", - "fill-rule": "evenodd", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("g", { - id: "gutenberg-widgets-icons", - transform: "translate(-234.000000, -416.000000)", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("g", { - id: "categories-icon", - transform: "translate(234.000000, 416.000000)", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("polygon", { - id: "Triangle", - points: "3 2 5.5 7 0.5 7" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("polygon", { - id: "Line", - "fill-rule": "nonzero", - points: "8 6 8 4 23 4 23 6" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("polygon", { - id: "Line", - "fill-rule": "nonzero", - points: "8 13 8 11 23 11 23 13" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("polygon", { - id: "Line", - "fill-rule": "nonzero", - points: "8 20 8 18 23 18 23 20" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - id: "Rectangle", - stroke: "currentColor", - "stroke-width": "2", - fill: "#FFFFFF", - x: "2", - y: "11", - width: "2", - height: "2" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("rect", { - id: "Rectangle", - stroke: "currentColor", - "stroke-width": "2", - fill: "#FFFFFF", - x: "2", - y: "18", - width: "2", - height: "2", - rx: "1" - })] - }) - }) - }) - }), - category: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - class: "ec-store-icon-color", - xmlns: "http://www.w3.org/2000/svg", - width: "24", - height: "24", - viewBox: "0 0 24 24", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { - fill: "none", - stroke: "currentColor", - "stroke-linecap": "round", - "stroke-linejoin": "round", - "stroke-width": "2", - d: "M4.5638852 2L7.4361148 2C8.32763354 2 8.65091978 2.09282561 8.9768457 2.2671327 9.30277163 2.4414398 9.5585602 2.69722837 9.7328673 3.0231543 9.90717439 3.34908022 10 3.67236646 10 4.5638852L10 7.4361148C10 8.32763354 9.90717439 8.65091978 9.7328673 8.9768457 9.5585602 9.30277163 9.30277163 9.5585602 8.9768457 9.7328673 8.65091978 9.90717439 8.32763354 10 7.4361148 10L4.5638852 10C3.67236646 10 3.34908022 9.90717439 3.0231543 9.7328673 2.69722837 9.5585602 2.4414398 9.30277163 2.2671327 8.9768457 2.09282561 8.65091978 2 8.32763354 2 7.4361148L2 4.5638852C2 3.67236646 2.09282561 3.34908022 2.2671327 3.0231543 2.4414398 2.69722837 2.69722837 2.4414398 3.0231543 2.2671327 3.34908022 2.09282561 3.67236646 2 4.5638852 2zM4.5638852 14L7.4361148 14C8.32763354 14 8.65091978 14.0928256 8.9768457 14.2671327 9.30277163 14.4414398 9.5585602 14.6972284 9.7328673 15.0231543 9.90717439 15.3490802 10 15.6723665 10 16.5638852L10 19.4361148C10 20.3276335 9.90717439 20.6509198 9.7328673 20.9768457 9.5585602 21.3027716 9.30277163 21.5585602 8.9768457 21.7328673 8.65091978 21.9071744 8.32763354 22 7.4361148 22L4.5638852 22C3.67236646 22 3.34908022 21.9071744 3.0231543 21.7328673 2.69722837 21.5585602 2.4414398 21.3027716 2.2671327 20.9768457 2.09282561 20.6509198 2 20.3276335 2 19.4361148L2 16.5638852C2 15.6723665 2.09282561 15.3490802 2.2671327 15.0231543 2.4414398 14.6972284 2.69722837 14.4414398 3.0231543 14.2671327 3.34908022 14.0928256 3.67236646 14 4.5638852 14zM16.5638852 2L19.4361148 2C20.3276335 2 20.6509198 2.09282561 20.9768457 2.2671327 21.3027716 2.4414398 21.5585602 2.69722837 21.7328673 3.0231543 21.9071744 3.34908022 22 3.67236646 22 4.5638852L22 7.4361148C22 8.32763354 21.9071744 8.65091978 21.7328673 8.9768457 21.5585602 9.30277163 21.3027716 9.5585602 20.9768457 9.7328673 20.6509198 9.90717439 20.3276335 10 19.4361148 10L16.5638852 10C15.6723665 10 15.3490802 9.90717439 15.0231543 9.7328673 14.6972284 9.5585602 14.4414398 9.30277163 14.2671327 8.9768457 14.0928256 8.65091978 14 8.32763354 14 7.4361148L14 4.5638852C14 3.67236646 14.0928256 3.34908022 14.2671327 3.0231543 14.4414398 2.69722837 14.6972284 2.4414398 15.0231543 2.2671327 15.3490802 2.09282561 15.6723665 2 16.5638852 2zM16.5638852 14L19.4361148 14C20.3276335 14 20.6509198 14.0928256 20.9768457 14.2671327 21.3027716 14.4414398 21.5585602 14.6972284 21.7328673 15.0231543 21.9071744 15.3490802 22 15.6723665 22 16.5638852L22 19.4361148C22 20.3276335 21.9071744 20.6509198 21.7328673 20.9768457 21.5585602 21.3027716 21.3027716 21.5585602 20.9768457 21.7328673 20.6509198 21.9071744 20.3276335 22 19.4361148 22L16.5638852 22C15.6723665 22 15.3490802 21.9071744 15.0231543 21.7328673 14.6972284 21.5585602 14.4414398 21.3027716 14.2671327 20.9768457 14.0928256 20.6509198 14 20.3276335 14 19.4361148L14 16.5638852C14 15.6723665 14.0928256 15.3490802 14.2671327 15.0231543 14.4414398 14.6972284 14.6972284 14.4414398 15.0231543 14.2671327 15.3490802 14.0928256 15.6723665 14 16.5638852 14z" - }) - }), - button: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - class: "ec-store-icon-color", - width: "24px", - height: "24px", - viewBox: "0 0 24 24", - version: "1.1", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("g", { - id: "Typography", - stroke: "none", - "stroke-width": "1", - "fill-rule": "evenodd", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("g", { - id: "gutenberg-widgets-icons", - transform: "translate(-345.000000, -280.000000)", - "fill-rule": "nonzero", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("g", { - id: "button-icon", - transform: "translate(345.000000, 280.000000)", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { - d: "M4,8 L4,16 L20,16 L20,8 L4,8 Z M4,6 L20,6 C21.1045695,6 22,6.8954305 22,8 L22,16 C22,17.1045695 21.1045695,18 20,18 L4,18 C2.8954305,18 2,17.1045695 2,16 L2,8 C2,6.8954305 2.8954305,6 4,6 Z", - id: "Rectangle-5" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { - d: "M13.8320367,9.8101295 C14.2137832,9.41102047 14.8467917,9.3969454 15.2459008,9.77869195 C15.6450098,10.1604385 15.6590849,10.793447 15.2773383,11.192556 L12.2122748,14.3970238 C11.8300377,14.7966458 11.1960253,14.8101668 10.7970986,14.427204 L9.5128579,13.1943549 C9.11444327,12.8118837 9.10151859,12.1788506 9.48398981,11.780436 C9.86646103,11.3820214 10.4994941,11.3690967 10.8979087,11.7515679 L11.4594438,12.290632 L13.8320367,9.8101295 Z", - id: "Line-6" - })] - }) - }) - }) - }), - productPreview: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - width: "72px", - height: "72px", - viewBox: "0 0 72 72", - version: "1.1", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("g", { - id: "Typography", - stroke: "none", - "stroke-width": "1", - fill: "none", - "fill-rule": "evenodd", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("g", { - id: "gutenberg-widgets", - transform: "translate(-625.000000, -811.000000)", - fill: "#AAAAAA", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("g", { - id: "Group-2", - transform: "translate(571.000000, 756.000000)", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("g", { - id: "product-preview", - transform: "translate(54.000000, 55.000000)", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { - d: "M6,25 L6,69 L66,69 L66,25 L6,25 Z M4,23 L68,23 L68,71 L4,71 L4,23 Z", - id: "Rectangle-2-Copy-2", - "fill-rule": "nonzero" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { - d: "M36.5,23.5 L65.836706,23.5 L67.2237665,22.8226349 L55.0328393,7.34740904 L39.8812213,0.895706316 L40.7501329,7.5 L17.0403124,7.5 L5.04031242,22.5 L6.32093727,22.5 L17.5209373,8.5 L36.5,8.5 L36.5,23.5 Z M42.9573255,16.6099474 L41.1011835,2.50206036 L54.4056315,8.16722056 L66.5284549,23.5566573 L42.9573255,16.6099474 Z", - id: "Combined-Shape", - stroke: "#AAAAAA" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { - d: "M29.8056641,41.53125 C29.9375,38.2060547 32.2080078,35.6865234 36.4560547,35.6865234 C40.3232422,35.6865234 42.9306641,37.9863281 42.9306641,41.1210938 C42.9306641,43.3916016 41.7880859,44.9882812 39.8544922,46.1455078 C37.9648438,47.2587891 37.4228516,48.0351562 37.4228516,49.5439453 L37.4228516,50.4375 L34.390625,50.4375 L34.3759766,49.265625 C34.3027344,47.2001953 35.1962891,45.8818359 37.203125,44.6806641 C38.9755859,43.6113281 39.6054688,42.7617188 39.6054688,41.2529297 C39.6054688,39.5976562 38.3017578,38.3818359 36.2949219,38.3818359 C34.2734375,38.3818359 32.9697266,39.5976562 32.8378906,41.53125 L29.8056641,41.53125 Z M35.9287109,57.2197266 C34.859375,57.2197266 34.0097656,56.3994141 34.0097656,55.3300781 C34.0097656,54.2607422 34.859375,53.4404297 35.9287109,53.4404297 C37.0273438,53.4404297 37.8623047,54.2607422 37.8623047,55.3300781 C37.8623047,56.3994141 37.0273438,57.2197266 35.9287109,57.2197266 Z", - id: "?" - })] - }) - }) - }) - }) - }), - filters: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - class: "ec-store-icon-color", - xmlns: "http://www.w3.org/2000/svg", - width: "24", - height: "24", - viewBox: "0 0 24 24", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("g", { - fill: "none", - "fill-rule": "evenodd", - "stroke-linecap": "round", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("line", { - x1: "2", - x2: "22", - y1: "7", - y2: "7", - stroke: "currentColor", - "stroke-width": "2" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("line", { - x1: "6", - x2: "18", - y1: "13", - y2: "13", - stroke: "currentColor", - "stroke-width": "2" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("line", { - x1: "11", - x2: "13", - y1: "19", - y2: "19", - stroke: "currentColor", - "stroke-width": "2" - })] - }) - }), - cartPage: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - class: "ec-store-icon-color", - width: "24px", - height: "24px", - viewBox: "0 0 24 24", - version: "1.1", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("g", { - id: "Typography", - stroke: "none", - "stroke-width": "1", - "fill-rule": "evenodd", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("g", { - id: "gutenberg-widgets-icons", - transform: "translate(-470.000000, -500.000000)", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("g", { - id: "cart-icon", - transform: "translate(470.000000, 500.000000)", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("g", { - id: "Group-6", - transform: "translate(2.000000, 3.000000)", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { - d: "M2.5269723,1 L0,1 C-0.55228475,1 -1,0.55228475 -1,-1.11022302e-16 C-1,-0.55228475 -0.55228475,-1 0,-1 L3.33333333,-1 C3.80393835,-1 4.21086155,-0.671872981 4.31061146,-0.211960997 L6.74215205,10.9990234 L16.2517453,10.9990234 L17.6754416,6 L17.0067139,6 C16.4544291,6 16.0067139,5.55228475 16.0067139,5 C16.0067139,4.44771525 16.4544291,4 17.0067139,4 L19,4 C19.6640252,4 20.143636,4.63527258 19.9617572,5.27390353 L17.968471,12.272927 C17.8460922,12.7026358 17.4535094,12.9990234 17.0067139,12.9990234 L5.93579102,12.9990234 C5.465186,12.9990234 5.0582628,12.6708964 4.95851289,12.2109844 L2.5269723,1 Z", - id: "Path-3", - "fill-rule": "nonzero" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { - d: "M13.6266547,1.30878828 C14.0084012,0.909679249 14.6414097,0.895604177 15.0405188,1.27735072 C15.4396278,1.65909727 15.4537029,2.29210579 15.0719563,2.69121482 L11.0068929,6.89568259 C10.6246557,7.29530459 9.99064332,7.30882561 9.59171662,6.92586281 L7.61584318,5.00113813 C7.21742856,4.61866691 7.20450388,3.98563386 7.5869751,3.58721924 C7.96944632,3.18880462 8.60247937,3.17587994 9.00089399,3.55835116 L10.2540618,4.78929076 L13.6266547,1.30878828 Z", - id: "Line-6", - "fill-rule": "nonzero" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("circle", { - id: "Oval-2", - cx: "7", - cy: "17", - r: "2" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("circle", { - id: "Oval-2", - cx: "16", - cy: "17", - r: "2" - })] - }) - }) - }) - }) - }), - latestProducts: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("svg", { - class: "ec-store-icon-color", - width: "24px", - height: "24px", - viewBox: "0 0 24 24", - version: "1.1", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("g", { - id: "Typography", - stroke: "none", - "stroke-width": "1", - "fill-rule": "evenodd", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("g", { - id: "gutenberg-widgets-icons", - transform: "translate(-470.000000, -416.000000)", - "fill-rule": "nonzero", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("g", { - transform: "translate(470.000000, 416.000000)", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { - d: "M5,17 L5,20 L9,20 L9,17 L5,17 Z M3,15 L11,15 L11,22 L3,22 L3,15 Z", - id: "Rectangle-2" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { - d: "M5,8 L5,11 L9,11 L9,8 L5,8 Z M3,6 L11,6 L11,13 L3,13 L3,6 Z", - id: "Rectangle-2-Copy" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { - d: "M15,17 L15,20 L19,20 L19,17 L15,17 Z M13,15 L21,15 L21,22 L13,22 L13,15 Z", - id: "Rectangle-2" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path", { - d: "M15,8 L15,11 L19,11 L19,8 L15,8 Z M13,6 L21,6 L21,13 L13,13 L13,6 Z", - id: "Rectangle-2-Copy-3" - })] - }) - }) - }) - }) -}; - - -/***/ }), - -/***/ "./js/gutenberg/src/includes/utils.js": -/*!********************************************!*\ - !*** ./js/gutenberg/src/includes/utils.js ***! - \********************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ buildDangerousHTMLMessageWithTitle: () => (/* binding */ buildDangerousHTMLMessageWithTitle) -/* harmony export */ }); -/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); -/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); - - -/** - * Returns a message with HTML inside, safely wrapped in BaseControl - * @param {string} title - Block title - * @param {string} message - HTML message (will be inserted as innerHTML) - */ - -function buildDangerousHTMLMessageWithTitle(title, message) { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__.BaseControl, { - label: title, - __nextHasNoMarginBottom: true, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { - dangerouslySetInnerHTML: { - __html: message - } - }) - }); -} - -/***/ }), - -/***/ "./js/gutenberg/src/index.js": -/*!***********************************!*\ - !*** ./js/gutenberg/src/index.js ***! - \***********************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var _includes_icons_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./includes/icons.js */ "./js/gutenberg/src/includes/icons.js"); -/* harmony import */ var _store_block_jsx__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./store/block.jsx */ "./js/gutenberg/src/store/block.jsx"); -/* harmony import */ var _product_block_jsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./product/block.jsx */ "./js/gutenberg/src/product/block.jsx"); -/* harmony import */ var _buynow_block_jsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./buynow/block.jsx */ "./js/gutenberg/src/buynow/block.jsx"); -/* harmony import */ var _search_block_jsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./search/block.jsx */ "./js/gutenberg/src/search/block.jsx"); -/* harmony import */ var _categories_block_jsx__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./categories/block.jsx */ "./js/gutenberg/src/categories/block.jsx"); -/* harmony import */ var _minicart_block_jsx__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./minicart/block.jsx */ "./js/gutenberg/src/minicart/block.jsx"); -/* harmony import */ var _category_page_block_jsx__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./category-page/block.jsx */ "./js/gutenberg/src/category-page/block.jsx"); -/* harmony import */ var _product_page_block_jsx__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./product-page/block.jsx */ "./js/gutenberg/src/product-page/block.jsx"); -/* harmony import */ var _filters_page_block_jsx__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./filters-page/block.jsx */ "./js/gutenberg/src/filters-page/block.jsx"); -/* harmony import */ var _cart_page_block_jsx__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./cart-page/block.jsx */ "./js/gutenberg/src/cart-page/block.jsx"); -/** - * Gutenberg Blocks - * - * All blocks related JavaScript files should be imported here. - * You can create a new block folder in this dir and include code - * for that block here as well. - * - * All blocks should be included here since this is the file that - * Webpack is compiling as the input file. - */ - - -wp.blocks.updateCategory('ec-store', { - icon: _includes_icons_js__WEBPACK_IMPORTED_MODULE_0__.EcwidIcons.ecwid -}); - - - - - - - - - - - -/***/ }), - -/***/ "./js/gutenberg/src/minicart/block.jsx": -/*!*********************************************!*\ - !*** ./js/gutenberg/src/minicart/block.jsx ***! - \*********************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); -/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); -/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); -/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./style.scss */ "./js/gutenberg/src/minicart/style.scss"); -/* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./editor.scss */ "./js/gutenberg/src/minicart/editor.scss"); -/* harmony import */ var _includes_icons_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../includes/icons.js */ "./js/gutenberg/src/includes/icons.js"); -/* harmony import */ var _includes_controls_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../includes/controls.js */ "./js/gutenberg/src/includes/controls.js"); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__); - - - - - - - - - -/** - * Register: aa Gutenberg Block. - * - * Registers a new block provided a unique name and an object defining its - * behavior. Once registered, the block is made editor as an option to any - * editor interface where blocks are implemented. - * - * @link https://wordpress.org/gutenberg/handbook/block-api/ - * @param {string} name Block name. - * @param {Object} settings Block settings. - * @return {?WPBlock} The block, if it has been successfully - * registered; otherwise `undefined`. - */ - -(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockType)('ec-store/minicart', { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Shopping Cart Icon', 'ecwid-shopping-cart'), - icon: _includes_icons_js__WEBPACK_IMPORTED_MODULE_6__.EcwidIcons.cart, - category: 'ec-store', - // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed. - description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Display shopping bag link and summary', 'ecwid-shopping-cart'), - supports: { - customClassName: false, - className: false, - html: false, - inserter: EcwidGutenbergParams.isApiAvailable, - isPrivate: !EcwidGutenbergParams.isApiAvailable, - align: true, - alignWide: false - }, - attributes: EcwidGutenbergParams.minicartAttributes, - example: {}, - /** - * The edit function describes the structure of your block in the context of the editor. - * This represents what the editor will render when the block is used. - * - * The "edit" property must be a valid function. - * - * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/ - */ - edit: function (props) { - const { - attributes - } = props; - const controls = (0,_includes_controls_js__WEBPACK_IMPORTED_MODULE_7__.EcwidControls)(EcwidGutenbergParams.minicartAttributes, props); - function buildItem(props, name, type) { - const item = EcwidGutenbergParams.minicartAttributes[name]; - if (typeof type === 'undefined') { - type = item.type; - } - return controls.select(name); - } - const editor = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { - className: "ec-store-block ec-store-block-minicart", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { - className: "image" - }) - }); - return [editor, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.InspectorControls, { - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Appearance', 'ecwid-shopping-cart'), - initialOpen: true, - children: [buildItem(props, 'layout', 'select'), buildItem(props, 'icon', 'select'), buildItem(props, 'fixed_shape', 'select')] - }) - })]; - }, - save: function (props) { - return false; - } -}); - -/***/ }), - -/***/ "./js/gutenberg/src/minicart/editor.scss": -/*!***********************************************!*\ - !*** ./js/gutenberg/src/minicart/editor.scss ***! - \***********************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -// extracted by mini-css-extract-plugin - - -/***/ }), - -/***/ "./js/gutenberg/src/minicart/style.scss": -/*!**********************************************!*\ - !*** ./js/gutenberg/src/minicart/style.scss ***! - \**********************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -// extracted by mini-css-extract-plugin - - -/***/ }), - -/***/ "./js/gutenberg/src/product-page/block.jsx": -/*!*************************************************!*\ - !*** ./js/gutenberg/src/product-page/block.jsx ***! - \*************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); -/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); -/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); -/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./style.scss */ "./js/gutenberg/src/product-page/style.scss"); -/* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./editor.scss */ "./js/gutenberg/src/product-page/editor.scss"); -/* harmony import */ var _includes_icons_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../includes/icons.js */ "./js/gutenberg/src/includes/icons.js"); -/* harmony import */ var _includes_controls_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../includes/controls.js */ "./js/gutenberg/src/includes/controls.js"); -/* harmony import */ var _includes_utils_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../includes/utils.js */ "./js/gutenberg/src/includes/utils.js"); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__); - - - - - - - - - - -const blockName = 'ec-store/product-page'; -const blockParams = EcwidGutenbergParams.blockParams[blockName]; -/** - * Register: aa Gutenberg Block. - * - * Registers a new block provided a unique name and an object defining its - * behavior. Once registered, the block is made editor as an option to any - * editor interface where blocks are implemented. - * - * @link https://wordpress.org/gutenberg/handbook/block-api/ - * @param {string} name Block name. - * @param {Object} settings Block settings. - * @return {?WPBlock} The block, if it has been successfully - * registered; otherwise `undefined`. - */ -(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockType)('ec-store/product-page', { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Product Card Large', 'ecwid-shopping-cart'), - icon: _includes_icons_js__WEBPACK_IMPORTED_MODULE_6__.EcwidIcons.product, - category: 'ec-store', - // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed. - attributes: blockParams.attributes, - description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Display product page with description and a buy button', 'ecwid-shopping-cart'), - supports: { - customClassName: false, - className: false, - html: false, - multiple: false, - inserter: EcwidGutenbergParams.isWidgetsScreen ? false : true - }, - example: {}, - /** - * The edit function describes the structure of your block in the context of the editor. - * This represents what the editor will render when the block is used. - * - * The "edit" property must be a valid function. - * - * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/ - */ - edit: function (props) { - const { - attributes - } = props; - const saveCallback = function (params) { - const attributes = { - 'default_product_id': params.newProps.product.id - }; - EcwidGutenbergParams.products[params.newProps.product.id] = { - name: params.newProps.product.name, - imageUrl: params.newProps.product.thumb - }; - params.originalProps.setAttributes(attributes); - }; - function openEcwidProductPopup(props) { - ecwid_open_product_popup({ - 'saveCallback': saveCallback, - 'props': props - }); - } - const editor = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(_includes_controls_js__WEBPACK_IMPORTED_MODULE_7__.EcwidProductBrowserBlock, { - props: props, - attributes: attributes, - icon: _includes_icons_js__WEBPACK_IMPORTED_MODULE_6__.EcwidIcons.product, - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Product Card Large', 'ecwid-shopping-cart'), - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", { - className: "ec-store-product-page-preview" - }), !attributes.default_product_id && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", { - className: "button-container", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("button", { - className: "button ec-store-block-button", - onClick: () => { - var params = { - 'saveCallback': saveCallback, - 'props': props - }; - ecwid_open_product_popup(params); - }, - children: EcwidGutenbergParams.chooseProduct - }) - })] - }); - const productMigrationWarning = (0,_includes_utils_js__WEBPACK_IMPORTED_MODULE_8__.buildDangerousHTMLMessageWithTitle)('', (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('To improve the look and feel of your store and manage your storefront appearance here, please enable the “Next-gen look and feel of the product list on the storefront” option in your store dashboard (“Settings → What’s New”).', 'ecwid-shopping-cart')); - const productDetailsMigrationWarning = (0,_includes_utils_js__WEBPACK_IMPORTED_MODULE_8__.buildDangerousHTMLMessageWithTitle)('', (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('To improve the look and feel of your product page and manage your its appearance here, please enable the “Next-gen look and feel of the product page on the storefront” option in your store dashboard (“Settings → What’s New”).', 'ecwid-shopping-cart')); - const isNewDetailsPage = blockParams.isNewDetailsPage; - const controls = (0,_includes_controls_js__WEBPACK_IMPORTED_MODULE_7__.EcwidControls)(blockParams.attributes, props); - return [editor, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.InspectorControls, { - children: [attributes.default_product_id > 0 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", { - className: "ec-store-inspector-row", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("label", { - className: "ec-store-inspector-subheader", - children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Linked product', 'ecwid-shopping-cart') - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)("div", { - className: "ec-store-inspector-row", - children: [EcwidGutenbergParams.products && EcwidGutenbergParams.products[attributes.default_product_id] && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("label", { - children: EcwidGutenbergParams.products[attributes.default_product_id].name - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("button", { - className: "button", - onClick: () => openEcwidProductPopup(props), - children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Change', 'ecwid-shopping-cart') - })] - })] - }), !attributes.default_product_id && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("button", { - className: "button", - onClick: () => openEcwidProductPopup(props), - children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Choose product', 'ecwid-shopping-cart') - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Appearance', 'ecwid-shopping-cart'), - initialOpen: false, - children: [isNewDetailsPage && [controls.select('product_details_layout'), (attributes.product_details_layout === 'TWO_COLUMNS_SIDEBAR_ON_THE_RIGHT' || attributes.product_details_layout === 'TWO_COLUMNS_SIDEBAR_ON_THE_LEFT') && controls.toggle('show_description_under_image'), controls.toolbar('product_details_gallery_layout'), (0,_includes_controls_js__WEBPACK_IMPORTED_MODULE_7__.EcwidInspectorSubheader)((0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Product sidebar content', 'ecwid-shopping-cart')), controls.toggle('product_details_show_product_name'), controls.toggle('product_details_show_breadcrumbs'), controls.toggle('product_details_show_product_sku'), controls.toggle('product_details_show_product_price'), controls.toggle('product_details_show_qty'), controls.toggle('product_details_show_weight'), controls.toggle('product_details_show_number_of_items_in_stock'), controls.toggle('product_details_show_in_stock_label'), controls.toggle('product_details_show_wholesale_prices'), controls.toggle('product_details_show_share_buttons'), controls.toggle('product_details_show_navigation_arrows'), controls.toggle('product_details_show_product_photo_zoom')], !isNewDetailsPage && productMigrationWarning] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Color settings', 'ecwid-shopping-cart'), - initialOpen: false, - children: [controls.color('chameleon_color_button'), controls.color('chameleon_color_foreground'), controls.color('chameleon_color_price'), controls.color('chameleon_color_link'), controls.color('chameleon_color_background')] - })] - })]; - }, - save: function (props) { - return null; - } -}); - -/***/ }), - -/***/ "./js/gutenberg/src/product-page/editor.scss": -/*!***************************************************!*\ - !*** ./js/gutenberg/src/product-page/editor.scss ***! - \***************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -// extracted by mini-css-extract-plugin - - -/***/ }), - -/***/ "./js/gutenberg/src/product-page/style.scss": -/*!**************************************************!*\ - !*** ./js/gutenberg/src/product-page/style.scss ***! - \**************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -// extracted by mini-css-extract-plugin - - -/***/ }), - -/***/ "./js/gutenberg/src/product/block.jsx": -/*!********************************************!*\ - !*** ./js/gutenberg/src/product/block.jsx ***! - \********************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); -/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); -/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); -/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./style.scss */ "./js/gutenberg/src/product/style.scss"); -/* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./editor.scss */ "./js/gutenberg/src/product/editor.scss"); -/* harmony import */ var _includes_icons_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../includes/icons.js */ "./js/gutenberg/src/includes/icons.js"); -/* harmony import */ var _includes_controls_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../includes/controls.js */ "./js/gutenberg/src/includes/controls.js"); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__); - - - - - - - - - -const blockName = 'ecwid/product-block'; -const blockParams = EcwidGutenbergParams.blockParams[blockName]; - -/** - * Register: aa Gutenberg Block. - * - * Registers a new block provided a unique name and an object defining its - * behavior. Once registered, the block is made editor as an option to any - * editor interface where blocks are implemented. - * - * @link https://wordpress.org/gutenberg/handbook/block-api/ - * @param {string} name Block name. - * @param {Object} settings Block settings. - * @return {?WPBlock} The block, if it has been successfully - * registered; otherwise `undefined`. - */ -(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockType)('ecwid/product-block', { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Product Card Small', 'ecwid-shopping-cart'), - // Block title. - icon: _includes_icons_js__WEBPACK_IMPORTED_MODULE_6__.EcwidIcons.product, - category: 'ec-store', - // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed. - attributes: { - id: { - type: 'integer' - }, - show_picture: { - type: 'boolean', - default: true - }, - show_title: { - type: 'boolean', - default: true - }, - show_price: { - type: 'boolean', - default: true - }, - show_options: { - type: 'boolean', - default: true - }, - show_qty: { - type: 'boolean', - default: false - }, - show_addtobag: { - type: 'boolean', - default: true - }, - show_price_on_button: { - type: 'boolean', - default: true - }, - show_border: { - type: 'boolean', - default: true - }, - center_align: { - type: 'boolean', - default: true - } - }, - description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Display product with a buy button', 'ecwid-shopping-cart'), - alignWide: false, - supports: { - customClassName: false, - className: false, - html: false, - align: true, - inserter: EcwidGutenbergParams.isApiAvailable, - isPrivate: !EcwidGutenbergParams.isApiAvailable - }, - example: {}, - /** - * The edit function describes the structure of your block in the context of the editor. - * This represents what the editor will render when the block is used. - * - * The "edit" property must be a valid function. - * - * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/ - */ - edit: function (props) { - const { - attributes - } = props; - const saveCallback = function (params) { - const attributes = { - 'id': params.newProps.product.id - }; - EcwidGutenbergParams.products[params.newProps.product.id] = { - name: params.newProps.product.name, - imageUrl: params.newProps.product.thumb - }; - params.originalProps.setAttributes(attributes); - }; - const editor = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_includes_controls_js__WEBPACK_IMPORTED_MODULE_7__.EcwidProductBrowserBlock, { - props: props, - attributes: attributes, - icon: _includes_icons_js__WEBPACK_IMPORTED_MODULE_6__.EcwidIcons.product, - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Product Card Small', 'ecwid-shopping-cart'), - showDemoButton: blockParams.isDemoStore, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { - className: "ec-store-products", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)("div", { - className: "ec-store-product-block ec-store-product-block-small", - children: [EcwidGutenbergParams.products && attributes.id && EcwidGutenbergParams.products[attributes.id] && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { - className: "ec-store-block-image", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("img", { - src: EcwidGutenbergParams.products[attributes.id].imageUrl - }) - }), !attributes.id && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { - className: "ec-store-product ec-store-product-y_sneaker" - }), !attributes.id && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { - className: "ec-store-stub-sample" - }), !attributes.id && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("button", { - className: "button ec-store-block-button", - onClick: () => { - var params = { - 'saveCallback': saveCallback, - 'props': props - }; - ecwid_open_product_popup(params); - }, - children: EcwidGutenbergParams.chooseProduct - }) - }), EcwidGutenbergParams.products && attributes.id && EcwidGutenbergParams.products[attributes.id] && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { - className: "ec-store-product-title", - children: EcwidGutenbergParams.products[attributes.id].name - })] - }) - }) - }); - function buildToggle(props, name, label) { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.ToggleControl, { - label: label, - checked: props.attributes[name], - onChange: () => props.setAttributes({ - [name]: !props.attributes[name] - }), - __nextHasNoMarginBottom: true - }); - } - function openEcwidProductPopup(props) { - ecwid_open_product_popup({ - 'saveCallback': saveCallback, - 'props': props - }); - } - return [editor, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.InspectorControls, { - children: [attributes.id && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { - className: "ec-store-inspector-row", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("label", { - className: "ec-store-inspector-subheader", - children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Displayed product', 'ecwid-shopping-cart') - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)("div", { - className: "ec-store-inspector-row", - children: [EcwidGutenbergParams.products && EcwidGutenbergParams.products[attributes.id] && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("label", { - children: EcwidGutenbergParams.products[attributes.id].name - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("button", { - className: "button", - onClick: () => openEcwidProductPopup(props), - children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Change', 'ecwid-shopping-cart') - })] - })] - }), !attributes.id && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("button", { - className: "button", - onClick: () => openEcwidProductPopup(props), - children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Choose product', 'ecwid-shopping-cart') - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__._x)('Content', 'gutenberg-product-block', 'ecwid-shopping-cart'), - initialOpen: false, - children: [buildToggle(props, 'show_picture', (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Picture', 'ecwid-shopping-cart')), buildToggle(props, 'show_title', (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Title', 'ecwid-shopping-cart')), buildToggle(props, 'show_price', (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Price', 'ecwid-shopping-cart')), buildToggle(props, 'show_options', (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Options', 'ecwid-shopping-cart')), buildToggle(props, 'show_qty', (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Quantity', 'ecwid-shopping-cart')), buildToggle(props, 'show_addtobag', (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('«Buy now» button', 'ecwid-shopping-cart'))] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Appearance', 'ecwid-shopping-cart'), - initialOpen: false, - children: [buildToggle(props, 'show_price_on_button', (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Show price inside the «Buy now» button', 'ecwid-shopping-cart')), buildToggle(props, 'show_border', (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Add border', 'ecwid-shopping-cart')), buildToggle(props, 'center_align', (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Center align on a page', 'ecwid-shopping-cart'))] - })] - })]; - }, - save: function (props) { - return false; - } -}); - -/***/ }), - -/***/ "./js/gutenberg/src/product/editor.scss": -/*!**********************************************!*\ - !*** ./js/gutenberg/src/product/editor.scss ***! - \**********************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -// extracted by mini-css-extract-plugin - - -/***/ }), - -/***/ "./js/gutenberg/src/product/style.scss": -/*!*********************************************!*\ - !*** ./js/gutenberg/src/product/style.scss ***! - \*********************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -// extracted by mini-css-extract-plugin - - -/***/ }), - -/***/ "./js/gutenberg/src/search/block.jsx": -/*!*******************************************!*\ - !*** ./js/gutenberg/src/search/block.jsx ***! - \*******************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); -/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./style.scss */ "./js/gutenberg/src/search/style.scss"); -/* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./editor.scss */ "./js/gutenberg/src/search/editor.scss"); -/* harmony import */ var _includes_icons_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../includes/icons.js */ "./js/gutenberg/src/includes/icons.js"); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__); - - - - - - -/** - * Register: aa Gutenberg Block. - * - * Registers a new block provided a unique name and an object defining its - * behavior. Once registered, the block is made editor as an option to any - * editor interface where blocks are implemented. - * - * @link https://wordpress.org/gutenberg/handbook/block-api/ - * @param {string} name Block name. - * @param {Object} settings Block settings. - * @return {?WPBlock} The block, if it has been successfully - * registered; otherwise `undefined`. - */ - -(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockType)('ec-store/search', { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Product Search Box', 'ecwid-shopping-cart'), - icon: _includes_icons_js__WEBPACK_IMPORTED_MODULE_4__.EcwidIcons.search, - category: 'ec-store', - // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed. - description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Display search box', 'ecwid-shopping-cart'), - supports: { - customClassName: false, - className: false, - html: false, - inserter: EcwidGutenbergParams.isApiAvailable, - isPrivate: !EcwidGutenbergParams.isApiAvailable - }, - example: {}, - /** - * The edit function describes the structure of your block in the context of the editor. - * This represents what the editor will render when the block is used. - * - * The "edit" property must be a valid function. - * - * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/ - */ - edit: function (props) { - const { - attributes - } = props; - const editor = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - className: "ec-store-block ec-store-block-search", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", { - class: "image" - }) - }); - return [editor]; - }, - save: function (props) { - return false; - } -}); - -/***/ }), - -/***/ "./js/gutenberg/src/search/editor.scss": -/*!*********************************************!*\ - !*** ./js/gutenberg/src/search/editor.scss ***! - \*********************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -// extracted by mini-css-extract-plugin - - -/***/ }), - -/***/ "./js/gutenberg/src/search/style.scss": -/*!********************************************!*\ - !*** ./js/gutenberg/src/search/style.scss ***! - \********************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -// extracted by mini-css-extract-plugin - - -/***/ }), - -/***/ "./js/gutenberg/src/store/block.jsx": -/*!******************************************!*\ - !*** ./js/gutenberg/src/store/block.jsx ***! - \******************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); -/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); -/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); -/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); -/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); -/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__); -/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./style.scss */ "./js/gutenberg/src/store/style.scss"); -/* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./editor.scss */ "./js/gutenberg/src/store/editor.scss"); -/* harmony import */ var _includes_icons_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../includes/icons.js */ "./js/gutenberg/src/includes/icons.js"); -/* harmony import */ var _includes_controls_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../includes/controls.js */ "./js/gutenberg/src/includes/controls.js"); -/* harmony import */ var _includes_utils_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../includes/utils.js */ "./js/gutenberg/src/includes/utils.js"); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime"); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__); - - - - - - - - - - - -const blockName = 'ecwid/store-block'; -const blockParams = EcwidGutenbergParams.blockParams[blockName]; -(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockType)('ecwid/store-block', { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__.__)('Store Home Page', 'ecwid-shopping-cart'), - // Block title. - icon: _includes_icons_js__WEBPACK_IMPORTED_MODULE_7__.EcwidIcons.store, - category: 'ec-store', - // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed. - attributes: blockParams.attributes, - description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__.__)('Add storefront (product listing)', 'ecwid-shopping-cart'), - supports: { - customClassName: false, - className: false, - html: false, - multiple: false, - inserter: EcwidGutenbergParams.isWidgetsScreen ? false : true - }, - example: {}, - /** - * The edit function describes the structure of your block in the context of the editor. - * This represents what the editor will render when the block is used. - * - * The "edit" property must be a valid function. - * - * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/ - */ - edit: function (props) { - if (Object.keys(props.attributes).length <= 1) { - for (var key in blockParams.attributes) { - if (blockParams.attributes.hasOwnProperty(key)) { - props.attributes[key] = blockParams.attributes[key].default; - } - } - } - const { - attributes - } = props; - - // legacy reset - props.setAttributes({ - widgets: '' - }); - const productMigrationWarning = (0,_includes_utils_js__WEBPACK_IMPORTED_MODULE_9__.buildDangerousHTMLMessageWithTitle)('', (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__.__)('To improve the look and feel of your store and manage your storefront appearance here, please enable the “Next-gen look and feel of the product list on the storefront” option in your store dashboard (“Settings → What’s New”).', 'ecwid-shopping-cart')); - const cartIconMessage = (0,_includes_utils_js__WEBPACK_IMPORTED_MODULE_9__.buildDangerousHTMLMessageWithTitle)((0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__.__)('Display cart icon', 'ecwid-shopping-cart'), blockParams.customizeMinicartText); - const productDetailsMigrationWarning = (0,_includes_utils_js__WEBPACK_IMPORTED_MODULE_9__.buildDangerousHTMLMessageWithTitle)('', (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__.__)('To improve the look and feel of your product page and manage its appearance here, please enable the “Next-gen look and feel of the product page on the storefront” option in your store dashboard (“Settings → What’s New”).', 'ecwid-shopping-cart')); - const isNewProductList = blockParams.isNewProductList; - const isNewDetailsPage = blockParams.isNewDetailsPage; - const isEnabledProductSubtitles = blockParams.isEnabledProductSubtitles; - const isLivePreviewEnabled = blockParams.isLivePreviewEnabled; - const hasCategories = blockParams.attributes.default_category_id && blockParams.attributes.default_category_id.values && blockParams.attributes.default_category_id.values.length > 0; - const needShowCategories = hasCategories && attributes.storefront_view == 'DEFAULT_CATEGORY_ID'; - if (attributes.show_description_under_image) { - if (attributes.product_details_layout == 'TWO_COLUMNS_SIDEBAR_ON_THE_LEFT') props.setAttributes({ - product_details_two_columns_with_left_sidebar_show_product_description_on_sidebar: !attributes.show_description_under_image - }); - if (attributes.product_details_layout == 'TWO_COLUMNS_SIDEBAR_ON_THE_RIGHT') props.setAttributes({ - product_details_two_columns_with_right_sidebar_show_product_description_on_sidebar: !attributes.show_description_under_image - }); - } else { - props.setAttributes({ - product_details_two_columns_with_left_sidebar_show_product_description_on_sidebar: '', - product_details_two_columns_with_right_sidebar_show_product_description_on_sidebar: '' - }); - } - if (!needShowCategories) { - props.setAttributes({ - default_category_id: '' - }); - } - if (!hasCategories) { - props.setAttributes({ - storefront_view: 'COLLAPSE_CATEGORIES' - }); - } - const controls = (0,_includes_controls_js__WEBPACK_IMPORTED_MODULE_8__.EcwidControls)(blockParams.attributes, props); - const [isProductPage, setIsProductPage] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useState)(false); - const itemsPanelBodyRef = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useRef)([]); - const panelBodyElement = el => { - let i = itemsPanelBodyRef.current.length; - if (el !== null) itemsPanelBodyRef.current[i] = el; - }; - const isPreviewInFrame = () => { - return document.querySelector('[name=editor-canvas]') != null ? true : false; - }; - const getPreviewFrameContent = () => { - return document.querySelector('[name=editor-canvas]').contentWindow; - }; - let w = window; - if (isPreviewInFrame()) w = getPreviewFrameContent(); - const handleOnToggle = isToggled => { - if (!isLivePreviewEnabled) return; - if (isToggled) { - setIsProductPage(false); - itemsPanelBodyRef.current.map(function (e) { - if (e.classList.contains('is-opened')) { - e.querySelector('button').click(); - if (e.classList.contains('ec-store-panelbody-product-details')) { - if (attributes.storefront_view == 'FILTERS_PAGE') w.Ecwid.openPage('search');else w.Ecwid.openPage('category'); - } - } - }); - } - }; - const handleOnToggleProduct = isToggled => { - if (!isLivePreviewEnabled) return; - if (isToggled) { - setIsProductPage(true); - handleOnToggle(isToggled); - w.Ecwid.openPage('product', { - 'id': blockParams.randomProductId - }); - } - }; - const [isOpen, setOpen] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_3__.useState)(false); - const openModal = () => setOpen(true); - const closeModal = () => setOpen(false); - if (typeof w.Ecwid != 'undefined') { - w.Ecwid.OnPageLoaded.add(function (page) { - if (page.type == 'PRODUCT') { - blockParams.randomProductId = page.productId; - } - }); - w.Ecwid.OnPageSwitch.add(function (page) { - if (page.type != 'PRODUCT' && page.type != 'CATEGORY' && page.type != 'SEARCH') { - openModal(); - return false; - } - }); - } - let editor = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)("div", { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_includes_controls_js__WEBPACK_IMPORTED_MODULE_8__.EcwidProductBrowserBlock, { - props: props, - attributes: attributes, - icon: _includes_icons_js__WEBPACK_IMPORTED_MODULE_7__.EcwidIcons.store, - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__.__)('Store Home Page', 'ecwid-shopping-cart'), - showDemoButton: blockParams.isDemoStore, - isLivePreviewEnabled: isLivePreviewEnabled, - blockParams: blockParams, - isProductPage: isProductPage, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_includes_controls_js__WEBPACK_IMPORTED_MODULE_8__.EcwidStoreBlockInner, { - state: attributes.storefront_view - }) - }), isOpen && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Modal, { - title: "Edit Mode", - onRequestClose: closeModal, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)("p", { - children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__.__)('The transition to this page is disabled in the editor, on a real storefront it works as it should.', 'ecwid-shopping-cart') - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Button, { - variant: "secondary", - onClick: closeModal, - children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__.__)('Continue Editing Page', 'ecwid-shopping-cart') - })] - })] - }); - return [editor, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.InspectorControls, { - children: [hasCategories && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__.__)('Category List Appearance', 'ecwid-shopping-cart'), - initialOpen: false, - ref: panelBodyElement, - onToggle: handleOnToggle, - children: [isNewProductList && [controls.select('product_list_category_title_behavior'), attributes.product_list_category_title_behavior !== 'SHOW_TEXT_ONLY' && [controls.buttonGroup('product_list_category_image_size'), controls.toolbar('product_list_category_image_aspect_ratio')]], !isNewProductList && productMigrationWarning] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__.__)('Product List Appearance', 'ecwid-shopping-cart'), - initialOpen: false, - ref: panelBodyElement, - onToggle: handleOnToggle, - children: [isNewProductList && [controls.toggle('product_list_show_product_images'), attributes.product_list_show_product_images && [controls.buttonGroup('product_list_image_size'), controls.toolbar('product_list_image_aspect_ratio')], controls.toolbar('product_list_product_info_layout'), controls.select('product_list_title_behavior'), isEnabledProductSubtitles && controls.select('product_list_subtitles_behavior'), controls.select('product_list_price_behavior'), controls.select('product_list_sku_behavior'), controls.select('product_list_buybutton_behavior'), controls.toggle('product_list_show_additional_image_on_hover'), controls.toggle('product_list_show_frame')], !isNewProductList && productMigrationWarning] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__.__)('Product Page Appearance', 'ecwid-shopping-cart'), - initialOpen: false, - ref: panelBodyElement, - onToggle: handleOnToggleProduct, - className: "ec-store-panelbody-product-details", - children: [isNewDetailsPage && [controls.select('product_details_layout'), (attributes.product_details_layout === 'TWO_COLUMNS_SIDEBAR_ON_THE_RIGHT' || attributes.product_details_layout === 'TWO_COLUMNS_SIDEBAR_ON_THE_LEFT') && controls.toggle('show_description_under_image'), controls.toolbar('product_details_gallery_layout'), (0,_includes_controls_js__WEBPACK_IMPORTED_MODULE_8__.EcwidInspectorSubheader)((0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__.__)('Product sidebar content', 'ecwid-shopping-cart')), controls.toggle('product_details_show_product_name'), isEnabledProductSubtitles && controls.toggle('product_details_show_subtitle'), controls.toggle('product_details_show_breadcrumbs'), controls.toggle('product_details_show_product_sku'), controls.toggle('product_details_show_product_price'), controls.toggle('product_details_show_qty'), controls.toggle('product_details_show_weight'), controls.toggle('product_details_show_number_of_items_in_stock'), controls.toggle('product_details_show_in_stock_label'), controls.toggle('product_details_show_wholesale_prices'), controls.toggle('product_details_show_share_buttons'), controls.toggle('product_details_show_navigation_arrows'), controls.toggle('product_details_show_product_photo_zoom')], !isNewDetailsPage && productMigrationWarning] - }), hasCategories && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__.__)('Store Front Page', 'ecwid-shopping-cart'), - initialOpen: false, - ref: panelBodyElement, - onToggle: handleOnToggle, - children: controls.radioButtonWithDescription('storefront_view', isLivePreviewEnabled) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__.__)('Store Navigation', 'ecwid-shopping-cart'), - initialOpen: false, - ref: panelBodyElement, - onToggle: handleOnToggle, - children: [hasCategories && controls.toggle('show_categories'), controls.toggle('show_search'), controls.toggle('show_breadcrumbs'), isNewProductList && controls.toggle('show_footer_menu'), controls.toggle('show_signin_link'), controls.toggle('product_list_show_sort_viewas_options'), cartIconMessage] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { - title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__.__)('Color settings', 'ecwid-shopping-cart'), - initialOpen: false, - ref: panelBodyElement, - onToggle: handleOnToggle, - children: [controls.color('chameleon_color_button'), controls.color('chameleon_color_foreground'), controls.color('chameleon_color_price'), controls.color('chameleon_color_link'), controls.color('chameleon_color_background')] - })] - })]; - }, - save: function (props) { - var widgets = ['productbrowser']; - if (props.attributes.show_categories) { - widgets[widgets.length] = 'categories'; - } - if (props.attributes.show_search) { - widgets[widgets.length] = 'search'; - } - const shortcodeAttributes = { - 'widgets': widgets.join(' '), - 'default_category_id': typeof props.attributes.default_category_id !== 'undefined' ? props.attributes.default_category_id : '' - }; - const shortcode = new wp.shortcode({ - 'tag': blockParams.shortcodeName, - 'attrs': shortcodeAttributes, - 'type': 'single' - }); - return shortcode.string(); - }, - deprecated: [{ - attributes: { - widgets: { - type: 'string' - }, - categories_per_row: { - type: 'integer' - }, - grid: { - type: 'string' - }, - list: { - type: 'integer' - }, - table: { - type: 'integer' - }, - default_category_id: { - type: 'integer' - }, - default_product_id: { - type: 'integer' - }, - category_view: { - type: 'string' - }, - search_view: { - type: 'string' - }, - minicart_layout: { - type: 'string' - } - }, - save: function (props) { - return null; - } - }, { - attributes: { - widgets: { - type: 'string', - default: 'productbrowser' - }, - default_category_id: { - type: 'integer', - default: 0 - } - }, - migrate: function (attributes) { - return { - 'widgets': attributes.widgets, - 'default_category_id': attributes.default_category_id - }; - }, - save: function (props) { - var shortcodeAttributes = {}; - const attrs = ['widgets', 'default_category_id']; - for (var i = 0; i < attrs.length; i++) { - shortcodeAttributes[attrs[i]] = props.attributes[attrs[i]]; - } - shortcodeAttributes.default_product_id = 0; - var shortcode = new wp.shortcode({ - 'tag': blockParams.shortcodeName, - 'attrs': shortcodeAttributes, - 'type': 'single' - }); - return shortcode.string(); - } - }, { - save: function (props) { - return '[ecwid]'; - } - }, { - save: function (props) { - return '[ecwid widgets="productbrowser" default_category_id="0" default_product_id="0"]'; - } - }, { - save: function (props) { - return '[ecwid widgets="productbrowser" default_category_id="0"]'; - } - }], - transforms: { - from: [{ - type: 'shortcode', - tag: ['ecwid', 'ec_store'], - attributes: { - default_category_id: { - type: 'integer', - shortcode: function (named) { - return named.default_category_id; - } - }, - show_categories: { - type: 'boolean', - shortcode: function (attributes) { - return attributes.named.widgets.indexOf('categories') !== -1; - } - }, - show_search: { - type: 'boolean', - shortcode: function (attributes) { - return attributes.named.widgets.indexOf('search') !== -1; - } - } - }, - priority: 10 - }] - } -}); - -/***/ }), - -/***/ "./js/gutenberg/src/store/editor.scss": -/*!********************************************!*\ - !*** ./js/gutenberg/src/store/editor.scss ***! - \********************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -// extracted by mini-css-extract-plugin - - -/***/ }), - -/***/ "./js/gutenberg/src/store/style.scss": -/*!*******************************************!*\ - !*** ./js/gutenberg/src/store/style.scss ***! - \*******************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -// extracted by mini-css-extract-plugin - - -/***/ }), - -/***/ "@wordpress/block-editor": -/*!*************************************!*\ - !*** external ["wp","blockEditor"] ***! - \*************************************/ -/***/ ((module) => { - -module.exports = window["wp"]["blockEditor"]; - -/***/ }), - -/***/ "@wordpress/blocks": -/*!********************************!*\ - !*** external ["wp","blocks"] ***! - \********************************/ -/***/ ((module) => { - -module.exports = window["wp"]["blocks"]; - -/***/ }), - -/***/ "@wordpress/components": -/*!************************************!*\ - !*** external ["wp","components"] ***! - \************************************/ -/***/ ((module) => { - -module.exports = window["wp"]["components"]; - -/***/ }), - -/***/ "@wordpress/element": -/*!*********************************!*\ - !*** external ["wp","element"] ***! - \*********************************/ -/***/ ((module) => { - -module.exports = window["wp"]["element"]; - -/***/ }), - -/***/ "@wordpress/i18n": -/*!******************************!*\ - !*** external ["wp","i18n"] ***! - \******************************/ -/***/ ((module) => { - -module.exports = window["wp"]["i18n"]; - -/***/ }), - -/***/ "react/jsx-runtime": -/*!**********************************!*\ - !*** external "ReactJSXRuntime" ***! - \**********************************/ -/***/ ((module) => { - -module.exports = window["ReactJSXRuntime"]; - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = __webpack_modules__; -/******/ -/************************************************************************/ -/******/ /* webpack/runtime/chunk loaded */ -/******/ (() => { -/******/ var deferred = []; -/******/ __webpack_require__.O = (result, chunkIds, fn, priority) => { -/******/ if(chunkIds) { -/******/ priority = priority || 0; -/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1]; -/******/ deferred[i] = [chunkIds, fn, priority]; -/******/ return; -/******/ } -/******/ var notFulfilled = Infinity; -/******/ for (var i = 0; i < deferred.length; i++) { -/******/ var [chunkIds, fn, priority] = deferred[i]; -/******/ var fulfilled = true; -/******/ for (var j = 0; j < chunkIds.length; j++) { -/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) { -/******/ chunkIds.splice(j--, 1); -/******/ } else { -/******/ fulfilled = false; -/******/ if(priority < notFulfilled) notFulfilled = priority; -/******/ } -/******/ } -/******/ if(fulfilled) { -/******/ deferred.splice(i--, 1) -/******/ var r = fn(); -/******/ if (r !== undefined) result = r; -/******/ } -/******/ } -/******/ return result; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/compat get default export */ -/******/ (() => { -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = (module) => { -/******/ var getter = module && module.__esModule ? -/******/ () => (module['default']) : -/******/ () => (module); -/******/ __webpack_require__.d(getter, { a: getter }); -/******/ return getter; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { -/******/ for(var key in definition) { -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); -/******/ } -/******/ } -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); -/******/ -/******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/jsonp chunk loading */ -/******/ (() => { -/******/ // no baseURI -/******/ -/******/ // object to store loaded and loading chunks -/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched -/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { -/******/ "main": 0, -/******/ "./style-main": 0 -/******/ }; -/******/ -/******/ // no chunk on demand loading -/******/ -/******/ // no prefetching -/******/ -/******/ // no preloaded -/******/ -/******/ // no HMR -/******/ -/******/ // no HMR manifest -/******/ -/******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0); -/******/ -/******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0; -/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) { -/******/ for(moduleId in moreModules) { -/******/ if(__webpack_require__.o(moreModules, moduleId)) { -/******/ __webpack_require__.m[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(runtime) var result = runtime(__webpack_require__); -/******/ } -/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data); -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) { -/******/ installedChunks[chunkId][0](); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ return __webpack_require__.O(result); -/******/ } -/******/ -/******/ var chunkLoadingGlobal = globalThis["webpackChunkecwid_blocks"] = globalThis["webpackChunkecwid_blocks"] || []; -/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); -/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); -/******/ })(); -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module depends on other loaded chunks and execution need to be delayed -/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["./style-main"], () => (__webpack_require__("./js/gutenberg/src/index.js"))) -/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__); -/******/ -/******/ })() -; -//# sourceMappingURL=index.js.map \ No newline at end of file +(()=>{"use strict";var e,t={668:()=>{const e=window.ReactJSXRuntime,t={ecwid:(0,e.jsx)("svg",{class:"ec-store-icon",version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 215 215","enable-background":"new 0 0 215 215",children:(0,e.jsxs)("g",{fill:"#0087cd",children:[(0,e.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M160.68,163.34c-3.67,0-6.65,2.98-6.65,6.66c0,3.68,2.98,6.66,6.65,6.66 c3.68,0,6.66-2.98,6.66-6.66C167.34,166.32,164.36,163.34,160.68,163.34z"}),(0,e.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M53.46,162.51c-3.67,0-6.65,2.98-6.65,6.66c0,3.68,2.98,6.66,6.65,6.66 c3.68,0,6.66-2.98,6.66-6.66C60.12,165.49,57.14,162.51,53.46,162.51z"}),(0,e.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M166.12,0H48.88C21.89,0,0,21.89,0,48.89v117.23c0,27,21.89,48.88,48.88,48.88 h117.24c27,0,48.88-21.88,48.88-48.88V48.88C215,21.89,193.11,0,166.12,0z M134.43,57.85c5.36,0,9.7,4.34,9.7,9.7 c0,5.36-4.34,9.7-9.7,9.7c-5.36,0-9.7-4.34-9.7-9.7C124.73,62.19,129.07,57.85,134.43,57.85z M134.43,85.25 c5.36,0,9.7,4.34,9.7,9.7s-4.34,9.7-9.7,9.7c-5.36,0-9.7-4.34-9.7-9.7S129.07,85.25,134.43,85.25z M107.09,57.85 c5.36,0,9.7,4.34,9.7,9.7c0,5.36-4.34,9.7-9.7,9.7c-5.36,0-9.7-4.34-9.7-9.7C97.39,62.19,101.73,57.85,107.09,57.85z M107.09,85.25 c5.36,0,9.7,4.34,9.7,9.7s-4.34,9.7-9.7,9.7c-5.36,0-9.7-4.34-9.7-9.7S101.73,85.25,107.09,85.25z M79.75,57.85 c5.36,0,9.7,4.34,9.7,9.7c0,5.36-4.34,9.7-9.7,9.7c-5.36,0-9.7-4.34-9.7-9.7C70.05,62.19,74.39,57.85,79.75,57.85z M79.75,85.25 c5.36,0,9.7,4.34,9.7,9.7s-4.34,9.7-9.7,9.7c-5.36,0-9.7-4.34-9.7-9.7S74.39,85.25,79.75,85.25z M53.46,187.72 c-10.24,0-18.55-8.31-18.55-18.55c0-10.25,8.31-18.56,18.55-18.56c10.25,0,18.56,8.31,18.56,18.56 C72.03,179.41,63.71,187.72,53.46,187.72z M160.68,188.55c-10.24,0-18.55-8.31-18.55-18.55c0-10.25,8.31-18.56,18.55-18.56 c10.25,0,18.56,8.31,18.56,18.56C179.24,180.24,170.93,188.55,160.68,188.55z M193.27,37.66l-19.18,71.44 c-5.12,19.07-21.28,31.04-41.03,31.04h-12.65c-4.18,0-10.23-2.26-12.74-4.62c-0.42-0.39-1.08-0.39-1.5,0 c-2.51,2.36-8.56,4.62-12.74,4.62h-13.9c-19.12,0-33.61-10.9-39.41-29.12L23.81,59.86c-0.32-1.02-0.15-2.1,0.49-2.97 c0.63-0.86,1.6-1.36,2.69-1.36l3.12,0.01c7.52,0.03,14.11,4.86,16.38,12.02l11.98,37.62c3.24,10.19,13.61,17.04,24.3,17.04 l4.65-0.01c4.8,0,8.18-2.46,10.22-4.66c1.06-1.15,2.54-1.82,4.11-1.82l10.44,0.01c1.48,0,2.92,0.59,3.91,1.68 c1.98,2.17,5.49,4.79,10.33,4.79l4.43,0.01c11.04,0,21.75-7.45,24.62-18.11l15.53-57.84c2.03-7.53,8.88-12.78,16.67-12.78l2.74,0 c0.26,0,0.52,0.04,0.76,0.14C192.93,34.37,193.7,36.08,193.27,37.66z"})]})}),store:(0,e.jsx)("svg",{class:"ec-store-icon-color",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,e.jsxs)("g",{fill:"none","fill-rule":"evenodd",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"2",transform:"translate(0 3)",children:[(0,e.jsx)("path",{d:"M20 7L20 17C20 18.1045695 19.1045695 19 18 19L4 19C2.8954305 19 2 18.1045695 2 17L2 7 2 7M1 0L21 0 21.5808632 3.48517907C21.8145004 4.88700236 20.8935617 6.22128765 19.5 6.5L18.9764235 6.60471529C17.7961226 6.84077548 16.5971903 6.29508301 16 5.25L16 5.25 16 5.25 15.7442084 5.69763529C15.2840087 6.50298484 14.4275622 7 13.5 7 12.5724378 7 11.7159913 6.50298484 11.2557916 5.69763529L11 5.25 11 5.25 10.7442084 5.69763529C10.2840087 6.50298484 9.42756224 7 8.5 7 7.57243776 7 6.71599134 6.50298484 6.25579159 5.69763529L6 5.25 6 5.25C5.40280971 6.29508301 4.20387741 6.84077548 3.02357646 6.60471529L2.5 6.5C1.10643827 6.22128765.185499607 4.88700236.419136822 3.48517907L1 0 1 0z"}),(0,e.jsx)("polygon",{points:"7 11 15 11 15 19 7 19"})]})}),product:(0,e.jsx)("svg",{class:"ec-store-icon-color",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,e.jsxs)("g",{fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round",children:[(0,e.jsx)("path",{stroke:"currentColor","stroke-width":"2",d:"M5.5638852,7 L18.4361148,7 C19.3276335,7 19.6509198,7.09282561 19.9768457,7.2671327 C20.3027716,7.4414398 20.5585602,7.69722837 20.7328673,8.0231543 C20.9071744,8.34908022 21,8.67236646 21,9.5638852 L21,20.4361148 C21,21.3276335 20.9071744,21.6509198 20.7328673,21.9768457 C20.5585602,22.3027716 20.3027716,22.5585602 19.9768457,22.7328673 C19.6509198,22.9071744 19.3276335,23 18.4361148,23 L5.5638852,23 C4.67236646,23 4.34908022,22.9071744 4.0231543,22.7328673 C3.69722837,22.5585602 3.4414398,22.3027716 3.2671327,21.9768457 C3.09282561,21.6509198 3,21.3276335 3,20.4361148 L3,9.5638852 C3,8.67236646 3.09282561,8.34908022 3.2671327,8.0231543 C3.4414398,7.69722837 3.69722837,7.4414398 4.0231543,7.2671327 C4.34908022,7.09282561 4.67236646,7 5.5638852,7 Z"}),(0,e.jsx)("path",{stroke:"currentColor","stroke-width":"2",d:"M8,10 L8,6 C8,3.790861 9.790861,2 12,2 C14.209139,2 16,3.790861 16,6 L16,10 L16,10"})]})}),aspect169:(0,e.jsx)("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1",children:(0,e.jsx)("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:(0,e.jsx)("rect",{fill:"#000000",x:"9",y:"14",width:"22",height:"12",rx:"2"})})}),aspect916:(0,e.jsxs)("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1",children:[" ",(0,e.jsx)("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:(0,e.jsx)("rect",{fill:"#000000",x:"14",y:"9",width:"12",height:"22",rx:"2"})})]}),aspect11:(0,e.jsx)("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1",children:(0,e.jsx)("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:(0,e.jsx)("rect",{fill:"#000000",x:"12",y:"12",width:"16",height:"16",rx:"2"})})}),aspect34:(0,e.jsx)("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1",children:(0,e.jsx)("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:(0,e.jsx)("rect",{fill:"#000000",x:"12",y:"10",width:"16",height:"20",rx:"2"})})}),aspect43:(0,e.jsx)("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1",children:(0,e.jsx)("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:(0,e.jsx)("rect",{fill:"#000000",x:"10",y:"12",width:"20",height:"16",rx:"2"})})}),textalignleft:(0,e.jsx)("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1",children:(0,e.jsxs)("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[(0,e.jsx)("rect",{fill:"#000000",x:"13",y:"13",width:"14",height:"2"}),(0,e.jsx)("rect",{fill:"#000000",x:"13",y:"16",width:"9",height:"2"}),(0,e.jsx)("rect",{fill:"#000000",x:"13",y:"19",width:"13",height:"2"}),(0,e.jsx)("rect",{fill:"#000000",x:"13",y:"22",width:"9",height:"2"}),(0,e.jsx)("rect",{fill:"#000000",x:"13",y:"25",width:"14",height:"2"})]})}),textaligncenter:(0,e.jsx)("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1",children:(0,e.jsxs)("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[(0,e.jsx)("rect",{fill:"#000000",x:"13",y:"13",width:"14",height:"2"}),(0,e.jsx)("rect",{fill:"#000000",x:"16",y:"16",width:"8",height:"2"}),(0,e.jsx)("rect",{fill:"#000000",x:"14",y:"19",width:"12",height:"2"}),(0,e.jsx)("rect",{fill:"#000000",x:"16",y:"22",width:"8",height:"2"}),(0,e.jsx)("rect",{fill:"#000000",x:"13",y:"25",width:"14",height:"2"})]})}),textalignright:(0,e.jsx)("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1",children:(0,e.jsxs)("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[(0,e.jsx)("rect",{fill:"#000000",x:"13",y:"13",width:"14",height:"2"}),(0,e.jsx)("rect",{fill:"#000000",x:"18",y:"16",width:"9",height:"2"}),(0,e.jsx)("rect",{fill:"#000000",x:"14",y:"19",width:"13",height:"2"}),(0,e.jsx)("rect",{fill:"#000000",x:"18",y:"22",width:"9",height:"2"}),(0,e.jsx)("rect",{fill:"#000000",x:"13",y:"25",width:"14",height:"2"})]})}),textalignjustify:(0,e.jsx)("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",zoomAndPan:"1.5",version:"1.1",children:(0,e.jsxs)("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[(0,e.jsx)("rect",{fill:"#000000",x:"13",y:"13",width:"14",height:"2"}),(0,e.jsx)("rect",{fill:"#000000",x:"13",y:"16",width:"14",height:"2"}),(0,e.jsx)("rect",{fill:"#000000",x:"13",y:"19",width:"14",height:"2"}),(0,e.jsx)("rect",{fill:"#000000",x:"13",y:"22",width:"14",height:"2"}),(0,e.jsx)("rect",{fill:"#000000",x:"13",y:"25",width:"14",height:"2"})]})}),productLayout3Columns:(0,e.jsx)("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1",children:(0,e.jsxs)("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[(0,e.jsx)("rect",{fill:"#000000",transform:"translate(13.000000, 19.500000) rotate(-270.000000) translate(-13.000000, -19.500000) ",x:"3.5",y:"16.5",width:"19",height:"6",rx:"1"}),(0,e.jsx)("rect",{fill:"#000000",x:"18",y:"10",width:"5",height:"19"}),(0,e.jsx)("rect",{fill:"#000000",x:"25",y:"10",width:"5",height:"8"}),(0,e.jsx)("rect",{fill:"#000000",x:"25",y:"19",width:"5",height:"10"})]})}),productLayout2ColumnsLeft:(0,e.jsx)("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1",children:(0,e.jsxs)("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[(0,e.jsx)("rect",{fill:"#000000",x:"17",y:"10",width:"13",height:"19",rx:"1"}),(0,e.jsx)("rect",{fill:"#000000",x:"10",y:"10",width:"5",height:"5"}),(0,e.jsx)("rect",{fill:"#000000",x:"10",y:"17",width:"5",height:"12"})]})}),productLayout2ColumnsRight:(0,e.jsx)("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1",children:(0,e.jsx)("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:(0,e.jsxs)("g",{transform:"translate(10.000000, 10.000000)",fill:"#000000",children:[(0,e.jsx)("rect",{x:"0",y:"0",width:"13",height:"19",rx:"1"}),(0,e.jsx)("rect",{x:"15",y:"0",width:"5",height:"5"}),(0,e.jsx)("rect",{x:"15",y:"7",width:"5",height:"12"})]})})}),productLayout2ColumnsBottom:(0,e.jsx)("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1",children:(0,e.jsx)("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:(0,e.jsxs)("g",{transform:"translate(10.000000, 10.000000)",fill:"#000000",children:[(0,e.jsx)("rect",{x:"0",y:"0",width:"13",height:"12",rx:"1"}),(0,e.jsx)("rect",{x:"15",y:"0",width:"5",height:"12"}),(0,e.jsx)("rect",{x:"0",y:"14",width:"20",height:"5"})]})})}),galleryLayoutHorizontal:(0,e.jsx)("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1",children:(0,e.jsx)("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:(0,e.jsxs)("g",{transform:"translate(20.000000, 20.500000) rotate(-180.000000) translate(-20.000000, -20.500000) translate(10.000000, 11.000000)",fill:"#000000","fill-rule":"nonzero",children:[(0,e.jsx)("rect",{x:"0",y:"0",width:"13",height:"19",rx:"1"}),(0,e.jsx)("rect",{x:"15",y:"0",width:"5",height:"6"}),(0,e.jsx)("rect",{x:"15",y:"14",width:"5",height:"5"}),(0,e.jsx)("rect",{x:"15",y:"7",width:"5",height:"6"})]})})}),galleryLayoutVertical:(0,e.jsx)("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1",children:(0,e.jsx)("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:(0,e.jsxs)("g",{transform:"translate(19.500000, 20.000000) rotate(-270.000000) translate(-19.500000, -20.000000) translate(9.500000, 10.500000)",fill:"#000000","fill-rule":"nonzero",children:[(0,e.jsx)("rect",{x:"0",y:"-1.13686838e-13",width:"13",height:"19",rx:"1"}),(0,e.jsx)("rect",{x:"15",y:"-1.13686838e-13",width:"5",height:"6"}),(0,e.jsx)("rect",{x:"15",y:"7",width:"5",height:"5"}),(0,e.jsx)("rect",{x:"15",y:"13",width:"5",height:"6"})]})})}),galleryLayoutFeed:(0,e.jsx)("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1",children:(0,e.jsxs)("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[(0,e.jsx)("g",{transform:"translate(20.500000, 12.500000) rotate(-270.000000) translate(-20.500000, -12.500000) translate(14.000000, 3.000000)",fill:"#000000","fill-rule":"nonzero",children:(0,e.jsx)("rect",{x:"0",y:"0",width:"13",height:"19",rx:"1"})}),(0,e.jsx)("g",{transform:"translate(20.500000, 27.500000) rotate(-270.000000) translate(-20.500000, -27.500000) translate(14.000000, 18.000000)",fill:"#000000","fill-rule":"nonzero",children:(0,e.jsx)("rect",{x:"0",y:"0",width:"13",height:"19",rx:"1"})})]})}),cart:(0,e.jsx)("svg",{class:"ec-store-icon-color",class:"ec-store-icon-color",width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",children:(0,e.jsx)("g",{id:"Typography",stroke:"none","stroke-width":"1","fill-rule":"evenodd",children:(0,e.jsx)("g",{id:"gutenberg-widgets-icons",transform:"translate(-352.000000, -415.000000)",children:(0,e.jsxs)("g",{id:"cart-icon",transform:"translate(352.000000, 415.000000)",children:[(0,e.jsx)("path",{d:"M4.5269723,4 L2,4 C1.44771525,4 1,3.55228475 1,3 C1,2.44771525 1.44771525,2 2,2 L5.33333333,2 C5.80393835,2 6.21086155,2.32812702 6.31061146,2.788039 L7.22413999,7 L21,7 C21.6640252,7 22.143636,7.63527258 21.9617572,8.27390353 L19.968471,15.272927 C19.8460922,15.7026358 19.4535094,15.9990234 19.0067139,15.9990234 L7.93579102,15.9990234 C7.465186,15.9990234 7.0582628,15.6708964 6.95851289,15.2109844 L4.5269723,4 Z M7.65791824,9 L8.74215205,13.9990234 L18.2517453,13.9990234 L19.6754416,9 L7.65791824,9 Z",id:"Path-3","fill-rule":"nonzero"}),(0,e.jsx)("circle",{id:"Oval-2",cx:"9",cy:"20",r:"2"}),(0,e.jsx)("circle",{id:"Oval-2",cx:"18",cy:"20",r:"2"})]})})})}),search:(0,e.jsx)("svg",{class:"ec-store-icon-color",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",children:(0,e.jsxs)("g",{fill:"none","fill-rule":"evenodd",stroke:"currentColor","stroke-linecap":"round","stroke-width":"2",transform:"translate(1.667 1.667)",children:[(0,e.jsx)("line",{x1:"10.667",x2:"14.667",y1:"10.667",y2:"14.667"}),(0,e.jsx)("circle",{cx:"6",cy:"6",r:"6","stroke-linejoin":"round"})]})}),categories:(0,e.jsx)("svg",{class:"ec-store-icon-color",class:"ec-store-icon-color",width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",children:(0,e.jsx)("g",{id:"Typography",stroke:"none","stroke-width":"1","fill-rule":"evenodd",children:(0,e.jsx)("g",{id:"gutenberg-widgets-icons",transform:"translate(-234.000000, -416.000000)",children:(0,e.jsxs)("g",{id:"categories-icon",transform:"translate(234.000000, 416.000000)",children:[(0,e.jsx)("polygon",{id:"Triangle",points:"3 2 5.5 7 0.5 7"}),(0,e.jsx)("polygon",{id:"Line","fill-rule":"nonzero",points:"8 6 8 4 23 4 23 6"}),(0,e.jsx)("polygon",{id:"Line","fill-rule":"nonzero",points:"8 13 8 11 23 11 23 13"}),(0,e.jsx)("polygon",{id:"Line","fill-rule":"nonzero",points:"8 20 8 18 23 18 23 20"}),(0,e.jsx)("rect",{id:"Rectangle",stroke:"currentColor","stroke-width":"2",fill:"#FFFFFF",x:"2",y:"11",width:"2",height:"2"}),(0,e.jsx)("rect",{id:"Rectangle",stroke:"currentColor","stroke-width":"2",fill:"#FFFFFF",x:"2",y:"18",width:"2",height:"2",rx:"1"})]})})})}),category:(0,e.jsx)("svg",{class:"ec-store-icon-color",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,e.jsx)("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4.5638852 2L7.4361148 2C8.32763354 2 8.65091978 2.09282561 8.9768457 2.2671327 9.30277163 2.4414398 9.5585602 2.69722837 9.7328673 3.0231543 9.90717439 3.34908022 10 3.67236646 10 4.5638852L10 7.4361148C10 8.32763354 9.90717439 8.65091978 9.7328673 8.9768457 9.5585602 9.30277163 9.30277163 9.5585602 8.9768457 9.7328673 8.65091978 9.90717439 8.32763354 10 7.4361148 10L4.5638852 10C3.67236646 10 3.34908022 9.90717439 3.0231543 9.7328673 2.69722837 9.5585602 2.4414398 9.30277163 2.2671327 8.9768457 2.09282561 8.65091978 2 8.32763354 2 7.4361148L2 4.5638852C2 3.67236646 2.09282561 3.34908022 2.2671327 3.0231543 2.4414398 2.69722837 2.69722837 2.4414398 3.0231543 2.2671327 3.34908022 2.09282561 3.67236646 2 4.5638852 2zM4.5638852 14L7.4361148 14C8.32763354 14 8.65091978 14.0928256 8.9768457 14.2671327 9.30277163 14.4414398 9.5585602 14.6972284 9.7328673 15.0231543 9.90717439 15.3490802 10 15.6723665 10 16.5638852L10 19.4361148C10 20.3276335 9.90717439 20.6509198 9.7328673 20.9768457 9.5585602 21.3027716 9.30277163 21.5585602 8.9768457 21.7328673 8.65091978 21.9071744 8.32763354 22 7.4361148 22L4.5638852 22C3.67236646 22 3.34908022 21.9071744 3.0231543 21.7328673 2.69722837 21.5585602 2.4414398 21.3027716 2.2671327 20.9768457 2.09282561 20.6509198 2 20.3276335 2 19.4361148L2 16.5638852C2 15.6723665 2.09282561 15.3490802 2.2671327 15.0231543 2.4414398 14.6972284 2.69722837 14.4414398 3.0231543 14.2671327 3.34908022 14.0928256 3.67236646 14 4.5638852 14zM16.5638852 2L19.4361148 2C20.3276335 2 20.6509198 2.09282561 20.9768457 2.2671327 21.3027716 2.4414398 21.5585602 2.69722837 21.7328673 3.0231543 21.9071744 3.34908022 22 3.67236646 22 4.5638852L22 7.4361148C22 8.32763354 21.9071744 8.65091978 21.7328673 8.9768457 21.5585602 9.30277163 21.3027716 9.5585602 20.9768457 9.7328673 20.6509198 9.90717439 20.3276335 10 19.4361148 10L16.5638852 10C15.6723665 10 15.3490802 9.90717439 15.0231543 9.7328673 14.6972284 9.5585602 14.4414398 9.30277163 14.2671327 8.9768457 14.0928256 8.65091978 14 8.32763354 14 7.4361148L14 4.5638852C14 3.67236646 14.0928256 3.34908022 14.2671327 3.0231543 14.4414398 2.69722837 14.6972284 2.4414398 15.0231543 2.2671327 15.3490802 2.09282561 15.6723665 2 16.5638852 2zM16.5638852 14L19.4361148 14C20.3276335 14 20.6509198 14.0928256 20.9768457 14.2671327 21.3027716 14.4414398 21.5585602 14.6972284 21.7328673 15.0231543 21.9071744 15.3490802 22 15.6723665 22 16.5638852L22 19.4361148C22 20.3276335 21.9071744 20.6509198 21.7328673 20.9768457 21.5585602 21.3027716 21.3027716 21.5585602 20.9768457 21.7328673 20.6509198 21.9071744 20.3276335 22 19.4361148 22L16.5638852 22C15.6723665 22 15.3490802 21.9071744 15.0231543 21.7328673 14.6972284 21.5585602 14.4414398 21.3027716 14.2671327 20.9768457 14.0928256 20.6509198 14 20.3276335 14 19.4361148L14 16.5638852C14 15.6723665 14.0928256 15.3490802 14.2671327 15.0231543 14.4414398 14.6972284 14.6972284 14.4414398 15.0231543 14.2671327 15.3490802 14.0928256 15.6723665 14 16.5638852 14z"})}),button:(0,e.jsx)("svg",{class:"ec-store-icon-color",width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",children:(0,e.jsx)("g",{id:"Typography",stroke:"none","stroke-width":"1","fill-rule":"evenodd",children:(0,e.jsx)("g",{id:"gutenberg-widgets-icons",transform:"translate(-345.000000, -280.000000)","fill-rule":"nonzero",children:(0,e.jsxs)("g",{id:"button-icon",transform:"translate(345.000000, 280.000000)",children:[(0,e.jsx)("path",{d:"M4,8 L4,16 L20,16 L20,8 L4,8 Z M4,6 L20,6 C21.1045695,6 22,6.8954305 22,8 L22,16 C22,17.1045695 21.1045695,18 20,18 L4,18 C2.8954305,18 2,17.1045695 2,16 L2,8 C2,6.8954305 2.8954305,6 4,6 Z",id:"Rectangle-5"}),(0,e.jsx)("path",{d:"M13.8320367,9.8101295 C14.2137832,9.41102047 14.8467917,9.3969454 15.2459008,9.77869195 C15.6450098,10.1604385 15.6590849,10.793447 15.2773383,11.192556 L12.2122748,14.3970238 C11.8300377,14.7966458 11.1960253,14.8101668 10.7970986,14.427204 L9.5128579,13.1943549 C9.11444327,12.8118837 9.10151859,12.1788506 9.48398981,11.780436 C9.86646103,11.3820214 10.4994941,11.3690967 10.8979087,11.7515679 L11.4594438,12.290632 L13.8320367,9.8101295 Z",id:"Line-6"})]})})})}),productPreview:(0,e.jsx)("svg",{width:"72px",height:"72px",viewBox:"0 0 72 72",version:"1.1",children:(0,e.jsx)("g",{id:"Typography",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:(0,e.jsx)("g",{id:"gutenberg-widgets",transform:"translate(-625.000000, -811.000000)",fill:"#AAAAAA",children:(0,e.jsx)("g",{id:"Group-2",transform:"translate(571.000000, 756.000000)",children:(0,e.jsxs)("g",{id:"product-preview",transform:"translate(54.000000, 55.000000)",children:[(0,e.jsx)("path",{d:"M6,25 L6,69 L66,69 L66,25 L6,25 Z M4,23 L68,23 L68,71 L4,71 L4,23 Z",id:"Rectangle-2-Copy-2","fill-rule":"nonzero"}),(0,e.jsx)("path",{d:"M36.5,23.5 L65.836706,23.5 L67.2237665,22.8226349 L55.0328393,7.34740904 L39.8812213,0.895706316 L40.7501329,7.5 L17.0403124,7.5 L5.04031242,22.5 L6.32093727,22.5 L17.5209373,8.5 L36.5,8.5 L36.5,23.5 Z M42.9573255,16.6099474 L41.1011835,2.50206036 L54.4056315,8.16722056 L66.5284549,23.5566573 L42.9573255,16.6099474 Z",id:"Combined-Shape",stroke:"#AAAAAA"}),(0,e.jsx)("path",{d:"M29.8056641,41.53125 C29.9375,38.2060547 32.2080078,35.6865234 36.4560547,35.6865234 C40.3232422,35.6865234 42.9306641,37.9863281 42.9306641,41.1210938 C42.9306641,43.3916016 41.7880859,44.9882812 39.8544922,46.1455078 C37.9648438,47.2587891 37.4228516,48.0351562 37.4228516,49.5439453 L37.4228516,50.4375 L34.390625,50.4375 L34.3759766,49.265625 C34.3027344,47.2001953 35.1962891,45.8818359 37.203125,44.6806641 C38.9755859,43.6113281 39.6054688,42.7617188 39.6054688,41.2529297 C39.6054688,39.5976562 38.3017578,38.3818359 36.2949219,38.3818359 C34.2734375,38.3818359 32.9697266,39.5976562 32.8378906,41.53125 L29.8056641,41.53125 Z M35.9287109,57.2197266 C34.859375,57.2197266 34.0097656,56.3994141 34.0097656,55.3300781 C34.0097656,54.2607422 34.859375,53.4404297 35.9287109,53.4404297 C37.0273438,53.4404297 37.8623047,54.2607422 37.8623047,55.3300781 C37.8623047,56.3994141 37.0273438,57.2197266 35.9287109,57.2197266 Z",id:"?"})]})})})})}),filters:(0,e.jsx)("svg",{class:"ec-store-icon-color",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,e.jsxs)("g",{fill:"none","fill-rule":"evenodd","stroke-linecap":"round",children:[(0,e.jsx)("line",{x1:"2",x2:"22",y1:"7",y2:"7",stroke:"currentColor","stroke-width":"2"}),(0,e.jsx)("line",{x1:"6",x2:"18",y1:"13",y2:"13",stroke:"currentColor","stroke-width":"2"}),(0,e.jsx)("line",{x1:"11",x2:"13",y1:"19",y2:"19",stroke:"currentColor","stroke-width":"2"})]})}),cartPage:(0,e.jsx)("svg",{class:"ec-store-icon-color",width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",children:(0,e.jsx)("g",{id:"Typography",stroke:"none","stroke-width":"1","fill-rule":"evenodd",children:(0,e.jsx)("g",{id:"gutenberg-widgets-icons",transform:"translate(-470.000000, -500.000000)",children:(0,e.jsx)("g",{id:"cart-icon",transform:"translate(470.000000, 500.000000)",children:(0,e.jsxs)("g",{id:"Group-6",transform:"translate(2.000000, 3.000000)",children:[(0,e.jsx)("path",{d:"M2.5269723,1 L0,1 C-0.55228475,1 -1,0.55228475 -1,-1.11022302e-16 C-1,-0.55228475 -0.55228475,-1 0,-1 L3.33333333,-1 C3.80393835,-1 4.21086155,-0.671872981 4.31061146,-0.211960997 L6.74215205,10.9990234 L16.2517453,10.9990234 L17.6754416,6 L17.0067139,6 C16.4544291,6 16.0067139,5.55228475 16.0067139,5 C16.0067139,4.44771525 16.4544291,4 17.0067139,4 L19,4 C19.6640252,4 20.143636,4.63527258 19.9617572,5.27390353 L17.968471,12.272927 C17.8460922,12.7026358 17.4535094,12.9990234 17.0067139,12.9990234 L5.93579102,12.9990234 C5.465186,12.9990234 5.0582628,12.6708964 4.95851289,12.2109844 L2.5269723,1 Z",id:"Path-3","fill-rule":"nonzero"}),(0,e.jsx)("path",{d:"M13.6266547,1.30878828 C14.0084012,0.909679249 14.6414097,0.895604177 15.0405188,1.27735072 C15.4396278,1.65909727 15.4537029,2.29210579 15.0719563,2.69121482 L11.0068929,6.89568259 C10.6246557,7.29530459 9.99064332,7.30882561 9.59171662,6.92586281 L7.61584318,5.00113813 C7.21742856,4.61866691 7.20450388,3.98563386 7.5869751,3.58721924 C7.96944632,3.18880462 8.60247937,3.17587994 9.00089399,3.55835116 L10.2540618,4.78929076 L13.6266547,1.30878828 Z",id:"Line-6","fill-rule":"nonzero"}),(0,e.jsx)("circle",{id:"Oval-2",cx:"7",cy:"17",r:"2"}),(0,e.jsx)("circle",{id:"Oval-2",cx:"16",cy:"17",r:"2"})]})})})})}),latestProducts:(0,e.jsx)("svg",{class:"ec-store-icon-color",width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",children:(0,e.jsx)("g",{id:"Typography",stroke:"none","stroke-width":"1","fill-rule":"evenodd",children:(0,e.jsx)("g",{id:"gutenberg-widgets-icons",transform:"translate(-470.000000, -416.000000)","fill-rule":"nonzero",children:(0,e.jsxs)("g",{transform:"translate(470.000000, 416.000000)",children:[(0,e.jsx)("path",{d:"M5,17 L5,20 L9,20 L9,17 L5,17 Z M3,15 L11,15 L11,22 L3,22 L3,15 Z",id:"Rectangle-2"}),(0,e.jsx)("path",{d:"M5,8 L5,11 L9,11 L9,8 L5,8 Z M3,6 L11,6 L11,13 L3,13 L3,6 Z",id:"Rectangle-2-Copy"}),(0,e.jsx)("path",{d:"M15,17 L15,20 L19,20 L19,17 L15,17 Z M13,15 L21,15 L21,22 L13,22 L13,15 Z",id:"Rectangle-2"}),(0,e.jsx)("path",{d:"M15,8 L15,11 L19,11 L19,8 L15,8 Z M13,6 L21,6 L21,13 L13,13 L13,6 Z",id:"Rectangle-2-Copy-3"})]})})})})},s=window.wp.blocks,o=window.wp.blockEditor,r=window.wp.components,i=window.wp.element,c=window.wp.i18n,a=[{name:(0,c.__)("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:(0,c.__)("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:(0,c.__)("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:(0,c.__)("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:(0,c.__)("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:(0,c.__)("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:(0,c.__)("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:(0,c.__)("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:(0,c.__)("Very light gray"),slug:"very-light-gray",color:"#eeeeee"},{name:(0,c.__)("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:(0,c.__)("Very dark gray"),slug:"very-dark-gray",color:"#313131"}],l=({name:t,title:s,props:o})=>{const[l,n]=(0,i.useState)(null),[d,u]=(0,i.useState)(null);void 0===o.attributes[t]&&(o.attributes[t]=!1);const p=null===l&&!1!==o.attributes[t]&&null!==o.attributes[t]&&""!==o.attributes[t]||"manual"===l;p?null!==d&&o.setAttributes({[t]:void 0!==d&&d}):o.setAttributes({[t]:!1});const h=o.attributes[t]||"",_=(0,e.jsxs)("span",{children:[s,null!==h&&(0,e.jsx)(r.ColorIndicator,{colorValue:o.attributes[t]})]});return(0,e.jsxs)(r.BaseControl,{label:_,className:"ec-store-color-picker",__nextHasNoMarginBottom:!0,children:[(0,e.jsxs)("select",{onChange:function(e){const s=e.target.value;n(s),"auto"===s&&(u(!1),o.setAttributes({[t]:!1}))},value:p?"manual":"auto",children:[(0,e.jsx)("option",{value:"auto",children:(0,c.__)("Detect automatically","ecwid-shopping-cart")}),(0,e.jsx)("option",{value:"manual",children:(0,c.__)("Set manually","ecwid-shopping-cart")})]}),p&&(0,e.jsx)(r.ColorPalette,{value:h,colors:a,onChange:function(e){u(void 0!==e&&e),o.setAttributes({[t]:void 0!==e&&e})}})]})};function n(s,o){const i=o.attributes;let c=function(t,s,o,i,c=()=>{}){return(0,e.jsx)(r.BaseControl,{label:o,__nextHasNoMarginBottom:!0,children:(0,e.jsx)("select",{className:"ec-store-control-select",onChange:e=>{t.setAttributes({[s]:e.target.value}),c()},children:i.map(function(o){return(0,e.jsx)("option",{value:o.value,selected:t.attributes[s]==o.value,children:o.title})})})})};return{buttonGroup:function(t){const c=s[t];return void 0===o.attributes[t]&&(o.attributes[t]=c.default),function(t,s,o,c){return(0,e.jsx)(r.BaseControl,{label:o,__nextHasNoMarginBottom:!0,children:(0,e.jsx)(r.ButtonGroup,{className:"ec-store-inspector-button-group",children:c.map(function(o){return(0,e.jsx)(r.Button,{isPrimary:i[s]===o.value,onClick:()=>t.setAttributes({[s]:o.value}),children:o.title})})})})}(o,c.name,c.title,c.values)},toggle:function(t){const i=s[t];return void 0===o.attributes[t]&&(o.attributes[t]=i.default),function(t,s,o){return(0,e.jsx)(r.ToggleControl,{label:o,checked:t.attributes[s],onChange:()=>t.setAttributes({[s]:!t.attributes[s]}),__nextHasNoMarginBottom:!0})}(o,i.name,i.title)},select:function(e,t=null){const r=s[e];return void 0===o.attributes[e]&&(o.attributes[e]=r.default),c(o,r.name,t||r.title,r.values)},textbox:function(e){const t=s[e];return builtTextbox(o,t.name,t.title)},toolbar:function(i){const c=s[i];return void 0===o.attributes[i]&&(o.attributes[i]=c.default),function(s,o,i,c){return(0,e.jsx)(r.BaseControl,{label:i,__nextHasNoMarginBottom:!0,children:(0,e.jsx)(r.ToolbarGroup,{controls:c.map(function(e){return{icon:t[e.icon],title:e.title,isActive:s.attributes[o]===e.value,className:"ecwid-toolbar-icon",onClick:()=>s.setAttributes({[o]:e.value})}})})})}(o,c.name,c.title,c.values)},color:function(t){return(0,e.jsx)(l,{props:o,name:t,title:s[t].title})},defaultCategoryId:function(t){const i=s[t];return i.values&&i.values.length>1?(void 0===o.attributes[t]&&(o.attributes[t]=i.default),c(o,i.name,i.title,i.values)):function(t,s,o){return(0,e.jsx)(r.BaseControl,{label:o,__nextHasNoMarginBottom:!0,children:(0,e.jsx)("input",{type:"text",value:t.attributes[s],onChange:e=>{t.setAttributes({[s]:e.target.value})}})})}(o,i.name,i.title)},radioButtonWithDescription:function(t){const i=s[t];return void 0===o.attributes[t]&&(o.attributes[t]=i.default),function(t,o,i,a){const l="DEFAULT_CATEGORY_ID"==t.attributes[o],n=s.default_category_id;let d=null!=document.querySelector("[name=editor-canvas]"),u=window;d&&(u=document.querySelector("[name=editor-canvas]").contentWindow);const p=e=>{void 0!==u.Ecwid&&"FILTERS_PAGE"!=e&&(null!=u.document.getElementById("ec-store-preview")&&(u.document.getElementById("ec-store-preview").innerHTML=""),setTimeout(function(){window.Ecwid.init()},300))};let h="";n.values&&n.values.length>1&&(h=c(t,n.name,n.title,n.values,p));let _=a.map(function(t){return{value:t.value,label:(0,e.jsxs)("div",{children:[(0,e.jsx)("span",{className:"ec-store-inspector-radio__title",children:t.title}),(0,e.jsx)("p",{children:t.description}),"DEFAULT_CATEGORY_ID"==t.value&&l&&[h]]})}});return(0,e.jsx)(r.BaseControl,{__nextHasNoMarginBottom:!0,children:(0,e.jsx)(r.RadioControl,{label:i,className:"ec-store-inspector-radio",options:_,selected:t.attributes[o],onChange:e=>{t.setAttributes({[o]:e}),p(e)}})})}(o,i.name,i.title,i.values)}}}function d(t){return(0,e.jsx)("div",{className:"ec-store-inspector-subheader-row",children:(0,e.jsx)("label",{className:"ec-store-inspector-subheader",children:t})})}function u(t){const s=t.props,o=t.attributes,a=s.clientId,l=s.attributes.show_categories,n=s.attributes.show_search,d=void 0===t.render||t.render,u="ec-store-block-"+a;let p=window;null!=document.querySelector("[name=editor-canvas]")&&(p=document.querySelector("[name=editor-canvas]").contentWindow);let h="productbrowser",_="";s.attributes.default_category_id?_="defaultCategoryId="+s.attributes.default_category_id:s.attributes.default_product_id&&(_="defaultProductId="+s.attributes.default_product_id);let g="";t.isLivePreviewEnabled||(g="ec-store-generic-block ec-store-dynamic-block",d&&p.document.getElementById(u)&&p.document.getElementById(u).getAttribute("data-ec-store-rendered")||(g+=" ec-store-block"),l&&(g+=" ec-store-with-categories"),n&&(g+=" ec-store-with-search"),g+=" ec-store-with-stub");let w=function(e,t){const s=t.props,o="default_product_id default_category_id show_search show_categories".split(" "),r="#ec-store-block-"+s.clientId,i=jQuery(e).find(r).data("ec-store-block-stored-properties");let c=!1,a={};for(let e=0;e{let t=void 0!==s.attributes[e]?s.attributes[e]:o.default;-1!==e.indexOf("chameleon")?t&&(p.ec.config.chameleon.colors["color-"+e.substring(16)]=t):void 0!==t&&(p.ec.storefront[e]=t)}),delete p.ec.storefront.enable_catalog_on_one_page,delete p.ec.storefront.show_root_categories,t.isLivePreviewEnabled){const[s,d]=(0,i.useState)(""),x=(e,s={})=>{t.isProductPage||void 0!==p.Ecwid&&p.Ecwid.openPage&&p.Ecwid.openPage(e,s)},m=()=>{history.replaceState(null,null," ")};switch(o.storefront_view){case"EXPAND_CATEGORIES":p.ec.storefront.enable_catalog_on_one_page=!0,m();break;case"SHOW_ROOT_CATEGORIES":p.ec.storefront.show_root_categories=!1,m();break;case"FILTERS_PAGE":x("search");break;default:p.ec.storefront.enable_catalog_on_one_page=!1,m()}const b=e=>{if(null==e)return;void 0!==p.Ecwid&&p.Ecwid.OnAPILoaded.add(()=>{p.Ecwid.refreshConfig()}),p.ecwid_script_defer=!0,p.ecwid_dynamic_widgets=!0,p._xnext_initialization_scripts=[],localStorage.setItem("ec_disabled_apps","all");let r=!1,i=p.document.getElementById("ec-store-search-preview"),c=i&&i.childNodes&&i.childNodes.length>0;if(t.attributes.show_search&&!c&&p._xnext_initialization_scripts.push({widgetType:"SearchWidget",id:"ec-store-search-preview",arg:["id=ec-store-search-preview"]}),t.attributes.show_categories&&p._xnext_initialization_scripts.push({widgetType:"CategoriesV2",id:"ec-store-categories-preview",arg:["id=ec-store-categories-preview"]}),p._xnext_initialization_scripts.push({widgetType:"ProductBrowser",id:"ec-store-preview",arg:[_]}),p.document.getElementById("ec-store-script"))void 0!==p.Ecwid&&(s!=a&&(d(a),p.Ecwid.init()),w&&(p.document.getElementById("ec-store-preview").innerHTML="",p.Ecwid.init()));else{var l=p.document.createElement("script");l.type="text/javascript",l.id="ec-store-script",l.src=EcwidGutenbergParams.scriptJsUrl,e.innerHTML="",e.appendChild(l),l.addEventListener("load",function(){void 0!==p.Ecwid&&(p.document.getElementsByClassName("ec-cart-widget").length>0&&p.Ecwid.init(),p.Ecwid.OnAPILoaded.add(function(){"FILTERS_PAGE"!=o.storefront_view||r||(x("search"),r=!0)}),d(a))})}},v=[{label:(0,c.__)("Set up your store","ecwid-shopping-cart"),url:"admin.php?page=ec-store",variant:"primary"}];return(0,e.jsxs)("div",{className:g,"data-ec-store-widget":h,"data-ec-store-id":a,"data-ec-store-args":_,"data-ec-store-with-search":n,"data-ec-store-with-categories":l,id:u,children:[t.attributes.show_search&&(0,e.jsx)("div",{id:"ec-store-search-preview"}),t.attributes.show_categories&&(0,e.jsx)("div",{id:"ec-store-categories-preview"}),(0,e.jsx)("div",{id:"ec-store-preview"}),(0,e.jsx)("div",{ref:b}),t.showDemoButton&&(0,e.jsx)(r.Notice,{status:"info",isDismissible:!1,actions:v,children:(0,e.jsx)("div",{style:{margin:"0 0 12px 12px"},children:(0,c.__)("This is a demo store. Create your store to see your store products here.","ecwid-shopping-cart")})})]})}return(0,e.jsxs)("div",{className:g,"data-ec-store-widget":h,"data-ec-store-id":a,"data-ec-store-args":_,"data-ec-store-with-search":n,"data-ec-store-with-categories":l,id:u,children:[(0,e.jsxs)("div",{className:"ec-store-block-header",children:[t.icon,t.title]}),(0,e.jsx)("div",{className:"ec-store-block-content",children:t.children}),t.showDemoButton&&(0,e.jsx)("div",{children:(0,e.jsx)("a",{className:"button button-primary",href:"admin.php?page=ec-store",children:(0,c.__)("Set up your store","ecwid-shopping-cart")})})]})}function p(t){let s=function(t=""){return(0,e.jsxs)("div",{className:t,children:[(0,e.jsxs)("div",{className:"ec-store-products",children:[(0,e.jsx)("div",{className:"ec-store-product-block ec-store-product-filter",children:(0,e.jsx)("div",{className:"ec-store-stub-sample"})}),(0,e.jsxs)("div",{className:"ec-store-product-block",children:[(0,e.jsx)("div",{className:"ec-store-product ec-store-product-y_shirt"}),(0,e.jsx)("div",{className:"ec-store-stub-sample"})]}),(0,e.jsxs)("div",{className:"ec-store-product-block",children:[(0,e.jsx)("div",{className:"ec-store-product ec-store-product-b_watch"}),(0,e.jsx)("div",{className:"ec-store-stub-sample"})]})]}),(0,e.jsxs)("div",{className:"ec-store-products",children:[(0,e.jsx)("div",{className:"ec-store-product-block"}),(0,e.jsxs)("div",{className:"ec-store-product-block",children:[(0,e.jsx)("div",{className:"ec-store-product ec-store-product-g_sneaker"}),(0,e.jsx)("div",{className:"ec-store-stub-sample"})]}),(0,e.jsxs)("div",{className:"ec-store-product-block",children:[(0,e.jsx)("div",{className:"ec-store-product ec-store-product-g_hat"}),(0,e.jsx)("div",{className:"ec-store-stub-sample"})]})]})]})};switch(t.state){case"EXPAND_CATEGORIES":return(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{className:"ec-store-block-subheader",children:(0,c.__)("Category #1","ecwid-shopping-cart")}),(0,e.jsxs)("div",{className:"ec-store-products",children:[(0,e.jsxs)("div",{className:"ec-store-product-block",children:[(0,e.jsx)("div",{className:"ec-store-product ec-store-product-y_sneaker"}),(0,e.jsx)("div",{className:"ec-store-stub-sample"})]}),(0,e.jsxs)("div",{className:"ec-store-product-block",children:[(0,e.jsx)("div",{className:"ec-store-product ec-store-product-y_shirt"}),(0,e.jsx)("div",{className:"ec-store-stub-sample"})]}),(0,e.jsxs)("div",{className:"ec-store-product-block",children:[(0,e.jsx)("div",{className:"ec-store-product ec-store-product-y_watch"}),(0,e.jsx)("div",{className:"ec-store-stub-sample"})]})]}),(0,e.jsx)("div",{className:"ec-store-block-subheader",children:(0,c.__)("Category #2","ecwid-shopping-cart")}),(0,e.jsxs)("div",{className:"ec-store-products",children:[(0,e.jsxs)("div",{className:"ec-store-product-block",children:[(0,e.jsx)("div",{className:"ec-store-product ec-store-product-g_sneaker"}),(0,e.jsx)("div",{className:"ec-store-stub-sample"})]}),(0,e.jsxs)("div",{className:"ec-store-product-block",children:[(0,e.jsx)("div",{className:"ec-store-product ec-store-product-g_shirt"}),(0,e.jsx)("div",{className:"ec-store-stub-sample"})]}),(0,e.jsxs)("div",{className:"ec-store-product-block",children:[(0,e.jsx)("div",{className:"ec-store-product ec-store-product-g_watch"}),(0,e.jsx)("div",{className:"ec-store-stub-sample"})]})]})]});case"SHOW_ROOT_CATEGORIES":return(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{className:"ec-store-block-subheader",children:(0,c.__)("Featured Products","ecwid-shopping-cart")}),(0,e.jsxs)("div",{className:"ec-store-products",children:[(0,e.jsxs)("div",{className:"ec-store-product-block",children:[(0,e.jsx)("div",{className:"ec-store-product ec-store-product-m_sneaker"}),(0,e.jsx)("div",{className:"ec-store-stub-sample"})]}),(0,e.jsxs)("div",{className:"ec-store-product-block",children:[(0,e.jsx)("div",{className:"ec-store-product ec-store-product-p_shirt"}),(0,e.jsx)("div",{className:"ec-store-stub-sample"})]}),(0,e.jsxs)("div",{className:"ec-store-product-block",children:[(0,e.jsx)("div",{className:"ec-store-product ec-store-product-g_hat"}),(0,e.jsx)("div",{className:"ec-store-stub-sample"})]})]}),(0,e.jsxs)("div",{className:"ec-store-products",children:[(0,e.jsxs)("div",{className:"ec-store-product-block",children:[(0,e.jsx)("div",{className:"ec-store-product ec-store-product-b_watch"}),(0,e.jsx)("div",{className:"ec-store-stub-sample"})]}),(0,e.jsxs)("div",{className:"ec-store-product-block",children:[(0,e.jsx)("div",{className:"ec-store-product ec-store-product-y_bag"}),(0,e.jsx)("div",{className:"ec-store-stub-sample"})]}),(0,e.jsxs)("div",{className:"ec-store-product-block",children:[(0,e.jsx)("div",{className:"ec-store-product ec-store-product-p_sneaker"}),(0,e.jsx)("div",{className:"ec-store-stub-sample"})]})]})]});case"DEFAULT_CATEGORY_ID":return(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{className:"ec-store-block-subheader",children:(0,c.__)("Category #1","ecwid-shopping-cart")}),(0,e.jsxs)("div",{className:"ec-store-products",children:[(0,e.jsxs)("div",{className:"ec-store-product-block",children:[(0,e.jsx)("div",{className:"ec-store-product ec-store-product-y_sneaker"}),(0,e.jsx)("div",{className:"ec-store-stub-sample"})]}),(0,e.jsxs)("div",{className:"ec-store-product-block",children:[(0,e.jsx)("div",{className:"ec-store-product ec-store-product-y_shirt"}),(0,e.jsx)("div",{className:"ec-store-stub-sample"})]}),(0,e.jsxs)("div",{className:"ec-store-product-block",children:[(0,e.jsx)("div",{className:"ec-store-product ec-store-product-y_watch"}),(0,e.jsx)("div",{className:"ec-store-stub-sample"})]})]}),(0,e.jsxs)("div",{className:"ec-store-products",children:[(0,e.jsxs)("div",{className:"ec-store-product-block",children:[(0,e.jsx)("div",{className:"ec-store-product ec-store-product-y_bag"}),(0,e.jsx)("div",{className:"ec-store-stub-sample"})]}),(0,e.jsxs)("div",{className:"ec-store-product-block",children:[(0,e.jsx)("div",{className:"ec-store-product ec-store-product-y_hat"}),(0,e.jsx)("div",{className:"ec-store-stub-sample"})]}),(0,e.jsxs)("div",{className:"ec-store-product-block",children:[(0,e.jsx)("div",{className:"ec-store-product ec-store-product-y_sneaker"}),(0,e.jsx)("div",{className:"ec-store-stub-sample"})]})]})]});case"FILTERS_PAGE":return s();case"SEARCH_FILTERS_PAGE":return s("ec-store-block-filters-page");default:return function(t=""){return""!=t&&(t=(0,e.jsx)("h5",{children:t})),(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{className:"ec-store-block-subheader",children:(0,c.__)("Categories","ecwid-shopping-cart")}),(0,e.jsxs)("div",{className:"ec-store-products",children:[(0,e.jsx)("div",{className:"ec-store-product-block",children:(0,e.jsx)("div",{className:"ec-store-product ec-store-category-sneaker"})}),(0,e.jsx)("div",{className:"ec-store-product-block",children:(0,e.jsx)("div",{className:"ec-store-product ec-store-category-bag"})}),(0,e.jsx)("div",{className:"ec-store-product-block",children:(0,e.jsx)("div",{className:"ec-store-product ec-store-category-shirt"})})]}),(0,e.jsx)("div",{className:"ec-store-block-subheader",children:(0,c.__)("Featured Products","ecwid-shopping-cart")}),(0,e.jsxs)("div",{className:"ec-store-products",children:[(0,e.jsxs)("div",{className:"ec-store-product-block",children:[(0,e.jsx)("div",{className:"ec-store-product ec-store-product-g_sneaker"}),(0,e.jsx)("div",{className:"ec-store-stub-sample"})]}),(0,e.jsxs)("div",{className:"ec-store-product-block",children:[(0,e.jsx)("div",{className:"ec-store-product ec-store-product-p_shirt"}),(0,e.jsx)("div",{className:"ec-store-stub-sample"})]}),(0,e.jsxs)("div",{className:"ec-store-product-block",children:[(0,e.jsx)("div",{className:"ec-store-product ec-store-product-b_hat"}),(0,e.jsx)("div",{className:"ec-store-stub-sample"})]})]})]})}()}}function h(t,s){return(0,e.jsx)(r.BaseControl,{label:t,__nextHasNoMarginBottom:!0,children:(0,e.jsx)("div",{dangerouslySetInnerHTML:{__html:s}})})}const _=EcwidGutenbergParams.blockParams["ecwid/store-block"];(0,s.registerBlockType)("ecwid/store-block",{title:(0,c.__)("Store Home Page","ecwid-shopping-cart"),icon:t.store,category:"ec-store",attributes:_.attributes,description:(0,c.__)("Add storefront (product listing)","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,multiple:!1,inserter:!EcwidGutenbergParams.isWidgetsScreen},example:{},edit:function(s){if(Object.keys(s.attributes).length<=1)for(var a in _.attributes)_.attributes.hasOwnProperty(a)&&(s.attributes[a]=_.attributes[a].default);const{attributes:l}=s;s.setAttributes({widgets:""});const g=h("",(0,c.__)('To improve the look and feel of your store and manage your storefront appearance here, please enable the “Next-gen look and feel of the product list on the storefront” option in your store dashboard (“Settings → What’s New”).',"ecwid-shopping-cart")),w=h((0,c.__)("Display cart icon","ecwid-shopping-cart"),_.customizeMinicartText),x=(h("",(0,c.__)('To improve the look and feel of your product page and manage its appearance here, please enable the “Next-gen look and feel of the product page on the storefront” option in your store dashboard (“Settings → What’s New”).',"ecwid-shopping-cart")),_.isNewProductList),m=_.isNewDetailsPage,b=_.isEnabledProductSubtitles,v=_.isLivePreviewEnabled,j=_.attributes.default_category_id&&_.attributes.default_category_id.values&&_.attributes.default_category_id.values.length>0,f=j&&"DEFAULT_CATEGORY_ID"==l.storefront_view;l.show_description_under_image?("TWO_COLUMNS_SIDEBAR_ON_THE_LEFT"==l.product_details_layout&&s.setAttributes({product_details_two_columns_with_left_sidebar_show_product_description_on_sidebar:!l.show_description_under_image}),"TWO_COLUMNS_SIDEBAR_ON_THE_RIGHT"==l.product_details_layout&&s.setAttributes({product_details_two_columns_with_right_sidebar_show_product_description_on_sidebar:!l.show_description_under_image})):s.setAttributes({product_details_two_columns_with_left_sidebar_show_product_description_on_sidebar:"",product_details_two_columns_with_right_sidebar_show_product_description_on_sidebar:""}),f||s.setAttributes({default_category_id:""}),j||s.setAttributes({storefront_view:"COLLAPSE_CATEGORIES"});const y=n(_.attributes,s),[k,N]=(0,i.useState)(!1),C=(0,i.useRef)([]),L=e=>{let t=C.current.length;null!==e&&(C.current[t]=e)};let P=window;null!=document.querySelector("[name=editor-canvas]")&&(P=document.querySelector("[name=editor-canvas]").contentWindow);const E=e=>{v&&e&&(N(!1),C.current.map(function(e){e.classList.contains("is-opened")&&(e.querySelector("button").click(),e.classList.contains("ec-store-panelbody-product-details")&&("FILTERS_PAGE"==l.storefront_view?P.Ecwid.openPage("search"):P.Ecwid.openPage("category")))}))},[B,A]=(0,i.useState)(!1),T=()=>A(!1);return void 0!==P.Ecwid&&(P.Ecwid.OnPageLoaded.add(function(e){"PRODUCT"==e.type&&(_.randomProductId=e.productId)}),P.Ecwid.OnPageSwitch.add(function(e){if("PRODUCT"!=e.type&&"CATEGORY"!=e.type&&"SEARCH"!=e.type)return A(!0),!1})),[(0,e.jsxs)("div",{children:[(0,e.jsx)(u,{props:s,attributes:l,icon:t.store,title:(0,c.__)("Store Home Page","ecwid-shopping-cart"),showDemoButton:_.isDemoStore,isLivePreviewEnabled:v,blockParams:_,isProductPage:k,children:(0,e.jsx)(p,{state:l.storefront_view})}),B&&(0,e.jsxs)(r.Modal,{title:"Edit Mode",onRequestClose:T,children:[(0,e.jsx)("p",{children:(0,c.__)("The transition to this page is disabled in the editor, on a real storefront it works as it should.","ecwid-shopping-cart")}),(0,e.jsx)(r.Button,{variant:"secondary",onClick:T,children:(0,c.__)("Continue Editing Page","ecwid-shopping-cart")})]})]}),(0,e.jsxs)(o.InspectorControls,{children:[j&&(0,e.jsxs)(r.PanelBody,{title:(0,c.__)("Category List Appearance","ecwid-shopping-cart"),initialOpen:!1,ref:L,onToggle:E,children:[x&&[y.select("product_list_category_title_behavior"),"SHOW_TEXT_ONLY"!==l.product_list_category_title_behavior&&[y.buttonGroup("product_list_category_image_size"),y.toolbar("product_list_category_image_aspect_ratio")]],!x&&g]}),(0,e.jsxs)(r.PanelBody,{title:(0,c.__)("Product List Appearance","ecwid-shopping-cart"),initialOpen:!1,ref:L,onToggle:E,children:[x&&[y.toggle("product_list_show_product_images"),l.product_list_show_product_images&&[y.buttonGroup("product_list_image_size"),y.toolbar("product_list_image_aspect_ratio")],y.toolbar("product_list_product_info_layout"),y.select("product_list_title_behavior"),b&&y.select("product_list_subtitles_behavior"),y.select("product_list_price_behavior"),y.select("product_list_sku_behavior"),y.select("product_list_buybutton_behavior"),y.toggle("product_list_show_additional_image_on_hover"),y.toggle("product_list_show_frame")],!x&&g]}),(0,e.jsxs)(r.PanelBody,{title:(0,c.__)("Product Page Appearance","ecwid-shopping-cart"),initialOpen:!1,ref:L,onToggle:e=>{v&&e&&(N(!0),E(e),P.Ecwid.openPage("product",{id:_.randomProductId}))},className:"ec-store-panelbody-product-details",children:[m&&[y.select("product_details_layout"),("TWO_COLUMNS_SIDEBAR_ON_THE_RIGHT"===l.product_details_layout||"TWO_COLUMNS_SIDEBAR_ON_THE_LEFT"===l.product_details_layout)&&y.toggle("show_description_under_image"),y.toolbar("product_details_gallery_layout"),d((0,c.__)("Product sidebar content","ecwid-shopping-cart")),y.toggle("product_details_show_product_name"),b&&y.toggle("product_details_show_subtitle"),y.toggle("product_details_show_breadcrumbs"),y.toggle("product_details_show_product_sku"),y.toggle("product_details_show_product_price"),y.toggle("product_details_show_qty"),y.toggle("product_details_show_weight"),y.toggle("product_details_show_number_of_items_in_stock"),y.toggle("product_details_show_in_stock_label"),y.toggle("product_details_show_wholesale_prices"),y.toggle("product_details_show_share_buttons"),y.toggle("product_details_show_navigation_arrows"),y.toggle("product_details_show_product_photo_zoom")],!m&&g]}),j&&(0,e.jsx)(r.PanelBody,{title:(0,c.__)("Store Front Page","ecwid-shopping-cart"),initialOpen:!1,ref:L,onToggle:E,children:y.radioButtonWithDescription("storefront_view",v)}),(0,e.jsxs)(r.PanelBody,{title:(0,c.__)("Store Navigation","ecwid-shopping-cart"),initialOpen:!1,ref:L,onToggle:E,children:[j&&y.toggle("show_categories"),y.toggle("show_search"),y.toggle("show_breadcrumbs"),x&&y.toggle("show_footer_menu"),y.toggle("show_signin_link"),y.toggle("product_list_show_sort_viewas_options"),w]}),(0,e.jsxs)(r.PanelBody,{title:(0,c.__)("Color settings","ecwid-shopping-cart"),initialOpen:!1,ref:L,onToggle:E,children:[y.color("chameleon_color_button"),y.color("chameleon_color_foreground"),y.color("chameleon_color_price"),y.color("chameleon_color_link"),y.color("chameleon_color_background")]})]})]},save:function(e){var t=["productbrowser"];e.attributes.show_categories&&(t[t.length]="categories"),e.attributes.show_search&&(t[t.length]="search");const s={widgets:t.join(" "),default_category_id:void 0!==e.attributes.default_category_id?e.attributes.default_category_id:""};return new wp.shortcode({tag:_.shortcodeName,attrs:s,type:"single"}).string()},deprecated:[{attributes:{widgets:{type:"string"},categories_per_row:{type:"integer"},grid:{type:"string"},list:{type:"integer"},table:{type:"integer"},default_category_id:{type:"integer"},default_product_id:{type:"integer"},category_view:{type:"string"},search_view:{type:"string"},minicart_layout:{type:"string"}},save:function(e){return null}},{attributes:{widgets:{type:"string",default:"productbrowser"},default_category_id:{type:"integer",default:0}},migrate:function(e){return{widgets:e.widgets,default_category_id:e.default_category_id}},save:function(e){var t={};const s=["widgets","default_category_id"];for(var o=0;ot.setAttributes({[s]:!t.attributes[s]}),__nextHasNoMarginBottom:!0})}function n(e){ecwid_open_product_popup({saveCallback:a,props:e})}return[(0,e.jsx)(u,{props:s,attributes:i,icon:t.product,title:(0,c.__)("Product Card Small","ecwid-shopping-cart"),showDemoButton:g.isDemoStore,children:(0,e.jsx)("div",{className:"ec-store-products",children:(0,e.jsxs)("div",{className:"ec-store-product-block ec-store-product-block-small",children:[EcwidGutenbergParams.products&&i.id&&EcwidGutenbergParams.products[i.id]&&(0,e.jsx)("div",{className:"ec-store-block-image",children:(0,e.jsx)("img",{src:EcwidGutenbergParams.products[i.id].imageUrl})}),!i.id&&(0,e.jsx)("div",{className:"ec-store-product ec-store-product-y_sneaker"}),!i.id&&(0,e.jsx)("div",{className:"ec-store-stub-sample"}),!i.id&&(0,e.jsx)("div",{children:(0,e.jsx)("button",{className:"button ec-store-block-button",onClick:()=>{ecwid_open_product_popup({saveCallback:a,props:s})},children:EcwidGutenbergParams.chooseProduct})}),EcwidGutenbergParams.products&&i.id&&EcwidGutenbergParams.products[i.id]&&(0,e.jsx)("div",{className:"ec-store-product-title",children:EcwidGutenbergParams.products[i.id].name})]})})}),(0,e.jsxs)(o.InspectorControls,{children:[i.id&&(0,e.jsxs)(r.PanelBody,{children:[(0,e.jsx)("div",{className:"ec-store-inspector-row",children:(0,e.jsx)("label",{className:"ec-store-inspector-subheader",children:(0,c.__)("Displayed product","ecwid-shopping-cart")})}),(0,e.jsxs)("div",{className:"ec-store-inspector-row",children:[EcwidGutenbergParams.products&&EcwidGutenbergParams.products[i.id]&&(0,e.jsx)("label",{children:EcwidGutenbergParams.products[i.id].name}),(0,e.jsx)("button",{className:"button",onClick:()=>n(s),children:(0,c.__)("Change","ecwid-shopping-cart")})]})]}),!i.id&&(0,e.jsx)(r.PanelBody,{children:(0,e.jsx)("button",{className:"button",onClick:()=>n(s),children:(0,c.__)("Choose product","ecwid-shopping-cart")})}),(0,e.jsxs)(r.PanelBody,{title:(0,c._x)("Content","gutenberg-product-block","ecwid-shopping-cart"),initialOpen:!1,children:[l(s,"show_picture",(0,c.__)("Picture","ecwid-shopping-cart")),l(s,"show_title",(0,c.__)("Title","ecwid-shopping-cart")),l(s,"show_price",(0,c.__)("Price","ecwid-shopping-cart")),l(s,"show_options",(0,c.__)("Options","ecwid-shopping-cart")),l(s,"show_qty",(0,c.__)("Quantity","ecwid-shopping-cart")),l(s,"show_addtobag",(0,c.__)("«Buy now» button","ecwid-shopping-cart"))]}),(0,e.jsxs)(r.PanelBody,{title:(0,c.__)("Appearance","ecwid-shopping-cart"),initialOpen:!1,children:[l(s,"show_price_on_button",(0,c.__)("Show price inside the «Buy now» button","ecwid-shopping-cart")),l(s,"show_border",(0,c.__)("Add border","ecwid-shopping-cart")),l(s,"center_align",(0,c.__)("Center align on a page","ecwid-shopping-cart"))]})]})]},save:function(e){return!1}}),(0,s.registerBlockType)("ec-store/buynow",{title:(0,c.__)("Buy Now Button","ecwid-shopping-cart"),icon:t.button,category:"ec-store",attributes:{id:{type:"integer"},show_price_on_button:{type:"boolean",default:!0},center_align:{type:"boolean",default:!0}},description:(0,c.__)("Display a buy button","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,align:!0,alignWide:!1,inserter:EcwidGutenbergParams.isApiAvailable,isPrivate:!EcwidGutenbergParams.isApiAvailable},example:{},edit:function(s){const{attributes:i}=s,a=function(e){const t={id:e.newProps.id};EcwidGutenbergParams.products[e.newProps.id]={name:e.newProps.product.name,imageUrl:e.newProps.product.thumb},e.originalProps.setAttributes(t)};function l(t,s,o){return(0,e.jsx)(r.ToggleControl,{label:o,checked:t.attributes[s],onChange:()=>t.setAttributes({[s]:!t.attributes[s]}),__nextHasNoMarginBottom:!0})}function n(e){ecwid_open_product_popup({saveCallback:a,props:e})}return[(0,e.jsxs)(u,{props:s,attributes:i,icon:t.button,title:(0,c.__)("Buy Now Button","ecwid-shopping-cart"),children:[(0,e.jsx)("div",{className:"ec-store-block-cart-page",children:(0,e.jsx)("div",{className:"ec-store-block-buynow-preview"})}),!i.id&&(0,e.jsx)("div",{className:"button-container",children:(0,e.jsx)("button",{className:"button ec-store-block-button",onClick:()=>{ecwid_open_product_popup({saveCallback:a,props:s})},children:EcwidGutenbergParams.chooseProduct})})]}),(0,e.jsxs)(o.InspectorControls,{children:[i.id&&(0,e.jsxs)(r.PanelBody,{children:[(0,e.jsx)("div",{className:"ec-store-inspector-row",children:(0,e.jsx)("label",{className:"ec-store-inspector-subheader",children:(0,c.__)("Linked product","ecwid-shopping-cart")})}),(0,e.jsxs)("div",{className:"ec-store-inspector-row",children:[EcwidGutenbergParams.products&&EcwidGutenbergParams.products[i.id]&&(0,e.jsx)("label",{children:EcwidGutenbergParams.products[i.id].name}),(0,e.jsx)("button",{className:"button",onClick:()=>n(s),children:(0,c.__)("Change","ecwid-shopping-cart")})]})]}),!i.id&&(0,e.jsx)(r.PanelBody,{children:(0,e.jsx)("button",{className:"button",onClick:()=>n(s),children:(0,c.__)("Choose product","ecwid-shopping-cart")})}),(0,e.jsxs)(r.PanelBody,{title:(0,c.__)("Appearance","ecwid-shopping-cart"),initialOpen:!1,children:[l(s,"show_price_on_button",(0,c.__)("Show price inside the «Buy now» button","ecwid-shopping-cart")),l(s,"center_align",(0,c.__)("Center align on a page","ecwid-shopping-cart"))]})]})]},save:function(e){return!1}}),(0,s.registerBlockType)("ec-store/search",{title:(0,c.__)("Product Search Box","ecwid-shopping-cart"),icon:t.search,category:"ec-store",description:(0,c.__)("Display search box","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,inserter:EcwidGutenbergParams.isApiAvailable,isPrivate:!EcwidGutenbergParams.isApiAvailable},example:{},edit:function(t){const{attributes:s}=t;return[(0,e.jsx)("div",{className:"ec-store-block ec-store-block-search",children:(0,e.jsx)("div",{class:"image"})})]},save:function(e){return!1}}),!EcwidGutenbergParams.isDemoStore){const{InspectorControls:o}=wp.blockEditor,{PanelBody:r}=wp.components,i="ec-store/categories",a=EcwidGutenbergParams.blockParams[i];(0,s.registerBlockType)("ec-store/categories",{title:(0,c.__)("Store Categories Menu","ecwid-shopping-cart"),icon:t.categories,category:"ec-store",description:(0,c.__)("Display categories navigation bar","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,multiple:!1,inserter:EcwidGutenbergParams.isApiAvailable,isPrivate:!EcwidGutenbergParams.isApiAvailable},example:{},edit:function(t){const{attributes:s}=t,i=(0,e.jsx)("div",{className:"ec-store-block ec-store-block-categories",children:(0,e.jsxs)("div",{className:"ec-store-block-header",children:[(0,e.jsx)("div",{children:(0,c.__)("Categories","ecwid-shopping-cart")}),(0,e.jsx)("div",{className:"ec-store-categories-menu"})]})}),l=(0,c.__)('The block is hidden because you don\'t have categories in your store. Add categories.',"ecwid-shopping-cart");return[i,(0,e.jsx)(o,{children:(0,e.jsxs)(r,{children:[(0,e.jsx)("div",{style:{height:"10px"}}),!a.has_categories&&(0,e.jsx)("div",{dangerouslySetInnerHTML:{__html:l}})]})})]},save:function(e){return!1}})}(0,s.registerBlockType)("ec-store/minicart",{title:(0,c.__)("Shopping Cart Icon","ecwid-shopping-cart"),icon:t.cart,category:"ec-store",description:(0,c.__)("Display shopping bag link and summary","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,inserter:EcwidGutenbergParams.isApiAvailable,isPrivate:!EcwidGutenbergParams.isApiAvailable,align:!0,alignWide:!1},attributes:EcwidGutenbergParams.minicartAttributes,example:{},edit:function(t){const{attributes:s}=t,i=n(EcwidGutenbergParams.minicartAttributes,t);function a(e,t,s){const o=EcwidGutenbergParams.minicartAttributes[t];return void 0===s&&(s=o.type),i.select(t)}return[(0,e.jsx)("div",{className:"ec-store-block ec-store-block-minicart",children:(0,e.jsx)("div",{className:"image"})}),(0,e.jsx)(o.InspectorControls,{children:(0,e.jsxs)(r.PanelBody,{title:(0,c.__)("Appearance","ecwid-shopping-cart"),initialOpen:!0,children:[a(0,"layout","select"),a(0,"icon","select"),a(0,"fixed_shape","select")]})})]},save:function(e){return!1}});const w=EcwidGutenbergParams.blockParams["ec-store/category-page"];(0,s.registerBlockType)("ec-store/category-page",{title:(0,c.__)("Store Category Page","ecwid-shopping-cart"),icon:t.category,category:"ec-store",attributes:EcwidGutenbergStoreBlockParams.attributes,description:(0,c.__)("Display category page","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,multiple:!1,inserter:!EcwidGutenbergParams.isWidgetsScreen},example:{},edit:function(s){const{attributes:i}=s;s.setAttributes({widgets:""});const a=(0,e.jsxs)(u,{props:s,attributes:i,icon:t.category,title:(0,c.__)("Store Category Page","ecwid-shopping-cart"),showDemoButton:w.isDemoStore,children:[(0,e.jsxs)("div",{className:"ec-store-products",children:[(0,e.jsx)("div",{className:"ec-store-product-block",children:(0,e.jsx)("div",{className:"ec-store-product ec-store-category-sneaker"})}),(0,e.jsx)("div",{className:"ec-store-product-block",children:(0,e.jsx)("div",{className:"ec-store-product ec-store-category-bag"})}),(0,e.jsx)("div",{className:"ec-store-product-block",children:(0,e.jsx)("div",{className:"ec-store-product ec-store-category-shirt"})})]}),(0,e.jsxs)("div",{className:"ec-store-products",children:[(0,e.jsx)("div",{className:"ec-store-product-block",children:(0,e.jsx)("div",{className:"ec-store-product ec-store-category-hat"})}),(0,e.jsx)("div",{className:"ec-store-product-block",children:(0,e.jsx)("div",{className:"ec-store-product ec-store-category-watch"})}),(0,e.jsx)("div",{className:"ec-store-product-block",children:(0,e.jsx)("div",{className:"ec-store-product ec-store-category-glasses"})})]})]}),l=h("",(0,c.__)('To improve the look and feel of your store and manage your storefront appearance here, please enable the “Next-gen look and feel of the product list on the storefront” option in your store dashboard (“Settings → What’s New”).',"ecwid-shopping-cart")),p=h((0,c.__)("Display cart icon","ecwid-shopping-cart"),w.customizeMinicartText),_=w.isNewProductList,g=w.isNewDetailsPage,x=n(w.attributes,s);return[a,(0,e.jsxs)(o.InspectorControls,{children:[(0,e.jsxs)(r.PanelBody,{children:[!EcwidGutenbergParams.hasCategories&&(0,e.jsx)("div",{style:{margin:"10px"},children:(0,e.jsx)("a",{href:"admin.php?page=ec-store-admin-category-id-0-mode-edit",target:"_blank",class:"button button-primary",children:(0,c.__)("Add categories","ecwid-shopping-cart")})}),EcwidGutenbergParams.hasCategories&&[!s.attributes.default_category_id&&x.select("default_category_id",(0,c.__)("Select category","ecwid-shopping-cart")),s.attributes.default_category_id&&x.select("default_category_id",(0,c.__)("Selected category","ecwid-shopping-cart"))]]}),(0,e.jsxs)(r.PanelBody,{title:(0,c.__)("Category List Appearance","ecwid-shopping-cart"),initialOpen:!1,children:[_&&[x.select("product_list_category_title_behavior"),"SHOW_TEXT_ONLY"!==i.product_list_category_title_behavior&&[x.buttonGroup("product_list_category_image_size"),x.toolbar("product_list_category_image_aspect_ratio")]],!_&&l]}),(0,e.jsxs)(r.PanelBody,{title:(0,c.__)("Product List Appearance","ecwid-shopping-cart"),initialOpen:!1,children:[_&&[x.toggle("product_list_show_product_images"),i.product_list_show_product_images&&[x.buttonGroup("product_list_image_size"),x.toolbar("product_list_image_aspect_ratio")],x.toolbar("product_list_product_info_layout"),x.select("product_list_title_behavior"),x.select("product_list_price_behavior"),x.select("product_list_sku_behavior"),x.select("product_list_buybutton_behavior"),x.toggle("product_list_show_additional_image_on_hover"),x.toggle("product_list_show_frame")],!_&&l]}),(0,e.jsxs)(r.PanelBody,{title:(0,c.__)("Product Page Appearance","ecwid-shopping-cart"),initialOpen:!1,children:[g&&[x.select("product_details_layout"),("TWO_COLUMNS_SIDEBAR_ON_THE_RIGHT"===i.product_details_layout||"TWO_COLUMNS_SIDEBAR_ON_THE_LEFT"===i.product_details_layout)&&x.toggle("show_description_under_image"),x.toolbar("product_details_gallery_layout"),d((0,c.__)("Product sidebar content","ecwid-shopping-cart")),x.toggle("product_details_show_product_name"),x.toggle("product_details_show_breadcrumbs"),x.toggle("product_details_show_product_sku"),x.toggle("product_details_show_product_price"),x.toggle("product_details_show_qty"),x.toggle("product_details_show_weight"),x.toggle("product_details_show_number_of_items_in_stock"),x.toggle("product_details_show_in_stock_label"),x.toggle("product_details_show_wholesale_prices"),x.toggle("product_details_show_share_buttons"),x.toggle("product_details_show_navigation_arrows"),x.toggle("product_details_show_product_photo_zoom")],!g&&l]}),(0,e.jsxs)(r.PanelBody,{title:(0,c.__)("Store Navigation","ecwid-shopping-cart"),initialOpen:!1,children:[x.toggle("show_categories"),x.toggle("show_search"),x.toggle("show_breadcrumbs"),_&&x.toggle("show_footer_menu"),x.toggle("show_signin_link"),x.toggle("product_list_show_sort_viewas_options"),p]}),(0,e.jsxs)(r.PanelBody,{title:(0,c.__)("Color settings","ecwid-shopping-cart"),initialOpen:!1,children:[x.color("chameleon_color_button"),x.color("chameleon_color_foreground"),x.color("chameleon_color_price"),x.color("chameleon_color_link"),x.color("chameleon_color_background")]})]})]},save:function(e){return null}});const x=EcwidGutenbergParams.blockParams["ec-store/product-page"];(0,s.registerBlockType)("ec-store/product-page",{title:(0,c.__)("Product Card Large","ecwid-shopping-cart"),icon:t.product,category:"ec-store",attributes:x.attributes,description:(0,c.__)("Display product page with description and a buy button","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,multiple:!1,inserter:!EcwidGutenbergParams.isWidgetsScreen},example:{},edit:function(s){const{attributes:i}=s,a=function(e){const t={default_product_id:e.newProps.product.id};EcwidGutenbergParams.products[e.newProps.product.id]={name:e.newProps.product.name,imageUrl:e.newProps.product.thumb},e.originalProps.setAttributes(t)};function l(e){ecwid_open_product_popup({saveCallback:a,props:e})}const p=(0,e.jsxs)(u,{props:s,attributes:i,icon:t.product,title:(0,c.__)("Product Card Large","ecwid-shopping-cart"),children:[(0,e.jsx)("div",{className:"ec-store-product-page-preview"}),!i.default_product_id&&(0,e.jsx)("div",{className:"button-container",children:(0,e.jsx)("button",{className:"button ec-store-block-button",onClick:()=>{ecwid_open_product_popup({saveCallback:a,props:s})},children:EcwidGutenbergParams.chooseProduct})})]}),_=h("",(0,c.__)('To improve the look and feel of your store and manage your storefront appearance here, please enable the “Next-gen look and feel of the product list on the storefront” option in your store dashboard (“Settings → What’s New”).',"ecwid-shopping-cart")),g=(h("",(0,c.__)('To improve the look and feel of your product page and manage your its appearance here, please enable the “Next-gen look and feel of the product page on the storefront” option in your store dashboard (“Settings → What’s New”).',"ecwid-shopping-cart")),x.isNewDetailsPage),w=n(x.attributes,s);return[p,(0,e.jsxs)(o.InspectorControls,{children:[i.default_product_id>0&&(0,e.jsxs)(r.PanelBody,{children:[(0,e.jsx)("div",{className:"ec-store-inspector-row",children:(0,e.jsx)("label",{className:"ec-store-inspector-subheader",children:(0,c.__)("Linked product","ecwid-shopping-cart")})}),(0,e.jsxs)("div",{className:"ec-store-inspector-row",children:[EcwidGutenbergParams.products&&EcwidGutenbergParams.products[i.default_product_id]&&(0,e.jsx)("label",{children:EcwidGutenbergParams.products[i.default_product_id].name}),(0,e.jsx)("button",{className:"button",onClick:()=>l(s),children:(0,c.__)("Change","ecwid-shopping-cart")})]})]}),!i.default_product_id&&(0,e.jsx)(r.PanelBody,{children:(0,e.jsx)("button",{className:"button",onClick:()=>l(s),children:(0,c.__)("Choose product","ecwid-shopping-cart")})}),(0,e.jsxs)(r.PanelBody,{title:(0,c.__)("Appearance","ecwid-shopping-cart"),initialOpen:!1,children:[g&&[w.select("product_details_layout"),("TWO_COLUMNS_SIDEBAR_ON_THE_RIGHT"===i.product_details_layout||"TWO_COLUMNS_SIDEBAR_ON_THE_LEFT"===i.product_details_layout)&&w.toggle("show_description_under_image"),w.toolbar("product_details_gallery_layout"),d((0,c.__)("Product sidebar content","ecwid-shopping-cart")),w.toggle("product_details_show_product_name"),w.toggle("product_details_show_breadcrumbs"),w.toggle("product_details_show_product_sku"),w.toggle("product_details_show_product_price"),w.toggle("product_details_show_qty"),w.toggle("product_details_show_weight"),w.toggle("product_details_show_number_of_items_in_stock"),w.toggle("product_details_show_in_stock_label"),w.toggle("product_details_show_wholesale_prices"),w.toggle("product_details_show_share_buttons"),w.toggle("product_details_show_navigation_arrows"),w.toggle("product_details_show_product_photo_zoom")],!g&&_]}),(0,e.jsxs)(r.PanelBody,{title:(0,c.__)("Color settings","ecwid-shopping-cart"),initialOpen:!1,children:[w.color("chameleon_color_button"),w.color("chameleon_color_foreground"),w.color("chameleon_color_price"),w.color("chameleon_color_link"),w.color("chameleon_color_background")]})]})]},save:function(e){return null}});const m=EcwidGutenbergParams.blockParams["ec-store/filters-page"];(0,s.registerBlockType)("ec-store/filters-page",{title:(0,c.__)("Product Search and filters","ecwid-shopping-cart"),icon:t.filters,category:"ec-store",attributes:m.attributes,description:(0,c.__)("Display search page with filters on a side","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,multiple:!1,inserter:!EcwidGutenbergParams.isWidgetsScreen},example:{},edit:function(s){const{attributes:i}=s,a=(0,e.jsx)(u,{props:s,attributes:i,icon:t.filters,title:(0,c.__)("Search and Filters","ecwid-shopping-cart"),children:(0,e.jsx)(p,{state:"SEARCH_FILTERS_PAGE"})}),l=h("",(0,c.__)('You can enable filters in the store settings: (“Settings → Product Filters”).',"ecwid-shopping-cart")),d=h("",(0,c.__)('To improve the look and feel of your store and manage your storefront appearance here, please enable the “Next-gen look and feel of the product list on the storefront” option in your store dashboard (“Settings → What’s New”).',"ecwid-shopping-cart")),_=m.isNewProductList,g=n(m.attributes,s);return[a,(0,e.jsxs)(o.InspectorControls,{children:[(0,e.jsxs)(r.PanelBody,{title:(0,c.__)("Filters","ecwid-shopping-cart"),initialOpen:!1,children:[!m.filtersEnabled&&l,m.filtersEnabled&&[g.select("product_filters_position_search_page")]]}),(0,e.jsxs)(r.PanelBody,{title:(0,c.__)("Product List Appearance","ecwid-shopping-cart"),initialOpen:!1,children:[_&&[g.toggle("product_list_show_product_images"),i.product_list_show_product_images&&[g.buttonGroup("product_list_image_size"),g.toolbar("product_list_image_aspect_ratio")],g.toolbar("product_list_product_info_layout"),g.select("product_list_title_behavior"),g.select("product_list_price_behavior"),g.select("product_list_sku_behavior"),g.select("product_list_buybutton_behavior"),g.toggle("product_list_show_additional_image_on_hover"),g.toggle("product_list_show_frame")],!_&&d]}),(0,e.jsxs)(r.PanelBody,{title:(0,c.__)("Store Navigation","ecwid-shopping-cart"),initialOpen:!1,children:[g.toggle("show_categories"),g.toggle("show_breadcrumbs"),_&&g.toggle("show_footer_menu"),g.toggle("show_signin_link"),g.toggle("product_list_show_sort_viewas_options")]}),(0,e.jsxs)(r.PanelBody,{title:(0,c.__)("Color settings","ecwid-shopping-cart"),initialOpen:!1,children:[g.color("chameleon_color_button"),g.color("chameleon_color_foreground"),g.color("chameleon_color_price"),g.color("chameleon_color_link"),g.color("chameleon_color_background")]})]})]},save:function(e){return null}});const b=EcwidGutenbergParams.blockParams["ec-store/cart-page"];(0,s.registerBlockType)("ec-store/cart-page",{title:(0,c.__)("Cart and Checkout","ecwid-shopping-cart"),icon:t.cartPage,category:"ec-store",attributes:b.attributes,description:(0,c.__)("Display shopping cart and checkout page","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,multiple:!1,inserter:!EcwidGutenbergParams.isWidgetsScreen},example:{},edit:function(s){const{attributes:o}=s;return[(0,e.jsx)(u,{props:s,attributes:o,icon:t.cartPage,title:(0,c.__)("Cart and Checkout","ecwid-shopping-cart"),children:(0,e.jsx)("div",{className:"ec-store-block-cart-page",children:(0,e.jsx)("div",{className:"ec-store-block-cart-page-preview"})})})]},save:function(e){return null}}),wp.blocks.updateCategory("ec-store",{icon:t.ecwid})}},s={};function o(e){var r=s[e];if(void 0!==r)return r.exports;var i=s[e]={exports:{}};return t[e](i,i.exports,o),i.exports}o.m=t,e=[],o.O=(t,s,r,i)=>{if(!s){var c=1/0;for(d=0;d=i)&&Object.keys(o.O).every(e=>o.O[e](s[l]))?s.splice(l--,1):(a=!1,i0&&e[d-1][2]>i;d--)e[d]=e[d-1];e[d]=[s,r,i]},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={792:0,85:0};o.O.j=t=>0===e[t];var t=(t,s)=>{var r,i,[c,a,l]=s,n=0;if(c.some(t=>0!==e[t])){for(r in a)o.o(a,r)&&(o.m[r]=a[r]);if(l)var d=l(o)}for(t&&t(s);no(668));r=o.O(r)})(); \ No newline at end of file diff --git a/js/gutenberg/build/index.js.map b/js/gutenberg/build/index.js.map deleted file mode 100644 index bd42783b..00000000 --- a/js/gutenberg/build/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAsD;AACM;AACK;AAC5B;AAEf;AACC;AAE2B;AACiB;AAAA;AAEnEA,oEAAiB,CAAC,iBAAiB,EAAE;EACjCW,KAAK,EAAEP,mDAAE,CAAC,gBAAgB,EAAE,qBAAqB,CAAC;EAClDQ,IAAI,EAAEP,0DAAU,CAACQ,MAAM;EACvBC,QAAQ,EAAE,UAAU;EAAE;EACtBC,UAAU,EAAE;IACRC,EAAE,EAAE;MAAEC,IAAI,EAAE;IAAU,CAAC;IACvBC,oBAAoB,EAAE;MAAED,IAAI,EAAE,SAAS;MAAEE,OAAO,EAAE;IAAK,CAAC;IACxDC,YAAY,EAAE;MAAEH,IAAI,EAAE,SAAS;MAAEE,OAAO,EAAE;IAAK;EACnD,CAAC;EACDE,WAAW,EAAEjB,mDAAE,CAAC,sBAAsB,EAAE,qBAAqB,CAAC;EAC9DkB,QAAQ,EAAE;IACNC,eAAe,EAAE,KAAK;IACtBC,SAAS,EAAE,KAAK;IAChBC,IAAI,EAAE,KAAK;IACXC,KAAK,EAAE,IAAI;IACXC,SAAS,EAAE,KAAK;IAChBC,QAAQ,EAAEC,oBAAoB,CAACC,cAAc;IAC7CC,SAAS,EAAE,CAACF,oBAAoB,CAACC;EACrC,CAAC;EACDE,OAAO,EAAE,CAAC,CAAC;EAEX;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;EACIC,IAAI,EAAE,SAAAA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A,wF;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;WCNA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA,4G;;;;;UEjDA;UACA;UACA;UACA;UACA","sources":["webpack://ecwid-blocks/./js/gutenberg/src/buynow/block.jsx","webpack://ecwid-blocks/./js/gutenberg/src/buynow/editor.scss?cd23","webpack://ecwid-blocks/./js/gutenberg/src/buynow/style.scss","webpack://ecwid-blocks/./js/gutenberg/src/cart-page/block.jsx","webpack://ecwid-blocks/./js/gutenberg/src/cart-page/editor.scss?313d","webpack://ecwid-blocks/./js/gutenberg/src/cart-page/style.scss","webpack://ecwid-blocks/./js/gutenberg/src/categories/block.jsx","webpack://ecwid-blocks/./js/gutenberg/src/categories/editor.scss?a4b6","webpack://ecwid-blocks/./js/gutenberg/src/categories/style.scss","webpack://ecwid-blocks/./js/gutenberg/src/category-page/block.jsx","webpack://ecwid-blocks/./js/gutenberg/src/category-page/editor.scss?39f2","webpack://ecwid-blocks/./js/gutenberg/src/category-page/style.scss","webpack://ecwid-blocks/./js/gutenberg/src/filters-page/block.jsx","webpack://ecwid-blocks/./js/gutenberg/src/filters-page/editor.scss?ca7d","webpack://ecwid-blocks/./js/gutenberg/src/filters-page/style.scss","webpack://ecwid-blocks/./js/gutenberg/src/includes/color.js","webpack://ecwid-blocks/./js/gutenberg/src/includes/controls.js","webpack://ecwid-blocks/./js/gutenberg/src/includes/icons.js","webpack://ecwid-blocks/./js/gutenberg/src/includes/utils.js","webpack://ecwid-blocks/./js/gutenberg/src/index.js","webpack://ecwid-blocks/./js/gutenberg/src/minicart/block.jsx","webpack://ecwid-blocks/./js/gutenberg/src/minicart/editor.scss?32f5","webpack://ecwid-blocks/./js/gutenberg/src/minicart/style.scss","webpack://ecwid-blocks/./js/gutenberg/src/product-page/block.jsx","webpack://ecwid-blocks/./js/gutenberg/src/product-page/editor.scss?b002","webpack://ecwid-blocks/./js/gutenberg/src/product-page/style.scss","webpack://ecwid-blocks/./js/gutenberg/src/product/block.jsx","webpack://ecwid-blocks/./js/gutenberg/src/product/editor.scss?187e","webpack://ecwid-blocks/./js/gutenberg/src/product/style.scss","webpack://ecwid-blocks/./js/gutenberg/src/search/block.jsx","webpack://ecwid-blocks/./js/gutenberg/src/search/editor.scss?4213","webpack://ecwid-blocks/./js/gutenberg/src/search/style.scss","webpack://ecwid-blocks/./js/gutenberg/src/store/block.jsx","webpack://ecwid-blocks/./js/gutenberg/src/store/editor.scss?e921","webpack://ecwid-blocks/./js/gutenberg/src/store/style.scss","webpack://ecwid-blocks/external window [\"wp\",\"blockEditor\"]","webpack://ecwid-blocks/external window [\"wp\",\"blocks\"]","webpack://ecwid-blocks/external window [\"wp\",\"components\"]","webpack://ecwid-blocks/external window [\"wp\",\"element\"]","webpack://ecwid-blocks/external window [\"wp\",\"i18n\"]","webpack://ecwid-blocks/external window \"ReactJSXRuntime\"","webpack://ecwid-blocks/webpack/bootstrap","webpack://ecwid-blocks/webpack/runtime/chunk loaded","webpack://ecwid-blocks/webpack/runtime/compat get default export","webpack://ecwid-blocks/webpack/runtime/define property getters","webpack://ecwid-blocks/webpack/runtime/hasOwnProperty shorthand","webpack://ecwid-blocks/webpack/runtime/make namespace object","webpack://ecwid-blocks/webpack/runtime/jsonp chunk loading","webpack://ecwid-blocks/webpack/before-startup","webpack://ecwid-blocks/webpack/startup","webpack://ecwid-blocks/webpack/after-startup"],"sourcesContent":["import { registerBlockType } from '@wordpress/blocks';\nimport { InspectorControls } from '@wordpress/block-editor';\nimport { PanelBody, ToggleControl } from '@wordpress/components';\nimport { __ } from '@wordpress/i18n';\n\nimport './style.scss';\nimport './editor.scss';\n\nimport { EcwidIcons } from '../includes/icons.js';\nimport { EcwidProductBrowserBlock } from '../includes/controls.js';\n\nregisterBlockType('ec-store/buynow', {\n title: __('Buy Now Button', 'ecwid-shopping-cart'),\n icon: EcwidIcons.button,\n category: 'ec-store', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.\n attributes: {\n id: { type: 'integer' },\n show_price_on_button: { type: 'boolean', default: true },\n center_align: { type: 'boolean', default: true }\n },\n description: __('Display a buy button', 'ecwid-shopping-cart'),\n supports: {\n customClassName: false,\n className: false,\n html: false,\n align: true,\n alignWide: false,\n inserter: EcwidGutenbergParams.isApiAvailable,\n isPrivate: !EcwidGutenbergParams.isApiAvailable\n },\n example: {},\n\n /**\n * The edit function describes the structure of your block in the context of the editor.\n * This represents what the editor will render when the block is used.\n *\n * The \"edit\" property must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n edit: function (props) {\n\n const { attributes } = props;\n\n const saveCallback = function (params) {\n\n const attributes = {\n 'id': params.newProps.id\n };\n\n EcwidGutenbergParams.products[params.newProps.id] = {\n name: params.newProps.product.name,\n imageUrl: params.newProps.product.thumb\n };\n\n params.originalProps.setAttributes(attributes);\n };\n\n const editor =\n \n
\n
\n
\n\n {!attributes.id &&\n
\n \n
\n }\n\n ;\n\n function buildToggle(props, name, label) {\n return props.setAttributes({ [name]: !props.attributes[name] })}\n __nextHasNoMarginBottom={true}\n />\n }\n\n function openEcwidProductPopup(props) {\n ecwid_open_product_popup({ 'saveCallback': saveCallback, 'props': props });\n }\n\n return ([\n editor,\n \n {attributes.id &&\n \n
\n \n
\n\n
\n\n {EcwidGutenbergParams.products && EcwidGutenbergParams.products[attributes.id] &&\n \n }\n\n \n
\n
\n }\n\n {!attributes.id &&\n \n \n \n }\n\n \n {buildToggle(props, 'show_price_on_button', __('Show price inside the «Buy now» button', 'ecwid-shopping-cart'))}\n {buildToggle(props, 'center_align', __('Center align on a page', 'ecwid-shopping-cart'))}\n \n
\n ]);\n },\n\n save: function (props) {\n return false;\n },\n\n});\n","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","import { registerBlockType } from '@wordpress/blocks';\nimport { BaseControl } from '@wordpress/components';\nimport { __ } from '@wordpress/i18n';\n\nimport './style.scss';\nimport './editor.scss';\n\nimport { EcwidIcons } from '../includes/icons.js';\nimport { EcwidProductBrowserBlock } from '../includes/controls.js';\n\nconst blockName = 'ec-store/cart-page';\nconst blockParams = EcwidGutenbergParams.blockParams[blockName];\n\n/**\n * Register: aa Gutenberg Block.\n *\n * Registers a new block provided a unique name and an object defining its\n * behavior. Once registered, the block is made editor as an option to any\n * editor interface where blocks are implemented.\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 */\nregisterBlockType('ec-store/cart-page', {\n title: __('Cart and Checkout', 'ecwid-shopping-cart'), // Block title.\n icon: EcwidIcons.cartPage,\n category: 'ec-store', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.\n attributes: blockParams.attributes,\n description: __('Display shopping cart and checkout page', 'ecwid-shopping-cart'),\n supports: {\n customClassName: false,\n className: false,\n html: false,\n multiple: false,\n inserter: EcwidGutenbergParams.isWidgetsScreen ? false : true\n },\n example: {},\n\n /**\n * The edit function describes the structure of your block in the context of the editor.\n * This represents what the editor will render when the block is used.\n *\n * The \"edit\" property must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n edit: function (props) {\n\n const { attributes } = props;\n\n\n const editor =\n \n
\n
\n
\n ;\n\n return ([\n editor\n ]);\n },\n\n save: function (props) {\n return null;\n }\n});\n","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","import { registerBlockType } from '@wordpress/blocks';\nimport { __ } from '@wordpress/i18n';\n\nimport './style.scss';\nimport './editor.scss';\n\nimport { EcwidIcons } from '../includes/icons.js';\n\nif (!EcwidGutenbergParams.isDemoStore) {\n\n const {\n InspectorControls\n } = wp.blockEditor;\n\n const {\n PanelBody\n } = wp.components;\n\n const blockName = 'ec-store/categories';\n\n const blockParams = EcwidGutenbergParams.blockParams[blockName];\n\n /**\n * Register: aa Gutenberg Block.\n *\n * Registers a new block provided a unique name and an object defining its\n * behavior. Once registered, the block is made editor as an option to any\n * editor interface where blocks are implemented.\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 registerBlockType('ec-store/categories', {\n title: __('Store Categories Menu', 'ecwid-shopping-cart'),\n icon: EcwidIcons.categories,\n category: 'ec-store', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.\n description: __('Display categories navigation bar', 'ecwid-shopping-cart'),\n supports: {\n customClassName: false,\n className: false,\n html: false,\n multiple: false,\n inserter: EcwidGutenbergParams.isApiAvailable,\n isPrivate: !EcwidGutenbergParams.isApiAvailable\n },\n example: {},\n\n /**\n * The edit function describes the structure of your block in the context of the editor.\n * This represents what the editor will render when the block is used.\n *\n * The \"edit\" property must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n edit: function (props) {\n\n const { attributes } = props;\n\n const editor =
\n
\n
{__('Categories', 'ecwid-shopping-cart')}
\n
\n
\n
;\n\n const message = __('The block is hidden because you don\\'t have categories in your store. Add categories.', 'ecwid-shopping-cart');\n\n return ([\n editor,\n \n \n
\n\n {!blockParams.has_categories &&\n
\n }\n \n \n ]);\n },\n\n save: function (props) {\n return false;\n },\n\n });\n\n}\n","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","import { registerBlockType } from '@wordpress/blocks';\nimport { InspectorControls } from '@wordpress/block-editor';\nimport { PanelBody, BaseControl } from '@wordpress/components';\nimport { __ } from '@wordpress/i18n';\n\nimport './style.scss';\nimport './editor.scss';\n\nimport { EcwidIcons } from '../includes/icons.js';\nimport { EcwidControls, EcwidInspectorSubheader, EcwidProductBrowserBlock } from '../includes/controls.js';\nimport { buildDangerousHTMLMessageWithTitle } from '../includes/utils.js';\n\nconst blockName = 'ec-store/category-page';\nconst blockParams = EcwidGutenbergParams.blockParams[blockName];\n\n/**\n * Register: Gutenberg Block.\n *\n * Registers a new block provided a unique name and an object defining its\n * behavior. Once registered, the block is made editor as an option to any\n * editor interface where blocks are implemented.\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\nregisterBlockType('ec-store/category-page', {\n title: __('Store Category Page', 'ecwid-shopping-cart'), // Block title.\n icon: EcwidIcons.category,\n category: 'ec-store', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.\n attributes: EcwidGutenbergStoreBlockParams.attributes,\n description: __('Display category page', 'ecwid-shopping-cart'),\n supports: {\n customClassName: false,\n className: false,\n html: false,\n multiple: false,\n inserter: EcwidGutenbergParams.isWidgetsScreen ? false : true\n },\n example: {},\n\n /**\n * The edit function describes the structure of your block in the context of the editor.\n * This represents what the editor will render when the block is used.\n *\n * The \"edit\" property must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n edit: function (props) {\n\n const { attributes } = props;\n\n // legacy reset \n props.setAttributes({ widgets: '' });\n\n const editor =\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
;\n\n const productMigrationWarning = buildDangerousHTMLMessageWithTitle(\n '',\n __('To improve the look and feel of your store and manage your storefront appearance here, please enable the “Next-gen look and feel of the product list on the storefront” option in your store dashboard (“Settings → What’s New”).', 'ecwid-shopping-cart')\n );\n\n const cartIconMessage = buildDangerousHTMLMessageWithTitle(\n __('Display cart icon', 'ecwid-shopping-cart'),\n blockParams.customizeMinicartText\n );\n\n const isNewProductList = blockParams.isNewProductList;\n const isNewDetailsPage = blockParams.isNewDetailsPage;\n\n const controls = EcwidControls(blockParams.attributes, props);\n\n return ([\n editor,\n \n\n \n {!EcwidGutenbergParams.hasCategories &&\n \n }\n\n {EcwidGutenbergParams.hasCategories &&\n [\n !props.attributes.default_category_id &&\n controls.select('default_category_id', __('Select category', 'ecwid-shopping-cart')),\n props.attributes.default_category_id &&\n controls.select('default_category_id', __('Selected category', 'ecwid-shopping-cart'))\n ]\n }\n \n\n \n {isNewProductList &&\n [\n controls.select('product_list_category_title_behavior'),\n attributes.product_list_category_title_behavior !== 'SHOW_TEXT_ONLY' &&\n [\n controls.buttonGroup('product_list_category_image_size'),\n controls.toolbar('product_list_category_image_aspect_ratio'),\n ]\n ]\n }\n {!isNewProductList && productMigrationWarning}\n \n\n \n {isNewProductList &&\n [\n controls.toggle('product_list_show_product_images'),\n attributes.product_list_show_product_images && [\n controls.buttonGroup('product_list_image_size'),\n controls.toolbar('product_list_image_aspect_ratio')\n ],\n controls.toolbar('product_list_product_info_layout'),\n controls.select('product_list_title_behavior'),\n controls.select('product_list_price_behavior'),\n controls.select('product_list_sku_behavior'),\n controls.select('product_list_buybutton_behavior'),\n controls.toggle('product_list_show_additional_image_on_hover'),\n controls.toggle('product_list_show_frame')\n ]\n }\n {!isNewProductList && productMigrationWarning}\n \n\n \n {isNewDetailsPage &&\n [\n controls.select('product_details_layout'),\n (attributes.product_details_layout === 'TWO_COLUMNS_SIDEBAR_ON_THE_RIGHT'\n || attributes.product_details_layout === 'TWO_COLUMNS_SIDEBAR_ON_THE_LEFT') &&\n controls.toggle('show_description_under_image'),\n controls.toolbar('product_details_gallery_layout'),\n EcwidInspectorSubheader(__('Product sidebar content', 'ecwid-shopping-cart')),\n controls.toggle('product_details_show_product_name'),\n controls.toggle('product_details_show_breadcrumbs'),\n controls.toggle('product_details_show_product_sku'),\n controls.toggle('product_details_show_product_price'),\n controls.toggle('product_details_show_qty'),\n controls.toggle('product_details_show_weight'),\n controls.toggle('product_details_show_number_of_items_in_stock'),\n controls.toggle('product_details_show_in_stock_label'),\n controls.toggle('product_details_show_wholesale_prices'),\n controls.toggle('product_details_show_share_buttons'),\n controls.toggle('product_details_show_navigation_arrows'),\n controls.toggle('product_details_show_product_photo_zoom'),\n ]\n }\n {!isNewDetailsPage && productMigrationWarning}\n \n \n {controls.toggle('show_categories')}\n {controls.toggle('show_search')}\n {controls.toggle('show_breadcrumbs')}\n {isNewProductList && controls.toggle('show_footer_menu')}\n {controls.toggle('show_signin_link')}\n {controls.toggle('product_list_show_sort_viewas_options')}\n {cartIconMessage}\n \n \n {controls.color('chameleon_color_button')}\n {controls.color('chameleon_color_foreground')}\n {controls.color('chameleon_color_price')}\n {controls.color('chameleon_color_link')}\n {controls.color('chameleon_color_background')}\n \n \n ]);\n },\n\n save: function (props) {\n return null;\n },\n});\n","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","import { registerBlockType } from '@wordpress/blocks';\nimport { InspectorControls } from '@wordpress/block-editor';\nimport { PanelBody, BaseControl } from '@wordpress/components';\nimport { __ } from '@wordpress/i18n';\n\nimport './style.scss';\nimport './editor.scss';\n\nimport { EcwidIcons } from '../includes/icons.js';\nimport { EcwidControls, EcwidProductBrowserBlock, EcwidStoreBlockInner } from '../includes/controls.js';\nimport { buildDangerousHTMLMessageWithTitle } from '../includes/utils.js';\n\nconst blockName = 'ec-store/filters-page';\nconst blockParams = EcwidGutenbergParams.blockParams[blockName];\n\n/**\n * Register: aa Gutenberg Block.\n *\n * Registers a new block provided a unique name and an object defining its\n * behavior. Once registered, the block is made editor as an option to any\n * editor interface where blocks are implemented.\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 */\nregisterBlockType('ec-store/filters-page', {\n title: __('Product Search and filters', 'ecwid-shopping-cart'), // Block title.\n icon: EcwidIcons.filters,\n category: 'ec-store', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.\n attributes: blockParams.attributes,\n description: __('Display search page with filters on a side', 'ecwid-shopping-cart'),\n supports: {\n customClassName: false,\n className: false,\n html: false,\n multiple: false,\n inserter: EcwidGutenbergParams.isWidgetsScreen ? false : true\n },\n example: {},\n\n /**\n * The edit function describes the structure of your block in the context of the editor.\n * This represents what the editor will render when the block is used.\n *\n * The \"edit\" property must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n edit: function (props) {\n\n const { attributes } = props;\n\n const editor =\n \n \n ;\n /* const editor =\n
\n
\n { EcwidIcons.filters }\n { __( 'Filters Page', 'ecwid-shopping-cart' ) }\n
\n
\n
\n { blockParams.isDemoStore &&\n \n }\n
\n ;*/\n\n const filtersDisabledMessage = buildDangerousHTMLMessageWithTitle(\n '',\n __('You can enable filters in the store settings: (“Settings → Product Filters”).', 'ecwid-shopping-cart')\n );\n\n const productMigrationWarning = buildDangerousHTMLMessageWithTitle(\n '',\n __('To improve the look and feel of your store and manage your storefront appearance here, please enable the “Next-gen look and feel of the product list on the storefront” option in your store dashboard (“Settings → What’s New”).', 'ecwid-shopping-cart')\n );\n\n const isNewProductList = blockParams.isNewProductList;\n\n const controls = EcwidControls(blockParams.attributes, props);\n\n return ([\n editor,\n \n \n {!blockParams.filtersEnabled && filtersDisabledMessage}\n {blockParams.filtersEnabled &&\n [\n controls.select('product_filters_position_search_page')\n ]\n }\n \n\n \n {isNewProductList &&\n [\n controls.toggle('product_list_show_product_images'),\n attributes.product_list_show_product_images && [\n controls.buttonGroup('product_list_image_size'),\n controls.toolbar('product_list_image_aspect_ratio')\n ],\n controls.toolbar('product_list_product_info_layout'),\n controls.select('product_list_title_behavior'),\n controls.select('product_list_price_behavior'),\n controls.select('product_list_sku_behavior'),\n controls.select('product_list_buybutton_behavior'),\n controls.toggle('product_list_show_additional_image_on_hover'),\n controls.toggle('product_list_show_frame')\n ]\n }\n {!isNewProductList && productMigrationWarning}\n \n\n \n {controls.toggle('show_categories')}\n {controls.toggle('show_breadcrumbs')}\n {isNewProductList && controls.toggle('show_footer_menu')}\n {controls.toggle('show_signin_link')}\n {controls.toggle('product_list_show_sort_viewas_options')}\n \n\n \n {controls.color('chameleon_color_button')}\n {controls.color('chameleon_color_foreground')}\n {controls.color('chameleon_color_price')}\n {controls.color('chameleon_color_link')}\n {controls.color('chameleon_color_background')}\n \n \n ]);\n },\n\n save: function (props) {\n return null;\n }\n});\n","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","import { __ } from '@wordpress/i18n';\nimport { BaseControl, ColorPalette, ColorIndicator } from '@wordpress/components';\nimport { useState } from '@wordpress/element';\n\nconst colors = [{\n name: __(\"Pale pink\"),\n slug: \"pale-pink\",\n color: \"#f78da7\"\n}, {\n name: __(\"Vivid red\"),\n slug: \"vivid-red\",\n color: \"#cf2e2e\"\n}, {\n name: __(\"Luminous vivid orange\"),\n slug: \"luminous-vivid-orange\",\n color: \"#ff6900\"\n}, {\n name: __(\"Luminous vivid amber\"),\n slug: \"luminous-vivid-amber\",\n color: \"#fcb900\"\n}, {\n name: __(\"Light green cyan\"),\n slug: \"light-green-cyan\",\n color: \"#7bdcb5\"\n}, {\n name: __(\"Vivid green cyan\"),\n slug: \"vivid-green-cyan\",\n color: \"#00d084\"\n}, {\n name: __(\"Pale cyan blue\"),\n slug: \"pale-cyan-blue\",\n color: \"#8ed1fc\"\n}, {\n name: __(\"Vivid cyan blue\"),\n slug: \"vivid-cyan-blue\",\n color: \"#0693e3\"\n}, {\n name: __(\"Very light gray\"),\n slug: \"very-light-gray\",\n color: \"#eeeeee\"\n}, {\n name: __(\"Cyan bluish gray\"),\n slug: \"cyan-bluish-gray\",\n color: \"#abb8c3\"\n}, {\n name: __(\"Very dark gray\"),\n slug: \"very-dark-gray\",\n color: \"#313131\"\n}];\n\nexport const ColorControl = ({ name, title, props }) => {\n const [manual, setManual] = useState(null);\n const [color, setColor] = useState(null);\n\n // Setting default value\n if (typeof props.attributes[name] === 'undefined') {\n props.attributes[name] = false;\n }\n\n const isManual =\n (manual === null && props.attributes[name] !== false && props.attributes[name] !== null && props.attributes[name] !== '') ||\n manual === 'manual';\n\n if (!isManual) {\n props.setAttributes({ [name]: false });\n } else if (color !== null) {\n props.setAttributes({ [name]: color === undefined ? false : color });\n }\n\n const currentValue = props.attributes[name] || '';\n\n const titleElement = (\n \n {title}\n {currentValue !== null && }\n \n );\n\n function handleColorChange(newColor) {\n setColor(newColor === undefined ? false : newColor);\n props.setAttributes({ [name]: newColor === undefined ? false : newColor });\n }\n\n function handleSelectChange(event) {\n const newValue = event.target.value;\n setManual(newValue);\n\n if (newValue === 'auto') {\n setColor(false);\n props.setAttributes({ [name]: false });\n }\n }\n\n return (\n \n \n\n {isManual && (\n \n )}\n \n );\n};","import { __ } from '@wordpress/i18n';\nimport { useState } from '@wordpress/element';\nimport {\n BaseControl,\n Button,\n ButtonGroup,\n Notice,\n RadioControl,\n ToggleControl,\n ToolbarGroup,\n} from '@wordpress/components';\n\nimport { EcwidIcons } from \"./icons.js\";\nimport { ColorControl } from \"./color.js\";\n\nfunction EcwidControls(declaration, properties) {\n\n const attributes = properties.attributes;\n\n let buildButtonGroup = function (props, name, label, items) {\n return \n \n {items.map(function (item) {\n return \n })}\n \n ;\n };\n\n let buildToggle = function (props, name, label) {\n return props.setAttributes({ [name]: !props.attributes[name] })}\n __nextHasNoMarginBottom={true}\n />\n };\n\n let buildSelect = function (props, name, label, items, callback = () => { }) {\n return \n \n ;\n };\n\n let buildTextbox = function (props, name, label) {\n return \n { props.setAttributes({ [name]: event.target.value }) }} />\n ;\n };\n\n let buildToolbar = function (props, name, label, items) {\n return \n \n props.setAttributes({ [name]: item.value })\n }\n })}\n />\n ;\n }\n\n let buildRadioButtonWithDescription = function (props, name, label, items) {\n\n const needShowCategories = props.attributes[name] == 'DEFAULT_CATEGORY_ID';\n const item = declaration['default_category_id'];\n\n let isPreviewInFrame = document.querySelector('[name=editor-canvas]') != null ? true : false;\n\n let w = window;\n if (isPreviewInFrame)\n w = document.querySelector('[name=editor-canvas]').contentWindow;\n\n const bodyDone = (value) => {\n if (typeof w.Ecwid != 'undefined' && value != 'FILTERS_PAGE') {\n\n if (w.document.getElementById('ec-store-preview') != null)\n w.document.getElementById('ec-store-preview').innerHTML = '';\n\n setTimeout(function () {\n // w.ecwid_onBodyDone();\n window.Ecwid.init()\n }, 300);\n }\n }\n\n let select = '';\n if (item.values && item.values.length > 1) {\n select = buildSelect(props, item.name, item.title, item.values, bodyDone);\n }\n\n let options = items.map(function (item) {\n return {\n value: item.value,\n label: (\n
\n {item.title}\n

{item.description}

\n {item.value == 'DEFAULT_CATEGORY_ID' && needShowCategories &&\n [select]\n }\n
\n )\n };\n });\n\n return \n { props.setAttributes({ [name]: value }); bodyDone(value); }}\n />\n \n }\n\n return {\n buttonGroup: function (name) {\n const item = declaration[name];\n\n if (typeof properties.attributes[name] == 'undefined') {\n properties.attributes[name] = item.default;\n }\n\n return buildButtonGroup(properties, item.name, item.title, item.values);\n },\n toggle: function (name) {\n const item = declaration[name];\n\n if (typeof properties.attributes[name] == 'undefined') {\n properties.attributes[name] = item.default;\n }\n\n return buildToggle(properties, item.name, item.title);\n },\n select: function (name, title = null) {\n const item = declaration[name];\n\n if (typeof properties.attributes[name] == 'undefined') {\n properties.attributes[name] = item.default;\n }\n\n return buildSelect(properties, item.name, title ? title : item.title, item.values);\n },\n textbox: function (name) {\n const item = declaration[name];\n\n return builtTextbox(properties, item.name, item.title);\n },\n toolbar: function (name) {\n const item = declaration[name];\n\n if (typeof properties.attributes[name] == 'undefined') {\n properties.attributes[name] = item.default;\n }\n\n return buildToolbar(properties, item.name, item.title, item.values);\n },\n color: function (name) {\n return \n },\n defaultCategoryId: function (name) {\n const item = declaration[name];\n\n if (item.values && item.values.length > 1) {\n if (typeof properties.attributes[name] == 'undefined') {\n properties.attributes[name] = item.default;\n }\n\n return buildSelect(properties, item.name, item.title, item.values);\n } else {\n return buildTextbox(properties, item.name, item.title);\n }\n },\n radioButtonWithDescription: function (name) {\n const item = declaration[name];\n\n if (typeof properties.attributes[name] == 'undefined') {\n properties.attributes[name] = item.default;\n }\n\n return buildRadioButtonWithDescription(properties, item.name, item.title, item.values);\n }\n }\n\n}\n\nfunction EcwidInspectorSubheader(title) {\n return
\n \n
\n};\n\nfunction trackDynamicProperties(currentDocument, props, dynamicProps) {\n\n const blockProps = props.props;\n const dynamicProperties = dynamicProps.split(' ');\n\n const blockId = blockProps.clientId;\n const wrapperId = '#ec-store-block-' + blockId;\n\n const storedData = jQuery(currentDocument).find(wrapperId).data('ec-store-block-stored-properties');\n\n let changed = false;\n\n let propValues = {};\n\n for (let i = 0; i < dynamicProperties.length; i++) {\n let name = dynamicProperties[i];\n\n if (!storedData || blockProps.attributes[name] != storedData[name]) {\n changed = true;\n }\n\n propValues[name] = blockProps.attributes[name];\n }\n\n jQuery(currentDocument).find(wrapperId).data('ec-store-block-stored-properties', propValues);\n\n return changed;\n}\n\nfunction EcwidProductBrowserBlock(props) {\n const blockProps = props.props;\n const attributes = props.attributes;\n const blockId = blockProps.clientId;\n const showCats = blockProps.attributes.show_categories;\n const showSearch = blockProps.attributes.show_search;\n const render = typeof props.render === 'undefined' ? true : props.render;\n const wrapperId = 'ec-store-block-' + blockId;\n\n const isPreviewInFrame = () => {\n return document.querySelector('[name=editor-canvas]') != null ? true : false;\n }\n\n const getPreviewFrameContent = () => {\n return document.querySelector('[name=editor-canvas]').contentWindow;\n }\n\n let w = window;\n if (isPreviewInFrame()) w = getPreviewFrameContent();\n\n let widget = \"productbrowser\";\n\n let args = '';\n if (blockProps.attributes.default_category_id) {\n args = \"defaultCategoryId=\" + blockProps.attributes.default_category_id;\n } else if (blockProps.attributes.default_product_id) {\n args = \"defaultProductId=\" + blockProps.attributes.default_product_id;\n }\n\n let className = '';\n\n if (!props.isLivePreviewEnabled) {\n className = \"ec-store-generic-block ec-store-dynamic-block\";\n\n if (!render || !w.document.getElementById(wrapperId) || !w.document.getElementById(wrapperId).getAttribute('data-ec-store-rendered')) {\n className += \" ec-store-block\";\n }\n\n if (showCats) {\n className += \" ec-store-with-categories\";\n }\n\n if (showSearch) {\n className += \" ec-store-with-search\";\n }\n\n className += \" ec-store-with-stub\";\n }\n\n let changed = trackDynamicProperties(w.document, props, \"default_product_id default_category_id show_search show_categories\");\n\n if (render && changed) {\n\n w.document.getElementById(wrapperId)\n && w.document.getElementById(wrapperId).removeAttribute('data-ec-store-rendered');\n\n if (\"undefined\" != typeof EcwidGutenberg) {\n setTimeout(function () {\n EcwidGutenberg.refresh()\n });\n }\n }\n\n w.ec = w.ec || {};\n w.ec.storefront = w.ec.storefront || {};\n w.ec.config = w.ec.config || {};\n w.ec.config.chameleon = w.ec.config.chameleon || {};\n w.ec.config.chameleon.colors = {};\n w.ec.config.disable_all_cookies = true;\n\n Object.keys(attributes).map((i) => {\n let value = typeof blockProps.attributes[i] !== 'undefined' ?\n blockProps.attributes[i] : attributes.default;\n\n if (i.indexOf('chameleon') !== -1) {\n if (value) {\n w.ec.config.chameleon.colors['color-' + i.substring(16)] = value;\n }\n } else {\n if (typeof value != 'undefined') {\n w.ec.storefront[i] = value;\n }\n }\n });\n\n delete w.ec.storefront.enable_catalog_on_one_page;\n delete w.ec.storefront.show_root_categories;\n\n if (!!props.isLivePreviewEnabled) {\n\n const [lastBlockId, setLastBlockId] = useState('');\n\n const openPage = (page, params = {}) => {\n if (props.isProductPage) return;\n\n if (\"undefined\" != typeof w.Ecwid && w.Ecwid.openPage) {\n w.Ecwid.openPage(page, params);\n }\n }\n\n const clearUrlHash = () => {\n history.replaceState(null, null, ' ');\n }\n\n switch (attributes.storefront_view) {\n case 'EXPAND_CATEGORIES':\n w.ec.storefront.enable_catalog_on_one_page = true;\n clearUrlHash();\n break;\n\n case 'SHOW_ROOT_CATEGORIES':\n w.ec.storefront.show_root_categories = false;\n clearUrlHash();\n break;\n\n case 'FILTERS_PAGE':\n openPage(\"search\");\n break;\n\n case 'DEFAULT_CATEGORY_ID':\n case 'COLLAPSE_CATEGORIES':\n default:\n w.ec.storefront.enable_catalog_on_one_page = false;\n clearUrlHash();\n }\n\n const loadScriptJS = (el) => {\n\n if (el == null) return;\n\n if (typeof w.Ecwid != 'undefined') {\n w.Ecwid.OnAPILoaded.add(() => {\n w.Ecwid.refreshConfig();\n });\n }\n\n w.ecwid_script_defer = true;\n w.ecwid_dynamic_widgets = true;\n w._xnext_initialization_scripts = [];\n\n localStorage.setItem('ec_disabled_apps', \"all\");\n\n let was_opened_once = false;\n let searchNode = w.document.getElementById('ec-store-search-preview');\n let hasSearchBoxAdded = searchNode && searchNode.childNodes && searchNode.childNodes.length > 0;\n\n if (!!props.attributes.show_search && !hasSearchBoxAdded) {\n w._xnext_initialization_scripts.push({\n widgetType: 'SearchWidget',\n id: 'ec-store-search-preview',\n arg: [\"id=ec-store-search-preview\"]\n });\n }\n\n if (!!props.attributes.show_categories) {\n w._xnext_initialization_scripts.push({\n widgetType: 'CategoriesV2',\n id: 'ec-store-categories-preview',\n arg: [\"id=ec-store-categories-preview\"]\n });\n }\n\n w._xnext_initialization_scripts.push({\n widgetType: 'ProductBrowser',\n id: 'ec-store-preview',\n arg: [args]\n });\n\n if (!w.document.getElementById('ec-store-script')) {\n var script = w.document.createElement('script');\n script.type = 'text/javascript';\n script.id = 'ec-store-script';\n script.src = EcwidGutenbergParams.scriptJsUrl;\n\n el.innerHTML = '';\n el.appendChild(script);\n\n script.addEventListener('load', function () {\n if (typeof w.Ecwid == 'undefined') {\n return;\n }\n\n var nodes = w.document.getElementsByClassName('ec-cart-widget')\n if (nodes.length > 0) {\n w.Ecwid.init();\n }\n\n w.Ecwid.OnAPILoaded.add(function () {\n if (attributes.storefront_view == 'FILTERS_PAGE' && !was_opened_once) {\n openPage(\"search\");\n was_opened_once = true;\n }\n });\n\n setLastBlockId(blockId);\n });\n } else {\n if (typeof w.Ecwid != 'undefined') {\n\n if (lastBlockId != blockId) {\n setLastBlockId(blockId);\n w.Ecwid.init()\n }\n\n if (changed) {\n w.document.getElementById('ec-store-preview').innerHTML = '';\n w.Ecwid.init()\n }\n }\n }\n }\n\n const noticeActions = [{\n 'label': __('Set up your store', 'ecwid-shopping-cart'),\n 'url': 'admin.php?page=ec-store',\n 'variant': 'primary'\n }];\n\n return \n\n {props.attributes.show_search &&\n
\n }\n\n {props.attributes.show_categories &&\n
\n }\n\n
\n\n
\n\n {props.showDemoButton &&\n \n
\n {__('This is a demo store. Create your store to see your store products here.', 'ecwid-shopping-cart')}\n
\n
\n }\n\n
\n } else {\n return \n\n
\n {props.icon}\n {props.title}\n
\n
\n {props.children}\n
\n {props.showDemoButton &&\n \n }\n
\n }\n};\n\nfunction EcwidStoreBlockInner(props) {\n\n let products = function (title = '') {\n\n if (title != '') {\n title =
{title}
\n }\n\n return
\n
{__('Categories', 'ecwid-shopping-cart')}
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
{__('Featured Products', 'ecwid-shopping-cart')}
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
;\n }\n\n let only_featured_products = function () {\n\n return
\n
{__('Featured Products', 'ecwid-shopping-cart')}
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
;\n }\n\n let category = function () {\n return
\n
{__('Category #1', 'ecwid-shopping-cart')}
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
;\n }\n\n let menu_mode = function () {\n return
\n
{__('Category #1', 'ecwid-shopping-cart')}
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
{__('Category #2', 'ecwid-shopping-cart')}
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
;\n }\n\n let filter = function (class_name = '') {\n return
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
;\n }\n\n switch (props.state) {\n case 'EXPAND_CATEGORIES':\n return menu_mode();\n\n case 'SHOW_ROOT_CATEGORIES':\n return only_featured_products();\n\n case 'DEFAULT_CATEGORY_ID':\n return category();\n\n case 'FILTERS_PAGE':\n return filter();\n\n case 'SEARCH_FILTERS_PAGE':\n return filter('ec-store-block-filters-page');\n\n default:\n return products();\n }\n}\n\nexport { EcwidControls, EcwidInspectorSubheader, EcwidProductBrowserBlock, EcwidStoreBlockInner };\n","const EcwidIcons = {\n\tecwid: \n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t,\n\tstore:\n\t\t\n\t\t \n\t\t \n\t\t \n\t\t \n\t\t,\n\tproduct:\n\t\t\n\t\t \n\t\t \n\t\t \n\t\t \n\t\t,\n\taspect169: \n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t,\n\taspect916: \n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t,\n\taspect11: \n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t,\n\taspect34:\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t,\n\taspect43:\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t,\n textalignleft:\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t,\n\ttextaligncenter:\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t,\n\ttextalignright:\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n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\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t,\n\tcategory:\n\t\t\n\t\t \n\t\t,\n\tbutton:\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t,\n\tproductPreview:\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t,\n\tfilters:\n\t\t\n\t\t \n\t\t \n\t\t \n\t\t \n\t\t \n\t\t,\n\tcartPage:\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t,\n\tlatestProducts:\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t,\n};\n\nexport { EcwidIcons };\n","import { BaseControl } from '@wordpress/components';\n\n/**\n * Returns a message with HTML inside, safely wrapped in BaseControl\n * @param {string} title - Block title\n * @param {string} message - HTML message (will be inserted as innerHTML)\n */\nexport function buildDangerousHTMLMessageWithTitle(title, message) {\n return (\n \n
\n \n );\n}\n","/**\n * Gutenberg Blocks\n *\n * All blocks related JavaScript files should be imported here.\n * You can create a new block folder in this dir and include code\n * for that block here as well.\n *\n * All blocks should be included here since this is the file that\n * Webpack is compiling as the input file.\n */\n\nimport { EcwidIcons } from './includes/icons.js';\nwp.blocks.updateCategory('ec-store', { icon: EcwidIcons.ecwid });\n\nimport './store/block.jsx';\nimport './product/block.jsx';\nimport './buynow/block.jsx';\nimport './search/block.jsx';\nimport './categories/block.jsx';\nimport './minicart/block.jsx';\nimport './category-page/block.jsx';\nimport './product-page/block.jsx';\nimport './filters-page/block.jsx';\nimport './cart-page/block.jsx';","import { registerBlockType } from '@wordpress/blocks';\nimport { InspectorControls } from '@wordpress/block-editor';\nimport { PanelBody } from '@wordpress/components';\nimport { __ } from '@wordpress/i18n';\n\nimport './style.scss';\nimport './editor.scss';\n\nimport { EcwidIcons } from '../includes/icons.js';\nimport { EcwidControls } from '../includes/controls.js';\n\n/**\n * Register: aa Gutenberg Block.\n *\n * Registers a new block provided a unique name and an object defining its\n * behavior. Once registered, the block is made editor as an option to any\n * editor interface where blocks are implemented.\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 */\nregisterBlockType('ec-store/minicart', {\n title: __('Shopping Cart Icon', 'ecwid-shopping-cart'),\n icon: EcwidIcons.cart,\n category: 'ec-store', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.\n description: __('Display shopping bag link and summary', 'ecwid-shopping-cart'),\n supports: {\n customClassName: false,\n className: false,\n html: false,\n inserter: EcwidGutenbergParams.isApiAvailable,\n isPrivate: !EcwidGutenbergParams.isApiAvailable,\n align: true,\n alignWide: false\n },\n attributes: EcwidGutenbergParams.minicartAttributes,\n example: {},\n\n /**\n * The edit function describes the structure of your block in the context of the editor.\n * This represents what the editor will render when the block is used.\n *\n * The \"edit\" property must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n edit: function (props) {\n\n const { attributes } = props;\n\n const controls = EcwidControls(EcwidGutenbergParams.minicartAttributes, props)\n\n function buildItem(props, name, type) {\n\n const item = EcwidGutenbergParams.minicartAttributes[name];\n\n if (typeof type === 'undefined') {\n type = item.type;\n }\n\n return controls.select(name);\n }\n\n const editor =
\n
\n
\n
;\n\n return ([\n editor,\n \n \n {buildItem(props, 'layout', 'select')}\n {buildItem(props, 'icon', 'select')}\n {buildItem(props, 'fixed_shape', 'select')}\n \n \n ]);\n },\n\n save: function (props) {\n return false;\n },\n\n});\n","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","import { registerBlockType } from '@wordpress/blocks';\nimport { InspectorControls } from '@wordpress/block-editor';\nimport { PanelBody, BaseControl } from '@wordpress/components';\nimport { __ } from '@wordpress/i18n';\n\nimport './style.scss';\nimport './editor.scss';\n\nimport { EcwidIcons } from '../includes/icons.js';\nimport { EcwidControls, EcwidInspectorSubheader, EcwidProductBrowserBlock } from '../includes/controls.js';\nimport { buildDangerousHTMLMessageWithTitle } from '../includes/utils.js';\n\nconst blockName = 'ec-store/product-page';\nconst blockParams = EcwidGutenbergParams.blockParams[blockName];\n/**\n * Register: aa Gutenberg Block.\n *\n * Registers a new block provided a unique name and an object defining its\n * behavior. Once registered, the block is made editor as an option to any\n * editor interface where blocks are implemented.\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 */\nregisterBlockType('ec-store/product-page', {\n title: __('Product Card Large', 'ecwid-shopping-cart'),\n icon: EcwidIcons.product,\n category: 'ec-store', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.\n attributes: blockParams.attributes,\n description: __('Display product page with description and a buy button', 'ecwid-shopping-cart'),\n supports: {\n customClassName: false,\n className: false,\n html: false,\n multiple: false,\n inserter: EcwidGutenbergParams.isWidgetsScreen ? false : true\n },\n example: {},\n\n /**\n * The edit function describes the structure of your block in the context of the editor.\n * This represents what the editor will render when the block is used.\n *\n * The \"edit\" property must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n edit: function (props) {\n\n const { attributes } = props;\n\n const saveCallback = function (params) {\n\n const attributes = {\n 'default_product_id': params.newProps.product.id\n };\n\n EcwidGutenbergParams.products[params.newProps.product.id] = {\n name: params.newProps.product.name,\n imageUrl: params.newProps.product.thumb\n };\n\n params.originalProps.setAttributes(attributes);\n };\n\n function openEcwidProductPopup(props) {\n ecwid_open_product_popup({ 'saveCallback': saveCallback, 'props': props });\n }\n\n const editor =\n \n
\n {!attributes.default_product_id &&\n
\n \n
\n }\n ;\n\n const productMigrationWarning = buildDangerousHTMLMessageWithTitle(\n '',\n __('To improve the look and feel of your store and manage your storefront appearance here, please enable the “Next-gen look and feel of the product list on the storefront” option in your store dashboard (“Settings → What’s New”).', 'ecwid-shopping-cart')\n );\n\n const productDetailsMigrationWarning = buildDangerousHTMLMessageWithTitle(\n '',\n __('To improve the look and feel of your product page and manage your its appearance here, please enable the “Next-gen look and feel of the product page on the storefront” option in your store dashboard (“Settings → What’s New”).', 'ecwid-shopping-cart')\n );\n\n const isNewDetailsPage = blockParams.isNewDetailsPage;\n\n const controls = EcwidControls(blockParams.attributes, props);\n\n return ([\n editor,\n \n\n {attributes.default_product_id > 0 &&\n \n
\n \n
\n\n
\n\n {EcwidGutenbergParams.products && EcwidGutenbergParams.products[attributes.default_product_id] &&\n \n }\n\n \n
\n
\n }\n\n {!attributes.default_product_id &&\n \n \n \n }\n\n \n {isNewDetailsPage &&\n [\n controls.select('product_details_layout'),\n (attributes.product_details_layout === 'TWO_COLUMNS_SIDEBAR_ON_THE_RIGHT'\n || attributes.product_details_layout === 'TWO_COLUMNS_SIDEBAR_ON_THE_LEFT') &&\n controls.toggle('show_description_under_image'),\n controls.toolbar('product_details_gallery_layout'),\n EcwidInspectorSubheader(__('Product sidebar content', 'ecwid-shopping-cart')),\n controls.toggle('product_details_show_product_name'),\n controls.toggle('product_details_show_breadcrumbs'),\n controls.toggle('product_details_show_product_sku'),\n controls.toggle('product_details_show_product_price'),\n controls.toggle('product_details_show_qty'),\n controls.toggle('product_details_show_weight'),\n controls.toggle('product_details_show_number_of_items_in_stock'),\n controls.toggle('product_details_show_in_stock_label'),\n controls.toggle('product_details_show_wholesale_prices'),\n controls.toggle('product_details_show_share_buttons'),\n controls.toggle('product_details_show_navigation_arrows'),\n controls.toggle('product_details_show_product_photo_zoom'),\n ]\n }\n {!isNewDetailsPage && productMigrationWarning}\n \n \n {controls.color('chameleon_color_button')}\n {controls.color('chameleon_color_foreground')}\n {controls.color('chameleon_color_price')}\n {controls.color('chameleon_color_link')}\n {controls.color('chameleon_color_background')}\n \n
\n ]);\n },\n\n save: function (props) {\n return null;\n }\n});\n","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","import { registerBlockType } from '@wordpress/blocks';\nimport { InspectorControls } from '@wordpress/block-editor';\nimport { PanelBody, ToggleControl } from '@wordpress/components';\nimport { __, _x } from '@wordpress/i18n';\n\nimport './style.scss';\nimport './editor.scss';\n\nimport { EcwidIcons } from '../includes/icons.js';\nimport { EcwidProductBrowserBlock } from '../includes/controls.js';\n\nconst blockName = 'ecwid/product-block';\nconst blockParams = EcwidGutenbergParams.blockParams[blockName];\n\n/**\n * Register: aa Gutenberg Block.\n *\n * Registers a new block provided a unique name and an object defining its\n * behavior. Once registered, the block is made editor as an option to any\n * editor interface where blocks are implemented.\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 */\nregisterBlockType('ecwid/product-block', {\n title: __('Product Card Small', 'ecwid-shopping-cart'), // Block title.\n icon: EcwidIcons.product,\n category: 'ec-store', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.\n attributes: {\n id: { type: 'integer' },\n show_picture: { type: 'boolean', default: true },\n show_title: { type: 'boolean', default: true },\n show_price: { type: 'boolean', default: true },\n show_options: { type: 'boolean', default: true },\n show_qty: { type: 'boolean', default: false },\n show_addtobag: { type: 'boolean', default: true },\n show_price_on_button: { type: 'boolean', default: true },\n show_border: { type: 'boolean', default: true },\n center_align: { type: 'boolean', default: true }\n },\n description: __('Display product with a buy button', 'ecwid-shopping-cart'),\n alignWide: false,\n supports: {\n customClassName: false,\n className: false,\n html: false,\n align: true,\n inserter: EcwidGutenbergParams.isApiAvailable,\n isPrivate: !EcwidGutenbergParams.isApiAvailable\n },\n example: {},\n\n /**\n * The edit function describes the structure of your block in the context of the editor.\n * This represents what the editor will render when the block is used.\n *\n * The \"edit\" property must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n edit: function (props) {\n\n const { attributes } = props;\n\n const saveCallback = function (params) {\n\n const attributes = {\n 'id': params.newProps.product.id\n };\n\n EcwidGutenbergParams.products[params.newProps.product.id] = {\n name: params.newProps.product.name,\n imageUrl: params.newProps.product.thumb\n };\n\n params.originalProps.setAttributes(attributes);\n }\n\n const editor = \n
\n
\n\n {EcwidGutenbergParams.products && attributes.id && EcwidGutenbergParams.products[attributes.id] &&\n
\n \n
\n }\n\n {!attributes.id &&\n
\n }\n {!attributes.id &&\n
\n }\n\n {!attributes.id &&\n
\n \n
\n }\n\n {EcwidGutenbergParams.products && attributes.id && EcwidGutenbergParams.products[attributes.id] &&\n
\n {EcwidGutenbergParams.products[attributes.id].name}\n
\n }\n\n
\n
\n
;\n\n function buildToggle(props, name, label) {\n return props.setAttributes({ [name]: !props.attributes[name] })}\n __nextHasNoMarginBottom={true}\n />\n }\n\n function openEcwidProductPopup(props) {\n ecwid_open_product_popup({ 'saveCallback': saveCallback, 'props': props });\n }\n\n return ([\n editor,\n \n\n {attributes.id &&\n \n
\n \n
\n
\n\n {EcwidGutenbergParams.products && EcwidGutenbergParams.products[attributes.id] &&\n \n }\n\n \n
\n
\n }\n\n {!attributes.id &&\n \n \n \n }\n\n \n {buildToggle(props, 'show_picture', __('Picture', 'ecwid-shopping-cart'))}\n {buildToggle(props, 'show_title', __('Title', 'ecwid-shopping-cart'))}\n {buildToggle(props, 'show_price', __('Price', 'ecwid-shopping-cart'))}\n {buildToggle(props, 'show_options', __('Options', 'ecwid-shopping-cart'))}\n {buildToggle(props, 'show_qty', __('Quantity', 'ecwid-shopping-cart'))}\n {buildToggle(props, 'show_addtobag', __('«Buy now» button', 'ecwid-shopping-cart'))}\n \n\n \n {buildToggle(props, 'show_price_on_button', __('Show price inside the «Buy now» button', 'ecwid-shopping-cart'))}\n {buildToggle(props, 'show_border', __('Add border', 'ecwid-shopping-cart'))}\n {buildToggle(props, 'center_align', __('Center align on a page', 'ecwid-shopping-cart'))}\n \n
\n ]);\n },\n\n save: function (props) {\n return false;\n },\n\n});","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","import { registerBlockType } from '@wordpress/blocks';\nimport { __ } from '@wordpress/i18n';\n\nimport './style.scss';\nimport './editor.scss';\n\nimport { EcwidIcons } from '../includes/icons.js';\n\n/**\n * Register: aa Gutenberg Block.\n *\n * Registers a new block provided a unique name and an object defining its\n * behavior. Once registered, the block is made editor as an option to any\n * editor interface where blocks are implemented.\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 */\nregisterBlockType('ec-store/search', {\n title: __('Product Search Box', 'ecwid-shopping-cart'),\n icon: EcwidIcons.search,\n category: 'ec-store', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.\n description: __('Display search box', 'ecwid-shopping-cart'),\n supports: {\n customClassName: false,\n className: false,\n html: false,\n inserter: EcwidGutenbergParams.isApiAvailable,\n isPrivate: !EcwidGutenbergParams.isApiAvailable\n },\n example: {},\n\n /**\n * The edit function describes the structure of your block in the context of the editor.\n * This represents what the editor will render when the block is used.\n *\n * The \"edit\" property must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n edit: function (props) {\n\n const { attributes } = props;\n\n const editor =
\n
\n
;\n\n return ([\n editor\n ]);\n },\n\n save: function (props) {\n return false;\n },\n\n});","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","import { registerBlockType } from '@wordpress/blocks';\nimport { InspectorControls } from '@wordpress/block-editor';\nimport { PanelBody, BaseControl, Modal, Button } from '@wordpress/components';\nimport { useState, useRef } from '@wordpress/element';\nimport { __ } from '@wordpress/i18n';\n\nimport './style.scss';\nimport './editor.scss';\n\nimport { EcwidIcons } from '../includes/icons.js';\nimport { EcwidControls, EcwidInspectorSubheader, EcwidProductBrowserBlock, EcwidStoreBlockInner } from '../includes/controls.js';\nimport { buildDangerousHTMLMessageWithTitle } from '../includes/utils.js';\n\nconst blockName = 'ecwid/store-block';\nconst blockParams = EcwidGutenbergParams.blockParams[blockName];\n\nregisterBlockType('ecwid/store-block', {\n title: __('Store Home Page', 'ecwid-shopping-cart'), // Block title.\n icon: EcwidIcons.store,\n category: 'ec-store', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.\n attributes: blockParams.attributes,\n description: __('Add storefront (product listing)', 'ecwid-shopping-cart'),\n supports: {\n customClassName: false,\n className: false,\n html: false,\n multiple: false,\n inserter: EcwidGutenbergParams.isWidgetsScreen ? false : true\n },\n example: {},\n\n /**\n * The edit function describes the structure of your block in the context of the editor.\n * This represents what the editor will render when the block is used.\n *\n * The \"edit\" property must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n edit: function (props) {\n\n if (Object.keys(props.attributes).length <= 1) {\n for (var key in blockParams.attributes) {\n if (blockParams.attributes.hasOwnProperty(key)) {\n props.attributes[key] = blockParams.attributes[key].default\n }\n }\n }\n\n const { attributes } = props;\n\n // legacy reset \n props.setAttributes({ widgets: '' });\n\n const productMigrationWarning = buildDangerousHTMLMessageWithTitle(\n '',\n __('To improve the look and feel of your store and manage your storefront appearance here, please enable the “Next-gen look and feel of the product list on the storefront” option in your store dashboard (“Settings → What’s New”).', 'ecwid-shopping-cart')\n );\n\n const cartIconMessage = buildDangerousHTMLMessageWithTitle(\n __('Display cart icon', 'ecwid-shopping-cart'),\n blockParams.customizeMinicartText\n );\n\n const productDetailsMigrationWarning = buildDangerousHTMLMessageWithTitle(\n '',\n __('To improve the look and feel of your product page and manage its appearance here, please enable the “Next-gen look and feel of the product page on the storefront” option in your store dashboard (“Settings → What’s New”).', 'ecwid-shopping-cart')\n );\n\n const isNewProductList = blockParams.isNewProductList;\n const isNewDetailsPage = blockParams.isNewDetailsPage;\n const isEnabledProductSubtitles = blockParams.isEnabledProductSubtitles;\n const isLivePreviewEnabled = blockParams.isLivePreviewEnabled;\n\n const hasCategories = blockParams.attributes.default_category_id && blockParams.attributes.default_category_id.values && blockParams.attributes.default_category_id.values.length > 0;\n const needShowCategories = hasCategories && attributes.storefront_view == 'DEFAULT_CATEGORY_ID';\n\n if (attributes.show_description_under_image) {\n if (attributes.product_details_layout == 'TWO_COLUMNS_SIDEBAR_ON_THE_LEFT')\n props.setAttributes({ product_details_two_columns_with_left_sidebar_show_product_description_on_sidebar: !attributes.show_description_under_image });\n\n if (attributes.product_details_layout == 'TWO_COLUMNS_SIDEBAR_ON_THE_RIGHT')\n props.setAttributes({ product_details_two_columns_with_right_sidebar_show_product_description_on_sidebar: !attributes.show_description_under_image });\n } else {\n props.setAttributes({\n product_details_two_columns_with_left_sidebar_show_product_description_on_sidebar: '',\n product_details_two_columns_with_right_sidebar_show_product_description_on_sidebar: ''\n });\n }\n\n if (!needShowCategories) {\n props.setAttributes({ default_category_id: '' });\n }\n\n if (!hasCategories) {\n props.setAttributes({ storefront_view: 'COLLAPSE_CATEGORIES' });\n }\n\n const controls = EcwidControls(blockParams.attributes, props);\n\n const [isProductPage, setIsProductPage] = useState(false);\n const itemsPanelBodyRef = useRef([]);\n\n const panelBodyElement = (el) => {\n let i = itemsPanelBodyRef.current.length;\n if (el !== null) itemsPanelBodyRef.current[i] = el;\n };\n\n const isPreviewInFrame = () => {\n return document.querySelector('[name=editor-canvas]') != null ? true : false;\n }\n\n const getPreviewFrameContent = () => {\n return document.querySelector('[name=editor-canvas]').contentWindow;\n }\n\n let w = window;\n if (isPreviewInFrame()) w = getPreviewFrameContent();\n\n const handleOnToggle = (isToggled) => {\n if (!isLivePreviewEnabled) return;\n\n if (isToggled) {\n setIsProductPage(false);\n itemsPanelBodyRef.current.map(function (e) {\n if (e.classList.contains('is-opened')) {\n e.querySelector('button').click();\n\n if (e.classList.contains('ec-store-panelbody-product-details')) {\n if (attributes.storefront_view == 'FILTERS_PAGE')\n w.Ecwid.openPage('search');\n else\n w.Ecwid.openPage('category');\n }\n }\n });\n }\n }\n\n const handleOnToggleProduct = (isToggled) => {\n if (!isLivePreviewEnabled) return;\n\n if (isToggled) {\n setIsProductPage(true);\n handleOnToggle(isToggled);\n w.Ecwid.openPage('product', { 'id': blockParams.randomProductId });\n }\n }\n\n const [isOpen, setOpen] = useState(false);\n const openModal = () => setOpen(true);\n const closeModal = () => setOpen(false);\n\n if (typeof w.Ecwid != 'undefined') {\n w.Ecwid.OnPageLoaded.add(function (page) {\n if (page.type == 'PRODUCT') {\n blockParams.randomProductId = page.productId;\n }\n });\n\n w.Ecwid.OnPageSwitch.add(function (page) {\n if (page.type != 'PRODUCT' && page.type != 'CATEGORY' && page.type != 'SEARCH') {\n openModal();\n return false;\n }\n });\n }\n\n let editor =\n
\n \n \n \n {isOpen && (\n \n

{__('The transition to this page is disabled in the editor, on a real storefront it works as it should.', 'ecwid-shopping-cart')}

\n \n
\n )}\n
;\n\n return ([\n editor,\n \n {hasCategories &&\n \n {isNewProductList &&\n [\n controls.select('product_list_category_title_behavior'),\n attributes.product_list_category_title_behavior !== 'SHOW_TEXT_ONLY' &&\n [\n controls.buttonGroup('product_list_category_image_size'),\n controls.toolbar('product_list_category_image_aspect_ratio'),\n ]\n ]\n }\n {!isNewProductList && productMigrationWarning}\n \n }\n\n \n {isNewProductList &&\n [\n controls.toggle('product_list_show_product_images'),\n attributes.product_list_show_product_images && [\n controls.buttonGroup('product_list_image_size'),\n controls.toolbar('product_list_image_aspect_ratio')\n ],\n controls.toolbar('product_list_product_info_layout'),\n controls.select('product_list_title_behavior'),\n (isEnabledProductSubtitles) &&\n controls.select('product_list_subtitles_behavior'),\n controls.select('product_list_price_behavior'),\n controls.select('product_list_sku_behavior'),\n controls.select('product_list_buybutton_behavior'),\n controls.toggle('product_list_show_additional_image_on_hover'),\n controls.toggle('product_list_show_frame')\n ]\n }\n {!isNewProductList && productMigrationWarning}\n \n\n \n {isNewDetailsPage &&\n [\n controls.select('product_details_layout'),\n (attributes.product_details_layout === 'TWO_COLUMNS_SIDEBAR_ON_THE_RIGHT'\n || attributes.product_details_layout === 'TWO_COLUMNS_SIDEBAR_ON_THE_LEFT') &&\n controls.toggle('show_description_under_image'),\n controls.toolbar('product_details_gallery_layout'),\n EcwidInspectorSubheader(__('Product sidebar content', 'ecwid-shopping-cart')),\n controls.toggle('product_details_show_product_name'),\n (isEnabledProductSubtitles) &&\n controls.toggle('product_details_show_subtitle'),\n controls.toggle('product_details_show_breadcrumbs'),\n controls.toggle('product_details_show_product_sku'),\n controls.toggle('product_details_show_product_price'),\n controls.toggle('product_details_show_qty'),\n controls.toggle('product_details_show_weight'),\n controls.toggle('product_details_show_number_of_items_in_stock'),\n controls.toggle('product_details_show_in_stock_label'),\n controls.toggle('product_details_show_wholesale_prices'),\n controls.toggle('product_details_show_share_buttons'),\n controls.toggle('product_details_show_navigation_arrows'),\n controls.toggle('product_details_show_product_photo_zoom'),\n ]\n }\n {!isNewDetailsPage && productMigrationWarning}\n \n\n {hasCategories &&\n \n {controls.radioButtonWithDescription('storefront_view', isLivePreviewEnabled)}\n \n }\n\n \n {hasCategories &&\n controls.toggle('show_categories')}\n {controls.toggle('show_search')}\n {controls.toggle('show_breadcrumbs')}\n {isNewProductList && controls.toggle('show_footer_menu')}\n {controls.toggle('show_signin_link')}\n {controls.toggle('product_list_show_sort_viewas_options')}\n {cartIconMessage}\n \n \n {controls.color('chameleon_color_button')}\n {controls.color('chameleon_color_foreground')}\n {controls.color('chameleon_color_price')}\n {controls.color('chameleon_color_link')}\n {controls.color('chameleon_color_background')}\n \n \n ]);\n },\n\n save: function (props) {\n\n var widgets = ['productbrowser'];\n if (props.attributes.show_categories) {\n widgets[widgets.length] = 'categories';\n }\n if (props.attributes.show_search) {\n widgets[widgets.length] = 'search';\n }\n const shortcodeAttributes = {\n 'widgets': widgets.join(' '),\n 'default_category_id': typeof props.attributes.default_category_id !== 'undefined' ? props.attributes.default_category_id : ''\n };\n\n const shortcode = new wp.shortcode({\n 'tag': blockParams.shortcodeName,\n 'attrs': shortcodeAttributes,\n 'type': 'single'\n });\n\n return shortcode.string();\n },\n\n deprecated: [\n {\n attributes: {\n widgets: { type: 'string' },\n categories_per_row: { type: 'integer' },\n grid: { type: 'string' },\n list: { type: 'integer' },\n table: { type: 'integer' },\n default_category_id: { type: 'integer' },\n default_product_id: { type: 'integer' },\n category_view: { type: 'string' },\n search_view: { type: 'string' },\n minicart_layout: { type: 'string' }\n },\n\n save: function (props) {\n return null;\n },\n }, {\n attributes: {\n widgets: { type: 'string', default: 'productbrowser' },\n default_category_id: { type: 'integer', default: 0 }\n },\n\n migrate: function (attributes) {\n return {\n 'widgets': attributes.widgets,\n 'default_category_id': attributes.default_category_id\n }\n },\n\n save: function (props) {\n var shortcodeAttributes = {};\n const attrs = ['widgets', 'default_category_id'];\n for (var i = 0; i < attrs.length; i++) {\n shortcodeAttributes[attrs[i]] = props.attributes[attrs[i]];\n }\n shortcodeAttributes.default_product_id = 0;\n\n var shortcode = new wp.shortcode({\n 'tag': blockParams.shortcodeName,\n 'attrs': shortcodeAttributes,\n 'type': 'single'\n });\n\n return shortcode.string();\n },\n },\n {\n save: function (props) {\n return '[ecwid]';\n },\n },\n {\n save: function (props) {\n return '[ecwid widgets=\"productbrowser\" default_category_id=\"0\" default_product_id=\"0\"]';\n },\n },\n {\n save: function (props) {\n return '[ecwid widgets=\"productbrowser\" default_category_id=\"0\"]';\n },\n },\n ],\n\n transforms: {\n from: [{\n type: 'shortcode',\n tag: ['ecwid', 'ec_store'],\n attributes: {\n default_category_id: {\n type: 'integer',\n shortcode: function (named) {\n return named.default_category_id\n }\n },\n show_categories: {\n type: 'boolean',\n shortcode: function (attributes) {\n return attributes.named.widgets.indexOf('categories') !== -1\n }\n },\n show_search: {\n type: 'boolean',\n shortcode: function (attributes) {\n return attributes.named.widgets.indexOf('search') !== -1\n }\n }\n },\n priority: 10\n }]\n },\n\n});\n","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","module.exports = window[\"wp\"][\"blockEditor\"];","module.exports = window[\"wp\"][\"blocks\"];","module.exports = window[\"wp\"][\"components\"];","module.exports = window[\"wp\"][\"element\"];","module.exports = window[\"wp\"][\"i18n\"];","module.exports = window[\"ReactJSXRuntime\"];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"main\": 0,\n\t\"./style-main\": 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = globalThis[\"webpackChunkecwid_blocks\"] = globalThis[\"webpackChunkecwid_blocks\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [\"./style-main\"], () => (__webpack_require__(\"./js/gutenberg/src/index.js\")))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":["registerBlockType","InspectorControls","PanelBody","ToggleControl","__","EcwidIcons","EcwidProductBrowserBlock","jsx","_jsx","jsxs","_jsxs","title","icon","button","category","attributes","id","type","show_price_on_button","default","center_align","description","supports","customClassName","className","html","align","alignWide","inserter","EcwidGutenbergParams","isApiAvailable","isPrivate","example","edit","props","saveCallback","params","newProps","products","name","product","imageUrl","thumb","originalProps","setAttributes","editor","children","onClick","ecwid_open_product_popup","chooseProduct","buildToggle","label","checked","onChange","__nextHasNoMarginBottom","openEcwidProductPopup","initialOpen","save","BaseControl","blockName","blockParams","cartPage","multiple","isWidgetsScreen","isDemoStore","wp","blockEditor","components","categories","message","style","height","has_categories","dangerouslySetInnerHTML","__html","EcwidControls","EcwidInspectorSubheader","buildDangerousHTMLMessageWithTitle","EcwidGutenbergStoreBlockParams","widgets","showDemoButton","productMigrationWarning","cartIconMessage","customizeMinicartText","isNewProductList","isNewDetailsPage","controls","hasCategories","margin","href","target","class","default_category_id","select","product_list_category_title_behavior","buttonGroup","toolbar","toggle","product_list_show_product_images","product_details_layout","color","EcwidStoreBlockInner","filters","state","filtersDisabledMessage","filtersEnabled","ColorPalette","ColorIndicator","useState","colors","slug","ColorControl","manual","setManual","setColor","isManual","undefined","currentValue","titleElement","colorValue","handleColorChange","newColor","handleSelectChange","event","newValue","value","Button","ButtonGroup","Notice","RadioControl","ToolbarGroup","declaration","properties","buildButtonGroup","items","map","item","isPrimary","buildSelect","callback","selected","buildTextbox","buildToolbar","isActive","buildRadioButtonWithDescription","needShowCategories","isPreviewInFrame","document","querySelector","w","window","contentWindow","bodyDone","Ecwid","getElementById","innerHTML","setTimeout","init","values","length","options","textbox","builtTextbox","defaultCategoryId","radioButtonWithDescription","trackDynamicProperties","currentDocument","dynamicProps","blockProps","dynamicProperties","split","blockId","clientId","wrapperId","storedData","jQuery","find","data","changed","propValues","i","showCats","show_categories","showSearch","show_search","render","getPreviewFrameContent","widget","args","default_product_id","isLivePreviewEnabled","getAttribute","removeAttribute","EcwidGutenberg","refresh","ec","storefront","config","chameleon","disable_all_cookies","Object","keys","indexOf","substring","enable_catalog_on_one_page","show_root_categories","lastBlockId","setLastBlockId","openPage","page","isProductPage","clearUrlHash","history","replaceState","storefront_view","loadScriptJS","el","OnAPILoaded","add","refreshConfig","ecwid_script_defer","ecwid_dynamic_widgets","_xnext_initialization_scripts","localStorage","setItem","was_opened_once","searchNode","hasSearchBoxAdded","childNodes","push","widgetType","arg","script","createElement","src","scriptJsUrl","appendChild","addEventListener","nodes","getElementsByClassName","noticeActions","ref","status","isDismissible","actions","only_featured_products","menu_mode","filter","class_name","ecwid","version","x","y","viewBox","fill","d","store","xmlns","width","stroke","transform","points","aspect169","rx","aspect916","aspect11","aspect34","aspect43","textalignleft","textaligncenter","textalignright","textalignjustify","zoomAndPan","productLayout3Columns","productLayout2ColumnsLeft","productLayout2ColumnsRight","productLayout2ColumnsBottom","galleryLayoutHorizontal","galleryLayoutVertical","galleryLayoutFeed","cart","cx","cy","r","search","x1","x2","y1","y2","productPreview","latestProducts","blocks","updateCategory","minicartAttributes","buildItem","productDetailsMigrationWarning","_x","show_picture","show_title","show_price","show_options","show_qty","show_addtobag","show_border","Modal","useRef","key","hasOwnProperty","isEnabledProductSubtitles","show_description_under_image","product_details_two_columns_with_left_sidebar_show_product_description_on_sidebar","product_details_two_columns_with_right_sidebar_show_product_description_on_sidebar","setIsProductPage","itemsPanelBodyRef","panelBodyElement","current","handleOnToggle","isToggled","e","classList","contains","click","handleOnToggleProduct","randomProductId","isOpen","setOpen","openModal","closeModal","OnPageLoaded","productId","OnPageSwitch","onRequestClose","variant","onToggle","shortcodeAttributes","join","shortcode","shortcodeName","string","deprecated","categories_per_row","grid","list","table","category_view","search_view","minicart_layout","migrate","attrs","transforms","from","tag","named","priority"],"sourceRoot":""} \ No newline at end of file diff --git a/js/gutenberg/build/main.css b/js/gutenberg/build/main.css index 4a0247ee..ff902a33 100644 --- a/js/gutenberg/build/main.css +++ b/js/gutenberg/build/main.css @@ -1,741 +1,10 @@ -/*!***********************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./js/gutenberg/src/store/editor.scss ***! - \***********************************************************************************************************************************************************************************************************************************************************/ -/** - * #.# Editor Styles - * - * CSS for just Backend enqueued after style.scss - * which makes it higher in priority. - */ -/** - * #.# Variables SCSS - * - * Can include things like variables and mixins - * that are used across the project. -*/ -.components-toolbar__control.components-button:not(:disabled).is-pressed > svg rect { - fill: white; -} - -.components-toolbar div:first-child .components-button.components-button.ecwid-toolbar-icon { - padding-left: 6px; -} -.components-toolbar div:last-child .components-button.components-button.ecwid-toolbar-icon { - padding-right: 6px; -} -.components-toolbar div > .components-button.components-button.ecwid-toolbar-icon { - padding: 0; -} - -.block-editor-block-icon.has-colors svg.ec-store-icon-color { - color: #0087cd; -} - -.ecwid-store-block-icon { - background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOC4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwYXRoIGZpbGw9IiM1NTVkNjYiIGQ9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OCwxOC40OCwyLjc5eiBNNC42LDE1LjVjLTAuMzcsMC0wLjY2LDAuMy0wLjY2LDAuNjdjMCwwLjM3LDAuMywwLjY3LDAuNjYsMC42N2MwLjM3LDAsMC42Ny0wLjMsMC42Ny0wLjY3DQoJUzQuOTYsMTUuNSw0LjYsMTUuNXoiLz4NCjwvc3ZnPg0K); - background-size: contain; - width: 20px; - height: 20px; - margin-bottom: 3px; -} - -.ecwid-store-block { - position: relative; -} - -.ecwid-store-block-button { - font-family: Open Sans, Trebuchet MS, Helvetica, Verdana, sans-serif; - position: relative; - top: 135px; - font-size: 14px; -} - -.ecwid-product-block-icon { - background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOC4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwYXRoIGZpbGw9IiMyMzFGMjAiIGQ9Ik0xNi40Myw1LjEyYy0wLjEzLTEuMTktMC4xNS0xLjE5LTEuMzUtMS4zM2MtMC4yMS0wLjAyLTAu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uMDR6Ii8+DQo8L3N2Zz4NCg==); - background-size: contain; - width: 20px; - height: 20px; - margin-bottom: 3px; -} - -.ecwid-block { - text-align: center; - font-size: 13px; - font-family: "Open Sans"; - padding: 1em; - background-color: #f8f9f9; - display: flex; - flex-direction: column; - justify-content: center; - min-height: 220px; -} - -.ecwid-block > div { - display: flex; - justify-content: center; -} - -.ecwid-block .ecwid-block-header { - font-weight: 600; - margin-bottom: 1em; -} - -.ecwid-block .ecwid-block-header svg { - max-height: 20px; - margin-right: 1ch; -} - -.ecwid-block .ecwid-store-block-icon, -.ecwid-block .ecwid-product-block-icon { - margin-right: 10px; -} - -.ecwid-block .ecwid-block-image { - height: 90px; - background-repeat: no-repeat; - background-size: contain; - background-position: 50% 50%; -} - -.ecwid-block .ecwid-block-image img { - width: auto; - max-height: 100%; - box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1); -} - -.ecwid-block .ecwid-block-title { - margin-top: 11px; - margin-bottom: 1em; -} - -.ecwid-block .ecwid-block-button { - font-weight: 400; -} - -/* - Popup styles for selected product block - */ -.ecwid-selected-product { - font-family: Open Sans, Trebuchet MS, Helvetica, Verdana, sans-serif; -} - -.ecwid-selected-product > div { - display: table-cell; -} - -.ecwid-selected-product .ecwid-selected-product-image img { - box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1); -} - -.ecwid-selected-product .ecwid-selected-product-image { - padding-right: 25px; - vertical-align: top; -} - -.ecwid-selected-product .ecwid-selected-product-details { - vertical-align: middle; -} - -.ecwid-selected-product .ecwid-selected-product-name { - font-size: 20px; - font-weight: 600; - margin-bottom: 0.5em; -} - -.ecwid-selected-product .ecwid-selected-product-sku { - font-size: 16px; - margin-bottom: 1em; -} - -.media-frame-content.has-selected-product form, -.media-frame-content.has-selected-product .products, -.media-frame-content.has-selected-product .tablenav { - display: none; -} - -#ecwid-product-popup-content .media-frame-content.ecwid-selected-product { - padding-left: 20px; - padding-top: 40px; -} - -.ecwid-store-block-icon { - background: url(data:image/svg+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6IE0xNS4zMiwxOC4xYy0xLjAyLDAtMS44Ni0wLjgzLTEuODYtMS44NmMwLTEuMDMsMC44My0xLjg2LDEuODYtMS44NmMxLjAzLDAsMS44NiwwLjgzLDEuODYsMS44Ng0KCUMxNy4xNywxNy4yNywxNi4zNCwxOC4xLDE1LjMyLDE4LjF6IE0xOC40OCwyLjc5bC0xLjkyLDcuMTRjLTAuNTEsMS45MS0yLjAzLDMuMS00LDMuMUg3LjJjLTEuOTEsMC0zLjI2LTEuMDktMy44NC0yLjkxTDEuNzMsNQ0KCUMxLjcsNC45LDEuNzIsNC43OSwxLjc4LDQuNzFjMC4wNi0wLjA5LDAuMTYtMC4xNCwwLjI3LTAuMTRsMC4zMSwwYzAuNzUsMCwxLjQxLDAuNDksMS42NCwxLjJsMS4yLDMuNzYNCgljMC4zMiwxLjAyLDEuMjYsMS43LDIuMzMsMS43aDQuODFjMS4xLDAsMi4wOC0wLjc0LDIuMzYtMS44MWwxLjU1LTUuNzhjMC4yLTAuNzUsMC44OS0xLjI4LDEuNjctMS4yOGgwLjI0DQoJYzAuMSwwLDAuMiwwLjA1LDAuMjYsMC4xM0MxOC40OCwyLjU4LDE4LjUsMi42OCwxOC40OCwyLjc5eiBNNC42LDE1LjVjLTAuMzcsMC0wLjY2LDAuMy0wLjY2LDAuNjdjMCwwLjM3LDAuMywwLjY3LDAuNjYsMC42N2MwLjM3LDAsMC42Ny0wLjMsMC42Ny0wLjY3DQoJUzQuOTYsMTUuNSw0LjYsMTUuNXoiLz4NCjwvc3ZnPg0K); - background-size: contain; - width: 20px; - height: 20px; - margin-bottom: 3px; -} - -.ecwid-store-block { - position: relative; -} - -.ecwid-store-block-button { - font-family: Open Sans, Trebuchet MS, Helvetica, Verdana, sans-serif; - position: relative; - top: 135px; - font-size: 14px; -} - -.ecwid-product-block-icon { - background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9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uNjgsNy4xNCwxNi40Myw1LjEyeiBNMTYuMDYsMC4wNGMtMS45MSwwLTMuNDYsMS41My0zLjQ2LDMuNDFjMCwwLjc0LDAuNCwzLjA5LDAuNDQsMy4yOGMwLjA3LDAuMzQsMC41MiwwLjU2LDAuODYsMC40OQ0KCUMxNCw3LjE5LDE0LjA3LDcuMTUsMTQuMTIsNy4xYzAuMjQtMC4xMSwwLjMyLTAuMzksMC4yNS0wLjY4Yy0wLjA5LTAuNDUtMC4zOS0yLjQ0LTAuMzktMi45NGMwLTEuMTYsMC45NC0yLjA5LDIuMTEtMi4wOQ0KCWMxLjI0LDAsMi4xMSwwLjk2LDIuMTEsMi4zNGMwLDIuNDMtMC4zMSw0LjIzLTAuMzIsNC4yNmMtMC4xLDAuMTctMC4xLDAuMzgtMC4wMywwLjU1YzAuMDMsMC4xNywwLjEzLDAuMzEsMC4yOCwwLjQNCgljMC4xLDAuMDYsMC4yMiwwLjA5LDAuMzMsMC4wOWMwLjIxLDAsMC40Mi0wLjEsMC41NC0wLjNjMC4wNi0wLjA5LDAuNTItMi4xNywwLjUyLTUuMDNDMTkuNTIsMS42MSwxOC4wNCwwLjA0LDE2LjA2LDAuMDR6Ii8+DQo8L3N2Zz4NCg==); - background-size: contain; - width: 20px; - height: 20px; - margin-bottom: 3px; -} - -.ec-store-block { - text-align: center; - font-size: 13px; - font-family: "Open Sans"; - padding: 1em; - background-color: #ffffff; - display: flex; - flex-direction: column; - justify-content: center; - min-height: 220px; -} - -.ec-store-block-product { - background: none; - display: inline-block; -} - -.ec-store-block-product svg { - margin: auto; -} - -.ec-store-product-title { - font-weight: 600; - font-size: 14px; - color: #555; - margin-top: 5px; -} - -.ec-store-block > div { - display: flex; - justify-content: center; -} - -.ec-store-block .ec-store-block-header { - font-weight: 600; - margin-bottom: 1em; - line-height: 24px; -} - -.ec-store-block .ec-store-block-header svg { - max-height: 24px; - margin-right: 1ch; -} - -.ec-store-block .ec-store-block-subheader { - font-size: 16px; - font-weight: bold; - line-height: 24px; - letter-spacing: -0.1px; - margin: 16px 0 0; -} - -.ec-store-block .ec-store-block-subheader:first-child { - margin-top: 0; -} - -.ec-store-block .ec-store-store-block-icon, -.ec-store-block .ec-store-product-block-icon { - margin-right: 10px; -} - -.ec-store-block .ec-store-block-image { - max-height: 149px; - background-repeat: no-repeat; - background-size: contain; - background-position: 50% 50%; -} - -.ec-store-block .ec-store-block-image img { - width: auto; - max-height: 100%; - box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1); - -o-object-fit: cover; - object-fit: cover; -} - -.ec-store-block-product .ec-store-block-image, -.ec-store-block-product .ec-store-block-product-preview { - height: 180px; - min-width: 180px; -} - -.ec-store-block-product .ec-store-block-product-preview { - border: 1px solid rgba(145, 151, 162, 0.25); -} - -.ec-store-block-minicart { - min-height: 180px; - min-width: 180px; - display: inline-block; - background: none; - position: relative; -} - -.ec-store-block-minicart .image { - background: url(images/minicart-preview.26883795.png) 50% 50% no-repeat; - background-size: 50%; - position: absolute; - left: 0; - top: 0; - right: 0; - bottom: 0; -} - -.ec-store-block .ec-store-block-title { - margin-top: 11px; - margin-bottom: 1em; -} - -.ec-store-block .ec-store-block-button { - font-weight: 400; - margin-top: 11px; -} - -.ec-store-block > .ec-store-products { - display: block; -} - -.ec-store-products .ec-store-product-block { - width: 130px; - margin: 15px; - display: inline-block; -} -.ec-store-products .ec-store-product-block .ec-store-product { - width: 130px; - height: 130px; - /*border: 1px solid #e2e4e7;*/ - background-size: 100% 100%; -} -.ec-store-products .ec-store-product-block .ec-store-stub-sample { - width: 130px; - height: 40px; - margin: 0; - background: url(images/stub-sample.f6c66a7e.png) no-repeat; - background-position: center; -} -.ec-store-products .ec-store-product-block.ec-store-product-filter { - vertical-align: top; -} -.ec-store-products .ec-store-product-block.ec-store-product-filter .ec-store-stub-sample { - height: 130px; - background: url(images/stub-filter.3d98574f.png) no-repeat; - background-size: contain; -} - -.ec-store-product1 { - background: url(images/store1.9e4997d7.png); -} - -.ec-store-product2 { - background: url(images/store2.166198d0.png); -} - -.ec-store-product3 { - background: url(images/store3.416bb323.png); -} - -.ec-store-product4 { - background: url(images/store4.8c2ce882.png); -} - -.ec-store-product5 { - background: url(images/store5.e8fcf48e.png); -} - -.ec-store-product6 { - background: url(images/store6.23ab5618.png); -} - -.ec-store-product- { - /* - &g_bag { - background: url("./images/g_bag.png"); - } - */ -} -.ec-store-product-y_sneaker { - background: url(images/y_sneaker.88754d81.png); -} -.ec-store-product-y_shirt { - background: url(images/y_shirt.e34f41ee.png); -} -.ec-store-product-y_watch { - background: url(images/y_watch.283ddc05.png); -} -.ec-store-product-y_bag { - background: url(images/y_bag.88dc6b1d.png); -} -.ec-store-product-y_hat { - background: url(images/y_hat.3916fd73.png); -} -.ec-store-product-g_sneaker { - background: url(images/g_sneaker.34b3248c.png); -} -.ec-store-product-g_shirt { - background: url(images/g_shirt.84f92863.png); -} -.ec-store-product-g_watch { - background: url(images/g_watch.5b0f8b9f.png); -} -.ec-store-product-g_hat { - background: url(images/g_hat.602be3cf.png); -} -.ec-store-product-p_sneaker { - background: url(images/p_sneaker.46e646b1.png); -} -.ec-store-product-p_shirt { - background: url(images/p_shirt.28faeb61.png); -} -.ec-store-product-b_hat { - background: url(images/b_hat.723b0b99.png); -} -.ec-store-product-b_watch { - background: url(images/b_watch.4e5d24a2.png); -} -.ec-store-product-m_sneaker { - background: url(images/m_sneaker.5e9b64f4.png); -} - -.ec-store-category-shirt { - background: url(images/categories1.3cb5a8f0.png); -} -.ec-store-category-sneaker { - background: url(images/categories2.bf7a031e.png); -} -.ec-store-category-bag { - background: url(images/categories4.81439797.png); -} -.ec-store-category-hat { - background: url(images/categories3.fcd5d107.png); -} -.ec-store-category-watch { - background: url(images/categories5.cb832c56.png); -} -.ec-store-category-glasses { - background: url(images/categories6.01693c72.png); -} - -.ec-store-color-picker .component-color-indicator { - vertical-align: text-bottom; - margin-left: 0.5rem; - margin-bottom: -0.2rem; -} -.ec-store-color-picker .components-color-palette { - margin-top: 0.6rem; -} -.ec-store-color-picker select { - margin: 6px 0 10px; -} - -.ec-store-inspector-subheader-row { - margin-bottom: 20px; -} - -.ec-store-inspector-row { - justify-content: space-between; - display: flex; - align-items: center; - margin: 15px 0; -} -.ec-store-inspector-row label, -.ec-store-inspector-row button { - display: block; -} - -.ec-store-inspector-subheader { - color: #191e23; - font-weight: 600; - cursor: default; -} - -.ec-store-inspector-select { - max-width: 100%; -} - -.ec-store-control-select { - width: 100%; -} - -.ec-store-inspector-button-group { - display: block; -} - -.ec-store-generic-block > div { - display: block; -} - -.ec-store-block .ec-store-block-header { - font-weight: 600; - margin-bottom: 24px; - line-height: 24px; - display: flex; - color: #979797; -} - -.ec-store-block .ec-store-block-header svg { - max-height: 20px; - margin-right: 0.5ch; - fill: #979797; -} - -.ec-store-generic-block, -.ec-store-block-categories { - box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2); -} - -.ec-store-inspector-radio .components-radio-control__option, -.ec-store-inspector-radio .components-radio-control__option input, -.ec-store-inspector-radio .components-radio-control__option label { - display: flex; - min-width: 16px; - min-width: 16px; -} - -.ec-store-inspector-radio .components-base-control__field > label { - margin-bottom: 12px; -} - -.ec-store-inspector-radio .components-radio-control__option label { - margin-top: -2px; -} - -.ec-store-inspector-radio__title { - font-weight: 600; -} - -.ec-store-categories { - background-size: contain; -} - -.ec-store-categories-category1 { - background: url(images/categories1.3cb5a8f0.png); -} - -.ec-store-categories-category2 { - background: url(images/categories2.bf7a031e.png); -} - -.ec-store-categories-category3 { - background: url(images/categories3.fcd5d107.png); -} - -.ec-store-categories-category4 { - background: url(images/categories4.81439797.png); -} - -.block-editor-inserter__preview-container .ec-store-products > div, -.block-editor-inserter__preview-container .ec-store-category-products > div { - margin: 5px; -} - -.block-editor-inserter__panel-header .ec-store-icon { - width: 18px; - height: 18px; - margin-bottom: 1px; -} - -.wp-block[data-type="ecwid/store-block"] { - max-width: 95% !important; -} -.wp-block[data-type="ecwid/store-block"] .ec-store-with-stub { - max-width: 610px; - margin: 0 auto; -} -.wp-block[data-type="ecwid/store-block"] #ec-store-preview { - min-height: 150px !important; -} -.wp-block[data-type="ecwid/store-block"] #ec-store-search-preview, -.wp-block[data-type="ecwid/store-block"] #ec-store-categories-preview { - margin-bottom: 1.25em; -} -/*!*************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./js/gutenberg/src/product/editor.scss ***! - \*************************************************************************************************************************************************************************************************************************************************************/ -/** - * #.# Editor Styles - * - * CSS for just Backend enqueued after style.scss - * which makes it higher in priority. - */ -/** - * #.# Variables SCSS - * - * Can include things like variables and mixins - * that are used across the project. -*/ -.ec-store-products .ec-store-product-block.ec-store-product-block-small { - width: 149px; -} -.ec-store-products .ec-store-product-block.ec-store-product-block-small .ec-store-product { - width: 149px; - height: 149px; -} -.ec-store-products .ec-store-product-block.ec-store-product-block-small .ec-store-stub-sample { - width: 149px; -} -/*!************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./js/gutenberg/src/buynow/editor.scss ***! - \************************************************************************************************************************************************************************************************************************************************************/ -.ec-store-block-cart-page .ec-store-block-buynow-preview { - background-image: url(images/buy-now-preview.c12e7879.png); - background-size: contain; - background-repeat: no-repeat; - background-position: center; - max-width: 90%; - margin: 0 auto; - aspect-ratio: 16/9; - width: 100%; - display: block; -} -/*!************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./js/gutenberg/src/search/editor.scss ***! - \************************************************************************************************************************************************************************************************************************************************************/ -.ec-store-block-search { - min-width: 334px; - min-height: 40px; - display: inline-block; - background: none; - position: relative; -} - -.ec-store-block-search .image { - background: url(images/search-preview.424e8d0d.png) 50% 50% no-repeat; - background-size: 334px 40px; - position: absolute; - left: 0; - top: 0; - right: 0; - bottom: 0; -} -/*!****************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./js/gutenberg/src/categories/editor.scss ***! - \****************************************************************************************************************************************************************************************************************************************************************/ -.ec-store-block-categories { - height: 50px; - min-height: 50px; -} -.ec-store-block-categories .ec-store-block-header { - margin-bottom: 0; - font-weight: bold; - display: flex; - align-items: center; -} -.ec-store-block-categories .ec-store-block-header > div:first-child { - height: 28px; -} -.ec-store-block-categories .ec-store-block-header .ec-store-categories-menu { - width: 368px; - height: 8px; - display: inline-block; - margin: auto 0 auto 44px; - background-image: url(images/categories-menu-preview.657b8edf.png); - background-repeat: no-repeat; - background-size: contain; - background-position: center; -} -/*!**************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./js/gutenberg/src/minicart/editor.scss ***! - \**************************************************************************************************************************************************************************************************************************************************************/ -.ec-store-block-minicart { - min-height: 66px; - min-width: 210px; - display: inline-block; - background: none; - position: relative; -} - -.ec-store-block-minicart .image { - background: url(images/minicart-preview.26883795.png) 50% 50% no-repeat; - background-size: 100%; - position: absolute; - left: 0; - top: 0; - right: 0; - bottom: 0; -} -/*!*******************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./js/gutenberg/src/category-page/editor.scss ***! - \*******************************************************************************************************************************************************************************************************************************************************************/ -.ec-store-block > .ec-store-category { - display: block; -} - -.ec-store-category-products > div { - width: 130px; - height: 130px; - margin: 15px; - display: inline-flex; - border: 1px solid #e2e4e7; - background-size: 100% 100%; -} - -.ec-store-category-product1 { - background: url(images/category1.66f27b46.png); -} - -.ec-store-category-product2 { - background: url(images/category2.e80c6fc3.png); -} - -.ec-store-category-product3 { - background: url(images/category3.ec4fb549.png); -} - -.ec-store-category-product4 { - background: url(images/category4.c004ae49.png); -} - -.ec-store-category-product5 { - background: url(images/category5.6c5aed0c.png); -} - -.ec-store-category-product6 { - background: url(images/category6.da30f275.png); -} -/*!******************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./js/gutenberg/src/product-page/editor.scss ***! - \******************************************************************************************************************************************************************************************************************************************************************/ -.ec-store-block-content { - padding: 0 42px 24px; -} - -.ec-store-product-page-preview { - width: 100%; - max-width: 100%; - background-image: url(images/product-page-preview.7a3b7609.png); - background-size: contain; - background-repeat: no-repeat; - background-position: center; - aspect-ratio: 16/9; -} -/*!******************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./js/gutenberg/src/filters-page/editor.scss ***! - \******************************************************************************************************************************************************************************************************************************************************************/ -.ec-store-block-filters-page .ec-store-products .ec-store-product-block.ec-store-product-filter .ec-store-stub-sample { - min-height: 160px; - height: 160px; - background: url(images/search-filters-stub.89bd5954.png) no-repeat; - background-size: contain; -} -/*!***************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./js/gutenberg/src/cart-page/editor.scss ***! - \***************************************************************************************************************************************************************************************************************************************************************/ -.ec-store-block-cart-page .ec-store-block-cart-page-preview { - background-image: url(images/cart-page-preview.4bb6f46d.png); - background-size: contain; - background-repeat: no-repeat; - background-position: center; - width: 100%; - padding: 0 1em 2em; - aspect-ratio: 16/9; -} - -/*# sourceMappingURL=main.css.map*/ \ No newline at end of file +.components-toolbar__control.components-button:not(:disabled).is-pressed>svg rect{fill:#fff}.components-toolbar div:first-child .components-button.components-button.ecwid-toolbar-icon{padding-left:6px}.components-toolbar div:last-child .components-button.components-button.ecwid-toolbar-icon{padding-right:6px}.components-toolbar div>.components-button.components-button.ecwid-toolbar-icon{padding:0}.block-editor-block-icon.has-colors svg.ec-store-icon-color{color:#0087cd}.ecwid-block{background-color:#f8f9f9;flex-direction:column;font-family:Open Sans;font-size:13px;min-height:220px;padding:1em;text-align:center}.ecwid-block,.ecwid-block>div{display:flex;justify-content:center}.ecwid-block .ecwid-block-header{font-weight:600;margin-bottom:1em}.ecwid-block .ecwid-block-header svg{margin-right:1ch;max-height:20px}.ecwid-block .ecwid-product-block-icon,.ecwid-block .ecwid-store-block-icon{margin-right:10px}.ecwid-block .ecwid-block-image{background-position:50% 50%;background-repeat:no-repeat;background-size:contain;height:90px}.ecwid-block .ecwid-block-image img{box-shadow:0 2px 5px 0 rgba(0,0,0,.1);max-height:100%;width:auto}.ecwid-block .ecwid-block-title{margin-bottom:1em;margin-top:11px}.ecwid-block .ecwid-block-button{font-weight:400}.ecwid-selected-product{font-family:Open Sans,Trebuchet MS,Helvetica,Verdana,sans-serif}.ecwid-selected-product>div{display:table-cell}.ecwid-selected-product .ecwid-selected-product-image img{box-shadow:0 2px 5px 0 rgba(0,0,0,.1)}.ecwid-selected-product .ecwid-selected-product-image{padding-right:25px;vertical-align:top}.ecwid-selected-product .ecwid-selected-product-details{vertical-align:middle}.ecwid-selected-product .ecwid-selected-product-name{font-size:20px;font-weight:600;margin-bottom:.5em}.ecwid-selected-product .ecwid-selected-product-sku{font-size:16px;margin-bottom:1em}.media-frame-content.has-selected-product .products,.media-frame-content.has-selected-product .tablenav,.media-frame-content.has-selected-product form{display:none}#ecwid-product-popup-content .media-frame-content.ecwid-selected-product{padding-left:20px;padding-top:40px}.ecwid-store-block-icon{background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOC4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwYXRoIGZpbGw9IiM1NTVkNj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4LjUsMi42OCwxOC40OCwyLjc5eiBNNC42LDE1LjVjLTAuMzcsMC0wLjY2LDAuMy0wLjY2LDAuNjdjMCwwLjM3LDAuMywwLjY3LDAuNjYsMC42N2MwLjM3LDAsMC42Ny0wLjMsMC42Ny0wLjY3DQoJUzQuOTYsMTUuNSw0LjYsMTUuNXoiLz4NCjwvc3ZnPg0K);background-size:contain;height:20px;margin-bottom:3px;width:20px}.ecwid-store-block{position:relative}.ecwid-store-block-button{font-family:Open Sans,Trebuchet MS,Helvetica,Verdana,sans-serif;font-size:14px;position:relative;top:135px}.ecwid-product-block-icon{background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOC4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwYXRoIGZpbGw9IiMyMzFGMjAiIGQ9Ik0xNi40Myw1LjEyYy0wLjEzLTEuMTktMC4xNS0xLjE5LTEuMzUtMS4zM2MtMC4yMS0wLjAyLTAuMjEtMC4wMi0wLjQzLTA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zz4NCg==);background-size:contain;height:20px;margin-bottom:3px;width:20px}.ec-store-block{background-color:#fff;display:flex;flex-direction:column;font-family:Open Sans;font-size:13px;justify-content:center;min-height:220px;padding:1em;text-align:center}.ec-store-block-product{background:none;display:inline-block}.ec-store-block-product svg{margin:auto}.ec-store-product-title{color:#555;font-size:14px;font-weight:600;margin-top:5px}.ec-store-block>div{display:flex;justify-content:center}.ec-store-block .ec-store-block-header{margin-bottom:1em}.ec-store-block .ec-store-block-header svg{margin-right:1ch;max-height:24px}.ec-store-block .ec-store-block-subheader{font-size:16px;font-weight:700;letter-spacing:-.1px;line-height:24px;margin:16px 0 0}.ec-store-block .ec-store-block-subheader:first-child{margin-top:0}.ec-store-block .ec-store-product-block-icon,.ec-store-block .ec-store-store-block-icon{margin-right:10px}.ec-store-block .ec-store-block-image{background-position:50% 50%;background-repeat:no-repeat;background-size:contain;max-height:149px}.ec-store-block .ec-store-block-image img{box-shadow:0 2px 5px 0 rgba(0,0,0,.1);max-height:100%;-o-object-fit:cover;object-fit:cover;width:auto}.ec-store-block-product .ec-store-block-image,.ec-store-block-product .ec-store-block-product-preview{height:180px;min-width:180px}.ec-store-block-product .ec-store-block-product-preview{border:1px solid hsla(219,8%,60%,.25)}.ec-store-block-minicart{background:none;display:inline-block;min-height:180px;min-width:180px;position:relative}.ec-store-block-minicart .image{background:url(images/minicart-preview.26883795.png) 50% 50% no-repeat;background-size:50%;bottom:0;left:0;position:absolute;right:0;top:0}.ec-store-block .ec-store-block-title{margin-bottom:1em;margin-top:11px}.ec-store-block .ec-store-block-button{font-weight:400;margin-top:11px}.ec-store-block>.ec-store-products{display:block}.ec-store-products .ec-store-product-block{display:inline-block;margin:15px;width:130px}.ec-store-products .ec-store-product-block .ec-store-product{background-size:100% 100%;height:130px;width:130px}.ec-store-products .ec-store-product-block .ec-store-stub-sample{background:url(images/stub-sample.f6c66a7e.png) no-repeat;background-position:50%;height:40px;margin:0;width:130px}.ec-store-products .ec-store-product-block.ec-store-product-filter{vertical-align:top}.ec-store-products .ec-store-product-block.ec-store-product-filter .ec-store-stub-sample{background:url(images/stub-filter.3d98574f.png) no-repeat;background-size:contain;height:130px}.ec-store-product1{background:url(images/store1.9e4997d7.png)}.ec-store-product2{background:url(images/store2.166198d0.png)}.ec-store-product3{background:url(images/store3.416bb323.png)}.ec-store-product4{background:url(images/store4.8c2ce882.png)}.ec-store-product5{background:url(images/store5.e8fcf48e.png)}.ec-store-product6{background:url(images/store6.23ab5618.png)}.ec-store-product-y_sneaker{background:url(images/y_sneaker.88754d81.png)}.ec-store-product-y_shirt{background:url(images/y_shirt.e34f41ee.png)}.ec-store-product-y_watch{background:url(images/y_watch.283ddc05.png)}.ec-store-product-y_bag{background:url(images/y_bag.88dc6b1d.png)}.ec-store-product-y_hat{background:url(images/y_hat.3916fd73.png)}.ec-store-product-g_sneaker{background:url(images/g_sneaker.34b3248c.png)}.ec-store-product-g_shirt{background:url(images/g_shirt.84f92863.png)}.ec-store-product-g_watch{background:url(images/g_watch.5b0f8b9f.png)}.ec-store-product-g_hat{background:url(images/g_hat.602be3cf.png)}.ec-store-product-p_sneaker{background:url(images/p_sneaker.46e646b1.png)}.ec-store-product-p_shirt{background:url(images/p_shirt.28faeb61.png)}.ec-store-product-b_hat{background:url(images/b_hat.723b0b99.png)}.ec-store-product-b_watch{background:url(images/b_watch.4e5d24a2.png)}.ec-store-product-m_sneaker{background:url(images/m_sneaker.5e9b64f4.png)}.ec-store-category-shirt{background:url(images/categories1.3cb5a8f0.png)}.ec-store-category-sneaker{background:url(images/categories2.bf7a031e.png)}.ec-store-category-bag{background:url(images/categories4.81439797.png)}.ec-store-category-hat{background:url(images/categories3.fcd5d107.png)}.ec-store-category-watch{background:url(images/categories5.cb832c56.png)}.ec-store-category-glasses{background:url(images/categories6.01693c72.png)}.ec-store-color-picker .component-color-indicator{margin-bottom:-.2rem;margin-left:.5rem;vertical-align:text-bottom}.ec-store-color-picker .components-color-palette{margin-top:.6rem}.ec-store-color-picker select{margin:6px 0 10px}.ec-store-inspector-subheader-row{margin-bottom:20px}.ec-store-inspector-row{align-items:center;display:flex;justify-content:space-between;margin:15px 0}.ec-store-inspector-row button,.ec-store-inspector-row label{display:block}.ec-store-inspector-subheader{color:#191e23;cursor:default;font-weight:600}.ec-store-inspector-select{max-width:100%}.ec-store-control-select{width:100%}.ec-store-generic-block>div,.ec-store-inspector-button-group{display:block}.ec-store-block .ec-store-block-header{color:#979797;display:flex;font-weight:600;line-height:24px;margin-bottom:24px}.ec-store-block .ec-store-block-header svg{margin-right:.5ch;max-height:20px;fill:#979797}.ec-store-block-categories,.ec-store-generic-block{box-shadow:0 2px 4px 0 rgba(0,0,0,.2)}.ec-store-inspector-radio .components-radio-control__option,.ec-store-inspector-radio .components-radio-control__option input,.ec-store-inspector-radio .components-radio-control__option label{display:flex;min-width:16px}.ec-store-inspector-radio .components-base-control__field>label{margin-bottom:12px}.ec-store-inspector-radio .components-radio-control__option label{margin-top:-2px}.ec-store-inspector-radio__title{font-weight:600}.ec-store-categories{background-size:contain}.ec-store-categories-category1{background:url(images/categories1.3cb5a8f0.png)}.ec-store-categories-category2{background:url(images/categories2.bf7a031e.png)}.ec-store-categories-category3{background:url(images/categories3.fcd5d107.png)}.ec-store-categories-category4{background:url(images/categories4.81439797.png)}.block-editor-inserter__preview-container .ec-store-category-products>div,.block-editor-inserter__preview-container .ec-store-products>div{margin:5px}.block-editor-inserter__panel-header .ec-store-icon{height:18px;margin-bottom:1px;width:18px}.wp-block[data-type="ecwid/store-block"]{max-width:95%!important}.wp-block[data-type="ecwid/store-block"] .ec-store-with-stub{margin:0 auto;max-width:610px}.wp-block[data-type="ecwid/store-block"] #ec-store-preview{min-height:150px!important}.wp-block[data-type="ecwid/store-block"] #ec-store-categories-preview,.wp-block[data-type="ecwid/store-block"] #ec-store-search-preview{margin-bottom:1.25em} +.ec-store-products .ec-store-product-block.ec-store-product-block-small{width:149px}.ec-store-products .ec-store-product-block.ec-store-product-block-small .ec-store-product{height:149px;width:149px}.ec-store-products .ec-store-product-block.ec-store-product-block-small .ec-store-stub-sample{width:149px} +.ec-store-block-cart-page .ec-store-block-buynow-preview{aspect-ratio:16/9;background-image:url(images/buy-now-preview.c12e7879.png);background-position:50%;background-repeat:no-repeat;background-size:contain;display:block;margin:0 auto;max-width:90%;width:100%} +.ec-store-block-search{background:none;display:inline-block;min-height:40px;min-width:334px;position:relative}.ec-store-block-search .image{background:url(images/search-preview.424e8d0d.png) 50% 50% no-repeat;background-size:334px 40px;bottom:0;left:0;position:absolute;right:0;top:0} +.ec-store-block-categories{height:50px;min-height:50px}.ec-store-block-categories .ec-store-block-header{align-items:center;display:flex;font-weight:700;margin-bottom:0}.ec-store-block-categories .ec-store-block-header>div:first-child{height:28px}.ec-store-block-categories .ec-store-block-header .ec-store-categories-menu{background-image:url(images/categories-menu-preview.657b8edf.png);background-position:50%;background-repeat:no-repeat;background-size:contain;display:inline-block;height:8px;margin:auto 0 auto 44px;width:368px} +.ec-store-block-minicart{background:none;display:inline-block;min-height:66px;min-width:210px;position:relative}.ec-store-block-minicart .image{background:url(images/minicart-preview.26883795.png) 50% 50% no-repeat;background-size:100%;bottom:0;left:0;position:absolute;right:0;top:0} +.ec-store-block>.ec-store-category{display:block}.ec-store-category-products>div{background-size:100% 100%;border:1px solid #e2e4e7;display:inline-flex;height:130px;margin:15px;width:130px}.ec-store-category-product1{background:url(images/category1.66f27b46.png)}.ec-store-category-product2{background:url(images/category2.e80c6fc3.png)}.ec-store-category-product3{background:url(images/category3.ec4fb549.png)}.ec-store-category-product4{background:url(images/category4.c004ae49.png)}.ec-store-category-product5{background:url(images/category5.6c5aed0c.png)}.ec-store-category-product6{background:url(images/category6.da30f275.png)} +.ec-store-block-content{padding:0 42px 24px}.ec-store-product-page-preview{aspect-ratio:16/9;background-image:url(images/product-page-preview.7a3b7609.png);background-position:50%;background-repeat:no-repeat;background-size:contain;max-width:100%;width:100%} +.ec-store-block-filters-page .ec-store-products .ec-store-product-block.ec-store-product-filter .ec-store-stub-sample{background:url(images/search-filters-stub.89bd5954.png) no-repeat;background-size:contain;height:160px;min-height:160px} +.ec-store-block-cart-page .ec-store-block-cart-page-preview{aspect-ratio:16/9;background-image:url(images/cart-page-preview.4bb6f46d.png);background-position:50%;background-repeat:no-repeat;background-size:contain;padding:0 1em 2em;width:100%} diff --git a/js/gutenberg/build/main.css.map b/js/gutenberg/build/main.css.map deleted file mode 100644 index 5cd42eb2..00000000 --- a/js/gutenberg/build/main.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"main.css","mappings":";;;AAAA;;;;;EAAA;ACAA;;;;;CAAA;ADQA;EACI;AAKJ;;AADI;EACI;AAIR;AADI;EACI;AAGR;AAAI;EACI;AAER;;AAEA;EACI;AACJ;;AAEA;EACI;EACA;EACA;EACA;EACA;AACJ;;AAEA;EACI;AACJ;;AAEA;EACI;EACA;EACA;EACA;AACJ;;AAEA;EACI;EACA;EACA;EACA;EACA;AACJ;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AACJ;;AAEA;EACI;EACA;AACJ;;AAEA;EACI;EACA;AACJ;;AAEA;EACI;EACA;AACJ;;AAEA;;EAEI;AACJ;;AAEA;EACI;EACA;EACA;EACA;AACJ;;AAEA;EACI;EACA;EAGA;AACJ;;AAEA;EACI;EACA;AACJ;;AAEA;EACI;AACJ;;AAEA;;EAAA;AAIA;EACI;AAAJ;;AAGA;EACI;AAAJ;;AAGA;EAGI;AAAJ;;AAGA;EACI;EACA;AAAJ;;AAGA;EACI;AAAJ;;AAGA;EACI;EACA;EACA;AAAJ;;AAGA;EACI;EACA;AAAJ;;AAGA;;;EAGI;AAAJ;;AAGA;EACI;EACA;AAAJ;;AAIA;EACI;EACA;EACA;EACA;EACA;AADJ;;AAIA;EACI;AADJ;;AAIA;EACI;EACA;EACA;EACA;AADJ;;AAIA;EACI;EACA;EACA;EACA;EACA;AADJ;;AAIA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAD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;;AAGA;EACI;AAAJ,C;;;;ACnCA;EACI;AACJ;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;AACJ,C;;;;ACVI;EACI;EACA;EACA;EACA;AADR,C;;;;ACLA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;AACJ,C","sources":["webpack://ecwid-blocks/./js/gutenberg/src/store/editor.scss","webpack://ecwid-blocks/./js/gutenberg/src/_variables.scss","webpack://ecwid-blocks/./js/gutenberg/src/product/editor.scss","webpack://ecwid-blocks/./js/gutenberg/src/buynow/editor.scss","webpack://ecwid-blocks/./js/gutenberg/src/search/editor.scss","webpack://ecwid-blocks/./js/gutenberg/src/categories/editor.scss","webpack://ecwid-blocks/./js/gutenberg/src/minicart/editor.scss","webpack://ecwid-blocks/./js/gutenberg/src/category-page/editor.scss","webpack://ecwid-blocks/./js/gutenberg/src/product-page/editor.scss","webpack://ecwid-blocks/./js/gutenberg/src/filters-page/editor.scss","webpack://ecwid-blocks/./js/gutenberg/src/cart-page/editor.scss"],"sourcesContent":["/**\n * #.# Editor Styles\n *\n * CSS for just Backend enqueued after style.scss\n * which makes it higher in priority.\n */\n@use '../_variables' as *;\n\n.components-toolbar__control.components-button:not(:disabled).is-pressed>svg rect {\n fill: white;\n}\n\n.components-toolbar {\n div:first-child .components-button.components-button.ecwid-toolbar-icon {\n padding-left: 6px;\n }\n\n div:last-child .components-button.components-button.ecwid-toolbar-icon {\n padding-right: 6px;\n }\n\n div>.components-button.components-button.ecwid-toolbar-icon {\n padding: 0;\n }\n}\n\n.block-editor-block-icon.has-colors svg.ec-store-icon-color {\n color: #0087cd;\n}\n\n.ecwid-store-block-icon {\n background: url('./images/wordpress_20x20.svg');\n background-size: contain;\n width: 20px;\n height: 20px;\n margin-bottom: 3px;\n}\n\n.ecwid-store-block {\n position: relative;\n}\n\n.ecwid-store-block-button {\n font-family: Open Sans, Trebuchet MS, Helvetica, Verdana, sans-serif;\n position: relative;\n top: 135px;\n font-size: 14px;\n}\n\n.ecwid-product-block-icon {\n background: url('./images/gutenberg-block-product.svg');\n background-size: contain;\n width: 20px;\n height: 20px;\n margin-bottom: 3px;\n}\n\n.ecwid-block {\n text-align: center;\n font-size: 13px;\n font-family: 'Open Sans';\n padding: 1em;\n background-color: #f8f9f9;\n display: flex;\n flex-direction: column;\n justify-content: center;\n min-height: 220px;\n}\n\n.ecwid-block>div {\n display: flex;\n justify-content: center;\n}\n\n.ecwid-block .ecwid-block-header {\n font-weight: 600;\n margin-bottom: 1em;\n}\n\n.ecwid-block .ecwid-block-header svg {\n max-height: 20px;\n margin-right: 1ch;\n}\n\n.ecwid-block .ecwid-store-block-icon,\n.ecwid-block .ecwid-product-block-icon {\n margin-right: 10px;\n}\n\n.ecwid-block .ecwid-block-image {\n height: 90px;\n background-repeat: no-repeat;\n background-size: contain;\n background-position: 50% 50%;\n}\n\n.ecwid-block .ecwid-block-image img {\n width: auto;\n max-height: 100%;\n -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);\n -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);\n box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);\n}\n\n.ecwid-block .ecwid-block-title {\n margin-top: 11px;\n margin-bottom: 1em;\n}\n\n.ecwid-block .ecwid-block-button {\n font-weight: 400;\n}\n\n/*\n Popup styles for selected product block\n */\n\n.ecwid-selected-product {\n font-family: Open Sans, Trebuchet MS, Helvetica, Verdana, sans-serif;\n}\n\n.ecwid-selected-product>div {\n display: table-cell;\n}\n\n.ecwid-selected-product .ecwid-selected-product-image img {\n -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);\n -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);\n box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);\n}\n\n.ecwid-selected-product .ecwid-selected-product-image {\n padding-right: 25px;\n vertical-align: top;\n}\n\n.ecwid-selected-product .ecwid-selected-product-details {\n vertical-align: middle;\n}\n\n.ecwid-selected-product .ecwid-selected-product-name {\n font-size: 20px;\n font-weight: 600;\n margin-bottom: 0.5em;\n}\n\n.ecwid-selected-product .ecwid-selected-product-sku {\n font-size: 16px;\n margin-bottom: 1em;\n}\n\n.media-frame-content.has-selected-product form,\n.media-frame-content.has-selected-product .products,\n.media-frame-content.has-selected-product .tablenav {\n display: none;\n}\n\n#ecwid-product-popup-content .media-frame-content.ecwid-selected-product {\n padding-left: 20px;\n padding-top: 40px;\n}\n\n\n.ecwid-store-block-icon {\n background: url('./images/wordpress_20x20.svg');\n background-size: contain;\n width: 20px;\n height: 20px;\n margin-bottom: 3px;\n}\n\n.ecwid-store-block {\n position: relative;\n}\n\n.ecwid-store-block-button {\n font-family: Open Sans, Trebuchet MS, Helvetica, Verdana, sans-serif;\n position: relative;\n top: 135px;\n font-size: 14px;\n}\n\n.ecwid-product-block-icon {\n background: url('./images/gutenberg-block-product.svg');\n background-size: contain;\n width: 20px;\n height: 20px;\n margin-bottom: 3px;\n}\n\n.ec-store-block {\n text-align: center;\n font-size: 13px;\n font-family: 'Open Sans';\n padding: 1em;\n background-color: #ffffff;\n display: flex;\n flex-direction: column;\n justify-content: center;\n min-height: 220px;\n}\n\n.ec-store-block-product {\n background: none;\n display: inline-block;\n}\n\n.ec-store-block-product svg {\n margin: auto;\n}\n\n.ec-store-product-title {\n font-weight: 600;\n font-size: 14px;\n color: #555;\n margin-top: 5px;\n}\n\n.ec-store-block>div {\n display: flex;\n justify-content: center;\n}\n\n.ec-store-block .ec-store-block-header {\n font-weight: 600;\n margin-bottom: 1em;\n line-height: 24px;\n}\n\n.ec-store-block .ec-store-block-header svg {\n max-height: 24px;\n margin-right: 1ch;\n}\n\n.ec-store-block .ec-store-block-subheader {\n font-size: 16px;\n font-weight: bold;\n line-height: 24px;\n letter-spacing: -.1px;\n margin: 16px 0 0;\n}\n\n.ec-store-block .ec-store-block-subheader:first-child {\n margin-top: 0;\n}\n\n.ec-store-block .ec-store-store-block-icon,\n.ec-store-block .ec-store-product-block-icon {\n margin-right: 10px;\n}\n\n.ec-store-block .ec-store-block-image {\n max-height: 149px;\n background-repeat: no-repeat;\n background-size: contain;\n background-position: 50% 50%;\n}\n\n.ec-store-block .ec-store-block-image img {\n width: auto;\n max-height: 100%;\n -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);\n -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);\n box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);\n object-fit: cover;\n}\n\n.ec-store-block-product .ec-store-block-image,\n.ec-store-block-product .ec-store-block-product-preview {\n height: 180px;\n min-width: 180px;\n}\n\n.ec-store-block-product .ec-store-block-product-preview {\n border: 1px solid rgba(145, 151, 162, .25);\n}\n\n.ec-store-block-minicart {\n min-height: 180px;\n min-width: 180px;\n display: inline-block;\n background: none;\n position: relative;\n}\n\n.ec-store-block-minicart .image {\n background: url('./images/minicart-preview.png') 50% 50% no-repeat;\n background-size: 50%;\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n}\n\n.ec-store-block .ec-store-block-title {\n margin-top: 11px;\n margin-bottom: 1em;\n}\n\n.ec-store-block .ec-store-block-button {\n font-weight: 400;\n margin-top: 11px;\n}\n\n.ec-store-block>.ec-store-products {\n display: block;\n}\n\n.ec-store-products {\n\n .ec-store-product-block {\n width: 130px;\n margin: 15px;\n display: inline-block;\n\n .ec-store-product {\n width: 130px;\n height: 130px;\n /*border: 1px solid #e2e4e7;*/\n background-size: 100% 100%;\n }\n\n .ec-store-stub-sample {\n width: 130px;\n height: 40px;\n margin: 0;\n background: url(\"./images/stub-sample.png\") no-repeat;\n background-position: center;\n }\n\n &.ec-store-product-filter {\n vertical-align: top;\n\n .ec-store-stub-sample {\n height: 130px;\n background: url(\"./images/stub-filter.png\") no-repeat;\n background-size: contain;\n }\n }\n }\n}\n\n.ec-store-product1 {\n background: url(\"./images/store1.png\");\n}\n\n.ec-store-product2 {\n background: url(\"./images/store2.png\");\n}\n\n.ec-store-product3 {\n background: url(\"./images/store3.png\");\n\n}\n\n.ec-store-product4 {\n background: url(\"./images/store4.png\");\n}\n\n.ec-store-product5 {\n background: url(\"./images/store5.png\");\n}\n\n.ec-store-product6 {\n background: url(\"./images/store6.png\");\n}\n\n.ec-store-product- {\n &y_sneaker {\n background: url(\"./images/y_sneaker.png\");\n }\n\n &y_shirt {\n background: url(\"./images/y_shirt.png\");\n }\n\n &y_watch {\n background: url(\"./images/y_watch.png\");\n }\n\n &y_bag {\n background: url(\"./images/y_bag.png\");\n }\n\n &y_hat {\n background: url(\"./images/y_hat.png\");\n }\n\n &g_sneaker {\n background: url(\"./images/g_sneaker.png\");\n }\n\n &g_shirt {\n background: url(\"./images/g_shirt.png\");\n }\n\n &g_watch {\n background: url(\"./images/g_watch.png\");\n }\n\n /*\n &g_bag {\n background: url(\"./images/g_bag.png\");\n }\n */\n\n &g_hat {\n background: url(\"./images/g_hat.png\");\n }\n\n &p_sneaker {\n background: url(\"./images/p_sneaker.png\");\n }\n\n &p_shirt {\n background: url(\"./images/p_shirt.png\");\n }\n\n &b_hat {\n background: url(\"./images/b_hat.png\");\n }\n\n &b_watch {\n background: url(\"./images/b_watch.png\");\n }\n\n &m_sneaker {\n background: url(\"./images/m_sneaker.png\");\n }\n}\n\n.ec-store-category- {\n &shirt {\n background: url(\"./images/categories1.png\");\n }\n\n &sneaker {\n background: url(\"./images/categories2.png\");\n }\n\n &bag {\n background: url(\"./images/categories4.png\");\n }\n\n &hat {\n background: url(\"./images/categories3.png\");\n }\n\n &watch {\n background: url(\"./images/categories5.png\");\n }\n\n &glasses {\n background: url(\"./images/categories6.png\");\n }\n}\n\n.ec-store-color-picker {\n .component-color-indicator {\n vertical-align: text-bottom;\n margin-left: 0.5rem;\n margin-bottom: -0.2rem;\n }\n\n .components-color-palette {\n margin-top: .6rem;\n }\n\n select {\n margin: 6px 0 10px;\n }\n}\n\n.ec-store-inspector-subheader-row {\n margin-bottom: 20px;\n}\n\n.ec-store-inspector-row {\n justify-content: space-between;\n display: flex;\n align-items: center;\n margin: 15px 0;\n\n label,\n button {\n display: block;\n }\n}\n\n.ec-store-inspector-subheader {\n color: #191e23;\n font-weight: 600;\n cursor: default;\n}\n\n.ec-store-inspector-select {\n max-width: 100%;\n}\n\n.ec-store-control-select {\n width: 100%;\n}\n\n.ec-store-inspector-button-group {\n display: block;\n}\n\n.ec-store-generic-block>div {\n display: block;\n}\n\n.ec-store-block .ec-store-block-header {\n font-weight: 600;\n margin-bottom: 24px;\n line-height: 24px;\n display: flex;\n color: #979797;\n}\n\n.ec-store-block .ec-store-block-header svg {\n max-height: 20px;\n margin-right: .5ch;\n fill: #979797;\n}\n\n.ec-store-generic-block,\n.ec-store-block-categories {\n -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);\n box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);\n}\n\n.ec-store-inspector-radio .components-radio-control__option,\n.ec-store-inspector-radio .components-radio-control__option input,\n.ec-store-inspector-radio .components-radio-control__option label {\n display: flex;\n min-width: 16px;\n min-width: 16px;\n}\n\n.ec-store-inspector-radio .components-base-control__field>label {\n margin-bottom: 12px;\n}\n\n.ec-store-inspector-radio .components-radio-control__option label {\n margin-top: -2px;\n}\n\n.ec-store-inspector-radio__title {\n font-weight: 600;\n}\n\n.ec-store-categories {\n background-size: contain;\n}\n\n.ec-store-categories-category1 {\n background: url(\"./images/categories1.png\")\n}\n\n.ec-store-categories-category2 {\n background: url(\"./images/categories2.png\")\n}\n\n.ec-store-categories-category3 {\n background: url(\"./images/categories3.png\")\n}\n\n.ec-store-categories-category4 {\n background: url(\"./images/categories4.png\")\n}\n\n.block-editor-inserter__preview-container {\n\n .ec-store-products>div,\n .ec-store-category-products>div {\n margin: 5px;\n }\n}\n\n.block-editor-inserter__panel-header {\n .ec-store-icon {\n width: 18px;\n height: 18px;\n margin-bottom: 1px;\n }\n}\n\n.wp-block[data-type=\"ecwid/store-block\"] {\n max-width: 95% !important;\n\n .ec-store-with-stub {\n max-width: 610px;\n margin: 0 auto;\n }\n\n #ec-store-preview {\n min-height: 150px !important;\n }\n\n #ec-store-search-preview,\n #ec-store-categories-preview {\n margin-bottom: 1.25em;\n }\n}","/**\n * #.# Variables SCSS\n *\n * Can include things like variables and mixins\n * that are used across the project.\n*/\n\n// Colors.\n$black: rgb(41, 41, 41);\n$white: #f4f4f4;\n$gray: #dedede;\n$green: #bada55;\n$red: orangered;","/**\n * #.# Editor Styles\n *\n * CSS for just Backend enqueued after style.scss\n * which makes it higher in priority.\n */\n@use '../_variables' as *;\n\n.ec-store-products .ec-store-product-block.ec-store-product-block-small {\n width: 149px;\n\n .ec-store-product {\n width: 149px;\n height: 149px;\n }\n\n .ec-store-stub-sample {\n width: 149px;\n }\n}",".ec-store-block-cart-page .ec-store-block-buynow-preview {\n background-image: url('./images/buy-now-preview.png');\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center;\n max-width: 90%;\n margin: 0 auto;\n aspect-ratio: 16 / 9;\n width: 100%;\n display: block;\n}",".ec-store-block-search {\n min-width: 334px;\n min-height: 40px;\n display: inline-block;\n background: none;\n position: relative;\n}\n\n.ec-store-block-search .image {\n background: url('./images/search-preview.png') 50% 50% no-repeat;\n background-size: 334px 40px;\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n}",".ec-store-block-categories {\n height: 50px;\n min-height: 50px;\n\n .ec-store-block-header {\n margin-bottom: 0;\n font-weight: bold;\n display: flex;\n align-items: center;\n\n >div:first-child {\n height: 28px;\n }\n\n .ec-store-categories-menu {\n width: 368px;\n height: 8px;\n display: inline-block;\n margin: auto 0 auto 44px;\n\n background-image: url('./images/categories-menu-preview.png');\n background-repeat: no-repeat;\n background-size: contain;\n background-position: center;\n }\n }\n}",".ec-store-block-minicart {\n min-height: 66px;\n min-width: 210px;\n display: inline-block;\n background: none;\n position: relative;\n}\n\n.ec-store-block-minicart .image {\n background: url('./images/minicart-preview.png') 50% 50% no-repeat;\n background-size: 100%;\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n}",".ec-store-block>.ec-store-category {\n display: block;\n}\n\n.ec-store-category-products>div {\n width: 130px;\n height: 130px;\n margin: 15px;\n display: inline-flex;\n border: 1px solid #e2e4e7;\n background-size: 100% 100%;\n}\n\n.ec-store-category-product1 {\n background: url(\"./images/category1.png\");\n}\n\n.ec-store-category-product2 {\n background: url(\"./images/category2.png\");\n}\n\n.ec-store-category-product3 {\n background: url(\"./images/category3.png\");\n\n}\n\n.ec-store-category-product4 {\n background: url(\"./images/category4.png\");\n}\n\n.ec-store-category-product5 {\n background: url(\"./images/category5.png\");\n}\n\n.ec-store-category-product6 {\n background: url(\"./images/category6.png\");\n}",".ec-store-block-content {\n padding: 0 42px 24px;\n}\n\n.ec-store-product-page-preview {\n width: 100%;\n max-width: 100%;\n background-image: url('./images/product-page-preview.png');\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center;\n aspect-ratio: 16 / 9;\n}",".ec-store-block-filters-page {\n\n .ec-store-products .ec-store-product-block.ec-store-product-filter .ec-store-stub-sample {\n min-height: 160px;\n height: 160px;\n background: url(\"./images/search-filters-stub.png\") no-repeat;\n background-size: contain;\n }\n}",".ec-store-block-cart-page .ec-store-block-cart-page-preview {\n background-image: url('./images/cart-page-preview.png');\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center;\n width: 100%;\n padding: 0 1em 2em;\n aspect-ratio: 16 / 9;\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/js/gutenberg/build/style-main.css b/js/gutenberg/build/style-main.css index 34472aba..584ba879 100644 --- a/js/gutenberg/build/style-main.css +++ b/js/gutenberg/build/style-main.css @@ -1,40 +1,10 @@ -/*!**********************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./js/gutenberg/src/store/style.scss ***! - \**********************************************************************************************************************************************************************************************************************************************************/ -/*!************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./js/gutenberg/src/product/style.scss ***! - \************************************************************************************************************************************************************************************************************************************************************/ -/*!***********************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./js/gutenberg/src/buynow/style.scss ***! - \***********************************************************************************************************************************************************************************************************************************************************/ -/*!***********************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./js/gutenberg/src/search/style.scss ***! - \***********************************************************************************************************************************************************************************************************************************************************/ -/*!***************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./js/gutenberg/src/categories/style.scss ***! - \***************************************************************************************************************************************************************************************************************************************************************/ -/*!*************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./js/gutenberg/src/minicart/style.scss ***! - \*************************************************************************************************************************************************************************************************************************************************************/ -/*!******************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./js/gutenberg/src/category-page/style.scss ***! - \******************************************************************************************************************************************************************************************************************************************************************/ -/*!*****************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./js/gutenberg/src/product-page/style.scss ***! - \*****************************************************************************************************************************************************************************************************************************************************************/ -/*!*****************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./js/gutenberg/src/filters-page/style.scss ***! - \*****************************************************************************************************************************************************************************************************************************************************************/ -/*!**************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./js/gutenberg/src/cart-page/style.scss ***! - \**************************************************************************************************************************************************************************************************************************************************************/