/
home
/
techb158
/
balacoffee.com
/
wp-content
/
plugins
/
woocommerce
/
assets
/
client
/
blocks
/
/home/techb158/balacoffee.com/wp-content/plugins/woocommerce/assets/client/blocks
mkdir
upload
Name
Size
Mode
Actions
@woocommerce/
-
0755
rm
@wordpress/
-
0755
rm
accordion-group/
-
0755
rm
accordion-header/
-
0755
rm
accordion-item/
-
0755
rm
accordion-panel/
-
0755
rm
active-filters/
-
0755
rm
add-to-cart-form/
-
0755
rm
add-to-cart-with-options/
-
0755
rm
add-to-cart-with-options-grouped-product-item/
-
0755
rm
add-to-cart-with-options-grouped-product-item-label/
-
0755
rm
add-to-cart-with-options-grouped-product-item-selector/
-
0755
rm
add-to-cart-with-options-grouped-product-selector/
-
0755
rm
add-to-cart-with-options-quantity-selector/
-
0755
rm
add-to-cart-with-options-variation-description/
-
0755
rm
add-to-cart-with-options-variation-selector/
-
0755
rm
add-to-cart-with-options-variation-selector-attribute/
-
0755
rm
add-to-cart-with-options-variation-selector-attribute-name/
-
0755
rm
add-to-cart-with-options-variation-selector-attribute-options/
-
0755
rm
all-products/
-
0755
rm
all-reviews/
-
0755
rm
attribute-filter/
-
0755
rm
breadcrumbs/
-
0755
rm
cart-link/
-
0755
rm
catalog-sorting/
-
0755
rm
category-description/
-
0755
rm
category-title/
-
0755
rm
checkout/
-
0755
rm
classic-shortcode/
-
0755
rm
coming-soon/
-
0755
rm
coupon-code/
-
0755
rm
customer-account/
-
0755
rm
email-content/
-
0755
rm
featured-category/
-
0755
rm
featured-product/
-
0755
rm
filter-wrapper/
-
0755
rm
handpicked-products/
-
0755
rm
inner-blocks/
-
0755
rm
mini-cart/
-
0755
rm
mini-cart-contents/
-
0755
rm
mini-cart-contents-block/
-
0755
rm
order-confirmation-additional-fields/
-
0755
rm
order-confirmation-additional-fields-wrapper/
-
0755
rm
order-confirmation-additional-information/
-
0755
rm
order-confirmation-billing-address/
-
0755
rm
order-confirmation-billing-wrapper/
-
0755
rm
order-confirmation-create-account/
-
0755
rm
order-confirmation-downloads/
-
0755
rm
order-confirmation-downloads-wrapper/
-
0755
rm
order-confirmation-shipping-address/
-
0755
rm
order-confirmation-shipping-wrapper/
-
0755
rm
order-confirmation-status/
-
0755
rm
order-confirmation-summary/
-
0755
rm
order-confirmation-totals/
-
0755
rm
order-confirmation-totals-wrapper/
-
0755
rm
page-content-wrapper/
-
0755
rm
payment-method-icons/
-
0755
rm
price-filter/
-
0755
rm
product-average-rating/
-
0755
rm
product-best-sellers/
-
0755
rm
product-button/
-
0755
rm
product-categories/
-
0755
rm
product-category/
-
0755
rm
product-collection/
-
0755
rm
product-collection-no-results/
-
0755
rm
product-description/
-
0755
rm
product-details/
-
0755
rm
product-filter-active/
-
0755
rm
product-filter-attribute/
-
0755
rm
product-filter-checkbox-list/
-
0755
rm
product-filter-chips/
-
0755
rm
product-filter-clear-button/
-
0755
rm
product-filter-price/
-
0755
rm
product-filter-price-slider/
-
0755
rm
product-filter-rating/
-
0755
rm
product-filter-removable-chips/
-
0755
rm
product-filter-status/
-
0755
rm
product-filter-taxonomy/
-
0755
rm
product-filters/
-
0755
rm
product-gallery/
-
0755
rm
product-gallery-large-image/
-
0755
rm
product-gallery-large-image-next-previous/
-
0755
rm
product-gallery-thumbnails/
-
0755
rm
product-image/
-
0755
rm
product-image-gallery/
-
0755
rm
product-meta/
-
0755
rm
product-new/
-
0755
rm
product-on-sale/
-
0755
rm
product-price/
-
0755
rm
product-rating/
-
0755
rm
product-rating-counter/
-
0755
rm
product-rating-stars/
-
0755
rm
product-results-count/
-
0755
rm
product-review-author-name/
-
0755
rm
product-review-content/
-
0755
rm
product-review-date/
-
0755
rm
product-review-form/
-
0755
rm
product-review-rating/
-
0755
rm
product-review-template/
-
0755
rm
product-reviews/
-
0755
rm
product-reviews-pagination/
-
0755
rm
product-reviews-pagination-next/
-
0755
rm
product-reviews-pagination-numbers/
-
0755
rm
product-reviews-pagination-previous/
-
0755
rm
product-reviews-title/
-
0755
rm
product-sale-badge/
-
0755
rm
product-sku/
-
0755
rm
product-specifications/
-
0755
rm
product-stock-indicator/
-
0755
rm
product-summary/
-
0755
rm
product-tag/
-
0755
rm
product-template/
-
0755
rm
product-title/
-
0755
rm
product-top-rated/
-
0755
rm
products-by-attribute/
-
0755
rm
rating-filter/
-
0755
rm
related-products/
-
0755
rm
reviews-by-category/
-
0755
rm
reviews-by-product/
-
0755
rm
single-product/
-
0755
rm
stock-filter/
-
0755
rm
store-notices/
-
0755
rm
woocommerce/
-
0755
rm
278.js
2693
0644
edit
dl
rm
774.js
11478
0644
edit
dl
rm
4017-style.js.LICENSE.txt
121
0644
edit
dl
rm
accordion-group.asset.php
204
0644
edit
dl
rm
accordion-group.js
6120
0644
edit
dl
rm
accordion-header-style.asset.php
178
0644
edit
dl
rm
accordion-header.asset.php
178
0644
edit
dl
rm
accordion-header.js
9513
0644
edit
dl
rm
accordion-item-style.asset.php
203
0644
edit
dl
rm
accordion-item.asset.php
203
0644
edit
dl
rm
accordion-item.js
5054
0644
edit
dl
rm
accordion-panel-style.asset.php
167
0644
edit
dl
rm
accordion-panel.asset.php
167
0644
edit
dl
rm
accordion-panel.js
5538
0644
edit
dl
rm
active-filters-frontend.asset.php
357
0644
edit
dl
rm
active-filters-frontend.js
18211
0644
edit
dl
rm
active-filters-rtl.css
9924
0644
edit
dl
rm
active-filters-style.asset.php
390
0644
edit
dl
rm
active-filters-wrapper-frontend.js
14423
0644
edit
dl
rm
active-filters-wrapper-rtl.css
9328
0644
edit
dl
rm
active-filters-wrapper.css
9328
0644
edit
dl
rm
active-filters.asset.php
390
0644
edit
dl
rm
active-filters.css
9923
0644
edit
dl
rm
active-filters.js
17616
0644
edit
dl
rm
add-to-cart-form.asset.php
269
0644
edit
dl
rm
add-to-cart-form.js
11395
0644
edit
dl
rm
add-to-cart-with-options-grouped-product-item-label-style.asset.php
221
0644
edit
dl
rm
add-to-cart-with-options-grouped-product-item-label.asset.php
221
0644
edit
dl
rm
add-to-cart-with-options-grouped-product-item-label.js
3607
0644
edit
dl
rm
add-to-cart-with-options-grouped-product-item-selector-rtl.css
2659
0644
edit
dl
rm
add-to-cart-with-options-grouped-product-item-selector-style.asset.php
246
0644
edit
dl
rm
add-to-cart-with-options-grouped-product-item-selector.asset.php
246
0644
edit
dl
rm
add-to-cart-with-options-grouped-product-item-selector.css
2659
0644
edit
dl
rm
add-to-cart-with-options-grouped-product-item-selector.js
4487
0644
edit
dl
rm
add-to-cart-with-options-grouped-product-item-style.asset.php
329
0644
edit
dl
rm
add-to-cart-with-options-grouped-product-item.asset.php
329
0644
edit
dl
rm
add-to-cart-with-options-grouped-product-item.js
12507
0644
edit
dl
rm
add-to-cart-with-options-grouped-product-selector.asset.php
190
0644
edit
dl
rm
add-to-cart-with-options-grouped-product-selector.js
3896
0644
edit
dl
rm
add-to-cart-with-options-quantity-selector.asset.php
207
0644
edit
dl
rm
add-to-cart-with-options-quantity-selector.js
3639
0644
edit
dl
rm
add-to-cart-with-options-variation-description-style.asset.php
201
0644
edit
dl
rm
add-to-cart-with-options-variation-description.asset.php
201
0644
edit
dl
rm
add-to-cart-with-options-variation-description.js
3504
0644
edit
dl
rm
add-to-cart-with-options-variation-selector-attribute-name-style.asset.php
218
0644
edit
dl
rm
add-to-cart-with-options-variation-selector-attribute-name.asset.php
218
0644
edit
dl
rm
add-to-cart-with-options-variation-selector-attribute-name.js
4327
0644
edit
dl
rm
add-to-cart-with-options-variation-selector-attribute-options-rtl.css
2400
0644
edit
dl
rm
add-to-cart-with-options-variation-selector-attribute-options-style.asset.php
246
0644
edit
dl
rm
add-to-cart-with-options-variation-selector-attribute-options.asset.php
246
0644
edit
dl
rm
add-to-cart-with-options-variation-selector-attribute-options.css
2399
0644
edit
dl
rm
add-to-cart-with-options-variation-selector-attribute-options.js
8181
0644
edit
dl
rm
add-to-cart-with-options-variation-selector-attribute-style.asset.php
240
0644
edit
dl
rm
add-to-cart-with-options-variation-selector-attribute.asset.php
240
0644
edit
dl
rm
add-to-cart-with-options-variation-selector-attribute.js
4559
0644
edit
dl
rm
add-to-cart-with-options-variation-selector.asset.php
201
0644
edit
dl
rm
add-to-cart-with-options-variation-selector.js
3839
0644
edit
dl
rm
add-to-cart-with-options.asset.php
339
0644
edit
dl
rm
add-to-cart-with-options.js
15176
0644
edit
dl
rm
all-products-frontend.asset.php
557
0644
edit
dl
rm
all-products-frontend.js
29958
0644
edit
dl
rm
all-products-rtl.css
26155
0644
edit
dl
rm
all-products-style.asset.php
569
0644
edit
dl
rm
all-products.asset.php
569
0644
edit
dl
rm
all-products.css
26129
0644
edit
dl
rm
all-products.js
121839
0644
edit
dl
rm
all-reviews-rtl.css
12067
0644
edit
dl
rm
all-reviews-style.asset.php
349
0644
edit
dl
rm
all-reviews.asset.php
349
0644
edit
dl
rm
all-reviews.css
12063
0644
edit
dl
rm
all-reviews.js
25861
0644
edit
dl
rm
attribute-filter-frontend.asset.php
429
0644
edit
dl
rm
attribute-filter-frontend.js
22200
0644
edit
dl
rm
attribute-filter-rtl.css
29700
0644
edit
dl
rm
attribute-filter-style.asset.php
448
0644
edit
dl
rm
attribute-filter-style.js.LICENSE.txt
121
0644
edit
dl
rm
attribute-filter-wrapper-frontend.js
18651
0644
edit
dl
rm
attribute-filter-wrapper-rtl.css
8564
0644
edit
dl
rm
attribute-filter-wrapper.css
8559
0644
edit
dl
rm
attribute-filter.asset.php
448
0644
edit
dl
rm
attribute-filter.css
29682
0644
edit
dl
rm
attribute-filter.js
35332
0644
edit
dl
rm
base-components-stock-filter-wrapper~attribute-filter-wrapper~rating-filter-wrapper-style.scss-rtl.css
20540
0644
edit
dl
rm
base-components-stock-filter-wrapper~attribute-filter-wrapper~rating-filter-wrapper-style.scss.css
20528
0644
edit
dl
rm
blocks-checkout-events.asset.php
109
0644
edit
dl
rm
blocks-checkout-events.js
1668
0644
edit
dl
rm
blocks-checkout.asset.php
500
0644
edit
dl
rm
blocks-checkout.js
2728
0644
edit
dl
rm
blocks-components.asset.php
388
0644
edit
dl
rm
blocks-components.js
2498
0644
edit
dl
rm
blocks-json.php
199417
0644
edit
dl
rm
breadcrumbs-rtl.css
218
0644
edit
dl
rm
breadcrumbs-style.asset.php
209
0644
edit
dl
rm
breadcrumbs.asset.php
209
0644
edit
dl
rm
breadcrumbs.css
217
0644
edit
dl
rm
breadcrumbs.js
3862
0644
edit
dl
rm
cart-frontend.asset.php
671
0644
edit
dl
rm
cart-frontend.js
40530
0644
edit
dl
rm
cart-link-rtl.css
1196
0644
edit
dl
rm
cart-link-style.asset.php
209
0644
edit
dl
rm
cart-link.asset.php
209
0644
edit
dl
rm
cart-link.css
1192
0644
edit
dl
rm
cart-link.js
8853
0644
edit
dl
rm
cart-rtl.css
74406
0644
edit
dl
rm
cart-style.asset.php
703
0644
edit
dl
rm
cart.asset.php
703
0644
edit
dl
rm
cart.css
74372
0644
edit
dl
rm
cart.js
152202
0644
edit
dl
rm
catalog-sorting-rtl.css
420
0644
edit
dl
rm
catalog-sorting-style.asset.php
209
0644
edit
dl
rm
catalog-sorting.asset.php
209
0644
edit
dl
rm
catalog-sorting.css
420
0644
edit
dl
rm
catalog-sorting.js
4988
0644
edit
dl
rm
category-description-style.asset.php
214
0644
edit
dl
rm
category-description.asset.php
214
0644
edit
dl
rm
category-description.js
3524
0644
edit
dl
rm
category-title-style.asset.php
245
0644
edit
dl
rm
category-title.asset.php
245
0644
edit
dl
rm
category-title.js
5749
0644
edit
dl
rm
checkout-frontend.asset.php
662
0644
edit
dl
rm
checkout-frontend.js
60150
0644
edit
dl
rm
checkout-rtl.css
164153
0644
edit
dl
rm
checkout-style.asset.php
672
0644
edit
dl
rm
checkout.asset.php
631
0644
edit
dl
rm
checkout.css
164056
0644
edit
dl
rm
checkout.js
209800
0644
edit
dl
rm
classic-shortcode-rtl.css
177
0644
edit
dl
rm
classic-shortcode-style.asset.php
243
0644
edit
dl
rm
classic-shortcode.asset.php
243
0644
edit
dl
rm
classic-shortcode.css
176
0644
edit
dl
rm
classic-shortcode.js
11354
0644
edit
dl
rm
coming-soon-rtl.css
2189
0644
edit
dl
rm
coming-soon-style.asset.php
231
0644
edit
dl
rm
coming-soon.asset.php
231
0644
edit
dl
rm
coming-soon.css
2186
0644
edit
dl
rm
coming-soon.js
6937
0644
edit
dl
rm
coupon-code-style.asset.php
231
0644
edit
dl
rm
coupon-code.asset.php
231
0644
edit
dl
rm
coupon-code.js
4377
0644
edit
dl
rm
customer-account.asset.php
224
0644
edit
dl
rm
customer-account.js
10088
0644
edit
dl
rm
dependency-detection.js
3228
0644
edit
dl
rm
email-content-style.asset.php
228
0644
edit
dl
rm
email-content.asset.php
228
0644
edit
dl
rm
email-content.js
1922
0644
edit
dl
rm
featured-category-rtl.css
5517
0644
edit
dl
rm
featured-category-style.asset.php
420
0644
edit
dl
rm
featured-category.asset.php
420
0644
edit
dl
rm
featured-category.css
5516
0644
edit
dl
rm
featured-category.js
48740
0644
edit
dl
rm
featured-product-rtl.css
5966
0644
edit
dl
rm
featured-product-style.asset.php
420
0644
edit
dl
rm
featured-product.asset.php
420
0644
edit
dl
rm
featured-product.css
5965
0644
edit
dl
rm
featured-product.js
49255
0644
edit
dl
rm
filter-wrapper-frontend.asset.php
511
0644
edit
dl
rm
filter-wrapper-frontend.js
13550
0644
edit
dl
rm
filter-wrapper-rtl.css
596
0644
edit
dl
rm
filter-wrapper-style.asset.php
530
0644
edit
dl
rm
filter-wrapper.asset.php
229
0644
edit
dl
rm
filter-wrapper.css
595
0644
edit
dl
rm
filter-wrapper.js
8349
0644
edit
dl
rm
handpicked-products-style.asset.php
336
0644
edit
dl
rm
handpicked-products.asset.php
336
0644
edit
dl
rm
handpicked-products.js
25766
0644
edit
dl
rm
interactivity-api-assets.php
358
0644
edit
dl
rm
interactivity-blocks-frontend-assets.php
10578
0644
edit
dl
rm
legacy-template-rtl.css
354
0644
edit
dl
rm
legacy-template-style.asset.php
274
0644
edit
dl
rm
legacy-template.asset.php
274
0644
edit
dl
rm
legacy-template.css
353
0644
edit
dl
rm
legacy-template.js
21744
0644
edit
dl
rm
mini-cart-component-frontend.asset.php
545
0644
edit
dl
rm
mini-cart-component-frontend.js
20948
0644
edit
dl
rm
mini-cart-contents-rtl.css
41219
0644
edit
dl
rm
mini-cart-contents-style.asset.php
551
0644
edit
dl
rm
mini-cart-contents.asset.php
532
0644
edit
dl
rm
mini-cart-contents.css
41210
0644
edit
dl
rm
mini-cart-contents.js
62881
0644
edit
dl
rm
mini-cart-frontend.asset.php
242
0644
edit
dl
rm
mini-cart-frontend.js
5965
0644
edit
dl
rm
mini-cart-rtl.css
12209
0644
edit
dl
rm
mini-cart-style.asset.php
357
0644
edit
dl
rm
mini-cart.asset.php
297
0644
edit
dl
rm
mini-cart.css
12205
0644
edit
dl
rm
mini-cart.js
19986
0644
edit
dl
rm
order-confirmation-additional-fields-rtl.css
2180
0644
edit
dl
rm
order-confirmation-additional-fields-style.asset.php
216
0644
edit
dl
rm
order-confirmation-additional-fields-wrapper-rtl.css
143
0644
edit
dl
rm
order-confirmation-additional-fields-wrapper-style.asset.php
216
0644
edit
dl
rm
order-confirmation-additional-fields-wrapper.asset.php
216
0644
edit
dl
rm
order-confirmation-additional-fields-wrapper.css
142
0644
edit
dl
rm
order-confirmation-additional-fields-wrapper.js
5063
0644
edit
dl
rm
order-confirmation-additional-fields.asset.php
216
0644
edit
dl
rm
order-confirmation-additional-fields.css
2178
0644
edit
dl
rm
order-confirmation-additional-fields.js
5263
0644
edit
dl
rm
order-confirmation-additional-information-rtl.css
265
0644
edit
dl
rm
order-confirmation-additional-information-style.asset.php
201
0644
edit
dl
rm
order-confirmation-additional-information.asset.php
201
0644
edit
dl
rm
order-confirmation-additional-information.css
264
0644
edit
dl
rm
order-confirmation-additional-information.js
3540
0644
edit
dl
rm
order-confirmation-billing-address-rtl.css
1926
0644
edit
dl
rm
order-confirmation-billing-address-style.asset.php
216
0644
edit
dl
rm
order-confirmation-billing-address.asset.php
216
0644
edit
dl
rm
order-confirmation-billing-address.css
1924
0644
edit
dl
rm
order-confirmation-billing-address.js
5759
0644
edit
dl
rm
order-confirmation-billing-wrapper-style.asset.php
201
0644
edit
dl
rm
order-confirmation-billing-wrapper.asset.php
201
0644
edit
dl
rm
order-confirmation-billing-wrapper.js
3347
0644
edit
dl
rm
order-confirmation-create-account-frontend.asset.php
270
0644
edit
dl
rm
order-confirmation-create-account-frontend.js
12303
0644
edit
dl
rm
order-confirmation-create-account-rtl.css
9192
0644
edit
dl
rm
order-confirmation-create-account-style.asset.php
306
0644
edit
dl
rm
order-confirmation-create-account.asset.php
306
0644
edit
dl
rm
order-confirmation-create-account.css
9188
0644
edit
dl
rm
order-confirmation-create-account.js
12857
0644
edit
dl
rm
order-confirmation-downloads-rtl.css
1684
0644
edit
dl
rm
order-confirmation-downloads-style.asset.php
218
0644
edit
dl
rm
order-confirmation-downloads-wrapper-style.asset.php
216
0644
edit
dl
rm
order-confirmation-downloads-wrapper.asset.php
216
0644
edit
dl
rm
order-confirmation-downloads-wrapper.js
3566
0644
edit
dl
rm
order-confirmation-downloads.asset.php
218
0644
edit
dl
rm
order-confirmation-downloads.css
1683
0644
edit
dl
rm
order-confirmation-downloads.js
5556
0644
edit
dl
rm
order-confirmation-shipping-address-rtl.css
2496
0644
edit
dl
rm
order-confirmation-shipping-address-style.asset.php
216
0644
edit
dl
rm
order-confirmation-shipping-address.asset.php
216
0644
edit
dl
rm
order-confirmation-shipping-address.css
2494
0644
edit
dl
rm
order-confirmation-shipping-address.js
5766
0644
edit
dl
rm
order-confirmation-shipping-wrapper-style.asset.php
201
0644
edit
dl
rm
order-confirmation-shipping-wrapper.asset.php
201
0644
edit
dl
rm
order-confirmation-shipping-wrapper.js
3374
0644
edit
dl
rm
order-confirmation-status-rtl.css
887
0644
edit
dl
rm
order-confirmation-status-style.asset.php
201
0644
edit
dl
rm
order-confirmation-status.asset.php
201
0644
edit
dl
rm
order-confirmation-status.css
887
0644
edit
dl
rm
order-confirmation-status.js
3759
0644
edit
dl
rm
order-confirmation-summary-rtl.css
976
0644
edit
dl
rm
order-confirmation-summary-style.asset.php
263
0644
edit
dl
rm
order-confirmation-summary.asset.php
263
0644
edit
dl
rm
order-confirmation-summary.css
975
0644
edit
dl
rm
order-confirmation-summary.js
5620
0644
edit
dl
rm
order-confirmation-totals-rtl.css
2119
0644
edit
dl
rm
order-confirmation-totals-style.asset.php
228
0644
edit
dl
rm
order-confirmation-totals-wrapper-style.asset.php
192
0644
edit
dl
rm
order-confirmation-totals-wrapper.asset.php
192
0644
edit
dl
rm
order-confirmation-totals-wrapper.js
3994
0644
edit
dl
rm
order-confirmation-totals.asset.php
228
0644
edit
dl
rm
order-confirmation-totals.css
2117
0644
edit
dl
rm
order-confirmation-totals.js
6360
0644
edit
dl
rm
packages-style-rtl.css
47383
0644
edit
dl
rm
packages-style-style.asset.php
436
0644
edit
dl
rm
packages-style-style.js.LICENSE.txt
1509
0644
edit
dl
rm
packages-style.css
47349
0644
edit
dl
rm
page-content-wrapper-style.asset.php
216
0644
edit
dl
rm
page-content-wrapper.asset.php
216
0644
edit
dl
rm
page-content-wrapper.js
4967
0644
edit
dl
rm
payment-method-icons-rtl.css
528
0644
edit
dl
rm
payment-method-icons-style.asset.php
178
0644
edit
dl
rm
payment-method-icons.asset.php
178
0644
edit
dl
rm
payment-method-icons.css
527
0644
edit
dl
rm
payment-method-icons.js
2421
0644
edit
dl
rm
price-filter-frontend.asset.php
320
0644
edit
dl
rm
price-filter-frontend.js
21370
0644
edit
dl
rm
price-filter-rtl.css
18162
0644
edit
dl
rm
price-filter-style.asset.php
370
0644
edit
dl
rm
price-filter-wrapper-frontend.js
17373
0644
edit
dl
rm
price-filter-wrapper-rtl.css
17566
0644
edit
dl
rm
price-filter-wrapper.css
17542
0644
edit
dl
rm
price-filter.asset.php
370
0644
edit
dl
rm
price-filter.css
18137
0644
edit
dl
rm
price-filter.js
23478
0644
edit
dl
rm
price-format.asset.php
112
0644
edit
dl
rm
price-format.js
1629
0644
edit
dl
rm
product-average-rating-frontend.js
2356
0644
edit
dl
rm
product-average-rating.js
2533
0644
edit
dl
rm
product-best-sellers-style.asset.php
336
0644
edit
dl
rm
product-best-sellers.asset.php
336
0644
edit
dl
rm
product-best-sellers.js
25560
0644
edit
dl
rm
product-button-frontend.js
13616
0644
edit
dl
rm
product-button-rtl.css
3936
0644
edit
dl
rm
product-button.css
3934
0644
edit
dl
rm
product-button.js
15222
0644
edit
dl
rm
product-categories-rtl.css
1820
0644
edit
dl
rm
product-categories-style.asset.php
254
0644
edit
dl
rm
product-categories.asset.php
254
0644
edit
dl
rm
product-categories.css
1819
0644
edit
dl
rm
product-categories.js
7479
0644
edit
dl
rm
product-category-style.asset.php
336
0644
edit
dl
rm
product-category.asset.php
336
0644
edit
dl
rm
product-category.js
29528
0644
edit
dl
rm
product-collection-no-results-style.asset.php
187
0644
edit
dl
rm
product-collection-no-results.asset.php
187
0644
edit
dl
rm
product-collection-no-results.js
3805
0644
edit
dl
rm
product-collection.asset.php
467
0644
edit
dl
rm
product-collection.js
106736
0644
edit
dl
rm
product-description-style.asset.php
230
0644
edit
dl
rm
product-description.asset.php
230
0644
edit
dl
rm
product-description.js
7347
0644
edit
dl
rm
product-details-rtl.css
2276
0644
edit
dl
rm
product-details-style.asset.php
277
0644
edit
dl
rm
product-details.asset.php
277
0644
edit
dl
rm
product-details.css
2273
0644
edit
dl
rm
product-details.js
10952
0644
edit
dl
rm
product-filter-active.asset.php
178
0644
edit
dl
rm
product-filter-active.js
2918
0644
edit
dl
rm
product-filter-attribute-rtl.css
1166
0644
edit
dl
rm
product-filter-attribute-style.asset.php
303
0644
edit
dl
rm
product-filter-attribute.asset.php
303
0644
edit
dl
rm
product-filter-attribute.css
1164
0644
edit
dl
rm
product-filter-attribute.js
18446
0644
edit
dl
rm
product-filter-checkbox-list.asset.php
209
0644
edit
dl
rm
product-filter-checkbox-list.js
8873
0644
edit
dl
rm
product-filter-chips.asset.php
192
0644
edit
dl
rm
product-filter-chips.js
8589
0644
edit
dl
rm
product-filter-clear-button-rtl.css
156
0644
edit
dl
rm
product-filter-clear-button-style.asset.php
187
0644
edit
dl
rm
product-filter-clear-button.asset.php
187
0644
edit
dl
rm
product-filter-clear-button.css
155
0644
edit
dl
rm
product-filter-clear-button.js
3287
0644
edit
dl
rm
product-filter-price-slider.asset.php
223
0644
edit
dl
rm
product-filter-price-slider.js
7416
0644
edit
dl
rm
product-filter-price.asset.php
290
0644
edit
dl
rm
product-filter-price.js
9242
0644
edit
dl
rm
product-filter-rating-rtl.css
872
0644
edit
dl
rm
product-filter-rating-style.asset.php
313
0644
edit
dl
rm
product-filter-rating.asset.php
313
0644
edit
dl
rm
product-filter-rating.css
870
0644
edit
dl
rm
product-filter-rating.js
12563
0644
edit
dl
rm
product-filter-removable-chips-style.asset.php
242
0644
edit
dl
rm
product-filter-removable-chips.asset.php
242
0644
edit
dl
rm
product-filter-removable-chips.js
7130
0644
edit
dl
rm
product-filter-status-rtl.css
948
0644
edit
dl
rm
product-filter-status-style.asset.php
303
0644
edit
dl
rm
product-filter-status.asset.php
303
0644
edit
dl
rm
product-filter-status.css
946
0644
edit
dl
rm
product-filter-status.js
11385
0644
edit
dl
rm
product-filter-taxonomy-rtl.css
872
0644
edit
dl
rm
product-filter-taxonomy-style.asset.php
319
0644
edit
dl
rm
product-filter-taxonomy.asset.php
319
0644
edit
dl
rm
product-filter-taxonomy.css
870
0644
edit
dl
rm
product-filter-taxonomy.js
16387
0644
edit
dl
rm
product-filters.asset.php
201
0644
edit
dl
rm
product-filters.js
6355
0644
edit
dl
rm
product-gallery-large-image-next-previous-style.asset.php
161
0644
edit
dl
rm
product-gallery-large-image-next-previous.asset.php
161
0644
edit
dl
rm
product-gallery-large-image-next-previous.js
5577
0644
edit
dl
rm
product-gallery-large-image.asset.php
150
0644
edit
dl
rm
product-gallery-large-image.js
2086
0644
edit
dl
rm
product-gallery-thumbnails-style.asset.php
234
0644
edit
dl
rm
product-gallery-thumbnails.asset.php
234
0644
edit
dl
rm
product-gallery-thumbnails.js
8582
0644
edit
dl
rm
product-gallery.asset.php
239
0644
edit
dl
rm
product-gallery.js
6348
0644
edit
dl
rm
product-image-frontend.js
6054
0644
edit
dl
rm
product-image-gallery-rtl.css
471
0644
edit
dl
rm
product-image-gallery-style.asset.php
269
0644
edit
dl
rm
product-image-gallery.css
470
0644
edit
dl
rm
product-image-rtl.css
4038
0644
edit
dl
rm
product-image.css
4036
0644
edit
dl
rm
product-image.js
7819
0644
edit
dl
rm
product-new-style.asset.php
336
0644
edit
dl
rm
product-new.asset.php
336
0644
edit
dl
rm
product-new.js
27690
0644
edit
dl
rm
product-on-sale-style.asset.php
336
0644
edit
dl
rm
product-on-sale.asset.php
336
0644
edit
dl
rm
product-on-sale.js
27589
0644
edit
dl
rm
product-price-frontend.js
6362
0644
edit
dl
rm
product-price-rtl.css
1779
0644
edit
dl
rm
product-price.css
1776
0644
edit
dl
rm
product-price.js
6652
0644
edit
dl
rm
product-query-rtl.css
507
0644
edit
dl
rm
product-query-style.asset.php
359
0644
edit
dl
rm
product-query.asset.php
359
0644
edit
dl
rm
product-query.css
505
0644
edit
dl
rm
product-query.js
37937
0644
edit
dl
rm
product-rating-counter-frontend.js
3174
0644
edit
dl
rm
product-rating-counter.js
3350
0644
edit
dl
rm
product-rating-frontend.js
5191
0644
edit
dl
rm
product-rating-rtl.css
280
0644
edit
dl
rm
product-rating-stars-frontend.js
5097
0644
edit
dl
rm
product-rating-stars-rtl.css
2967
0644
edit
dl
rm
product-rating-stars.css
2964
0644
edit
dl
rm
product-rating-stars.js
5299
0644
edit
dl
rm
product-rating.css
279
0644
edit
dl
rm
product-rating.js
5392
0644
edit
dl
rm
product-results-count-rtl.css
175
0644
edit
dl
rm
product-results-count-style.asset.php
192
0644
edit
dl
rm
product-results-count.asset.php
192
0644
edit
dl
rm
product-results-count.css
174
0644
edit
dl
rm
product-results-count.js
3779
0644
edit
dl
rm
product-review-author-name-rtl.css
135
0644
edit
dl
rm
product-review-author-name-style.asset.php
231
0644
edit
dl
rm
product-review-author-name.asset.php
231
0644
edit
dl
rm
product-review-author-name.css
134
0644
edit
dl
rm
product-review-author-name.js
3600
0644
edit
dl
rm
product-review-content-rtl.css
206
0644
edit
dl
rm
product-review-content-style.asset.php
234
0644
edit
dl
rm
product-review-content.asset.php
234
0644
edit
dl
rm
product-review-content.css
205
0644
edit
dl
rm
product-review-content.js
4083
0644
edit
dl
rm
product-review-date-rtl.css
128
0644
edit
dl
rm
product-review-date-style.asset.php
231
0644
edit
dl
rm
product-review-date.asset.php
231
0644
edit
dl
rm
product-review-date.css
127
0644
edit
dl
rm
product-review-date.js
4461
0644
edit
dl
rm
product-review-form.asset.php
262
0644
edit
dl
rm
product-review-form.js
5972
0644
edit
dl
rm
product-review-rating-style.asset.php
215
0644
edit
dl
rm
product-review-rating.asset.php
215
0644
edit
dl
rm
product-review-rating.js
3883
0644
edit
dl
rm
product-review-template-rtl.css
611
0644
edit
dl
rm
product-review-template-style.asset.php
271
0644
edit
dl
rm
product-review-template.asset.php
271
0644
edit
dl
rm
product-review-template.css
609
0644
edit
dl
rm
product-review-template.js
5855
0644
edit
dl
rm
product-reviews-pagination-next-style.asset.php
187
0644
edit
dl
rm
product-reviews-pagination-next.asset.php
187
0644
edit
dl
rm
product-reviews-pagination-next.js
3750
0644
edit
dl
rm
product-reviews-pagination-numbers-style.asset.php
176
0644
edit
dl
rm
product-reviews-pagination-numbers.asset.php
176
0644
edit
dl
rm
product-reviews-pagination-numbers.js
3629
0644
edit
dl
rm
product-reviews-pagination-previous-style.asset.php
187
0644
edit
dl
rm
product-reviews-pagination-previous.asset.php
187
0644
edit
dl
rm
product-reviews-pagination-previous.js
3774
0644
edit
dl
rm
product-reviews-pagination-rtl.css
1486
0644
edit
dl
rm
product-reviews-pagination-style.asset.php
215
0644
edit
dl
rm
product-reviews-pagination.asset.php
215
0644
edit
dl
rm
product-reviews-pagination.css
1487
0644
edit
dl
rm
product-reviews-pagination.js
5547
0644
edit
dl
rm
product-reviews-title-rtl.css
139
0644
edit
dl
rm
product-reviews-title-style.asset.php
262
0644
edit
dl
rm
product-reviews-title.asset.php
262
0644
edit
dl
rm
product-reviews-title.css
138
0644
edit
dl
rm
product-reviews-title.js
5851
0644
edit
dl
rm
product-reviews.asset.php
214
0644
edit
dl
rm
product-reviews.js
7128
0644
edit
dl
rm
product-sale-badge-frontend.js
2657
0644
edit
dl
rm
product-sale-badge-rtl.css
733
0644
edit
dl
rm
product-sale-badge.css
732
0644
edit
dl
rm
product-sale-badge.js
2859
0644
edit
dl
rm
product-search-rtl.css
1021
0644
edit
dl
rm
product-search-style.asset.php
256
0644
edit
dl
rm
product-search.asset.php
256
0644
edit
dl
rm
product-search.css
1019
0644
edit
dl
rm
product-search.js
7846
0644
edit
dl
rm
product-sku-frontend.js
3256
0644
edit
dl
rm
product-sku-rtl.css
375
0644
edit
dl
rm
product-sku.css
374
0644
edit
dl
rm
product-sku.js
3458
0644
edit
dl
rm
product-specifications-rtl.css
134
0644
edit
dl
rm
product-specifications-style.asset.php
248
0644
edit
dl
rm
product-specifications.asset.php
248
0644
edit
dl
rm
product-specifications.css
132
0644
edit
dl
rm
product-specifications.js
9524
0644
edit
dl
rm
product-stock-indicator-frontend.js
4652
0644
edit
dl
rm
product-stock-indicator-rtl.css
173
0644
edit
dl
rm
product-stock-indicator.css
172
0644
edit
dl
rm
product-stock-indicator.js
5146
0644
edit
dl
rm
product-summary-frontend.js
4572
0644
edit
dl
rm
product-summary-rtl.css
1474
0644
edit
dl
rm
product-summary.css
1472
0644
edit
dl
rm
product-summary.js
4774
0644
edit
dl
rm
product-tag-style.asset.php
330
0644
edit
dl
rm
product-tag.asset.php
330
0644
edit
dl
rm
product-tag.js
27372
0644
edit
dl
rm
product-template-style.asset.php
314
0644
edit
dl
rm
product-template.asset.php
314
0644
edit
dl
rm
product-template.js
16039
0644
edit
dl
rm
product-title-frontend.js
3563
0644
edit
dl
rm
product-title-rtl.css
1698
0644
edit
dl
rm
product-title.css
1695
0644
edit
dl
rm
product-title.js
4174
0644
edit
dl
rm
product-top-rated-style.asset.php
336
0644
edit
dl
rm
product-top-rated.asset.php
336
0644
edit
dl
rm
product-top-rated.js
27101
0644
edit
dl
rm
products-by-attribute-style.asset.php
359
0644
edit
dl
rm
products-by-attribute.asset.php
359
0644
edit
dl
rm
products-by-attribute.js
29072
0644
edit
dl
rm
rating-filter-frontend.asset.php
409
0644
edit
dl
rm
rating-filter-frontend.js
18867
0644
edit
dl
rm
rating-filter-rtl.css
30587
0644
edit
dl
rm
rating-filter-style.asset.php
428
0644
edit
dl
rm
rating-filter-style.js.LICENSE.txt
121
0644
edit
dl
rm
rating-filter-wrapper-frontend.js
14536
0644
edit
dl
rm
rating-filter-wrapper-rtl.css
9451
0644
edit
dl
rm
rating-filter-wrapper.css
9444
0644
edit
dl
rm
rating-filter.asset.php
428
0644
edit
dl
rm
rating-filter.css
30567
0644
edit
dl
rm
rating-filter.js
18466
0644
edit
dl
rm
reviews-by-category-rtl.css
12067
0644
edit
dl
rm
reviews-by-category-style.asset.php
373
0644
edit
dl
rm
reviews-by-category.asset.php
373
0644
edit
dl
rm
reviews-by-category.css
12063
0644
edit
dl
rm
reviews-by-category.js
39478
0644
edit
dl
rm
reviews-by-product-rtl.css
12067
0644
edit
dl
rm
reviews-by-product-style.asset.php
385
0644
edit
dl
rm
reviews-by-product.asset.php
385
0644
edit
dl
rm
reviews-by-product.css
12063
0644
edit
dl
rm
reviews-by-product.js
44293
0644
edit
dl
rm
reviews-frontend.asset.php
297
0644
edit
dl
rm
reviews-frontend.js
21682
0644
edit
dl
rm
single-product-rtl.css
596
0644
edit
dl
rm
single-product-style.asset.php
590
0644
edit
dl
rm
single-product.asset.php
590
0644
edit
dl
rm
single-product.css
595
0644
edit
dl
rm
single-product.js
35887
0644
edit
dl
rm
stock-filter-frontend.asset.php
429
0644
edit
dl
rm
stock-filter-frontend.js
19363
0644
edit
dl
rm
stock-filter-rtl.css
28552
0644
edit
dl
rm
stock-filter-style.asset.php
448
0644
edit
dl
rm
stock-filter-style.js.LICENSE.txt
121
0644
edit
dl
rm
stock-filter-wrapper-frontend.js
15186
0644
edit
dl
rm
stock-filter-wrapper-rtl.css
7416
0644
edit
dl
rm
stock-filter-wrapper.css
7411
0644
edit
dl
rm
stock-filter.asset.php
448
0644
edit
dl
rm
stock-filter.css
28534
0644
edit
dl
rm
stock-filter.js
19418
0644
edit
dl
rm
store-notices-rtl.css
6116
0644
edit
dl
rm
store-notices-style.asset.php
212
0644
edit
dl
rm
store-notices.asset.php
212
0644
edit
dl
rm
store-notices.css
6115
0644
edit
dl
rm
store-notices.js
5625
0644
edit
dl
rm
wc-blocks-data.asset.php
353
0644
edit
dl
rm
wc-blocks-data.js
85916
0644
edit
dl
rm
wc-blocks-editor-style-rtl.css
53608
0644
edit
dl
rm
wc-blocks-editor-style.css
53538
0644
edit
dl
rm
wc-blocks-frontend-vendors-frontend.asset.php
97
0644
edit
dl
rm
wc-blocks-frontend-vendors-frontend.js
92500
0644
edit
dl
rm
wc-blocks-google-analytics.asset.php
120
0644
edit
dl
rm
wc-blocks-google-analytics.js
3114
0644
edit
dl
rm
wc-blocks-middleware.asset.php
123
0644
edit
dl
rm
wc-blocks-middleware.js
1574
0644
edit
dl
rm
wc-blocks-registry.asset.php
187
0644
edit
dl
rm
wc-blocks-registry.js
18324
0644
edit
dl
rm
wc-blocks-rtl.css
14009
0644
edit
dl
rm
wc-blocks-shared-context.asset.php
132
0644
edit
dl
rm
wc-blocks-shared-context.js
2420
0644
edit
dl
rm
wc-blocks-shared-hocs.asset.php
230
0644
edit
dl
rm
wc-blocks-shared-hocs.js
3232
0644
edit
dl
rm
wc-blocks-style.asset.php
171
0644
edit
dl
rm
wc-blocks-vendors.asset.php
97
0644
edit
dl
rm
wc-blocks-vendors.js
103343
0644
edit
dl
rm
wc-blocks.asset.php
171
0644
edit
dl
rm
wc-blocks.css
14006
0644
edit
dl
rm
wc-blocks.js
1544
0644
edit
dl
rm
wc-cart-checkout-base-frontend.asset.php
97
0644
edit
dl
rm
wc-cart-checkout-base-frontend.js
219020
0644
edit
dl
rm
wc-cart-checkout-vendors-frontend.asset.php
97
0644
edit
dl
rm
wc-cart-checkout-vendors-frontend.js
129155
0644
edit
dl
rm
wc-entities.asset.php
150
0644
edit
dl
rm
wc-entities.js
1353
0644
edit
dl
rm
wc-payment-method-bacs.asset.php
215
0644
edit
dl
rm
wc-payment-method-bacs.js
654
0644
edit
dl
rm
wc-payment-method-cheque.asset.php
215
0644
edit
dl
rm
wc-payment-method-cheque.js
651
0644
edit
dl
rm
wc-payment-method-cod.asset.php
215
0644
edit
dl
rm
wc-payment-method-cod.js
887
0644
edit
dl
rm
wc-payment-method-paypal.asset.php
251
0644
edit
dl
rm
wc-payment-method-paypal.js
4694
0644
edit
dl
rm
wc-schema-parser.asset.php
97
0644
edit
dl
rm
wc-schema-parser.js
129853
0644
edit
dl
rm
wc-settings.asset.php
121
0644
edit
dl
rm
wc-settings.js
6430
0644
edit
dl
rm
wc-shipping-method-pickup-location.asset.php
277
0644
edit
dl
rm
wc-shipping-method-pickup-location.js
84688
0644
edit
dl
rm
wc-types.asset.php
97
0644
edit
dl
rm
wc-types.js
4223
0644
edit
dl
rm
Edit:
/home/techb158/balacoffee.com/wp-content/plugins/woocommerce/assets/client/blocks/all-products.js
(121839B)
(()=>{var e,t,o,r,s,c={4514:(e,t,o)=>{"use strict";o.r(t),o.d(t,{Block:()=>l,default:()=>d});var r=o(4921),s=o(415),c=o(371),n=o(7723),i=o(1616),a=o(790);const l=e=>{const{textAlign:t}=e,o=(0,c.p)(e),{product:i}=(0,s.useProductDataContext)(),l=(0,r.A)(o.className,"wc-block-components-product-average-rating",{[`has-text-align-${t}`]:t});return(0,a.jsx)("div",{className:l,style:o.style,children:Number(i.average_rating)>0?i.average_rating:(0,n.__)("No ratings","woocommerce")})},d=(0,i.withProductDataContext)(l)},595:(e,t,o)=>{"use strict";o.r(t),o.d(t,{Block:()=>y,default:()=>f});var r=o(6087),s=o(4921),c=o(7723),n=o(7052),i=o(1057),a=o(371),l=o(8537),d=o(8331),u=o(5703),p=o(415),m=o(1616),g=(o(7316),o(2281)),h=o(790);const w=({product:e,isDescendantOfAddToCartWithOptions:t,collection:o})=>{const r="woocommerce/product-collection/cart-contents"===o,n="external"===e.type,i=n?e.button_text:e.add_to_cart?.single_text;let a;return a=r?(0,c.__)("Finish checkout","woocommerce"):t?i:e.add_to_cart?.text,(0,h.jsx)("button",{disabled:!1,className:(0,s.A)("wp-block-button__link","wp-element-button","add_to_cart_button","wc-block-components-product-button__button"),style:{},children:n?e.button_text:a||(0,c.__)("Add to cart","woocommerce")})},_=({product:e,isDescendantOfAddToCartWithOptions:t,className:o,style:r,collection:a})=>{const{id:p,permalink:m,add_to_cart:g,has_options:w,is_purchasable:_,is_in_stock:x}=e,{dispatchStoreEvent:b}=(0,n.y)(),{cartQuantity:y,addingToCart:f,addToCart:k}=(0,i.R)(p),v=Number.isFinite(y)&&y>0,j="woocommerce/product-collection/cart-contents"===a,S=!w&&_&&x,C=(0,l.decodeEntities)(g?.description||""),N=j?(0,c.__)("Finish checkout","woocommerce"):(({cartQuantity:e,productCartDetails:t,isDescendantOfAddToCartWithOptions:o})=>Number.isFinite(e)&&e>0?(0,c.sprintf)(/* translators: %s number of products in cart. */ /* translators: %s number of products in cart. */ (0,c._n)("%d in cart","%d in cart",e,"woocommerce"),e):o&&t?.single_text?t?.single_text:t?.text||(0,c.__)("Add to cart","woocommerce"))({cartQuantity:y,productCartDetails:g,isDescendantOfAddToCartWithOptions:t}),E=S&&!j?"button":"a",P={};return j?(P.href=d.Vo,P.rel="nofollow",P.onClick=()=>{b("cart-view-link",{product:e})}):S?P.onClick=async()=>{await k(),b("cart-add-item",{product:e});const{cartRedirectAfterAdd:t}=(0,u.getSetting)("productsSettings");t&&(window.location.href=d.Vo)}:(P.href=m,P.rel="nofollow",P.onClick=()=>{b("product-view-link",{product:e})}),(0,h.jsx)(E,{...P,"aria-label":C,disabled:f,className:(0,s.A)(o,"wp-block-button__link","wp-element-button","add_to_cart_button","wc-block-components-product-button__button",{loading:f,added:v}),style:r,children:N})},x=({className:e,style:t})=>(0,h.jsx)("button",{className:(0,s.A)("wp-block-button__link","wp-element-button","add_to_cart_button","wc-block-components-product-button__button","wc-block-components-product-button__button--placeholder",e),style:t,disabled:!0,children:(0,c.__)("Add to cart","woocommerce")}),b=({className:e,style:t,blockClientId:o,collection:n})=>{const{current:i,registerListener:a,unregisterListener:l}=(0,g.A)();let d;return(0,r.useEffect)((()=>{if(o)return a(o),()=>{l(o)}}),[o,a,l]),d="woocommerce/product-collection/cart-contents"===n?(0,c.__)("Finish checkout","woocommerce"):"external"===i?.slug?(0,c.__)("Buy product","woocommerce"):(0,c.__)("Add to cart","woocommerce"),(0,h.jsx)("button",{className:(0,s.A)("wp-block-button__link","wp-element-button","add_to_cart_button","wc-block-components-product-button__button",e),style:t,disabled:!0,children:d})},y=e=>{const{className:t,textAlign:o,blockClientId:r,collection:c}=e,n=(0,a.p)(e),{parentClassName:i}=(0,p.useInnerBlockLayoutContext)(),{product:l,isLoading:u}=(0,p.useProductDataContext)({product:e.product,isAdmin:e.isAdmin}),m=l?.id&&e.isAdmin&&(0,d.Sc)();return(0,h.jsx)("div",{className:(0,s.A)(t,"wp-block-button","wc-block-components-product-button",{[`${i}__product-add-to-cart`]:i,[`align-${o}`]:o}),children:u?(0,h.jsx)(x,{className:n.className,style:n.style}):(0,h.jsxs)(h.Fragment,{children:[m&&(0,h.jsx)(w,{product:l,isDescendantOfAddToCartWithOptions:e["woocommerce/isDescendantOfAddToCartWithOptions"],collection:c}),!m&&(l&&l?.id?(0,h.jsx)(_,{product:l,style:n.style,className:n.className,isAdmin:e.isAdmin,isDescendantOfAddToCartWithOptions:e["woocommerce/isDescendantOfAddToCartWithOptions"],productEntity:e.product,collection:c}):(0,h.jsx)(b,{style:n.style,className:n.className,isLoading:u??!1,blockClientId:r,collection:c}))]})})},f=(0,m.withProductDataContext)(y)},3104:(e,t,o)=>{"use strict";o.d(t,{A:()=>f});var r=o(6087),s=o(7723),c=o(4921),n=o(5703),i=o(415),a=o(371),l=o(1616),d=o(7052),u=o(8537),p=o(3993),m=o(3848),g=(o(1189),o(4264)),h=o(6724),w=o(790);const _=e=>{const{aspectRatio:t,height:o,width:r,scale:s}=e;return{height:o,width:r,objectFit:s,aspectRatio:t}},x=e=>{const{showFullSize:t,...o}=e,r=t?(0,n.getSetting)("placeholderImgSrcFullSize",n.PLACEHOLDER_IMG_SRC):n.PLACEHOLDER_IMG_SRC;return(0,w.jsx)("img",{...o,src:r,alt:"",width:void 0,height:void 0})},b=({image:e,loaded:t,showFullSize:o,fallbackAlt:r,width:s,scale:c,height:n,aspectRatio:i})=>{const{thumbnail:a,src:l,srcset:d,sizes:u,alt:p}=e||{},m={alt:p||r,hidden:!t,src:o?l:a,...o&&{srcSet:d,sizes:u}},g=_({height:n,width:s,scale:c,aspectRatio:i});return e?(0,w.jsx)("img",{style:g,"data-testid":"product-image",...m}):(0,w.jsx)(x,{showFullSize:o,style:g})},y=e=>{const{product:t}=e;return!(0,p.isEmpty)(t)&&(0,h.S)(e.showSaleBadge)},f=(0,l.withProductDataContext)((e=>{const{aspectRatio:t,children:o,className:n,height:l,imageId:h,imageSizing:f=g.e.SINGLE,scale:k,showProductLink:v=!0,style:j,width:S,isAdmin:C,product:N,isResolving:E,...P}=e,A=(0,a.p)(e),{parentClassName:T}=(0,i.useInnerBlockLayoutContext)(),{product:B,isLoading:I}=(0,i.useProductDataContext)({isAdmin:C,product:N,isResolving:E}),{dispatchStoreEvent:O}=(0,d.y)(),D=f!==g.e.THUMBNAIL,L=(0,p.objectHasProp)(j,"dimensions")&&(0,p.objectHasProp)(j.dimensions,"aspectRatio")&&(0,p.isString)(j.dimensions.aspectRatio)?j.dimensions.aspectRatio:t,R=`wc-block-components-product-image--aspect-ratio-${L?L.replace("/","-"):"auto"}`;if(!B?.id){const e=_({height:l,width:S,scale:k,aspectRatio:L});return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("div",{className:(0,c.A)(n,"wc-block-components-product-image",R,{[`${T}__product-image`]:T},A.className),style:A.style,children:(0,w.jsx)(x,{showFullSize:D,style:e})}),o]})}const F=((e,t)=>e.images.length?t&&e.images.find((e=>e.id===t))||e.images[0]:null)(B,h);F&&(F.alt=F.alt||(0,u.decodeEntities)(B.name));const z=v?"a":r.Fragment,M=B?.name? // translators: %s is the product name. // translators: %s is the product name. (0,s.sprintf)((0,s.__)("Link to %s","woocommerce"),B.name):"",V={href:v?B?.permalink:void 0,...v&&{"aria-label":M,onClick:()=>{O("product-view-link",{product:B})}}};return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsxs)("div",{className:(0,c.A)(n,"wc-block-components-product-image",R,{[`${T}__product-image`]:T},A.className),style:A.style,children:[y(e)&&(0,w.jsx)(m.default,{align:e.saleBadgeAlign||"right",...P}),(0,w.jsx)(z,{...!C&&v&&V,children:(0,w.jsx)(b,{fallbackAlt:(0,u.decodeEntities)(B.name),image:F,loaded:!I,showFullSize:D,width:S,height:l,scale:k,aspectRatio:L})})]}),o]})}))},4264:(e,t,o)=>{"use strict";o.d(t,{e:()=>r});let r=function(e){return e.SINGLE="single",e.THUMBNAIL="thumbnail",e}({})},6724:(e,t,o)=>{"use strict";o.d(t,{S:()=>r});const r=e=>void 0===e||e},1308:(e,t,o)=>{"use strict";o.r(t),o.d(t,{Block:()=>p,convertAdminPriceToStoreApiFormat:()=>u,default:()=>m});var r=o(4921),s=o(6711),c=o(910),n=o(415),i=o(371),a=o(1616),l=o(5703),d=o(790);const u=(e,t,o="0")=>{const r=10**t.minorUnit;return Math.round(Number.parseFloat(e??o)*r).toString()},p=e=>{const{className:t,textAlign:o,isDescendentOfSingleProductTemplate:a,isAdmin:p,product:m,isExperimentalWcRestApiV4Enabled:g}=e,{parentName:h,parentClassName:w}=(0,n.useInnerBlockLayoutContext)(),{product:_}=(0,n.useProductDataContext)(g?{isAdmin:p,product:m}:void 0),x="woocommerce/all-products"===h,b="woocommerce/add-to-cart-with-options-grouped-product-item"===h,y=(0,i.p)(e);let f={className:"",style:{}};x&&(f=y);const k=a&&!b||!_,v=(0,r.A)("wc-block-components-product-price",t,f.className,{[`${w}__product-price`]:w});if(!_?.id&&!a){const e=(0,d.jsx)(s.A,{align:o,className:v});return x?(0,d.jsx)("div",{className:"wp-block-woocommerce-product-price",children:e}):e}let j=_?.prices??{};const S=k?(0,c.getCurrencyFromPriceResponse)():(0,c.getCurrencyFromPriceResponse)(j);g&&(j={price:u(_?.price,S),..._?.sale_price?{sale_price:u(_?.sale_price,S)}:{},..._?.regular_price?{regular_price:u(_?.regular_price,S)}:{},currency_minor_unit:l.SITE_CURRENCY.minorUnit,price_range:_?.max_price&&_?.min_price?{min_amount:u(_.min_price,S),max_amount:u(_.max_price,S)}:null});const C="5000",N=j.price!==j.regular_price,E=(0,r.A)({[`${w}__product-price__value`]:w,[`${w}__product-price__value--on-sale`]:N}),P=(0,d.jsx)(s.A,{align:o,className:v,style:f.style,regularPriceStyle:f.style,priceStyle:f.style,priceClassName:E,currency:S,price:k?C:j.price,minPrice:j?.price_range?.min_amount,maxPrice:j?.price_range?.max_amount,regularPrice:k?C:j.regular_price,regularPriceClassName:(0,r.A)({[`${w}__product-price__regular`]:w})});return x?(0,d.jsx)("div",{className:"wp-block-woocommerce-product-price",children:P}):P},m=e=>e.isDescendentOfSingleProductTemplate?(0,d.jsx)(p,{...e}):(0,a.withProductDataContext)(p)(e)},9147:(e,t,o)=>{"use strict";o.r(t),o.d(t,{Block:()=>p,default:()=>m});var r=o(7723),s=o(4921),c=o(415),n=o(371),i=o(1616),a=o(3993),l=o(6427),d=o(790);const u=e=>{const{reviews:t}=e,o=t?(0,r.sprintf)(/* translators: %s is referring to the total of reviews for a product */ /* translators: %s is referring to the total of reviews for a product */ (0,r._n)("(%s customer review)","(%s customer reviews)",t,"woocommerce"),t):(0,r.__)("(X customer reviews)","woocommerce");return(0,d.jsx)("span",{className:"wc-block-components-product-rating-counter__reviews_count",children:(0,d.jsx)(l.Disabled,{children:(0,d.jsx)("a",{href:"/",children:o})})})},p=e=>{const{textAlign:t,shouldDisplayMockedReviewsWhenProductHasNoReviews:o}=e,r=(0,n.p)(e),{parentClassName:i}=(0,c.useInnerBlockLayoutContext)(),{product:l}=(0,c.useProductDataContext)(),p=(e=>{const t=(0,a.isNumber)(e.review_count)?e.review_count:parseInt(e.review_count,10);return Number.isFinite(t)&&t>0?t:0})(l),m=(0,s.A)(r.className,"wc-block-components-product-rating-counter",{[`${i}__product-rating`]:i,[`has-text-align-${t}`]:t});if(p||o)return(0,d.jsx)("div",{className:m,style:r.style,children:(0,d.jsx)("div",{className:"wc-block-components-product-rating-counter__container",children:(0,d.jsx)(u,{reviews:p})})})},m=(0,i.withProductDataContext)(p)},7220:(e,t,o)=>{"use strict";o.r(t),o.d(t,{Block:()=>a,default:()=>l});var r=o(415),s=o(371),c=o(1616),n=o(5841),i=(o(7545),o(790));const a=e=>{const{textAlign:t="",shouldDisplayMockedReviewsWhenProductHasNoReviews:o}=e,c=(0,s.p)(e),{parentClassName:a}=(0,r.useInnerBlockLayoutContext)(),{product:l}=(0,r.useProductDataContext)(),d=(0,n.p3)(l),u=(0,n.Nm)(l);return(0,i.jsx)(n.fb,{className:"wc-block-components-product-rating-stars",showMockedReviews:o,styleProps:c,parentClassName:a,reviews:u,rating:d,textAlign:t})},l=(0,c.withProductDataContext)(a)},9812:(e,t,o)=>{"use strict";o.r(t),o.d(t,{Block:()=>a,default:()=>l});var r=o(415),s=o(371),c=o(1616),n=o(5841),i=(o(4053),o(790));const a=e=>{const{textAlign:t="",shouldDisplayMockedReviewsWhenProductHasNoReviews:o,isDescendentOfQueryLoop:c,product:a}=e,l=(0,s.p)(e),{parentClassName:d}=(0,r.useInnerBlockLayoutContext)(),{product:u}=(0,r.useProductDataContext)({product:a,isAdmin:e.isAdmin}),p=u?(0,n.p3)(u):0,m=u?(0,n.Nm)(u):0;if(m||o)return(0,i.jsx)(n.fb,{className:"wc-block-components-product-rating",showReviewCount:!c,showMockedReviews:o,styleProps:l,parentClassName:d,reviews:m,rating:p,textAlign:t})},l=(0,c.withProductDataContext)(a)},3848:(e,t,o)=>{"use strict";o.r(t),o.d(t,{Block:()=>d,default:()=>u});var r=o(7723),s=o(4921),c=o(4656),n=o(415),i=o(371),a=o(1616),l=(o(4313),o(790));const d=e=>{const{className:t,align:o,isDescendentOfSingleProductTemplate:a}=e,d=(0,i.p)(e),{parentClassName:u}=(0,n.useInnerBlockLayoutContext)(),{product:p}=(0,n.useProductDataContext)();if(!(p.id&&p.on_sale||a))return null;const m="string"==typeof o?`wc-block-components-product-sale-badge--align-${o}`:"";return(0,l.jsx)("div",{className:(0,s.A)("wc-block-components-product-sale-badge",t,m,{[`${u}__product-onsale`]:u},d.className),style:d.style,children:(0,l.jsx)(c.Label,{label:(0,r.__)("Sale","woocommerce"),screenReaderLabel:(0,r.__)("Product on sale","woocommerce")})})},u=(0,a.withProductDataContext)(d)},1648:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>u});var r=o(4921),s=o(415),c=o(1616),n=o(371),i=o(4715),a=o(7723),l=(o(1129),o(790));const d=({setAttributes:e,parentClassName:t,sku:o,className:s,style:c,prefix:n,suffix:d})=>(0,l.jsxs)("div",{className:(0,r.A)(s,"wp-block-post-terms",{[`${t}__product-sku`]:t}),style:c,children:[(0,l.jsx)(i.RichText,{className:"wc-block-components-product-sku__prefix",tagName:"span",placeholder:(0,a.__)("Prefix","woocommerce"),value:n,onChange:t=>e({prefix:t})}),(0,l.jsxs)("span",{children:[" ",o]}),(0,l.jsx)(i.RichText,{className:"wc-block-components-product-sku__suffix",tagName:"span",placeholder:" "+(0,a.__)("Suffix","woocommerce"),value:d,onChange:t=>e({suffix:t})})]}),u=(0,c.withProductDataContext)((e=>{const{className:t}=e,o=(0,n.p)(e),{parentClassName:c}=(0,s.useInnerBlockLayoutContext)(),{product:i}=(0,s.useProductDataContext)(),u=i.sku;return e.isDescendentOfSingleProductTemplate?(0,l.jsx)(d,{setAttributes:e.setAttributes,parentClassName:c,className:t,sku:(0,a.__)("Product SKU","woocommerce"),prefix:e.prefix,suffix:e.suffix}):u?(0,l.jsx)(d,{setAttributes:e.setAttributes,className:t,parentClassName:c,sku:u,prefix:e.prefix,suffix:e.suffix,...e.isDescendantOfAllProducts&&{className:(0,r.A)(t,"wc-block-components-product-sku wp-block-woocommerce-product-sku",o.className),style:{...o.style}}}):null}))},6374:(e,t,o)=>{"use strict";o.r(t),o.d(t,{Block:()=>u,default:()=>p});var r=o(7723),s=o(4921),c=o(415),n=o(371),i=o(1616),a=o(5703),l=o(2281),d=(o(3790),o(790));const u=e=>{const{className:t}=e,o=(0,n.p)(e),{parentClassName:i}=(0,c.useInnerBlockLayoutContext)(),{product:u}=(0,c.useProductDataContext)(),{text:p,class:m}=u.stock_availability,{current:g}=(0,l.A)();if(!((e,t,o)=>{if(0!==e.id)return""!==t;const r=(0,a.getSetting)("productTypesWithoutStockIndicator",["external","grouped","variable"]),s=o||e?.type;return!r.includes(s)})(u,p,g?.slug))return null;const h=0===u.id,w=u.low_stock_remaining;return(0,d.jsx)("div",{className:(0,s.A)(t,{[`${i}__stock-indicator`]:i,[`wc-block-components-product-stock-indicator--${m}`]:m,"wc-block-components-product-stock-indicator--in-stock":h,"wc-block-components-product-stock-indicator--low-stock":!!w,...e.isDescendantOfAllProducts&&{[o.className]:o.className,"wc-block-components-product-stock-indicator wp-block-woocommerce-product-stock-indicator":!0}}),...e.isDescendantOfAllProducts&&{style:o.style},children:h?(0,r.__)("In stock","woocommerce"):p})},p=e=>{const{product:t}=(0,c.useProductDataContext)();return 0===t.id?(0,d.jsx)(u,{...e}):(0,i.withProductDataContext)(u)(e)}},65:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>f});var r=o(7723),s=o(4921),c=o(6087),n=o(2435),i=o(6004);const a=e=>e.replace(/<\/?[a-z][^>]*?>/gi,""),l=(e,t)=>e.replace(/[\s|\.\,]+$/i,"")+t;var d=o(9446);var u=o(790);const p=["a","b","em","i","strong","p","br","ul","ol","li","h1","h2","h3","h4","h5","h6","pre","blockquote","img"],m=["target","href","rel","name","download","src","class","alt","style"],g=({source:e,maxLength:t=15,countType:o="words",className:r="",style:s={}})=>{const g=(0,c.useMemo)((()=>((e,t=15,o="words")=>{const r=(0,i.autop)(e);if((0,d.count)(r,o)<=t)return r;const s=(e=>{const t=e.indexOf("</p>");return-1===t?e:e.substr(0,t+4)})(r);return(0,d.count)(s,o)<=t?s:"words"===o?((e,t,o="…",r=!0)=>{const s=a(e),c=s.split(" ").splice(0,t).join(" ");return c===s?r?(0,i.autop)(s):s:r?(0,i.autop)(l(c,o)):l(c,o)})(s,t):((e,t,o=!0,r="…",s=!0)=>{const c=a(e),n=c.slice(0,t);if(n===c)return s?(0,i.autop)(c):c;if(o)return(0,i.autop)(l(n,r));const d=n.match(/([\s]+)/g),u=d?d.length:0,p=c.slice(0,t+u);return s?(0,i.autop)(l(p,r)):l(p,r)})(s,t,"characters_including_spaces"===o)})(e,t,o)),[e,t,o]);return(0,u.jsx)(c.RawHTML,{style:s,className:r,children:(0,n.sanitizeHTML)(g,{tags:p,attr:m})})};var h=o(8331),w=o(3993),_=o(415),x=o(371),b=o(1616);o(3608);const y=e=>{const{className:t,showDescriptionIfEmpty:o,summaryLength:c,showLink:n,linkText:i,isDescendantOfAllProducts:a,isDescendentOfSingleProductTemplate:l,product:d,isAdmin:p}=e,{parentClassName:m}=(0,_.useInnerBlockLayoutContext)(),{product:b}=(0,_.useProductDataContext)({product:d,isAdmin:p}),y=(0,x.p)(e),f=(e=>{const{isDescendantOfAllProducts:t,summaryLength:o,showDescriptionIfEmpty:r,showLink:s}=e;return t&&(0,w.isEmpty)(o)&&(0,w.isEmpty)(r)&&(0,w.isEmpty)(s)})(e),k=f?150:c,v=!f&&n,j=b?((e,t)=>{const{short_description:o,description:r}=e;return o||(t&&r?r:"")})(b,!!f||o):"",S=k||1/0,C="wc-block-components-product-summary";return l?(0,u.jsx)("div",{className:C,children:(0,u.jsx)("p",{children:(0,r.__)("This block displays the product summary and all its customizations.","woocommerce")})}):b?j?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(g,{className:(0,s.A)(t,y.className,C,{[`${m}__product-summary`]:m}),source:j,maxLength:S,countType:h.r7.wordCountType||"words",style:y.style}),a&&v&&i&&b?.permalink?(0,u.jsx)("a",{href:`${b.permalink}#tab-description`,children:i}):null]}):a?null:(0,u.jsx)("div",{className:C,children:(0,u.jsx)("p",{children:(0,r.__)("No product summary to show.","woocommerce")})}):(0,u.jsx)("div",{className:(0,s.A)(t,C,{[`${m}__product-summary`]:m})})},f=e=>e.isDescendentOfSingleProductTemplate?(0,u.jsx)(y,{...e}):(0,b.withProductDataContext)(y)(e)},7581:(e,t,o)=>{"use strict";o.d(t,{A:()=>u});var r=o(4921),s=o(415),c=o(1616),n=o(4473),i=o(7052),a=o(371),l=(o(7578),o(790));const d=({children:e,headingLevel:t,elementType:o=`h${t}`,...r})=>(0,l.jsx)(o,{...r,children:e}),u=(0,c.withProductDataContext)((e=>{const{className:t,headingLevel:o=2,showProductLink:c=!0,linkTarget:u,align:p}=e,m=(0,a.p)(e),{parentClassName:g}=(0,s.useInnerBlockLayoutContext)(),{product:h}=(0,s.useProductDataContext)(),{dispatchStoreEvent:w}=(0,i.y)();return h.id?(0,l.jsx)(d,{headingLevel:o,className:(0,r.A)(t,m.className,"wc-block-components-product-title",{[`${g}__product-title`]:g,[`wc-block-components-product-title--align-${p}`]:p}),style:m.style,children:(0,l.jsx)(n.A,{disabled:!c,name:h.name,permalink:h.permalink,target:u,onClick:()=>{w("product-view-link",{product:h})}})}):(0,l.jsx)(d,{headingLevel:o,className:(0,r.A)(t,m.className,"wc-block-components-product-title",{[`${g}__product-title`]:g,[`wc-block-components-product-title--align-${p}`]:p}),style:m.style})}))},2e3:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var r=o(8331),s=o(3993),c=o(7723);const n=Object.entries(r.iI).reduce(((e,[t,o])=>(e[t]=Object.entries(o).reduce(((e,[t,o])=>(e[t]=(e=>{const t={};return void 0!==e.label&&(t.label=e.label),void 0!==e.required&&(t.required=e.required),void 0!==e.hidden&&(t.hidden=e.hidden),void 0===e.label||e.optionalLabel||(t.optionalLabel=(0,c.sprintf)(/* translators: %s Field label. */ /* translators: %s Field label. */ (0,c.__)("%s (optional)","woocommerce"),e.label)),void 0!==e.optionalLabel&&(t.optionalLabel=e.optionalLabel),e.index&&((0,s.isNumber)(e.index)&&(t.index=e.index),(0,s.isString)(e.index)&&(t.index=parseInt(e.index,10))),e.hidden&&(t.required=!1),t})(o),e)),{}),e)),{}),i=(e,t,o="")=>{const r=o&&void 0!==n[o]?n[o]:{};return e.map((e=>({key:e,...t&&e in t?t[e]:{},...r&&e in r?r[e]:{}}))).sort(((e,t)=>e.index-t.index))}},4473:(e,t,o)=>{"use strict";o.d(t,{A:()=>c});var r=o(4921),s=(o(959),o(790));const c=({className:e="",disabled:t=!1,name:o,permalink:c="",target:n,rel:i,style:a,onClick:l,disabledTagName:d="span",...u})=>{const p=(0,r.A)("wc-block-components-product-name",e),m=d;if(t){const e=u;return(0,s.jsx)(m,{className:p,...e,dangerouslySetInnerHTML:{__html:o}})}return(0,s.jsx)("a",{className:p,href:c,target:n,...u,dangerouslySetInnerHTML:{__html:o},style:a})}},6711:(e,t,o)=>{"use strict";o.d(t,{A:()=>u});var r=o(7723),s=o(4656),c=o(4921),n=o(910),i=o(6087),a=(o(8501),o(790));const l=({currency:e,maxPrice:t,minPrice:o,priceClassName:i,priceStyle:l={}})=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"screen-reader-text",children:(0,r.sprintf)(/* translators: %1$s min price, %2$s max price */ /* translators: %1$s min price, %2$s max price */ (0,r.__)("Price between %1$s and %2$s","woocommerce"),(0,n.formatPrice)(o),(0,n.formatPrice)(t))}),(0,a.jsxs)("span",{"aria-hidden":!0,children:[(0,a.jsx)(s.FormattedMonetaryAmount,{className:(0,c.A)("wc-block-components-product-price__value",i),currency:e,value:o,style:l})," — ",(0,a.jsx)(s.FormattedMonetaryAmount,{className:(0,c.A)("wc-block-components-product-price__value",i),currency:e,value:t,style:l})]})]}),d=({currency:e,regularPriceClassName:t,regularPriceStyle:o,regularPrice:n,priceClassName:i,priceStyle:l,price:d})=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"screen-reader-text",children:(0,r.__)("Previous price:","woocommerce")}),(0,a.jsx)(s.FormattedMonetaryAmount,{currency:e,renderText:e=>(0,a.jsx)("del",{className:(0,c.A)("wc-block-components-product-price__regular",t),style:o,children:e}),value:n}),(0,a.jsx)("span",{className:"screen-reader-text",children:(0,r.__)("Discounted price:","woocommerce")}),(0,a.jsx)(s.FormattedMonetaryAmount,{currency:e,renderText:e=>(0,a.jsx)("ins",{className:(0,c.A)("wc-block-components-product-price__value","is-discounted",i),style:l,children:e}),value:d})]}),u=({align:e,className:t,currency:o,format:r="<price/>",maxPrice:n,minPrice:u,price:p,priceClassName:m,priceStyle:g,regularPrice:h,regularPriceClassName:w,regularPriceStyle:_,style:x})=>{const b=(0,c.A)(t,"price","wc-block-components-product-price",{[`wc-block-components-product-price--align-${e}`]:e});r.includes("<price/>")||(r="<price/>",console.error("Price formats need to include the `<price/>` tag."));const y=void 0!==h&&void 0!==p&&p<h;let f=(0,a.jsx)("span",{className:(0,c.A)("wc-block-components-product-price__value",m)});return y?f=(0,a.jsx)(d,{currency:o,price:p,priceClassName:m,priceStyle:g,regularPrice:h,regularPriceClassName:w,regularPriceStyle:_}):void 0!==u&&void 0!==n?f=(0,a.jsx)(l,{currency:o,maxPrice:n,minPrice:u,priceClassName:m,priceStyle:g}):(p||0===p)&&(f=(0,a.jsx)(s.FormattedMonetaryAmount,{className:(0,c.A)("wc-block-components-product-price__value",m),currency:o,value:p,style:g})),(0,a.jsx)("span",{className:b,style:x,children:(0,i.createInterpolateElement)(r,{price:f})})}},6037:(e,t,o)=>{"use strict";o.d(t,{U:()=>u});var r=o(6087),s=o(7594),c=o(7143),n=o(1174),i=o(3757);const a=e=>{const t=e?.detail;t&&t.preserveCartData||(0,c.dispatch)(s.cartStore).invalidateResolutionForStore()},l=e=>{(e?.persisted||"back_forward"===(0,n.F)())&&(0,c.dispatch)(s.cartStore).invalidateResolutionForStore()},d=()=>{1===window.wcBlocksStoreCartListeners.count&&window.wcBlocksStoreCartListeners.remove(),window.wcBlocksStoreCartListeners.count--},u=()=>{(0,r.useEffect)((()=>((()=>{if(window.wcBlocksStoreCartListeners||(window.wcBlocksStoreCartListeners={count:0,remove:()=>{}}),window.wcBlocksStoreCartListeners?.count>0)return void window.wcBlocksStoreCartListeners.count++;document.body.addEventListener("wc-blocks_added_to_cart",a),document.body.addEventListener("wc-blocks_removed_from_cart",a),window.addEventListener("pageshow",l);const e=(0,i.f2)("added_to_cart","wc-blocks_added_to_cart"),t=(0,i.f2)("removed_from_cart","wc-blocks_removed_from_cart");window.wcBlocksStoreCartListeners.count=1,window.wcBlocksStoreCartListeners.remove=()=>{document.body.removeEventListener("wc-blocks_added_to_cart",a),document.body.removeEventListener("wc-blocks_removed_from_cart",a),window.removeEventListener("pageshow",l),e(),t()}})(),d)),[])}},5460:(e,t,o)=>{"use strict";o.d(t,{V:()=>_});var r=o(1824),s=o.n(r),c=o(6087),n=o(7594),i=o(7143),a=o(8537),l=o(4982),d=o(6037);const u={first_name:"",last_name:"",company:"",address_1:"",address_2:"",city:"",state:"",postcode:"",country:"",phone:""},p={...u,email:""},m={total_items:"",total_items_tax:"",total_fees:"",total_fees_tax:"",total_discount:"",total_discount_tax:"",total_shipping:"",total_shipping_tax:"",total_price:"",total_tax:"",tax_lines:n.EMPTY_TAX_LINES,currency_code:"",currency_symbol:"",currency_minor_unit:2,currency_decimal_separator:"",currency_thousand_separator:"",currency_prefix:"",currency_suffix:""},g=e=>Object.fromEntries(Object.entries(e).map((([e,t])=>[e,(0,a.decodeEntities)(t)]))),h=(e,t)=>{const o=(0,l.TU)(g(e));return s()(t.current,o)||(t.current=o),t.current},w={billingAddress:p,billingData:p,cartCoupons:n.EMPTY_CART_COUPONS,cartErrors:n.EMPTY_CART_ERRORS,cartFees:n.EMPTY_CART_FEES,cartHasCalculatedShipping:!1,cartIsLoading:!0,cartItemErrors:n.EMPTY_CART_ITEM_ERRORS,cartItems:n.EMPTY_CART_ITEMS,cartItemsCount:0,cartItemsWeight:0,cartNeedsPayment:!0,cartNeedsShipping:!0,cartTotals:m,crossSellsProducts:n.EMPTY_CART_CROSS_SELLS,extensions:n.EMPTY_EXTENSIONS,hasPendingItemsOperations:!1,isLoadingRates:!1,paymentMethods:n.EMPTY_PAYMENT_METHODS,paymentRequirements:n.EMPTY_PAYMENT_REQUIREMENTS,receiveCart:()=>{},receiveCartContents:()=>{},shippingAddress:u,shippingRates:n.EMPTY_SHIPPING_RATES},_=(e={shouldSelect:!0})=>{const{shouldSelect:t}=e,o=(0,c.useRef)(),r=(0,c.useRef)(p),l=(0,c.useRef)(u);(0,d.U)();const{receiveCart:m,receiveCartContents:_}=(0,i.useDispatch)(n.cartStore),{cartData:x,cartErrors:b,cartTotals:y,cartIsLoading:f,isLoadingRates:k,hasPendingItemsOperations:v}=(0,i.useSelect)((e=>{const t=e(n.cartStore),o=!t.hasFinishedResolution("getCartData",[]);return{cartData:t.getCartData(),cartErrors:t.getCartErrors(),cartTotals:t.getCartTotals(),cartIsLoading:o,isLoadingRates:t.isAddressFieldsForShippingRatesUpdating(),hasPendingItemsOperations:t.hasPendingItemsOperations()}}),[]);if(!t)return w;const j=h(x.billingAddress,r),S=x.needsShipping?h(x.shippingAddress,l):j,C={billingAddress:j,billingData:j,cartCoupons:(P=x.coupons,P.length>0?P.map((e=>({...e,label:(0,a.decodeEntities)(e.code)}))):n.EMPTY_CART_COUPONS),cartErrors:b,cartFees:(E=x.fees,E.length>0?E.map((e=>g(e))):n.EMPTY_CART_FEES),cartHasCalculatedShipping:x.hasCalculatedShipping,cartIsLoading:f,cartItemErrors:x.errors,cartItems:x.items,cartItemsCount:x.itemsCount,cartItemsWeight:x.itemsWeight,cartNeedsPayment:x.needsPayment,cartNeedsShipping:x.needsShipping,cartTotals:y,crossSellsProducts:x.crossSells,extensions:x.extensions,hasPendingItemsOperations:v,isLoadingRates:k,paymentMethods:x.paymentMethods,paymentRequirements:x.paymentRequirements,receiveCart:m,receiveCartContents:_,shippingAddress:S,shippingRates:(N=x.shippingRates,N.length>0?N.map((e=>({...e,shipping_rates:e.shipping_rates.length>0?e.shipping_rates.map((e=>g(e))):[]}))):[])};var N,E,P;return o.current&&s()(o.current,C)||(o.current=C),o.current}},1057:(e,t,o)=>{"use strict";o.d(t,{R:()=>l});var r=o(6087),s=o(7143),c=o(7594),n=o(8537),i=o(5460);const a=(e,t)=>{const o=e.find((({id:e})=>e===t));return o?o.quantity:0},l=e=>{const{addItemToCart:t}=(0,s.useDispatch)(c.cartStore),{cartItems:o,cartIsLoading:l}=(0,i.V)(),{createErrorNotice:d,removeNotice:u}=(0,s.useDispatch)("core/notices"),[p,m]=(0,r.useState)(!1),g=(0,r.useRef)(a(o,e));return(0,r.useEffect)((()=>{const t=a(o,e);t!==g.current&&(g.current=t)}),[o,e]),{cartQuantity:Number.isFinite(g.current)?g.current:0,addingToCart:p,cartIsLoading:l,addToCart:(o=1)=>(m(!0),t(e,o).then((()=>{u("add-to-cart")})).catch((e=>{d((0,n.decodeEntities)(e.message),{id:"add-to-cart",context:"wc/all-products",isDismissible:!0})})).finally((()=>{m(!1)})))}}},7052:(e,t,o)=>{"use strict";o.d(t,{y:()=>n});var r=o(2619),s=o(7143),c=o(6087);const n=()=>({dispatchStoreEvent:(0,c.useCallback)(((e,t={})=>{try{(0,r.doAction)(`experimental__woocommerce_blocks-${e}`,t)}catch(e){console.error(e)}}),[]),dispatchCheckoutEvent:(0,c.useCallback)(((e,t={})=>{try{(0,r.doAction)(`experimental__woocommerce_blocks-checkout-${e}`,{...t,storeCart:(0,s.select)("wc/store/cart").getCartData()})}catch(e){console.error(e)}}),[])})},371:(e,t,o)=>{"use strict";o.d(t,{p:()=>i});var r=o(4921),s=o(3993),c=o(219),n=o(17);const i=e=>{const t=(e=>{const t=(0,s.isObject)(e)?e:{style:{}};let o=t.style;return(0,s.isString)(o)&&(o=JSON.parse(o)||{}),(0,s.isObject)(o)||(o={}),{...t,style:o}})(e),o=(0,n.BK)(t),i=(0,n.aR)(t),a=(0,n.fo)(t),l=(0,c.x)(t);return{className:(0,r.A)(l.className,o.className,i.className,a.className),style:{...l.style,...o.style,...i.style,...a.style}}}},219:(e,t,o)=>{"use strict";o.d(t,{x:()=>s});var r=o(3993);const s=e=>{const t=(0,r.isObject)(e.style.typography)?e.style.typography:{},o=(0,r.isString)(t.fontFamily)?t.fontFamily:"";return{className:e.fontFamily?`has-${e.fontFamily}-font-family`:o,style:{fontSize:e.fontSize?`var(--wp--preset--font-size--${e.fontSize})`:t.fontSize,fontStyle:t.fontStyle,fontWeight:t.fontWeight,letterSpacing:t.letterSpacing,lineHeight:t.lineHeight,textDecoration:t.textDecoration,textTransform:t.textTransform}}}},4982:(e,t,o)=>{"use strict";o.d(t,{TU:()=>n});var r=o(2e3),s=o(8331),c=o(5703);o(3993),o(8537);const n=e=>{const t=(0,r.A)(s.Hw,c.defaultFields,e.country),o=Object.assign({},e);return t.forEach((({key:t,hidden:r})=>{!0===r&&((e,t)=>e in t)(t,e)&&(o[t]="")})),o}},17:(e,t,o)=>{"use strict";o.d(t,{BK:()=>l,aR:()=>d,fo:()=>u});var r=o(4921),s=o(7356),c=o(9786),n=o(3993);function i(e={}){const t={};return(0,c.getCSSRules)(e,{selector:""}).forEach((e=>{t[e.key]=e.value})),t}function a(e,t){return e&&t?`has-${(0,s.c)(t)}-${e}`:""}function l(e){const{backgroundColor:t,textColor:o,gradient:s,style:c}=e,l=a("background-color",t),d=a("color",o),u=function(e){if(e)return`has-${e}-gradient-background`}(s),p=u||c?.color?.gradient;return{className:(0,r.A)(d,u,{[l]:!p&&!!l,"has-text-color":o||c?.color?.text,"has-background":t||c?.color?.background||s||c?.color?.gradient,"has-link-color":(0,n.isObject)(c?.elements?.link)?c?.elements?.link?.color:void 0}),style:i({color:c?.color||{}})}}function d(e){const t=e.style?.border||{};return{className:function(e){const{borderColor:t,style:o}=e,s=t?a("border-color",t):"";return(0,r.A)({"has-border-color":!!t||!!o?.border?.color,[s]:!!s})}(e),style:i({border:t})}}function u(e){return{className:void 0,style:i({spacing:e.style?.spacing||{}})}}},1174:(e,t,o)=>{"use strict";o.d(t,{F:()=>r});const r=()=>window.performance&&window.performance.getEntriesByType("navigation").length?window.performance.getEntriesByType("navigation")[0].type:""},3757:(e,t,o)=>{"use strict";o.d(t,{f2:()=>s});const r=window.CustomEvent||null,s=(e,t,o=!1,s=!1)=>{if("function"!=typeof jQuery)return()=>{};const c=()=>{((e,{bubbles:t=!1,cancelable:o=!1,element:s,detail:c={}})=>{if(!r)return;s||(s=document.body);const n=new r(e,{bubbles:t,cancelable:o,detail:c});s.dispatchEvent(n)})(t,{bubbles:o,cancelable:s})};return jQuery(document).on(e,c),()=>jQuery(document).off(e,c)}},9962:(e,t,o)=>{"use strict";o.r(t),o.d(t,{metadata:()=>st,name:()=>Zt});const r=window.wp.blocks;var s=o(4530),c=o(9264),n=o(7723),i=o(4715),a=o(6087),l=o(6427),d=o(5573),u=o(790);function p({level:e}){const t={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return t.hasOwnProperty(e)?(0,u.jsx)(d.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",children:(0,u.jsx)(d.Path,{d:t[e]})}):null}class m extends a.Component{createLevelControl(e,t,o){const r=e===t;return{icon:(0,u.jsx)(p,{level:e}),title:(0,n.sprintf)(/* translators: %s: heading level e.g: "2", "3", "4" */ /* translators: %s: heading level e.g: "2", "3", "4" */ (0,n.__)("Heading %d","woocommerce"),e),isActive:r,onClick:()=>o(e)}}render(){const{isCollapsed:e=!0,minLevel:t,maxLevel:o,selectedLevel:r,onChange:s}=this.props,c=Array.from({length:o-t+1},((e,o)=>o+t));return(0,u.jsx)(l.ToolbarGroup,{isCollapsed:e,icon:(0,u.jsx)(p,{level:r}),controls:c.map((e=>this.createLevelControl(e,r,s)))})}}const g=m;var h=o(7581);o(1784);const w=!0,_="_self";var x=o(4921),b=o(8992);const y=(0,u.jsx)(s.A,{icon:b.A,className:"wc-block-editor-components-block-icon"});var f=o(3925);(0,r.registerBlockType)(f,{icon:{src:y},edit:({attributes:e,setAttributes:t})=>{const o=(0,i.useBlockProps)(),{headingLevel:r,showProductLink:s,align:c,linkTarget:a}=e;return(0,u.jsxs)("div",{...o,children:[(0,u.jsxs)(i.BlockControls,{children:[(0,u.jsx)(g,{isCollapsed:!0,minLevel:1,maxLevel:7,selectedLevel:r,onChange:e=>t({headingLevel:e})}),(0,u.jsx)(i.AlignmentToolbar,{value:c,onChange:e=>{t({align:e})}})]}),(0,u.jsx)(i.InspectorControls,{children:(0,u.jsxs)(l.__experimentalToolsPanel,{label:(0,n.__)("Link settings","woocommerce"),resetAll:()=>t({showProductLink:w,linkTarget:_}),children:[(0,u.jsx)(l.__experimentalToolsPanelItem,{label:(0,n.__)("Make title a link","woocommerce"),hasValue:()=>s!==w,onDeselect:()=>t({showProductLink:w}),isShownByDefault:!0,children:(0,u.jsx)(l.ToggleControl,{label:(0,n.__)("Make title a link","woocommerce"),checked:s,onChange:()=>t({showProductLink:!s})})}),s&&(0,u.jsx)(l.__experimentalToolsPanelItem,{label:(0,n.__)("Open in new tab","woocommerce"),hasValue:()=>a!==_,onDeselect:()=>t({linkTarget:_}),isShownByDefault:!0,children:(0,u.jsx)(l.ToggleControl,{label:(0,n.__)("Open in new tab","woocommerce"),onChange:e=>t({linkTarget:e?"_blank":"_self"}),checked:"_blank"===a})})]})}),(0,u.jsx)(l.Disabled,{children:(0,u.jsx)(h.A,{...e})})]})},save:({attributes:e})=>(0,u.jsx)("div",{...i.useBlockProps.save({className:(0,x.A)("is-loading",e.className)})})});var k=o(7143);const v=window.wp.editor;var j=o(3993);class S{blocks=new Map;initialized=!1;attemptedRegisteredBlocks=new Set;constructor(){this.initializeSubscriptions()}static getInstance(){return S.instance||(S.instance=new S),S.instance}initializeSubscriptions(){if(this.initialized)return;const e=(0,k.subscribe)((()=>{const t=(0,k.select)(v.store);if(!t)return;const o=t.getCurrentPostType();if(o)if("post"===o||"page"===o)e(),this.blocks.forEach((e=>{if(e.isAvailableOnPostEditor){const t=e.variationName||e.blockName;this.hasAttemptedRegistration(t)||this.registerBlock(e)}})),this.initialized=!0;else{e();const o=String(t.getEditedPostSlug());this.currentTemplateId=o,this.handleTemplateChange(void 0),(0,k.subscribe)((()=>{const e=this.currentTemplateId;this.currentTemplateId=String(t.getEditedPostSlug()),e!==this.currentTemplateId&&this.handleTemplateChange(e)}),v.store),this.initialized=!0}}))}handleTemplateChange(e){(this.currentTemplateId?.includes("single-product")||e?.includes("single-product"))&&this.blocks.forEach((e=>{this.unregisterBlock(e),this.registerBlock(e)}))}hasAttemptedRegistration(e){return this.attemptedRegisteredBlocks.has(e)}unregisterBlock(e){const{blockName:t,isVariationBlock:o,variationName:s}=e;try{o&&s?((0,r.unregisterBlockVariation)(t,s),this.attemptedRegisteredBlocks.delete(s)):((0,r.unregisterBlockType)(t),this.attemptedRegisteredBlocks.delete(t))}catch(e){console.debug(`Failed to unregister block ${t}:`,e)}}registerBlock(e){const{blockName:t,settings:o,isVariationBlock:s,variationName:c,isAvailableOnPostEditor:n}=e;try{const e=c||t;if(this.hasAttemptedRegistration(e))return;const i=(0,k.select)("core/edit-site");if(!i&&!n)return;if(s)(0,r.registerBlockVariation)(t,o);else{const e=(0,j.isEmpty)(o?.ancestor)?["woocommerce/single-product"]:o?.ancestor,s=i&&this.currentTemplateId?.includes("single-product");(0,r.registerBlockType)(t,{...o,ancestor:s?void 0:e})}this.attemptedRegisteredBlocks.add(e)}catch(e){console.error(`Failed to register block ${t}:`,e)}}registerBlockConfig(e){const t=e.variationName||e.blockName;this.blocks.set(t,e),this.registerBlock(e)}}const C=(e,t)=>{const o="string"==typeof e?e:e.name;if(!o)return void console.error("registerProductBlockType: Block name is required for registration");const r="string"==typeof e?{}:(({name:e,...t})=>t)(e),{isVariationBlock:s,variationName:c,isAvailableOnPostEditor:n,...i}={...r,...t||{}},a={blockName:o,settings:{...i},isVariationBlock:s??!1,variationName:c??void 0,isAvailableOnPostEditor:n??!1};S.getInstance().registerBlockConfig(a)};var N=o(8486);const E=({attributes:e})=>e.isDescendentOfQueryLoop||e.isDescendentOfSingleProductBlock||e.isDescendentOfSingleProductTemplate?null:(0,u.jsx)("div",{className:(0,x.A)("is-loading",e.className)});var P=o(8331);const A=window.wp.coreData,T=e=>(0,k.useSelect)((t=>{if(!e)return{product:void 0,isResolving:!1};const o="string"==typeof e?parseInt(e,10):e;return{product:t(A.store).getEditedEntityRecord("root","product",o),isResolving:t(A.store).isResolving("getEditedEntityRecord",["root","product",o]),isResolutionFinished:t(A.store).hasFinishedResolution("getEditedEntityRecord",["root","product",o])}}),[e]);var B=o(1308);const I=()=>({isDescendentOfSingleProductTemplate:(0,k.useSelect)((e=>{const t=e("core/editor"),o=t?.getEditedPostSlug?.();return!!(0,j.isString)(o)&&o.includes("single-product")}),[])});C({...JSON.parse('{"name":"woocommerce/product-price","title":"Product Price","description":"Display the price of a product.","category":"woocommerce-product-elements","attributes":{"productId":{"type":"number","default":0},"isDescendentOfQueryLoop":{"type":"boolean","default":false},"textAlign":{"type":"string","default":""},"isDescendentOfSingleProductTemplate":{"type":"boolean","default":false},"isDescendentOfSingleProductBlock":{"type":"boolean","default":false}},"usesContext":["query","queryId","postId"],"keywords":["WooCommerce"],"textdomain":"woocommerce","apiVersion":3,"supports":{"html":false,"interactivity":true,"color":{"text":true,"background":true,"link":false},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalLetterSpacing":true},"__experimentalSelector":".wp-block-woocommerce-product-price .wc-block-components-product-price","email":true,"spacing":{"margin":true,"padding":true}},"ancestor":["woocommerce/all-products","woocommerce/featured-product","woocommerce/single-product","woocommerce/product-template","core/post-template"],"viewScriptModule":"product-price","style":"file:../product-price.css","$schema":"https://schemas.wp.org/trunk/block.json"}'),icon:(0,u.jsx)(s.A,{icon:N.A,className:"wc-block-editor-components-block-icon"}),edit:({attributes:e,setAttributes:t,context:o})=>{const r=(0,i.useBlockProps)(),s={...e,...o},c=Number.isFinite(o.queryId);let{isDescendentOfSingleProductTemplate:n}=I();c&&(n=!1),(0,a.useEffect)((()=>t({isDescendentOfQueryLoop:c,isDescendentOfSingleProductTemplate:n})),[c,n,t]);const l=(0,P.Sc)(),{product:d}=T(o.postId);return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(i.BlockControls,{children:(0,u.jsx)(i.AlignmentToolbar,{value:e.textAlign,onChange:e=>{t({textAlign:e})}})}),(0,u.jsx)("div",{...r,children:l?(0,u.jsx)(B.default,{...s,isAdmin:!0,product:d,isExperimentalWcRestApiV4Enabled:l}):(0,u.jsx)(B.default,{...s,product:void 0,isAdmin:!1,isExperimentalWcRestApiV4Enabled:!1})})]})},save:E},{isAvailableOnPostEditor:!0});var O=o(7746),D=o(6724);const L=[{save:E,attributes:O.attributes,isEligible:({showSaleBadge:e})=>(0,D.S)(e),migrate:e=>{const{showSaleBadge:t,saleBadgeAlign:o}=e;return!1===t?[e]:[{...e,showSaleBadge:!1},[(0,r.createBlock)("woocommerce/product-sale-badge",{align:o})]]}}];var R=o(5703),F=o(3104);const z=({blockClientId:e})=>{const{isDescendentOfSingleProductBlock:t}=(0,k.useSelect)((t=>{const{getBlockParentsByBlockName:o}=t("core/block-editor");return{isDescendentOfSingleProductBlock:o(e?.replace("block-",""),["woocommerce/single-product"]).length>0}}),[e]);return{isDescendentOfSingleProductBlock:t}};var M=o(4264);const V={cover:(0,n.__)("Image is scaled and cropped to fill the entire space without being distorted.","woocommerce"),contain:(0,n.__)("Image is scaled to fill the space without clipping nor distorting.","woocommerce"),fill:(0,n.__)("Image will be stretched and distorted to completely fill the space.","woocommerce")},$=[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"},{value:"%",label:"%"},{value:"vw",label:"vw"},{value:"vh",label:"vh"}],H=({scale:e,width:t,height:o,setAttributes:r})=>(0,u.jsxs)(l.__experimentalToolsPanel,{className:"wc-block-product-image__tools-panel",label:(0,n.__)("Image size","woocommerce"),children:[(0,u.jsx)(l.__experimentalUnitControl,{__next40pxDefaultSize:!0,label:(0,n.__)("Height","woocommerce"),onChange:e=>{r({height:e})},value:o,units:$}),(0,u.jsx)(l.__experimentalUnitControl,{__next40pxDefaultSize:!0,label:(0,n.__)("Width","woocommerce"),onChange:e=>{r({width:e})},value:t,units:$}),o&&(0,u.jsx)(l.__experimentalToolsPanelItem,{hasValue:()=>!0,label:(0,n.__)("Scale","woocommerce"),children:(0,u.jsx)(l.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,label:(0,n.__)("Scale","woocommerce"),value:e,help:V[e],onChange:e=>r({scale:e}),isBlock:!0,children:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(l.__experimentalToggleGroupControlOption,{value:"cover",label:(0,n.__)("Cover","woocommerce")}),(0,u.jsx)(l.__experimentalToggleGroupControlOption,{value:"contain",label:(0,n.__)("Contain","woocommerce")}),(0,u.jsx)(l.__experimentalToggleGroupControlOption,{value:"fill",label:(0,n.__)("Fill","woocommerce")})]})})})]}),W=[["woocommerce/product-sale-badge",{align:"right"}]],q={showProductLink:!0,imageSizing:M.e.SINGLE};var G=o(4003);const Q=(0,u.jsx)(s.A,{icon:G.A,className:"wc-block-editor-components-block-icon"});(0,r.registerBlockType)(O,{deprecated:L,icon:Q,edit:({attributes:e,setAttributes:t,context:o,clientId:r})=>{const{showProductLink:s,imageSizing:c,width:d,height:p,scale:m}=e,g=(0,a.useRef)(null),h=(0,i.useBlockProps)(),{wasBlockJustInserted:w,isInProductGallery:_}=(0,k.useSelect)((e=>({wasBlockJustInserted:e(i.store).wasBlockJustInserted(r),isInProductGallery:e(i.store).getBlockParentsByBlockName(r,"woocommerce/product-gallery").length>0})),[r]),x=Number.isFinite(o.queryId),{isDescendentOfSingleProductBlock:b}=z({blockClientId:h?.id});(0,a.useEffect)((()=>{t(x||b?{isDescendentOfQueryLoop:x,isDescendentOfSingleProductBlock:b,showSaleBadge:!1}:{isDescendentOfQueryLoop:x,isDescendentOfSingleProductBlock:b})}),[x,b,t]);const y=x||b,f=(0,i.useInnerBlocksProps)({className:"wc-block-components-product-image__inner-container"},{dropZoneElement:g.current,template:w?W:void 0}),v=(0,R.getSettingWithCoercion)("isBlockTheme",!1,j.isBoolean),{product:S,isResolving:C}=T(o.postId);return(0,u.jsxs)("div",{...h,children:[y&&!_&&(0,u.jsxs)(i.InspectorControls,{children:[(0,u.jsx)(H,{scale:m,width:d,height:p,setAttributes:t}),(0,u.jsxs)(l.__experimentalToolsPanel,{label:(0,n.__)("Content","woocommerce"),resetAll:()=>t({showProductLink:q.showProductLink,imageSizing:q.imageSizing}),children:[(0,u.jsx)(l.__experimentalToolsPanelItem,{label:(0,n.__)("Link to Product Page","woocommerce"),hasValue:()=>s!==q.showProductLink,onDeselect:()=>t({showProductLink:q.showProductLink}),isShownByDefault:!0,children:(0,u.jsx)(l.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,n.__)("Link to Product Page","woocommerce"),help:(0,n.__)("Links the image to the single product listing.","woocommerce"),checked:s,onChange:()=>t({showProductLink:!s})})}),(0,u.jsx)(l.__experimentalToolsPanelItem,{label:(0,n.__)("Resolution","woocommerce"),hasValue:()=>c!==q.imageSizing,onDeselect:()=>t({imageSizing:q.imageSizing}),isShownByDefault:!0,children:(0,u.jsxs)(l.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,label:(0,n.__)("Resolution","woocommerce"),isBlock:!0,help:v?null:(0,a.createInterpolateElement)((0,n.__)("Product image cropping can be modified in the <a>Customizer</a>.","woocommerce"),{a:(0,u.jsx)("a",{href:`${(0,R.getAdminLink)("customize.php")}?autofocus[panel]=woocommerce&autofocus[section]=woocommerce_product_images`,target:"_blank",rel:"noopener noreferrer"})}),value:c,onChange:e=>t({imageSizing:e}),children:[(0,u.jsx)(l.__experimentalToggleGroupControlOption,{value:M.e.SINGLE,label:(0,n.__)("Full Size","woocommerce")}),(0,u.jsx)(l.__experimentalToggleGroupControlOption,{value:M.e.THUMBNAIL,label:(0,n.__)("Thumbnail","woocommerce")})]})})]})]}),(0,u.jsx)(F.A,{...e,...o,isAdmin:!0,product:S,isResolving:C,children:y&&(0,u.jsx)("div",{...f})})]})},save:({attributes:e})=>e.isDescendentOfQueryLoop||e.isDescendentOfSingleProductBlock?(0,u.jsx)(i.InnerBlocks.Content,{}):(0,u.jsx)("div",{className:(0,x.A)("is-loading",e.className)})});var U=o(9812);o(3081);var Y=o(2108);(0,n.__)("Product Rating","woocommerce");const J=(0,u.jsx)(s.A,{icon:Y.A,className:"wc-block-editor-components-block-icon"});(0,n.__)("Display the average rating of a product.","woocommerce"),C({...JSON.parse('{"name":"woocommerce/product-rating","icon":"info","title":"Product Rating","description":"Display the average rating of a product.","category":"woocommerce-product-elements","attributes":{"productId":{"type":"number","default":0},"isDescendentOfQueryLoop":{"type":"boolean","default":false},"textAlign":{"type":"string","default":""},"isDescendentOfSingleProductBlock":{"type":"boolean","default":false},"isDescendentOfSingleProductTemplate":{"type":"boolean","default":false}},"supports":{"interactivity":{"clientNavigation":true},"color":{"text":true,"background":false,"link":false,"__experimentalSkipSerialization":true},"spacing":{"margin":true,"padding":true},"typography":{"fontSize":true,"__experimentalSkipSerialization":true},"__experimentalSelector":".wc-block-components-product-rating"},"ancestor":["woocommerce/all-products","woocommerce/single-product","woocommerce/product-template","core/post-template"],"usesContext":["query","queryId","postId"],"keywords":["WooCommerce"],"textdomain":"woocommerce","apiVersion":3,"$schema":"https://schemas.wp.org/trunk/block.json"}'),icon:{src:J},edit:e=>{const{attributes:t,setAttributes:o,context:r}=e,s=(0,i.useBlockProps)({className:"wp-block-woocommerce-product-rating"}),c={...t,...r,shouldDisplayMockedReviewsWhenProductHasNoReviews:!0},n=Number.isFinite(r.queryId),{isDescendentOfSingleProductBlock:l}=z({blockClientId:s?.id});let{isDescendentOfSingleProductTemplate:d}=I();(n||l)&&(d=!1),(0,a.useEffect)((()=>{o({isDescendentOfQueryLoop:n,isDescendentOfSingleProductBlock:l,isDescendentOfSingleProductTemplate:d})}),[o,n,l,d]);const{product:p}=T(r.postId);return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(i.BlockControls,{children:(0,u.jsx)(i.AlignmentToolbar,{value:t.textAlign,onChange:e=>{o({textAlign:e||""})}})}),(0,u.jsx)("div",{...s,children:(0,u.jsx)(U.default,{isAdmin:!0,...c,product:p})})]})},save:E},{isAvailableOnPostEditor:!0});var K=o(3129);const X=JSON.parse('{"name":"woocommerce/product-rating-stars","title":"Product Rating Stars","description":"Display the average rating of a product with stars","category":"woocommerce-product-elements","attributes":{"productId":{"type":"number","default":0},"isDescendentOfQueryLoop":{"type":"boolean","default":false},"textAlign":{"type":"string","default":""},"isDescendentOfSingleProductBlock":{"type":"boolean","default":false},"isDescendentOfSingleProductTemplate":{"type":"boolean","default":false}},"usesContext":["query","queryId","postId"],"keywords":["WooCommerce"],"supports":{"interactivity":{"clientNavigation":true},"inserter":false,"color":{"text":true,"background":false,"link":false,"__experimentalSkipSerialization":true},"spacing":{"margin":true,"padding":true},"typography":{"fontSize":true,"__experimentalSkipSerialization":true},"__experimentalSelector":".wc-block-components-product-rating"},"ancestor":["woocommerce/single-product"],"textdomain":"woocommerce","apiVersion":3,"$schema":"https://schemas.wp.org/trunk/block.json"}');var Z=o(7220);(0,r.registerBlockType)(X,{apiVersion:3,icon:{src:(0,u.jsx)(s.A,{icon:K.A,className:"wc-block-editor-components-block-icon"})},edit:e=>{const{attributes:t,setAttributes:o,context:r}=e,s=(0,i.useBlockProps)({className:"wp-block-woocommerce-product-rating"}),c={...t,...r,shouldDisplayMockedReviewsWhenProductHasNoReviews:!0},n=Number.isFinite(r.queryId),{isDescendentOfSingleProductBlock:l}=z({blockClientId:s?.id});let{isDescendentOfSingleProductTemplate:d}=I();return(n||l)&&(d=!1),(0,a.useEffect)((()=>{o({isDescendentOfQueryLoop:n,isDescendentOfSingleProductBlock:l,isDescendentOfSingleProductTemplate:d})}),[o,n,l,d]),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(i.BlockControls,{children:(0,u.jsx)(i.AlignmentToolbar,{value:t.textAlign,onChange:e=>{o({textAlign:e||""})}})}),(0,u.jsx)("div",{...s,children:(0,u.jsx)(Z.default,{...c})})]})}});const ee=JSON.parse('{"name":"woocommerce/product-rating-counter","title":"Product Rating Counter","description":"Display the review count of a product","category":"woocommerce-product-elements","attributes":{"productId":{"type":"number","default":0},"isDescendentOfQueryLoop":{"type":"boolean","default":false},"textAlign":{"type":"string","default":""},"isDescendentOfSingleProductBlock":{"type":"boolean","default":false},"isDescendentOfSingleProductTemplate":{"type":"boolean","default":false}},"supports":{"interactivity":{"clientNavigation":true},"inserter":false,"color":{"text":false,"background":false,"link":true},"spacing":{"margin":true,"padding":true},"typography":{"fontSize":true,"__experimentalSkipSerialization":true},"__experimentalSelector":".wc-block-components-product-rating-counter"},"usesContext":["query","queryId","postId"],"keywords":["WooCommerce"],"ancestor":["woocommerce/single-product"],"textdomain":"woocommerce","apiVersion":3,"$schema":"https://schemas.wp.org/trunk/block.json"}');var te=o(9147);(0,r.registerBlockType)(ee,{apiVersion:3,icon:{src:(0,u.jsx)(s.A,{icon:K.A,className:"wc-block-editor-components-block-icon"})},edit:e=>{const{attributes:t,setAttributes:o,context:r}=e,s=(0,i.useBlockProps)({className:"wp-block-woocommerce-product-rating-counter"}),c={...t,...r,shouldDisplayMockedReviewsWhenProductHasNoReviews:!0},n=Number.isFinite(r.queryId),{isDescendentOfSingleProductBlock:l}=z({blockClientId:s?.id});let{isDescendentOfSingleProductTemplate:d}=I();return(n||l)&&(d=!1),(0,a.useEffect)((()=>{o({isDescendentOfQueryLoop:n,isDescendentOfSingleProductBlock:l,isDescendentOfSingleProductTemplate:d})}),[o,n,l,d]),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(i.BlockControls,{children:(0,u.jsx)(i.AlignmentToolbar,{value:t.textAlign,onChange:e=>{o({textAlign:e||""})}})}),(0,u.jsx)("div",{...s,children:(0,u.jsx)(te.default,{...c})})]})}});var oe=o(6052);const re=JSON.parse('{"name":"woocommerce/product-average-rating","title":"Product Average Rating (Beta)","description":"Display the average rating of a product","apiVersion":3,"category":"woocommerce-product-elements","attributes":{"textAlign":{"type":"string"}},"keywords":["WooCommerce"],"ancestor":["woocommerce/single-product"],"supports":{"interactivity":{"clientNavigation":true},"color":{"text":true,"background":true,"__experimentalSkipSerialization":true},"spacing":{"margin":true,"padding":true,"__experimentalSkipSerialization":true},"typography":{"fontSize":true,"__experimentalFontWeight":true,"__experimentalSkipSerialization":true},"__experimentalSelector":".wc-block-components-product-average-rating"},"textdomain":"woocommerce","$schema":"https://schemas.wp.org/trunk/block.json"}');var se=o(4514);(0,r.registerBlockType)(re,{apiVersion:3,icon:{src:(0,u.jsx)(s.A,{icon:oe.A,className:"wc-block-editor-components-block-icon"})},edit:e=>{const{attributes:t,setAttributes:o}=e,r=(0,i.useBlockProps)({className:"wp-block-woocommerce-product-average-rating"});return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(i.BlockControls,{children:(0,u.jsx)(i.AlignmentToolbar,{value:t.textAlign,onChange:e=>{o({textAlign:e||""})}})}),(0,u.jsx)("div",{...r,children:(0,u.jsx)(se.default,{...t})})]})}});var ce=o(6012),ne=o(595);const ie=void 0;function ae({selectedWidth:e,setAttributes:t}){return(0,u.jsx)(l.__experimentalToolsPanel,{label:(0,n.__)("Width settings","woocommerce"),resetAll:()=>t({width:ie}),children:(0,u.jsx)(l.__experimentalToolsPanelItem,{label:(0,n.__)("Button width","woocommerce"),hasValue:()=>e!==ie,onDeselect:()=>t({width:ie}),isShownByDefault:!0,children:(0,u.jsx)(l.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,hideLabelFromVision:!0,label:(0,n.__)("Button width","woocommerce"),value:e,isDeselectable:!0,onChange:e=>t({width:e}),children:[25,50,75,100].map((e=>(0,u.jsx)(l.__experimentalToggleGroupControlOption,{value:e,label:`${e}%`},e)))})})})}const le=JSON.parse('{"name":"woocommerce/product-button","title":"Add to Cart Button","description":"Display a call to action button which either adds the product to the cart, or links to the product page.","category":"woocommerce-product-elements","keywords":["WooCommerce"],"usesContext":["query","queryId","postId","collection","woocommerce/isDescendantOfAddToCartWithOptions"],"textdomain":"woocommerce","attributes":{"productId":{"type":"number","default":0},"textAlign":{"type":"string","default":""},"width":{"type":"number"},"isDescendentOfSingleProductBlock":{"type":"boolean","default":false},"isDescendentOfQueryLoop":{"type":"boolean","default":false}},"supports":{"align":["wide","full"],"color":{"text":true,"background":true,"link":false,"__experimentalSkipSerialization":true},"interactivity":true,"html":false,"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontWeight":true,"__experimentalFontFamily":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"__experimentalDefaultControls":{"fontSize":true}},"__experimentalBorder":{"radius":true,"__experimentalSkipSerialization":true},"spacing":{"margin":true,"padding":true,"__experimentalSkipSerialization":true},"email":true,"__experimentalSelector":".wp-block-button.wc-block-components-product-button .wc-block-components-product-button__button"},"ancestor":["woocommerce/all-products","woocommerce/single-product","core/post-template","woocommerce/product-template"],"styles":[{"name":"fill","label":"Fill","isDefault":true},{"name":"outline","label":"Outline"}],"apiVersion":3,"$schema":"https://schemas.wp.org/trunk/block.json","viewScriptModule":"woocommerce/product-button","style":"file:../woocommerce/product-button-style.css"}');(0,r.registerBlockType)(le,{apiVersion:3,icon:{src:(0,u.jsx)(s.A,{icon:ce.A,className:"wc-block-editor-components-block-icon"})},attributes:{...le.attributes},edit:({attributes:e,setAttributes:t,context:o})=>{const r=(0,i.useBlockProps)(),{product:s}=T(o?.postId),c=Number.isFinite(o?.queryId),{width:n}=e;return(0,a.useEffect)((()=>t({isDescendentOfQueryLoop:c})),[t,c]),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(i.BlockControls,{children:(0,u.jsx)(i.AlignmentToolbar,{value:e.textAlign,onChange:e=>{t({textAlign:e||""})}})}),(0,u.jsx)(i.InspectorControls,{children:(0,u.jsx)(ae,{selectedWidth:n,setAttributes:t})}),(0,u.jsx)("div",{...r,children:(0,u.jsx)(l.Disabled,{children:(0,u.jsx)(ne.default,{...e,...o,product:{...s,button_text:s?.button_text||""},isAdmin:!0,blockClientId:r?.id,className:(0,x.A)(e.className,{[`has-custom-width wp-block-button__width-${n}`]:n})})})})]})},save:({attributes:e,innerBlocks:t})=>e.isDescendentOfQueryLoop||e.isDescendentOfSingleProductBlock||!t||0===t?.length?null:(0,u.jsx)("div",{...i.useBlockProps.save({className:(0,x.A)("is-loading",e.className,{[`has-custom-width wp-block-button__width-${e.width}`]:e.width})})})});var de=o(65);o(649);const ue=({showDescriptionIfEmpty:e,setAttributes:t})=>{const o=(0,n.__)("Show description if empty","woocommerce"),r=(0,n.__)("Display the product description if it doesn't have a summary","woocommerce");return(0,u.jsx)(l.__experimentalToolsPanelItem,{label:o,hasValue:()=>!0===e,onDeselect:()=>t({showDescriptionIfEmpty:!1}),isShownByDefault:!0,children:(0,u.jsx)(l.ToggleControl,{label:o,help:r,checked:e,onChange:e=>{t({showDescriptionIfEmpty:e})}})})},pe=({summaryLength:e,setAttributes:t})=>{const o=(0,n.__)("Max word count","woocommerce"),r=(0,n.__)("If the content exceeds the word limit, only the first paragraph will be shown. If the content is within the limit, all paragraphs will be displayed. Set to 0 to remove the word limit.","woocommerce");return(0,u.jsx)(l.__experimentalToolsPanelItem,{label:o,hasValue:()=>0!==e,onDeselect:()=>t({summaryLength:0}),isShownByDefault:!0,children:(0,u.jsx)(l.RangeControl,{label:o,help:r,value:e,onChange:e=>{t({summaryLength:e||0})},min:0,max:200,step:1})})},me=({showLink:e,setAttributes:t})=>{const o=(0,n.__)("Link to description","woocommerce"),r=(0,n.__)("Display a button to let shoppers jump to the product's description","woocommerce");return(0,u.jsx)(l.__experimentalToolsPanelItem,{label:o,hasValue:()=>!1===e,onDeselect:()=>t({showLink:!1}),isShownByDefault:!0,children:(0,u.jsx)(l.ToggleControl,{label:o,help:r,checked:e,onChange:e=>{t({showLink:e})}})})},ge=({linkText:e,setAttributes:t})=>(0,u.jsx)("p",{children:(0,u.jsx)(i.RichText,{identifier:"linkToDescrption",className:"wc-block-components-product-summary__more-link",tagName:"a","aria-label":(0,n.__)("“Read more” link text","woocommerce"),placeholder:(0,n.__)('Add "read more" link text',"woocommerce"),value:e,onChange:e=>t({linkText:e}),withoutInteractiveFormatting:!0})});var he=o(7715);const we=(0,n.__)("Product Summary","woocommerce"),_e=(0,u.jsx)(s.A,{icon:he.A,className:"wc-block-editor-components-block-icon"}),xe=(0,n.__)("Display a short description about a product.","woocommerce"),be=JSON.parse('{"name":"woocommerce/product-summary","icon":"page","title":"Product Summary","description":"Display a short description about a product.","category":"woocommerce-product-elements","attributes":{"productId":{"type":"number","default":0},"isDescendentOfQueryLoop":{"type":"boolean","default":false},"isDescendentOfSingleProductTemplate":{"type":"boolean","default":false},"isDescendentOfSingleProductBlock":{"type":"boolean","default":false},"isDescendantOfAllProducts":{"type":"boolean","default":false},"showDescriptionIfEmpty":{"type":"boolean","default":false},"showLink":{"type":"boolean","default":false},"summaryLength":{"type":"number","default":0},"linkText":{"type":"string","default":""}},"supports":{"interactivity":{"clientNavigation":true},"color":{"text":true,"background":true,"link":true},"spacing":{"margin":true,"padding":true},"typography":{"fontSize":true,"lineHeight":true,"textAlign":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"__experimentalDefaultControls":{"fontSize":true}},"__experimentalSelector":".wc-block-components-product-summary"},"ancestor":["woocommerce/all-products","woocommerce/featured-product","woocommerce/single-product","woocommerce/product-template","core/post-template"],"usesContext":["query","queryId","postId"],"keywords":["WooCommerce"],"textdomain":"woocommerce","apiVersion":3,"$schema":"https://schemas.wp.org/trunk/block.json"}');var ye=o(2619);function fe(e,{blockDescription:t,blockIcon:o,blockTitle:s,variationName:c,scope:n}){(0,r.registerBlockVariation)(e,{description:t,name:c,title:s,isActive:e=>e.__woocommerceNamespace===c,icon:{src:o},attributes:{__woocommerceNamespace:c},scope:n})}const ke="woocommerce/product-query/product-summary";fe("core/post-excerpt",{blockDescription:xe,blockIcon:(0,u.jsx)(l.Icon,{icon:he.A}),blockTitle:we,variationName:ke,scope:[]});const ve=`${JSON.parse('{"name":"woocommerce/product-collection"}').name}/product-summary`;function je({children:e,className:t,actionLabel:o,onActionClick:r,...s}){return(0,u.jsx)(l.Notice,{...s,className:(0,x.$)("wc-block-editor-components-upgrade-downgrade-notice",t),actions:[{label:o,onClick:r,noDefaultClasses:!0,variant:"link"}],children:(0,u.jsx)("div",{className:"wc-block-editor-components-upgrade-downgrade-notice__text",children:e})})}o(9969);const Se=({clientId:e})=>{const t=(0,a.createInterpolateElement)((0,n.__)("There's <strongText /> with important fixes and brand new features.","woocommerce"),{strongText:(0,u.jsx)("strong",{children:(0,n.__)("new version of Product Summary","woocommerce")})}),o=(0,n.__)("Upgrade now (just this block)","woocommerce");return(0,u.jsx)(je,{isDismissible:!1,actionLabel:o,onActionClick:()=>{const t=(0,k.select)(i.store).getBlocksByClientId(e);if(t.length){const o=t[0],{excerptLength:s,showMoreOnNewLine:c,moreText:n,...a}=o.attributes,l=(0,r.createBlock)("woocommerce/product-summary",a);(0,k.dispatch)(i.store).replaceBlock(e,l)}},children:t})};(0,ye.addFilter)("editor.BlockEdit","woocommerce-blocks/product-summary-upgrade-notice",(e=>t=>(e=>{const t=e.attributes.__woocommerceNamespace===ke,o=e.attributes.__woocommerceNamespace===ve;return"core/post-excerpt"===e.name&&(t||o)})(t)?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(i.InspectorControls,{children:(0,u.jsx)(Se,{clientId:t.clientId})}),(0,u.jsx)(e,{...t})]}):(0,u.jsx)(e,{...t}))),C({...be,icon:{src:_e},deprecated:[{save:E,migrate:e=>({...e,showDescriptionIfEmpty:!0,summaryLength:150}),isEligible:e=>(0,j.isEmptyObject)(e)}],edit:({attributes:e,context:t,setAttributes:o})=>{const r=(0,i.useBlockProps)(),{showDescriptionIfEmpty:s,showLink:c,summaryLength:d,linkText:p,isDescendantOfAllProducts:m}=e,g=Number.isFinite(t.queryId),{isDescendentOfSingleProductBlock:h}=z({blockClientId:r.id});let{isDescendentOfSingleProductTemplate:w}=I();g&&(w=!1),(0,a.useEffect)((()=>o({isDescendentOfQueryLoop:g,isDescendentOfSingleProductTemplate:w,isDescendentOfSingleProductBlock:h})),[o,g,w,h]);const{product:_}=T(t.postId);return(0,u.jsxs)("div",{...r,children:[(0,u.jsx)(de.default,{isAdmin:!0,...e,product:_}),(0,u.jsx)(i.InspectorControls,{children:(0,u.jsxs)(l.__experimentalToolsPanel,{label:(0,n.__)("Settings","woocommerce"),resetAll:()=>{o({})},children:[(0,u.jsx)(pe,{summaryLength:d,setAttributes:o}),(0,u.jsx)(ue,{showDescriptionIfEmpty:s,setAttributes:o}),!m&&(0,u.jsx)(me,{showLink:c,setAttributes:o})]})}),!m&&c&&(0,u.jsx)(ge,{linkText:p,setAttributes:o})]})},save:E},{isAvailableOnPostEditor:!0});var Ce=o(9771),Ne=o(3848);const Ee=JSON.parse('{"name":"woocommerce/product-sale-badge","title":"On-Sale Badge","description":"Displays an on-sale badge if the product is on-sale.","category":"woocommerce-product-elements","attributes":{"productId":{"type":"number","default":0},"isDescendentOfQueryLoop":{"type":"boolean","default":false},"isDescendentOfSingleProductBlock":{"type":"boolean","default":false},"isDescendentOfSingleProductTemplate":{"type":"boolean","default":false}},"supports":{"interactivity":{"clientNavigation":true},"html":false,"align":true,"color":{"gradients":true,"background":true,"link":false,"__experimentalSkipSerialization":true},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalSkipSerialization":true,"__experimentalLetterSpacing":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true},"__experimentalBorder":{"color":true,"radius":true,"width":true,"__experimentalSkipSerialization":true},"spacing":{"margin":true},"email":true,"__experimentalSelector":".wc-block-components-product-sale-badge"},"ancestor":["woocommerce/single-product","woocommerce/product-template","core/post-template","woocommerce/product-gallery"],"usesContext":["query","queryId","postId"],"keywords":["WooCommerce"],"textdomain":"woocommerce","apiVersion":3,"example":{},"$schema":"https://schemas.wp.org/trunk/block.json"}'),{attributes:Pe}=Ee,Ae=[{attributes:{...Pe,isDescendentOfQueryLoop:{type:"boolean",default:!1},isDescendentOfSingleProductTemplate:{type:"boolean",default:!1}},save:E,apiVersion:3}];C({...Ee,icon:(0,u.jsx)(s.A,{icon:Ce.A,className:"wc-block-editor-components-block-icon"}),edit:({attributes:e,context:t})=>{const o=(0,i.useBlockProps)(),{style:r,...s}=o,{isDescendentOfSingleProductTemplate:c}=I(),n={...e,...t};return(0,u.jsx)("div",{...s,children:(0,u.jsx)(Ne.default,{...n,isDescendentOfSingleProductTemplate:c})})},save:()=>null,deprecated:Ae},{isAvailableOnPostEditor:!0});const Te=(0,u.jsx)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,u.jsx)("path",{d:"M2 6h2v12H2V6m3 0h1v12H5V6m2 0h3v12H7V6m4 0h1v12h-1V6m3 0h2v12h-2V6m3 0h3v12h-3V6m4 0h1v12h-1V6z"})}),Be=JSON.parse('{"name":"woocommerce/product-sku","title":"Product SKU","description":"Displays the SKU of a product.","category":"woocommerce-product-elements","attributes":{"productId":{"type":"number","default":0},"isDescendantOfAllProducts":{"type":"boolean","default":false},"showProductSelector":{"type":"boolean","default":false},"prefix":{"type":"string","default":"SKU:"},"suffix":{"type":"string","default":""}},"usesContext":["query","queryId","postId"],"ancestor":["woocommerce/product-meta","woocommerce/all-products","woocommerce/single-product","woocommerce/product-template","core/post-template"],"supports":{"html":false,"interactivity":{"clientNavigation":true},"color":{"text":true,"background":true},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontWeight":true,"__experimentalFontFamily":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true},"spacing":{"margin":true,"padding":true}},"keywords":["WooCommerce"],"textdomain":"woocommerce","apiVersion":3,"$schema":"https://schemas.wp.org/trunk/block.json"}');var Ie=o(7035),Oe=o(415);const De=e=>{const t=((0,Oe.useProductDataContext)().product||{}).id||e.productId||0;return t&&1!==t?(0,u.jsx)(i.InspectorControls,{children:(0,u.jsxs)("div",{className:"wc-block-single-product__edit-card",children:[(0,u.jsx)("div",{className:"wc-block-single-product__edit-card-title",children:(0,u.jsxs)("a",{href:`${R.ADMIN_URL}post.php?post=${t}&action=edit`,target:"_blank",rel:"noopener noreferrer",children:[(0,n.__)("Edit this product's details","woocommerce"),(0,u.jsx)(s.A,{icon:Ie.A,size:16})]})}),(0,u.jsx)("div",{className:"wc-block-single-product__edit-card-description",children:(0,n.__)("Edit details such as title, price, description and more.","woocommerce")})]})}):null};o(4093);var Le=o(1648);(0,r.registerBlockType)(Be,{icon:(0,u.jsx)(s.A,{icon:Te,className:"wc-block-editor-components-block-icon"}),edit:({attributes:e,setAttributes:t,context:o})=>{const{style:r,...s}=(0,i.useBlockProps)({className:"wc-block-components-product-sku wp-block-woocommerce-product-sku"}),c={...e,...o},n=Number.isFinite(o.queryId);let{isDescendentOfSingleProductTemplate:a}=I();return n&&(a=!1),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(De,{}),(0,u.jsx)("div",{...s,style:e.isDescendantOfAllProducts?void 0:r,children:(0,u.jsx)(Le.default,{...c,setAttributes:t,isDescendentOfSingleProductTemplate:a,isDescendantOfAllProducts:e.isDescendantOfAllProducts})})]})},save:()=>null});var Re=o(6374);const Fe=({attributes:e,context:t})=>{const{style:o,...r}=(0,i.useBlockProps)({className:"wc-block-components-product-stock-indicator"}),s={...e,...t};return(0,u.jsxs)("div",{...r,style:e.isDescendantOfAllProducts?void 0:o,children:[(0,u.jsx)(De,{}),(0,u.jsx)(Re.default,{...s})]})},ze=JSON.parse('{"name":"woocommerce/product-stock-indicator","icon":"info","title":"Product Stock Indicator","description":"Let shoppers know when products are out of stock or on backorder. This block is hidden when products are in stock.","category":"woocommerce-product-elements","attributes":{"isDescendantOfAllProducts":{"type":"boolean","default":false}},"supports":{"html":false,"interactivity":true,"color":{"text":true,"background":true},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontWeight":true,"__experimentalFontFamily":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true},"spacing":{"margin":true,"padding":true}},"ancestor":["woocommerce/all-products","woocommerce/single-product","woocommerce/product-template","core/post-template"],"usesContext":["query","queryId","postId"],"keywords":["WooCommerce"],"textdomain":"woocommerce","apiVersion":3,"$schema":"https://schemas.wp.org/trunk/block.json"}');var Me=o(8471);C({...ze,icon:{src:(0,u.jsx)(s.A,{icon:Me.A,className:"wc-block-editor-components-block-icon"})},edit:e=>(0,u.jsx)(Fe,{...e}),save:()=>null},{isAvailableOnPostEditor:!0});var Ve=o(9784);const $e=({blocks:e,findCondition:t})=>{for(const o of e){if(t(o))return o;if(o.innerBlocks){const e=$e({blocks:o.innerBlocks,findCondition:t});if(e)return e}}},He=JSON.parse('{"name":"woocommerce/product-image-gallery","title":"Product Image Gallery","icon":"gallery","description":"Display a product\'s images.","category":"woocommerce-product-elements","supports":{"interactivity":{"clientNavigation":true},"align":true,"multiple":false},"keywords":["WooCommerce"],"usesContext":["postId","postType","queryId"],"textdomain":"woocommerce","apiVersion":3,"$schema":"https://schemas.wp.org/trunk/block.json"}'),We=({blockClientId:e})=>{const t=(0,a.createInterpolateElement)((0,n.__)("Upgrade to the <strongText /> for more flexibility.","woocommerce"),{strongText:(0,u.jsx)("strong",{children:(0,n.__)("Product Gallery block","woocommerce")})}),o=(0,n.__)("Use the Product Gallery block","woocommerce");return(0,u.jsx)(je,{isDismissible:!1,actionLabel:o,onActionClick:()=>(e=>{const t=(0,k.select)("core/block-editor").getBlocks(),o=$e({blocks:t,findCondition:t=>t.name===He.name&&t.clientId===e});return!!o&&(e=>{const t=(0,r.createBlock)("woocommerce/product-gallery");return(0,k.dispatch)("core/block-editor").replaceBlock(e,t),!0})(o.clientId)})(e),children:t})};o(1986);const qe=()=>(0,u.jsxs)("div",{className:"wc-block-editor-product-gallery",children:[(0,u.jsx)("img",{src:R.PLACEHOLDER_IMG_SRC,alt:"Placeholder"}),(0,u.jsx)("div",{className:"wc-block-editor-product-gallery__other-images",children:[...Array(4).keys()].map((e=>(0,u.jsx)("img",{src:R.PLACEHOLDER_IMG_SRC,alt:"Placeholder"},e)))})]});o(9556);const Ge="woocommerce/product-gallery";C({...He,icon:Ve.A,edit:e=>{const t=(0,i.useBlockProps)();return(0,u.jsxs)("div",{...t,children:[(0,u.jsx)(i.InspectorControls,{children:(0,u.jsx)(We,{blockClientId:e.clientId})}),(0,u.jsx)(l.Disabled,{children:(0,u.jsx)(qe,{})})]})},transforms:{to:[{type:"block",blocks:[Ge],transform:()=>(0,r.createBlock)(Ge)}]}},{isAvailableOnPostEditor:!1});const Qe=(0,u.jsx)(d.SVG,{xmlns:"http://www.w3.org/2000/SVG",viewBox:"0 0 24 24",children:(0,u.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 19.375L4.5 7.625C4.5 7.55596 4.55596 7.5 4.625 7.5L16.375 7.5C16.444 7.5 16.5 7.55596 16.5 7.625L16.5 19.375C16.5 19.444 16.444 19.5 16.375 19.5L4.625 19.5C4.55596 19.5 4.5 19.444 4.5 19.375ZM4.625 21C3.72754 21 3 20.2725 3 19.375L3 7.625C3 6.72754 3.72754 6 4.625 6L16.375 6C17.2725 6 18 6.72754 18 7.625L18 19.375C18 20.2725 17.2725 21 16.375 21L4.625 21ZM19 3.75L8 3.75L8 2.25L19 2.25C20.5183 2.25 21.75 3.4796 21.75 4.99891L21.75 18L20.25 18L20.25 4.99891C20.25 4.30909 19.6909 3.75 19 3.75Z"})}),Ue="woocommerce/product-query/product-title";fe("core/post-title",{blockDescription:f.description,blockIcon:(0,u.jsx)(l.Icon,{icon:b.A}),blockTitle:f.title,variationName:Ue,scope:["block"]});var Ye=o(5534);const Je="woocommerce/product-query/product-template";fe("core/post-template",{blockDescription:(0,n.__)("Contains the block elements used to render a product, like its name, featured image, rating, and more.","woocommerce"),blockIcon:(0,u.jsx)(l.Icon,{icon:Ye.A}),blockTitle:(0,n.__)("Product template","woocommerce"),variationName:Je,scope:["block","inserter"]});const Ke=(0,R.getSetting)("stockStatusOptions",[]),Xe=((0,R.getSetting)("hideOutOfStockItems",!1)?Object.keys(function(e,t){const{[t]:o,...r}=e;return r}(Ke,"outofstock")):Object.keys(Ke),(0,R.getSettingWithCoercion)("postTemplateHasSupportForGridView",!1,j.isBoolean),M.e.THUMBNAIL,"woocommerce/related-products"),Ze={namespace:Xe,allowedControls:[],displayLayout:{type:"flex",columns:5},query:{perPage:5,pages:0,offset:0,postType:"product",order:"asc",orderBy:"title",author:"",search:"",exclude:[],sticky:"",inherit:!1},lock:{remove:!0,move:!0}},et=(0,R.getSettingWithCoercion)("postTemplateHasSupportForGridView",!1,j.isBoolean),tt=[["core/heading",{level:2,content:(0,n.__)("Related products","woocommerce"),style:{spacing:{margin:{top:"1rem",bottom:"1rem"}}}}],["core/post-template",{__woocommerceNamespace:Je,...et&&{layout:{type:"grid",columnCount:5}}},[["woocommerce/product-image",{productId:0,imageSizing:"cropped"}],["core/post-title",{textAlign:"center",level:3,fontSize:"medium",isLink:!0,__woocommerceNamespace:Ue},[]],["woocommerce/product-price",{textAlign:"center",fontSize:"small",style:{spacing:{margin:{bottom:"1rem"}}}},[]],["woocommerce/product-button",{textAlign:"center",fontSize:"small",style:{spacing:{margin:{bottom:"1rem"}}}},[]]]]],ot={name:"core/query",description:(0,n.__)("Display related products.","woocommerce"),title:(0,n.__)("Related Products Controls","woocommerce"),isActive:e=>e.namespace===Xe,icon:(0,u.jsx)(l.Icon,{icon:Qe,className:"wc-block-editor-components-block-icon wc-block-editor-components-block-icon--stacks"}),attributes:Ze,allowedControls:[],innerBlocks:tt,scope:["block"]};C(ot,{isVariationBlock:!0,variationName:Xe,isAvailableOnPostEditor:!1}),o(752);C({...JSON.parse('{"name":"woocommerce/related-products","title":"Related Products","icon":"product","description":"Display related products.","category":"woocommerce","supports":{"interactivity":{"clientNavigation":true},"align":true,"reusable":false,"inserter":false},"keywords":["WooCommerce"],"usesContext":["postId","postType","queryId"],"textdomain":"woocommerce","apiVersion":3,"$schema":"https://schemas.wp.org/trunk/block.json"}'),icon:{src:Me.A},edit:()=>{const e=[["core/query",Ze,tt]],t=(0,i.useBlockProps)();return(0,u.jsxs)("div",{...t,children:[(0,u.jsx)(i.InspectorControls,{children:(0,u.jsx)(l.Notice,{className:"wc-block-editor-related-products__notice",status:"warning",isDismissible:!1,children:(0,u.jsx)("p",{children:(0,n.__)("These products will vary depending on the main product in the page","woocommerce")})})}),(0,u.jsx)(i.InnerBlocks,{template:e})]})},save:()=>{const e=i.useBlockProps.save();return(0,u.jsx)("div",{...e,children:(0,u.jsx)(i.InnerBlocks.Content,{})})},isAvailableOnPostEditor:!1},{isAvailableOnPostEditor:!1});const rt=(0,u.jsxs)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,u.jsx)("path",{id:"icon/action/view_list_24px",fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M5 5.5H19C19.1326 5.5 19.2598 5.55268 19.3536 5.64645C19.4473 5.74021 19.5 5.86739 19.5 6V7.5C19.5 7.63261 19.4473 7.75979 19.3536 7.85355C19.2598 7.94732 19.1326 8 19 8H5C4.86739 8 4.74021 7.94732 4.64645 7.85355C4.55268 7.75979 4.5 7.63261 4.5 7.5V6C4.5 5.86739 4.55268 5.74021 4.64645 5.64645C4.74021 5.55268 4.86739 5.5 5 5.5V5.5ZM4 9.232C3.69597 9.05647 3.4435 8.804 3.26796 8.49997C3.09243 8.19594 3.00001 7.85106 3 7.5V6C3 5.46957 3.21071 4.96086 3.58579 4.58579C3.96086 4.21071 4.46957 4 5 4H19C19.5304 4 20.0391 4.21071 20.4142 4.58579C20.7893 4.96086 21 5.46957 21 6V7.5C21 7.85106 20.9076 8.19594 20.732 8.49997C20.5565 8.804 20.304 9.05647 20 9.232V18C20 18.5304 19.7893 19.0391 19.4142 19.4142C19.0391 19.7893 18.5304 20 18 20H6C5.46957 20 4.96086 19.7893 4.58579 19.4142C4.21071 19.0391 4 18.5304 4 18V9.232ZM5.5 9.5V18C5.5 18.1326 5.55268 18.2598 5.64645 18.3536C5.74021 18.4473 5.86739 18.5 6 18.5H18C18.1326 18.5 18.2598 18.4473 18.3536 18.3536C18.4473 18.2598 18.5 18.1326 18.5 18V9.5H5.5Z"}),(0,u.jsx)("circle",{cx:"9",cy:"14",r:"1"}),(0,u.jsx)("circle",{cx:"12",cy:"14",r:"1"}),(0,u.jsx)("circle",{cx:"15",cy:"14",r:"1"})]});o(9835);C({...JSON.parse('{"name":"woocommerce/product-meta","title":"Product Meta","icon":"product","description":"Display a product’s SKU, categories, tags, and more.","category":"woocommerce-product-elements","supports":{"interactivity":{"clientNavigation":true},"align":true,"reusable":false},"keywords":["WooCommerce"],"usesContext":["postId","postType","queryId"],"textdomain":"woocommerce","apiVersion":3,"$schema":"https://schemas.wp.org/trunk/block.json"}'),icon:{src:(0,u.jsx)(s.A,{icon:rt,className:"wc-block-editor-components-block-icon"})},edit:()=>{const e=[["core/group",{layout:{type:"flex",flexWrap:"nowrap"}},[["woocommerce/product-sku"],["core/post-terms",{prefix:(0,n.__)("Category: ","woocommerce"),term:"product_cat"}],["core/post-terms",{prefix:(0,n.__)("Tags: ","woocommerce"),term:"product_tag"}]]]],t=(0,i.useBlockProps)();return(0,u.jsx)("div",{...t,children:(0,u.jsx)(i.InnerBlocks,{template:e})})},save:()=>{const e=i.useBlockProps.save();return(0,u.jsx)("div",{...e,children:(0,u.jsx)(i.InnerBlocks.Content,{})})},ancestor:["woocommerce/single-product"]},{isAvailableOnPostEditor:!0});const st=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"textdomain":"woocommerce","name":"woocommerce/all-products","title":"All Products","category":"woocommerce","keywords":["WooCommerce"],"description":"Display products from your store in a grid layout.","supports":{"interactivity":{"clientNavigation":false},"align":["wide","full"],"html":false,"multiple":false,"inserter":false},"attributes":{"columns":{"type":"number"},"rows":{"type":"number"},"alignButtons":{"type":"boolean"},"contentVisibility":{"type":"object"},"orderby":{"type":"string"},"layoutConfig":{"type":"array"},"isPreview":{"type":"boolean","default":false}}}'),ct=(e,t)=>{const{className:o,contentVisibility:r}=t;return(0,x.A)(e,o,{"has-image":r&&r.image,"has-title":r&&r.title,"has-rating":r&&r.rating,"has-price":r&&r.price,"has-button":r&&r.button})},{attributes:nt}=st,it=[{attributes:Object.assign({},nt,{rows:{type:"number",default:1}}),save({attributes:e}){const t={"data-attributes":JSON.stringify(e)};return(0,u.jsx)("div",{className:ct("wc-block-all-products",e),...t,children:(0,u.jsx)(i.InnerBlocks.Content,{})})}}];var at=o(9491);const lt=window.wc.wcBlocksRegistry;o.p=P.XK,(0,lt.registerBlockComponent)({blockName:"woocommerce/product-price",component:(0,a.lazy)((()=>Promise.all([o.e(94),o.e(2388)]).then(o.bind(o,1308))))}),(0,lt.registerBlockComponent)({blockName:"woocommerce/product-image",component:(0,a.lazy)((()=>Promise.all([o.e(94),o.e(4232)]).then(o.bind(o,933))))}),(0,lt.registerBlockComponent)({blockName:"woocommerce/product-title",component:(0,a.lazy)((()=>Promise.all([o.e(94),o.e(2105)]).then(o.bind(o,5168))))}),(0,lt.registerBlockComponent)({blockName:"woocommerce/product-rating",component:(0,a.lazy)((()=>Promise.all([o.e(94),o.e(462)]).then(o.bind(o,9812))))}),(0,lt.registerBlockComponent)({blockName:"woocommerce/product-rating-stars",component:(0,a.lazy)((()=>Promise.all([o.e(94),o.e(8578)]).then(o.bind(o,7220))))}),(0,lt.registerBlockComponent)({blockName:"woocommerce/product-rating-counter",component:(0,a.lazy)((()=>Promise.all([o.e(94),o.e(8553)]).then(o.bind(o,9147))))}),(0,lt.registerBlockComponent)({blockName:"woocommerce/product-average-rating",component:(0,a.lazy)((()=>Promise.all([o.e(94),o.e(8647)]).then(o.bind(o,4514))))}),(0,lt.registerBlockComponent)({blockName:"woocommerce/product-button",component:(0,a.lazy)((()=>Promise.all([o.e(94),o.e(7409)]).then(o.bind(o,595))))}),(0,lt.registerBlockComponent)({blockName:"woocommerce/product-summary",component:(0,a.lazy)((()=>Promise.all([o.e(94),o.e(3895)]).then(o.bind(o,65))))}),(0,lt.registerBlockComponent)({blockName:"woocommerce/product-sale-badge",component:(0,a.lazy)((()=>Promise.all([o.e(94),o.e(4442)]).then(o.bind(o,3848))))}),(0,lt.registerBlockComponent)({blockName:"woocommerce/product-sku",component:(0,a.lazy)((()=>Promise.all([o.e(94),o.e(2724)]).then(o.bind(o,1648))))}),(0,lt.registerBlockComponent)({blockName:"woocommerce/product-stock-indicator",component:(0,a.lazy)((()=>Promise.all([o.e(94),o.e(345)]).then(o.bind(o,6374))))});const dt=e=>(0,lt.getRegisteredBlockComponents)(e),ut=(e,t,o)=>o?Math.min(e,t)===e?t:Math.max(e,o)===e?o:e:Math.max(e,t)===t?e:t,pt=({columns:e,rows:t,setAttributes:o,alignButtons:r,minColumns:s=1,maxColumns:c=6,minRows:i=1,maxRows:a=6})=>(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(l.RangeControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,label:(0,n.__)("Columns","woocommerce"),value:e,onChange:e=>{const t=ut(e,s,c);o({columns:Number.isNaN(t)?"":t})},min:s,max:c}),(0,u.jsx)(l.RangeControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,label:(0,n.__)("Rows","woocommerce"),value:t,onChange:e=>{const t=ut(e,i,a);o({rows:Number.isNaN(t)?"":t})},min:i,max:a}),(0,u.jsx)(l.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,n.__)("Align the last block to the bottom","woocommerce"),help:r?(0,n.__)("Align the last block to the bottom.","woocommerce"):(0,n.__)("The last inner block will follow other content.","woocommerce"),checked:r,onChange:()=>o({alignButtons:!r})})]}),mt=[{id:1,name:"WordPress Pennant",variation:"",permalink:"https://example.org",sku:"wp-pennant",short_description:(0,n.__)("Fly your WordPress banner with this beauty! Deck out your office space or add it to your kids walls. This banner will spruce up any space it’s hung!","woocommerce"),description:"Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.",price:"7.99",price_html:'<span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">$</span>7.99</span>',images:[{id:1,src:P.sW+"previews/pennant.jpg",thumbnail:P.sW+"previews/pennant.jpg",name:"pennant-1.jpg",alt:"WordPress Pennant",srcset:"",sizes:""}],average_rating:5,categories:[{id:1,name:"Decor",slug:"decor",link:"https://example.org"}],review_count:1,prices:{currency_code:"GBP",decimal_separator:".",thousand_separator:",",decimals:2,price_prefix:"£",price_suffix:"",price:"7.99",regular_price:"9.99",sale_price:"7.99",price_range:null},add_to_cart:{text:(0,n.__)("Add to cart","woocommerce"),description:(0,n.__)("Add to cart","woocommerce")},has_options:!1,is_purchasable:!0,is_in_stock:!0,on_sale:!0}],gt=[["woocommerce/product-image",{imageSizing:M.e.THUMBNAIL}],["woocommerce/product-title"],["woocommerce/product-price"],["woocommerce/product-rating"],["woocommerce/product-button"]],ht=e=>e&&0!==e.length?e.map((e=>[e.name,{...e.attributes,product:void 0,children:e.innerBlocks.length>0?ht(e.innerBlocks):[],...e.name===le.name&&{className:(0,x.A)(e.attributes.className,{[`has-custom-width wp-block-button__width-${e.attributes?.width}`]:e.attributes?.width})},isDescendantOfAllProducts:!0}])):[],wt=(e,t)=>{const{contentVisibility:o}=e;return(0,u.jsx)(l.ToggleControl,{label:(0,n.__)("Show Sorting Dropdown","woocommerce"),checked:o.orderBy,onChange:()=>t({contentVisibility:{...o,orderBy:!o.orderBy}})})},_t=(e,t)=>(0,u.jsx)(l.SelectControl,{label:(0,n.__)("Order Products By","woocommerce"),value:e.orderby,options:[{label:(0,n.__)("Default sorting (menu order)","woocommerce"),value:"menu_order"},{label:(0,n.__)("Popularity","woocommerce"),value:"popularity"},{label:(0,n.__)("Average rating","woocommerce"),value:"rating"},{label:(0,n.__)("Latest","woocommerce"),value:"date"},{label:(0,n.__)("Price: low to high","woocommerce"),value:"price"},{label:(0,n.__)("Price: high to low","woocommerce"),value:"price-desc"}],onChange:e=>t({orderby:e})});var xt=o(1824),bt=o.n(xt),yt=o(4656);o(8714);const ft=({currentPage:e,displayFirstAndLastPages:t=!0,displayNextAndPreviousArrows:o=!0,pagesToDisplay:r=3,onPageChange:s,totalPages:c})=>{let{minIndex:i,maxIndex:a}=((e,t,o)=>{if(o<=2)return{minIndex:null,maxIndex:null};const r=e-1,s=Math.max(Math.floor(t-r/2),2),c=Math.min(Math.ceil(t+(r-(t-s))),o-1);return{minIndex:Math.max(Math.floor(t-(r-(c-t))),2),maxIndex:c}})(r,e,c);const l=t&&Boolean(1!==i),d=t&&Boolean(a!==c),p=t&&Boolean(i&&i>3),m=t&&Boolean(a&&a<c-2);l&&3===i&&(i-=1),d&&a===c-2&&(a+=1);const g=[];if(i&&a)for(let e=i;e<=a;e++)g.push(e);return(0,u.jsxs)("div",{className:"wc-block-pagination wc-block-components-pagination",children:[(0,u.jsx)(yt.Label,{screenReaderLabel:(0,n.__)("Navigate to another page","woocommerce")}),o&&(0,u.jsx)("button",{className:"wc-block-pagination-page wc-block-components-pagination__page wc-block-components-pagination-page--arrow",onClick:()=>s(e-1),title:(0,n.__)("Previous page","woocommerce"),disabled:e<=1,children:(0,u.jsx)(yt.Label,{label:"←",screenReaderLabel:(0,n.__)("Previous page","woocommerce")})}),l&&(0,u.jsx)("button",{className:(0,x.A)("wc-block-pagination-page","wc-block-components-pagination__page",{"wc-block-pagination-page--active":1===e,"wc-block-components-pagination__page--active":1===e}),onClick:()=>s(1),disabled:1===e,children:(0,u.jsx)(yt.Label,{label:"1",screenReaderLabel:(0,n.sprintf)(/* translators: %d is the page number (1, 2, 3...). */ /* translators: %d is the page number (1, 2, 3...). */ (0,n.__)("Page %d","woocommerce"),1)})}),p&&(0,u.jsx)("span",{className:"wc-block-pagination-ellipsis wc-block-components-pagination__ellipsis","aria-hidden":"true",children:(0,n.__)("…","woocommerce")}),g.map((t=>(0,u.jsx)("button",{className:(0,x.A)("wc-block-pagination-page","wc-block-components-pagination__page",{"wc-block-pagination-page--active":e===t,"wc-block-components-pagination__page--active":e===t}),onClick:e===t?void 0:()=>s(t),disabled:e===t,children:(0,u.jsx)(yt.Label,{label:t.toString(),screenReaderLabel:(0,n.sprintf)(/* translators: %d is the page number (1, 2, 3...). */ /* translators: %d is the page number (1, 2, 3...). */ (0,n.__)("Page %d","woocommerce"),t)})},t))),m&&(0,u.jsx)("span",{className:"wc-block-pagination-ellipsis wc-block-components-pagination__ellipsis","aria-hidden":"true",children:(0,n.__)("…","woocommerce")}),d&&(0,u.jsx)("button",{className:(0,x.A)("wc-block-pagination-page","wc-block-components-pagination__page",{"wc-block-pagination-page--active":e===c,"wc-block-components-pagination__page--active":e===c}),onClick:()=>s(c),disabled:e===c,children:(0,u.jsx)(yt.Label,{label:c.toString(),screenReaderLabel:(0,n.sprintf)(/* translators: %d is the page number (1, 2, 3...). */ /* translators: %d is the page number (1, 2, 3...). */ (0,n.__)("Page %d","woocommerce"),c)})}),o&&(0,u.jsx)("button",{className:"wc-block-pagination-page wc-block-components-pagination__page wc-block-components-pagination-page--arrow",onClick:()=>s(e+1),title:(0,n.__)("Next page","woocommerce"),disabled:e>=c,children:(0,u.jsx)(yt.Label,{label:"→",screenReaderLabel:(0,n.__)("Next page","woocommerce")})})]})};function kt(e,t){const o=(0,a.useRef)();return(0,a.useEffect)((()=>{o.current===e||t&&!t(e,o.current)||(o.current=e)}),[e,t]),o.current}var vt=o(7594),jt=o(923),St=o.n(jt);function Ct(e){const t=(0,a.useRef)(e);return St()(e,t.current)||(t.current=e),t.current}const Nt=(0,a.createContext)("page"),Et=()=>(0,a.useContext)(Nt),Pt=(Nt.Provider,(e,t,o)=>{const r=Et();o=o||r;const s=(0,k.useSelect)((r=>r(vt.QUERY_STATE_STORE_KEY).getValueForQueryKey(o,e,t)),[o,e]),{setQueryValue:c}=(0,k.useDispatch)(vt.QUERY_STATE_STORE_KEY);return[s,(0,a.useCallback)((t=>{c(o,e,t)}),[o,e,c])]}),At=e=>{const t={namespace:"/wc/store/v1",resourceName:"products"},{results:o,isLoading:r}=(e=>{const{namespace:t,resourceName:o,resourceValues:r=[],query:s={},shouldSelect:c=!0}=e;if(!t||!o)throw new Error("The options object must have valid values for the namespace and the resource properties.");const n=(0,a.useRef)({results:[],isLoading:!0}),i=Ct(s),l=Ct(r),d=(()=>{const[,e]=(0,a.useState)();return(0,a.useCallback)((t=>{e((()=>{throw t}))}),[])})(),u=(0,k.useSelect)((e=>{if(!c)return null;const r=e(vt.COLLECTIONS_STORE_KEY),s=[t,o,i,l],n=r.getCollectionError(...s);if(n){if(!(0,j.isError)(n))throw new Error("TypeError: `error` object is not an instance of Error constructor");d(n)}return{results:r.getCollection(...s),isLoading:!r.hasFinishedResolution("getCollection",s)}}),[t,o,l,i,c,d]);return null!==u&&(n.current=u),n.current})({...t,query:e}),{value:s}=((e,t)=>{const{namespace:o,resourceName:r,resourceValues:s=[],query:c={}}=t;if(!o||!r)throw new Error("The options object must have valid values for the namespace and the resource name properties.");const n=Ct(c),i=Ct(s),{value:a,isLoading:l=!0}=(0,k.useSelect)((t=>{const s=t(vt.COLLECTIONS_STORE_KEY),c=[e,o,r,n,i];return{value:s.getCollectionHeader(...c),isLoading:s.hasFinishedResolution("getCollectionHeader",c)}}),[e,o,r,i,n]);return{value:a,isLoading:l}})("x-wp-total",{...t,query:e});return{products:o,totalProducts:parseInt(s,10),productsLoading:r}};var Tt=o(7052);o(7525);const Bt=e=>{if(!e)return;const t=e.getBoundingClientRect().bottom;t>=0&&t<=window.innerHeight||e.scrollIntoView()};var It=o(195),Ot=o(2098);const Dt=()=>{const{parentClassName:e}=(0,Oe.useInnerBlockLayoutContext)();return(0,u.jsxs)("div",{className:`${e}__no-products`,children:[(0,u.jsx)(s.A,{className:`${e}__no-products-image`,icon:Ot.A,size:100}),(0,u.jsx)("strong",{className:`${e}__no-products-title`,children:(0,n.__)("No products","woocommerce")}),(0,u.jsx)("p",{className:`${e}__no-products-description`,children:(0,n.__)("There are currently no products available to display.","woocommerce")})]})};var Lt=o(428);const Rt=({resetCallback:e=()=>{}})=>{const{parentClassName:t}=(0,Oe.useInnerBlockLayoutContext)();return(0,u.jsxs)("div",{className:`${t}__no-products`,children:[(0,u.jsx)(s.A,{className:`${t}__no-products-image`,icon:Lt.A,size:100}),(0,u.jsx)("strong",{className:`${t}__no-products-title`,children:(0,n.__)("No products found","woocommerce")}),(0,u.jsx)("p",{className:`${t}__no-products-description`,children:(0,n.__)("We were unable to find any results based on your search.","woocommerce")}),(0,u.jsx)("button",{onClick:e,children:(0,n.__)("Reset Search","woocommerce")})]})};o(6854);const Ft=({onChange:e,value:t})=>(0,u.jsx)(yt.SortSelect,{className:"wc-block-product-sort-select wc-block-components-product-sort-select",onChange:e,options:[{key:"menu_order",label:(0,n.__)("Default sorting","woocommerce")},{key:"popularity",label:(0,n.__)("Popularity","woocommerce")},{key:"rating",label:(0,n.__)("Average rating","woocommerce")},{key:"date",label:(0,n.__)("Latest","woocommerce")},{key:"price",label:(0,n.__)("Price: low to high","woocommerce")},{key:"price-desc",label:(0,n.__)("Price: high to low","woocommerce")}],screenReaderLabel:(0,n.__)("Order products by","woocommerce"),value:t}),zt=(e,t,o,r)=>{if(!o)return;const s=dt(e);return o.map((([o,c={}],n)=>{let i=[];c.children&&c.children.length>0&&(i=zt(e,t,c.children,r));const l=s[o];if(!l)return null;const d=t.id||0,p=["layout",o,n,r,d];return(0,u.jsx)(a.Suspense,{fallback:(0,u.jsx)("div",{className:"wc-block-placeholder"}),children:(0,u.jsx)(l,{...c,children:i,product:t})},p.join("_"))}))},Mt=(0,at.withInstanceId)((({product:e={},attributes:t,instanceId:o})=>{const{layoutConfig:r}=t,{parentClassName:s,parentName:c}=(0,Oe.useInnerBlockLayoutContext)(),n=0===Object.keys(e).length,i=(0,x.A)(`${s}__product`,"wc-block-layout",{"is-loading":n});return(0,u.jsx)("li",{className:i,"aria-hidden":n,children:zt(c,e,r,o)})}));o(3320);const Vt=e=>{switch(e){case"menu_order":case"popularity":case"rating":case"price":return{orderby:e,order:"asc"};case"price-desc":return{orderby:"price",order:"desc"};case"date":return{orderby:"date",order:"desc"}}},$t=({totalQuery:e,totalProducts:t},{totalQuery:o}={})=>!bt()(e,o)&&Number.isFinite(t),Ht=(Gt=({attributes:e,currentPage:t,onPageChange:o,onSortChange:r,sortValue:s,scrollToTop:c})=>{const[i,l]=Pt("attributes",[]),[d,p]=Pt("stock_status",[]),[m,g]=Pt("rating",[]),[h,w]=Pt("min_price"),[_,b]=Pt("max_price"),[y]=((e,t)=>{const o=Et();t=t||o;const[r,s]=(e=>{const t=Et();e=e||t;const o=(0,k.useSelect)((t=>t(vt.QUERY_STATE_STORE_KEY).getValueForQueryContext(e,void 0)),[e]),{setValueForQueryContext:r}=(0,k.useDispatch)(vt.QUERY_STATE_STORE_KEY);return[o,(0,a.useCallback)((t=>{r(e,t)}),[e,r])]})(t),c=Ct(r),n=Ct(e),i=kt(n),l=(0,a.useRef)(!1);return(0,a.useEffect)((()=>{St()(i,n)||(s(Object.assign({},c,n)),l.current=!0)}),[c,n,i,s]),l.current?[r,s]:[e,s]})((({sortValue:e,currentPage:t,attributes:o})=>{const{columns:r,rows:s}=o;return{...Vt(e),catalog_visibility:"catalog",per_page:r*s,page:t}})({attributes:e,sortValue:s,currentPage:t})),{products:f,totalProducts:v,productsLoading:j}=At(y),{parentClassName:S,parentName:C}=(0,Oe.useInnerBlockLayoutContext)(),N=(e=>{const{order:t,orderby:o,page:r,per_page:s,...c}=e;return c||{}})(y),{dispatchStoreEvent:E}=(0,Tt.y)(),P=kt({totalQuery:N,totalProducts:v},$t);(0,a.useEffect)((()=>{E("product-list-render",{products:f,listName:C})}),[f,C,E]),(0,a.useEffect)((()=>{bt()(N,P?.totalQuery)||(o(1),P?.totalQuery&&(e=>{Number.isFinite(e)&&(0===e?(0,It.speak)((0,n.__)("No products found","woocommerce")):(0,It.speak)((0,n.sprintf)(/* translators: %s is an integer higher than 0 (1, 2, 3...) */ /* translators: %s is an integer higher than 0 (1, 2, 3...) */ (0,n._n)("%d product found","%d products found",e,"woocommerce"),e)))})(v))}),[P?.totalQuery,v,o,N]);const{contentVisibility:A}=e,T=e.columns*e.rows,B=!Number.isFinite(v)&&Number.isFinite(P?.totalProducts)&&bt()(N,P?.totalQuery)?Math.ceil((P?.totalProducts||0)/T):Math.ceil(v/T),I=f.length?f:Array.from({length:T}),O=0!==f.length||j,D=i.length>0||d.length>0||m.length>0||Number.isFinite(h)||Number.isFinite(_);return(0,u.jsxs)("div",{className:(()=>{const{columns:t,rows:o,alignButtons:r,align:s}=e,c=void 0!==s?"align"+s:"";return(0,x.A)(S,c,"has-"+t+"-columns",{"has-multiple-rows":o>1,"has-aligned-buttons":r})})(),children:[A?.orderBy&&O&&(0,u.jsx)(Ft,{onChange:r,value:s}),!O&&D&&(0,u.jsx)(Rt,{resetCallback:()=>{l([]),p([]),g([]),w(null),b(null)}}),!O&&!D&&(0,u.jsx)(Dt,{}),O&&(0,u.jsx)("ul",{className:(0,x.A)(`${S}__products`,{"is-loading-products":j}),children:I.map(((t={},o)=>(0,u.jsx)(Mt,{attributes:e,product:t},t.id||o)))}),B>1&&(0,u.jsx)(ft,{currentPage:t,onPageChange:e=>{c({focusableSelector:"a, button"}),o(e)},totalPages:B})]})},e=>{const t=(0,a.useRef)(null);return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{className:"with-scroll-to-top__scroll-point",ref:t,"aria-hidden":!0}),(0,u.jsx)(Gt,{...e,scrollToTop:e=>{null!==t.current&&((e,t)=>{const{focusableSelector:o}=t||{};window&&Number.isFinite(window.innerHeight)&&(o?((e,t)=>{const o=e.parentElement?.querySelectorAll(t)||[];if(o.length){const e=o[0];Bt(e),e?.focus()}else Bt(e)})(e,o):Bt(e))})(t.current,e)}})]})}),Wt=({attributes:e})=>{const[t,o]=(0,a.useState)(1),[r,s]=(0,a.useState)(e.orderby);return(0,a.useEffect)((()=>{s(e.orderby)}),[e.orderby]),(0,u.jsx)(Ht,{attributes:e,currentPage:t,onPageChange:e=>{o(e)},onSortChange:e=>{const t=e?.target?.value;s(t),o(1)},sortValue:r})},qt=(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 230 250",style:{width:"100%"},children:[(0,u.jsx)("title",{children:"Grid Block Preview"}),(0,u.jsx)("rect",{width:"65.374",height:"65.374",x:".162",y:".779",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"47.266",height:"5.148",x:"9.216",y:"76.153",fill:"#E1E3E6",rx:"2.574"}),(0,u.jsx)("rect",{width:"62.8",height:"15",x:"1.565",y:"101.448",fill:"#E1E3E6",rx:"5"}),(0,u.jsx)("rect",{width:"65.374",height:"65.374",x:".162",y:"136.277",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"47.266",height:"5.148",x:"9.216",y:"211.651",fill:"#E1E3E6",rx:"2.574"}),(0,u.jsx)("rect",{width:"62.8",height:"15",x:"1.565",y:"236.946",fill:"#E1E3E6",rx:"5"}),(0,u.jsx)("rect",{width:"65.374",height:"65.374",x:"82.478",y:".779",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"47.266",height:"5.148",x:"91.532",y:"76.153",fill:"#E1E3E6",rx:"2.574"}),(0,u.jsx)("rect",{width:"62.8",height:"15",x:"83.882",y:"101.448",fill:"#E1E3E6",rx:"5"}),(0,u.jsx)("rect",{width:"65.374",height:"65.374",x:"82.478",y:"136.277",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"47.266",height:"5.148",x:"91.532",y:"211.651",fill:"#E1E3E6",rx:"2.574"}),(0,u.jsx)("rect",{width:"62.8",height:"15",x:"83.882",y:"236.946",fill:"#E1E3E6",rx:"5"}),(0,u.jsx)("rect",{width:"65.374",height:"65.374",x:"164.788",y:".779",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"47.266",height:"5.148",x:"173.843",y:"76.153",fill:"#E1E3E6",rx:"2.574"}),(0,u.jsx)("rect",{width:"62.8",height:"15",x:"166.192",y:"101.448",fill:"#E1E3E6",rx:"5"}),(0,u.jsx)("rect",{width:"65.374",height:"65.374",x:"164.788",y:"136.277",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"47.266",height:"5.148",x:"173.843",y:"211.651",fill:"#E1E3E6",rx:"2.574"}),(0,u.jsx)("rect",{width:"62.8",height:"15",x:"166.192",y:"236.946",fill:"#E1E3E6",rx:"5"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"13.283",y:"86.301",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"21.498",y:"86.301",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"29.713",y:"86.301",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"37.927",y:"86.301",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"46.238",y:"86.301",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"95.599",y:"86.301",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"103.814",y:"86.301",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"112.029",y:"86.301",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"120.243",y:"86.301",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"128.554",y:"86.301",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"177.909",y:"86.301",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"186.124",y:"86.301",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"194.339",y:"86.301",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"202.553",y:"86.301",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"210.864",y:"86.301",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"13.283",y:"221.798",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"21.498",y:"221.798",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"29.713",y:"221.798",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"37.927",y:"221.798",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"46.238",y:"221.798",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"95.599",y:"221.798",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"103.814",y:"221.798",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"112.029",y:"221.798",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"120.243",y:"221.798",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"128.554",y:"221.798",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"177.909",y:"221.798",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"186.124",y:"221.798",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"194.339",y:"221.798",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"202.553",y:"221.798",fill:"#E1E3E6",rx:"3"}),(0,u.jsx)("rect",{width:"6.177",height:"6.177",x:"210.864",y:"221.798",fill:"#E1E3E6",rx:"3"})]});var Gt;class Qt extends a.Component{render(){const{attributes:e,urlParameterSuffix:t}=this.props;return e.isPreview?qt:(0,u.jsxs)(Oe.InnerBlockLayoutContextProvider,{parentName:"woocommerce/all-products",parentClassName:"wc-block-grid",children:[(0,u.jsx)(yt.StoreNoticesContainer,{context:"wc/all-products"}),(0,u.jsx)(Wt,{attributes:e,urlParameterSuffix:t})]})}}const Ut=Qt;o(4695);const Yt=dt("woocommerce/all-products"),Jt=(0,u.jsx)(s.A,{icon:c.A}),Kt=(0,at.compose)(l.withSpokenMessages,(0,k.withSelect)(((e,{clientId:t})=>{const{getBlock:o}=e("core/block-editor");return{block:o(t)}})),(0,k.withDispatch)((e=>{const{replaceInnerBlocks:t}=e("core/block-editor");return{replaceInnerBlocks:t}})))((({block:e,attributes:t,setAttributes:o,debouncedSpeak:d,replaceInnerBlocks:p})=>{const[m,g]=(0,a.useState)(!1),[h,w]=(0,a.useState)([]),_=(0,i.useBlockProps)({className:ct("wc-block-all-products",t)});if(0===P.r7.productCount)return((e,t)=>(0,u.jsxs)(l.Placeholder,{className:"wc-block-products",icon:t,label:e,children:[(0,u.jsx)("p",{children:(0,n.__)("You haven't published any products to list here yet.","woocommerce")}),(0,u.jsxs)(l.Button,{className:"wc-block-products__add-product-button",variant:"secondary",href:R.ADMIN_URL+"post-new.php?post_type=product",target:"_top",children:[(0,n.__)("Add new product","woocommerce")+" ",(0,u.jsx)(s.A,{icon:Ie.A})]}),(0,u.jsx)(l.Button,{className:"wc-block-products__read_more_button",variant:"tertiary",href:"https://woocommerce.com/document/managing-products/",target:"_blank",children:(0,n.__)("Learn more","woocommerce")})]}))(st.title,(0,u.jsx)(s.A,{icon:c.A}));const x=()=>{g(!m),m||d((0,n.__)("Showing All Products block preview.","woocommerce"))};return(0,u.jsxs)("div",{..._,children:[(0,u.jsx)(i.BlockControls,{children:(0,u.jsx)(l.ToolbarGroup,{controls:[{icon:"edit",title:(0,n.__)("Edit the layout of each product","woocommerce"),onClick:()=>x(),isActive:m}]})}),(()=>{const{columns:e,rows:r,alignButtons:s}=t;return(0,u.jsxs)(i.InspectorControls,{children:[(0,u.jsx)(l.PanelBody,{title:(0,n.__)("Layout Settings","woocommerce"),initialOpen:!0,children:(0,u.jsx)(pt,{columns:e,rows:r,alignButtons:s,setAttributes:o,minColumns:(0,R.getSetting)("minColumns",1),maxColumns:(0,R.getSetting)("maxColumns",6),minRows:(0,R.getSetting)("minRows",1),maxRows:(0,R.getSetting)("maxRows",6)})}),(0,u.jsxs)(l.PanelBody,{title:(0,n.__)("Content Settings","woocommerce"),children:[wt(t,o),_t(t,o)]})]},"inspector")})(),m?(()=>{const s={template:t.layoutConfig,templateLock:!1,allowedBlocks:Object.keys(Yt)};return 0!==t.layoutConfig.length&&(s.renderAppender=!1),(0,u.jsxs)(l.Placeholder,{icon:Jt,label:st.title,children:[(0,n.__)("Display all products from your store as a grid.","woocommerce"),(0,u.jsxs)("div",{className:"wc-block-all-products-grid-item-template",children:[(0,u.jsx)(l.Tip,{children:(0,n.__)("Edit the blocks inside the example below to change the content displayed for all products within the product grid.","woocommerce")}),(0,u.jsx)(Oe.InnerBlockLayoutContextProvider,{parentName:"woocommerce/all-products",parentClassName:"wc-block-grid",children:(0,u.jsx)("div",{className:"wc-block-grid wc-block-layout has-1-columns",children:(0,u.jsx)("ul",{className:"wc-block-grid__products",children:(0,u.jsx)("li",{className:"wc-block-grid__product",children:(0,u.jsx)(Oe.ProductDataContextProvider,{product:mt[0],children:(0,u.jsx)(i.InnerBlocks,{...s})})})})})}),(0,u.jsxs)("div",{className:"wc-block-all-products__actions",children:[(0,u.jsx)(l.Button,{className:"wc-block-all-products__done-button",variant:"primary",onClick:()=>{o({layoutConfig:ht(e.innerBlocks)}),w(e.innerBlocks),x()},children:(0,n.__)("Done","woocommerce")}),(0,u.jsx)(l.Button,{className:"wc-block-all-products__cancel-button",variant:"tertiary",onClick:()=>{p(e.clientId,h,!1),x()},children:(0,n.__)("Cancel","woocommerce")}),(0,u.jsx)(l.Button,{className:"wc-block-all-products__reset-button",icon:Jt,label:(0,n.__)("Reset layout to default","woocommerce"),onClick:()=>{const t=[];gt.map((([e,o])=>(t.push((0,r.createBlock)(e,o)),!0))),p(e.clientId,t,!1),w(e.innerBlocks)},children:(0,n.__)("Reset Layout","woocommerce")})]})]})]})})():(()=>{const{layoutConfig:e}=t,o=e&&0!==e.length,r=st.title;return o?(0,u.jsx)(l.Disabled,{children:(0,u.jsx)(Ut,{attributes:t})}):((e,t)=>(0,u.jsx)(l.Placeholder,{className:"wc-block-products",icon:t,label:e,children:(0,n.__)("The content for this block is hidden due to block settings.","woocommerce")}))(r,Jt)})()]})})),Xt={columns:(0,R.getSetting)("defaultColumns",3),rows:(0,R.getSetting)("defaultRows",3),alignButtons:!1,contentVisibility:{orderBy:!0},orderby:"date",layoutConfig:gt,isPreview:!1},{name:Zt}=st,eo={icon:{src:(0,u.jsx)(s.A,{icon:c.A,className:"wc-block-editor-components-block-icon"})},edit:Kt,save:function({attributes:e}){const t={};Object.keys(e).sort().forEach((o=>{t[o]=e[o]}));const o=i.useBlockProps.save({className:ct("wc-block-all-products",e),"data-attributes":JSON.stringify(t)});return(0,u.jsx)("div",{...o,children:(0,u.jsx)(i.InnerBlocks.Content,{})})},deprecated:it,defaults:Xt};(0,r.registerBlockType)(Zt,eo)},5841:(e,t,o)=>{"use strict";o.d(t,{Nm:()=>a,fb:()=>m,p3:()=>i});var r=o(7723),s=o(4921),c=o(3993),n=o(790);const i=e=>{const t=parseFloat(e.average_rating);return Number.isFinite(t)&&t>0?t:0},a=e=>{if("review_count"in e){const t=(0,c.isNumber)(e.review_count)?e.review_count:parseInt(e.review_count,10);return Number.isFinite(t)&&t>0?t:0}if("rating_count"in e){const t=(0,c.isNumber)(e.rating_count)?e.rating_count:parseInt(e.rating_count,10);return Number.isFinite(t)&&t>0?t:0}return 0},l=e=>({width:e/5*100+"%"}),d=({className:e,parentClassName:t})=>{const o=l(0);return(0,n.jsxs)("div",{className:(0,s.A)(`${e}__norating-container`,`${t}-product-rating__norating-container`),children:[(0,n.jsx)("div",{className:`${e}__norating`,role:"img",children:(0,n.jsx)("span",{style:o})}),(0,n.jsx)("span",{children:(0,r.__)("No Reviews","woocommerce")})]})},u=e=>{const{className:t,rating:o,reviews:c,parentClassName:i}=e,a=l(o),d=(0,r.sprintf)(/* translators: %f is referring to the average rating value */ /* translators: %f is referring to the average rating value */ (0,r.__)("Rated %f out of 5","woocommerce"),o),u={__html:(0,r.sprintf)(/* translators: %1$s is referring to the average rating value, %2$s is referring to the number of ratings */ /* translators: %1$s is referring to the average rating value, %2$s is referring to the number of ratings */ (0,r._n)("Rated %1$s out of 5 based on %2$s customer rating","Rated %1$s out of 5 based on %2$s customer ratings",c,"woocommerce"),(0,r.sprintf)('<strong class="rating">%f</strong>',o),(0,r.sprintf)('<span class="rating">%d</span>',c))};return(0,n.jsx)("div",{className:(0,s.A)(`${t}__stars`,`${i}__product-rating__stars`),role:"img","aria-label":d,children:(0,n.jsx)("span",{style:a,dangerouslySetInnerHTML:u})})},p=e=>{const{className:t,reviews:o}=e,s=(0,r.sprintf)(/* translators: %s is referring to the total of reviews for a product */ /* translators: %s is referring to the total of reviews for a product */ (0,r._n)("(%s customer review)","(%s customer reviews)",o,"woocommerce"),o);return(0,n.jsx)("span",{className:`${t}__reviews_count`,children:s})},m=e=>{const{className:t="wc-block-components-product-rating",showReviewCount:o,showMockedReviews:r,parentClassName:c="",rating:i,reviews:a,styleProps:l,textAlign:m}=e,g=(0,s.A)(l.className,t,{[`${c}__product-rating`]:c,[`has-text-align-${m}`]:m}),h=r&&(0,n.jsx)(d,{className:t,parentClassName:c}),w=a?(0,n.jsx)(u,{className:t,rating:i,reviews:a,parentClassName:c}):h,_=a&&o;return(0,n.jsx)("div",{className:g,style:l.style,children:(0,n.jsxs)("div",{className:`${t}__container`,children:[w,_?(0,n.jsx)(p,{className:t,reviews:a}):null]})})}},6070:(e,t,o)=>{"use strict";o.d(t,{Hw:()=>m,Vo:()=>i,XK:()=>n,iI:()=>u,r7:()=>s,sW:()=>c});var r=o(5703);const s=(0,r.getSetting)("wcBlocksConfig",{pluginUrl:"",productCount:0,defaultAvatar:"",restApiRoutes:{},wordCountType:"words"}),c=s.pluginUrl+"assets/images/",n=s.pluginUrl+"assets/client/blocks/",i=(r.STORE_PAGES.shop,r.STORE_PAGES.checkout,r.STORE_PAGES.checkout,r.STORE_PAGES.privacy,r.STORE_PAGES.privacy,r.STORE_PAGES.terms,r.STORE_PAGES.terms,r.STORE_PAGES.cart,r.STORE_PAGES.cart?.permalink),a=(r.STORE_PAGES.myaccount?.permalink?r.STORE_PAGES.myaccount.permalink:(0,r.getSetting)("wpLoginUrl","/wp-login.php"),(0,r.getSetting)("localPickupEnabled",!1),(0,r.getSetting)("shippingMethodsExist",!1),(0,r.getSetting)("shippingEnabled",!0),(0,r.getSetting)("countries",{})),l=(0,r.getSetting)("countryData",{}),d={...Object.fromEntries(Object.keys(l).filter((e=>!0===l[e].allowBilling)).map((e=>[e,a[e]||""]))),...Object.fromEntries(Object.keys(l).filter((e=>!0===l[e].allowShipping)).map((e=>[e,a[e]||""])))},u=(Object.fromEntries(Object.keys(d).map((e=>[e,l[e].states||{}]))),Object.fromEntries(Object.keys(d).map((e=>[e,l[e].locale||{}])))),p={address:["first_name","last_name","company","address_1","address_2","city","postcode","country","state","phone"],contact:["email"],order:[]},m=(0,r.getSetting)("addressFieldsLocations",p).address;(0,r.getSetting)("addressFieldsLocations",p).contact,(0,r.getSetting)("addressFieldsLocations",p).order,(0,r.getSetting)("additionalOrderFields",{}),(0,r.getSetting)("additionalContactFields",{}),(0,r.getSetting)("additionalAddressFields",{})},6231:(e,t,o)=>{"use strict";o.d(t,{S:()=>s});var r=o(5703);const s=()=>(0,r.getSetting)("experimentalWcRestApiV4",!1)},8331:(e,t,o)=>{"use strict";o.d(t,{Hw:()=>r.Hw,Sc:()=>s.S,Vo:()=>r.Vo,XK:()=>r.XK,iI:()=>r.iI,r7:()=>r.r7,sW:()=>r.sW});var r=o(6070),s=o(6231)},2266:(e,t,o)=>{"use strict";o.d(t,{EF:()=>r,Ie:()=>n,UI:()=>c,ht:()=>i,j9:()=>s});const r="woocommerce/product-type-template-state",s="SWITCH_PRODUCT_TYPE",c="SET_PRODUCT_TYPES",n="REGISTER_LISTENER",i="UNREGISTER_LISTENER"},8207:(e,t,o)=>{"use strict";o.d(t,{M:()=>a});var r=o(7143),s=o(2266);const c=(0,o(7254).c)(),n={productTypes:{list:c,current:c[0]?.slug},listeners:[]},i={switchProductType:e=>({type:s.j9,current:e}),setProductTypes:e=>({type:s.UI,productTypes:e}),registerListener:e=>({type:s.Ie,listener:e}),unregisterListener:e=>({type:s.ht,listener:e})},a=(0,r.createReduxStore)(s.EF,{reducer:(e=n,t)=>{switch(t.type){case s.UI:return{...e,productTypes:{...e.productTypes,list:t.productTypes||[]}};case s.j9:return{...e,productTypes:{...e.productTypes,current:t.current}};case s.Ie:return{...e,listeners:[...e.listeners,t.listener||""]};case s.ht:return{...e,listeners:e.listeners.filter((e=>e!==t.listener))};default:return e}},actions:i,selectors:{getProductTypes:e=>e.productTypes.list,getCurrentProductType:e=>e.productTypes.list.find((t=>t.slug===e.productTypes.current)),getRegisteredListeners:e=>e.listeners}});(0,r.select)(s.EF)||(0,r.register)(a)},2281:(e,t,o)=>{"use strict";o.d(t,{A:()=>c});var r=o(7143),s=o(8207);function c(){const{productTypes:e,current:t,registeredListeners:o}=(0,r.useSelect)((e=>{const{getProductTypes:t,getCurrentProductType:o,getRegisteredListeners:r}=e(s.M);return{productTypes:t(),current:o(),registeredListeners:r()}}),[]),{switchProductType:c,registerListener:n,unregisterListener:i}=(0,r.useDispatch)(s.M);return{productTypes:e,current:t,set:c,registeredListeners:o,registerListener:n,unregisterListener:i}}},7254:(e,t,o)=>{"use strict";o.d(t,{c:()=>s});const r=(0,o(5703).getSetting)("productTypes",{});function s(){return Object.keys(r).map((e=>({slug:e,label:r[e]})))}},7316:()=>{},1189:()=>{},1986:()=>{},9556:()=>{},9835:()=>{},7545:()=>{},3081:()=>{},4053:()=>{},752:()=>{},4313:()=>{},4093:()=>{},1129:()=>{},3790:()=>{},649:()=>{},3608:()=>{},1784:()=>{},7578:()=>{},8714:()=>{},6854:()=>{},3320:()=>{},959:()=>{},8501:()=>{},7525:()=>{},4695:()=>{},9969:()=>{},1609:e=>{"use strict";e.exports=window.React},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},4656:e=>{"use strict";e.exports=window.wc.blocksComponents},910:e=>{"use strict";e.exports=window.wc.priceFormat},2435:e=>{"use strict";e.exports=window.wc.sanitize},7594:e=>{"use strict";e.exports=window.wc.wcBlocksData},415:e=>{"use strict";e.exports=window.wc.wcBlocksSharedContext},1616:e=>{"use strict";e.exports=window.wc.wcBlocksSharedHocs},5703:e=>{"use strict";e.exports=window.wc.wcSettings},3993:e=>{"use strict";e.exports=window.wc.wcTypes},195:e=>{"use strict";e.exports=window.wp.a11y},6004:e=>{"use strict";e.exports=window.wp.autop},4715:e=>{"use strict";e.exports=window.wp.blockEditor},6427:e=>{"use strict";e.exports=window.wp.components},9491:e=>{"use strict";e.exports=window.wp.compose},7143:e=>{"use strict";e.exports=window.wp.data},6087:e=>{"use strict";e.exports=window.wp.element},2619:e=>{"use strict";e.exports=window.wp.hooks},8537:e=>{"use strict";e.exports=window.wp.htmlEntities},7723:e=>{"use strict";e.exports=window.wp.i18n},923:e=>{"use strict";e.exports=window.wp.isShallowEqual},5573:e=>{"use strict";e.exports=window.wp.primitives},9786:e=>{"use strict";e.exports=window.wp.styleEngine},9446:e=>{"use strict";e.exports=window.wp.wordcount},7746:e=>{"use strict";e.exports=JSON.parse('{"name":"woocommerce/product-image","title":"Product Image","description":"Display the main product image.","category":"woocommerce-product-elements","attributes":{"showProductLink":{"type":"boolean","default":true},"showSaleBadge":{"type":"boolean","default":true},"saleBadgeAlign":{"type":"string","default":"right"},"imageSizing":{"type":"string","default":"single"},"productId":{"type":"number","default":0},"isDescendentOfQueryLoop":{"type":"boolean","default":false},"isDescendentOfSingleProductBlock":{"type":"boolean","default":false},"width":{"type":"string"},"height":{"type":"string"},"scale":{"type":"string","default":"cover"},"aspectRatio":{"type":"string"}},"supports":{"interactivity":{"clientNavigation":true},"html":false,"__experimentalBorder":{"radius":true,"__experimentalSkipSerialization":true},"typography":{"fontSize":true,"__experimentalSkipSerialization":true},"spacing":{"margin":true,"padding":true},"dimensions":{"aspectRatio":true,"__experimentalSkipSerialization":true},"email":true,"__experimentalSelector":".wc-block-components-product-image"},"ancestor":["woocommerce/all-products","woocommerce/single-product","woocommerce/product-template","core/post-template"],"usesContext":["imageId","postId","query","queryId"],"keywords":["WooCommerce"],"textdomain":"woocommerce","apiVersion":3,"$schema":"https://schemas.wp.org/trunk/block.json"}')},3925:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-title","version":"1.0.0","title":"Product Title","category":"woocommerce-product-elements","description":"Display the title of a product.","supports":{"html":false,"interactivity":{"clientNavigation":false},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontWeight":true,"__experimentalTextTransform":true,"__experimentalFontFamily":true},"color":{"text":true,"background":true,"link":false,"gradients":true,"__experimentalSkipSerialization":true},"spacing":{"margin":true,"__experimentalSkipSerialization":true},"__experimentalSelector":".wc-block-components-product-title"},"textdomain":"woocommerce","attributes":{"headingLevel":{"type":"number","default":2},"showProductLink":{"type":"boolean","default":true},"linkTarget":{"type":"string"},"productId":{"type":"number","default":0},"align":{"type":"string"}},"ancestor":["woocommerce/all-products"]}')}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return c[e](o,o.exports,i),o.exports}i.m=c,e=[],i.O=(t,o,r,s)=>{if(!o){var c=1/0;for(d=0;d<e.length;d++){for(var[o,r,s]=e[d],n=!0,a=0;a<o.length;a++)(!1&s||c>=s)&&Object.keys(i.O).every((e=>i.O[e](o[a])))?o.splice(a--,1):(n=!1,s<c&&(c=s));if(n){e.splice(d--,1);var l=r();void 0!==l&&(t=l)}}return t}s=s||0;for(var d=e.length;d>0&&e[d-1][2]>s;d--)e[d]=e[d-1];e[d]=[o,r,s]},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},o=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var s=Object.create(null);i.r(s);var c={};t=t||[null,o({}),o([]),o(o)];for(var n=2&r&&e;"object"==typeof n&&!~t.indexOf(n);n=o(n))Object.getOwnPropertyNames(n).forEach((t=>c[t]=()=>e[t]));return c.default=()=>e,i.d(s,c),s},i.d=(e,t)=>{for(var o in t)i.o(t,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,o)=>(i.f[o](e,t),t)),[])),i.u=e=>({345:"product-stock-indicator",462:"product-rating",2105:"product-title",2388:"product-price",2724:"product-sku",3895:"product-summary",4232:"product-image",4442:"product-sale-badge",7409:"product-button",8553:"product-rating-counter",8578:"product-rating-stars",8647:"product-average-rating"}[e]+".js?ver="+{345:"df5124dfa21ae95f6b99",462:"dbe142844072de177c7b",2105:"d92c3a074be89ba952d1",2388:"8dc8c564be5f545044c5",2724:"68c6a5abd5b457353eed",3895:"6341f90a189a1666e127",4232:"317559fbeb6619ad56ba",4442:"e8a10a172a750d04f107",7409:"b0178e7be9ae752cd9cb",8553:"50f738006badde9aa053",8578:"a949306fc89e03db24ad",8647:"7c7c74fa303f8fca8df1"}[e]),i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},s="webpackWcBlocksMainJsonp:",i.l=(e,t,o,c)=>{if(r[e])r[e].push(t);else{var n,a;if(void 0!==o)for(var l=document.getElementsByTagName("script"),d=0;d<l.length;d++){var u=l[d];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==s+o){n=u;break}}n||(a=!0,(n=document.createElement("script")).charset="utf-8",n.timeout=120,i.nc&&n.setAttribute("nonce",i.nc),n.setAttribute("data-webpack",s+o),n.src=e),r[e]=[t];var p=(t,o)=>{n.onerror=n.onload=null,clearTimeout(m);var s=r[e];if(delete r[e],n.parentNode&&n.parentNode.removeChild(n),s&&s.forEach((e=>e(o))),t)return t(o)},m=setTimeout(p.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=p.bind(null,n.onerror),n.onload=p.bind(null,n.onload),a&&document.head.appendChild(n)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.j=1001,(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var t=i.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var o=t.getElementsByTagName("script");if(o.length)for(var r=o.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=o[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e})(),(()=>{var e={345:0,462:0,1001:0,2388:0,2724:0,3895:0,4442:0,7409:0,8553:0,8578:0,8647:0};i.f.j=(t,o)=>{var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)o.push(r[2]);else{var s=new Promise(((o,s)=>r=e[t]=[o,s]));o.push(r[2]=s);var c=i.p+i.u(t),n=new Error;i.l(c,(o=>{if(i.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var s=o&&("load"===o.type?"missing":o.type),c=o&&o.target&&o.target.src;n.message="Loading chunk "+t+" failed.\n("+s+": "+c+")",n.name="ChunkLoadError",n.type=s,n.request=c,r[1](n)}}),"chunk-"+t,t)}},i.O.j=t=>0===e[t];var t=(t,o)=>{var r,s,[c,n,a]=o,l=0;if(c.some((t=>0!==e[t]))){for(r in n)i.o(n,r)&&(i.m[r]=n[r]);if(a)var d=a(i)}for(t&&t(o);l<c.length;l++)s=c[l],i.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return i.O(d)},o=globalThis.webpackChunkwebpackWcBlocksMainJsonp=globalThis.webpackChunkwebpackWcBlocksMainJsonp||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var a=i.O(void 0,[94],(()=>i(9962)));a=i.O(a),((this.wc=this.wc||{}).blocks=this.wc.blocks||{})["all-products"]=a})();
Save
cmd:
run