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.0 6.2.1 3.1.1 6.2.2 3.1.2 6.2.3 3.2.0 6.3.0 3.2.1 6.3.0-beta.1 3.2.2 6.3.0-rc.1 3.2.3 6.3.0-rc.2 3.2.4 6.3.1 3.2.5 6.3.2 3.2.6 6.4.0 3.3.0 6.4.0-beta.1 3.3.1 6.4.0-rc.1 3.3.2 6.4.1 3.3.2-rc.1 6.4.2 3.3.3 6.5.0 3.3.4 6.5.0-beta.1 3.3.5 6.5.0-rc.1 3.3.6 6.5.0-rc.2 3.4.0 6.5.1 3.4.0-beta.1 6.5.2 3.4.0-rc.2 6.6.0 3.4.1 6.6.0-beta.1 3.4.2 6.6.0-rc.1 3.4.3 6.6.0-rc.2 3.4.4 6.6.1 3.4.5 6.6.2 3.4.6 6.7.0 3.4.7 6.7.0-beta.1 3.4.8 6.7.0-beta.2 3.5.0 6.7.0-rc.1 3.5.0-beta.1 6.7.1 3.5.0-rc.1 6.8.0 3.5.0-rc.2 6.8.0-beta.1 3.5.1 6.8.0-beta.2 3.5.10 6.8.0-rc.1 3.5.2 6.8.1 3.5.3 6.8.2 3.5.4 6.8.3 3.5.5 6.9.0 3.5.6 6.9.0-beta.1 3.5.7 6.9.0-beta.2 3.5.8 6.9.0-rc.1 3.5.9 6.9.1 3.6.0 6.9.2 3.6.0-beta.1 6.9.3 3.6.0-rc.1 6.9.4 3.6.0-rc.2 6.9.5 3.6.0-rc.3 7.0.0 3.6.1 7.0.0-beta.1 3.6.2 7.0.0-beta.2 3.6.3 7.0.0-beta.3 3.6.4 7.0.0-rc.1 3.6.5 7.0.0-rc.2 3.6.6 7.0.1 3.6.7 7.0.2 3.7.0 7.1.0 3.7.0-beta.1 7.1.0-beta.1 3.7.0-rc.1 7.1.0-beta.2 3.7.0-rc.2 7.1.0-rc.1 3.7.1 7.1.0-rc.2 3.7.2 7.1.1
woocommerce / assets / client / blocks / product-search.js
woocommerce / assets / client / blocks Last commit date
active-filters 2 years ago add-to-cart-form 2 years ago all-products 2 years ago attribute-filter 2 years ago base-components-mini-cart-contents-block 2 years ago base-components-product-price~mini-cart-contents-block 2 years ago breadcrumbs 2 years ago cart-blocks 2 years ago catalog-sorting 2 years ago checkout 2 years ago checkout-blocks 2 years ago classic-shortcode 2 years ago collection-active-filters 2 years ago collection-attribute-filter 2 years ago collection-filters 2 years ago collection-price-filter 2 years ago collection-rating-filter 2 years ago collection-stock-filter 2 years ago customer-account 2 years ago featured-category 2 years ago featured-product 2 years ago filter-wrapper 2 years ago handpicked-products 2 years ago inner-blocks 2 years ago mini-cart 2 years ago mini-cart-contents-block 2 years ago order-confirmation-additional-information 2 years ago order-confirmation-billing-address 2 years ago order-confirmation-billing-wrapper 2 years ago order-confirmation-downloads 2 years ago order-confirmation-downloads-wrapper 2 years ago order-confirmation-shipping-address 2 years ago order-confirmation-shipping-wrapper 2 years ago order-confirmation-status 2 years ago order-confirmation-summary 2 years ago order-confirmation-totals 2 years ago order-confirmation-totals-wrapper 2 years ago page-content-wrapper 2 years ago price-filter 2 years ago product-average-rating 2 years ago product-best-sellers 2 years ago product-button 2 years ago product-categories 2 years ago product-category 2 years ago product-collection 2 years ago product-collection-no-results 2 years ago product-details 2 years ago product-gallery 2 years ago product-gallery-large-image 2 years ago product-gallery-large-image-next-previous 2 years ago product-gallery-pager 2 years ago product-gallery-thumbnails 2 years ago product-image-gallery 2 years ago product-meta 2 years ago product-new 2 years ago product-rating 2 years ago product-rating-counter 2 years ago product-rating-stars 2 years ago product-results-count 2 years ago product-reviews 2 years ago product-tag 2 years ago product-template 2 years ago product-top-rated 2 years ago products-by-attribute 2 years ago rating-filter 2 years ago related-products 2 years ago single-product 2 years ago stock-filter 2 years ago store-notices 2 years ago active-filters-frontend.asset.php 2 years ago active-filters-frontend.js 2 years ago active-filters-frontend.js.map 2 years ago active-filters-rtl.css 2 years ago active-filters-style.asset.php 2 years ago active-filters-style.js.map 2 years ago active-filters-wrapper-frontend.js 2 years ago active-filters-wrapper-frontend.js.map 2 years ago active-filters-wrapper-rtl.css 2 years ago active-filters-wrapper-style.js.map 2 years ago active-filters-wrapper.css 2 years ago active-filters-wrapper.css.map 2 years ago active-filters.asset.php 2 years ago active-filters.css 2 years ago active-filters.css.map 2 years ago active-filters.js 2 years ago active-filters.js.map 2 years ago add-to-cart-form-rtl.css 2 years ago add-to-cart-form-style.asset.php 2 years ago add-to-cart-form-style.js.map 2 years ago add-to-cart-form.css 2 years ago add-to-cart-form.css.map 2 years ago all-products-frontend.asset.php 2 years ago all-products-frontend.js 2 years ago all-products-frontend.js.map 2 years ago all-products-rtl.css 2 years ago all-products-style.asset.php 2 years ago all-products-style.js.map 2 years ago all-products.asset.php 2 years ago all-products.css 2 years ago all-products.css.map 2 years ago all-products.js 2 years ago all-products.js.map 2 years ago all-reviews-rtl.css 2 years ago all-reviews-style.asset.php 2 years ago all-reviews-style.js.map 2 years ago all-reviews.asset.php 2 years ago all-reviews.css 2 years ago all-reviews.css.map 2 years ago all-reviews.js 2 years ago all-reviews.js.map 2 years ago assets_js_base_context_hooks_collections_use-collection_ts-assets_js_base_context_hooks_use-q-fdf7ba-style.js.map 2 years ago assets_js_base_context_hooks_use-store-add-to-cart_ts-assets_js_base_context_hooks_use-store--e30f56-style.js.map 2 years ago attribute-filter-frontend.asset.php 2 years ago attribute-filter-frontend.js 2 years ago attribute-filter-frontend.js.map 2 years ago attribute-filter-rtl.css 2 years ago attribute-filter-style.asset.php 2 years ago attribute-filter-style.js.map 2 years ago attribute-filter-wrapper-frontend.js 2 years ago attribute-filter-wrapper-frontend.js.map 2 years ago attribute-filter-wrapper-rtl.css 2 years ago attribute-filter-wrapper-style.js.map 2 years ago attribute-filter-wrapper.css 2 years ago attribute-filter-wrapper.css.map 2 years ago attribute-filter.asset.php 2 years ago attribute-filter.css 2 years ago attribute-filter.css.map 2 years ago attribute-filter.js 2 years ago attribute-filter.js.map 2 years ago base-components-attribute-filter-wrapper-index.tsx-style.js.map 2 years ago base-components-price-filter-wrapper-index.tsx-style.js.map 2 years ago base-components-price-filter-wrapper-style.scss-rtl.css 2 years ago base-components-price-filter-wrapper-style.scss.css 2 years ago base-components-price-filter-wrapper-style.scss.css.map 2 years ago base-components-rating-filter-wrapper-index.tsx-style.js.map 2 years ago base-components-rating-filter-wrapper-style.scss-rtl.css 2 years ago base-components-rating-filter-wrapper-style.scss.css 2 years ago base-components-rating-filter-wrapper-style.scss.css.map 2 years ago base-components-stock-filter-wrapper-index.tsx-style.js.map 2 years ago base-components-stock-filter-wrapper~attribute-filter-wrapper~rating-filter-wrapper-style.scss-rtl.css 2 years ago base-components-stock-filter-wrapper~attribute-filter-wrapper~rating-filter-wrapper-style.scss.css 2 years ago base-components-stock-filter-wrapper~attribute-filter-wrapper~rating-filter-wrapper-style.scss.css.map 2 years ago base-context-product-add-to-cart-index.js-style.js.map 2 years ago blocks-checkout.asset.php 2 years ago blocks-checkout.js 2 years ago blocks-checkout.js.map 2 years ago blocks-components.asset.php 2 years ago blocks-components.js 2 years ago blocks-components.js.map 2 years ago breadcrumbs-rtl.css 2 years ago breadcrumbs-style.asset.php 2 years ago breadcrumbs-style.js.map 2 years ago breadcrumbs.asset.php 2 years ago breadcrumbs.css 2 years ago breadcrumbs.css.map 2 years ago breadcrumbs.js 2 years ago breadcrumbs.js.map 2 years ago cart-frontend.asset.php 2 years ago cart-frontend.js 2 years ago cart-frontend.js.map 2 years ago cart-rtl.css 2 years ago cart-style.asset.php 2 years ago cart-style.js.map 2 years ago cart.asset.php 2 years ago cart.css 2 years ago cart.css.map 2 years ago cart.js 2 years ago cart.js.map 2 years ago catalog-sorting-rtl.css 2 years ago catalog-sorting-style.asset.php 2 years ago catalog-sorting-style.js.map 2 years ago catalog-sorting.asset.php 2 years ago catalog-sorting.css 2 years ago catalog-sorting.css.map 2 years ago catalog-sorting.js 2 years ago catalog-sorting.js.map 2 years ago checkout-frontend.asset.php 2 years ago checkout-frontend.js 2 years ago checkout-frontend.js.map 2 years ago checkout-rtl.css 2 years ago checkout-style.asset.php 2 years ago checkout-style.js.map 2 years ago checkout.asset.php 2 years ago checkout.css 2 years ago checkout.css.map 2 years ago checkout.js 2 years ago checkout.js.map 2 years ago classic-shortcode-rtl.css 2 years ago classic-shortcode-style.asset.php 2 years ago classic-shortcode-style.js.map 2 years ago classic-shortcode.asset.php 2 years ago classic-shortcode.css 2 years ago classic-shortcode.css.map 2 years ago classic-shortcode.js 2 years ago classic-shortcode.js.map 2 years ago collection-active-filters-frontend.asset.php 2 years ago collection-active-filters-frontend.js 2 years ago collection-active-filters-frontend.js.map 2 years ago collection-active-filters-rtl.css 2 years ago collection-active-filters-style.asset.php 2 years ago collection-active-filters-style.js.map 2 years ago collection-active-filters.asset.php 2 years ago collection-active-filters.css 2 years ago collection-active-filters.css.map 2 years ago collection-active-filters.js 2 years ago collection-active-filters.js.map 2 years ago collection-attribute-filter-frontend.asset.php 2 years ago collection-attribute-filter-frontend.js 2 years ago collection-attribute-filter-frontend.js.map 2 years ago collection-attribute-filter-rtl.css 2 years ago collection-attribute-filter-style.asset.php 2 years ago collection-attribute-filter-style.js.map 2 years ago collection-attribute-filter.asset.php 2 years ago collection-attribute-filter.css 2 years ago collection-attribute-filter.css.map 2 years ago collection-attribute-filter.js 2 years ago collection-attribute-filter.js.map 2 years ago collection-filters-style.asset.php 2 years ago collection-filters-style.js.map 2 years ago collection-filters.asset.php 2 years ago collection-filters.js 2 years ago collection-filters.js.map 2 years ago collection-price-filter-frontend.asset.php 2 years ago collection-price-filter-frontend.js 2 years ago collection-price-filter-frontend.js.map 2 years ago collection-price-filter-rtl.css 2 years ago collection-price-filter-style.asset.php 2 years ago collection-price-filter-style.js.map 2 years ago collection-price-filter.asset.php 2 years ago collection-price-filter.css 2 years ago collection-price-filter.css.map 2 years ago collection-price-filter.js 2 years ago collection-price-filter.js.map 2 years ago collection-rating-filter-frontend.asset.php 2 years ago collection-rating-filter-frontend.js 2 years ago collection-rating-filter-frontend.js.map 2 years ago collection-rating-filter-rtl.css 2 years ago collection-rating-filter-style.asset.php 2 years ago collection-rating-filter-style.js.map 2 years ago collection-rating-filter.asset.php 2 years ago collection-rating-filter.css 2 years ago collection-rating-filter.css.map 2 years ago collection-rating-filter.js 2 years ago collection-rating-filter.js.map 2 years ago collection-stock-filter-frontend.asset.php 2 years ago collection-stock-filter-frontend.js 2 years ago collection-stock-filter-frontend.js.map 2 years ago collection-stock-filter-rtl.css 2 years ago collection-stock-filter-style.asset.php 2 years ago collection-stock-filter-style.js.map 2 years ago collection-stock-filter.asset.php 2 years ago collection-stock-filter.css 2 years ago collection-stock-filter.css.map 2 years ago collection-stock-filter.js 2 years ago collection-stock-filter.js.map 2 years ago customer-account-rtl.css 2 years ago customer-account-style.asset.php 2 years ago customer-account-style.js.map 2 years ago customer-account.asset.php 2 years ago customer-account.css 2 years ago customer-account.css.map 2 years ago customer-account.js 2 years ago customer-account.js.map 2 years ago featured-category-rtl.css 2 years ago featured-category-style.asset.php 2 years ago featured-category-style.js.map 2 years ago featured-category.asset.php 2 years ago featured-category.css 2 years ago featured-category.css.map 2 years ago featured-category.js 2 years ago featured-category.js.map 2 years ago featured-product-rtl.css 2 years ago featured-product-style.asset.php 2 years ago featured-product-style.js.map 2 years ago featured-product.asset.php 2 years ago featured-product.css 2 years ago featured-product.css.map 2 years ago featured-product.js 2 years ago featured-product.js.map 2 years ago filter-wrapper-frontend.asset.php 2 years ago filter-wrapper-frontend.js 2 years ago filter-wrapper-frontend.js.map 2 years ago filter-wrapper-rtl.css 2 years ago filter-wrapper-style.asset.php 2 years ago filter-wrapper-style.js.map 2 years ago filter-wrapper.asset.php 2 years ago filter-wrapper.css 2 years ago filter-wrapper.css.map 2 years ago filter-wrapper.js 2 years ago filter-wrapper.js.map 2 years ago handpicked-products-style.asset.php 2 years ago handpicked-products-style.js.map 2 years ago handpicked-products.asset.php 2 years ago handpicked-products.js 2 years ago handpicked-products.js.map 2 years ago legacy-template-rtl.css 2 years ago legacy-template-style.asset.php 2 years ago legacy-template-style.js.map 2 years ago legacy-template.asset.php 2 years ago legacy-template.css 2 years ago legacy-template.css.map 2 years ago legacy-template.js 2 years ago legacy-template.js.map 2 years ago mini-cart-component-frontend.asset.php 2 years ago mini-cart-component-frontend.js 2 years ago mini-cart-component-frontend.js.map 2 years ago mini-cart-contents-rtl.css 2 years ago mini-cart-contents-style.asset.php 2 years ago mini-cart-contents-style.js.map 2 years ago mini-cart-contents.asset.php 2 years ago mini-cart-contents.css 2 years ago mini-cart-contents.css.map 2 years ago mini-cart-contents.js 2 years ago mini-cart-contents.js.map 2 years ago mini-cart-frontend.asset.php 2 years ago mini-cart-frontend.js 2 years ago mini-cart-frontend.js.map 2 years ago mini-cart-rtl.css 2 years ago mini-cart-style.asset.php 2 years ago mini-cart-style.js.map 2 years ago mini-cart.asset.php 2 years ago mini-cart.css 2 years ago mini-cart.css.map 2 years ago mini-cart.js 2 years ago mini-cart.js.map 2 years ago order-confirmation-additional-information-rtl.css 2 years ago order-confirmation-additional-information-style.asset.php 2 years ago order-confirmation-additional-information-style.js.map 2 years ago order-confirmation-additional-information.asset.php 2 years ago order-confirmation-additional-information.css 2 years ago order-confirmation-additional-information.css.map 2 years ago order-confirmation-additional-information.js 2 years ago order-confirmation-additional-information.js.map 2 years ago order-confirmation-billing-address-rtl.css 2 years ago order-confirmation-billing-address-style.asset.php 2 years ago order-confirmation-billing-address-style.js.map 2 years ago order-confirmation-billing-address.asset.php 2 years ago order-confirmation-billing-address.css 2 years ago order-confirmation-billing-address.css.map 2 years ago order-confirmation-billing-address.js 2 years ago order-confirmation-billing-address.js.map 2 years ago order-confirmation-billing-wrapper-style.asset.php 2 years ago order-confirmation-billing-wrapper-style.js.map 2 years ago order-confirmation-billing-wrapper.asset.php 2 years ago order-confirmation-billing-wrapper.js 2 years ago order-confirmation-billing-wrapper.js.map 2 years ago order-confirmation-downloads-rtl.css 2 years ago order-confirmation-downloads-style.asset.php 2 years ago order-confirmation-downloads-style.js.map 2 years ago order-confirmation-downloads-wrapper-style.asset.php 2 years ago order-confirmation-downloads-wrapper-style.js.map 2 years ago order-confirmation-downloads-wrapper.asset.php 2 years ago order-confirmation-downloads-wrapper.js 2 years ago order-confirmation-downloads-wrapper.js.map 2 years ago order-confirmation-downloads.asset.php 2 years ago order-confirmation-downloads.css 2 years ago order-confirmation-downloads.css.map 2 years ago order-confirmation-downloads.js 2 years ago order-confirmation-downloads.js.map 2 years ago order-confirmation-shipping-address-rtl.css 2 years ago order-confirmation-shipping-address-style.asset.php 2 years ago order-confirmation-shipping-address-style.js.map 2 years ago order-confirmation-shipping-address.asset.php 2 years ago order-confirmation-shipping-address.css 2 years ago order-confirmation-shipping-address.css.map 2 years ago order-confirmation-shipping-address.js 2 years ago order-confirmation-shipping-address.js.map 2 years ago order-confirmation-shipping-wrapper-style.asset.php 2 years ago order-confirmation-shipping-wrapper-style.js.map 2 years ago order-confirmation-shipping-wrapper.asset.php 2 years ago order-confirmation-shipping-wrapper.js 2 years ago order-confirmation-shipping-wrapper.js.map 2 years ago order-confirmation-status-rtl.css 2 years ago order-confirmation-status-style.asset.php 2 years ago order-confirmation-status-style.js.map 2 years ago order-confirmation-status.asset.php 2 years ago order-confirmation-status.css 2 years ago order-confirmation-status.css.map 2 years ago order-confirmation-status.js 2 years ago order-confirmation-status.js.map 2 years ago order-confirmation-summary-rtl.css 2 years ago order-confirmation-summary-style.asset.php 2 years ago order-confirmation-summary-style.js.map 2 years ago order-confirmation-summary.asset.php 2 years ago order-confirmation-summary.css 2 years ago order-confirmation-summary.css.map 2 years ago order-confirmation-summary.js 2 years ago order-confirmation-summary.js.map 2 years ago order-confirmation-totals-rtl.css 2 years ago order-confirmation-totals-style.asset.php 2 years ago order-confirmation-totals-style.js.map 2 years ago order-confirmation-totals-wrapper-style.asset.php 2 years ago order-confirmation-totals-wrapper-style.js.map 2 years ago order-confirmation-totals-wrapper.asset.php 2 years ago order-confirmation-totals-wrapper.js 2 years ago order-confirmation-totals-wrapper.js.map 2 years ago order-confirmation-totals.asset.php 2 years ago order-confirmation-totals.css 2 years ago order-confirmation-totals.css.map 2 years ago order-confirmation-totals.js 2 years ago order-confirmation-totals.js.map 2 years ago packages-style-rtl.css 2 years ago packages-style-style.asset.php 2 years ago packages-style-style.js.map 2 years ago packages-style.css 2 years ago packages-style.css.map 2 years ago page-content-wrapper-style.asset.php 2 years ago page-content-wrapper-style.js.map 2 years ago page-content-wrapper.asset.php 2 years ago page-content-wrapper.js 2 years ago page-content-wrapper.js.map 2 years ago price-filter-frontend.asset.php 2 years ago price-filter-frontend.js 2 years ago price-filter-frontend.js.map 2 years ago price-filter-rtl.css 2 years ago price-filter-style.asset.php 2 years ago price-filter-style.js.map 2 years ago price-filter-wrapper-frontend.js 2 years ago price-filter-wrapper-frontend.js.map 2 years ago price-filter-wrapper-rtl.css 2 years ago price-filter-wrapper-style.js.map 2 years ago price-filter-wrapper.css 2 years ago price-filter-wrapper.css.map 2 years ago price-filter.asset.php 2 years ago price-filter.css 2 years ago price-filter.css.map 2 years ago price-filter.js 2 years ago price-filter.js.map 2 years ago price-format.asset.php 2 years ago price-format.js 2 years ago price-format.js.map 2 years ago product-add-to-cart-frontend.js 2 years ago product-add-to-cart-frontend.js.map 2 years ago product-add-to-cart-rtl.css 2 years ago product-add-to-cart-style.js.map 2 years ago product-add-to-cart.css 2 years ago product-add-to-cart.css.map 2 years ago product-add-to-cart.js 2 years ago product-add-to-cart.js.map 2 years ago product-average-rating-frontend.js 2 years ago product-average-rating-frontend.js.map 2 years ago product-average-rating-style.js.map 2 years ago product-average-rating.js 2 years ago product-average-rating.js.map 2 years ago product-best-sellers-style.asset.php 2 years ago product-best-sellers-style.js.map 2 years ago product-best-sellers.asset.php 2 years ago product-best-sellers.js 2 years ago product-best-sellers.js.map 2 years ago product-button-frontend.js 2 years ago product-button-frontend.js.map 2 years ago product-button-interactivity-frontend.asset.php 2 years ago product-button-interactivity-frontend.js 2 years ago product-button-interactivity-frontend.js.map 2 years ago product-button-rtl.css 2 years ago product-button-style.js.map 2 years ago product-button.css 2 years ago product-button.css.map 2 years ago product-button.js 2 years ago product-button.js.map 2 years ago product-categories-rtl.css 2 years ago product-categories-style.asset.php 2 years ago product-categories-style.js.map 2 years ago product-categories.asset.php 2 years ago product-categories.css 2 years ago product-categories.css.map 2 years ago product-categories.js 2 years ago product-categories.js.map 2 years ago product-category-style.asset.php 2 years ago product-category-style.js.map 2 years ago product-category.asset.php 2 years ago product-category.js 2 years ago product-category.js.map 2 years ago product-collection-no-results-style.asset.php 2 years ago product-collection-no-results-style.js.map 2 years ago product-collection-no-results.asset.php 2 years ago product-collection-no-results.js 2 years ago product-collection-no-results.js.map 2 years ago product-collection-style.asset.php 2 years ago product-collection-style.js.map 2 years ago product-collection.asset.php 2 years ago product-collection.js 2 years ago product-collection.js.map 2 years ago product-details-rtl.css 2 years ago product-details-style.asset.php 2 years ago product-details-style.js.map 2 years ago product-details.css 2 years ago product-details.css.map 2 years ago product-gallery-frontend.asset.php 2 years ago product-gallery-frontend.js 2 years ago product-gallery-frontend.js.map 2 years ago product-gallery-large-image-frontend.asset.php 2 years ago product-gallery-large-image-frontend.js 2 years ago product-gallery-large-image-frontend.js.map 2 years ago product-gallery-large-image-next-previous-style.asset.php 2 years ago product-gallery-large-image-next-previous-style.js.map 2 years ago product-gallery-large-image-next-previous.asset.php 2 years ago product-gallery-large-image-next-previous.js 2 years ago product-gallery-large-image-next-previous.js.map 2 years ago product-gallery-large-image-style.asset.php 2 years ago product-gallery-large-image-style.js.map 2 years ago product-gallery-large-image.asset.php 2 years ago product-gallery-large-image.js 2 years ago product-gallery-large-image.js.map 2 years ago product-gallery-pager-style.asset.php 2 years ago product-gallery-pager-style.js.map 2 years ago product-gallery-pager.asset.php 2 years ago product-gallery-pager.js 2 years ago product-gallery-pager.js.map 2 years ago product-gallery-rtl.css 2 years ago product-gallery-style.asset.php 2 years ago product-gallery-style.js.map 2 years ago product-gallery-thumbnails-style.asset.php 2 years ago product-gallery-thumbnails-style.js.map 2 years ago product-gallery-thumbnails.asset.php 2 years ago product-gallery-thumbnails.js 2 years ago product-gallery-thumbnails.js.map 2 years ago product-gallery.asset.php 2 years ago product-gallery.css 2 years ago product-gallery.css.map 2 years ago product-gallery.js 2 years ago product-gallery.js.map 2 years ago product-image-frontend.js 2 years ago product-image-frontend.js.map 2 years ago product-image-gallery-rtl.css 2 years ago product-image-gallery-style.asset.php 2 years ago product-image-gallery-style.js.map 2 years ago product-image-gallery.css 2 years ago product-image-gallery.css.map 2 years ago product-image-rtl.css 2 years ago product-image-style.js.map 2 years ago product-image.css 2 years ago product-image.css.map 2 years ago product-image.js 2 years ago product-image.js.map 2 years ago product-new-style.asset.php 2 years ago product-new-style.js.map 2 years ago product-new.asset.php 2 years ago product-new.js 2 years ago product-new.js.map 2 years ago product-on-sale-style.asset.php 2 years ago product-on-sale-style.js.map 2 years ago product-on-sale.asset.php 2 years ago product-on-sale.js 2 years ago product-on-sale.js.map 2 years ago product-price-frontend.js 2 years ago product-price-frontend.js.map 2 years ago product-price-rtl.css 2 years ago product-price-style.js.map 2 years ago product-price.css 2 years ago product-price.css.map 2 years ago product-price.js 2 years ago product-price.js.map 2 years ago product-query-rtl.css 2 years ago product-query-style.asset.php 2 years ago product-query-style.js.map 2 years ago product-query.asset.php 2 years ago product-query.css 2 years ago product-query.css.map 2 years ago product-query.js 2 years ago product-query.js.map 2 years ago product-rating-counter-frontend.js 2 years ago product-rating-counter-frontend.js.map 2 years ago product-rating-counter-style.js.map 2 years ago product-rating-counter.js 2 years ago product-rating-counter.js.map 2 years ago product-rating-frontend.js 2 years ago product-rating-frontend.js.map 2 years ago product-rating-rtl.css 2 years ago product-rating-stars-frontend.js 2 years ago product-rating-stars-frontend.js.map 2 years ago product-rating-stars-rtl.css 2 years ago product-rating-stars-style.js.map 2 years ago product-rating-stars.css 2 years ago product-rating-stars.css.map 2 years ago product-rating-stars.js 2 years ago product-rating-stars.js.map 2 years ago product-rating-style.js.map 2 years ago product-rating.css 2 years ago product-rating.css.map 2 years ago product-rating.js 2 years ago product-rating.js.map 2 years ago product-results-count-rtl.css 2 years ago product-results-count-style.asset.php 2 years ago product-results-count-style.js.map 2 years ago product-results-count.asset.php 2 years ago product-results-count.css 2 years ago product-results-count.css.map 2 years ago product-results-count.js 2 years ago product-results-count.js.map 2 years ago product-reviews-rtl.css 2 years ago product-reviews-style.asset.php 2 years ago product-reviews-style.js.map 2 years ago product-reviews.css 2 years ago product-reviews.css.map 2 years ago product-sale-badge-frontend.js 2 years ago product-sale-badge-frontend.js.map 2 years ago product-sale-badge-rtl.css 2 years ago product-sale-badge-style.js.map 2 years ago product-sale-badge.css 2 years ago product-sale-badge.css.map 2 years ago product-sale-badge.js 2 years ago product-sale-badge.js.map 2 years ago product-search-rtl.css 2 years ago product-search-style.asset.php 2 years ago product-search-style.js.map 2 years ago product-search.asset.php 2 years ago product-search.css 2 years ago product-search.css.map 2 years ago product-search.js 2 years ago product-search.js.map 2 years ago product-sku-frontend.js 2 years ago product-sku-frontend.js.map 2 years ago product-sku-rtl.css 2 years ago product-sku-style.js.map 2 years ago product-sku.css 2 years ago product-sku.css.map 2 years ago product-sku.js 2 years ago product-sku.js.map 2 years ago product-stock-indicator-frontend.js 2 years ago product-stock-indicator-frontend.js.map 2 years ago product-stock-indicator-rtl.css 2 years ago product-stock-indicator-style.js.map 2 years ago product-stock-indicator.css 2 years ago product-stock-indicator.css.map 2 years ago product-stock-indicator.js 2 years ago product-stock-indicator.js.map 2 years ago product-summary-frontend.js 2 years ago product-summary-frontend.js.map 2 years ago product-summary-rtl.css 2 years ago product-summary-style.js.map 2 years ago product-summary.css 2 years ago product-summary.css.map 2 years ago product-summary.js 2 years ago product-summary.js.map 2 years ago product-tag-style.asset.php 2 years ago product-tag-style.js.map 2 years ago product-tag.asset.php 2 years ago product-tag.js 2 years ago product-tag.js.map 2 years ago product-template-rtl.css 2 years ago product-template-style.asset.php 2 years ago product-template-style.js.map 2 years ago product-template.asset.php 2 years ago product-template.css 2 years ago product-template.css.map 2 years ago product-template.js 2 years ago product-template.js.map 2 years ago product-title-frontend.js 2 years ago product-title-frontend.js.map 2 years ago product-title-rtl.css 2 years ago product-title-style.js.map 2 years ago product-title.css 2 years ago product-title.css.map 2 years ago product-title.js 2 years ago product-title.js.map 2 years ago product-top-rated-style.asset.php 2 years ago product-top-rated-style.js.map 2 years ago product-top-rated.asset.php 2 years ago product-top-rated.js 2 years ago product-top-rated.js.map 2 years ago products-by-attribute-style.asset.php 2 years ago products-by-attribute-style.js.map 2 years ago products-by-attribute.asset.php 2 years ago products-by-attribute.js 2 years ago products-by-attribute.js.map 2 years ago rating-filter-frontend.asset.php 2 years ago rating-filter-frontend.js 2 years ago rating-filter-frontend.js.map 2 years ago rating-filter-rtl.css 2 years ago rating-filter-style.asset.php 2 years ago rating-filter-style.js.map 2 years ago rating-filter-wrapper-frontend.js 2 years ago rating-filter-wrapper-frontend.js.map 2 years ago rating-filter-wrapper-rtl.css 2 years ago rating-filter-wrapper-style.js.map 2 years ago rating-filter-wrapper.css 2 years ago rating-filter-wrapper.css.map 2 years ago rating-filter.asset.php 2 years ago rating-filter.css 2 years ago rating-filter.css.map 2 years ago rating-filter.js 2 years ago rating-filter.js.map 2 years ago reviews-by-category-rtl.css 2 years ago reviews-by-category-style.asset.php 2 years ago reviews-by-category-style.js.map 2 years ago reviews-by-category.asset.php 2 years ago reviews-by-category.css 2 years ago reviews-by-category.css.map 2 years ago reviews-by-category.js 2 years ago reviews-by-category.js.map 2 years ago reviews-by-product-rtl.css 2 years ago reviews-by-product-style.asset.php 2 years ago reviews-by-product-style.js.map 2 years ago reviews-by-product.asset.php 2 years ago reviews-by-product.css 2 years ago reviews-by-product.css.map 2 years ago reviews-by-product.js 2 years ago reviews-by-product.js.map 2 years ago reviews-frontend.asset.php 2 years ago reviews-frontend.js 2 years ago reviews-frontend.js.map 2 years ago single-product-rtl.css 2 years ago single-product-style.asset.php 2 years ago single-product-style.js.map 2 years ago single-product.asset.php 2 years ago single-product.css 2 years ago single-product.css.map 2 years ago single-product.js 2 years ago single-product.js.map 2 years ago stock-filter-frontend.asset.php 2 years ago stock-filter-frontend.js 2 years ago stock-filter-frontend.js.map 2 years ago stock-filter-rtl.css 2 years ago stock-filter-style.asset.php 2 years ago stock-filter-style.js.map 2 years ago stock-filter-wrapper-frontend.js 2 years ago stock-filter-wrapper-frontend.js.map 2 years ago stock-filter-wrapper-rtl.css 2 years ago stock-filter-wrapper-style.js.map 2 years ago stock-filter-wrapper.css 2 years ago stock-filter-wrapper.css.map 2 years ago stock-filter.asset.php 2 years ago stock-filter.css 2 years ago stock-filter.css.map 2 years ago stock-filter.js 2 years ago stock-filter.js.map 2 years ago store-notices-rtl.css 2 years ago store-notices-style.asset.php 2 years ago store-notices-style.js.map 2 years ago store-notices.asset.php 2 years ago store-notices.css 2 years ago store-notices.css.map 2 years ago store-notices.js 2 years ago store-notices.js.map 2 years ago vendors-node_modules_pnpm_dinero_js_1_9_1_node_modules_dinero_js_build_esm_dinero_js-style.js.map 2 years ago vendors-node_modules_pnpm_param-case_3_0_4_node_modules_param-case_dist_es2015_index_js-style.js.map 2 years ago vendors-node_modules_pnpm_wordpress_components_14_2_0__types_react_17_0_71_react-dom_17_0_2_r-019903-style.js.map 2 years ago vendors-node_modules_pnpm_wordpress_components_14_2_0__types_react_17_0_71_react-dom_17_0_2_r-37238e-frontend.js 2 years ago vendors-node_modules_pnpm_wordpress_components_14_2_0__types_react_17_0_71_react-dom_17_0_2_r-37238e-frontend.js.map 2 years ago vendors-node_modules_pnpm_wordpress_components_14_2_0__types_react_17_0_71_react-dom_17_0_2_r-68c184-style.js.map 2 years ago vendors-node_modules_pnpm_wordpress_components_14_2_0__types_react_17_0_71_react-dom_17_0_2_r-70a73f-frontend.js 2 years ago vendors-node_modules_pnpm_wordpress_components_14_2_0__types_react_17_0_71_react-dom_17_0_2_r-70a73f-frontend.js.map 2 years ago vendors-node_modules_pnpm_wordpress_components_14_2_0__types_react_17_0_71_react-dom_17_0_2_r-849324-frontend.js 2 years ago vendors-node_modules_pnpm_wordpress_components_14_2_0__types_react_17_0_71_react-dom_17_0_2_r-849324-frontend.js.map 2 years ago vendors-node_modules_pnpm_wordpress_components_14_2_0__types_react_17_0_71_react-dom_17_0_2_r-bab841-style.js.map 2 years ago vendors-node_modules_pnpm_wordpress_components_14_2_0__types_react_17_0_71_react-dom_17_0_2_r-c6918e-style.js.map 2 years ago wc-blocks-classic-template-revert-button-style-rtl.css 2 years ago wc-blocks-classic-template-revert-button-style-style.asset.php 2 years ago wc-blocks-classic-template-revert-button-style-style.js.map 2 years ago wc-blocks-classic-template-revert-button-style.css 2 years ago wc-blocks-classic-template-revert-button-style.css.map 2 years ago wc-blocks-classic-template-revert-button.asset.php 2 years ago wc-blocks-classic-template-revert-button.js 2 years ago wc-blocks-classic-template-revert-button.js.map 2 years ago wc-blocks-data.asset.php 2 years ago wc-blocks-data.js 2 years ago wc-blocks-data.js.map 2 years ago wc-blocks-editor-style-rtl.css 2 years ago wc-blocks-editor-style.css 2 years ago wc-blocks-editor-style.css.map 2 years ago wc-blocks-google-analytics.asset.php 2 years ago wc-blocks-google-analytics.js 2 years ago wc-blocks-google-analytics.js.map 2 years ago wc-blocks-middleware.asset.php 2 years ago wc-blocks-middleware.js 2 years ago wc-blocks-middleware.js.map 2 years ago wc-blocks-registry.asset.php 2 years ago wc-blocks-registry.js 2 years ago wc-blocks-registry.js.map 2 years ago wc-blocks-rtl.css 2 years ago wc-blocks-shared-context.asset.php 2 years ago wc-blocks-shared-context.js 2 years ago wc-blocks-shared-context.js.map 2 years ago wc-blocks-shared-hocs.asset.php 2 years ago wc-blocks-shared-hocs.js 2 years ago wc-blocks-shared-hocs.js.map 2 years ago wc-blocks-style.asset.php 2 years ago wc-blocks-style.js.map 2 years ago wc-blocks-vendors.asset.php 2 years ago wc-blocks-vendors.js 2 years ago wc-blocks-vendors.js.map 2 years ago wc-blocks.asset.php 2 years ago wc-blocks.css 2 years ago wc-blocks.css.map 2 years ago wc-blocks.js 2 years ago wc-blocks.js.map 2 years ago wc-interactivity-checkbox-list-rtl.css 2 years ago wc-interactivity-checkbox-list-style.asset.php 2 years ago wc-interactivity-checkbox-list-style.js.map 2 years ago wc-interactivity-checkbox-list.asset.php 2 years ago wc-interactivity-checkbox-list.css 2 years ago wc-interactivity-checkbox-list.css.map 2 years ago wc-interactivity-checkbox-list.js 2 years ago wc-interactivity-checkbox-list.js.map 2 years ago wc-interactivity-dropdown-rtl.css 2 years ago wc-interactivity-dropdown-style.asset.php 2 years ago wc-interactivity-dropdown-style.js.map 2 years ago wc-interactivity-dropdown.asset.php 2 years ago wc-interactivity-dropdown.css 2 years ago wc-interactivity-dropdown.css.map 2 years ago wc-interactivity-dropdown.js 2 years ago wc-interactivity-dropdown.js.map 2 years ago wc-interactivity.asset.php 2 years ago wc-interactivity.js 2 years ago wc-interactivity.js.map 2 years ago wc-payment-method-bacs.asset.php 2 years ago wc-payment-method-bacs.js 2 years ago wc-payment-method-bacs.js.map 2 years ago wc-payment-method-cheque.asset.php 2 years ago wc-payment-method-cheque.js 2 years ago wc-payment-method-cheque.js.map 2 years ago wc-payment-method-cod.asset.php 2 years ago wc-payment-method-cod.js 2 years ago wc-payment-method-cod.js.map 2 years ago wc-payment-method-paypal.asset.php 2 years ago wc-payment-method-paypal.js 2 years ago wc-payment-method-paypal.js.map 2 years ago wc-settings.asset.php 2 years ago wc-settings.js 2 years ago wc-settings.js.map 2 years ago wc-shipping-method-pickup-location.asset.php 2 years ago wc-shipping-method-pickup-location.js 2 years ago wc-shipping-method-pickup-location.js.map 2 years ago
product-search.js
949 lines
1 /******/ (() => { // webpackBootstrap
2 /******/ var __webpack_modules__ = ({
3
4 /***/ "./assets/js/blocks/product-search/block.tsx":
5 /*!***************************************************!*\
6 !*** ./assets/js/blocks/product-search/block.tsx ***!
7 \***************************************************/
8 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
9
10 "use strict";
11 __webpack_require__.r(__webpack_exports__);
12 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13 /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
14 /* harmony export */ });
15 /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
16 /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
17 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
18 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
19 /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ "../../node_modules/.pnpm/classnames@2.3.1/node_modules/classnames/index.js");
20 /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
21 /* harmony import */ var _woocommerce_settings__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @woocommerce/settings */ "@woocommerce/settings");
22 /* harmony import */ var _woocommerce_settings__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_settings__WEBPACK_IMPORTED_MODULE_3__);
23 /* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./editor.scss */ "./assets/js/blocks/product-search/editor.scss");
24 /* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_editor_scss__WEBPACK_IMPORTED_MODULE_4__);
25 /* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./style.scss */ "./assets/js/blocks/product-search/style.scss");
26 /* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_style_scss__WEBPACK_IMPORTED_MODULE_5__);
27
28 /**
29 * External dependencies
30 */
31
32
33
34
35 /**
36 * Internal dependencies
37 */
38
39
40
41 /**
42 * Component displaying a product search form.
43 *
44 * @param {Object} props Incoming props for the component.
45 * @param {Object} props.attributes Incoming block attributes.
46 * @param {string} props.attributes.label
47 * @param {string} props.attributes.placeholder
48 * @param {string} props.attributes.formId
49 * @param {string} props.attributes.className
50 * @param {boolean} props.attributes.hasLabel
51 * @param {string} props.attributes.align
52 */
53
54 const ProductSearchBlock = ({
55 attributes: {
56 label,
57 placeholder,
58 formId,
59 className,
60 hasLabel,
61 align
62 }
63 }) => {
64 const classes = classnames__WEBPACK_IMPORTED_MODULE_2___default()('wc-block-product-search', align ? 'align' + align : '', className);
65 return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
66 className: classes
67 }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("form", {
68 role: "search",
69 method: "get",
70 action: _woocommerce_settings__WEBPACK_IMPORTED_MODULE_3__.HOME_URL
71 }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("label", {
72 htmlFor: formId,
73 className: hasLabel ? 'wc-block-product-search__label' : 'wc-block-product-search__label screen-reader-text'
74 }, label), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
75 className: "wc-block-product-search__fields"
76 }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("input", {
77 type: "search",
78 id: formId,
79 className: "wc-block-product-search__field",
80 placeholder: placeholder,
81 name: "s"
82 }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("input", {
83 type: "hidden",
84 name: "post_type",
85 value: "product"
86 }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("button", {
87 type: "submit",
88 className: "wc-block-product-search__button",
89 "aria-label": (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Search', 'woocommerce')
90 }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("svg", {
91 "aria-hidden": "true",
92 role: "img",
93 focusable: "false",
94 className: "dashicon dashicons-arrow-right-alt2",
95 xmlns: "http://www.w3.org/2000/svg",
96 width: "20",
97 height: "20",
98 viewBox: "0 0 20 20"
99 }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("path", {
100 d: "M6 15l5-5-5-5 1-2 7 7-7 7z"
101 }))))));
102 };
103 ProductSearchBlock.__docgenInfo = {
104 "description": "",
105 "methods": [],
106 "displayName": "ProductSearchBlock",
107 "props": {
108 "attributes": {
109 "required": true,
110 "tsType": {
111 "name": "signature",
112 "type": "object",
113 "raw": "{\n\tlabel: string;\n\tplaceholder: string;\n\tformId: string;\n\tclassName: string;\n\thasLabel: boolean;\n\talign: string;\n}",
114 "signature": {
115 "properties": [{
116 "key": "label",
117 "value": {
118 "name": "string",
119 "required": true
120 }
121 }, {
122 "key": "placeholder",
123 "value": {
124 "name": "string",
125 "required": true
126 }
127 }, {
128 "key": "formId",
129 "value": {
130 "name": "string",
131 "required": true
132 }
133 }, {
134 "key": "className",
135 "value": {
136 "name": "string",
137 "required": true
138 }
139 }, {
140 "key": "hasLabel",
141 "value": {
142 "name": "boolean",
143 "required": true
144 }
145 }, {
146 "key": "align",
147 "value": {
148 "name": "string",
149 "required": true
150 }
151 }]
152 }
153 },
154 "description": ""
155 }
156 }
157 };
158 /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ProductSearchBlock);
159 if (typeof STORYBOOK_REACT_CLASSES !== "undefined") {
160 STORYBOOK_REACT_CLASSES["assets/js/blocks/product-search/block.tsx"] = {
161 name: "ProductSearchBlock",
162 docgenInfo: ProductSearchBlock.__docgenInfo,
163 path: "assets/js/blocks/product-search/block.tsx"
164 };
165 }
166
167 /***/ }),
168
169 /***/ "./assets/js/blocks/product-search/edit.tsx":
170 /*!**************************************************!*\
171 !*** ./assets/js/blocks/product-search/edit.tsx ***!
172 \**************************************************/
173 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
174
175 "use strict";
176 __webpack_require__.r(__webpack_exports__);
177 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
178 /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
179 /* harmony export */ });
180 /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
181 /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
182 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
183 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
184 /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ "../../node_modules/.pnpm/classnames@2.3.1/node_modules/classnames/index.js");
185 /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
186 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor");
187 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__);
188 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components");
189 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__);
190 /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
191 /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_5__);
192 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
193 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__);
194 /* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./editor.scss */ "./assets/js/blocks/product-search/editor.scss");
195 /* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_editor_scss__WEBPACK_IMPORTED_MODULE_7__);
196 /* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./style.scss */ "./assets/js/blocks/product-search/style.scss");
197 /* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_style_scss__WEBPACK_IMPORTED_MODULE_8__);
198
199 /**
200 * External dependencies
201 */
202
203
204
205
206
207
208
209 /**
210 * Internal dependencies
211 */
212
213
214
215 /**
216 * Component displaying a product search form.
217 *
218 * @param {Object} props Incoming props for the component.
219 * @param {Object} props.attributes Incoming block attributes.
220 * @param {string} props.attributes.label
221 * @param {string} props.attributes.placeholder
222 * @param {string} props.attributes.formId
223 * @param {string} props.attributes.className
224 * @param {boolean} props.attributes.hasLabel
225 * @param {string} props.attributes.align
226 * @param {string} props.instanceId
227 * @param {function(any):any} props.setAttributes Setter for block attributes.
228 */
229
230 const Edit = ({
231 attributes: {
232 label,
233 placeholder,
234 formId,
235 className,
236 hasLabel,
237 align
238 },
239 instanceId,
240 setAttributes
241 }) => {
242 const classes = classnames__WEBPACK_IMPORTED_MODULE_2___default()('wc-block-product-search', align ? 'align' + align : '', className);
243 (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
244 if (!formId) {
245 setAttributes({
246 formId: `wc-block-product-search-${instanceId}`
247 });
248 }
249 }, [formId, setAttributes, instanceId]);
250 return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.InspectorControls, {
251 key: "inspector"
252 }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.PanelBody, {
253 title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Content', 'woocommerce'),
254 initialOpen: true
255 }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.ToggleControl, {
256 label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Show search field label', 'woocommerce'),
257 checked: hasLabel,
258 onChange: () => setAttributes({
259 hasLabel: !hasLabel
260 })
261 }))), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
262 className: classes
263 }, !!hasLabel && (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("label", {
264 className: "screen-reader-text",
265 htmlFor: "wc-block-product-search__label"
266 }, (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Search Label', 'woocommerce')), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.PlainText, {
267 className: "wc-block-product-search__label",
268 id: "wc-block-product-search__label",
269 value: label,
270 onChange: value => setAttributes({
271 label: value
272 }),
273 style: {
274 backgroundColor: 'transparent'
275 }
276 })), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
277 className: "wc-block-product-search__fields"
278 }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.TextControl, {
279 className: "wc-block-product-search__field input-control",
280 value: placeholder,
281 placeholder: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Enter search placeholder text', 'woocommerce'),
282 onChange: value => setAttributes({
283 placeholder: value
284 })
285 }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("button", {
286 type: "submit",
287 className: "wc-block-product-search__button",
288 "aria-label": (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Search', 'woocommerce'),
289 onClick: e => e.preventDefault(),
290 tabIndex: -1
291 }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("svg", {
292 "aria-hidden": "true",
293 role: "img",
294 focusable: "false",
295 className: "dashicon dashicons-arrow-right-alt2",
296 xmlns: "http://www.w3.org/2000/svg",
297 width: "20",
298 height: "20",
299 viewBox: "0 0 20 20"
300 }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("path", {
301 d: "M6 15l5-5-5-5 1-2 7 7-7 7z"
302 }))))));
303 };
304 Edit.__docgenInfo = {
305 "description": "",
306 "methods": [],
307 "displayName": "Edit",
308 "props": {
309 "attributes": {
310 "required": true,
311 "tsType": {
312 "name": "signature",
313 "type": "object",
314 "raw": "{\n\tlabel: string;\n\tplaceholder: string;\n\tformId: string;\n\tclassName: string;\n\thasLabel: boolean;\n\talign: string;\n}",
315 "signature": {
316 "properties": [{
317 "key": "label",
318 "value": {
319 "name": "string",
320 "required": true
321 }
322 }, {
323 "key": "placeholder",
324 "value": {
325 "name": "string",
326 "required": true
327 }
328 }, {
329 "key": "formId",
330 "value": {
331 "name": "string",
332 "required": true
333 }
334 }, {
335 "key": "className",
336 "value": {
337 "name": "string",
338 "required": true
339 }
340 }, {
341 "key": "hasLabel",
342 "value": {
343 "name": "boolean",
344 "required": true
345 }
346 }, {
347 "key": "align",
348 "value": {
349 "name": "string",
350 "required": true
351 }
352 }]
353 }
354 },
355 "description": ""
356 },
357 "instanceId": {
358 "required": true,
359 "tsType": {
360 "name": "number"
361 },
362 "description": ""
363 },
364 "setAttributes": {
365 "required": true,
366 "tsType": {
367 "name": "signature",
368 "type": "function",
369 "raw": "( attributes: {\n\tlabel?: string;\n\tplaceholder?: string;\n\tformId?: string;\n\tclassName?: string;\n\thasLabel?: boolean;\n\talign?: string;\n} ) => void",
370 "signature": {
371 "arguments": [{
372 "name": "attributes",
373 "type": {
374 "name": "signature",
375 "type": "object",
376 "raw": "{\n\tlabel?: string;\n\tplaceholder?: string;\n\tformId?: string;\n\tclassName?: string;\n\thasLabel?: boolean;\n\talign?: string;\n}",
377 "signature": {
378 "properties": [{
379 "key": "label",
380 "value": {
381 "name": "string",
382 "required": false
383 }
384 }, {
385 "key": "placeholder",
386 "value": {
387 "name": "string",
388 "required": false
389 }
390 }, {
391 "key": "formId",
392 "value": {
393 "name": "string",
394 "required": false
395 }
396 }, {
397 "key": "className",
398 "value": {
399 "name": "string",
400 "required": false
401 }
402 }, {
403 "key": "hasLabel",
404 "value": {
405 "name": "boolean",
406 "required": false
407 }
408 }, {
409 "key": "align",
410 "value": {
411 "name": "string",
412 "required": false
413 }
414 }]
415 }
416 }
417 }],
418 "return": {
419 "name": "void"
420 }
421 }
422 },
423 "description": ""
424 }
425 }
426 };
427 /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_wordpress_compose__WEBPACK_IMPORTED_MODULE_5__.withInstanceId)(Edit));
428 if (typeof STORYBOOK_REACT_CLASSES !== "undefined") {
429 STORYBOOK_REACT_CLASSES["assets/js/blocks/product-search/edit.tsx"] = {
430 name: "Edit",
431 docgenInfo: Edit.__docgenInfo,
432 path: "assets/js/blocks/product-search/edit.tsx"
433 };
434 }
435
436 /***/ }),
437
438 /***/ "./assets/js/blocks/product-search/index.tsx":
439 /*!***************************************************!*\
440 !*** ./assets/js/blocks/product-search/index.tsx ***!
441 \***************************************************/
442 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
443
444 "use strict";
445 __webpack_require__.r(__webpack_exports__);
446 /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
447 /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
448 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor");
449 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__);
450 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data");
451 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__);
452 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
453 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__);
454 /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @wordpress/icons */ "../../node_modules/.pnpm/@wordpress+icons@9.36.0/node_modules/@wordpress/icons/build-module/icon/index.js");
455 /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @wordpress/icons */ "../../node_modules/.pnpm/@wordpress+icons@9.36.0/node_modules/@wordpress/icons/build-module/library/search.js");
456 /* harmony import */ var _woocommerce_settings__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @woocommerce/settings */ "@woocommerce/settings");
457 /* harmony import */ var _woocommerce_settings__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_woocommerce_settings__WEBPACK_IMPORTED_MODULE_4__);
458 /* harmony import */ var _woocommerce_types__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @woocommerce/types */ "./assets/js/types/type-guards/boolean.ts");
459 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components");
460 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__);
461 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
462 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__);
463 /* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./style.scss */ "./assets/js/blocks/product-search/style.scss");
464 /* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_style_scss__WEBPACK_IMPORTED_MODULE_7__);
465 /* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./editor.scss */ "./assets/js/blocks/product-search/editor.scss");
466 /* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_editor_scss__WEBPACK_IMPORTED_MODULE_8__);
467 /* harmony import */ var _block__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./block */ "./assets/js/blocks/product-search/block.tsx");
468 /* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./edit */ "./assets/js/blocks/product-search/edit.tsx");
469
470 /* eslint-disable @typescript-eslint/ban-ts-comment */
471 /**
472 * External dependencies
473 */
474
475
476
477
478
479
480
481
482
483 /**
484 * Internal dependencies
485 */
486
487
488
489
490 const isBlockVariationAvailable = (0,_woocommerce_settings__WEBPACK_IMPORTED_MODULE_4__.getSettingWithCoercion)('isBlockVariationAvailable', false, _woocommerce_types__WEBPACK_IMPORTED_MODULE_9__.isBoolean);
491 const attributes = {
492 /**
493 * Whether to show the field label.
494 */
495 hasLabel: {
496 type: 'boolean',
497 default: true
498 },
499 /**
500 * Search field label.
501 */
502 label: {
503 type: 'string',
504 default: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Search', 'woocommerce')
505 },
506 /**
507 * Search field placeholder.
508 */
509 placeholder: {
510 type: 'string',
511 default: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Search products…', 'woocommerce')
512 },
513 /**
514 * Store the instance ID.
515 */
516 formId: {
517 type: 'string',
518 default: ''
519 }
520 };
521 const PRODUCT_SEARCH_ATTRIBUTES = {
522 label: attributes.label.default,
523 buttonText: attributes.label.default,
524 placeholder: attributes.placeholder.default,
525 query: {
526 post_type: 'product'
527 }
528 };
529 const DeprecatedBlockEdit = ({
530 clientId
531 }) => {
532 // @ts-ignore @wordpress/block-editor/store types not provided
533 const {
534 replaceBlocks
535 } = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_2__.useDispatch)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.store);
536 const currentBlockAttributes = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_2__.useSelect)(select => select('core/block-editor').getBlockAttributes(clientId), [clientId]);
537 const updateBlock = () => {
538 replaceBlocks(clientId, (0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__.createBlock)('core/search', {
539 label: (currentBlockAttributes === null || currentBlockAttributes === void 0 ? void 0 : currentBlockAttributes.label) || PRODUCT_SEARCH_ATTRIBUTES.label,
540 buttonText: PRODUCT_SEARCH_ATTRIBUTES.buttonText,
541 placeholder: (currentBlockAttributes === null || currentBlockAttributes === void 0 ? void 0 : currentBlockAttributes.placeholder) || PRODUCT_SEARCH_ATTRIBUTES.placeholder,
542 query: PRODUCT_SEARCH_ATTRIBUTES.query
543 }));
544 };
545 const actions = [(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__.Button, {
546 key: "update",
547 onClick: updateBlock,
548 variant: "primary"
549 }, (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Upgrade Block', 'woocommerce'))];
550 return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.Warning, {
551 actions: actions,
552 className: "wc-block-components-actions"
553 }, (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('This version of the Product Search block is outdated. Upgrade to continue using.', 'woocommerce'));
554 };
555 (0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__.registerBlockType)('woocommerce/product-search', {
556 title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Product Search', 'woocommerce'),
557 icon: {
558 src: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_icons__WEBPACK_IMPORTED_MODULE_10__["default"], {
559 icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_11__["default"],
560 className: "wc-block-editor-components-block-icon"
561 })
562 },
563 category: 'woocommerce',
564 keywords: [(0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('WooCommerce', 'woocommerce')],
565 description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('A search box to allow customers to search for products by keyword.', 'woocommerce'),
566 supports: {
567 align: ['wide', 'full'],
568 inserter: !isBlockVariationAvailable
569 },
570 attributes,
571 transforms: {
572 from: [{
573 type: 'block',
574 blocks: ['core/legacy-widget'],
575 // We can't transform if raw instance isn't shown in the REST API.
576 isMatch: ({
577 idBase,
578 instance
579 }) => idBase === 'woocommerce_product_search' && !!(instance !== null && instance !== void 0 && instance.raw),
580 transform: ({
581 instance
582 }) => (0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__.createBlock)('woocommerce/product-search', {
583 label: instance.raw.title || PRODUCT_SEARCH_ATTRIBUTES.label
584 })
585 }]
586 },
587 deprecated: [{
588 attributes,
589 save(props) {
590 return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_block__WEBPACK_IMPORTED_MODULE_12__["default"], {
591 ...props
592 }));
593 }
594 }],
595 edit: isBlockVariationAvailable ? DeprecatedBlockEdit : _edit__WEBPACK_IMPORTED_MODULE_13__["default"],
596 save() {
597 return null;
598 }
599 });
600 if (isBlockVariationAvailable) {
601 (0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__.registerBlockVariation)('core/search', {
602 name: 'woocommerce/product-search',
603 title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('Product Search', 'woocommerce'),
604 icon: {
605 src: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_icons__WEBPACK_IMPORTED_MODULE_10__["default"], {
606 icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_11__["default"],
607 className: "wc-block-editor-components-block-icon"
608 })
609 },
610 // @ts-ignore waiting for @types/wordpress__blocks update
611 isActive: (blockAttributes, variationAttributes) => {
612 var _blockAttributes$quer;
613 return ((_blockAttributes$quer = blockAttributes.query) === null || _blockAttributes$quer === void 0 ? void 0 : _blockAttributes$quer.post_type) === variationAttributes.query.post_type;
614 },
615 category: 'woocommerce',
616 keywords: [(0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('WooCommerce', 'woocommerce')],
617 description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__.__)('A search box to allow customers to search for products by keyword.', 'woocommerce'),
618 attributes: PRODUCT_SEARCH_ATTRIBUTES
619 });
620 }
621
622 /***/ }),
623
624 /***/ "./assets/js/types/type-guards/boolean.ts":
625 /*!************************************************!*\
626 !*** ./assets/js/types/type-guards/boolean.ts ***!
627 \************************************************/
628 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
629
630 "use strict";
631 __webpack_require__.r(__webpack_exports__);
632 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
633 /* harmony export */ isBoolean: () => (/* binding */ isBoolean)
634 /* harmony export */ });
635 const isBoolean = term => {
636 return typeof term === 'boolean';
637 };
638
639 /***/ }),
640
641 /***/ "./assets/js/blocks/product-search/editor.scss":
642 /*!*****************************************************!*\
643 !*** ./assets/js/blocks/product-search/editor.scss ***!
644 \*****************************************************/
645 /***/ (() => {
646
647
648
649 /***/ }),
650
651 /***/ "./assets/js/blocks/product-search/style.scss":
652 /*!****************************************************!*\
653 !*** ./assets/js/blocks/product-search/style.scss ***!
654 \****************************************************/
655 /***/ (() => {
656
657
658
659 /***/ }),
660
661 /***/ "react":
662 /*!************************!*\
663 !*** external "React" ***!
664 \************************/
665 /***/ ((module) => {
666
667 "use strict";
668 module.exports = window["React"];
669
670 /***/ }),
671
672 /***/ "@woocommerce/settings":
673 /*!************************************!*\
674 !*** external ["wc","wcSettings"] ***!
675 \************************************/
676 /***/ ((module) => {
677
678 "use strict";
679 module.exports = window["wc"]["wcSettings"];
680
681 /***/ }),
682
683 /***/ "@wordpress/block-editor":
684 /*!*************************************!*\
685 !*** external ["wp","blockEditor"] ***!
686 \*************************************/
687 /***/ ((module) => {
688
689 "use strict";
690 module.exports = window["wp"]["blockEditor"];
691
692 /***/ }),
693
694 /***/ "@wordpress/blocks":
695 /*!********************************!*\
696 !*** external ["wp","blocks"] ***!
697 \********************************/
698 /***/ ((module) => {
699
700 "use strict";
701 module.exports = window["wp"]["blocks"];
702
703 /***/ }),
704
705 /***/ "@wordpress/components":
706 /*!************************************!*\
707 !*** external ["wp","components"] ***!
708 \************************************/
709 /***/ ((module) => {
710
711 "use strict";
712 module.exports = window["wp"]["components"];
713
714 /***/ }),
715
716 /***/ "@wordpress/compose":
717 /*!*********************************!*\
718 !*** external ["wp","compose"] ***!
719 \*********************************/
720 /***/ ((module) => {
721
722 "use strict";
723 module.exports = window["wp"]["compose"];
724
725 /***/ }),
726
727 /***/ "@wordpress/data":
728 /*!******************************!*\
729 !*** external ["wp","data"] ***!
730 \******************************/
731 /***/ ((module) => {
732
733 "use strict";
734 module.exports = window["wp"]["data"];
735
736 /***/ }),
737
738 /***/ "@wordpress/element":
739 /*!*********************************!*\
740 !*** external ["wp","element"] ***!
741 \*********************************/
742 /***/ ((module) => {
743
744 "use strict";
745 module.exports = window["wp"]["element"];
746
747 /***/ }),
748
749 /***/ "@wordpress/i18n":
750 /*!******************************!*\
751 !*** external ["wp","i18n"] ***!
752 \******************************/
753 /***/ ((module) => {
754
755 "use strict";
756 module.exports = window["wp"]["i18n"];
757
758 /***/ }),
759
760 /***/ "@wordpress/primitives":
761 /*!************************************!*\
762 !*** external ["wp","primitives"] ***!
763 \************************************/
764 /***/ ((module) => {
765
766 "use strict";
767 module.exports = window["wp"]["primitives"];
768
769 /***/ })
770
771 /******/ });
772 /************************************************************************/
773 /******/ // The module cache
774 /******/ var __webpack_module_cache__ = {};
775 /******/
776 /******/ // The require function
777 /******/ function __webpack_require__(moduleId) {
778 /******/ // Check if module is in cache
779 /******/ var cachedModule = __webpack_module_cache__[moduleId];
780 /******/ if (cachedModule !== undefined) {
781 /******/ return cachedModule.exports;
782 /******/ }
783 /******/ // Create a new module (and put it into the cache)
784 /******/ var module = __webpack_module_cache__[moduleId] = {
785 /******/ // no module.id needed
786 /******/ // no module.loaded needed
787 /******/ exports: {}
788 /******/ };
789 /******/
790 /******/ // Execute the module function
791 /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
792 /******/
793 /******/ // Return the exports of the module
794 /******/ return module.exports;
795 /******/ }
796 /******/
797 /******/ // expose the modules object (__webpack_modules__)
798 /******/ __webpack_require__.m = __webpack_modules__;
799 /******/
800 /************************************************************************/
801 /******/ /* webpack/runtime/chunk loaded */
802 /******/ (() => {
803 /******/ var deferred = [];
804 /******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
805 /******/ if(chunkIds) {
806 /******/ priority = priority || 0;
807 /******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
808 /******/ deferred[i] = [chunkIds, fn, priority];
809 /******/ return;
810 /******/ }
811 /******/ var notFulfilled = Infinity;
812 /******/ for (var i = 0; i < deferred.length; i++) {
813 /******/ var [chunkIds, fn, priority] = deferred[i];
814 /******/ var fulfilled = true;
815 /******/ for (var j = 0; j < chunkIds.length; j++) {
816 /******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
817 /******/ chunkIds.splice(j--, 1);
818 /******/ } else {
819 /******/ fulfilled = false;
820 /******/ if(priority < notFulfilled) notFulfilled = priority;
821 /******/ }
822 /******/ }
823 /******/ if(fulfilled) {
824 /******/ deferred.splice(i--, 1)
825 /******/ var r = fn();
826 /******/ if (r !== undefined) result = r;
827 /******/ }
828 /******/ }
829 /******/ return result;
830 /******/ };
831 /******/ })();
832 /******/
833 /******/ /* webpack/runtime/compat get default export */
834 /******/ (() => {
835 /******/ // getDefaultExport function for compatibility with non-harmony modules
836 /******/ __webpack_require__.n = (module) => {
837 /******/ var getter = module && module.__esModule ?
838 /******/ () => (module['default']) :
839 /******/ () => (module);
840 /******/ __webpack_require__.d(getter, { a: getter });
841 /******/ return getter;
842 /******/ };
843 /******/ })();
844 /******/
845 /******/ /* webpack/runtime/define property getters */
846 /******/ (() => {
847 /******/ // define getter functions for harmony exports
848 /******/ __webpack_require__.d = (exports, definition) => {
849 /******/ for(var key in definition) {
850 /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
851 /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
852 /******/ }
853 /******/ }
854 /******/ };
855 /******/ })();
856 /******/
857 /******/ /* webpack/runtime/global */
858 /******/ (() => {
859 /******/ __webpack_require__.g = (function() {
860 /******/ if (typeof globalThis === 'object') return globalThis;
861 /******/ try {
862 /******/ return this || new Function('return this')();
863 /******/ } catch (e) {
864 /******/ if (typeof window === 'object') return window;
865 /******/ }
866 /******/ })();
867 /******/ })();
868 /******/
869 /******/ /* webpack/runtime/hasOwnProperty shorthand */
870 /******/ (() => {
871 /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
872 /******/ })();
873 /******/
874 /******/ /* webpack/runtime/make namespace object */
875 /******/ (() => {
876 /******/ // define __esModule on exports
877 /******/ __webpack_require__.r = (exports) => {
878 /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
879 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
880 /******/ }
881 /******/ Object.defineProperty(exports, '__esModule', { value: true });
882 /******/ };
883 /******/ })();
884 /******/
885 /******/ /* webpack/runtime/jsonp chunk loading */
886 /******/ (() => {
887 /******/ // no baseURI
888 /******/
889 /******/ // object to store loaded and loading chunks
890 /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
891 /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
892 /******/ var installedChunks = {
893 /******/ "product-search": 0
894 /******/ };
895 /******/
896 /******/ // no chunk on demand loading
897 /******/
898 /******/ // no prefetching
899 /******/
900 /******/ // no preloaded
901 /******/
902 /******/ // no HMR
903 /******/
904 /******/ // no HMR manifest
905 /******/
906 /******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
907 /******/
908 /******/ // install a JSONP callback for chunk loading
909 /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
910 /******/ var [chunkIds, moreModules, runtime] = data;
911 /******/ // add "moreModules" to the modules object,
912 /******/ // then flag all "chunkIds" as loaded and fire callback
913 /******/ var moduleId, chunkId, i = 0;
914 /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
915 /******/ for(moduleId in moreModules) {
916 /******/ if(__webpack_require__.o(moreModules, moduleId)) {
917 /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
918 /******/ }
919 /******/ }
920 /******/ if(runtime) var result = runtime(__webpack_require__);
921 /******/ }
922 /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
923 /******/ for(;i < chunkIds.length; i++) {
924 /******/ chunkId = chunkIds[i];
925 /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
926 /******/ installedChunks[chunkId][0]();
927 /******/ }
928 /******/ installedChunks[chunkId] = 0;
929 /******/ }
930 /******/ return __webpack_require__.O(result);
931 /******/ }
932 /******/
933 /******/ var chunkLoadingGlobal = self["webpackChunkwebpackWcBlocksJsonp"] = self["webpackChunkwebpackWcBlocksJsonp"] || [];
934 /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
935 /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
936 /******/ })();
937 /******/
938 /************************************************************************/
939 /******/
940 /******/ // startup
941 /******/ // Load entry module and return exports
942 /******/ // This entry module depends on other loaded chunks and execution need to be delayed
943 /******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["wc-blocks-vendors"], () => (__webpack_require__("./assets/js/blocks/product-search/index.tsx")))
944 /******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
945 /******/ ((this.wc = this.wc || {}).blocks = this.wc.blocks || {})["product-search"] = __webpack_exports__;
946 /******/
947 /******/ })()
948 ;
949 //# sourceMappingURL=product-search.js.map