PluginProbe ʕ •ᴥ•ʔ
WooCommerce / 8.5.0-beta.1
WooCommerce v8.5.0-beta.1
10.9.0-beta.2 10.9.0-beta.1 10.8.1 10.8.0 10.8.0-rc.1 10.8.0-beta.2 10.8.0-beta.1 7.8.0-beta.1 7.8.0-beta.2 7.8.0-rc.1 7.8.0-rc.2 7.8.1 7.8.2 7.8.3 7.8.4 7.9.0 7.9.0-beta.1 7.9.0-beta.2 7.9.0-rc.2 7.9.0-rc.3 7.9.1 7.9.2 8.0.0 8.0.0-beta.1 8.0.0-beta.2 8.0.0-rc.1 8.0.0-rc.2 8.0.1 8.0.2 8.0.3 8.0.4 8.0.5 8.1.0 8.1.0-beta.1 8.1.0-rc.1 8.1.0-rc.2 8.1.1 8.1.2 8.1.3 8.1.4 8.2.0 8.2.0-beta.1 8.2.0-rc.1 8.2.0-rc.2 8.2.1 8.2.2 8.2.3 8.2.4 8.2.5 8.3.0 8.3.0-beta.1 8.3.0-rc.1 8.3.0-rc.2 8.3.1 8.3.2 8.3.3 8.3.4 8.4.0 8.4.0-beta.1 8.4.0-rc.1 8.4.1 8.4.2 8.4.3 8.5.0 8.5.0-beta.1 8.5.0-rc.1 8.5.1 8.5.2 8.5.3 8.5.4 8.5.5 8.6.0 8.6.0-beta.1 8.6.0-rc.1 8.6.1 8.6.2 8.6.3 8.6.4 8.7.0 8.7.0-beta.1 8.7.0-beta.2 8.7.0-rc.1 8.7.1 8.7.2 8.7.3 8.8.0 8.8.0-beta.1 8.8.0-rc.1 8.8.1 8.8.2 8.8.3 8.8.4 8.8.5 8.8.6 8.8.7 8.9.0 8.9.0-beta.1 8.9.0-rc.1 8.9.1 8.9.2 8.9.3 8.9.4 8.9.5 9.0.0 9.0.0-beta.1 9.0.0-beta.2 9.0.0-rc.1 9.0.1 9.0.2 9.0.3 9.0.4 9.1.0 9.1.0-beta.1 9.1.0-rc.1 9.1.1 9.1.2 9.1.3 9.1.4 9.1.5 9.1.6 9.2.0 9.2.0-beta.1 9.2.0-rc.1 9.2.1 9.2.2 9.2.3 9.2.4 9.2.5 9.3.0 9.3.0-beta.1 9.3.0-rc.1 9.3.1 9.3.2 9.3.3 9.3.4 9.3.5 9.3.6 9.4.0 9.4.0-beta.1 9.4.0-beta.2 9.4.0-rc.1 9.4.0-rc.2 9.4.0-rc.3 9.4.0-rc.4 9.4.1 9.4.2 9.4.3 9.4.4 9.4.5 9.5.0 9.5.0-beta.1 9.5.0-beta.2 9.5.0-rc.1 9.5.1 9.5.2 9.5.3 9.5.4 9.6.0 9.6.0-beta.1 9.6.0-beta.2 9.6.0-rc.1 9.6.1 9.6.2 9.6.3 9.6.4 9.7.0 9.7.0-beta.1 9.7.0-rc.1 9.7.1 9.7.2 9.7.3 9.8.0 9.8.0-beta.1 9.8.0-rc.1 9.8.1 9.8.2 9.8.3 9.8.4 9.8.5 9.8.6 9.8.7 9.9.0 9.9.0-beta.1 9.9.0-rc.1 9.9.1 9.9.2 9.9.3 9.9.4 9.9.5 9.9.6 9.9.7 3.7.3 7.1.2 3.8.0 7.2.0 3.8.0-beta.1 7.2.0-beta.1 3.8.0-rc.1 7.2.0-beta.2 3.8.0-rc.2 7.2.0-rc.1 3.8.1 7.2.0-rc.2 3.8.2 7.2.1 3.8.3 7.2.2 3.9.0 7.2.3 3.9.0-beta.1 7.2.4 3.9.0-beta.2 7.3.0 3.9.0-rc.1 7.3.0-beta.1 3.9.0-rc.2 7.3.0-beta.2 3.9.0-rc.3 7.3.0-rc.1 3.9.0-rc.4 7.3.0-rc.2 3.9.1 7.3.1 3.9.2 7.4.0 3.9.3 7.4.0-beta.1 3.9.4 7.4.0-beta.2 3.9.5 7.4.0-rc.1 4.0.0 7.4.0-rc.2 4.0.0-beta.1 7.4.1 4.0.0-rc.1 7.4.2 4.0.0-rc.2 7.5.0 4.0.1 7.5.0-beta.1 4.0.2 7.5.0-beta.2 4.0.3 7.5.0-rc.1 4.0.4 7.5.1 4.1.0 7.5.2 4.1.0-beta.1 7.6.0 4.1.0-beta.2 7.6.0-beta.1 4.1.0-rc.1 7.6.0-beta.2 4.1.0-rc.2 7.6.0-rc.1 4.1.1 7.6.0-rc.2 4.1.2 7.6.0-rc.3 4.1.3 7.6.1 4.1.4 7.6.2 4.2.0 7.7.0 4.2.0-RC.1 7.7.0-beta.1 4.2.0-RC.2 7.7.0-beta.2 4.2.0-beta.1 7.7.0-rc.1 4.2.1 7.7.1 4.2.2 7.7.2 4.2.3 7.7.3 4.2.4 7.8.0 4.2.5 4.3.0 4.3.0-beta.1 4.3.0-rc.1 4.3.0-rc.2 4.3.0-rc.3 4.3.1 4.3.2 4.3.3 4.3.4 4.3.5 4.3.6 4.4.0 4.4.0-beta.1 4.4.0-rc.1 4.4.1 4.4.2 4.4.3 4.4.4 4.5.0 4.5.0-beta.1 4.5.0-rc.1 4.5.0-rc.3 4.5.1 4.5.2 4.5.3 4.5.4 4.5.5 4.6.0 4.6.0-beta.1 4.6.0-rc.1 4.6.1 4.6.2 4.6.3 4.6.4 4.6.5 4.7.0 4.7.0-beta.1 4.7.0-beta.2 4.7.0-rc.1 4.7.1 4.7.1-beta.1 4.7.2 4.7.3 4.7.4 4.8.0 4.8.0-beta.1 4.8.0-rc.1 4.8.0-rc.2 4.8.1 4.8.2 4.8.3 4.9.0 4.9.0-beta.1 4.9.0-rc.1 4.9.0-rc.2 4.9.1 4.9.2 4.9.3 4.9.4 4.9.5 5.0.0 5.0.0-beta.1 5.0.0-beta.2 5.0.0-rc.1 5.0.0-rc.2 5.0.0-rc.3 5.0.1 5.0.2 5.0.3 5.1.0 5.1.0-beta.1 5.1.0-rc.1 trunk 5.1.1 10.0.0 5.1.2 10.0.0-rc.1 5.1.3 10.0.0-rc.2 5.2.0 10.0.1 5.2.0-beta.1 10.0.2 5.2.0-rc.1 10.0.3 5.2.0-rc.2 10.0.4 5.2.1 10.0.5 5.2.2 10.0.6 5.2.3 10.1.0 5.2.4 10.1.0-rc.1 5.2.5 10.1.0-rc.2 5.3.0 10.1.0-rc.3 5.3.0-beta.1 10.1.0-rc.4 5.3.0-rc.1 10.1.1 5.3.0-rc.2 10.1.2 5.3.1 10.1.3 5.3.2 10.1.4 5.3.3 10.2.0 5.4.0 10.2.0-beta.1 5.4.0-beta.1 10.2.0-beta.2 5.4.0-rc.1 10.2.0-rc.1 5.4.1 10.2.1 5.4.2 10.2.2 5.4.3 10.2.3 5.4.4 10.2.4 5.4.5 10.3.0 5.5.0 10.3.0-beta.1 5.5.0-beta.1 10.3.0-beta.2 5.5.0-rc.1 10.3.0-rc.1 5.5.0-rc.2 10.3.0-rc.2 5.5.1 10.3.1 5.5.2 10.3.2 5.5.3 10.3.3 5.5.4 10.3.4 5.5.5 10.3.5 5.6.0 10.3.6 5.6.0-beta.1 10.3.7 5.6.0-rc.1 10.3.8 5.6.0-rc.2 10.4.0 5.6.1 10.4.0-beta.1 5.6.2 10.4.0-beta.2 5.6.3 10.4.0-rc.1 5.7.0 10.4.1 5.7.0-beta.1 10.4.2 5.7.0-rc.1 10.4.3 5.7.1 10.4.4 5.7.2 10.5.0 5.7.3 10.5.0-beta.1 5.8.0 10.5.0-beta.2 5.8.0-beta.1 10.5.0-rc.1 5.8.0-beta.2 10.5.0-rc.2 5.8.0-rc.1 10.5.0-rc.3 5.8.1 10.5.1 5.8.2 10.5.2 5.9.0 10.5.3 5.9.0-beta.1 10.6.0 5.9.0-rc.1 10.6.0-beta.1 5.9.0-rc.2 10.6.0-beta.2 5.9.1 10.6.0-rc.1 5.9.2 10.6.1 6.0.0 10.6.2 6.0.0-beta.1 10.7.0 6.0.0-rc.1 10.7.0-beta.1 6.0.1 10.7.0-beta.2 6.0.2 10.7.0-rc.1 6.1.0 3.0.0 6.1.0-beta.1 3.0.1 6.1.0-rc.1 3.0.2 6.1.0-rc.2 3.0.3 6.1.1 3.0.4 6.1.2 3.0.5 6.1.3 3.0.6 6.2.0 3.0.7 6.2.0-beta.1 3.0.8 6.2.0-rc.1 3.0.9 6.2.0-rc.2 3.1.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 / wc-blocks-registry.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
wc-blocks-registry.js
953 lines
1 /******/ (() => { // webpackBootstrap
2 /******/ "use strict";
3 /******/ var __webpack_modules__ = ({
4
5 /***/ "./assets/js/blocks-registry/block-components/get-registered-block-components.ts":
6 /*!***************************************************************************************!*\
7 !*** ./assets/js/blocks-registry/block-components/get-registered-block-components.ts ***!
8 \***************************************************************************************/
9 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
10
11 __webpack_require__.r(__webpack_exports__);
12 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13 /* harmony export */ getRegisteredBlockComponents: () => (/* binding */ getRegisteredBlockComponents),
14 /* harmony export */ getRegisteredInnerBlocks: () => (/* binding */ getRegisteredInnerBlocks)
15 /* harmony export */ });
16 /* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/deprecated */ "@wordpress/deprecated");
17 /* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_0__);
18 /* harmony import */ var _registered_block_components_init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./registered-block-components-init */ "./assets/js/blocks-registry/block-components/registered-block-components-init.ts");
19 /**
20 * External dependencies
21 */
22
23 /**
24 * Internal dependencies
25 */
26
27
28 /**
29 * Get all Registered Block Components.
30 *
31 * WooCommerce Blocks allows React Components to be used on the frontend of the store in place of
32 * Blocks instead of just serving static content.
33 *
34 * This gets all registered Block Components so we know which Blocks map to which React Components.
35 *
36 * @param {string} context Current context (a named parent Block). If Block Components were only
37 * registered under a certain context, those Components will be returned,
38 * as well as any Components registered under all contexts.
39 * @return {Object} List of React Components registered under the provided context.
40 */
41 function getRegisteredBlockComponents(context) {
42 const parentInnerBlocks = typeof _registered_block_components_init__WEBPACK_IMPORTED_MODULE_1__.registeredBlockComponents[context] === 'object' && Object.keys(_registered_block_components_init__WEBPACK_IMPORTED_MODULE_1__.registeredBlockComponents[context]).length > 0 ? _registered_block_components_init__WEBPACK_IMPORTED_MODULE_1__.registeredBlockComponents[context] : {};
43 return {
44 ...parentInnerBlocks,
45 ..._registered_block_components_init__WEBPACK_IMPORTED_MODULE_1__.registeredBlockComponents.any
46 };
47 }
48
49 /**
50 * Alias of getRegisteredBlockComponents kept for backwards compatibility.
51 *
52 * @param {string} main Name of the parent block to retrieve children of.
53 * @return {Object} List of registered inner blocks.
54 */
55 function getRegisteredInnerBlocks(main) {
56 _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_0___default()('getRegisteredInnerBlocks', {
57 version: '2.8.0',
58 alternative: 'getRegisteredBlockComponents',
59 plugin: 'WooCommerce Blocks'
60 });
61 return getRegisteredBlockComponents(main);
62 }
63
64 /***/ }),
65
66 /***/ "./assets/js/blocks-registry/block-components/index.js":
67 /*!*************************************************************!*\
68 !*** ./assets/js/blocks-registry/block-components/index.js ***!
69 \*************************************************************/
70 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
71
72 __webpack_require__.r(__webpack_exports__);
73 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
74 /* harmony export */ getRegisteredBlockComponents: () => (/* reexport safe */ _get_registered_block_components__WEBPACK_IMPORTED_MODULE_0__.getRegisteredBlockComponents),
75 /* harmony export */ getRegisteredInnerBlocks: () => (/* reexport safe */ _get_registered_block_components__WEBPACK_IMPORTED_MODULE_0__.getRegisteredInnerBlocks),
76 /* harmony export */ registerBlockComponent: () => (/* reexport safe */ _register_block_component__WEBPACK_IMPORTED_MODULE_1__.registerBlockComponent),
77 /* harmony export */ registerInnerBlock: () => (/* reexport safe */ _register_block_component__WEBPACK_IMPORTED_MODULE_1__.registerInnerBlock)
78 /* harmony export */ });
79 /* harmony import */ var _get_registered_block_components__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./get-registered-block-components */ "./assets/js/blocks-registry/block-components/get-registered-block-components.ts");
80 /* harmony import */ var _register_block_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./register-block-component */ "./assets/js/blocks-registry/block-components/register-block-component.js");
81
82
83
84 /***/ }),
85
86 /***/ "./assets/js/blocks-registry/block-components/register-block-component.js":
87 /*!********************************************************************************!*\
88 !*** ./assets/js/blocks-registry/block-components/register-block-component.js ***!
89 \********************************************************************************/
90 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
91
92 __webpack_require__.r(__webpack_exports__);
93 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
94 /* harmony export */ registerBlockComponent: () => (/* binding */ registerBlockComponent),
95 /* harmony export */ registerInnerBlock: () => (/* binding */ registerInnerBlock)
96 /* harmony export */ });
97 /* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/deprecated */ "@wordpress/deprecated");
98 /* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_0__);
99 /* harmony import */ var _registered_block_components_init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./registered-block-components-init */ "./assets/js/blocks-registry/block-components/registered-block-components-init.ts");
100 /**
101 * External dependencies
102 */
103
104
105 /**
106 * Internal dependencies
107 */
108
109
110 /**
111 * Asserts that an option is of the given type. Otherwise, throws an error.
112 *
113 * @throws Will throw an error if the type of the option doesn't match the expected type.
114 * @param {Object} options Object containing the option to validate.
115 * @param {string} optionName Name of the option to validate.
116 * @param {string} expectedType Type expected for the option.
117 */
118 const assertOption = (options, optionName, expectedType) => {
119 const actualType = typeof options[optionName];
120 if (actualType !== expectedType) {
121 throw new Error(`Incorrect value for the ${optionName} argument when registering a block component. It was a ${actualType}, but must be a ${expectedType}.`);
122 }
123 };
124
125 /**
126 * Asserts that an option is a valid react element or lazy callback. Otherwise, throws an error.
127 *
128 * @throws Will throw an error if the type of the option doesn't match the expected type.
129 * @param {Object} options Object containing the option to validate.
130 * @param {string} optionName Name of the option to validate.
131 */
132 const assertBlockComponent = (options, optionName) => {
133 if (options[optionName]) {
134 if (typeof options[optionName] === 'function') {
135 return;
136 }
137 if (options[optionName].$$typeof && options[optionName].$$typeof === Symbol.for('react.lazy')) {
138 return;
139 }
140 }
141 throw new Error(`Incorrect value for the ${optionName} argument when registering a block component. Component must be a valid React Element or Lazy callback.`);
142 };
143
144 /**
145 * Register a Block Component.
146 *
147 * WooCommerce Blocks allows React Components to be used on the frontend of the store in place of
148 * Blocks instead of just serving static content.
149 *
150 * Registering a Block Component allows you to define which React Component should be used in place
151 * of a registered Block. The Component, when rendered, will be passed all Block Attributes.
152 *
153 * @param {Object} options Options to use when registering the block.
154 * @param {Function} options.component React component that will be rendered, or the return value from React.lazy if
155 * dynamically imported.
156 * @param {string} options.blockName Name of the block that this component belongs to.
157 * @param {string} [options.context] To make this component available only under a certain context
158 * (named parent Block) define it here. If left blank, the
159 * Component will be available for all contexts.
160 */
161 function registerBlockComponent(options) {
162 if (!options.context) {
163 options.context = 'any';
164 }
165 assertOption(options, 'context', 'string');
166 assertOption(options, 'blockName', 'string');
167 assertBlockComponent(options, 'component');
168 const {
169 context,
170 blockName,
171 component
172 } = options;
173 if (!_registered_block_components_init__WEBPACK_IMPORTED_MODULE_1__.registeredBlockComponents[context]) {
174 _registered_block_components_init__WEBPACK_IMPORTED_MODULE_1__.registeredBlockComponents[context] = {};
175 }
176 _registered_block_components_init__WEBPACK_IMPORTED_MODULE_1__.registeredBlockComponents[context][blockName] = component;
177 }
178
179 /**
180 * Alias of registerBlockComponent kept for backwards compatibility.
181 *
182 * @param {Object} options Options to use when registering the block.
183 * @param {string} options.main Name of the parent block.
184 * @param {string} options.blockName Name of the child block being registered.
185 * @param {Function} options.component React component used to render the child block.
186 */
187 function registerInnerBlock(options) {
188 _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_0___default()('registerInnerBlock', {
189 version: '2.8.0',
190 alternative: 'registerBlockComponent',
191 plugin: 'WooCommerce Blocks',
192 hint: '"main" has been replaced with "context" and is now optional.'
193 });
194 assertOption(options, 'main', 'string');
195 registerBlockComponent({
196 ...options,
197 context: options.main
198 });
199 }
200
201 /***/ }),
202
203 /***/ "./assets/js/blocks-registry/block-components/registered-block-components-init.ts":
204 /*!****************************************************************************************!*\
205 !*** ./assets/js/blocks-registry/block-components/registered-block-components-init.ts ***!
206 \****************************************************************************************/
207 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
208
209 __webpack_require__.r(__webpack_exports__);
210 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
211 /* harmony export */ registeredBlockComponents: () => (/* binding */ registeredBlockComponents)
212 /* harmony export */ });
213 /**
214 * External dependencies
215 */
216
217 const registeredBlockComponents = {};
218
219
220 /***/ }),
221
222 /***/ "./assets/js/blocks-registry/payment-methods/assertions.ts":
223 /*!*****************************************************************!*\
224 !*** ./assets/js/blocks-registry/payment-methods/assertions.ts ***!
225 \*****************************************************************/
226 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
227
228 __webpack_require__.r(__webpack_exports__);
229 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
230 /* harmony export */ assertConfigHasProperties: () => (/* binding */ assertConfigHasProperties),
231 /* harmony export */ assertValidElement: () => (/* binding */ assertValidElement),
232 /* harmony export */ assertValidElementOrString: () => (/* binding */ assertValidElementOrString),
233 /* harmony export */ assertValidPaymentMethodComponent: () => (/* binding */ assertValidPaymentMethodComponent)
234 /* harmony export */ });
235 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
236 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
237 /**
238 * External dependencies
239 */
240
241 const assertValidPaymentMethodComponent = (component, componentName) => {
242 if (typeof component !== 'function') {
243 throw new TypeError(`The ${componentName} property for the payment method must be a functional component`);
244 }
245 };
246 const assertValidElement = (element, elementName) => {
247 if (element !== null && !(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.isValidElement)(element)) {
248 throw new TypeError(`The ${elementName} property for the payment method must be a React element or null.`);
249 }
250 };
251 const assertValidElementOrString = (element, elementName) => {
252 if (element !== null && !(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.isValidElement)(element) && typeof element !== 'string') {
253 throw new TypeError(`The ${elementName} property for the payment method must be a React element, a string, or null.`);
254 }
255 };
256 const assertConfigHasProperties = (config, expectedProperties = []) => {
257 const missingProperties = expectedProperties.reduce((acc, property) => {
258 if (!config.hasOwnProperty(property)) {
259 acc.push(property);
260 }
261 return acc;
262 }, []);
263 if (missingProperties.length > 0) {
264 const message = 'The payment method configuration object is missing the following properties:';
265 throw new TypeError(message + missingProperties.join(', '));
266 }
267 };
268
269 /***/ }),
270
271 /***/ "./assets/js/blocks-registry/payment-methods/express-payment-method-config.ts":
272 /*!************************************************************************************!*\
273 !*** ./assets/js/blocks-registry/payment-methods/express-payment-method-config.ts ***!
274 \************************************************************************************/
275 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
276
277 __webpack_require__.r(__webpack_exports__);
278 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
279 /* harmony export */ "default": () => (/* binding */ ExpressPaymentMethodConfig)
280 /* harmony export */ });
281 /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
282 /* harmony import */ var _payment_method_config_helper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./payment-method-config-helper */ "./assets/js/blocks-registry/payment-methods/payment-method-config-helper.ts");
283 /* harmony import */ var _assertions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./assertions */ "./assets/js/blocks-registry/payment-methods/assertions.ts");
284
285 /**
286 * External dependencies
287 */
288
289 /**
290 * Internal dependencies
291 */
292
293
294 class ExpressPaymentMethodConfig {
295 constructor(config) {
296 var _config$supports;
297 (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(this, "name", void 0);
298 (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(this, "content", void 0);
299 (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(this, "edit", void 0);
300 (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(this, "paymentMethodId", void 0);
301 (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(this, "supports", void 0);
302 (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(this, "canMakePaymentFromConfig", void 0);
303 // validate config
304 ExpressPaymentMethodConfig.assertValidConfig(config);
305 this.name = config.name;
306 this.content = config.content;
307 this.edit = config.edit;
308 this.paymentMethodId = config.paymentMethodId || this.name;
309 this.supports = {
310 features: (config === null || config === void 0 ? void 0 : (_config$supports = config.supports) === null || _config$supports === void 0 ? void 0 : _config$supports.features) || ['products']
311 };
312 this.canMakePaymentFromConfig = config.canMakePayment;
313 }
314
315 // canMakePayment is calculated each time based on data that modifies outside of the class (eg: cart data).
316 get canMakePayment() {
317 return (0,_payment_method_config_helper__WEBPACK_IMPORTED_MODULE_1__.getCanMakePayment)(this.canMakePaymentFromConfig, this.supports.features, this.name);
318 }
319 }
320 (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(ExpressPaymentMethodConfig, "assertValidConfig", config => {
321 var _config$supports2, _config$supports3;
322 (0,_assertions__WEBPACK_IMPORTED_MODULE_2__.assertConfigHasProperties)(config, ['name', 'content', 'edit']);
323 if (typeof config.name !== 'string') {
324 throw new TypeError('The name property for the express payment method must be a string');
325 }
326 if (typeof config.paymentMethodId !== 'string' && typeof config.paymentMethodId !== 'undefined') {
327 throw new Error('The paymentMethodId property for the payment method must be a string or undefined (in which case it will be the value of the name property).');
328 }
329 if (typeof ((_config$supports2 = config.supports) === null || _config$supports2 === void 0 ? void 0 : _config$supports2.features) !== 'undefined' && !Array.isArray((_config$supports3 = config.supports) === null || _config$supports3 === void 0 ? void 0 : _config$supports3.features)) {
330 throw new Error('The features property for the payment method must be an array or undefined.');
331 }
332 (0,_assertions__WEBPACK_IMPORTED_MODULE_2__.assertValidElement)(config.content, 'content');
333 (0,_assertions__WEBPACK_IMPORTED_MODULE_2__.assertValidElement)(config.edit, 'edit');
334 if (typeof config.canMakePayment !== 'function') {
335 throw new TypeError('The canMakePayment property for the express payment method must be a function.');
336 }
337 });
338
339 /***/ }),
340
341 /***/ "./assets/js/blocks-registry/payment-methods/extensions-config.ts":
342 /*!************************************************************************!*\
343 !*** ./assets/js/blocks-registry/payment-methods/extensions-config.ts ***!
344 \************************************************************************/
345 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
346
347 __webpack_require__.r(__webpack_exports__);
348 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
349 /* harmony export */ canMakePaymentExtensionsCallbacks: () => (/* binding */ canMakePaymentExtensionsCallbacks),
350 /* harmony export */ extensionsConfig: () => (/* binding */ extensionsConfig)
351 /* harmony export */ });
352 /**
353 * External dependencies
354 */
355
356 // Keeps callbacks registered by extensions for different payment methods
357 // eslint-disable-next-line prefer-const
358 const canMakePaymentExtensionsCallbacks = {};
359 const extensionsConfig = {
360 canMakePayment: canMakePaymentExtensionsCallbacks
361 };
362
363 /***/ }),
364
365 /***/ "./assets/js/blocks-registry/payment-methods/index.ts":
366 /*!************************************************************!*\
367 !*** ./assets/js/blocks-registry/payment-methods/index.ts ***!
368 \************************************************************/
369 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
370
371 __webpack_require__.r(__webpack_exports__);
372 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
373 /* harmony export */ __experimentalDeRegisterExpressPaymentMethod: () => (/* reexport safe */ _registry__WEBPACK_IMPORTED_MODULE_0__.__experimentalDeRegisterExpressPaymentMethod),
374 /* harmony export */ __experimentalDeRegisterPaymentMethod: () => (/* reexport safe */ _registry__WEBPACK_IMPORTED_MODULE_0__.__experimentalDeRegisterPaymentMethod),
375 /* harmony export */ getExpressPaymentMethods: () => (/* reexport safe */ _registry__WEBPACK_IMPORTED_MODULE_0__.getExpressPaymentMethods),
376 /* harmony export */ getPaymentMethods: () => (/* reexport safe */ _registry__WEBPACK_IMPORTED_MODULE_0__.getPaymentMethods),
377 /* harmony export */ registerExpressPaymentMethod: () => (/* reexport safe */ _registry__WEBPACK_IMPORTED_MODULE_0__.registerExpressPaymentMethod),
378 /* harmony export */ registerPaymentMethod: () => (/* reexport safe */ _registry__WEBPACK_IMPORTED_MODULE_0__.registerPaymentMethod),
379 /* harmony export */ registerPaymentMethodExtensionCallbacks: () => (/* reexport safe */ _registry__WEBPACK_IMPORTED_MODULE_0__.registerPaymentMethodExtensionCallbacks)
380 /* harmony export */ });
381 /* harmony import */ var _registry__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./registry */ "./assets/js/blocks-registry/payment-methods/registry.ts");
382
383
384 /***/ }),
385
386 /***/ "./assets/js/blocks-registry/payment-methods/payment-method-config-helper.ts":
387 /*!***********************************************************************************!*\
388 !*** ./assets/js/blocks-registry/payment-methods/payment-method-config-helper.ts ***!
389 \***********************************************************************************/
390 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
391
392 __webpack_require__.r(__webpack_exports__);
393 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
394 /* harmony export */ canMakePaymentWithExtensions: () => (/* binding */ canMakePaymentWithExtensions),
395 /* harmony export */ canMakePaymentWithFeaturesCheck: () => (/* binding */ canMakePaymentWithFeaturesCheck),
396 /* harmony export */ getCanMakePayment: () => (/* binding */ getCanMakePayment)
397 /* harmony export */ });
398 /* harmony import */ var _extensions_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./extensions-config */ "./assets/js/blocks-registry/payment-methods/extensions-config.ts");
399 /**
400 * External dependencies
401 */
402
403 /**
404 * Internal dependencies
405 */
406
407
408 // Filter out payment methods by supported features and cart requirement.
409 const canMakePaymentWithFeaturesCheck = (canMakePayment, features) => canPayArgument => {
410 const requirements = (canPayArgument === null || canPayArgument === void 0 ? void 0 : canPayArgument.paymentRequirements) || [];
411 const featuresSupportRequirements = requirements.every(requirement => features.includes(requirement));
412 return featuresSupportRequirements && canMakePayment(canPayArgument);
413 };
414
415 // Filter out payment methods by callbacks registered by extensions.
416 const canMakePaymentWithExtensions = (canMakePayment, extensionsCallbacks, paymentMethodName) => canPayArgument => {
417 // Validate whether the payment method is available based on its own criteria first.
418 let canPay = canMakePayment(canPayArgument);
419 if (canPay) {
420 // Gather all callbacks for paymentMethodName.
421 const namespacedCallbacks = {};
422 Object.entries(extensionsCallbacks).forEach(([namespace, callbacks]) => {
423 if (!(paymentMethodName in callbacks) || typeof callbacks[paymentMethodName] !== 'function') {
424 return;
425 }
426 namespacedCallbacks[namespace] = callbacks[paymentMethodName];
427 });
428 canPay = Object.keys(namespacedCallbacks).every(namespace => {
429 try {
430 return namespacedCallbacks[namespace](canPayArgument);
431 } catch (err) {
432 // eslint-disable-next-line no-console
433 console.error(`Error when executing callback for ${paymentMethodName} in ${namespace}`, err);
434 // .every() expects a return value at the end of every arrow function and
435 // this ensures that the error is ignored when computing the whole result.
436 return true;
437 }
438 });
439 }
440 return canPay;
441 };
442 const getCanMakePayment = (canMakePayment, features, paymentMethodName) => {
443 const canPay = canMakePaymentWithFeaturesCheck(canMakePayment, features);
444 // Loop through all callbacks to check if there are any registered for this payment method.
445 return Object.values(_extensions_config__WEBPACK_IMPORTED_MODULE_0__.extensionsConfig.canMakePayment).some(callbacks => paymentMethodName in callbacks) ? canMakePaymentWithExtensions(canPay, _extensions_config__WEBPACK_IMPORTED_MODULE_0__.extensionsConfig.canMakePayment, paymentMethodName) : canPay;
446 };
447
448 /***/ }),
449
450 /***/ "./assets/js/blocks-registry/payment-methods/payment-method-config.tsx":
451 /*!*****************************************************************************!*\
452 !*** ./assets/js/blocks-registry/payment-methods/payment-method-config.tsx ***!
453 \*****************************************************************************/
454 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
455
456 __webpack_require__.r(__webpack_exports__);
457 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
458 /* harmony export */ "default": () => (/* binding */ PaymentMethodConfig)
459 /* harmony export */ });
460 /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
461 /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
462 /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
463 /* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/deprecated */ "@wordpress/deprecated");
464 /* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_2__);
465 /* harmony import */ var _payment_method_config_helper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./payment-method-config-helper */ "./assets/js/blocks-registry/payment-methods/payment-method-config-helper.ts");
466 /* harmony import */ var _assertions__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./assertions */ "./assets/js/blocks-registry/payment-methods/assertions.ts");
467
468
469 /**
470 * External dependencies
471 */
472
473 /**
474 * Internal dependencies
475 */
476
477
478 const NullComponent = () => {
479 return null;
480 };
481 class PaymentMethodConfig {
482 constructor(config) {
483 var _config$supports, _config$supports2, _config$supports3, _config$supports4;
484 (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(this, "name", void 0);
485 (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(this, "content", void 0);
486 (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(this, "edit", void 0);
487 (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(this, "paymentMethodId", void 0);
488 (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(this, "supports", void 0);
489 (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(this, "icons", void 0);
490 (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(this, "label", void 0);
491 (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(this, "ariaLabel", void 0);
492 (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(this, "placeOrderButtonLabel", void 0);
493 (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(this, "savedTokenComponent", void 0);
494 (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(this, "canMakePaymentFromConfig", void 0);
495 // validate config
496 PaymentMethodConfig.assertValidConfig(config);
497 this.name = config.name;
498 this.label = config.label;
499 this.placeOrderButtonLabel = config.placeOrderButtonLabel;
500 this.ariaLabel = config.ariaLabel;
501 this.content = config.content;
502 this.savedTokenComponent = config.savedTokenComponent;
503 this.icons = config.icons || null;
504 this.edit = config.edit;
505 this.paymentMethodId = config.paymentMethodId || this.name;
506 this.supports = {
507 showSavedCards: (config === null || config === void 0 ? void 0 : (_config$supports = config.supports) === null || _config$supports === void 0 ? void 0 : _config$supports.showSavedCards) || (config === null || config === void 0 ? void 0 : (_config$supports2 = config.supports) === null || _config$supports2 === void 0 ? void 0 : _config$supports2.savePaymentInfo) ||
508 // Kept for backward compatibility if methods still pass this when registering.
509 false,
510 showSaveOption: (config === null || config === void 0 ? void 0 : (_config$supports3 = config.supports) === null || _config$supports3 === void 0 ? void 0 : _config$supports3.showSaveOption) || false,
511 features: (config === null || config === void 0 ? void 0 : (_config$supports4 = config.supports) === null || _config$supports4 === void 0 ? void 0 : _config$supports4.features) || ['products']
512 };
513 this.canMakePaymentFromConfig = config.canMakePayment;
514 }
515
516 // canMakePayment is calculated each time based on data that modifies outside of the class (eg: cart data).
517 get canMakePayment() {
518 return (0,_payment_method_config_helper__WEBPACK_IMPORTED_MODULE_3__.getCanMakePayment)(this.canMakePaymentFromConfig, this.supports.features, this.name);
519 }
520 }
521 (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(PaymentMethodConfig, "assertValidConfig", config => {
522 var _config$supports5, _config$supports6, _config$supports7, _config$supports8, _config$supports9, _config$supports10, _config$supports11;
523 // set default for optional
524 config.savedTokenComponent = config.savedTokenComponent || (0,react__WEBPACK_IMPORTED_MODULE_1__.createElement)(NullComponent, null);
525 (0,_assertions__WEBPACK_IMPORTED_MODULE_4__.assertConfigHasProperties)(config, ['name', 'label', 'ariaLabel', 'content', 'edit', 'canMakePayment']);
526 if (typeof config.name !== 'string') {
527 throw new Error('The name property for the payment method must be a string');
528 }
529 if (typeof config.icons !== 'undefined' && !Array.isArray(config.icons) && config.icons !== null) {
530 throw new Error('The icons property for the payment method must be an array or null.');
531 }
532 if (typeof config.paymentMethodId !== 'string' && typeof config.paymentMethodId !== 'undefined') {
533 throw new Error('The paymentMethodId property for the payment method must be a string or undefined (in which case it will be the value of the name property).');
534 }
535 if (typeof config.placeOrderButtonLabel !== 'string' && typeof config.placeOrderButtonLabel !== 'undefined') {
536 throw new TypeError('The placeOrderButtonLabel property for the payment method must be a string');
537 }
538 (0,_assertions__WEBPACK_IMPORTED_MODULE_4__.assertValidElementOrString)(config.label, 'label');
539 (0,_assertions__WEBPACK_IMPORTED_MODULE_4__.assertValidElement)(config.content, 'content');
540 (0,_assertions__WEBPACK_IMPORTED_MODULE_4__.assertValidElement)(config.edit, 'edit');
541 (0,_assertions__WEBPACK_IMPORTED_MODULE_4__.assertValidElement)(config.savedTokenComponent, 'savedTokenComponent');
542 if (typeof config.ariaLabel !== 'string') {
543 throw new TypeError('The ariaLabel property for the payment method must be a string');
544 }
545 if (typeof config.canMakePayment !== 'function') {
546 throw new TypeError('The canMakePayment property for the payment method must be a function.');
547 }
548 if (typeof ((_config$supports5 = config.supports) === null || _config$supports5 === void 0 ? void 0 : _config$supports5.showSavedCards) !== 'undefined' && typeof ((_config$supports6 = config.supports) === null || _config$supports6 === void 0 ? void 0 : _config$supports6.showSavedCards) !== 'boolean') {
549 throw new TypeError('If the payment method includes the `supports.showSavedCards` property, it must be a boolean');
550 }
551 if (typeof ((_config$supports7 = config.supports) === null || _config$supports7 === void 0 ? void 0 : _config$supports7.savePaymentInfo) !== 'undefined') {
552 _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_2___default()('Passing savePaymentInfo when registering a payment method.', {
553 alternative: 'Pass showSavedCards and showSaveOption',
554 plugin: 'woocommerce-gutenberg-products-block',
555 link: 'https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3686'
556 });
557 }
558 if (typeof ((_config$supports8 = config.supports) === null || _config$supports8 === void 0 ? void 0 : _config$supports8.features) !== 'undefined' && !Array.isArray((_config$supports9 = config.supports) === null || _config$supports9 === void 0 ? void 0 : _config$supports9.features)) {
559 throw new Error('The features property for the payment method must be an array or undefined.');
560 }
561 if (typeof ((_config$supports10 = config.supports) === null || _config$supports10 === void 0 ? void 0 : _config$supports10.showSaveOption) !== 'undefined' && typeof ((_config$supports11 = config.supports) === null || _config$supports11 === void 0 ? void 0 : _config$supports11.showSaveOption) !== 'boolean') {
562 throw new TypeError('If the payment method includes the `supports.showSaveOption` property, it must be a boolean');
563 }
564 });
565
566 /***/ }),
567
568 /***/ "./assets/js/blocks-registry/payment-methods/registry.ts":
569 /*!***************************************************************!*\
570 !*** ./assets/js/blocks-registry/payment-methods/registry.ts ***!
571 \***************************************************************/
572 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
573
574 __webpack_require__.r(__webpack_exports__);
575 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
576 /* harmony export */ __experimentalDeRegisterExpressPaymentMethod: () => (/* binding */ __experimentalDeRegisterExpressPaymentMethod),
577 /* harmony export */ __experimentalDeRegisterPaymentMethod: () => (/* binding */ __experimentalDeRegisterPaymentMethod),
578 /* harmony export */ getExpressPaymentMethods: () => (/* binding */ getExpressPaymentMethods),
579 /* harmony export */ getPaymentMethods: () => (/* binding */ getPaymentMethods),
580 /* harmony export */ registerExpressPaymentMethod: () => (/* binding */ registerExpressPaymentMethod),
581 /* harmony export */ registerPaymentMethod: () => (/* binding */ registerPaymentMethod),
582 /* harmony export */ registerPaymentMethodExtensionCallbacks: () => (/* binding */ registerPaymentMethodExtensionCallbacks)
583 /* harmony export */ });
584 /* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/deprecated */ "@wordpress/deprecated");
585 /* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_0__);
586 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data");
587 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__);
588 /* harmony import */ var _payment_method_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./payment-method-config */ "./assets/js/blocks-registry/payment-methods/payment-method-config.tsx");
589 /* harmony import */ var _express_payment_method_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./express-payment-method-config */ "./assets/js/blocks-registry/payment-methods/express-payment-method-config.ts");
590 /* harmony import */ var _extensions_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./extensions-config */ "./assets/js/blocks-registry/payment-methods/extensions-config.ts");
591 /* harmony import */ var _data_payment_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../data/payment/constants */ "./assets/js/data/payment/constants.ts");
592 /**
593 * External dependencies
594 */
595
596
597
598 /**
599 * Internal dependencies
600 */
601
602
603
604 // Full path here because otherwise there's a circular dependency.
605
606 const paymentMethods = {};
607 const expressPaymentMethods = {};
608
609 /**
610 * Register a regular payment method.
611 */
612 const registerPaymentMethod = options => {
613 let paymentMethodConfig;
614 if (typeof options === 'function') {
615 // Legacy fallback for previous API, where client passes a function:
616 // registerPaymentMethod( ( Config ) => new Config( options ) );
617 paymentMethodConfig = options(_payment_method_config__WEBPACK_IMPORTED_MODULE_2__["default"]);
618 _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_0___default()('Passing a callback to registerPaymentMethod()', {
619 alternative: 'a config options object',
620 plugin: 'woocommerce-gutenberg-products-block',
621 link: 'https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3404'
622 });
623 } else {
624 paymentMethodConfig = new _payment_method_config__WEBPACK_IMPORTED_MODULE_2__["default"](options);
625 }
626 if (paymentMethodConfig instanceof _payment_method_config__WEBPACK_IMPORTED_MODULE_2__["default"]) {
627 paymentMethods[paymentMethodConfig.name] = paymentMethodConfig;
628 }
629 };
630
631 /**
632 * Register an express payment method.
633 */
634 const registerExpressPaymentMethod = options => {
635 let paymentMethodConfig;
636 if (typeof options === 'function') {
637 // Legacy fallback for previous API, where client passes a function:
638 // registerExpressPaymentMethod( ( Config ) => new Config( options ) );
639 paymentMethodConfig = options(_express_payment_method_config__WEBPACK_IMPORTED_MODULE_3__["default"]);
640 _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_0___default()('Passing a callback to registerExpressPaymentMethod()', {
641 alternative: 'a config options object',
642 plugin: 'woocommerce-gutenberg-products-block',
643 link: 'https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3404'
644 });
645 } else {
646 paymentMethodConfig = new _express_payment_method_config__WEBPACK_IMPORTED_MODULE_3__["default"](options);
647 }
648 if (paymentMethodConfig instanceof _express_payment_method_config__WEBPACK_IMPORTED_MODULE_3__["default"]) {
649 expressPaymentMethods[paymentMethodConfig.name] = paymentMethodConfig;
650 }
651 };
652
653 /**
654 * Allows extension to register callbacks for specific payment methods to determine if they can make payments
655 */
656 const registerPaymentMethodExtensionCallbacks = (namespace, callbacks) => {
657 if (_extensions_config__WEBPACK_IMPORTED_MODULE_4__.canMakePaymentExtensionsCallbacks[namespace]) {
658 // eslint-disable-next-line no-console
659 console.error(`The namespace provided to registerPaymentMethodExtensionCallbacks must be unique. Callbacks have already been registered for the ${namespace} namespace.`);
660 } else {
661 // Set namespace up as an empty object.
662 _extensions_config__WEBPACK_IMPORTED_MODULE_4__.canMakePaymentExtensionsCallbacks[namespace] = {};
663 Object.entries(callbacks).forEach(([paymentMethodName, callback]) => {
664 if (typeof callback === 'function') {
665 _extensions_config__WEBPACK_IMPORTED_MODULE_4__.canMakePaymentExtensionsCallbacks[namespace][paymentMethodName] = callback;
666 } else {
667 // eslint-disable-next-line no-console
668 console.error(`All callbacks provided to registerPaymentMethodExtensionCallbacks must be functions. The callback for the ${paymentMethodName} payment method in the ${namespace} namespace was not a function.`);
669 }
670 });
671 }
672 };
673 const __experimentalDeRegisterPaymentMethod = paymentMethodName => {
674 delete paymentMethods[paymentMethodName];
675 const {
676 __internalRemoveAvailablePaymentMethod
677 } = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_1__.dispatch)(_data_payment_constants__WEBPACK_IMPORTED_MODULE_5__.STORE_KEY);
678 __internalRemoveAvailablePaymentMethod(paymentMethodName);
679 };
680 const __experimentalDeRegisterExpressPaymentMethod = paymentMethodName => {
681 delete expressPaymentMethods[paymentMethodName];
682 const {
683 __internalRemoveAvailableExpressPaymentMethod
684 } = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_1__.dispatch)(_data_payment_constants__WEBPACK_IMPORTED_MODULE_5__.STORE_KEY);
685 __internalRemoveAvailableExpressPaymentMethod(paymentMethodName);
686 };
687 const getPaymentMethods = () => {
688 return paymentMethods;
689 };
690 const getExpressPaymentMethods = () => {
691 return expressPaymentMethods;
692 };
693
694 /***/ }),
695
696 /***/ "./assets/js/data/payment/constants.ts":
697 /*!*********************************************!*\
698 !*** ./assets/js/data/payment/constants.ts ***!
699 \*********************************************/
700 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
701
702 __webpack_require__.r(__webpack_exports__);
703 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
704 /* harmony export */ STATUS: () => (/* binding */ STATUS),
705 /* harmony export */ STORE_KEY: () => (/* binding */ STORE_KEY)
706 /* harmony export */ });
707 const STORE_KEY = 'wc/store/payment';
708 let STATUS = /*#__PURE__*/function (STATUS) {
709 STATUS["IDLE"] = "idle";
710 STATUS["EXPRESS_STARTED"] = "express_started";
711 STATUS["PROCESSING"] = "processing";
712 STATUS["READY"] = "ready";
713 STATUS["ERROR"] = "has_error";
714 return STATUS;
715 }({});
716
717 /***/ }),
718
719 /***/ "react":
720 /*!************************!*\
721 !*** external "React" ***!
722 \************************/
723 /***/ ((module) => {
724
725 module.exports = window["React"];
726
727 /***/ }),
728
729 /***/ "@wordpress/data":
730 /*!******************************!*\
731 !*** external ["wp","data"] ***!
732 \******************************/
733 /***/ ((module) => {
734
735 module.exports = window["wp"]["data"];
736
737 /***/ }),
738
739 /***/ "@wordpress/deprecated":
740 /*!************************************!*\
741 !*** external ["wp","deprecated"] ***!
742 \************************************/
743 /***/ ((module) => {
744
745 module.exports = window["wp"]["deprecated"];
746
747 /***/ }),
748
749 /***/ "@wordpress/element":
750 /*!*********************************!*\
751 !*** external ["wp","element"] ***!
752 \*********************************/
753 /***/ ((module) => {
754
755 module.exports = window["wp"]["element"];
756
757 /***/ }),
758
759 /***/ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
760 /*!****************************************************************************************************************!*\
761 !*** ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
762 \****************************************************************************************************************/
763 /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
764
765 __webpack_require__.r(__webpack_exports__);
766 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
767 /* harmony export */ "default": () => (/* binding */ _defineProperty)
768 /* harmony export */ });
769 /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
770
771 function _defineProperty(obj, key, value) {
772 key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
773 if (key in obj) {
774 Object.defineProperty(obj, key, {
775 value: value,
776 enumerable: true,
777 configurable: true,
778 writable: true
779 });
780 } else {
781 obj[key] = value;
782 }
783 return obj;
784 }
785
786 /***/ }),
787
788 /***/ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
789 /*!*************************************************************************************************************!*\
790 !*** ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
791 \*************************************************************************************************************/
792 /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
793
794 __webpack_require__.r(__webpack_exports__);
795 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
796 /* harmony export */ "default": () => (/* binding */ _toPrimitive)
797 /* harmony export */ });
798 /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/typeof.js");
799
800 function _toPrimitive(input, hint) {
801 if ((0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(input) !== "object" || input === null) return input;
802 var prim = input[Symbol.toPrimitive];
803 if (prim !== undefined) {
804 var res = prim.call(input, hint || "default");
805 if ((0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(res) !== "object") return res;
806 throw new TypeError("@@toPrimitive must return a primitive value.");
807 }
808 return (hint === "string" ? String : Number)(input);
809 }
810
811 /***/ }),
812
813 /***/ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
814 /*!***************************************************************************************************************!*\
815 !*** ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
816 \***************************************************************************************************************/
817 /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
818
819 __webpack_require__.r(__webpack_exports__);
820 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
821 /* harmony export */ "default": () => (/* binding */ _toPropertyKey)
822 /* harmony export */ });
823 /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/typeof.js");
824 /* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/toPrimitive.js");
825
826
827 function _toPropertyKey(arg) {
828 var key = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__["default"])(arg, "string");
829 return (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key) === "symbol" ? key : String(key);
830 }
831
832 /***/ }),
833
834 /***/ "../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/typeof.js":
835 /*!********************************************************************************************************!*\
836 !*** ../../node_modules/.pnpm/@babel+runtime@7.23.5/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
837 \********************************************************************************************************/
838 /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
839
840 __webpack_require__.r(__webpack_exports__);
841 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
842 /* harmony export */ "default": () => (/* binding */ _typeof)
843 /* harmony export */ });
844 function _typeof(o) {
845 "@babel/helpers - typeof";
846
847 return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
848 return typeof o;
849 } : function (o) {
850 return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
851 }, _typeof(o);
852 }
853
854 /***/ })
855
856 /******/ });
857 /************************************************************************/
858 /******/ // The module cache
859 /******/ var __webpack_module_cache__ = {};
860 /******/
861 /******/ // The require function
862 /******/ function __webpack_require__(moduleId) {
863 /******/ // Check if module is in cache
864 /******/ var cachedModule = __webpack_module_cache__[moduleId];
865 /******/ if (cachedModule !== undefined) {
866 /******/ return cachedModule.exports;
867 /******/ }
868 /******/ // Create a new module (and put it into the cache)
869 /******/ var module = __webpack_module_cache__[moduleId] = {
870 /******/ // no module.id needed
871 /******/ // no module.loaded needed
872 /******/ exports: {}
873 /******/ };
874 /******/
875 /******/ // Execute the module function
876 /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
877 /******/
878 /******/ // Return the exports of the module
879 /******/ return module.exports;
880 /******/ }
881 /******/
882 /************************************************************************/
883 /******/ /* webpack/runtime/compat get default export */
884 /******/ (() => {
885 /******/ // getDefaultExport function for compatibility with non-harmony modules
886 /******/ __webpack_require__.n = (module) => {
887 /******/ var getter = module && module.__esModule ?
888 /******/ () => (module['default']) :
889 /******/ () => (module);
890 /******/ __webpack_require__.d(getter, { a: getter });
891 /******/ return getter;
892 /******/ };
893 /******/ })();
894 /******/
895 /******/ /* webpack/runtime/define property getters */
896 /******/ (() => {
897 /******/ // define getter functions for harmony exports
898 /******/ __webpack_require__.d = (exports, definition) => {
899 /******/ for(var key in definition) {
900 /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
901 /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
902 /******/ }
903 /******/ }
904 /******/ };
905 /******/ })();
906 /******/
907 /******/ /* webpack/runtime/hasOwnProperty shorthand */
908 /******/ (() => {
909 /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
910 /******/ })();
911 /******/
912 /******/ /* webpack/runtime/make namespace object */
913 /******/ (() => {
914 /******/ // define __esModule on exports
915 /******/ __webpack_require__.r = (exports) => {
916 /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
917 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
918 /******/ }
919 /******/ Object.defineProperty(exports, '__esModule', { value: true });
920 /******/ };
921 /******/ })();
922 /******/
923 /************************************************************************/
924 var __webpack_exports__ = {};
925 // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
926 (() => {
927 /*!********************************************!*\
928 !*** ./assets/js/blocks-registry/index.js ***!
929 \********************************************/
930 __webpack_require__.r(__webpack_exports__);
931 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
932 /* harmony export */ __experimentalDeRegisterExpressPaymentMethod: () => (/* reexport safe */ _payment_methods__WEBPACK_IMPORTED_MODULE_0__.__experimentalDeRegisterExpressPaymentMethod),
933 /* harmony export */ __experimentalDeRegisterPaymentMethod: () => (/* reexport safe */ _payment_methods__WEBPACK_IMPORTED_MODULE_0__.__experimentalDeRegisterPaymentMethod),
934 /* harmony export */ getExpressPaymentMethods: () => (/* reexport safe */ _payment_methods__WEBPACK_IMPORTED_MODULE_0__.getExpressPaymentMethods),
935 /* harmony export */ getPaymentMethods: () => (/* reexport safe */ _payment_methods__WEBPACK_IMPORTED_MODULE_0__.getPaymentMethods),
936 /* harmony export */ getRegisteredBlockComponents: () => (/* reexport safe */ _block_components__WEBPACK_IMPORTED_MODULE_1__.getRegisteredBlockComponents),
937 /* harmony export */ getRegisteredInnerBlocks: () => (/* reexport safe */ _block_components__WEBPACK_IMPORTED_MODULE_1__.getRegisteredInnerBlocks),
938 /* harmony export */ registerBlockComponent: () => (/* reexport safe */ _block_components__WEBPACK_IMPORTED_MODULE_1__.registerBlockComponent),
939 /* harmony export */ registerExpressPaymentMethod: () => (/* reexport safe */ _payment_methods__WEBPACK_IMPORTED_MODULE_0__.registerExpressPaymentMethod),
940 /* harmony export */ registerInnerBlock: () => (/* reexport safe */ _block_components__WEBPACK_IMPORTED_MODULE_1__.registerInnerBlock),
941 /* harmony export */ registerPaymentMethod: () => (/* reexport safe */ _payment_methods__WEBPACK_IMPORTED_MODULE_0__.registerPaymentMethod),
942 /* harmony export */ registerPaymentMethodExtensionCallbacks: () => (/* reexport safe */ _payment_methods__WEBPACK_IMPORTED_MODULE_0__.registerPaymentMethodExtensionCallbacks)
943 /* harmony export */ });
944 /* harmony import */ var _payment_methods__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./payment-methods */ "./assets/js/blocks-registry/payment-methods/index.ts");
945 /* harmony import */ var _block_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./block-components */ "./assets/js/blocks-registry/block-components/index.js");
946
947
948 })();
949
950 (this.wc = this.wc || {}).wcBlocksRegistry = __webpack_exports__;
951 /******/ })()
952 ;
953 //# sourceMappingURL=wc-blocks-registry.js.map