WooLentor – Elementor WooCommerce Builder Addons, Variation Swatches Addons, Gutenberg WooCommerce Product block, grid, slider, templates, widgets, Quick View, Wishlist, Products Compare, Product Filter – All in One Solution - Version 2.4.6

Version Description

Download this release

Release Info

Developer devitemsllc
Plugin Icon 128x128 WooLentor – Elementor WooCommerce Builder Addons, Variation Swatches Addons, Gutenberg WooCommerce Product block, grid, slider, templates, widgets, Quick View, Wishlist, Products Compare, Product Filter – All in One Solution
Version 2.4.6
Comparing to
See all releases

Code changes from version 2.4.5 to 2.4.6

assets/css/product-grid.css CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  .woolentor-products.wl-row {
2
  clear: both;
3
  }
@@ -14,7 +17,7 @@
14
  .ht-product-2 .ht-product-image-wrap-2 a.htcompare-btn{
15
  justify-content: center;
16
  }
17
- .ht-product-2 .ht-product-image-wrap-2 a
18
  .ht-product-2 .ht-product-image-wrap-2 a img {
19
  width: 100%;
20
  }
@@ -150,7 +153,7 @@
150
  top: 7px;
151
  right: 10px;
152
  }
153
- .ht-product-2 .ht-product-image-wrap-2 .ht-product-action-2 ul li a.htcompare-btn.added::after,.ht-product-2 .ht-product-content-2-wrap .ht-product-action-5 ul li a.htcompare-btn.added::after,.ht-product-2 .ht-product-content-2-wrap .ht-product-action-6 ul li a.htcompare-btn.added::after,.elementor-widget-wl-product-grid .woolentor-products .wishsuite-btn-text{
154
  display: none;
155
  }
156
  .ht-product-2 .ht-product-content-2 .ht-price-addtocart-wrap [class*="ht-addtocart"] a{
@@ -270,9 +273,15 @@
270
  width: calc(100% - 48px - 48px);
271
  transition-delay: 0.1s;
272
  }
273
- .ht-product-2 .ht-product-image-wrap-2 .ht-product-action-3 ul li a.woolentor-product-addtocart i {
274
  margin-right: 7px;
275
  }
 
 
 
 
 
 
276
  .ht-product-2 .ht-product-image-wrap-2 .ht-product-action-3 ul li.wlgrid-quickview{
277
  transition-delay: 0.2s;
278
  }
1
+ .wp-embed-responsive .wp-block{
2
+ outline: 0;
3
+ }
4
  .woolentor-products.wl-row {
5
  clear: both;
6
  }
17
  .ht-product-2 .ht-product-image-wrap-2 a.htcompare-btn{
18
  justify-content: center;
19
  }
20
+ .ht-product-2 .ht-product-image-wrap-2 a,
21
  .ht-product-2 .ht-product-image-wrap-2 a img {
22
  width: 100%;
23
  }
153
  top: 7px;
154
  right: 10px;
155
  }
156
+ .ht-product-2 .ht-product-image-wrap-2 .ht-product-action-2 ul li a.htcompare-btn.added::after,.ht-product-2 .ht-product-content-2-wrap .ht-product-action-5 ul li a.htcompare-btn.added::after,.ht-product-2 .ht-product-content-2-wrap .ht-product-action-6 ul li a.htcompare-btn.added::after,.elementor-widget-wl-product-grid .woolentor-products .wishsuite-btn-text,.woolentor_block_product_grid .woolentor-products .wishsuite-btn-text{
157
  display: none;
158
  }
159
  .ht-product-2 .ht-product-content-2 .ht-price-addtocart-wrap [class*="ht-addtocart"] a{
273
  width: calc(100% - 48px - 48px);
274
  transition-delay: 0.1s;
275
  }
276
+ .ht-product-2 .ht-product-image-wrap-2 .ht-product-action-3 ul li a.woolentor-product-addtocart:not(.woolentor-button-icon-right) i {
277
  margin-right: 7px;
278
  }
279
+ .ht-product-2 .ht-product-image-wrap-2 .ht-product-action-3 ul li a.woolentor-button-icon-right{
280
+ flex-direction: row-reverse;
281
+ }
282
+ .ht-product-2 .ht-product-image-wrap-2 .ht-product-action-3 ul li a.woolentor-button-icon-right i{
283
+ margin-left: 7px;
284
+ }
285
  .ht-product-2 .ht-product-image-wrap-2 .ht-product-action-3 ul li.wlgrid-quickview{
286
  transition-delay: 0.2s;
287
  }
assets/css/woolentor-widgets.css CHANGED
@@ -5899,41 +5899,41 @@ div[class*="woolentor-single-select-drop"] .select2-results__option::before{
5899
  width: 100% !important;
5900
  margin-right: 0 !important;
5901
  }
5902
- .woolentorducts-columns-tablet-2 ul.products li.product{
5903
  width: calc(50% - 15px) !important;
5904
  margin-right: 15px !important;
5905
  float: left;
5906
  }
5907
- .woolentorducts-columns-tablet-3 ul.products li.product{
5908
  width: calc(33.33% - 15px) !important;
5909
  margin-right: 15px !important;
5910
  float: left;
5911
  }
5912
- .woolentorducts-columns-tablet-4 ul.products li.product{
5913
  width: calc(25% - 15px) !important;
5914
  margin-right: 15px !important;
5915
  float: left;
5916
  }
5917
- .woolentorducts-columns-tablet-5 ul.products li.product{
5918
  width: calc(19% - 15px) !important;
5919
  margin-right: 15px !important;
5920
  float: left;
5921
  }
5922
- .woolentorducts-columns-tablet-6 ul.products li.product{
5923
  width: calc(16% - 15px) !important;
5924
  margin-right: 15px !important;
5925
  float: left;
5926
  }
5927
 
5928
- [class*="woolentorducts-columns-tablet-"] ul.products li.product.first{
5929
  clear: none !important;
5930
  }
5931
- .woolentorducts-columns-tablet-6 ul.products li.product:nth-child(6n),
5932
- .woolentorducts-columns-tablet-5 ul.products li.product:nth-child(5n),
5933
- .woolentorducts-columns-tablet-4 ul.products li.product:nth-child(4n),
5934
- .woolentorducts-columns-tablet-3 ul.products li.product:nth-child(3n),
5935
- .woolentorducts-columns-tablet-2 ul.products li.product:nth-child(2n),
5936
- .woolentorducts-columns-tablet-1 ul.products li.product{
5937
  margin-right: 0 !important;
5938
  }
5939
 
@@ -6056,41 +6056,41 @@ div[class*="woolentor-single-select-drop"] .select2-results__option::before{
6056
  width: 100% !important;
6057
  margin-right: 0 !important;
6058
  }
6059
- .woolentorducts-columns-mobile-2 ul.products li.product{
6060
  width: calc(50% - 15px) !important;
6061
  margin-right: 15px !important;
6062
  float: left;
6063
  }
6064
- .woolentorducts-columns-mobile-3 ul.products li.product{
6065
  width: calc(33.33% - 15px) !important;
6066
  margin-right: 15px !important;
6067
  float: left;
6068
  }
6069
- .woolentorducts-columns-mobile-4 ul.products li.product{
6070
  width: calc(25% - 15px) !important;
6071
  margin-right: 15px !important;
6072
  float: left;
6073
  }
6074
- .woolentorducts-columns-mobile-5 ul.products li.product{
6075
  width: calc(19% - 15px) !important;
6076
  margin-right: 15px !important;
6077
  float: left;
6078
  }
6079
- .woolentorducts-columns-mobile-6 ul.products li.product{
6080
  width: calc(16% - 15px) !important;
6081
  margin-right: 15px !important;
6082
  float: left;
6083
  }
6084
 
6085
- [class*="woolentorducts-columns-mobile-"] ul.products li.product.first{
6086
  clear: none !important;
6087
  }
6088
- .woolentorducts-columns-mobile-6 ul.products li.product:nth-child(6n),
6089
- .woolentorducts-columns-mobile-5 ul.products li.product:nth-child(5n),
6090
- .woolentorducts-columns-mobile-4 ul.products li.product:nth-child(4n),
6091
- .woolentorducts-columns-mobile-3 ul.products li.product:nth-child(3n),
6092
- .woolentorducts-columns-mobile-2 ul.products li.product:nth-child(2n),
6093
- .woolentorducts-columns-mobile-1 ul.products li.product{
6094
  margin-right: 0 !important;
6095
  }
6096
 
5899
  width: 100% !important;
5900
  margin-right: 0 !important;
5901
  }
5902
+ .woolentorducts-columns-tablet-2 ul.products[class*="columns-"] li.product{
5903
  width: calc(50% - 15px) !important;
5904
  margin-right: 15px !important;
5905
  float: left;
5906
  }
5907
+ .woolentorducts-columns-tablet-3 ul.products[class*="columns-"] li.product{
5908
  width: calc(33.33% - 15px) !important;
5909
  margin-right: 15px !important;
5910
  float: left;
5911
  }
5912
+ .woolentorducts-columns-tablet-4 ul.products[class*="columns-"] li.product{
5913
  width: calc(25% - 15px) !important;
5914
  margin-right: 15px !important;
5915
  float: left;
5916
  }
5917
+ .woolentorducts-columns-tablet-5 ul.products[class*="columns-"] li.product{
5918
  width: calc(19% - 15px) !important;
5919
  margin-right: 15px !important;
5920
  float: left;
5921
  }
5922
+ .woolentorducts-columns-tablet-6 ul.products[class*="columns-"] li.product{
5923
  width: calc(16% - 15px) !important;
5924
  margin-right: 15px !important;
5925
  float: left;
5926
  }
5927
 
5928
+ [class*="woolentorducts-columns-tablet-"] ul.products[class*="columns-"] li.product.first{
5929
  clear: none !important;
5930
  }
5931
+ .woolentorducts-columns-tablet-6 ul.products[class*="columns-"] li.product:nth-child(6n),
5932
+ .woolentorducts-columns-tablet-5 ul.products[class*="columns-"] li.product:nth-child(5n),
5933
+ .woolentorducts-columns-tablet-4 ul.products[class*="columns-"] li.product:nth-child(4n),
5934
+ .woolentorducts-columns-tablet-3 ul.products[class*="columns-"] li.product:nth-child(3n),
5935
+ .woolentorducts-columns-tablet-2 ul.products[class*="columns-"] li.product:nth-child(2n),
5936
+ .woolentorducts-columns-tablet-1 ul.products[class*="columns-"] li.product{
5937
  margin-right: 0 !important;
5938
  }
5939
 
6056
  width: 100% !important;
6057
  margin-right: 0 !important;
6058
  }
6059
+ .woolentorducts-columns-mobile-2 ul.products[class*="columns-"] li.product{
6060
  width: calc(50% - 15px) !important;
6061
  margin-right: 15px !important;
6062
  float: left;
6063
  }
6064
+ .woolentorducts-columns-mobile-3 ul.products[class*="columns-"] li.product{
6065
  width: calc(33.33% - 15px) !important;
6066
  margin-right: 15px !important;
6067
  float: left;
6068
  }
6069
+ .woolentorducts-columns-mobile-4 ul.products[class*="columns-"] li.product{
6070
  width: calc(25% - 15px) !important;
6071
  margin-right: 15px !important;
6072
  float: left;
6073
  }
6074
+ .woolentorducts-columns-mobile-5 ul.products[class*="columns-"] li.product{
6075
  width: calc(19% - 15px) !important;
6076
  margin-right: 15px !important;
6077
  float: left;
6078
  }
6079
+ .woolentorducts-columns-mobile-6 ul.products[class*="columns-"] li.product{
6080
  width: calc(16% - 15px) !important;
6081
  margin-right: 15px !important;
6082
  float: left;
6083
  }
6084
 
6085
+ [class*="woolentorducts-columns-mobile-"] ul.products[class*="columns-"] li.product.first{
6086
  clear: none !important;
6087
  }
6088
+ .woolentorducts-columns-mobile-6 ul.products[class*="columns-"] li.product:nth-child(6n),
6089
+ .woolentorducts-columns-mobile-5 ul.products[class*="columns-"] li.product:nth-child(5n),
6090
+ .woolentorducts-columns-mobile-4 ul.products[class*="columns-"] li.product:nth-child(4n),
6091
+ .woolentorducts-columns-mobile-3 ul.products[class*="columns-"] li.product:nth-child(3n),
6092
+ .woolentorducts-columns-mobile-2 ul.products[class*="columns-"] li.product:nth-child(2n),
6093
+ .woolentorducts-columns-mobile-1 ul.products[class*="columns-"] li.product{
6094
  margin-right: 0 !important;
6095
  }
6096
 
includes/admin/include/admin_fields.php CHANGED
@@ -365,6 +365,22 @@ class Woolentor_Admin_Fields {
365
  'default' => 'on'
366
  ),
367
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
368
  array(
369
  'name' => 'shop_blocks_heading',
370
  'headding' => esc_html__( 'Shop / Archive', 'woolentor' ),
365
  'default' => 'on'
366
  ),
367
 
368
+ array(
369
+ 'name' => 'product_grid',
370
+ 'label' => esc_html__( 'Product Grid', 'woolentor' ),
371
+ 'type' => 'element',
372
+ 'default' => 'off',
373
+ 'is_pro' => true,
374
+ ),
375
+
376
+ array(
377
+ 'name' => 'customer_review',
378
+ 'label' => esc_html__( 'Customer Review', 'woolentor' ),
379
+ 'type' => 'element',
380
+ 'default' => 'off',
381
+ 'is_pro' => true,
382
+ ),
383
+
384
  array(
385
  'name' => 'shop_blocks_heading',
386
  'headding' => esc_html__( 'Shop / Archive', 'woolentor' ),
includes/modules/shopify-like-checkout/class.shopify-like-checkout.php CHANGED
@@ -455,8 +455,12 @@ class Woolentor_Shopify_Like_Checkout extends \WC_Checkout{
455
 
456
  $errors = new WP_Error();
457
 
 
 
458
  $this->validate_posted_data( $posted_data, $errors );
459
 
 
 
460
  foreach ( $errors->errors as $code => $messages ) {
461
  $data = $errors->get_error_data( $code );
462
  foreach ( $messages as $message ) {
455
 
456
  $errors = new WP_Error();
457
 
458
+ do_action( 'woolentor_slc_before_checkout_form_validation', $posted_data );
459
+
460
  $this->validate_posted_data( $posted_data, $errors );
461
 
462
+ do_action( 'woolentor_slc_after_checkout_form_validation', $posted_data );
463
+
464
  foreach ( $errors->errors as $code => $messages ) {
465
  $data = $errors->get_error_data( $code );
466
  foreach ( $messages as $message ) {
includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php CHANGED
@@ -339,14 +339,14 @@ class Attribute_Taxonomy_Metabox{
339
  update_term_meta(
340
  $term_id,
341
  'swatchly_tooltip',
342
- $tooltip,
343
  );
344
 
345
  if( $tooltip == 'text' ){
346
  update_term_meta(
347
  $term_id,
348
  'swatchly_tooltip_text',
349
- $tooltip_text,
350
  );
351
  }
352
 
@@ -354,20 +354,20 @@ class Attribute_Taxonomy_Metabox{
354
  update_term_meta(
355
  $term_id,
356
  'swatchly_tooltip_image',
357
- $tooltip_image_value,
358
  );
359
  }
360
 
361
  update_term_meta(
362
  $term_id,
363
  'swatchly_color',
364
- $color_value,
365
  );
366
 
367
  update_term_meta(
368
  $term_id,
369
  'swatchly_enable_multi_color',
370
- $enable_multi_color,
371
  );
372
 
373
  if( $enable_multi_color ){
@@ -381,7 +381,7 @@ class Attribute_Taxonomy_Metabox{
381
  update_term_meta(
382
  $term_id,
383
  'swatchly_image',
384
- $image_value,
385
  );
386
  }
387
 
339
  update_term_meta(
340
  $term_id,
341
  'swatchly_tooltip',
342
+ $tooltip
343
  );
344
 
345
  if( $tooltip == 'text' ){
346
  update_term_meta(
347
  $term_id,
348
  'swatchly_tooltip_text',
349
+ $tooltip_text
350
  );
351
  }
352
 
354
  update_term_meta(
355
  $term_id,
356
  'swatchly_tooltip_image',
357
+ $tooltip_image_value
358
  );
359
  }
360
 
361
  update_term_meta(
362
  $term_id,
363
  'swatchly_color',
364
+ $color_value
365
  );
366
 
367
  update_term_meta(
368
  $term_id,
369
  'swatchly_enable_multi_color',
370
+ $enable_multi_color
371
  );
372
 
373
  if( $enable_multi_color ){
381
  update_term_meta(
382
  $term_id,
383
  'swatchly_image',
384
+ $image_value
385
  );
386
  }
387
 
languages/woolentor.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Project-Id-Version: WooLentor - WooCommerce Elementor Addons + Builder\n"
5
  "Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2022-09-18 10:58+0000\n"
7
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
  "Language-Team: \n"
@@ -2026,6 +2026,10 @@ msgstr ""
2026
  msgid "Free!"
2027
  msgstr ""
2028
 
 
 
 
 
2029
  #: includes/addons/product_flash_sale.php:63
2030
  msgid "General Settings"
2031
  msgstr ""
3
  msgstr ""
4
  "Project-Id-Version: WooLentor - WooCommerce Elementor Addons + Builder\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2022-10-17 06:01+0000\n"
7
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
  "Language-Team: \n"
2026
  msgid "Free!"
2027
  msgstr ""
2028
 
2029
+ #: woolentor-blocks/includes/helper-functions.php:296
2030
+ msgid "Full"
2031
+ msgstr ""
2032
+
2033
  #: includes/addons/product_flash_sale.php:63
2034
  msgid "General Settings"
2035
  msgstr ""
readme.txt CHANGED
@@ -3,14 +3,14 @@ Contributors: hasthemes, htplugins, devitemsllc, zenaulislam, tarekht, aslamhasi
3
  Tags: Elementor, WooCommerce, WooCommerce Elementor, WooCommerce Builder, WooCommerce Product
4
  Requires at least: 4.7
5
  Tested up to: 6.0
6
- Stable tag: 2.4.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
  Elementor WooCommerce Builder Addons, Quick View, Wishlist, Products Compare, Product Filter, Variation Swatches are functionalities that WooLentor offers to your online store.
11
 
12
  == Description ==
13
- If you own a WooCommerce website, you'll almost certainly want to use these capabilities: Woo Builder (Elementor WooCommerce Builder), WooCommerce Templates, WooCommerce Widgets, Elementor Widgets, product compare or Products Comparison table, woocommerce order notifications, WooCommerce slider addons (Woo sliders), woo recently viewed products widget, Sold out count, Elementor Addons, Woocommerce variation swatches module, Elementor Templates, WooCommerce Product Addons, WooCommerce products blocks, Gutenberg Blocks, custom product archive builder, woocommerce product quick view, out of stock label customization, count sold product, flash sale countdown, woo wishlist, etc.
14
 
15
  By using WooLentor - Elementor WooCommerce Builder, you will get all in one plugin.
16
 
@@ -18,20 +18,20 @@ Have you ever searched for a WooCommerce Addons plugin for Elementor Page Builde
18
 
19
  The plugin comes with a powerful WooCommerce page builder for Elementor, allowing you to effortlessly design all WooCommerce pages from scratch using the Elementor page builder. As a result, you no longer have to rely on the default page designs of WooCommerce.
20
 
21
- WooLentor gives you the flexibility to design a custom Shop and Product details page using the free version of the plugin. The rest of the pages are also customizable with the pro version. Furthermore, WooLentor offers a plethora of Elementor widgets with extensive customization options that you can leverage for creating your store as per your needs.
22
 
23
- Apart from a large number of widgets, there are plenty of useful functionalities available in the form of modules. For example, product comparison, woo wishlist, quick view, Shopify style checkout, flash sale countdown, and so on. The main purpose of these modules is to offer the users as many options as users would need to enhance their website further. That way, they don't have to look for another third-party plugin just for a single feature.
24
 
25
  [Live Demo](https://woolentor.com/?utm_source=wprepo&utm_medium=freeplugin&utm_campaign=demo) | [Documentation](https://woolentor.com/documentation/?utm_source=wprepo&utm_medium=freeplugin&utm_campaign=doc) | [Purchase Pro](https://woolentor.com/pricing/?utm_source=wprepo&utm_medium=freeplugin&utm_campaign=purchasepro)
26
 
27
 
28
  == Elementor WooCommerce Woo Builder Includes ==
29
- 🛍️ WooCommerce Elementor widgets.
30
- 🛍️ Single Product page Builder.
31
- 🛍️ Custom Product Template Builder for Individual Product. (Pro)
32
- 🛍️ Shop / Archive page Builder.
33
- 🛍️ Individual Archive Page Builder. (Pro)
34
- 🛍️ Cart / Checkout / My account / WooCommerce custom thank you page Builder. (Pro)
35
 
36
 
37
  You can see the plugin demo here 👉 [Live Demo](https://woolentor.com/?utm_source=wprepo&utm_medium=freeplugin&utm_campaign=demo)
@@ -40,23 +40,27 @@ You can see the plugin demo here 👉 [Live Demo](https://woolentor.com/?utm_sou
40
  ==❤️ Free Features: ==
41
 
42
  * WooCommerce Template Builder
 
 
43
  * Woocommerce Product Grid
44
  * Woocommerce Responsive Grid
45
  * WooCommerce Product List
46
  * WooCommerce Product Sort
47
  * WooCommerce Slider Layout
48
- * Shopify style checkout page or Shopify like checkout
49
  * Woocommerce Product Slider Addon / Woo Sliders Widget
50
- * WooCommerce Featured Slider
51
  * WooCommerce Featured Product Slider
52
- * Woocommerce Product Compare / Products Comparison table
 
 
 
53
  * Woocommerce Product Wishlist
54
  * Woocommerce Product Tab
55
- * Grid and list view WooCommerce
56
  * Action Buttons in different Positions
57
  * Customize WooCommerce Buttons Color
58
- * Sales countdown WooCommerce addon / Discount Schedule Counter
59
- * WooCommerce image gallery
60
  * Enable / Disable WooCommerce Product Gallery
61
  * WooCommerce product gallery carousel
62
  * Unlimited Color and font Variations.
@@ -71,9 +75,10 @@ You can see the plugin demo here 👉 [Live Demo](https://woolentor.com/?utm_sou
71
  * WooCommerce Category Carousel / WooCommerce Category Showcase / WooCommerce Product Category Slider
72
  * WooCommerce Category and Product List
73
  * Call for Price
74
- * Suggest Price
75
  * Special Day offer banner
76
  * Product QR Code
 
77
  * Archive page with Pagination
78
  * Product Share Widget
79
  * Multi-language Support
@@ -95,7 +100,7 @@ You can see the plugin demo here 👉 [Live Demo](https://woolentor.com/?utm_sou
95
 
96
  ==🔥 Premium Features: ==
97
 
98
- ✅ 91 WooCommerce Elementor widgets
99
  ✅ 19 WooCommerce Modules
100
  ✅ Custom WooCommerce Product Template Builder for Individual Product
101
  ✅ Individual Archive Page Builder / WooCommerce Template Builder
@@ -110,8 +115,8 @@ You can see the plugin demo here 👉 [Live Demo](https://woolentor.com/?utm_sou
110
  ✅ Product variation swatches for WooCommerce
111
  ✅ Product Size Chart / Size Chart WooCommerce Module
112
  ✅ WooCommerce Progress Bar / WooCommerce Stock Progress
 
113
  ✅ WooCommerce Pre Order Module / Pre-order for WooCommerce
114
- ✅ Recently Viewed Products / Woo Recently Viewed Products Widget
115
  ✅ Side Mini Cart / Cart Drawer
116
  ✅ Redirect to checkout page (Direct Checkout)
117
  ✅ GTM Conversion Tracking (Google Tag Manager) with Data layer
@@ -123,74 +128,94 @@ You can see the plugin demo here 👉 [Live Demo](https://woolentor.com/?utm_sou
123
  ✅ Access to our premium Udemy Couse for WooCommerce (On Request)
124
  ✅ Phone Call Support
125
  ✅ Premium Support
126
- ✅ Zoom/Skype/TeamViewer Support
127
- ✅ Free Store Setup / (Maximum 2)
128
 
129
 
130
  <strong>[WooCommerce Checkout Page Customization and Field Editor (Pro)](https://woolentor.com/doc/build-a-custom-checkout-page-template/)</strong>
131
- WooLentor Pro allows you to customize the checkout page to reduce the bounce rate and increase the conversion rate. Sometimes, a custom checkout page is necessary for an eCommerce store or online storefront. WooLentor Pro makes it easy by providing several WooCommerce custom checkout options. Besides creating a custom checkout page, WooLentor allows removing or editing existing checkout page fields (billing and shopping fields). You can also add custom checkout page field like WooCommerce phone field or WooCommerce checkout phone.
132
 
133
  By creating a custom Elementor WooCommerce Checkout page template according to your needs, you can get rid of the default Checkout page layout of WooCommerce. To help you achieve this, WooLentor – Elementor WooCommerce Addon offers loads of Elementor WooCommerce builder widgets (Woo builder) specifically designed to create a custom Elementor WooCommerce Checkout page design.
134
 
135
- If you want to improve customer experience through the checkout page of your store, you can utilize these WP WooCommerce checkout widgets that enable you to do things like WooCommerce checkout customization, customize WooCommerce checkout page, customize checkout WooCommerce, Elementor WooCommerce checkout customization, etc. Furthermore, the plugin comes with several beautifully designed pre-built WooCommerce checkout templates or WooCommerce templates for checkout that will allow you to create a custom checkout page within a minute.
136
 
137
  <strong>[Customize WooCommerce Single Product Template](https://hasthemes.com/how-to-build-a-custom-product-template-using-woolentor-plugin/)</strong>
138
- WooLentor allows you to create a custom single product template. With all the powerful WooCommerce product addons or Woo addons available in WooLentor (WooCommerce Builder), creating a unique design for your WooCommerce product page is a breeze. The free version has the option to create a common product page template layout throughout the entire store, and the pro version allows you to create different WooCommerce single templates for various WooCommerce single product pages individually.
139
 
140
- With all the WooCommerce extra product addons or Elementor WooCommerce widgets offered by WooLentor, you can easily manage the WooCommerce single product page. In addition, these WooCommerce extra product addons, or WooCommerce product addons, are compatible with other popular Elementor WooCommerce plugins.
141
 
142
- WooLentor lets you assign a separate Elementor template for each of your WooCommerce products from the WooCommerce product settings. For example, in the product setting WooCommerce screen, you will find a dropdown option where you can choose a custom template for the details page of that specific WooCommerce product.
143
 
144
 
145
  ==⭐ Available Widgets: ==
146
 
147
  <strong>General Widgets</strong>
148
 
149
- <strong>[Product Tabs](https://woolentor.com/demo/product-tabs)</strong> – Display your products in a tabbed format based on different categories. With the help of this Elementor WooCommerce product tabs widget, WooCommerce category tabs widget, or Woo product tabs widget you can dynamically list your products category wise in various WooCommerce category tabs. It even allows you to choose which WooCommerce product categories you want to display as tabs.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
150
 
151
- Furthermore, you can filter what type of products to showcase under a single WooCommerce product category or multiple WooCommerce product categories. For example, WooCommerce category recent products.
152
 
153
- Other noteworthy features of this Elementor WooCommerce widget include controlling the WooCommerce product layout, the number of products to show, the WooCommerce category list, the customization of WooCommerce product ordering, etc.
154
 
155
- <strong>[Product Grid](https://woolentor.com/demo/product-grid)</strong> Display your products within a WooCommerce responsive grid layout with the WooCommerce product grid widget. This Elementor WooCommerce builder widget (Woo builder) offers 5 different WooCommerce grid layouts to showcase your products in a responsive grid for WooCommerce store. Apart from choosing a layout, you can control which products to display and how to display them in a WooCommerce product grid based on multiple query settings such as product type, product categories, product order, and so on.
156
 
157
- Since the Elementor WooCommerce widget enables store owners to display their products in a responsive grid for WooCommerce stores, rest assured that the products will look great no matter which device visitors use to browse the store. If you prefer using the WooCommerce grid, WooCommerce grid layout, or WooCommerce responsive grid, this WooCommerce product grid widget will be tremendously helpful.
158
 
159
- WooLentor's product grid widget lets you showcase WooCommerce products in a grid layout. WooCommerce product grids are commonly used to display WooCommerce products on your online storefront. With this WooCommerce product grid widget, you can present your WooCommerce products on the WooCommerce shop and archive pages.
160
 
161
- This product grid widget offers a wide range of customization options so that you can control many aspects of this widget, such as the number of columns, the number of products, product order, and so on. If you want your WooCommerce product display to be visually appealing, so it captures potential customers' attention, you should try out the WooCommerce product grid widget.
162
 
163
- If you are interested in displaying your products in an eye-catching WooCommerce slider, WooCommerce products slider, or Woo product slider, you can do so simply by enabling an option. After activating the WooCommerce product slider or Woo product slider option, this Elementor WooCommerce widget product slideshow, WooCommerce widget product slider, or product carousel WooCommerce widget will display your products in a wonderful WooCommerce product slider or WooCommerce slideshow.
164
 
165
  <strong>[Add Banner](https://woolentor.com/demo/add-banner)</strong> – Create an eye-catching banner section anywhere you want on your WooCommerce store with this banner widget. A beautifully designed banner can help you with product exposure, advertisement of various WooCommerce offers or WooCommerce discounts, and strengthening your brand's identity. This Elementor WooCommerce builder widget (Woo builder) can be utilized as a banner designer that helps you add a banner image. For example, a promo banner, WooCommerce products announcement banner, responsive banner, etc
166
 
167
  You can also use this banner widget to alert your potential store visitor about the WooCommerce offers of your store. All you have to do is add an Elementor banner on your storefront, whether the discount type is WooCommerce cart discount, WooCommerce category discounts for WooCommerce, or any other WooCommerce custom discounts.
168
 
169
- <strong>[Special Day Offer Banner](https://woolentor.com/doc/add-special-day-offer-banner/)</strong> – Create a captivating banner with engaging offer texts to make an offer for woocommerce store on any special days like Black Friday, Cyber Monday, Christmas, etc. There are many special days like Black Friday, Christmas, Halloween. Discounts and hot offers can increase store sales or work as woocommerce booster these days. A wonderful Elementor banner can grab the attention of visitors and sometimes it increases a 15-30% conversion rate. We have added this Elementor WooCommerce widget for adding a special day offer.
170
 
171
- If you want to give WooCommerce offers or WooCommerce discounts on special days like Christmas and New Year, you can utilize this banner widget to display an eye-catching banner on your WooCommerce website. This special day offer banner encourages customers to purchase WooCommerce products that are on sale or with WooCommerce discounts. So on the occasion of special days, you should definitely give this banner widget a try!
172
 
173
- <strong>[Image marker](https://woolentor.com/demo/image-marker/)</strong> – Describe specific parts of a WooCommerce product by adding multiple markers to the WooCommerce image of that particular product. This WooCommerce marker widget or WooCommerce tooltip widget will also let you display detailed information about various parts of a WooCommerce product image via tooltip options that can be seen by hovering over the WooCommerce markers. Besides, you can include as many WooCommerce hotspot markers, WooCommerce markers, or WooCommerce product tooltips as you want in a WooCommerce image.
174
 
175
- This way, you can engage with your store visitors by giving them a visual representation of a product where they can see detailed information about different parts of it. All they need to do is hover over a WooCommerce hotspot / WooCommerce marker. It will help them decide whether or not to purchase a product.
176
 
177
- <strong>[Universal Product Layouts for WooCommerce](https://woolentor.com/demo/product-layout/)</strong> – Create your own customized layout to display your products from several different options available in this Elementor WooCommerce builder widget (Woo builder). You can also choose from a selection of WooCommerce product layouts to better match your website’s look and feel.
178
 
179
- That's not all; The Universal Product Layout widget of WooLentor (all in one for WooCommerce) can also be used as a WooCommerce product slider plugin, Woocommerce widget product slider, Woocommerce widget product slideshow, WooCommerce slider addons, or Woo product slider for WooCommerce using which you can add a product carousel WooCommerce, WooCommerce carousel, WooCommerce product carousel, WooCommerce products carousel, Elementor WooCommerce product carousel slider, Woocommerce products slider, or WooCommerce slider to your WooCommerce store.
180
 
181
- A WooCommerce products carousel is a wonderful way to showcase your WooCommerce products on your website. Using a WooCommerce product carousel, you can highlight multiple WooCommerce products in a single space, making it easy for visitors to browse and choose the WooCommerce products they want. You can also use an Elementor WooCommerce product carousel slider or WooCommerce product carousel slider to promote special WooCommerce offers or WooCommerce discounts.
182
 
183
- If you're using WooCommerce with Elementor, you can easily incorporate an Elementor WooCommerce product carousel slider or Woo carousel to your website using the Universal Product Layouts widget of WooLentor. All you have to do is drag and drop the Elementor WooCommerce widget into your WooCommerce layout and enable the Elementor WooCommerce product carousel slider option. Moreover, the product carousel WooCommerce or elementor product carousel slider itself is mobile-friendly, so your potential visitors can easily scroll through it on their phone or tablet.
184
 
185
- Another fantastic fact about this Elementor WooCommerce builder widget is that it offers a useful option that allows showing WooCommerce products in different product layouts for WooCommerce. For example, WooCommerce slider, WooCommerce tab, and WooCommerce grid.
186
 
187
- Aside from that, you can choose what type of WooCommerce products to display in your store, such as WooCommerce featured products, WooCommerce category recent products, best selling products, top rated products, products on sale, WooCommerce best sale products, and so on.
188
 
189
- For example, if you want to display only the featured WooCommerce products in a WooCommerce products carousel, WooCommerce product slider, or Woo product slider, this Elementor WooCommerce widget can help you achieve that by giving you the ability to create a WooCommerce featured products slider or WooCommerce featured product slider. You can also manage the featured product by category or category name.
190
 
191
  <strong>[WooCommerce Category List](https://woolentor.com/demo/category-view/)</strong> – WooCommerce category list widget helps you to show categories vertically and horizontally. There are several styles that you can choose from like category icon/image, and the number of products in the category. This helps visitors to understand how much product you have in the specific category. Control the WooCommerce product category list style according to your requirements.
192
 
193
- <strong>[WooCommerce Category Carousel / Slider / Grid for Elementor](https://woolentor.com/demo/category-grid/)</strong> – WooCommerce store can be represented in a WooCommerce category slider or WooCommerce category carousel. This is an elegant way to showcase WooCommerce product categories and subcategories on your website. WooCommerce Category Carousel is a powerful Elementor WooCommerce builder widget by WooLentor that helps you add a WooCommerce product category slider, WooCommerce categories slider, or category slider for WooCommerce. You can also control the WooCommerce category carousel according to your requirements. This widget is for product category slider for elementor, woocommerce product category slider, product category slider, product category carousel, woocommerce product category, WooCommerce category carousel, WooCommerce category slider.
 
 
 
 
194
 
195
  <strong>[WooCommerce Category Grid](https://woolentor.com/demo/category-grid/)</strong> – A very useful Elementor WooCommerce builder category product widget that can be utilized to showcase WooCommerce product category or Woocommerce category in a responsive grid layout on your WooCommerce store. This WooCommerce category post widget can also help you create a WooCommerce category list, WooCommerce category menu, or WooCommerce category showcase including WooCommerce category images. There are options to manage WooCommerce category list, WooCommerce category image. In short, you can showcase WooCommerce product categories on your store in many different ways with the help of this Elementor WooCommerce builder widget.
196
 
@@ -200,52 +225,64 @@ For example, if you want to display only the featured WooCommerce products in a
200
 
201
  <strong>[Customer Review](https://woolentor.com/demo/customer-review/)</strong> – Display customer reviews and control the style and layout of the reviews. With the help of this Elementor WooCommerce builder widget (Woo builder), you can increase the credibility of your business by allowing potential customers to see what the previous customers are saying about a particular product.
202
 
203
- <strong>[Product Curvy](https://woolentor.com/demo/product-curvy/)</strong> – Showcase your products in an attractive card layout with circular images. Apart from drawing the attention of your store visitors, this Elementor WooCommerce builder widget will also make your WooCommerce website stand out from the thousands of other stores.
 
 
 
 
 
 
204
 
205
- <strong>[Product Image Accordion](https://woolentor.com/demo/product-image-accordion/)</strong> Add a stunning product image accordion for your products to grab the attention of your customers. This powerful WordPress accordion widget will allow you to design an advanced accordion and control the necessary styles of the WooCommerce widgets accordion elements.
206
 
207
- <strong>[Product Accordion](https://woolentor.com/demo/product-accordion/)</strong> Add a simple but effective product accordion to your store and customize it according to your needs. WooLentor's product accordion widget lets you showcase your WooCommerce products in a jQuery accordion where each product is displayed individually in an accordion pane. You can use this wp accordion widget to display certain products of your store differently.
208
 
209
- <strong>[AJAX Search Form](https://woolentor.com/demo/ajax-search-form/)</strong> – Incorporate an AJAX search form into your store so that your customers can get live WooCommerce search suggestions or WooCommerce search content when searching for a WooCommerce product or performing a WooCommerce search. Customers can find their desired products in a matter of seconds with the help of an AJAX-powered WooCommerce search bar. Besides, this powerful AJAX WooCommerce search form module allows you to perform WooCommerce search by category. If you want to provide your customers with an incredible WooCommerce product search experience while they search WooCommerce store, you should definitely consider adding an efficient WooCommerce advanced search option to your WooCommerce store.
210
 
211
- <strong>[WooCommerce Recently Viewed Products](https://woolentor.com/doc/recently-viewed-products/)</strong> – When it comes to displaying the recently viewed products or recent viewed WooCommerce products by shoppers on a WooCommerce store, this WooCommerce recently viewed products widget will come in handy. This way, visitors can see what products they recently viewed in a store, making it easier for them to decide. Moreover, you can control the number of products to showcase, product order, columns, visibility of elements, and some necessary styles to change the look and feel of these woo recently viewed products.
212
 
213
- With this WooCommerce recently viewed products widget of WooLentor, you can enable your store visitors to keep track of the WooCommerce products they have viewed recently on your online storefront. This Elementor WooCommerce widget can be used to remind your customers of items they were interested in but didn't purchase or to keep track of WooCommerce products they have already purchased so they don't accidentally buy them again.
214
 
215
- You can add the recent viewed products widget or recently viewed products widget to any page on your WooCommerce site, and it will automatically update itself with the recently viewed products. You can also customize the number of Woo recently viewed products that are displayed. Once you place the widget, it will automatically track the WooCommerce products your customers view and show them in a recently viewed products section on your website. When it comes to allowing your store visitors to see what WooCommerce products they have recently viewed, this WooCommerce recently viewed products widget or recent viewed products widget is pretty helpful.
216
 
217
- <strong>Frequently Asked Questions</strong> – Incorporate a section for the most commonly asked questions by providing their answers on your WooCommerce store using this Elementor WooCommerce builder widget for WooCommerce faqs. You can utilize this widget to create a WooCommerce ask question tab, WooCommerce faq tab, or product faq for woocommerce section that will undoubtedly improve the user experience. If you are running a WooCommerce store, you must have known that visitors ask question about WooCommerce products. Right? So, you should definitely make use of this Elementor WooCommerce widget to showcase the answers to their product based questions WooCommerce.
218
 
219
  <strong>Template Selector</strong> – Create a custom Elementor template by utilizing this very widget and use it anywhere you want.
220
 
221
 
222
  <strong>For Single Product Page:</strong>
223
 
224
- <strong>[Product Title](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Control the layout and styling of your product title. In addition, you can dynamically display a product title on the WooCommerce product page by using the product title WooCommerce widget, which is available in this WordPress WooCommerce builder plugin (Woo builder). You can hide product title as well.
225
 
226
  <strong>[Product Description](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Get control over the layout and style of your product description. The product description WooCommerce widget included in this WooCommerce builder (Woo builder) allows you to showcase the WooCommerce product description anywhere you want on the WooCommerce single product page.
227
 
228
  If you want to create a professional looking WooCommerce product page, this product description for WooCommerce or WooCommerce product description widget will come in handy as you'll be able to manage the necessary style for the WooCommerce product description.
229
 
230
- <strong>[Product Short Description](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Manage the layout and style of your product short description. When store owners want to display a short description of their products instead of a long description on the WooCommerce single product page, this Elementor WooCommerce widget can be pretty useful.
231
 
232
- <strong>[Add to Cart](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Manage the style and layout of the Add to Cart button for WooCommerce or WooCommerce single product cart button. Moreover, you can place this Elementor WooCommerce widget anywhere on the WooCommerce product page or WooCommerce product templates to display the WooCommerce add to cart button link, Woocommerce cart link, single product cart button, or the cart button for WooCommerce. That’s not all; This WooCommerce add to cart widget allows you to change the Woocommerce add to cart button text or WooCommerce add to cart button label, including all the necessary button styles to match your brand needs so that you can create a custom add to cart button WooCommerce. Place the single product cart button in any position you prefer and personalize the single product cart button as per your requirements while designing a custom add to cart button WooCommerce.
233
 
234
- <strong>[Additional Information or Additional Description](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> Display additional product information on the WooCommerce single product page. Here, additional information refers to a product's weight, height, color, dimension, and other information. If you want to show such information, this Elementor WooCommerce widget for product additional description or additional information can be handy.
 
 
235
 
236
  <strong>[Product Data Tabs](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Gives you the flexibility to display WooCommerce product tabs in any place you prefer on the WooCommerce single product page. Also, with this WooCommerce tabs widget or WooCommerce product tab widget, you can control how product page tabs will appear, applying WooCommerce product custom tabs or WooCommerce custom tabs styling. You can even manage the appearance of WooCommerce product tabs for different devices using its WooCommerce widget responsive settings.
237
 
238
- <strong>[Related Product](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Set the number of WooCommerce related products to display and change the style according to your needs. This Elementor WooCommerce widget is designed to showcase WooCommerce related products or product recommendations based on the product whose details page you are on.
 
 
239
 
240
- <strong>[Related Product Layout (Custom)](https://woolentor.com/demo/product/ship-your-idea/)</strong> Create a more customized layout to display the WooCommerce related products on the WooCommerce product page. You can even utilize this Elementor WooCommerce widget as a WooCommerce related products slider plugin to design a striking WooCommerce related products slider and personalize all the settings available for the related products slider for WooCommerce.
241
 
242
- If you are looking for a way to increase sales and conversions in your store, leverage this related products slider for WooCommerce widget that works like a WooCommerce related product slider plugin. The handy Woo builder widget offers a great option to add a related products slider for WooCommerce store.
243
 
244
- The WooCommerce related products slider plugin like widget is super easy to use and comes with plenty of features. If you are running a WooCommerce store, embellish your WooCommerce product pages or WooCommerce product templates with a beautiful related products slider for WooCommerce. Furthermore, by showing WooCommerce related products slider or related products slider for WooCommerce, you will make it convenient for customers to find other WooCommerce products they might be interested in. (Pro)
245
 
246
- <strong>[Product Price](https://woolentor.com/demo/product/ship-your-idea/)</strong> Show WooCommerce product prices dynamically on your store. This widget will automatically render the WooCommerce prices of a specific WooCommerce product. Even when a product is on sale, it will display both the WooCommerce sale price and the regular price. Besides, you can manage the style for the WooCommerce product price using this WooCommerce price addon.
247
 
248
- <strong>[Product Rating](https://woolentor.com/demo/product/ship-your-idea/)</strong> – Display your WooCommerce product ratings on the product page using the product ratings widget of WooLentor. You can also control the product rating or WooCommerce rating style with this product widget WooCommerce or WooCommerce product page widget.
 
 
249
 
250
  <strong>[Product Reviews](https://woolentor.com/demo/product/ship-your-idea/)</strong> – Show WooCommerce product reviews or WooCommerce reviews along with a review form for the customers to submit WooCommerce reviews on a product. Customer reviews on the WooCommerce product page can be helpful for potential customers to understand how people are reviewing a particular product.
251
 
@@ -255,7 +292,11 @@ WooCommerce product reviews can be beneficial in improving the overall user expe
255
 
256
  <strong>[Product Image](https://woolentor.com/demo/product/ninja-silhouette/)</strong> – Display WooCommerce product images or WooCommerce photos on the WooCommerce single product page and take control over the styling of your WooCommerce product images and product thumbnails. Shoppers can also view the WooCommerce product images, Woocommerce featured images, or WooCommerce images in a user-friendly WooCommerce lightbox or WooCommerce popup.
257
 
258
- <strong>[Advanced Product Thumbnails](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Get full control over the product thumbnails layout with this advanced Elementor WooCommerce builder widget or Woo builder widget. It allows showcasing product thumbnails in a WooCommerce product gallery slider, WooCommerce gallery slider, WooCommerce gallery carousel, or WooCommerce product gallery carousel, which makes the thumbnail images look quite appealing. You can even show or hide the WooCommerce sale badges or WooCommerce badges (Woo badges) if you want. (Pro)
 
 
 
 
259
 
260
  <strong>[Advanced Product Thumbnails with Zoom](https://woolentor.com/demo/product/image-zoom/)</strong> – One of the most useful WooCommerce product addons that helps you showcase your product images or WooCommerce images with a WooCommerce zoom effect. This Elementor WooCommerce builder widget for WooCommerce product zoom plays the role of a WooCommerce zoom image plugin, WooCommerce zoom plugin, or product image zoom for WooCommerce plugin.
261
 
@@ -265,21 +306,21 @@ This product zoom WooCommerce or WooCommerce product zoom widget allows your cus
265
 
266
  By leveraging this WooCommerce product zoom or WooCommerce zoom widget as a product image zoom for WooCommerce plugin, WooCommerce zoom image plugin, or WooCommerce zoom plugin, add versatile product zoom, product photo zoom, or hover over image zoom functionality to your WooCommerce product images, making it easy for customers to see detailed WooCommerce product information and get a closer look at the WooCommerce product they are interested in. With product zoom WooCommerce or WooCommerce product zoom, your customers will be able to see your WooCommerce products in greater detail, making it more likely that they'll make a purchase.
267
 
268
- On top of that, you can create a beautiful WooCommerce product thumbnails slider or WooCommerce product image slider on your store with this WooCommerce product addon or WooCommerce product options. Using such functionality of product zoom woocommerce and WooCommerce product thumbnails slider on WooCommerce product templates, you can enhance the look and feel of the WooCommerce single product page.
269
 
270
- A product slider with thumbnails is a great way to showcase a WooCommerce product on the WooCommerce product page. By displaying product thumbnails in a slider, you can give your customers a better idea of what they are looking at and make it easier for them to find their desired WooCommerce product. You can easily create a WooCommerce product thumbnails slider using this Elementor WooCommerce widget.
271
 
272
  This way, customers can quickly browse through the WooCommerce product thumbnails slider or product slider with thumbnails and get an idea of what each WooCommerce product looks like. The product thumbnails provide a clear overview of a specific WooCommerce product, and the WooCommerce product thumbnails slider helps increase product visibility as well as encourage customer engagement.
273
 
274
  <strong>[Product Video Gallery](https://woolentor.com/demo/product/video-in-product-gallery/)</strong> – Add WooCommerce product videos to the product thumbnails gallery and get control over the WooCommerce gallery position. This video gallery widget or WooCommerce product video widget is not limited to including WooCommerce videos or product videos in the thumbnails gallery. In addition, you will be able to create an engaging video gallery of your WooCommerce products.
275
 
276
- <strong>[Product Share Widget](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Product sharing is a great way to promote your products and get word-of-mouth marketing. By displaying the product share options to your customers in a lively manner, you can make it easy for them to share products on their social media. Product Share Widget will help to spread the word about your products and increase sales. It’s work like a woocommerce booster or booster for woocommerce. In addition, by making it easy for customers to share products, you will build trust and goodwill. Customers who have a positive experience with your company are more likely to return in the future and recommend your products to others. Therefore, product sharing is an essential part of any good marketing strategy.
277
 
278
- <strong>[Upsell Product](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Set the number of upsell products to display and change the style based on your needs. With this WooCommerce builder upsell products widget, you can encourage potential customers to include some more expensive products or add-ons to their orders so that it increases the overall order value.
279
 
280
  You can also use the WooCommerce upsell products widget like a WooCommerce upsell plugin to display similar or related upsells products on a specific product's detail page and persuade customers to spend more on those WooCommerce upsells products.
281
 
282
- Upselling WooCommerce products is a common marketing technique that encourages customers to purchase higher-priced WooCommerce products. By showcasing upsells products or WooCommerce upsell products, you can increase your store's average order value and boost profits. With this Woo Builder widget for upsells products, you can upsell WooCommerce products to your customers by displaying them within an attractive upsell carousel or upsells carousel.
283
 
284
  And because the Elementor WooCommerce widget for upsells products is highly customizable, store owners can tailor the experience to best fit their individual business needs. So if you're looking for a way to boost your eCommerce sales, consider using the WooCommerce upsells carousel widget on your store.
285
 
@@ -287,7 +328,7 @@ So, what are you waiting for? Make sure to leverage the product upsell feature i
287
 
288
  <strong>[Upsell Product Layout (Custom)](https://woolentor.com/demo/product/ship-your-idea/)</strong> – Create a more personalized layout to display the WooCommerce upsell products. This WooCommerce builder product upsell widget or upsell WooCommerce widget gives you the ability to have even more control over the look and feel of the WooCommerce upsell products section. You can even showcase upsell products in an attractive upsell carousel or upsell carousel. (Pro)
289
 
290
- <strong>[Product Stock](https://woolentor.com/demo/product/stock-progress-bar/)</strong> – Show the stock status of your products on the WooCommerce single product page using this product stock widget. When you show stock or stock available notice to your potential customers, including the number of WooCommerce stock available for a product (i.e. stock count), they will get a clear idea of whether a product is available for purchase. Besides, you can control the style of your product stock status.
291
 
292
  <strong>[Product Meta](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Show or hide WooCommerce product meta on the WooCommerce product page. Here product meta refers to product category, WooCommerce product tag, product SKU, etc. With the product meta widget, you can also customize the style of your WooCommerce product meta data.
293
 
@@ -295,15 +336,15 @@ With the WooCommerce show terms feature of this WooCommerce product meta widget,
295
 
296
  Therefore, if you intend to display the WooCommerce category and WooCommerce tags of your WooCommerce products on the WooCommerce single product page of your store, this WooCommerce product meta widget will come in handy.
297
 
298
- <strong>[Call for price](https://woolentor.com/doc/call-for-price/)</strong> – Allows you to add a button using which your customers will be able to call you to know the price of your products. You may want to add products without showing the WooCommerce price, so your customers can call you to know the WooCommerce price. We found many websites that hide WooCommerce price for some of their products. For this type of website, we added this widget. If anyone clicks on the “Call for price” button from a mobile, he/she can easily contact you by phone call.
299
 
300
- On a WooCommerce site, the "WooCommerce no price" and "call for price" button can be used when a seller does not want to display the price of a WooCommerce product upfront or when the customer needs to request a quote based on their requirements. For example, WooLentor's "WooCommerce no price" or "call for price" button widget lets you hide the price of a WooCommerce product until the customer calls the store admin to know the WooCommerce price.
301
 
302
  The "call for price" button is typically used to link to a phone number, which customers can directly call through their mobile devices. This type of WooCommerce button can be pretty helpful when selling WooCommerce products that are made to order or when the WooCommerce price is variable based on customer needs.
303
 
304
- <strong>[Suggest Price](https://woolentor.com/doc/suggest-price/)</strong> – Insert a button to get suggestions from your customers regarding the price of your WooCommerce products. Your customers can suggest a price for your WooCommerce products. You can add this button widget anywhere on your product details page. We recommend putting it on the right side of the add to cart button for WooCommerce. When a customer clicks the button, a contact form will open to send a WooCommerce product price suggestion.
305
 
306
- Suggest Price Elementor WooCommerce widget works like a feature called WooCommerce name your price or name your price for WooCommerce products. In simple words, customers can use the suggest price button to name their own WooCommerce product prices simply by submitting a simple form. A store owner or admin will then take the customer's input and review the price. The WooCommerce builder widget or Woo builder widget could be a great way to get customers interested in WooCommerce products they may not have considered of purchasing in the beginning.
307
 
308
  <strong>[QR Code](https://woolentor.com/demo/product/qr-code/)</strong> – Let your customers add any products to their cart just by scanning the QR code from their mobile phone.
309
 
@@ -311,7 +352,7 @@ Suggest Price Elementor WooCommerce widget works like a feature called WooCommer
311
 
312
  <strong>[Stock Progress Bar](https://woolentor.com/demo/product/stock-progress-bar/)</strong> – Add a WooCommerce stock progress bar to display the number of WooCommerce ordered products and available products. This Elementor WooCommerce widget lets you visually represent the available stock of a specific product by using a WooCommerce progress bar or product stock count progress bar for WooCommerce. Once your prospective customers see the amount of WooCommerce ordered products, sales count WooCommerce, or WooCommerce sales count, it becomes easier for them to understand how much demand that particular WooCommerce product has on your store.
313
 
314
- When it comes to online shopping, one of the most important factors for customers is knowing how much stock is available. This is where the WooCommerce stock progress bar widget comes in. This handy WooCommerce progress bar or stock progress bar widget allows you to display a product stock count progress bar on WooCommerce single product pages or WooCommerce product templates, letting customers know how much stock is left at a glance. Adding a WooCommerce progress bar can encourage customers to buy WooCommerce products before they sell out, and it can also help to avoid customer disappointment.
315
 
316
  In addition, the product stock count progress bar for WooCommerce module can also be configured to display the number of WooCommerce ordered products. Whether you're running a small online storefront or a large eCommerce operation, the WooCommerce Stock Progress Bar or WooCommerce progress bar is a valuable feature to keep your business running smoothly. (Pro)
317
 
@@ -322,23 +363,23 @@ In addition, the product stock count progress bar for WooCommerce module can als
322
 
323
  <strong>[Cart Table](https://woolentor.com/demo/cart/)</strong> – Control each and every element of the cart table and customize the action buttons.
324
 
325
- <strong>[Cart Total](https://woolentor.com/demo/cart/)</strong> – Manage the style and layout of the cart total table. Aside from displaying the cart total, this cart WooCommerce widget lets you show product discount, WooCommerce cart discount, WooCommerce discounts, WooCommerce coupons, etc. WooCommerce discounts on the WooCommerce cart page are an excellent way to show appreciation for your customers and encourage them to purchase more products from your store.
326
 
327
  <strong>[Empty Cart Message](https://woolentor.com/demo/cart/)</strong> – Show a WooCommerce cart message when the cart is empty. This WooCommerce empty cart message widget will also allow you to change the WooCommerce cart message text and customize some essential styles.
328
 
329
  If you're running a WooCommerce store, it's important to setup a WooCommerce cart message. This message will let your customers know that they've reached the limit for the number of items they can purchase. By doing this, you can prevent oversold items and help keep your inventory levels in check. There are a few different ways to setup a WooCommerce cart message, so be sure to consult the WooCommerce documentation to find the best method for your store. Remember, a well-run WooCommerce store requires careful planning and attention to detail - setting up a WooCommerce cart message or cart message WooCommerce is just one small part of this process.
330
 
331
- <strong>[Empty Cart Redirect Button](https://woolentor.com/demo/cart/)</strong> – Get full control over the redirect button of an empty Cart page or woocommerce add to cart redirect.
332
 
333
  <strong>[Cross Sell Product](https://woolentor.com/demo/cart/)</strong> – Showcase WooCommerce cross sell products on your WooCommerce store and control the styles for each cross sell widget element.
334
 
335
  Cross selling WooCommerce products is an incredible technique for selling related WooCommerce products to a customer who has already purchased something. For example, a customer who is buying a dress may also be interested in purchasing a matching handbag.
336
 
337
- WooLentor’s Elementor WooCommerce widget to showcase WooCommerce cross sell products which is fully compatible with WooCommerce's built-in feature for cross selling. By showing the customer relevant cross sell products or cross-sells products to the customer, businesses can increase the value of each transaction and boost their overall sales.
338
 
339
  When used correctly, cross selling can be an effective way to increase revenue and grow a business by recommending genuinely useful WooCommerce cross sell, cross-sells, or crosssell WooCommerce products to your potential store visitors.
340
 
341
- <strong>[Cross Sell Product Layout (Custom)](https://woolentor.com/demo/cart/)</strong> – Get even more control over the cross selling products or WooCommerce cross sell products using this fantastic Cross-sell products widget.
342
 
343
 
344
  <strong>Checkout Page Widgets (Pro):</strong>
@@ -355,7 +396,7 @@ When used correctly, cross selling can be an effective way to increase revenue a
355
 
356
  <strong>[Checkout Login Form](https://woolentor.com/demo/checkout/)</strong> – Customize the login form as per your requirements.
357
 
358
- <strong>[Checkout Order Review](https://woolentor.com/demo/checkout/)</strong> – Allow your customers to review the order details before placing their orders. To name a few, WooCommerce ordered products, subtotal, WooCommerce discounts, WooCommerce shipping cost, WooCommerce additional cost, WooCommerce extra cost, WooCommerce checkout cost, WooCommerce costs, etc. With this Elementor WooCommerce builder widget, you can also change the style of the order review form exactly the way you want.
359
 
360
 
361
  <strong>My Account Page Widgets (Pro):</strong>
@@ -385,17 +426,29 @@ When used correctly, cross selling can be an effective way to increase revenue a
385
 
386
  You can also make use of this Elementor Woo builder widget to create an eye-catching WooCommerce product catalog to showcase your WooCommerce products and make it easy for customers to find what they're looking for. To put it in a nutshell, this WooCommerce products archive widget is mainly designed for WooCommerce product display based on your theme style.
387
 
388
- <strong>[Product Archive Layout (Custom)](https://woolentor.com/demo/product-category/clothing/hoodies/)</strong> – Display your products using a more customized layout and get control over the styles of every element. You can easily create an appealing product list for WooCommerce websites with this Elementor WooCommerce builder widget or Woo builder widget.
 
 
 
 
389
 
390
- You can also use this product catalog WooCommerce or WooCommerce catalog widget to showcase your WooCommerce products in a WooCommerce product catalog. So even if you want to create multiple WooCommerce categories designs for every WooCommerce category your online storefront has, this WooCommerce widget has you covered. (Pro)
391
 
392
  <strong>[Horizontal Filter](https://woolentor.com/demo/horizontal-filter/)</strong> – Provide your store visitors with various Woocommerce products filters or Woo products filters horizontally (Woo filters) while having absolute control over the styles and layouts of those WooCommerce product filters or product filter for WooCommerce. You can leverage this WooCommerce product filter widget or Elementor filter widget like a WooCommerce filter plugin to add several product filters for WooCommerce or WooCommerce shop filters, such as WooCommerce search filter, category filter WooCommerce, WooCommerce search by price filter, WooCommerce search by tag, WooCommerce sort, and so on.
393
 
394
- The horizontal product filter for WooCommerce is one of the powerful Elementor WooCommerce widgets of WooLentor, which allows customers to narrow down their WooCommerce search results by various product options, such as product categories, WooCommerce tags, etc.
 
 
 
 
395
 
396
- These WooCommerce filters can be useful for shoppers and store owners, as it helps to improve the best shopping experience and increase conversions. On the other hand, this WooCommerce shop filter widget works like a WooCommerce filter plugin or product filter for WooCommerce plugin that provides your customers with intuitive WooCommerce filters when they search for a WooCommerce product in your store.
397
 
398
- <strong>[Vertical Filter](https://woolentor.com/demo/filter-vertical/)</strong> Display several WordPress WooCommerce product filters vertically (Woo filters) on your WooCommerce store and get complete control over the styles and layouts of those WooCommerce product filters or product filter for WooCommerce. When you associate this WooCommerce product filter widget, Elementor filter widget, or vertical filter widget with an archive widget, your products will become WooCommerce filterable products. It means that store visitors can filter through the WooCommerce products based on different WooCommerce filters or WooCommerce shop filters and easily find or view products they are looking for.
 
 
 
 
399
 
400
 
401
  == 💪 WooLentor's WooCommerce Module: ==
@@ -423,59 +476,69 @@ This feature allows showing the sales notification or sales popup to display rea
423
  [More Details](https://woolentor.com/doc/sales-notification-for-woocommerce/)
424
 
425
  = ✏️ Rename Label =
426
- WooLentor allows renaming WooCommerce labels for Shop, Product details, Cart, Checkout page text. For example, WooCommerce button text, WooCommerce text message, WooCommerce add custom text, WooCommerce add to cart button text, Change cart button text, Order button text, and checkout page fields text.
427
 
428
  [More Details](https://woolentor.com/doc/change-woocommerce-text/)
429
 
430
  = 👀 Product Quick View =
431
 
432
- Incorporate a WooCommerce product quick view into your store so that visitors can immediately see detailed information about a specific product without having to visit the WooCommerce product page. This Elementor WooCommerce builder module displays a WooCommerce product quick view modal within a WooCommerce lightbox that helps shoppers with quickshop or WooCommerce quick order.
433
 
434
- The WooCommerce modal for product quick view popup is a crucial feature for any WooCommerce store that sells WooCommerce products. This WooCommerce products quick view feature or product quick view for WooCommerce enables customers to view product information in a WooCommerce lightbox or WooCommerce pop up without having to leave the WooCommerce single product page they are on. When there are a lot of WooCommerce products in a WooCommerce store, the WooCommerce products quick view, WooCommerce quick view or quick view WooCommerce option is very useful as it helps customers to find the product they are looking for without having to search through all of the WooCommerce products.
435
 
436
- Product quick view modal or quick view WooCommerce modal also has other benefits, such as the ability to add products to the cart from the quick view WooCommerce modal itself and view WooCommerce product reviews.
437
 
438
- You can even utilize the WooCommerce product quick view popup to perform quick cart addition. In other words, customers can effortlessly add a WooCommerce product to their cart simply by clicking the WooCommerce add to cart button link available on WooCommerce quick view or WooCommerce product quick view without the need to navigate away from the WooCommerce product page. Overall, product quick view for WooCommerce is an excellent addition to your online store for improving the user experience.
 
 
439
 
440
  [More Details](https://woolentor.com/doc/change-woocommerce-text/)
441
 
442
  = ❤️ WooCommerce Wishlist Module =
443
  WooLentor's WooCommerce Wishlist Module is a fantastic module that enables you to integrate the woo wishlist feature on your WooCommerce store. With the help of this extraordinary Wishlist module, you can provide a seamless shopping experience to your potential customers by allowing them to create a wishlist for WooCommerce and add their desired WooCommerce products to that WooCommerce wishlist so that they find all their items in one place later.
444
 
445
- Once you enable the products wishlist or product wishlist module of WooLentor, an Elementor WooCommerce wishlist widget will get unlocked. With the wishlist widget, you can display a flexible wishlist tables or WooCommerce wishlist where customers can view the WooCommerce products they have added to the WooCommerce wishlist. You can even use this WooCommerce wishlist widget to give your customers the ability to share their products wishlists with friends and family.
446
 
447
  Plus, the wishlist widget is fully responsive so that it will work on any device, including mobile phones and tablets. Therefore, if you intend to encourage your customers to keep returning to your website, adding a wp eCommerce wishlist or Woo wishlist to your site is a great way to achieve that. This WooCommerce wishlist module makes it easy to convert many of your potential visitors into a potential customer.
448
 
449
  [More Details](https://woolentor.com/builder/quick-view-template/)
450
 
451
  = ⚖️ Product Comparison / Product Compare or Comparison Table Module =
452
- Product comparison / Product Compare is a wonderful module that lets you add a product comparison option to your WooCommerce store using which your store visitors will be able to compare different products in WooCommer table layout or a WooCommerce popup window. Product comparison module allows them to check the differences among the WooCommerce products based on several attributes while helping them make the buying decision easier at the same time.
453
 
454
  Furthermore, customers can compare prices of various WooCommerce compare products within the compare tables generated by this powerful compare products plugin or products compare plugin. But, that’s not all; This WooCommerce product compare plugin or WooCommerce compare products plugin even allows visitors to do several other things, such as compare offers, compare images, image comparison WooCommerce, compare images WooCommerce, price compare, and many more. All it requires is a click on a WooCommerce compare products button, and an interactive compare popup will appear where they can compare WooCommerce products in a compare table.
455
 
456
- Product comparison a great way to engage your customers and help them make informed decisions about the products they're interested in. Product comparison is an essential tool for any WooCommerce store, and the Product Comparison for WooCommerce module makes it easy to add this functionality to your site.
457
 
458
  This WooCommerce compare products or WooCommerce product compare module enables you to do WooCommerce products comparison or comparison products within WooCommerce compare tables. This remarkable feature for products compare or product compare can be handy for customers who want to find the best deals on items. Moreover, the WooCommerce product compare module of WooLentor plays the role of a WooCommerce compare products plugin that eCommerce businesses can leverage to provide store visitors with the option to compare prices, compare offers, compare WooCommerce products, and so on.
459
 
 
 
 
 
460
  Thus it becomes a lot easier for customers to make informed purchase decisions and find the best WooCommerce product in their budget with the help of this shopping comparison or comparison shopping feature. The compare WooCommerce product module is a great solution that can help you provide an informative and user-friendly shopping comparison experience to your customers. If you're looking for a way to incorporate the WooCommerce products comparison feature to your WooCommerce site, you should definitely check this WooCommerce product compare or WooCommerce compare products module out.
461
 
462
- On top of that, WooLentor is fully compatible with the YITH WooCommerce compare plugin many users use to accomplish the same task.
463
 
464
  [More Details](https://woolentor.com/doc/woocommerce-product-compare/)
465
 
466
  = ⏲️ Flash Sale Countdown =
467
- Flash Sale Countdown module allows you to show discounts available for a limited time by adding a WooCommerce sale countdown timer, sale countdown timer WooCommerce, WooCommerce product countdown, sale discount countdown, or product time countdown for WooCommerce. Short-term sales can be a fantastic way to sell a large number of items in a few hours. If your company expects an exceptional rise in your checkout counts, you ought to leverage the Flash Sale Countdown module or WooCommerce sale countdown module on New Year’s Eve, Black Friday, Christmas, and other holiday sales. In short, the flash sale countdown module plays the role of a countdown plugin for WooCommerce or a sale countdown WooCommerce addon.
468
 
469
- This incredible WooCommerce product countdown module or sales countdown WooCommerce addon will also help you create a sense of urgency and scarcity among your customers by allowing you to display a WooCommerce sales countdown timer, WooCommerce countdown timer, sale countdown timer WooCommerce, or WooCommerce timer on the promotional campaigns you run. You can even set a time when a Woocommerce sale schedule will begin using this sales countdown WooCommerce addon, which helps in creating a buzz as well as boosting the conversion rate.
470
 
471
- The sales countdown WooCommerce addon is the perfect way to drive sales and boost product awareness. This sales countdown WooCommerce addon allows you to display a WooCommerce sale countdown or WooCommerce timer on your WooCommerce product pages or WooCommerce product templates. You can create a sense of urgency that encourages customers to buy before time runs out. You can also use this WooCommerce sale countdown or countdown timer WooCommerce to highlight special WooCommerce discounts or promote seasonal products.
472
 
473
- If you want to increase sales and encourage customers to buy your products, a sale countdown timer WooCommerce can help you with that. By leveraging WooLentor's sales countdown WooCommerce addon in the form of a module, you can incorporate a lot of things on your online storefront, such as WooCommerce sale countdown, WooCommerce sales countdown, sales countdown timer, sales timer, or WooCommerce timer.
474
 
475
- When it comes to showing WooCommerce discounts or WooCommerce offers for a limited time, this module allows you to add a WooCommerce countdown timer or countdown timer WooCommerce on your WooCommerce store to show WooCommerce sale time.This way, you can create a sense of urgency that will motivate customers to make a purchase. So if you're looking for a way to convert more of your potential visitors into customers, consider adding a sale countdown timer WooCommerce plugin to your online store.
476
 
477
  Running a WooCommerce flash sales work like a charm if you want to boost your overall sales. A flash sale is referred to limited-time WooCommerce offers or WooCommerce discounts for a few chosen WooCommerce products in your store. If you want to make the most of your flash sale, it's essential to display a flash sale countdown timer, sale flash, or flash bar on your WooCommerce website. The WooCommerce flash sales module allows you to add a flash sale countdown using which you can apply flash sales for a short period of time.
478
 
 
 
 
 
479
  This WooCommerce countdown timer works like a discount product scheduler, flash bars, flash notifications, sale flash, etc. Furthermore, with the discount product scheduler, you can set when the flash sale starts and ends. You can even configure on which WooCommerce products you want to apply discounts or display sale flash. With the proper planning and execution, a WooCommerce flash sale, sale flash, or flash bar can help you generate more revenues than usual.
480
 
481
  Other than that, the sales countdown WooCommerce addon or countdown timer WooCommerce addon is highly customizable as well, so you can customize the appearance of the product time countdown for WooCommerce or WooCommerce timer to match your site's design. Therefore, if you're looking for a way to increase sales and clear out inventory quickly and efficiently, the sales countdown WooCommerce addon of WooLentor is an excellent solution.
@@ -483,12 +546,16 @@ Other than that, the sales countdown WooCommerce addon or countdown timer WooCom
483
  [More Details](https://woolentor.com/doc/enable-sales-countdown-timer-in-woocommerce/)
484
 
485
  = ✨ Shopify Style Checkout Page in WooCommerce =
486
- When it comes to the Checkout page, customers always prefer a clean and simple one rather than a complicated one with lots of fields. A lengthy Checkout form can even increase cart abandonment while also negatively affecting the conversion rates. With this in mind, we have added a fantastic feature, which will enable you to create a Shopify style Checkout page that is pretty straightforward. Furthermore, it will provide the customers with an amazing WooCommerce fast checkout experience which will help customer with WooCommerce quick order. So, make sure to leverage this fantastic WooCommerce module to provide your customers with a fast WooCommerce checkout experience.
487
 
488
  [More Details](https://woolentor.com/shopify-style-checkout-page-in-woocommerce/)
489
 
490
  = 📧 WooCommerce Email Customizer =
491
- Email Customizer by WooLentor is a powerful module that allows you to easily customize your WooCommerce Email Templates, giving you the professional look that many businesses desire. With the Email Customizer Elementor module, you can create custom email template designs or layouts for all of the default WooCommerce emails using the Elementor page builder. Furthermore, the Elementor module includes a plethora of customization options, allowing you to get complete control over the look and style of those emails – so you can tailor the default WooCommerce email templates to match your brand perfectly. Whether you want to make a simple change or completely redesign your WooCommerce email templates, Email Customizer has you covered.
 
 
 
 
492
 
493
  With the WooCommerce Email Builder module of WooLentor, you can easily create beautiful, professional-looking WooCommerce custom emails (Woo custom emails) that represent your brand well. You can also use pre-designed WooCommerce email templates to save time and ensure a consistent look for your messages. Whether you're sending a shipping update, a special WooCommerce offer, or just a thank-you note, this email template builder, email template designer, WooCommerce email designer, or WooCommerce email editor makes it easy to create custom WooCommerce email templates, email template design, or WooCommerce custom emails.
494
 
@@ -553,10 +620,14 @@ A preorder is a purchase in which a customer makes before the product officially
553
 
554
  WooLentor doesn’t only incorporate the WooCommerce preorder options into your WooCommerce store but also allows you to manage all of the WooCommerce preorders from the order menu. You can even display a pre-order notice on the Cart page.
555
 
556
- As the WooCommerce preorder or pre-order WooCommerce feature gives a rough indication of which WooCommerce products are in demand, store owners can easily make an efficient marketing plan or strategy accordingly to create a buzz around those specific products. As a result, they understand beforehand which products are going to be popular once they are available in the store.
557
 
558
  This way, store owners can leverage the pre-order for WooCommerce module or pre-order WooCommerce module to its fullest, ensuring that customers don’t miss out on their desired products or any WooCommerce upcoming products. Furthermore, with WooCommerce preorder setup and configured for a few WooCommerce products, customers can purchase them even if they are out of stock.
559
 
 
 
 
 
560
  [More Details](https://woolentor.com/doc/how-to-set-pre-order-for-woocommerce/)
561
 
562
  = 📏 WooCommerce Product Size Chart Module (Pro) =
@@ -570,22 +641,22 @@ GTM Conversion Tracking Module helps you keep track of conversions and assign th
570
  = 📌 Single Product Sticky Add to cart Module (Pro) =
571
  One of the most essential aspects of building a successful online shop is to make the process as simple as possible for your consumers. Using the sticky add to cart WooCommerce module, you can easily achieve this as it allows you to incorporate a sticky add to cart bar, WooCommerce sticky bar, cart WooCommerce sticky, or sticky WooCommerce bar to the product page. A sticky add to cart or sticky cart bar includes an add to cart button, a cart quantity field as well as some product information.
572
 
573
- This sticky add to cart bar usually appears when you scroll past the add to cart button located at the top of the product details page. This feature will come in handy when product information is too lengthy and customers can't decide whether or not to add a product to the cart. With WooLentor's sticky add to cart module, you can display a WooCommerce sticky bar on the product page, using which customers can easily add a product to the cart even if they scroll past the default WooCommerce cart button.
574
 
575
- This WooCommerce sticky bar module enables you to add a sticky add to cart bar on the WooCommerce product page of your WooCommerce site. By keeping the bar 'stick' to the bottom of the WooCommerce product page, you can make it easy for visitors to add WooCommerce products to their cart, as the sticky add to cart for WooCommerce or WooCommerce sticky add to cart will usually stay in place even when customers scroll up and down.
576
 
577
  When it comes to keeping your customers engaged while reducing shopping cart abandonment, this WooCommerce Sticky Bar or cart WooCommerce sticky module will be tremendously helpful. Overall, the WooCommerce sticky bar or cart WooCommerce sticky is a simple but effective way to improve the customer's shopping experience.
578
 
579
  [More Details](https://woolentor.com/doc/single-product-sticky-add-to-cart/)
580
 
581
  = 🛒 Side Mini Cart / Cart Drawer Module (Pro) =
582
- WooLentor’s Cart Drawer or Side Mini Cart for WooCommerce is a useful module that displays a list of current cart items on your website. This helps to improve the purchasing experience for your consumers by allowing them to keep track of their progress without ever having to leave the page. The WooCommerce minicart feature also makes removing things from their cart simple – there’s no need to go to the shopping cart page, they can just click ‘remove’ next to the item in the mini cart.
583
 
584
- A WooCommerce side cart appears as a WooCommerce cart icon on the right-hand side or left-hand side of your screen. It kind of works like a WooCommerce floating mini cart, Woo floating minicart, floating cart for WooCommerce, Woo floating cart, or WooCommerce offcanvas cart. When users click on that Woocommerce cart icon, they can view their cart items before checking out. That’s the reason why customers find the WooCommerce mini cart convenient enough as it helps them save a lot of time while purchasing.
585
 
586
- This wonderful side mini cart module enables you to add a WooCommerce side cart, side cart WooCommerce, WooCommerce minicart, WooCommerce mini cart, etc. that can help you convert many of your potential store visitors into loyal customers.
587
 
588
- The Side Mini Cart module of WooLentor is a great way to keep your customers' shopping carts organized and ensure they can always see what they have in their carts. Whenever a customer adds any WooCommerce products to the cart, the side mini cart slides in a WooCommerce minicart or WooCommerce mini cart from the side like a WooCommerce popup cart or WooCommerce cart popup.
589
 
590
  This WooCommerce add to cart popup or WooCommerce added to cart popup allows customers to see what WooCommerce products they have in their carts. If you want to keep your online storefront organized, then the side cart WooCommerce module is the perfect solution for you.
591
 
@@ -594,7 +665,7 @@ This WooCommerce add to cart popup or WooCommerce added to cart popup appears wh
594
  [More Details](https://woolentor.com/doc/side-mini-cart-for-woocommerce/)
595
 
596
  = 🔀 Redirect to checkout / Redirect to checkout after add to cart (Pro) =
597
- The Redirect to Checkout Module of WooLentor is an excellent feature for keeping your customers on track and ensuring a quick checkout process. This WooCommerce checkout redirect module allows you to send visitors to the checkout page of your website after they click the add to cart button so they can complete the purchase promptly and easily. Adding a redirect to checkout after add to cart helps to provide an optimal user experience while boosting conversion rates and sales. This WooCommerce add to cart redirect or WooCommerce checkout redirect module will be extremely useful if you want to provide a smooth shopping experience to your customers via WooCommerce redirect.
598
 
599
  [More Details](https://woolentor.com/doc/redirect-to-checkout/)
600
 
@@ -611,7 +682,7 @@ JustTables is an incredible WordPress plugin that lets you showcase all your Woo
611
 
612
  In other words, you can leverage this wonderful WooCommerce product table plugin like a WooCommerce table designer or WooCommerce table builder that allows creating product tables for WooCommerce, product table for WooCommerce, WooCommerce product tables, product table WooCommerce, or product table listing to showcase your products in WooCommerce table view, WooCommerce table layout, or WooCommerce products table.
613
 
614
- WooCommerce product table listing is an essential feature for any online storefront as it provides a quick and easy way to add a WooCommerce product list table that showcases multiple WooCommerce products at once. This products list table lists all your WooCommerce products in a WooCommerce table layout or WooCommerce table view. When the WooCommerce products table is used in conjunction with product search and sort filters, customers can view all of your WooCommerce products in one place and quickly find their desired WooCommerce products.
615
 
616
  This remarkable product table for WooCommerce or WooCommer product table plugin allows you to exhibit your WooCommerce products inside a WooCommerce table or Woo product table. That's not all; the products table or product tables created with this WooCommerce product table plugin will be fully responsive, which means that you can also create responsive tables for your WooCommerce product display. WooCommerce table or Woo product table is a great way to list products in an organized and professional manner. If you're looking for a way to increase product visibility while boosting WooCommerce sales, WooCommerce product tables are a great option.
617
 
@@ -626,7 +697,7 @@ Multi-Currency for WooCommerce is a prominent currency switcher plugin for WooCo
626
  [youtube https://youtu.be/_MOgvsZJ6uA]
627
  [youtube https://youtu.be/MKjhBO2xQzg]
628
 
629
- == How to customize woocommerce single product template ==
630
  [youtube https://youtu.be/yMWtnsufvJk]
631
 
632
  == Build Custom My Account Page (Pro Feature) ==
@@ -681,6 +752,13 @@ Elementor Pro is not required. But you can use wooLentor with Elementor free & P
681
 
682
  == Changelog ==
683
 
 
 
 
 
 
 
 
684
  = Version: 2.4.5 - Date: 20-09-2022 =
685
  * Added : Ordering option in Category grid / List addons.
686
  * Improved : No limit to showcase products using category grid addon.
@@ -859,7 +937,7 @@ Elementor Pro is not required. But you can use wooLentor with Elementor free & P
859
 
860
  = Version: 2.1.2 - Date: 2021-12-07 =
861
  * Added : Product box same height option in Universal product layout
862
- * Improved : Elelementor Widget register.
863
  * Solved : Logo dimension issue for shopify style checkout page.
864
 
865
  = Version: 2.1.1 - Date: 2021-11-29 =
@@ -961,7 +1039,6 @@ Elementor Pro is not required. But you can use wooLentor with Elementor free & P
961
  = Version: 1.8.6 - Date: 2021-27-03 =
962
  * Solved HTML tags validation issue.
963
 
964
-
965
  = Version: 1.8.5 - Date: 2021-24-03 =
966
  * Added 5 extensions addon.
967
 
@@ -1236,7 +1313,7 @@ Yes, you can use the [WooCommerce Product Flash sale Countdown](https://woolento
1236
 
1237
  3. Enable the Countdown module.
1238
 
1239
- WooCommerce Sales countdown can boost your sales. If you are looking for a countdown plugin for WooCommerce, then you can use Woolentor for your online store. WooLentor has the Elementor countdown addon or widget which helps to display the countdown for any special days offers like Christmas countdown, Blackfriday countdown, etc.
1240
 
1241
  = How to enable backorder in WooCommerce? =
1242
 
@@ -1292,7 +1369,7 @@ WooLentor has a module for ajax based cart or quick add to cart. You can use the
1292
 
1293
  = How to add a custom field in WooCommerce checkout? =
1294
 
1295
- WooLentor Pro has a module for WooCommerce checkout field editor. You can use the WooCommerce checkout fields manager module to add custom fields/WooCommerce additional fields/WooCommerce extra checkout fields, hide checkout fields, and remove billing fields on the WooCommerce checkout page. You can follow these steps:
1296
 
1297
  1. Install and activate the WooLentor plugin.
1298
 
@@ -1338,7 +1415,7 @@ WooLentor has a module for WooCommerce label customization. You can use the WooC
1338
 
1339
  = How to show best selling products by category? =
1340
 
1341
- You can show best selling products using the Universal Widget of WooLentor. This widget can be used as a WooCommerce best selling product widget woocommerce. Where you can show best selling products by category. To do this, follow these steps
1342
 
1343
  1. Edit a page where you want to add the best selling products.
1344
  2. Drag the Universal Widget.
@@ -1384,7 +1461,7 @@ Yes, WooLentor can handle WooCommerce digital products or WooCommerd downloadabl
1384
 
1385
  With great pleasure, we'd like to inform you that our team runs several tests before releasing any major WooLentor update to ensure that it doesn't affect a website's performance in terms of WooCommerce speed or page speed 🚀
1386
 
1387
- Aside from that, WooLentor allows users to enable or disable specific widgets and modules as per their needs to speed up Elementor widgets' performance 💪
1388
 
1389
  Another noteworthy fact is that no heavy PHP rendering is required to render any of WooLentor's widgets and modules from the server side. Therefore, it is unlikely that the plugin will have a detrimental impact on the speed of a website.
1390
 
3
  Tags: Elementor, WooCommerce, WooCommerce Elementor, WooCommerce Builder, WooCommerce Product
4
  Requires at least: 4.7
5
  Tested up to: 6.0
6
+ Stable tag: 2.4.6
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
  Elementor WooCommerce Builder Addons, Quick View, Wishlist, Products Compare, Product Filter, Variation Swatches are functionalities that WooLentor offers to your online store.
11
 
12
  == Description ==
13
+ If you own a WooCommerce website, you'll almost certainly want to use these capabilities: Woo Builder (Elementor WooCommerce Builder), WooCommerce Templates, WooCommerce Widgets, Elementor Widgets, product compare or Products Comparison table, WooCommerce order notifications, WooCommerce slider addons (Woo sliders), Woo recently viewed products widget, Sold out count, Elementor Addons, Woocommerce variation swatches module, Elementor Templates, WooCommerce Product Addons, WooCommerce products blocks, Gutenberg Blocks, custom product archive builder, WooCommerce product quick view, out of stock label customization, count sold product, flash sale countdown, woo wishlist, etc.
14
 
15
  By using WooLentor - Elementor WooCommerce Builder, you will get all in one plugin.
16
 
18
 
19
  The plugin comes with a powerful WooCommerce page builder for Elementor, allowing you to effortlessly design all WooCommerce pages from scratch using the Elementor page builder. As a result, you no longer have to rely on the default page designs of WooCommerce.
20
 
21
+ WooLentor gives you the flexibility to design a custom Shop and Product details page using the free version of the plugin. The rest of the pages are also customizable with the pro version. Furthermore, WooLentor - Elementor WooCommerce builder offers a plethora of Elementor widgets with extensive customization options that you can leverage for creating your store as per your needs.
22
 
23
+ Apart from a large number of Elementor WooCommerce widgets, there are plenty of useful functionalities available in the form of modules. For example, product comparison, woo wishlist, quick view, Shopify style checkout, flash sale countdown, and so on. The main purpose of these modules is to offer the users as many options as users would need to enhance their website further. That way, they don't have to look for another third-party plugin just for a single feature.
24
 
25
  [Live Demo](https://woolentor.com/?utm_source=wprepo&utm_medium=freeplugin&utm_campaign=demo) | [Documentation](https://woolentor.com/documentation/?utm_source=wprepo&utm_medium=freeplugin&utm_campaign=doc) | [Purchase Pro](https://woolentor.com/pricing/?utm_source=wprepo&utm_medium=freeplugin&utm_campaign=purchasepro)
26
 
27
 
28
  == Elementor WooCommerce Woo Builder Includes ==
29
+ 🛍️ WooCommerce Elementor Widgets / Elementor WooCommerce Widgets
30
+ 🛍️ Single Product Page Builder
31
+ 🛍️ Custom Product Template Builder for Individual Product (Pro)
32
+ 🛍️ Shop / Archive Page Builder
33
+ 🛍️ Individual Archive Page Builder (Pro)
34
+ 🛍️ Cart / Checkout / My account / WooCommerce custom thank you page Builder (Pro)
35
 
36
 
37
  You can see the plugin demo here 👉 [Live Demo](https://woolentor.com/?utm_source=wprepo&utm_medium=freeplugin&utm_campaign=demo)
40
  ==❤️ Free Features: ==
41
 
42
  * WooCommerce Template Builder
43
+ * Elementor WooCommerce Builder
44
+ * WooCommerce Widgets
45
  * Woocommerce Product Grid
46
  * Woocommerce Responsive Grid
47
  * WooCommerce Product List
48
  * WooCommerce Product Sort
49
  * WooCommerce Slider Layout
50
+ * Shopify Style Checkout Page / Shopify-like Checkout
51
  * Woocommerce Product Slider Addon / Woo Sliders Widget
 
52
  * WooCommerce Featured Product Slider
53
+ * WooCommerce Featured Slider
54
+ * Promotional Product Slider
55
+ * Recently Viewed Products / Woo Recently Viewed Products Widget
56
+ * Woocommerce Product Compare / Products Comparison Table
57
  * Woocommerce Product Wishlist
58
  * Woocommerce Product Tab
59
+ * Grid and List View WooCommerce
60
  * Action Buttons in different Positions
61
  * Customize WooCommerce Buttons Color
62
+ * Sales Countdown WooCommerce Addon / Discount Schedule Counter
63
+ * WooCommerce Image Gallery
64
  * Enable / Disable WooCommerce Product Gallery
65
  * WooCommerce product gallery carousel
66
  * Unlimited Color and font Variations.
75
  * WooCommerce Category Carousel / WooCommerce Category Showcase / WooCommerce Product Category Slider
76
  * WooCommerce Category and Product List
77
  * Call for Price
78
+ * Suggest Price / Suggest Product Price
79
  * Special Day offer banner
80
  * Product QR Code
81
+ * WooCommerce Marker / WooCommerce Hotspot
82
  * Archive page with Pagination
83
  * Product Share Widget
84
  * Multi-language Support
100
 
101
  ==🔥 Premium Features: ==
102
 
103
+ ✅ 91 WooCommerce Elementor Widgets
104
  ✅ 19 WooCommerce Modules
105
  ✅ Custom WooCommerce Product Template Builder for Individual Product
106
  ✅ Individual Archive Page Builder / WooCommerce Template Builder
115
  ✅ Product variation swatches for WooCommerce
116
  ✅ Product Size Chart / Size Chart WooCommerce Module
117
  ✅ WooCommerce Progress Bar / WooCommerce Stock Progress
118
+ ✅ Related Products Slider for WooCommerce
119
  ✅ WooCommerce Pre Order Module / Pre-order for WooCommerce
 
120
  ✅ Side Mini Cart / Cart Drawer
121
  ✅ Redirect to checkout page (Direct Checkout)
122
  ✅ GTM Conversion Tracking (Google Tag Manager) with Data layer
128
  ✅ Access to our premium Udemy Couse for WooCommerce (On Request)
129
  ✅ Phone Call Support
130
  ✅ Premium Support
131
+ ✅ Zoom/Skype / TeamViewer Support
132
+ ✅ Free Store Setup / (Maximum 2)
133
 
134
 
135
  <strong>[WooCommerce Checkout Page Customization and Field Editor (Pro)](https://woolentor.com/doc/build-a-custom-checkout-page-template/)</strong>
136
+ WooLentor Pro (Elementor WooCommerce Builder) allows you to customize the checkout page to reduce the bounce rate and increase the conversion rate. Sometimes, a custom checkout page is necessary for an eCommerce store or online storefront. WooLentor Pro (Elementor WooCommerce Builder) makes it easy by providing several WooCommerce custom checkout options. Besides creating a custom checkout page, WooLentor allows removing or editing existing checkout page fields (billing and shopping fields). You can also add custom checkout page field like WooCommerce phone field or WooCommerce checkout phone.
137
 
138
  By creating a custom Elementor WooCommerce Checkout page template according to your needs, you can get rid of the default Checkout page layout of WooCommerce. To help you achieve this, WooLentor – Elementor WooCommerce Addon offers loads of Elementor WooCommerce builder widgets (Woo builder) specifically designed to create a custom Elementor WooCommerce Checkout page design.
139
 
140
+ If you want to improve customer experience through the checkout page of your store, you can utilize these WP WooCommerce checkout widgets or Elementor WooCommerce checkout widgets that enable you to do things like WooCommerce checkout customization, customize WooCommerce checkout page, customize checkout WooCommerce, Elementor WooCommerce checkout customization, etc. Furthermore, the plugin comes with several beautifully designed pre-built Elementor WooCommerce checkout templates or WooCommerce templates for checkout that will allow you to create a custom checkout page within a minute.
141
 
142
  <strong>[Customize WooCommerce Single Product Template](https://hasthemes.com/how-to-build-a-custom-product-template-using-woolentor-plugin/)</strong>
143
+ WooLentor (Elementor WooCommerce Builder) allows you to create a custom single product template. With all the powerful WooCommerce product addons or Woo addons available in WooLentor, creating a unique design for your WooCommerce product page is a breeze. The free version has the option to create a common product page template layout throughout the entire store, and the pro version allows you to create different WooCommerce single templates for various WooCommerce single product pages individually.
144
 
145
+ With all the WooCommerce extra product addons or Elementor WooCommerce widgets offered by WooLentor (Elementor WooCommerce Builder), you can easily manage the WooCommerce single product page or WooCommerce single templates. In addition, these WooCommerce extra product addons, or WooCommerce product addons, are compatible with other popular Elementor WooCommerce plugins.
146
 
147
+ WooLentor (Elementor WooCommerce Builder) lets you assign a separate Elementor template for each of your WooCommerce products from the WooCommerce product settings. For example, in the product setting WooCommerce screen, you will find a dropdown option where you can choose a custom template for the details page of that specific WooCommerce product.
148
 
149
 
150
  ==⭐ Available Widgets: ==
151
 
152
  <strong>General Widgets</strong>
153
 
154
+ <strong>[Product Tabs](https://woolentor.com/demo/product-tabs)</strong> – Display your WooCommerce products in a tabbed format based on different categories. With the help of this Elementor WooCommerce product tabs widget, WooCommerce category tabs widget, or Woo product tabs widget you can dynamically list your WooCommerce products category wise in various WooCommerce category tabs. It even allows you to choose which WooCommerce product categories you want to display as tabs.
155
+
156
+ Furthermore, you can filter what type of WooCommerce products to showcase under a single WooCommerce product category or multiple WooCommerce product categories. For example, WooCommerce category recent products.
157
+
158
+ Since the Elementor WooCommerce widget for product tabs (woo product tabs) allows you to display recent products while at the same time supporting category based products, you can effortlessly showcase your newest WooCommerce products or WooCommerce recent products in your online storefront. In addition, WooCommerce category recent products can be handy to show products for specific categories or all WooCommerce categories.
159
+
160
+ You can even control the number of products that are displayed. So, whether you're launching a new product line or simply want to keep your customers informed about your latest WooCommerce products or WooCommerce recent products, WooCommerce category recent products is a great way to do it.
161
+
162
+ Other noteworthy features of this Elementor WooCommerce widget include controlling the WooCommerce product layout, the number of WooCommerce products to show, the WooCommerce category list, the customization of WooCommerce product ordering, etc.
163
+
164
+ <strong>[Product Grid](https://woolentor.com/demo/product-grid)</strong> – Display your WooCommerce products within a WooCommerce responsive grid layout with the WooCommerce product grid widget. This Elementor WooCommerce builder widget (Woo builder) offers 5 different WooCommerce grid layouts to showcase your WooCommerce products in a responsive grid for WooCommerce store with its WooCommerce widget responsive settings. Meaning the WooCommerce product grid widget will adjust to fit any screen size.
165
+
166
+ A key feature of this Elementor WooCommerce widget is its WooCommerce responsive grid, which displays your WooCommerce products in a WooCommerce grid layout or responsive grid for WooCommerce while ensuring that your WooCommerce website adapts to the screen size of the customer's device. You can rest assured that with the WooCommerce responsive grid system, your WooCommerce products are always displayed in an optimal way, regardless of what device your customers use. The WooCommerce responsive grid or responsive grid for WooCommerce is a significant selling point for WooCommerce, as it helps businesses reach a wider audience. You can even use this WooCommerce widget to control how many columns you want to display on each device.
167
+
168
+ By using a responsive grid for WooCommerce, you can ensure that your customers will be able to see your WooCommerce products no matter what device they're using. The WooCommerce product grid or Elementor grid widget can be of tremendous help if you want to showcase your WooCommerce products in a WooCommerce grid layout or responsive grid for WooCommerce. With this Elementor WooCommerce widget, you can enjoy the flexibility to exhibit your WooCommerce products in a grid view or WooCommerce grid layout.
169
+
170
+ Furthermore, the Elementor grid widget allows you to control the number of columns, gutter width, and breakpoints. A grid view is a type of WooCommerce product display that arranges items in a WooCommerce grid layout or a responsive grid for WooCommerce instead of displaying them in a single column. The grid view products or grid products make it easy for visitors to scroll through the WooCommerce products and find their desired ones.
171
 
172
+ Apart from choosing and configuring a layout, you can control which WooCommerce products to display and how to display them in a WooCommerce product grid or WooCommerce grid layout based on multiple query settings such as product type, product categories, product order, and so on. Meaning that you can also leverage this Elementor WooCommerce product grid widget like a WooCommerce category product widget to display products based on categories. This WooCommerce category product widget is handy when it comes to getting the ability to control which category based products to display.
173
 
174
+ Since the Elementor WooCommerce widget enables store owners to display their WooCommerce products in a responsive grid for WooCommerce stores, rest assured that the WooCommerce products will look great no matter which device visitors use to browse the store. If you prefer using the WooCommerce grid, WooCommerce grid layout, or WooCommerce responsive grid, this WooCommerce product grid widget will be tremendously helpful.
175
 
176
+ WooLentor's product grid widget lets you showcase WooCommerce products in a WooCommerce grid layout. WooCommerce product grids are commonly used to display WooCommerce products on your online storefront. With this WooCommerce product grid widget or display product widget you can present your WooCommerce products on the WooCommerce shop and archive pages.
177
 
178
+ Aside from displaying WooCommerce products in a responsive grid for WooCommerce, this product grid widget offers a wide range of customization options so that you can control many aspects of this widget, such as the number of columns, the number of WooCommerce products, WooCommerce product order, and so on. If you want your WooCommerce product display to be visually appealing, so it captures potential customers' attention, you should try out the WooCommerce product grid widget. This WooCommerce product grid widget is perfect for an online storefront that wants to display their WooCommerce products in a more organized and visually appealing way.
179
 
180
+ WooLentor's feature to create a WooCommerce product carousel or product carousel WooCommerce is very handy when it comes to showcasing your WooCommerce products in a responsive product carousel or responsive product slider. With this product carousel WooCommerce or WooCommerce product carousel widget, you can choose how many WooCommerce products to display, what order to display them in, and whether or not to show navigation arrows. You can also choose to autoplay the responsive product slider carousel or have it pause on hover. With just a few clicks, you can configure the product carousel WooCommerce or product slider for WooCommerce widget to display products from specific WooCommerce product categories.
181
 
182
+ You can also choose to show WooCommerce featured products slider, sale product list, new product list, or recent products list. With all the options available in this WooCommerce widget product slider or Woo product slider, you can create a WordPress product carousel or WooCommerce product slider that looks great on any screen size. Whether you're looking to increase conversions or simply showcase your WooCommerce products more effectively, the Elementor WooCommerce product carousel slider, Elementor product carousel slider, or WooCommerce product carousel slider widget is an excellent solution.
183
 
184
+ If you are interested in displaying your WooCommerce products in an eye-catching WooCommerce slider, WooCommerce products slider, or Woo product slider, you can do so simply by enabling an option. After activating the WooCommerce product slider or Woo product slider option, this Elementor WooCommerce widget product slideshow, WooCommerce widget product slider, or product carousel WooCommerce widget will display your WooCommerce products in a wonderful Elementor WooCommerce product carousel slider, WooCommerce product slider, or WooCommerce slideshow.
185
 
186
  <strong>[Add Banner](https://woolentor.com/demo/add-banner)</strong> – Create an eye-catching banner section anywhere you want on your WooCommerce store with this banner widget. A beautifully designed banner can help you with product exposure, advertisement of various WooCommerce offers or WooCommerce discounts, and strengthening your brand's identity. This Elementor WooCommerce builder widget (Woo builder) can be utilized as a banner designer that helps you add a banner image. For example, a promo banner, WooCommerce products announcement banner, responsive banner, etc
187
 
188
  You can also use this banner widget to alert your potential store visitor about the WooCommerce offers of your store. All you have to do is add an Elementor banner on your storefront, whether the discount type is WooCommerce cart discount, WooCommerce category discounts for WooCommerce, or any other WooCommerce custom discounts.
189
 
190
+ <strong>[Special Day Offer Banner](https://woolentor.com/doc/add-special-day-offer-banner/)</strong> – Create a captivating banner with engaging offer texts to make an offer for WooCommerce store or show product discounts on any special days like Black Friday, Cyber Monday, Christmas, etc. There are many special days like Black Friday, Christmas, Halloween. Discounts and hot offers can increase store sales or work as WooCommerce booster these days. A wonderful Elementor banner can grab the attention of visitors and sometimes it increases a 15-30% conversion rate. We have added this Elementor WooCommerce widget for adding a special day offer.
191
 
192
+ If you want to give WooCommerce offers, WooCommerce discounts, or show product discounts on special days like Christmas and New Year, you can utilize this banner widget to display an eye-catching banner on your WooCommerce website. This special day offer banner encourages customers to purchase WooCommerce products that are on sale or with WooCommerce discounts. So on the occasion of special days, you should definitely give this banner widget a try!
193
 
194
+ <strong>[Image marker](https://woolentor.com/demo/image-marker/)</strong> – Describe specific parts of a WooCommerce product by adding multiple markers or WooCommerce hotspots to the WooCommerce image of that particular WooCommerce product. This WooCommerce marker widget or WooCommerce tooltip widget will also let you display detailed information about various parts of a WooCommerce product image via tooltip options that can be seen by hovering over the WooCommerce markers, WooCommerce product markers, or WooCommerce hotspots. Besides, you can include as many WooCommerce hotspot markers, WooCommerce markers, or WooCommerce product tooltips as you want in a WooCommerce image.
195
 
196
+ This way, you can engage with your store visitors by giving them a visual representation of a product where they can see detailed information about different parts of it. All they need to do is hover over a WooCommerce hotspot or WooCommerce marker. It will help them decide whether or not to purchase a product.
197
 
198
+ <strong>[Universal Product Layouts for WooCommerce](https://woolentor.com/demo/product-layout/)</strong> – Create your own customized layout to display your WooCommerce products from several different options available in this Elementor WooCommerce builder widget (Woo builder). You can also choose from a selection of WooCommerce product layouts to better match your website’s look and feel.
199
 
200
+ That's not all; The Universal Product Layout WooCommerce widget of WooLentor (all in one for WooCommerce) can also be used as a WooCommerce product slider plugin, Woocommerce widget product slider, WooCommerce widget product slideshow, WooCommerce slider addons, or Woo product slider for WooCommerce using which you can add a product carousel WooCommerce, WooCommerce carousel, WooCommerce product carousel, WooCommerce products carousel, Elementor WooCommerce product carousel slider, Woocommerce products slider, or WooCommerce slider to your WooCommerce store.
201
 
202
+ A WooCommerce products carousel or WooCommerce product carousel slider is a wonderful way to showcase your WooCommerce products on your website. Using a WooCommerce product carousel, WooCommerce widget product slideshow, or WooCommerce widget product slider you can highlight multiple WooCommerce products in a single space, making it easy for visitors to browse and choose the WooCommerce products they want. You can also use an Elementor WooCommerce product carousel slider, WooCommerce product carousel slider, or promotional product slider to promote special WooCommerce offers or WooCommerce discounts.
203
 
204
+ If you're using WooCommerce with Elementor, you can easily incorporate an Elementor WooCommerce product carousel slider, WooCommerce widget product slider, or Woo carousel to your website using the Universal Product Layouts widget of WooLentor (Elementor WooCommerce Builder) as a WooCommerce product slider plugin. All you have to do is drag and drop the Elementor WooCommerce widget product slideshow, WooCommerce slider, or responsive slider into your WooCommerce layout and enable the Elementor WooCommerce product carousel slider or WooCommerce products slider option. Moreover, the WooCommerce products carousel, product carousel WooCommerce or Elementor product carousel slider itself is mobile-friendly, so your potential visitors can easily scroll through the responsive slider or responsive product slider on their phone or tablet.
205
 
206
+ Another fantastic fact about this Elementor WooCommerce builder widget (Woo builder) or WooCommerce widget product slider is that it offers a useful option that allows showing WooCommerce products in different product layouts for WooCommerce. For example, WooCommerce slider, WooCommerce tab, and WooCommerce grid.
207
 
208
+ Aside from that, you can choose what type of WooCommerce products to display in your store, such as WooCommerce featured products, WooCommerce category recent products, best selling products, top rated products, wp products on sale, WooCommerce best sale products, and so on.
209
 
210
+ For example, if you want to use this versatile Elementor WooCommerce widget like a WooCommerce product slider plugin or WooCommerce slider plugin to display only the featured WooCommerce products in a WooCommerce products carousel, WooCommerce product slider, or Woo product slider, this Elementor WooCommerce widget can help you achieve that by giving you the ability to create a WooCommerce featured products slider or WooCommerce featured product slider. You can also manage the featured product by category or category name.
211
 
212
  <strong>[WooCommerce Category List](https://woolentor.com/demo/category-view/)</strong> – WooCommerce category list widget helps you to show categories vertically and horizontally. There are several styles that you can choose from like category icon/image, and the number of products in the category. This helps visitors to understand how much product you have in the specific category. Control the WooCommerce product category list style according to your requirements.
213
 
214
+ <strong>[WooCommerce Category Carousel / Slider / Grid for Elementor](https://woolentor.com/demo/category-grid/)</strong> – WooCommerce store can be represented in a WooCommerce category slider or WooCommerce category carousel. This is an elegant way to showcase WooCommerce product categories and subcategories on your website. WooCommerce Category Carousel is a powerful Elementor WooCommerce builder widget by WooLentor (Woo builder) that helps you add a WooCommerce product category slider, WooCommerce categories slider, or category slider for WooCommerce. You can also control the WooCommerce category carousel according to your requirements. This WooCommerce widget is for WooCommerce product category slider for Elementor, WooCommerce product category slider, product category slider, product category carousel, WooCommerce product category, WooCommerce category carousel, WooCommerce category slider.
215
+
216
+ If you're looking for a way to showcase your WooCommerce product categories in a stylish and engaging way, then a WooCommerce category carousel or WooCommerce category slider is the way to go. With WooLentor (Elementor WooCommerce Builder), you can easily create a WooCommerce product category carousel or WooCommerce product category slider using the category grid WooCommerce widget. By using a WooCommerce product category slider for Elementor or category slider for WooCommerce, you can easily highlight different WooCommerce product categories on your site.
217
+
218
+ This category slider for WooCommerce or WooCommerce category slider can help you encourage customers to browse through your WooCommerce product catalog. Additionally, a WooCommerce category carousel or product category carousel can also be helpful to increase the chances that customers will find the WooCommerce product they are looking for. So if you're looking for an easy way to incorporate a WooCommerce product category carousel or WooCommerce category carousel for WooCommerce category showcase, then be sure to check out this Elementor WooCommerce widget of WooLentor (WooCommerce addon for wp page builder).
219
 
220
  <strong>[WooCommerce Category Grid](https://woolentor.com/demo/category-grid/)</strong> – A very useful Elementor WooCommerce builder category product widget that can be utilized to showcase WooCommerce product category or Woocommerce category in a responsive grid layout on your WooCommerce store. This WooCommerce category post widget can also help you create a WooCommerce category list, WooCommerce category menu, or WooCommerce category showcase including WooCommerce category images. There are options to manage WooCommerce category list, WooCommerce category image. In short, you can showcase WooCommerce product categories on your store in many different ways with the help of this Elementor WooCommerce builder widget.
221
 
225
 
226
  <strong>[Customer Review](https://woolentor.com/demo/customer-review/)</strong> – Display customer reviews and control the style and layout of the reviews. With the help of this Elementor WooCommerce builder widget (Woo builder), you can increase the credibility of your business by allowing potential customers to see what the previous customers are saying about a particular product.
227
 
228
+ <strong>[Product Curvy](https://woolentor.com/demo/product-curvy/)</strong> – Showcase your WooCommerce products in an attractive card layout with circular images. Apart from drawing the attention of your store visitors, this Elementor WooCommerce builder widget (Woo builder) will also make your WooCommerce website stand out from the thousands of other stores.
229
+
230
+ <strong>[Product Image Accordion](https://woolentor.com/demo/product-image-accordion/)</strong> – Add a stunning product image accordion for your WooCommerce products to grab the attention of your customers. This powerful WordPress accordion widget will allow you to design an advanced accordion and control the necessary styles of the WooCommerce widgets accordion elements.
231
+
232
+ <strong>[Product Accordion](https://woolentor.com/demo/product-accordion/)</strong> – Add a simple but effective product accordion to your store and customize it according to your needs. WooLentor's product accordion widget lets you showcase your WooCommerce products in a jQuery accordion where each product is displayed individually in an accordion pane. You can use this wp accordion widget to display certain WooCommerce products of your store differently.
233
+
234
+ <strong>[AJAX Search Form](https://woolentor.com/demo/ajax-search-form/)</strong> – Incorporate an AJAX search form into your store so that your customers can get live WooCommerce search suggestions or WooCommerce search content when searching for a WooCommerce product or performing a WooCommerce search. Customers can find their desired WooCommerce products in a matter of seconds with the help of an AJAX-powered WooCommerce search bar.
235
 
236
+ You can use this Elementor WooCommerce widget for AJAX search form to add an advanced WooCommerce search bar to your WooCommerce website. This advanced search widget or WooCommerce search bar will help customers find the exact WooCommerce product they are looking for. With the WooCommerce advanced search widget, you can provide your visitors with an extra level of convenience and functionality on your online storefront. If WooCommerce powers your online store, you should definitely incorporate an AJAX-powered WooCommerce search bar or WooCommerce advanced search option to your WooCommerce site.
237
 
238
+ Besides, this powerful AJAX WooCommerce search form module allows you to perform WooCommerce search by category. If you want to provide your customers with an incredible WooCommerce product search experience while they search WooCommerce store, you should definitely consider adding an efficient WooCommerce advanced search option to your WooCommerce store.
239
 
240
+ <strong>[WooCommerce Recently Viewed Products](https://woolentor.com/doc/recently-viewed-products/)</strong> – When it comes to displaying the recently viewed products or recent viewed WooCommerce products by shoppers on a WooCommerce store, this WooCommerce recently viewed products widget or recent viewed products widget will come in handy. This way, visitors can see what WooCommerce products they recently viewed in a store, making it easier for them to decide. Moreover, you can control the number of products to showcase, product order, columns, visibility of elements, and some necessary styles to change the look and feel of these woo recently viewed products.
241
 
242
+ With this WooCommerce recently viewed products widget or recent viewed WooCommerce products widget of WooLentor, you can enable your store visitors to keep track of the WooCommerce products they have viewed recently on your online storefront. This Elementor WooCommerce widget for recent viewed products can be used to remind your customers of items they were interested in but didn't purchase or to keep track of WooCommerce products they have already purchased so they don't accidentally buy them again.
243
 
244
+ Customers who visit your WooCommerce store might not purchase anything on their first visit. However, you can encourage them to return and make a purchase by showing them the WooCommerce products they recently viewed or recent viewed products using the WooCommerce recently viewed products widget or Woo recently viewed products widget. This WooCommerce recently viewed products widget or recent viewed WooCommerce products widget displays a list of WooCommerce products that the customer has previously viewed, making it simple for them to find and purchase WooCommerce products they're interested in. The WooCommerce recently viewed products widget or Woo recently viewed products widget can be highly convenient for boosting customer engagement and conversion rates.
245
 
246
+ You can add the recent viewed products widget or recently viewed products widget to any page on your WooCommerce site, and it will automatically update itself with the recently viewed products or recent viewed products. You can also customize the number of Woo recently viewed products that are displayed. Once you place the WooCommerce widget, it will automatically track the WooCommerce products your customers view and show them in a recently viewed products section on your website. When it comes to allowing your store visitors to see what WooCommerce products they have recently viewed, this WooCommerce recently viewed products widget or recent viewed products widget is pretty helpful.
247
 
248
+ <strong>Frequently Asked Questions</strong> – Incorporate a section for the most commonly asked questions by providing their answers on your WooCommerce store using this Elementor WooCommerce builder widget for WooCommerce faqs. You can utilize this widget to create a WooCommerce ask question tab, WooCommerce faq tab, or product faq for WooCommerce section that will undoubtedly improve the user experience. If you are running a WooCommerce store, you must have known that visitors ask question about WooCommerce products. Right? So, you should definitely make use of this Elementor WooCommerce widget to showcase the answers to their product based questions WooCommerce.
249
 
250
  <strong>Template Selector</strong> – Create a custom Elementor template by utilizing this very widget and use it anywhere you want.
251
 
252
 
253
  <strong>For Single Product Page:</strong>
254
 
255
+ <strong>[Product Title](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Control the layout and styling of your product title. In addition, you can dynamically display a product title on the WooCommerce product page or WooCommerce product templates by using the product title WooCommerce widget, which is available in this WordPress WooCommerce builder plugin (Woo builder). You can hide product title as well.
256
 
257
  <strong>[Product Description](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Get control over the layout and style of your product description. The product description WooCommerce widget included in this WooCommerce builder (Woo builder) allows you to showcase the WooCommerce product description anywhere you want on the WooCommerce single product page.
258
 
259
  If you want to create a professional looking WooCommerce product page, this product description for WooCommerce or WooCommerce product description widget will come in handy as you'll be able to manage the necessary style for the WooCommerce product description.
260
 
261
+ <strong>[Product Short Description](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Manage the layout and style of your product short description. When store owners want to display a short description of their WooCommerce products instead of a long description on the WooCommerce single product page, this Elementor WooCommerce widget can be pretty useful.
262
 
263
+ <strong>[Add to Cart](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Manage the style and layout of the Add to Cart button for WooCommerce or WooCommerce single product cart button. Moreover, you can place this Elementor WooCommerce widget or product widget WooCommerce anywhere on the WooCommerce product page, WooCommerce product templates, or WooCommerce single templates to display the WooCommerce add to cart button link, Woocommerce cart link, single product cart button, or the cart button for WooCommerce.
264
 
265
+ That’s not all; This WooCommerce add to cart widget allows you to change the Woocommerce add to cart button text or WooCommerce add to cart button label, including all the necessary button styles to match your brand needs so that you can create a custom add to cart button WooCommerce. Place the single product cart button in any position you prefer and personalize the single product cart button as per your requirements while designing a custom add to cart button WooCommerce.
266
+
267
+ <strong>[Additional Information or Additional Description](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Display additional product information on the WooCommerce single product page or WooCommerce product templates. Here, additional information refers to a product's weight, height, color, dimension, and other information. If you want to show such information, this Elementor WooCommerce widget for product additional description or additional information can be handy.
268
 
269
  <strong>[Product Data Tabs](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Gives you the flexibility to display WooCommerce product tabs in any place you prefer on the WooCommerce single product page. Also, with this WooCommerce tabs widget or WooCommerce product tab widget, you can control how product page tabs will appear, applying WooCommerce product custom tabs or WooCommerce custom tabs styling. You can even manage the appearance of WooCommerce product tabs for different devices using its WooCommerce widget responsive settings.
270
 
271
+ <strong>[Related Product](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Set the number of WooCommerce related products to display and change the style according to your needs. This Elementor WooCommerce widget or product widget WooCommerce is designed to showcase WooCommerce related products, similar products, or product recommendations based on the product whose details page you are on.
272
+
273
+ <strong>[Related Product Layout (Custom)](https://woolentor.com/demo/product/ship-your-idea/)</strong> – Create a more customized layout to display the WooCommerce related products or recommended products on the WooCommerce product page. You can even utilize this Elementor WooCommerce widget as a WooCommerce related products slider plugin to design a striking WooCommerce related products slider and personalize all the settings available for the related products slider for WooCommerce.
274
 
275
+ If you are looking for a way to increase sales and conversions in your store, leverage this related products slider for WooCommerce widget that works like a WooCommerce related product slider plugin or WooCommerce related products slider plugin. The handy Woo builder widget offers a great option to add a related products slider for WooCommerce store.
276
 
277
+ The WooCommerce related products slider or related products slider for WooCommerce is an excellent way to showcase product recommendations on the WooCommerce product page or WooCommerce single product page. By displaying WooCommerce related products in a related products slider format, you can easily highlight a wide range of product recommendations or WooCommerce recommendations without overwhelming your potential customers.
278
 
279
+ Furthermore, the WooCommerce related products slider is highly customizable, so you can ensure that it perfectly matches the look and feel of your online storefront. The related products slider allows you to showcase recommended products in a prominently displayed, easy-to-use widget. If you're running a WooCommerce store, WooCommerce related products slider or related products slider for WooCommerce is a must-have feature.
280
 
281
+ The WooCommerce related products slider plugin like widget is super easy to use and comes with plenty of features. If you are running a WooCommerce store, embellish your WooCommerce product pages or WooCommerce product templates with a beautiful related products slider for WooCommerce. Furthermore, by showing WooCommerce related products slider or related products slider for WooCommerce, you can make it convenient for customers to find other WooCommerce products they might be interested in. (Pro)
282
 
283
+ <strong>[Product Price](https://woolentor.com/demo/product/ship-your-idea/)</strong> – Show WooCommerce product prices dynamically on your store. This Elementor WooCommerce widget or product widget WooCommerce will automatically render the WooCommerce prices of a specific WooCommerce product. Even when a product is on sale, it will display both the WooCommerce sale price and the regular price. Besides, you can manage the style for the WooCommerce product price using this WooCommerce price addon.
284
+
285
+ <strong>[Product Rating](https://woolentor.com/demo/product/ship-your-idea/)</strong> – Display your WooCommerce product ratings on the product page using the product ratings widget of WooLentor (Woo Builder). You can also control the product rating or WooCommerce rating style with this product widget WooCommerce or WooCommerce product page widget.
286
 
287
  <strong>[Product Reviews](https://woolentor.com/demo/product/ship-your-idea/)</strong> – Show WooCommerce product reviews or WooCommerce reviews along with a review form for the customers to submit WooCommerce reviews on a product. Customer reviews on the WooCommerce product page can be helpful for potential customers to understand how people are reviewing a particular product.
288
 
292
 
293
  <strong>[Product Image](https://woolentor.com/demo/product/ninja-silhouette/)</strong> – Display WooCommerce product images or WooCommerce photos on the WooCommerce single product page and take control over the styling of your WooCommerce product images and product thumbnails. Shoppers can also view the WooCommerce product images, Woocommerce featured images, or WooCommerce images in a user-friendly WooCommerce lightbox or WooCommerce popup.
294
 
295
+ <strong>[Advanced Product Thumbnails](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Get full control over the product thumbnails layout with this advanced Elementor WooCommerce builder widget or Woo builder widget. It allows showcasing product thumbnails in a WooCommerce product gallery slider, WooCommerce gallery slider, WooCommerce gallery carousel, or WooCommerce product gallery carousel, which makes the thumbnail images look quite appealing. You can even show or hide the WooCommerce sale badges or WooCommerce badges (Woo badges) if you want.
296
+
297
+ A WooCommerce gallery slider or WooCommerce gallery carousel is a great way to showcase your WooCommerce product thumbnails in an eye-catching and engaging way. This Elementor WooCommerce product gallery carousel allows you to showcase multiple product thumbnails of a WooCommerce product at once, and the sleek design is sure to capture your audience's attention.
298
+
299
+ In addition, the WooCommerce product gallery slider or WooCommerce product gallery carousel is fully responsive, meaning it will look great on any device. So, if you want to add some flair to your online storefront, try this Elementor WooCommerce widget to showcase your WooCommerce product thumbnails within an eye-catching WooCommerce gallery slider or WooCommerce gallery carousel. (Pro)
300
 
301
  <strong>[Advanced Product Thumbnails with Zoom](https://woolentor.com/demo/product/image-zoom/)</strong> – One of the most useful WooCommerce product addons that helps you showcase your product images or WooCommerce images with a WooCommerce zoom effect. This Elementor WooCommerce builder widget for WooCommerce product zoom plays the role of a WooCommerce zoom image plugin, WooCommerce zoom plugin, or product image zoom for WooCommerce plugin.
302
 
306
 
307
  By leveraging this WooCommerce product zoom or WooCommerce zoom widget as a product image zoom for WooCommerce plugin, WooCommerce zoom image plugin, or WooCommerce zoom plugin, add versatile product zoom, product photo zoom, or hover over image zoom functionality to your WooCommerce product images, making it easy for customers to see detailed WooCommerce product information and get a closer look at the WooCommerce product they are interested in. With product zoom WooCommerce or WooCommerce product zoom, your customers will be able to see your WooCommerce products in greater detail, making it more likely that they'll make a purchase.
308
 
309
+ On top of that, you can create a beautiful WooCommerce product thumbnails slider or WooCommerce product image slider on your store with this WooCommerce product addon or WooCommerce product options. Using such functionality of product zoom WooCommerce and WooCommerce product thumbnails slider on WooCommerce product templates or WooCommerce single templates, you can enhance the look and feel of the WooCommerce single product page.
310
 
311
+ A product slider with thumbnails or WooCommerce product thumbnails slider is a great way to showcase a WooCommerce product on the WooCommerce product page. By displaying product thumbnails in a slider, you can give your customers a better idea of what they are looking at and make it easier for them to find their desired WooCommerce product. You can easily create a WooCommerce product thumbnails slider or WooCommerce product image slider using this Elementor WooCommerce widget.
312
 
313
  This way, customers can quickly browse through the WooCommerce product thumbnails slider or product slider with thumbnails and get an idea of what each WooCommerce product looks like. The product thumbnails provide a clear overview of a specific WooCommerce product, and the WooCommerce product thumbnails slider helps increase product visibility as well as encourage customer engagement.
314
 
315
  <strong>[Product Video Gallery](https://woolentor.com/demo/product/video-in-product-gallery/)</strong> – Add WooCommerce product videos to the product thumbnails gallery and get control over the WooCommerce gallery position. This video gallery widget or WooCommerce product video widget is not limited to including WooCommerce videos or product videos in the thumbnails gallery. In addition, you will be able to create an engaging video gallery of your WooCommerce products.
316
 
317
+ <strong>[Product Share Widget](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Product sharing is a great way to promote your WooCommerce products and get word-of-mouth marketing. By displaying the product share options to your customers in a lively manner, you can make it easy for them to share WooCommerce products on their social media. This product share widget will help your visitors or customer to share products or spread the word about your WooCommerce products and increase sales. This product share widget works like a WooCommerce booster or booster for WooCommerce. In addition, by making it easy for customers to share products, you will build trust and goodwill. Customers who have a positive experience with your company are more likely to return in the future and recommend your WooCommerce products to others. Therefore, product sharing or product share is an essential part of any good marketing strategy.
318
 
319
+ <strong>[Upsell Product](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Set the number of upsell products to display and change the style based on your needs. With this WooCommerce builder upsell products widget or product upsell widget, you can encourage potential customers to include some more expensive WooCommerce products or add-ons to their orders so that it increases the overall order value.
320
 
321
  You can also use the WooCommerce upsell products widget like a WooCommerce upsell plugin to display similar or related upsells products on a specific product's detail page and persuade customers to spend more on those WooCommerce upsells products.
322
 
323
+ Upselling WooCommerce products is a common marketing technique that encourages customers to purchase higher-priced WooCommerce products. By showcasing upsells products or WooCommerce upsell products, you can increase your store's average order value and boost profits. With this Woo Builder widget for upsells products or product upsell, you can upsell WooCommerce products to your customers by displaying them within an attractive upsell carousel or upsells carousel.
324
 
325
  And because the Elementor WooCommerce widget for upsells products is highly customizable, store owners can tailor the experience to best fit their individual business needs. So if you're looking for a way to boost your eCommerce sales, consider using the WooCommerce upsells carousel widget on your store.
326
 
328
 
329
  <strong>[Upsell Product Layout (Custom)](https://woolentor.com/demo/product/ship-your-idea/)</strong> – Create a more personalized layout to display the WooCommerce upsell products. This WooCommerce builder product upsell widget or upsell WooCommerce widget gives you the ability to have even more control over the look and feel of the WooCommerce upsell products section. You can even showcase upsell products in an attractive upsell carousel or upsell carousel. (Pro)
330
 
331
+ <strong>[Product Stock](https://woolentor.com/demo/product/stock-progress-bar/)</strong> – Show the stock status of your WooCommerce products on the WooCommerce single product page or WooCommerce product templates using this product stock widget. When you show stock or stock available notice to your potential customers, including the number of WooCommerce stock available for a product (i.e. stock count), they will get a clear idea of whether a product is available for purchase. Besides, you can control the style of your product stock status.
332
 
333
  <strong>[Product Meta](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Show or hide WooCommerce product meta on the WooCommerce product page. Here product meta refers to product category, WooCommerce product tag, product SKU, etc. With the product meta widget, you can also customize the style of your WooCommerce product meta data.
334
 
336
 
337
  Therefore, if you intend to display the WooCommerce category and WooCommerce tags of your WooCommerce products on the WooCommerce single product page of your store, this WooCommerce product meta widget will come in handy.
338
 
339
+ <strong>[Call for price](https://woolentor.com/doc/call-for-price/)</strong> – Allows you to add a click to call button to a WooCommerce store using which your customers will be able to call you to know the price of your WooCommer products. You may want to add WooCommerce products without showing the WooCommerce price, so your customers can call you to know the WooCommerce price. We found many websites that hide WooCommerce price for some of their WooCommerce products. For this type of website, we added this Elementor WooCommerce widget or WooCommerce price addon. If anyone clicks on the “Call for price” button from a mobile, he/she can easily contact you by phone call.
340
 
341
+ On a WooCommerce site, the "WooCommerce no price" and "call for price" button can be used when a seller does not want to display the price of a WooCommerce product upfront or when the customer needs to request a quote based on their requirements. For example, WooLentor's "WooCommerce no price" or "call for price" button widget or WooCommerce price addon lets you hide the price of a WooCommerce product until the customer calls the store admin to know the WooCommerce price.
342
 
343
  The "call for price" button is typically used to link to a phone number, which customers can directly call through their mobile devices. This type of WooCommerce button can be pretty helpful when selling WooCommerce products that are made to order or when the WooCommerce price is variable based on customer needs.
344
 
345
+ <strong>[Suggest Price](https://woolentor.com/doc/suggest-price/)</strong> – Insert a button to get suggestions from your customers regarding the price of your WooCommerce products. Your customers can suggest a price for your WooCommerce products. You can add this button widget or WooCommerce price addon anywhere on your product details page. We recommend putting it on the right side of the add to cart button for WooCommerce. When a customer clicks the button, a contact form will open to send a WooCommerce product price suggestion or suggest product price.
346
 
347
+ Suggest Price Elementor WooCommerce widget works like a feature called WooCommerce name your price or name your price for WooCommerce products. In simple words, customers can use the suggest price button to name their own WooCommerce product prices or suggest product prices simply by submitting a simple form. A store owner or admin will then take the customer's input and review the price. The WooCommerce builder widget or Woo builder widget could be a great way to get customers interested in WooCommerce products they may not have considered of purchasing in the beginning.
348
 
349
  <strong>[QR Code](https://woolentor.com/demo/product/qr-code/)</strong> – Let your customers add any products to their cart just by scanning the QR code from their mobile phone.
350
 
352
 
353
  <strong>[Stock Progress Bar](https://woolentor.com/demo/product/stock-progress-bar/)</strong> – Add a WooCommerce stock progress bar to display the number of WooCommerce ordered products and available products. This Elementor WooCommerce widget lets you visually represent the available stock of a specific product by using a WooCommerce progress bar or product stock count progress bar for WooCommerce. Once your prospective customers see the amount of WooCommerce ordered products, sales count WooCommerce, or WooCommerce sales count, it becomes easier for them to understand how much demand that particular WooCommerce product has on your store.
354
 
355
+ When it comes to online shopping, one of the most important factors for customers is knowing how much stock is available. This is where the WooCommerce stock progress bar widget comes in. This handy WooCommerce progress bar or stock progress bar widget allows you to display a product stock count progress bar on WooCommerce single product pages, WooCommerce product templates, or WooCommerce single templates letting customers know how much stock is left at a glance. Adding a WooCommerce progress bar can encourage customers to buy WooCommerce products before they sell out, and it can also help to avoid customer disappointment.
356
 
357
  In addition, the product stock count progress bar for WooCommerce module can also be configured to display the number of WooCommerce ordered products. Whether you're running a small online storefront or a large eCommerce operation, the WooCommerce Stock Progress Bar or WooCommerce progress bar is a valuable feature to keep your business running smoothly. (Pro)
358
 
363
 
364
  <strong>[Cart Table](https://woolentor.com/demo/cart/)</strong> – Control each and every element of the cart table and customize the action buttons.
365
 
366
+ <strong>[Cart Total](https://woolentor.com/demo/cart/)</strong> – Manage the style and layout of the cart total table. Aside from displaying the cart total, this cart WooCommerce widget lets you show product discount, WooCommerce cart discount, WooCommerce discounts, WooCommerce coupons, etc. WooCommerce discounts on the WooCommerce cart page are an excellent way to show appreciation for your customers and encourage them to purchase more WooCommerce products from your store.
367
 
368
  <strong>[Empty Cart Message](https://woolentor.com/demo/cart/)</strong> – Show a WooCommerce cart message when the cart is empty. This WooCommerce empty cart message widget will also allow you to change the WooCommerce cart message text and customize some essential styles.
369
 
370
  If you're running a WooCommerce store, it's important to setup a WooCommerce cart message. This message will let your customers know that they've reached the limit for the number of items they can purchase. By doing this, you can prevent oversold items and help keep your inventory levels in check. There are a few different ways to setup a WooCommerce cart message, so be sure to consult the WooCommerce documentation to find the best method for your store. Remember, a well-run WooCommerce store requires careful planning and attention to detail - setting up a WooCommerce cart message or cart message WooCommerce is just one small part of this process.
371
 
372
+ <strong>[Empty Cart Redirect Button](https://woolentor.com/demo/cart/)</strong> – Get full control over the redirect button of an empty Cart page or WooCommerce add to cart redirect.
373
 
374
  <strong>[Cross Sell Product](https://woolentor.com/demo/cart/)</strong> – Showcase WooCommerce cross sell products on your WooCommerce store and control the styles for each cross sell widget element.
375
 
376
  Cross selling WooCommerce products is an incredible technique for selling related WooCommerce products to a customer who has already purchased something. For example, a customer who is buying a dress may also be interested in purchasing a matching handbag.
377
 
378
+ WooLentor’s Elementor WooCommerce widget to showcase WooCommerce cross sell products, or crosssell products which is fully compatible with WooCommerce's built-in feature for cross selling. By showing the customer relevant cross sell products or cross-sells products to the customer, businesses can increase the value of each transaction and boost their overall sales.
379
 
380
  When used correctly, cross selling can be an effective way to increase revenue and grow a business by recommending genuinely useful WooCommerce cross sell, cross-sells, or crosssell WooCommerce products to your potential store visitors.
381
 
382
+ <strong>[Cross Sell Product Layout (Custom)](https://woolentor.com/demo/cart/)</strong> – Get even more control over the cross selling products or WooCommerce cross sell products using this fantastic Cross-sell products widget or crosssells products widget.
383
 
384
 
385
  <strong>Checkout Page Widgets (Pro):</strong>
396
 
397
  <strong>[Checkout Login Form](https://woolentor.com/demo/checkout/)</strong> – Customize the login form as per your requirements.
398
 
399
+ <strong>[Checkout Order Review](https://woolentor.com/demo/checkout/)</strong> – Allow your customers to review the order details before placing their orders. To name a few, WooCommerce ordered products, subtotal, WooCommerce discounts, WooCommerce shipping cost, WooCommerce additional cost, WooCommerce extra cost, WooCommerce checkout cost, WooCommerce costs, etc. With this Elementor WooCommerce builder widget or Woo builder widget, you can also change the style of the order review form exactly the way you want.
400
 
401
 
402
  <strong>My Account Page Widgets (Pro):</strong>
426
 
427
  You can also make use of this Elementor Woo builder widget to create an eye-catching WooCommerce product catalog to showcase your WooCommerce products and make it easy for customers to find what they're looking for. To put it in a nutshell, this WooCommerce products archive widget is mainly designed for WooCommerce product display based on your theme style.
428
 
429
+ <strong>[Product Archive Layout (Custom)](https://woolentor.com/demo/product-category/clothing/hoodies/)</strong> – Display your WooCommerce products using a more customized layout and get control over the styles of every element. You can easily create an appealing product list for WooCommerce websites with this Elementor WooCommerce builder widget or Woo builder widget.
430
+
431
+ You can also use this product catalog WooCommerce or WooCommerce catalog widget to showcase your WooCommerce products in a WooCommerce product catalog. So even if you want to create multiple WooCommerce categories designs for every WooCommerce category your online storefront has, this WooCommerce category product widget or WooCommerce widget has you covered.
432
+
433
+ The WooCommerce Product listing page is the most important page on your WooCommerce store. It's where customers go to browse and buy your WooCommerce products. By default, WooCommerce displays products in a WooCommerce grid layout. But sometimes, customers may want to view WooCommerce products or product list for WooCommerce in a list layout instead. That's where this Elementor WooCommerce widget for grid and list view WooCommerce comes in. This Elementor WooCommerce widget lets you add both grid and list view WooCommerce options to your product list for WooCommerce.
434
 
435
+ Customers can shift between the two views simply by clicking on the grid and list view WooCommerce tabs or toggle buttons while browsing the WooCommerce products of your online storefront. Best of all, the WooCommerce product listing page with list and grid view WooCommerce will be responsive and mobile friendly! If you are looking for a way to provide your customer with an amazing user experience, this grid and list view WooCommerce widget is a must-have for any WooCommerce store. (Pro)
436
 
437
  <strong>[Horizontal Filter](https://woolentor.com/demo/horizontal-filter/)</strong> – Provide your store visitors with various Woocommerce products filters or Woo products filters horizontally (Woo filters) while having absolute control over the styles and layouts of those WooCommerce product filters or product filter for WooCommerce. You can leverage this WooCommerce product filter widget or Elementor filter widget like a WooCommerce filter plugin to add several product filters for WooCommerce or WooCommerce shop filters, such as WooCommerce search filter, category filter WooCommerce, WooCommerce search by price filter, WooCommerce search by tag, WooCommerce sort, and so on.
438
 
439
+ The horizontal product filter for WooCommerce is one of the powerful Elementor WooCommerce widgets of WooLentor (all in one for WooCommerce), which allows customers to narrow down their WooCommerce search results by various product options, such as product categories, WooCommerce tags, etc.
440
+
441
+ These WooCommerce filters or WooCommerce products filter (Woo products filter) can be useful for shoppers and store owners, as it helps to improve the best shopping experience and increase conversions. On the other hand, this WooCommerce shop filter widget or WordPress WooCommerce product filter widget works like a WooCommerce filter plugin or product filter for WooCommerce plugin that provides your customers with intuitive WooCommerce filters when they search for a WooCommerce product in your store.
442
+
443
+ Different types of filtering options are offered by this product filter, WooCommerce shop filter, or Elementor filter widget of WooLentor (WooCommerce addon for wp page builder). So, what are you waiting for? Leverage this incredible WordPress WooCommerce product filter widget on your store and enhance the user experience ans start converting more of your visitors into customers.
444
 
445
+ <strong>[Vertical Filter](https://woolentor.com/demo/filter-vertical/)</strong> – Display several WordPress WooCommerce product filters vertically (Woo filters) on your WooCommerce store and get complete control over the styles and layouts of those WooCommerce product filters or product filter for WooCommerce. When you associate this WooCommerce product filter widget, Elementor filter widget, or vertical filter widget with an archive widget, your products will become WooCommerce filterable products. It means that store visitors can filter through the WooCommerce products or filterable products based on different WooCommerce filters or WooCommerce shop filters and easily find or view products they are looking for.
446
 
447
+ WooCommerce filterable products are a great way to keep WooCommerce products of your online storefront organized and allow customers to find precisely what they're looking for. Using this WooCommerce product filter widget or vertical filter widget, you can incorporate a WooCommerce products filter (Woo products filter) on the shop and archive pages that will enable your customers to filter products by various product attributes or criteria.
448
+
449
+ This WordPress WooCommerce product filter, WooCommerce shop filter or Elementor filter widget of WooLentor (Woo builder) provides different types of filterting options such as WooCommerce search filter, category filter WooCommerce that can be nifty to improve the shopping experience on your WooCommerce store while driving more sales.
450
+
451
+ If you don't want your visitors to jump to another store, you must ensure that they don't have to wade through a long list of WooCommerce products in your store. In this case, you can add WooCommerce filterable products to your store by using the WooCommerce product filter widget offered in WooLentor (Woo builder). This product filter widget or Woo products filter widget can help you enhance the overall user experience by allowing the users to filter down the WooCommerce products that don't comply with their needs.
452
 
453
 
454
  == 💪 WooLentor's WooCommerce Module: ==
476
  [More Details](https://woolentor.com/doc/sales-notification-for-woocommerce/)
477
 
478
  = ✏️ Rename Label =
479
+ WooLentor (Woo builder) allows renaming WooCommerce labels for Shop, Product details, Cart, Checkout page text. For example, WooCommerce button text, WooCommerce text message, WooCommerce add custom text, WooCommerce add to cart button text, Change cart button text, Order button text, and checkout page fields text.
480
 
481
  [More Details](https://woolentor.com/doc/change-woocommerce-text/)
482
 
483
  = 👀 Product Quick View =
484
 
485
+ Incorporate a WooCommerce product quick view into your store so that visitors can immediately see detailed information about a specific product without having to visit the WooCommerce product page. This Elementor WooCommerce builder module or Woo builder module displays a WooCommerce product quick view modal or WooCommerce product quick view popup within a WooCommerce lightbox that helps shoppers with quickshop, quick shop, quick buy, or WooCommerce quick order.
486
 
487
+ The WooCommerce modal for products quick view or WooCommerce product quick view popup is a crucial feature for any WooCommerce store that sells WooCommerce products. This WooCommerce products quick view feature or product quick view for WooCommerce enables customers to view product information in a WooCommerce lightbox, WooCommerce modal, or WooCommerce pop up without having to leave the WooCommerce single product page they are on.
488
 
489
+ When there are a lot of WooCommerce products in a WooCommerce store, the WooCommerce products quick view, WooCommerce quick view, quick view WooCommerce, or WooCommerce quickview option is very useful as it helps customers to find the product they are looking for without having to search through all of the WooCommerce products.
490
 
491
+ Product quick view modal or quick view WooCommerce modal also has other benefits, such as the ability to add products to the cart from the quick view WooCommerce modal or WooCommerce products quick view modal itself and view WooCommerce product reviews.
492
+
493
+ You can even utilize the WooCommerce product quick view popup or quick view WooCommerce modal to perform quick cart addition. In other words, customers can effortlessly add a WooCommerce product to their cart simply by clicking the WooCommerce add to cart button link available on WooCommerce quick view, WooCommerce product quick view, or WooCommerce quickview without the need to navigate away from the WooCommerce product page. Overall, WooCommerce product quick view or product quick view for WooCommerce is an excellent addition to your online storefront for improving the user experience.
494
 
495
  [More Details](https://woolentor.com/doc/change-woocommerce-text/)
496
 
497
  = ❤️ WooCommerce Wishlist Module =
498
  WooLentor's WooCommerce Wishlist Module is a fantastic module that enables you to integrate the woo wishlist feature on your WooCommerce store. With the help of this extraordinary Wishlist module, you can provide a seamless shopping experience to your potential customers by allowing them to create a wishlist for WooCommerce and add their desired WooCommerce products to that WooCommerce wishlist so that they find all their items in one place later.
499
 
500
+ Once you enable the products wishlist or product wishlist module of WooLentor (WooCommerce addon for wp page builder), an Elementor WooCommerce wishlist widget will get unlocked. With the wishlist widget, you can display a flexible wishlist tables or WooCommerce wishlist where customers can view the WooCommerce products they have added to the WooCommerce wishlist. You can even use this WooCommerce wishlist widget to give your customers the ability to share their products wishlists with friends and family.
501
 
502
  Plus, the wishlist widget is fully responsive so that it will work on any device, including mobile phones and tablets. Therefore, if you intend to encourage your customers to keep returning to your website, adding a wp eCommerce wishlist or Woo wishlist to your site is a great way to achieve that. This WooCommerce wishlist module makes it easy to convert many of your potential visitors into a potential customer.
503
 
504
  [More Details](https://woolentor.com/builder/quick-view-template/)
505
 
506
  = ⚖️ Product Comparison / Product Compare or Comparison Table Module =
507
+ Product comparison / Product Compare is a wonderful module that lets you add a product comparison option to your WooCommerce store using which your store visitors will be able to compare different products in WooCommer table layout or a WooCommerce popup window. This product comparison module or WooCommerce compare module allows them to check the differences among the WooCommerce products based on several attributes while helping them make the buying decision easier at the same time.
508
 
509
  Furthermore, customers can compare prices of various WooCommerce compare products within the compare tables generated by this powerful compare products plugin or products compare plugin. But, that’s not all; This WooCommerce product compare plugin or WooCommerce compare products plugin even allows visitors to do several other things, such as compare offers, compare images, image comparison WooCommerce, compare images WooCommerce, price compare, and many more. All it requires is a click on a WooCommerce compare products button, and an interactive compare popup will appear where they can compare WooCommerce products in a compare table.
510
 
511
+ Product comparison is a great way to engage your customers and help them make informed decisions about the products they're interested in. Product comparison is an essential tool for any WooCommerce store, and the Product Comparison for WooCommerce module or WooCommerce compare module makes it easy to add this functionality to your site.
512
 
513
  This WooCommerce compare products or WooCommerce product compare module enables you to do WooCommerce products comparison or comparison products within WooCommerce compare tables. This remarkable feature for products compare or product compare can be handy for customers who want to find the best deals on items. Moreover, the WooCommerce product compare module of WooLentor plays the role of a WooCommerce compare products plugin that eCommerce businesses can leverage to provide store visitors with the option to compare prices, compare offers, compare WooCommerce products, and so on.
514
 
515
+ Products comparison is a crucial feature in a WooCommerce site to compare WooCommerce products to find the best possible product for your needs. The process of product comparison involves the evaluation of two or more WooCommerce products with the aim of finding out the differences and similarities between them. With so many options available, a functionality to perform product comparison is valuable for finding the right product at the right price.
516
+
517
+ Fortunately, WooLentor (Woo builder) offers an exclusive product compare module that works like a WooCommerce product compare, WooCommerce compare products, or compare products plugin. As a result, you can compare various WooCommerce products simply by clicking on a compare button. Afterward, you can view the products comparison side-by-side on a product comparison table. With this product comparison module, shoppers can save time and effort while finding the perfect product for their needs.
518
+
519
  Thus it becomes a lot easier for customers to make informed purchase decisions and find the best WooCommerce product in their budget with the help of this shopping comparison or comparison shopping feature. The compare WooCommerce product module is a great solution that can help you provide an informative and user-friendly shopping comparison experience to your customers. If you're looking for a way to incorporate the WooCommerce products comparison feature to your WooCommerce site, you should definitely check this WooCommerce product compare or WooCommerce compare products module out.
520
 
521
+ On top of that, WooLentor (WooCommerce builder plugin) is fully compatible with the YITH WooCommerce compare plugin many users use to accomplish the same task.
522
 
523
  [More Details](https://woolentor.com/doc/woocommerce-product-compare/)
524
 
525
  = ⏲️ Flash Sale Countdown =
526
+ Flash Sale Countdown module allows you to show discounts available for a limited time by adding a WooCommerce sale countdown timer, sale countdown timer WooCommerce, WooCommerce product countdown, sale discount countdown, or product time countdown for WooCommerce. Short-term sales can be a fantastic way to sell a large number of items in a few hours. If your company expects an exceptional rise in your checkout counts, you ought to leverage the Flash Sale Countdown module or WooCommerce sale countdown module on New Year’s Eve, Black Friday, Christmas, and other holiday sales. In short, the flash sale countdown module or WooCommerce product countdown module plays the role of a countdown plugin for WooCommerce or a sale countdown WooCommerce addon.
527
 
528
+ This incredible WooCommerce product countdown module or sales countdown WooCommerce addon will also help you create a sense of urgency and scarcity among your customers by allowing you to display a WooCommerce sales countdown timer, WooCommerce countdown timer, countdown timer WooCommerce, sale countdown timer WooCommerce, or WooCommerce timer on the promotional campaigns you run. You can even set a time when a Woocommerce sale schedule will begin using this sales countdown WooCommerce addon or WooCommerce sales countdown timer module, which helps in creating a buzz as well as boosting the conversion rate.
529
 
530
+ The sales countdown WooCommerce addon or countdown timer WooCommerce addon is the perfect way to drive sales and boost product awareness. This sales countdown WooCommerce addon or countdown timer WooCommerce allows you to display a WooCommerce sale countdown or WooCommerce timer on your WooCommerce product pages or WooCommerce product templates. You can create a sense of urgency that encourages customers to buy before time runs out. You can also use this WooCommerce sale countdown or countdown timer WooCommerce to highlight special WooCommerce discounts or promote seasonal products.
531
 
532
+ If you want to increase sales and encourage customers to buy your products, a sale countdown timer WooCommerce or countdown timer WooCommerce can help you with that. By leveraging WooLentor's sales countdown WooCommerce addon in the form of a WooCommerce countdown timer module, you can incorporate a lot of things on your online storefront, such as WooCommerce sale countdown, WooCommerce sales countdown, sales countdown timer, sales timer, or WooCommerce timer.
533
 
534
+ When it comes to showing WooCommerce discounts or WooCommerce offers for a limited time, this sale countdown timer WooCommerce module allows you to add a WooCommerce countdown timer or countdown timer WooCommerce on your WooCommerce store to show WooCommerce sale time.This way, you can create a sense of urgency that will motivate customers to make a purchase. So if you're looking for a way to convert more of your potential visitors into customers, consider adding a sale countdown timer WooCommerce plugin to your online store.
535
 
536
  Running a WooCommerce flash sales work like a charm if you want to boost your overall sales. A flash sale is referred to limited-time WooCommerce offers or WooCommerce discounts for a few chosen WooCommerce products in your store. If you want to make the most of your flash sale, it's essential to display a flash sale countdown timer, sale flash, or flash bar on your WooCommerce website. The WooCommerce flash sales module allows you to add a flash sale countdown using which you can apply flash sales for a short period of time.
537
 
538
+ If you're running a sale or special promotion on your WooCommerce store, a WooCommerce countdown timer or sale countdown timer WooCommerce can be a great way to create a sense of urgency and encourage customers to buy before the deal expires. You can use the flash sale countdown or WooCommerce sale countdown module of WooLentor to create a WooCommerce countdown timer or WooCommerce timer.
539
+
540
+ This sales countdown WooCommerce addon or product time countdown for WooCommerce addon can also help you countdown to the launch of a new WooCommerce product, WooCommerce products announcement, WooCommerce offers, or WooCommerce discounts. WooLentor's WooCommerce countdown or WooCommerce product countdown module is packed with a few options that allow you to fine-tune the appearance of the WooCommerce sale countdown timer or countdown timer WooCommerce.
541
+
542
  This WooCommerce countdown timer works like a discount product scheduler, flash bars, flash notifications, sale flash, etc. Furthermore, with the discount product scheduler, you can set when the flash sale starts and ends. You can even configure on which WooCommerce products you want to apply discounts or display sale flash. With the proper planning and execution, a WooCommerce flash sale, sale flash, or flash bar can help you generate more revenues than usual.
543
 
544
  Other than that, the sales countdown WooCommerce addon or countdown timer WooCommerce addon is highly customizable as well, so you can customize the appearance of the product time countdown for WooCommerce or WooCommerce timer to match your site's design. Therefore, if you're looking for a way to increase sales and clear out inventory quickly and efficiently, the sales countdown WooCommerce addon of WooLentor is an excellent solution.
546
  [More Details](https://woolentor.com/doc/enable-sales-countdown-timer-in-woocommerce/)
547
 
548
  = ✨ Shopify Style Checkout Page in WooCommerce =
549
+ When it comes to the Checkout page, customers always prefer a clean and simple one rather than a complicated one with lots of fields. A lengthy Checkout form can even increase cart abandonment while also negatively affecting the conversion rates. With this in mind, we have added a fantastic feature (Shopify-like Checkout module), which will enable you to create a Shopify style Checkout page or Shopify-like Checkout page that is pretty straightforward. Furthermore, it will provide the customers with an amazing WooCommerce fast checkout experience which will help customer with WooCommerce quick order. So, make sure to leverage this fantastic WooCommerce module to provide your customers with a fast WooCommerce checkout experience.
550
 
551
  [More Details](https://woolentor.com/shopify-style-checkout-page-in-woocommerce/)
552
 
553
  = 📧 WooCommerce Email Customizer =
554
+ Email Customizer by WooLentor is a powerful module that allows you to easily customize your WooCommerce Email Templates, giving you the professional look that many businesses desire. With the Email Customizer Elementor module, you can create custom email template designs or layouts for all of the default WooCommerce emails using the Elementor page builder.
555
+
556
+ You can easily create beautiful WooCommerce email templates or WooCommerce email template designs using WooLentor's Elementor email template builder, WooCommerce email builder, or responsive email builder. This WooCommerce email designer or email template designer can also be utilized to design WooCommerce emails optimized for conversion and customer engagement.
557
+
558
+ Furthermore, the Elementor module includes a plethora of customization options, allowing you to get complete control over the look and style of those emails – so you can tailor the default WooCommerce email templates to match your brand perfectly. Whether you want to make a simple change or completely redesign your WooCommerce email templates, Email Customizer has you covered.
559
 
560
  With the WooCommerce Email Builder module of WooLentor, you can easily create beautiful, professional-looking WooCommerce custom emails (Woo custom emails) that represent your brand well. You can also use pre-designed WooCommerce email templates to save time and ensure a consistent look for your messages. Whether you're sending a shipping update, a special WooCommerce offer, or just a thank-you note, this email template builder, email template designer, WooCommerce email designer, or WooCommerce email editor makes it easy to create custom WooCommerce email templates, email template design, or WooCommerce custom emails.
561
 
620
 
621
  WooLentor doesn’t only incorporate the WooCommerce preorder options into your WooCommerce store but also allows you to manage all of the WooCommerce preorders from the order menu. You can even display a pre-order notice on the Cart page.
622
 
623
+ As the WooCommerce preorder or pre-order WooCommerce feature gives a rough indication of which WooCommerce products are in demand, store owners can easily make an efficient marketing plan or strategy accordingly to create a buzz around those specific WooCommerce upcoming products. As a result, they understand beforehand which products are going to be popular once they are available in the store.
624
 
625
  This way, store owners can leverage the pre-order for WooCommerce module or pre-order WooCommerce module to its fullest, ensuring that customers don’t miss out on their desired products or any WooCommerce upcoming products. Furthermore, with WooCommerce preorder setup and configured for a few WooCommerce products, customers can purchase them even if they are out of stock.
626
 
627
+ If you're running a WooCommerce store, you might consider offering preorders for some of your WooCommerce products. The WooCommerce preorder or pre order for WooCommerce module can be a great way to generate interest and excitement for an upcoming product. Pre-ordering products has become a popular way to shop online, allowing customers to reserve items before they are available for sale.
628
+
629
+ The WooCommerce preorder, WooCommerce pre order, or Woo pre order can be useful for WooCommerce products that are in high demand or have a limited supply. For businesses, WooCommerce preorders can provide valuable information about customer interest and help to manage inventory. Preorders for WooCommerce or WooCommerce preorder can be an excellent feature for businesses of all sizes that want to gauge customer interest and generate sales before a product is even available in the store.
630
+
631
  [More Details](https://woolentor.com/doc/how-to-set-pre-order-for-woocommerce/)
632
 
633
  = 📏 WooCommerce Product Size Chart Module (Pro) =
641
  = 📌 Single Product Sticky Add to cart Module (Pro) =
642
  One of the most essential aspects of building a successful online shop is to make the process as simple as possible for your consumers. Using the sticky add to cart WooCommerce module, you can easily achieve this as it allows you to incorporate a sticky add to cart bar, WooCommerce sticky bar, cart WooCommerce sticky, or sticky WooCommerce bar to the product page. A sticky add to cart or sticky cart bar includes an add to cart button, a cart quantity field as well as some product information.
643
 
644
+ This sticky add to cart bar usually appears when you scroll past the add to cart button located at the top of the product details page. This sticky add to cart WooCommerce bar feature will come in handy when product information is too lengthy and customers can't decide whether or not to add a product to the cart. With WooLentor's sticky add to cart module, you can display a WooCommerce sticky bar or sticky WooCommerce bar on the product page, using which customers can easily add a product to the cart even if they scroll past the default WooCommerce cart button.
645
 
646
+ This WooCommerce sticky bar module enables you to add a sticky add to cart bar on the WooCommerce product page of your WooCommerce site. By keeping the WooCommerce bar 'stick' to the bottom of the WooCommerce product page, you can make it easy for visitors to add WooCommerce products to their cart, as the sticky add to cart for WooCommerce or WooCommerce sticky add to cart will usually stay in place even when customers scroll up and down.
647
 
648
  When it comes to keeping your customers engaged while reducing shopping cart abandonment, this WooCommerce Sticky Bar or cart WooCommerce sticky module will be tremendously helpful. Overall, the WooCommerce sticky bar or cart WooCommerce sticky is a simple but effective way to improve the customer's shopping experience.
649
 
650
  [More Details](https://woolentor.com/doc/single-product-sticky-add-to-cart/)
651
 
652
  = 🛒 Side Mini Cart / Cart Drawer Module (Pro) =
653
+ WooLentor’s Cart Drawer or Side Mini Cart for WooCommerce is a useful module that displays a list of current cart items on your website. This Side Mini Cart for WooCommerce or side cart WooCommerce module helps to list products that are currently added to the cart and improve the purchasing experience for your consumers by allowing them to keep track of their progress without ever having to leave the page. The WooCommerce minicart feature also makes removing things from their cart simple – there’s no need to go to the shopping cart page, users can just click the ''cross'' icon located at the top right corner of an WooCommerce product image in the WooCommerce mini cart or WooCommerce minicart.
654
 
655
+ A WooCommerce side cart appears as a WooCommerce cart icon on the right-hand side or left-hand side of your screen. It kind of works like a WooCommerce floating mini cart, Woo floating minicart, floating cart for WooCommerce, Woo floating cart, or WooCommerce offcanvas cart. When users click on that Woocommerce cart icon of the side cart WooCommerce, they can view their cart items before checking out. That’s the reason why customers find the WooCommerce mini cart or WooCommerce minicart convenient enough as it helps them save a lot of time while purchasing.
656
 
657
+ This wonderful side mini cart module module enables you to add a WooCommerce side cart, side cart WooCommerce, WooCommerce minicart, WooCommerce mini cart, etc. that can help you convert many of your potential store visitors into loyal customers.
658
 
659
+ The Side Mini Cart module or side cart WooCommerce module of WooLentor (Woo builder) is a great way to keep your customers' shopping carts organized and ensure they can always see what they have in their carts. Whenever a customer adds any WooCommerce products to the cart, the side mini cart slides in a WooCommerce minicart or WooCommerce mini cart from the side like a WooCommerce popup cart or WooCommerce cart popup.
660
 
661
  This WooCommerce add to cart popup or WooCommerce added to cart popup allows customers to see what WooCommerce products they have in their carts. If you want to keep your online storefront organized, then the side cart WooCommerce module is the perfect solution for you.
662
 
665
  [More Details](https://woolentor.com/doc/side-mini-cart-for-woocommerce/)
666
 
667
  = 🔀 Redirect to checkout / Redirect to checkout after add to cart (Pro) =
668
+ The Redirect to Checkout Module of WooLentor (all in one for WooCommerce) is an excellent feature for keeping your customers on track and ensuring a quick checkout process. This WooCommerce checkout redirect module allows you to send visitors to the checkout page of your website after they click the add to cart button so they can complete the purchase promptly and easily. Adding a redirect to checkout after add to cart helps to provide an optimal user experience while boosting conversion rates and sales. This WooCommerce add to cart redirect or WooCommerce checkout redirect module will be extremely useful if you want to provide a smooth shopping experience to your customers via WooCommerce redirect.
669
 
670
  [More Details](https://woolentor.com/doc/redirect-to-checkout/)
671
 
682
 
683
  In other words, you can leverage this wonderful WooCommerce product table plugin like a WooCommerce table designer or WooCommerce table builder that allows creating product tables for WooCommerce, product table for WooCommerce, WooCommerce product tables, product table WooCommerce, or product table listing to showcase your products in WooCommerce table view, WooCommerce table layout, or WooCommerce products table.
684
 
685
+ WooCommerce product table listing is an essential feature for any online storefront as it provides a quick and easy way to add a WooCommerce product list table that showcases multiple WooCommerce products at once. This products list table lists all your WooCommerce products in a WooCommerce table layout or WooCommerce table view. When the WooCommerce products table or WooCommerce product list table is used in conjunction with product search and WooCommerce product sort filters, customers can view all of your WooCommerce products in one place and quickly find their desired WooCommerce products.
686
 
687
  This remarkable product table for WooCommerce or WooCommer product table plugin allows you to exhibit your WooCommerce products inside a WooCommerce table or Woo product table. That's not all; the products table or product tables created with this WooCommerce product table plugin will be fully responsive, which means that you can also create responsive tables for your WooCommerce product display. WooCommerce table or Woo product table is a great way to list products in an organized and professional manner. If you're looking for a way to increase product visibility while boosting WooCommerce sales, WooCommerce product tables are a great option.
688
 
697
  [youtube https://youtu.be/_MOgvsZJ6uA]
698
  [youtube https://youtu.be/MKjhBO2xQzg]
699
 
700
+ == How to customize WooCommerce single product template ==
701
  [youtube https://youtu.be/yMWtnsufvJk]
702
 
703
  == Build Custom My Account Page (Pro Feature) ==
752
 
753
  == Changelog ==
754
 
755
+ = Version: 2.4.6 - Date: 17-10-2022 =
756
+ 1. Added : Hooks for custom validation.
757
+ 2. Improved : Gutenberg blocks style option.
758
+ 3. Solved : Compatibility issue with PHP 7.2 in Variation swatches module.
759
+ 4. Solved : An activation issue with slick slider in Universal layout addon.
760
+ 5. Compatibility with the latest WooCommerce version.
761
+
762
  = Version: 2.4.5 - Date: 20-09-2022 =
763
  * Added : Ordering option in Category grid / List addons.
764
  * Improved : No limit to showcase products using category grid addon.
937
 
938
  = Version: 2.1.2 - Date: 2021-12-07 =
939
  * Added : Product box same height option in Universal product layout
940
+ * Improved : Elementor Widget register.
941
  * Solved : Logo dimension issue for shopify style checkout page.
942
 
943
  = Version: 2.1.1 - Date: 2021-11-29 =
1039
  = Version: 1.8.6 - Date: 2021-27-03 =
1040
  * Solved HTML tags validation issue.
1041
 
 
1042
  = Version: 1.8.5 - Date: 2021-24-03 =
1043
  * Added 5 extensions addon.
1044
 
1313
 
1314
  3. Enable the Countdown module.
1315
 
1316
+ WooCommerce Sales countdown can boost your sales. If you are looking for a countdown plugin for WooCommerce, then you can use Woolentor for your online store. WooLentor has an Elementor countdown addon or sales countdown WooCommerce addon which helps to display sale countdown timer WooCommerce for any special days offers like Christmas countdown, Black Friday countdown, etc.
1317
 
1318
  = How to enable backorder in WooCommerce? =
1319
 
1369
 
1370
  = How to add a custom field in WooCommerce checkout? =
1371
 
1372
+ WooLentor Pro has a module for WooCommerce checkout field editor. You can use the WooCommerce checkout fields manager module to add custom fields/WooCommerce additional fields/WooCommerce extra checkout fields, hide checkout fields, and remove billing fields on the WooCommerce checkout page or Elementor WooCommerce checkout template. You can follow these steps:
1373
 
1374
  1. Install and activate the WooLentor plugin.
1375
 
1415
 
1416
  = How to show best selling products by category? =
1417
 
1418
+ You can show best selling products using the Universal Widget of WooLentor. This widget can be used as a WooCommerce best selling product widget WooCommerce. Where you can show best selling products by category. To do this, follow these steps
1419
 
1420
  1. Edit a page where you want to add the best selling products.
1421
  2. Drag the Universal Widget.
1461
 
1462
  With great pleasure, we'd like to inform you that our team runs several tests before releasing any major WooLentor update to ensure that it doesn't affect a website's performance in terms of WooCommerce speed or page speed 🚀
1463
 
1464
+ Aside from that, WooLentor allows users to enable or disable specific Elementor WooCommerce widgets and modules as per their needs to speed up Elementor WooCommerce widgets' performance 💪
1465
 
1466
  Another noteworthy fact is that no heavy PHP rendering is required to render any of WooLentor's widgets and modules from the server side. Therefore, it is unlikely that the plugin will have a detrimental impact on the speed of a website.
1467
 
woolentor-blocks/build/blocks-woolentor.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-server-side-render', 'wp-url'), 'version' => '727a4784b4a90273be7e');
1
+ <?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-primitives', 'wp-server-side-render', 'wp-url'), 'version' => '63bef9eeab718ad2fa38');
woolentor-blocks/build/blocks-woolentor.js CHANGED
@@ -1 +1 @@
1
- (()=>{var e={184:(e,t)=>{var o;!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var a=typeof o;if("string"===a||"number"===a)e.push(o);else if(Array.isArray(o)){if(o.length){var l=n.apply(null,o);l&&e.push(l)}}else if("object"===a)if(o.toString===Object.prototype.toString)for(var i in o)r.call(o,i)&&o[i]&&e.push(i);else e.push(o.toString())}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(o=function(){return n}.apply(t,[]))||(e.exports=o)}()},988:(e,t,o)=>{var r=o(755),n=o(665).each;function a(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var o=this;this.listener=function(e){o.mql=e.currentTarget||e,o.assess()},this.mql.addListener(this.listener)}a.prototype={constuctor:a,addHandler:function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;n(t,(function(o,r){if(o.equals(e))return o.destroy(),!t.splice(r,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){n(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";n(this.handlers,(function(t){t[e]()}))}},e.exports=a},177:(e,t,o)=>{var r=o(988),n=o(665),a=n.each,l=n.isFunction,i=n.isArray;function c(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}c.prototype={constructor:c,register:function(e,t,o){var n=this.queries,c=o&&this.browserIsIncapable;return n[e]||(n[e]=new r(e,c)),l(t)&&(t={match:t}),i(t)||(t=[t]),a(t,(function(t){l(t)&&(t={match:t}),n[e].addHandler(t)})),this},unregister:function(e,t){var o=this.queries[e];return o&&(t?o.removeHandler(t):(o.clear(),delete this.queries[e])),this}},e.exports=c},755:e=>{function t(e){this.options=e,!e.deferSetup&&this.setup()}t.prototype={constructor:t,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=t},665:e=>{e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var o=0,r=e.length;o<r&&!1!==t(e[o],o);o++);}}},974:(e,t,o)=>{var r=o(177);e.exports=new r},679:(e,t,o)=>{"use strict";var r=o(864),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function c(e){return r.isMemo(e)?l:i[e.$$typeof]||n}i[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[r.Memo]=l;var u=Object.defineProperty,s=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,o,r){if("string"!=typeof o){if(f){var n=p(o);n&&n!==f&&e(t,n,r)}var l=s(o);d&&(l=l.concat(d(o)));for(var i=c(t),g=c(o),b=0;b<l.length;++b){var y=l[b];if(!(a[y]||r&&r[y]||g&&g[y]||i&&i[y])){var _=m(o,y);try{u(t,y,_)}catch(e){}}}}return t}},973:(e,t,o)=>{var r=o(169),n=function(e){var t="",o=Object.keys(e);return o.forEach((function(n,a){var l=e[n];(function(e){return/[height|width]$/.test(e)})(n=r(n))&&"number"==typeof l&&(l+="px"),t+=!0===l?n:!1===l?"not "+n:"("+n+": "+l+")",a<o.length-1&&(t+=" and ")})),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(o,r){t+=n(o),r<e.length-1&&(t+=", ")})),t):n(e)}},296:(e,t,o)=>{var r=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,i=parseInt,c="object"==typeof o.g&&o.g&&o.g.Object===Object&&o.g,u="object"==typeof self&&self&&self.Object===Object&&self,s=c||u||Function("return this")(),d=Object.prototype.toString,m=Math.max,p=Math.min,f=function(){return s.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var o=a.test(e);return o||l.test(e)?i(e.slice(2),o?2:8):n.test(e)?NaN:+e}e.exports=function(e,t,o){var r,n,a,l,i,c,u=0,s=!1,d=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function _(t){var o=r,a=n;return r=n=void 0,u=t,l=e.apply(a,o)}function R(e){return u=e,i=setTimeout(w,t),s?_(e):l}function h(e){var o=e-c;return void 0===c||o>=t||o<0||d&&e-u>=a}function w(){var e=f();if(h(e))return E(e);i=setTimeout(w,function(e){var o=t-(e-c);return d?p(o,a-(e-u)):o}(e))}function E(e){return i=void 0,y&&r?_(e):(r=n=void 0,l)}function v(){var e=f(),o=h(e);if(r=arguments,n=this,c=e,o){if(void 0===i)return R(c);if(d)return i=setTimeout(w,t),_(c)}return void 0===i&&(i=setTimeout(w,t)),l}return t=b(t)||0,g(o)&&(s=!!o.leading,a=(d="maxWait"in o)?m(b(o.maxWait)||0,t):a,y="trailing"in o?!!o.trailing:y),v.cancel=function(){void 0!==i&&clearTimeout(i),u=0,r=c=n=i=void 0},v.flush=function(){return void 0===i?l:E(f())},v}},921:(e,t)=>{"use strict";var o="function"==typeof Symbol&&Symbol.for,r=o?Symbol.for("react.element"):60103,n=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,l=o?Symbol.for("react.strict_mode"):60108,i=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,u=o?Symbol.for("react.context"):60110,s=o?Symbol.for("react.async_mode"):60111,d=o?Symbol.for("react.concurrent_mode"):60111,m=o?Symbol.for("react.forward_ref"):60112,p=o?Symbol.for("react.suspense"):60113,f=o?Symbol.for("react.suspense_list"):60120,g=o?Symbol.for("react.memo"):60115,b=o?Symbol.for("react.lazy"):60116,y=o?Symbol.for("react.block"):60121,_=o?Symbol.for("react.fundamental"):60117,R=o?Symbol.for("react.responder"):60118,h=o?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case s:case d:case a:case i:case l:case p:return e;default:switch(e=e&&e.$$typeof){case u:case m:case b:case g:case c:return e;default:return t}}case n:return t}}}function E(e){return w(e)===d}t.AsyncMode=s,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=c,t.Element=r,t.ForwardRef=m,t.Fragment=a,t.Lazy=b,t.Memo=g,t.Portal=n,t.Profiler=i,t.StrictMode=l,t.Suspense=p,t.isAsyncMode=function(e){return E(e)||w(e)===s},t.isConcurrentMode=E,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===m},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===b},t.isMemo=function(e){return w(e)===g},t.isPortal=function(e){return w(e)===n},t.isProfiler=function(e){return w(e)===i},t.isStrictMode=function(e){return w(e)===l},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===i||e===l||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===g||e.$$typeof===c||e.$$typeof===u||e.$$typeof===m||e.$$typeof===_||e.$$typeof===R||e.$$typeof===h||e.$$typeof===y)},t.typeOf=w},864:(e,t,o)=>{"use strict";e.exports=o(921)},205:(e,t,o)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.PrevArrow=t.NextArrow=void 0;var n=i(o(196)),a=i(o(184)),l=o(518);function i(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},c.apply(this,arguments)}function u(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function s(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?u(Object(o),!0).forEach((function(t){d(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):u(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function d(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,o){return t&&p(e.prototype,t),o&&p(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var o,r=R(e);if(t){var n=R(this).constructor;o=Reflect.construct(r,arguments,n)}else o=r.apply(this,arguments);return _(this,o)}}function _(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function R(e){return R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},R(e)}var h=function(e){g(o,e);var t=y(o);function o(){return m(this,o),t.apply(this,arguments)}return f(o,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var o={key:"0","data-role":"none",className:(0,a.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?n.default.cloneElement(this.props.prevArrow,s(s({},o),r)):n.default.createElement("button",c({key:"0",type:"button"},o)," ","Previous")}}]),o}(n.default.PureComponent);t.PrevArrow=h;var w=function(e){g(o,e);var t=y(o);function o(){return m(this,o),t.apply(this,arguments)}return f(o,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,l.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var o={key:"1","data-role":"none",className:(0,a.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?n.default.cloneElement(this.props.nextArrow,s(s({},o),r)):n.default.createElement("button",c({key:"1",type:"button"},o)," ","Next")}}]),o}(n.default.PureComponent);t.NextArrow=w},492:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=o(196))&&r.__esModule?r:{default:r},a={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return n.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return n.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};t.default=a},329:(e,t,o)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var n=i(o(196)),a=i(o(184)),l=o(518);function i(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function u(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function p(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}(b,e);var t,o,r,i,g=(r=b,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f(r);if(i){var o=f(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return p(this,e)});function b(){return s(this,b),g.apply(this,arguments)}return t=b,o=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e,t=this.props,o=t.onMouseEnter,r=t.onMouseOver,i=t.onMouseLeave,s=t.infinite,d=t.slidesToScroll,m=t.slidesToShow,p=t.slideCount,f=t.currentSlide,g=(e={slideCount:p,slidesToScroll:d,slidesToShow:m,infinite:s}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,b={onMouseEnter:o,onMouseOver:r,onMouseLeave:i},y=[],_=0;_<g;_++){var R=(_+1)*d-1,h=s?R:(0,l.clamp)(R,0,p-1),w=h-(d-1),E=s?w:(0,l.clamp)(w,0,p-1),v=(0,a.default)({"slick-active":s?f>=E&&f<=h:f===E}),O={message:"dots",index:_,slidesToScroll:d,currentSlide:f},P=this.clickHandler.bind(this,O);y=y.concat(n.default.createElement("li",{key:_,className:v},n.default.cloneElement(this.props.customPaging(_),{onClick:P})))}return n.default.cloneElement(this.props.appendDots(y),function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?c(Object(o),!0).forEach((function(t){u(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):c(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({className:this.props.dotsClass},b))}}],o&&d(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),b}(n.default.PureComponent);t.Dots=g},66:(e,t,o)=>{"use strict";var r;t.Z=void 0;var n=((r=o(798))&&r.__esModule?r:{default:r}).default;t.Z=n},948:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0}},517:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var r=m(o(196)),n=m(o(948)),a=m(o(296)),l=m(o(184)),i=o(518),c=o(740),u=o(329),s=o(205),d=m(o(33));function m(e){return e&&e.__esModule?e:{default:e}}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},f.apply(this,arguments)}function g(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o,r,n={},a=Object.keys(e);for(r=0;r<a.length;r++)o=a[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)o=a[r],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function b(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function y(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?b(Object(o),!0).forEach((function(t){v(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):b(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function _(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function R(e,t){return R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},R(e,t)}function h(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return w(e)}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}function v(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&R(e,t)}(P,e);var t,o,m,b,O=(m=P,b=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=E(m);if(b){var o=E(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return h(this,e)});function P(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,P),v(w(t=O.call(this,e)),"listRefHandler",(function(e){return t.list=e})),v(w(t),"trackRefHandler",(function(e){return t.track=e})),v(w(t),"adaptHeight",(function(){if(t.props.adaptiveHeight&&t.list){var e=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,i.getHeight)(e)+"px"}})),v(w(t),"componentDidMount",(function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var e=(0,i.getOnDemandLazySlides)(y(y({},t.props),t.state));e.length>0&&(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e))}var o=y({listRef:t.list,trackRef:t.track},t.props);t.updateState(o,!0,(function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")})),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new d.default((function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout((function(){return t.onWindowResized()}),t.props.speed))):t.onWindowResized()})),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)})),v(w(t),"componentWillUnmount",(function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach((function(e){return clearTimeout(e)})),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()})),v(w(t),"componentDidUpdate",(function(e){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var o=(0,i.getOnDemandLazySlides)(y(y({},t.props),t.state));o.length>0&&(t.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(o)}})),t.props.onLazyLoad&&t.props.onLazyLoad(o))}t.adaptHeight();var n=y(y({listRef:t.list,trackRef:t.track},t.props),t.state),a=t.didPropsChange(e);a&&t.updateState(n,a,(function(){t.state.currentSlide>=r.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:r.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")}))})),v(w(t),"onWindowResized",(function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,a.default)((function(){return t.resizeWindow(e)}),50),t.debouncedResize()})),v(w(t),"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],o=Boolean(t.track&&t.track.node);if(o){var r=y(y({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(r,e,(function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")})),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}})),v(w(t),"updateState",(function(e,o,n){var a=(0,i.initializedState)(e);e=y(y(y({},e),a),{},{slideIndex:a.currentSlide});var l=(0,i.getTrackLeft)(e);e=y(y({},e),{},{left:l});var c=(0,i.getTrackCSS)(e);(o||r.default.Children.count(t.props.children)!==r.default.Children.count(e.children))&&(a.trackStyle=c),t.setState(a,n)})),v(w(t),"ssrInit",(function(){if(t.props.variableWidth){var e=0,o=0,n=[],a=(0,i.getPreClones)(y(y(y({},t.props),t.state),{},{slideCount:t.props.children.length})),l=(0,i.getPostClones)(y(y(y({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach((function(t){n.push(t.props.style.width),e+=t.props.style.width}));for(var c=0;c<a;c++)o+=n[n.length-1-c],e+=n[n.length-1-c];for(var u=0;u<l;u++)e+=n[u];for(var s=0;s<t.state.currentSlide;s++)o+=n[s];var d={width:e+"px",left:-o+"px"};if(t.props.centerMode){var m="".concat(n[t.state.currentSlide],"px");d.left="calc(".concat(d.left," + (100% - ").concat(m,") / 2 ) ")}return{trackStyle:d}}var p=r.default.Children.count(t.props.children),f=y(y(y({},t.props),t.state),{},{slideCount:p}),g=(0,i.getPreClones)(f)+(0,i.getPostClones)(f)+p,b=100/t.props.slidesToShow*g,_=100/g,R=-_*((0,i.getPreClones)(f)+t.state.currentSlide)*b/100;return t.props.centerMode&&(R+=(100-_*b/100)/2),{slideWidth:_+"%",trackStyle:{width:b+"%",left:R+"%"}}})),v(w(t),"checkImagesLoad",(function(){var e=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],o=e.length,r=0;Array.prototype.forEach.call(e,(function(e){var n=function(){return++r&&r>=o&&t.onWindowResized()};if(e.onclick){var a=e.onclick;e.onclick=function(){a(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=n,e.onerror=function(){n(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))}))})),v(w(t),"progressiveLazyLoad",(function(){for(var e=[],o=y(y({},t.props),t.state),r=t.state.currentSlide;r<t.state.slideCount+(0,i.getPostClones)(o);r++)if(t.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}for(var n=t.state.currentSlide-1;n>=-(0,i.getPreClones)(o);n--)if(t.state.lazyLoadedList.indexOf(n)<0){e.push(n);break}e.length>0?(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)})),v(w(t),"slideHandler",(function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.props,n=r.asNavFor,a=r.beforeChange,l=r.onLazyLoad,c=r.speed,u=r.afterChange,s=t.state.currentSlide,d=(0,i.slideHandler)(y(y(y({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!o})),m=d.state,p=d.nextState;if(m){a&&a(s,m.currentSlide);var f=m.lazyLoadedList.filter((function(e){return t.state.lazyLoadedList.indexOf(e)<0}));l&&f.length>0&&l(f),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),u&&u(s),delete t.animationEndCallback),t.setState(m,(function(){n&&t.asNavForIndex!==e&&(t.asNavForIndex=e,n.innerSlider.slideHandler(e)),p&&(t.animationEndCallback=setTimeout((function(){var e=p.animating,o=g(p,["animating"]);t.setState(o,(function(){t.callbackTimers.push(setTimeout((function(){return t.setState({animating:e})}),10)),u&&u(m.currentSlide),delete t.animationEndCallback}))}),c))}))}})),v(w(t),"changeSlide",(function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=y(y({},t.props),t.state),n=(0,i.changeSlide)(r,e);if((0===n||n)&&(!0===o?t.slideHandler(n,o):t.slideHandler(n),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var a=t.list.querySelectorAll(".slick-current");a[0]&&a[0].focus()}})),v(w(t),"clickHandler",(function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0})),v(w(t),"keyHandler",(function(e){var o=(0,i.keyHandler)(e,t.props.accessibility,t.props.rtl);""!==o&&t.changeSlide({message:o})})),v(w(t),"selectHandler",(function(e){t.changeSlide(e)})),v(w(t),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),v(w(t),"enableBodyScroll",(function(){window.ontouchmove=null})),v(w(t),"swipeStart",(function(e){t.props.verticalSwiping&&t.disableBodyScroll();var o=(0,i.swipeStart)(e,t.props.swipe,t.props.draggable);""!==o&&t.setState(o)})),v(w(t),"swipeMove",(function(e){var o=(0,i.swipeMove)(e,y(y(y({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));o&&(o.swiping&&(t.clickable=!1),t.setState(o))})),v(w(t),"swipeEnd",(function(e){var o=(0,i.swipeEnd)(e,y(y(y({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(o){var r=o.triggerSlideHandler;delete o.triggerSlideHandler,t.setState(o),void 0!==r&&(t.slideHandler(r),t.props.verticalSwiping&&t.enableBodyScroll())}})),v(w(t),"touchEnd",(function(e){t.swipeEnd(e),t.clickable=!0})),v(w(t),"slickPrev",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"previous"})}),0))})),v(w(t),"slickNext",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"next"})}),0))})),v(w(t),"slickGoTo",(function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},o)}),0))})),v(w(t),"play",(function(){var e;if(t.props.rtl)e=t.state.currentSlide-t.props.slidesToScroll;else{if(!(0,i.canGoNext)(y(y({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll}t.slideHandler(e)})),v(w(t),"autoPlay",(function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var o=t.state.autoplaying;if("update"===e){if("hovered"===o||"focused"===o||"paused"===o)return}else if("leave"===e){if("paused"===o||"focused"===o)return}else if("blur"===e&&("paused"===o||"hovered"===o))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})})),v(w(t),"pause",(function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var o=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==o&&"playing"!==o||t.setState({autoplaying:"focused"}):"playing"===o&&t.setState({autoplaying:"hovered"})})),v(w(t),"onDotsOver",(function(){return t.props.autoplay&&t.pause("hovered")})),v(w(t),"onDotsLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),v(w(t),"onTrackOver",(function(){return t.props.autoplay&&t.pause("hovered")})),v(w(t),"onTrackLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),v(w(t),"onSlideFocus",(function(){return t.props.autoplay&&t.pause("focused")})),v(w(t),"onSlideBlur",(function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")})),v(w(t),"render",(function(){var e,o,n,a=(0,l.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),d=y(y({},t.props),t.state),m=(0,i.extractObject)(d,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),p=t.props.pauseOnHover;if(m=y(y({},m),{},{onMouseEnter:p?t.onTrackOver:null,onMouseLeave:p?t.onTrackLeave:null,onMouseOver:p?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null}),!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow){var g=(0,i.extractObject)(d,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),b=t.props.pauseOnDotsHover;g=y(y({},g),{},{clickHandler:t.changeSlide,onMouseEnter:b?t.onDotsLeave:null,onMouseOver:b?t.onDotsOver:null,onMouseLeave:b?t.onDotsLeave:null}),e=r.default.createElement(u.Dots,g)}var _=(0,i.extractObject)(d,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);_.clickHandler=t.changeSlide,t.props.arrows&&(o=r.default.createElement(s.PrevArrow,_),n=r.default.createElement(s.NextArrow,_));var R=null;t.props.vertical&&(R={height:t.state.listHeight});var h=null;!1===t.props.vertical?!0===t.props.centerMode&&(h={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(h={padding:t.props.centerPadding+" 0px"});var w=y(y({},R),h),E=t.props.touchMove,v={className:"slick-list",style:w,onClick:t.clickHandler,onMouseDown:E?t.swipeStart:null,onMouseMove:t.state.dragging&&E?t.swipeMove:null,onMouseUp:E?t.swipeEnd:null,onMouseLeave:t.state.dragging&&E?t.swipeEnd:null,onTouchStart:E?t.swipeStart:null,onTouchMove:t.state.dragging&&E?t.swipeMove:null,onTouchEnd:E?t.touchEnd:null,onTouchCancel:t.state.dragging&&E?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},O={className:a,dir:"ltr",style:t.props.style};return t.props.unslick&&(v={className:"slick-list"},O={className:a}),r.default.createElement("div",O,t.props.unslick?"":o,r.default.createElement("div",f({ref:t.listRefHandler},v),r.default.createElement(c.Track,f({ref:t.trackRefHandler},m),t.props.children)),t.props.unslick?"":n,t.props.unslick?"":e)})),t.list=null,t.track=null,t.state=y(y({},n.default),{},{currentSlide:t.props.initialSlide,slideCount:r.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var o=t.ssrInit();return t.state=y(y({},t.state),o),t}return t=P,(o=[{key:"didPropsChange",value:function(e){for(var t=!1,o=0,n=Object.keys(this.props);o<n.length;o++){var a=n[o];if(!e.hasOwnProperty(a)){t=!0;break}if("object"!==p(e[a])&&"function"!=typeof e[a]&&e[a]!==this.props[a]){t=!0;break}}return t||r.default.Children.count(this.props.children)!==r.default.Children.count(e.children)}}])&&_(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),P}(r.default.Component);t.InnerSlider=O},798:(e,t,o)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(o(196)),a=o(517),l=u(o(973)),i=u(o(492)),c=o(518);function u(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},s.apply(this,arguments)}function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function m(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){_(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function p(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function g(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return b(e)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function _(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var R=(0,c.canUseDOM)()&&o(974),h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(h,e);var t,o,r,u,d=(r=h,u=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=y(r);if(u){var o=y(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return g(this,e)});function h(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),_(b(t=d.call(this,e)),"innerSliderRefHandler",(function(e){return t.innerSlider=e})),_(b(t),"slickPrev",(function(){return t.innerSlider.slickPrev()})),_(b(t),"slickNext",(function(){return t.innerSlider.slickNext()})),_(b(t),"slickGoTo",(function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,o)})),_(b(t),"slickPause",(function(){return t.innerSlider.pause("paused")})),_(b(t),"slickPlay",(function(){return t.innerSlider.autoPlay("play")})),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return t=h,(o=[{key:"media",value:function(e,t){R.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(o,r){var n;n=0===r?(0,l.default)({minWidth:0,maxWidth:o}):(0,l.default)({minWidth:t[r-1]+1,maxWidth:o}),(0,c.canUseDOM)()&&e.media(n,(function(){e.setState({breakpoint:o})}))}));var o=(0,l.default)({minWidth:t.slice(-1)[0]});(0,c.canUseDOM)()&&this.media(o,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){R.unregister(e.query,e.handler)}))}},{key:"render",value:function(){var e,t,o=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===o.state.breakpoint})))[0].settings?"unslick":m(m(m({},i.default),this.props),t[0].settings):m(m({},i.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var r=n.default.Children.toArray(this.props.children);r=r.filter((function(e){return"string"==typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var l=[],c=null,u=0;u<r.length;u+=e.rows*e.slidesPerRow){for(var d=[],p=u;p<u+e.rows*e.slidesPerRow;p+=e.slidesPerRow){for(var f=[],g=p;g<p+e.slidesPerRow&&(e.variableWidth&&r[g].props.style&&(c=r[g].props.style.width),!(g>=r.length));g+=1)f.push(n.default.cloneElement(r[g],{key:100*u+10*p+g,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));d.push(n.default.createElement("div",{key:10*u+p},f))}e.variableWidth?l.push(n.default.createElement("div",{key:u,style:{width:c}},d)):l.push(n.default.createElement("div",{key:u},d))}if("unslick"===e){var b="regular slider "+(this.props.className||"");return n.default.createElement("div",{className:b},r)}return l.length<=e.slidesToShow&&(e.unslick=!0),n.default.createElement(a.InnerSlider,s({style:this.props.style,ref:this.innerSliderRefHandler},e),l)}}])&&p(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),h}(n.default.Component);t.default=h},740:(e,t,o)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var n=i(o(196)),a=i(o(184)),l=o(518);function i(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},c.apply(this,arguments)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function m(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return p(e)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function g(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function b(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?g(Object(o),!0).forEach((function(t){y(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):g(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function y(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var _=function(e){var t,o,r,n,a;return r=(a=e.rtl?e.slideCount-1-e.index:e.index)<0||a>=e.slideCount,e.centerMode?(n=Math.floor(e.slidesToShow/2),o=(a-e.currentSlide)%e.slideCount==0,a>e.currentSlide-n-1&&a<=e.currentSlide+n&&(t=!0)):t=e.currentSlide<=a&&a<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":o,"slick-cloned":r,"slick-current":a===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},R=function(e,t){return e.key||t},h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(h,e);var t,o,r,i,g=(r=h,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f(r);if(i){var o=f(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return m(this,e)});function h(){var e;u(this,h);for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return y(p(e=g.call.apply(g,[this].concat(o))),"node",null),y(p(e),"handleRef",(function(t){e.node=t})),e}return t=h,(o=[{key:"render",value:function(){var e=function(e){var t,o=[],r=[],i=[],c=n.default.Children.count(e.children),u=(0,l.lazyStartIndex)(e),s=(0,l.lazyEndIndex)(e);return n.default.Children.forEach(e.children,(function(d,m){var p,f={message:"children",index:m,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};p=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(m)>=0?d:n.default.createElement("div",null);var g=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}(b(b({},e),{},{index:m})),y=p.props.className||"",h=_(b(b({},e),{},{index:m}));if(o.push(n.default.cloneElement(p,{key:"original"+R(p,m),"data-index":m,className:(0,a.default)(h,y),tabIndex:"-1","aria-hidden":!h["slick-active"],style:b(b({outline:"none"},p.props.style||{}),g),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}})),e.infinite&&!1===e.fade){var w=c-m;w<=(0,l.getPreClones)(e)&&c!==e.slidesToShow&&((t=-w)>=u&&(p=d),h=_(b(b({},e),{},{index:t})),r.push(n.default.cloneElement(p,{key:"precloned"+R(p,t),"data-index":t,tabIndex:"-1",className:(0,a.default)(h,y),"aria-hidden":!h["slick-active"],style:b(b({},p.props.style||{}),g),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}}))),c!==e.slidesToShow&&((t=c+m)<s&&(p=d),h=_(b(b({},e),{},{index:t})),i.push(n.default.cloneElement(p,{key:"postcloned"+R(p,t),"data-index":t,tabIndex:"-1",className:(0,a.default)(h,y),"aria-hidden":!h["slick-active"],style:b(b({},p.props.style||{}),g),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}})))}})),e.rtl?r.concat(o,i).reverse():r.concat(o,i)}(this.props),t=this.props,o={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return n.default.createElement("div",c({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},o),e)}}])&&s(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),h}(n.default.PureComponent);t.Track=h},518:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkSpecKeys=t.checkNavigable=t.changeSlide=t.canUseDOM=t.canGoNext=void 0,t.clamp=c,t.swipeStart=t.swipeMove=t.swipeEnd=t.slidesOnRight=t.slidesOnLeft=t.slideHandler=t.siblingDirection=t.safePreventDefault=t.lazyStartIndex=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.keyHandler=t.initializedState=t.getWidth=t.getTrackLeft=t.getTrackCSS=t.getTrackAnimateCSS=t.getTotalSlides=t.getSwipeDirection=t.getSlideCount=t.getRequiredLazySlides=t.getPreClones=t.getPostClones=t.getOnDemandLazySlides=t.getNavigableIndexes=t.getHeight=t.extractObject=void 0;var r,n=(r=o(196))&&r.__esModule?r:{default:r};function a(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function l(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?a(Object(o),!0).forEach((function(t){i(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):a(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function i(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function c(e,t,o){return Math.max(t,Math.min(e,o))}var u=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()};t.safePreventDefault=u;var s=function(e){for(var t=[],o=d(e),r=m(e),n=o;n<r;n++)e.lazyLoadedList.indexOf(n)<0&&t.push(n);return t};t.getOnDemandLazySlides=s,t.getRequiredLazySlides=function(e){for(var t=[],o=d(e),r=m(e),n=o;n<r;n++)t.push(n);return t};var d=function(e){return e.currentSlide-p(e)};t.lazyStartIndex=d;var m=function(e){return e.currentSlide+f(e)};t.lazyEndIndex=m;var p=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0};t.lazySlidesOnLeft=p;var f=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=f;var g=function(e){return e&&e.offsetWidth||0};t.getWidth=g;var b=function(e){return e&&e.offsetHeight||0};t.getHeight=b;var y=function(e){var t,o,r,n,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,o=e.startY-e.curY,r=Math.atan2(o,t),(n=Math.round(180*r/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315?"left":n>=135&&n<=225?"right":!0===a?n>=35&&n<=135?"up":"down":"vertical"};t.getSwipeDirection=y;var _=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t};t.canGoNext=_,t.extractObject=function(e,t){var o={};return t.forEach((function(t){return o[t]=e[t]})),o},t.initializedState=function(e){var t,o=n.default.Children.count(e.children),r=e.listRef,a=Math.ceil(g(r)),i=e.trackRef&&e.trackRef.node,c=Math.ceil(g(i));if(e.vertical)t=a;else{var u=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(u*=a/100),t=Math.ceil((a-u)/e.slidesToShow)}var d=r&&b(r.querySelector('[data-index="0"]')),m=d*e.slidesToShow,p=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(p=o-1-e.initialSlide);var f=e.lazyLoadedList||[],y=s(l(l({},e),{},{currentSlide:p,lazyLoadedList:f})),_={slideCount:o,slideWidth:t,listWidth:a,trackWidth:c,currentSlide:p,slideHeight:d,listHeight:m,lazyLoadedList:f=f.concat(y)};return null===e.autoplaying&&e.autoplay&&(_.autoplaying="playing"),_},t.slideHandler=function(e){var t=e.waitForAnimate,o=e.animating,r=e.fade,n=e.infinite,a=e.index,i=e.slideCount,u=e.lazyLoad,d=e.currentSlide,m=e.centerMode,p=e.slidesToScroll,f=e.slidesToShow,g=e.useCSS,b=e.lazyLoadedList;if(t&&o)return{};var y,R,h,w=a,E={},C={},B=n?a:c(a,0,i-1);if(r){if(!n&&(a<0||a>=i))return{};a<0?w=a+i:a>=i&&(w=a-i),u&&b.indexOf(w)<0&&(b=b.concat(w)),E={animating:!0,currentSlide:w,lazyLoadedList:b,targetSlide:w},C={animating:!1,targetSlide:w}}else y=w,w<0?(y=w+i,n?i%p!=0&&(y=i-i%p):y=0):!_(e)&&w>d?w=y=d:m&&w>=i?(w=n?i:i-1,y=n?0:i-1):w>=i&&(y=w-i,n?i%p!=0&&(y=0):y=i-f),!n&&w+f>=i&&(y=i-f),R=P(l(l({},e),{},{slideIndex:w})),h=P(l(l({},e),{},{slideIndex:y})),n||(R===h&&(w=y),R=h),u&&(b=b.concat(s(l(l({},e),{},{currentSlide:w})))),g?(E={animating:!0,currentSlide:y,trackStyle:O(l(l({},e),{},{left:R})),lazyLoadedList:b,targetSlide:B},C={animating:!1,currentSlide:y,trackStyle:v(l(l({},e),{},{left:h})),swipeLeft:null,targetSlide:B}):E={currentSlide:y,trackStyle:v(l(l({},e),{},{left:h})),lazyLoadedList:b,targetSlide:B};return{state:E,nextState:C}},t.changeSlide=function(e,t){var o,r,n,a,i=e.slidesToScroll,c=e.slidesToShow,u=e.slideCount,s=e.currentSlide,d=e.targetSlide,m=e.lazyLoad,p=e.infinite;if(o=u%i!=0?0:(u-s)%i,"previous"===t.message)a=s-(n=0===o?i:c-o),m&&!p&&(a=-1==(r=s-n)?u-1:r),p||(a=d-i);else if("next"===t.message)a=s+(n=0===o?i:o),m&&!p&&(a=(s+i)%u+o),p||(a=d+i);else if("dots"===t.message)a=t.index*t.slidesToScroll;else if("children"===t.message){if(a=t.index,p){var f=A(l(l({},e),{},{targetSlide:a}));a>t.currentSlide&&"left"===f?a-=u:a<t.currentSlide&&"right"===f&&(a+=u)}}else"index"===t.message&&(a=Number(t.index));return a},t.keyHandler=function(e,t,o){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?o?"next":"previous":39===e.keyCode?o?"previous":"next":""},t.swipeStart=function(e,t,o){return"IMG"===e.target.tagName&&u(e),!t||!o&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}},t.swipeMove=function(e,t){var o=t.scrolling,r=t.animating,n=t.vertical,a=t.swipeToSlide,i=t.verticalSwiping,c=t.rtl,s=t.currentSlide,d=t.edgeFriction,m=t.edgeDragged,p=t.onEdge,f=t.swiped,g=t.swiping,b=t.slideCount,R=t.slidesToScroll,h=t.infinite,w=t.touchObject,E=t.swipeEvent,O=t.listHeight,C=t.listWidth;if(!o){if(r)return u(e);n&&a&&i&&u(e);var B,k={},A=P(t);w.curX=e.touches?e.touches[0].pageX:e.clientX,w.curY=e.touches?e.touches[0].pageY:e.clientY,w.swipeLength=Math.round(Math.sqrt(Math.pow(w.curX-w.startX,2)));var T=Math.round(Math.sqrt(Math.pow(w.curY-w.startY,2)));if(!i&&!g&&T>10)return{scrolling:!0};i&&(w.swipeLength=T);var W=(c?-1:1)*(w.curX>w.startX?1:-1);i&&(W=w.curY>w.startY?1:-1);var S=Math.ceil(b/R),x=y(t.touchObject,i),z=w.swipeLength;return h||(0===s&&("right"===x||"down"===x)||s+1>=S&&("left"===x||"up"===x)||!_(t)&&("left"===x||"up"===x))&&(z=w.swipeLength*d,!1===m&&p&&(p(x),k.edgeDragged=!0)),!f&&E&&(E(x),k.swiped=!0),B=n?A+z*(O/C)*W:c?A-z*W:A+z*W,i&&(B=A+z*W),k=l(l({},k),{},{touchObject:w,swipeLeft:B,trackStyle:v(l(l({},t),{},{left:B}))}),Math.abs(w.curX-w.startX)<.8*Math.abs(w.curY-w.startY)||w.swipeLength>10&&(k.swiping=!0,u(e)),k}},t.swipeEnd=function(e,t){var o=t.dragging,r=t.swipe,n=t.touchObject,a=t.listWidth,i=t.touchThreshold,c=t.verticalSwiping,s=t.listHeight,d=t.swipeToSlide,m=t.scrolling,p=t.onSwipe,f=t.targetSlide,g=t.currentSlide,b=t.infinite;if(!o)return r&&u(e),{};var _=c?s/i:a/i,R=y(n,c),E={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(m)return E;if(!n.swipeLength)return E;if(n.swipeLength>_){var v,C;u(e),p&&p(R);var B=b?g:f;switch(R){case"left":case"up":C=B+w(t),v=d?h(t,C):C,E.currentDirection=0;break;case"right":case"down":C=B-w(t),v=d?h(t,C):C,E.currentDirection=1;break;default:v=B}E.triggerSlideHandler=v}else{var k=P(t);E.trackStyle=O(l(l({},t),{},{left:k}))}return E};var R=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,o=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,n=[];o<t;)n.push(o),o=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return n};t.getNavigableIndexes=R;var h=function(e,t){var o=R(e),r=0;if(t>o[o.length-1])t=o[o.length-1];else for(var n in o){if(t<o[n]){t=r;break}r=o[n]}return t};t.checkNavigable=h;var w=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var o,r=e.listRef,n=r.querySelectorAll&&r.querySelectorAll(".slick-slide")||[];if(Array.from(n).every((function(r){if(e.vertical){if(r.offsetTop+b(r)/2>-1*e.swipeLeft)return o=r,!1}else if(r.offsetLeft-t+g(r)/2>-1*e.swipeLeft)return o=r,!1;return!0})),!o)return 0;var a=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(o.dataset.index-a)||1}return e.slidesToScroll};t.getSlideCount=w;var E=function(e,t){return t.reduce((function(t,o){return t&&e.hasOwnProperty(o)}),!0)?null:console.error("Keys Missing:",e)};t.checkSpecKeys=E;var v=function(e){var t,o;E(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var r=e.slideCount+2*e.slidesToShow;e.vertical?o=r*e.slideHeight:t=k(e)*e.slideWidth;var n={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",c=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";n=l(l({},n),{},{WebkitTransform:a,transform:i,msTransform:c})}else e.vertical?n.top=e.left:n.left=e.left;return e.fade&&(n={opacity:1}),t&&(n.width=t),o&&(n.height=o),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?n.marginTop=e.left+"px":n.marginLeft=e.left+"px"),n};t.getTrackCSS=v;var O=function(e){E(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=v(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t};t.getTrackAnimateCSS=O;var P=function(e){if(e.unslick)return 0;E(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,o,r=e.slideIndex,n=e.trackRef,a=e.infinite,l=e.centerMode,i=e.slideCount,c=e.slidesToShow,u=e.slidesToScroll,s=e.slideWidth,d=e.listWidth,m=e.variableWidth,p=e.slideHeight,f=e.fade,g=e.vertical;if(f||1===e.slideCount)return 0;var b=0;if(a?(b=-C(e),i%u!=0&&r+u>i&&(b=-(r>i?c-(r-i):i%u)),l&&(b+=parseInt(c/2))):(i%u!=0&&r+u>i&&(b=c-i%u),l&&(b=parseInt(c/2))),t=g?r*p*-1+b*p:r*s*-1+b*s,!0===m){var y,_=n&&n.node;if(y=r+C(e),t=(o=_&&_.childNodes[y])?-1*o.offsetLeft:0,!0===l){y=a?r+C(e):r,o=_&&_.children[y],t=0;for(var R=0;R<y;R++)t-=_&&_.children[R]&&_.children[R].offsetWidth;t-=parseInt(e.centerPadding),t+=o&&(d-o.offsetWidth)/2}}return t};t.getTrackLeft=P;var C=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)};t.getPreClones=C;var B=function(e){return e.unslick||!e.infinite?0:e.slideCount};t.getPostClones=B;var k=function(e){return 1===e.slideCount?1:C(e)+e.slideCount+B(e)};t.getTotalSlides=k;var A=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+T(e)?"left":"right":e.targetSlide<e.currentSlide-W(e)?"right":"left"};t.siblingDirection=A;var T=function(e){var t=e.slidesToShow,o=e.centerMode,r=e.rtl,n=e.centerPadding;if(o){var a=(t-1)/2+1;return parseInt(n)>0&&(a+=1),r&&t%2==0&&(a+=1),a}return r?0:t-1};t.slidesOnRight=T;var W=function(e){var t=e.slidesToShow,o=e.centerMode,r=e.rtl,n=e.centerPadding;if(o){var a=(t-1)/2+1;return parseInt(n)>0&&(a+=1),r||t%2!=0||(a+=1),a}return r?t-1:0};t.slidesOnLeft=W,t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},33:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>v});var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var o=-1;return e.some((function(e,r){return e[0]===t&&(o=r,!0)})),o}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var o=e(this.__entries__,t),r=this.__entries__[o];return r&&r[1]},t.prototype.set=function(t,o){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=o:this.__entries__.push([t,o])},t.prototype.delete=function(t){var o=this.__entries__,r=e(o,t);~r&&o.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var o=0,r=this.__entries__;o<r.length;o++){var n=r[o];e.call(t,n[1],n[0])}},t}()}(),n="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,a=void 0!==o.g&&o.g.Math===Math?o.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),l="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(a):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},i=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,u=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var o=!1,r=!1,n=0;function a(){o&&(o=!1,e()),r&&c()}function i(){l(a)}function c(){var e=Date.now();if(o){if(e-n<2)return;r=!0}else o=!0,r=!1,setTimeout(i,20);n=e}return c}(this.refresh.bind(this))}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,o=t.indexOf(e);~o&&t.splice(o,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){n&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){n&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,o=void 0===t?"":t;i.some((function(e){return!!~o.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),s=function(e,t){for(var o=0,r=Object.keys(t);o<r.length;o++){var n=r[o];Object.defineProperty(e,n,{value:t[n],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||a},m=y(0,0,0,0);function p(e){return parseFloat(e)||0}function f(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];return t.reduce((function(t,o){return t+p(e["border-"+o+"-width"])}),0)}var g="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function b(e){return n?g(e)?function(e){var t=e.getBBox();return y(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,o=e.clientHeight;if(!t&&!o)return m;var r=d(e).getComputedStyle(e),n=function(e){for(var t={},o=0,r=["top","right","bottom","left"];o<r.length;o++){var n=r[o],a=e["padding-"+n];t[n]=p(a)}return t}(r),a=n.left+n.right,l=n.top+n.bottom,i=p(r.width),c=p(r.height);if("border-box"===r.boxSizing&&(Math.round(i+a)!==t&&(i-=f(r,"left","right")+a),Math.round(c+l)!==o&&(c-=f(r,"top","bottom")+l)),!function(e){return e===d(e).document.documentElement}(e)){var u=Math.round(i+a)-t,s=Math.round(c+l)-o;1!==Math.abs(u)&&(i-=u),1!==Math.abs(s)&&(c-=s)}return y(n.left,n.top,i,c)}(e):m}function y(e,t,o,r){return{x:e,y:t,width:o,height:r}}var _=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=b(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),R=function(e,t){var o,r,n,a,l,i,c,u=(r=(o=t).x,n=o.y,a=o.width,l=o.height,i="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(i.prototype),s(c,{x:r,y:n,width:a,height:l,top:n,right:r+a,bottom:l+n,left:r}),c);s(this,{target:e,contentRect:u})},h=function(){function e(e,t,o){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=o}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new _(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new R(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),w="undefined"!=typeof WeakMap?new WeakMap:new r,E=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var o=u.getInstance(),r=new h(t,o,this);w.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){E.prototype[e]=function(){var t;return(t=w.get(this))[e].apply(t,arguments)}}));const v=void 0!==a.ResizeObserver?a.ResizeObserver:E},774:e=>{e.exports=function(e,t,o,r){var n=o?o.call(r,e,t):void 0;if(void 0!==n)return!!n;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),l=Object.keys(t);if(a.length!==l.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),c=0;c<a.length;c++){var u=a[c];if(!i(u))return!1;var s=e[u],d=t[u];if(!1===(n=o?o.call(r,s,d,u):void 0)||void 0===n&&s!==d)return!1}return!0}},169:e=>{e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},196:e=>{"use strict";e.exports=window.React}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,o),a.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};o.r(e),o.d(e,{category:()=>jn,metadata:()=>Ln,name:()=>Nn,settings:()=>In});var t={};o.r(t),o.d(t,{category:()=>ua,metadata:()=>la,name:()=>ca,settings:()=>da});var r={};o.r(r),o.d(r,{category:()=>xa,metadata:()=>Ta,name:()=>Sa,settings:()=>La});var n={};o.r(n),o.d(n,{category:()=>ll,metadata:()=>rl,name:()=>al,settings:()=>cl});var a={};o.r(a),o.d(a,{category:()=>Wl,metadata:()=>kl,name:()=>Tl,settings:()=>xl});var l={};o.r(l),o.d(l,{category:()=>oi,metadata:()=>$l,name:()=>ti,settings:()=>ni});var i={};o.r(i),o.d(i,{category:()=>Bi,metadata:()=>Oi,name:()=>Ci,settings:()=>Ai});var c={};o.r(c),o.d(c,{category:()=>$i,metadata:()=>Zi,name:()=>Xi,settings:()=>tc});var u={};o.r(u),o.d(u,{category:()=>Oc,metadata:()=>wc,name:()=>vc,settings:()=>Cc});var s={};o.r(s),o.d(s,{category:()=>qc,metadata:()=>Fc,name:()=>Dc,settings:()=>Uc});var d={};o.r(d),o.d(d,{category:()=>lu,metadata:()=>ru,name:()=>au,settings:()=>cu});var m={};o.r(m),o.d(m,{category:()=>Eu,metadata:()=>Ru,name:()=>wu,settings:()=>Ou});var p={};o.r(p),o.d(p,{category:()=>Mu,metadata:()=>Lu,name:()=>ju,settings:()=>Hu});var f={};o.r(f),o.d(f,{category:()=>es,metadata:()=>Ju,name:()=>$u,settings:()=>os});var g={};o.r(g),o.d(g,{category:()=>bs,metadata:()=>ps,name:()=>gs,settings:()=>_s});var b={};o.r(b),o.d(b,{category:()=>Ss,metadata:()=>As,name:()=>Ws,settings:()=>zs});var y={};o.r(y),o.d(y,{category:()=>Vs,metadata:()=>Ks,name:()=>Qs,settings:()=>Zs});var _={};o.r(_),o.d(_,{category:()=>sd,metadata:()=>id,name:()=>ud,settings:()=>md});var R={};o.r(R),o.d(R,{category:()=>Cd,metadata:()=>vd,name:()=>Pd,settings:()=>kd});var h={};o.r(h),o.d(h,{category:()=>Gd,metadata:()=>Id,name:()=>Fd,settings:()=>qd});var w={};o.r(w),o.d(w,{category:()=>nm,metadata:()=>tm,name:()=>rm,settings:()=>lm});var E={};o.r(E),o.d(E,{category:()=>hm,metadata:()=>ym,name:()=>Rm,settings:()=>Em});var v={};o.r(v),o.d(v,{category:()=>jm,metadata:()=>zm,name:()=>Nm,settings:()=>Im});var O={};o.r(O),o.d(O,{category:()=>ip,metadata:()=>np,name:()=>lp,settings:()=>up});var P={};o.r(P),o.d(P,{category:()=>Sp,metadata:()=>Ap,name:()=>Wp,settings:()=>zp});var C={};o.r(C),o.d(C,{category:()=>ef,metadata:()=>Jp,name:()=>$p,settings:()=>of});var B={};o.r(B),o.d(B,{category:()=>Rf,metadata:()=>bf,name:()=>_f,settings:()=>wf});var k={};o.r(k),o.d(k,{category:()=>zf,metadata:()=>Wf,name:()=>xf,settings:()=>Nf});var A={};o.r(A),o.d(A,{category:()=>Yf,metadata:()=>Uf,name:()=>Vf,settings:()=>Jf});var T={};o.r(T),o.d(T,{category:()=>sg,metadata:()=>ig,name:()=>ug,settings:()=>mg});var W={};o.r(W),o.d(W,{category:()=>Pg,metadata:()=>Eg,name:()=>Og,settings:()=>Bg});var S={};o.r(S),o.d(S,{category:()=>Hg,metadata:()=>jg,name:()=>Ig,settings:()=>Gg});var x={};o.r(x),o.d(x,{category:()=>tb,metadata:()=>Xg,name:()=>eb,settings:()=>rb});var z={};o.r(z),o.d(z,{category:()=>bb,metadata:()=>pb,name:()=>gb,settings:()=>_b});var L={};o.r(L),o.d(L,{category:()=>xb,metadata:()=>kb,name:()=>Tb,settings:()=>jb});var N={};o.r(N),o.d(N,{category:()=>Xb,metadata:()=>Qb,name:()=>Yb,settings:()=>oy});var j={};o.r(j),o.d(j,{category:()=>yy,metadata:()=>my,name:()=>fy,settings:()=>wy});var M={};o.r(M),o.d(M,{category:()=>Ny,metadata:()=>Wy,name:()=>xy,settings:()=>Hy});var I={};o.r(I),o.d(I,{category:()=>n_,metadata:()=>$y,name:()=>t_,settings:()=>c_});var H={};o.r(H),o.d(H,{category:()=>O_,metadata:()=>R_,name:()=>w_,settings:()=>k_});var F={};o.r(F),o.d(F,{category:()=>D_,metadata:()=>M_,name:()=>H_,settings:()=>Q_});var G={};o.r(G),o.d(G,{category:()=>cR,metadata:()=>rR,name:()=>aR,settings:()=>mR});var D={};o.r(D),o.d(D,{category:()=>BR,metadata:()=>ER,name:()=>OR,settings:()=>WR});var q={};o.r(q),o.d(q,{category:()=>UR,metadata:()=>FR,name:()=>DR,settings:()=>ZR});var K={};o.r(K),o.d(K,{category:()=>dh,metadata:()=>lh,name:()=>ch,settings:()=>gh});var U={};o.r(U),o.d(U,{category:()=>Th,metadata:()=>Ph,name:()=>Bh,settings:()=>zh});var Q={};o.r(Q),o.d(Q,{category:()=>Yh,metadata:()=>qh,name:()=>Uh,settings:()=>$h});var V={};o.r(V),o.d(V,{category:()=>fw,metadata:()=>uw,name:()=>dw,settings:()=>_w});var Y={};o.r(Y),o.d(Y,{category:()=>xw,metadata:()=>kw,name:()=>Tw,settings:()=>jw});var Z={};o.r(Z),o.d(Z,{category:()=>Xw,metadata:()=>Qw,name:()=>Yw,settings:()=>oE});var J={};o.r(J),o.d(J,{category:()=>yE,metadata:()=>mE,name:()=>fE,settings:()=>wE});var X={};o.r(X),o.d(X,{category:()=>NE,metadata:()=>WE,name:()=>xE,settings:()=>HE});var $={};o.r($),o.d($,{category:()=>tv,metadata:()=>ZE,name:()=>XE,settings:()=>av});const ee=window.wp.blocks,te=window.wp.i18n,oe=window.wp.components;function re(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var ne,ae=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",width:"20",height:"20",viewBox:"0 0 40 40"},React.createElement("image",{id:"woolentor-logo",width:"40",height:"40",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADHFJREFUeNrsXU2IHMcV7m7NSnEU8IAvvgQmEHTV+JCDNwaN4oB1UNAIx7nO7sWQ5CBtcvAlYS0CAZ9GOoSActjZUyDESGZ9kA7OjEDWHrW6GoHHOAcfEphAHMjuaif12tWT3pn++arrVf/Wg2Z3pZme7npffe97r17XuE7N7Ot3e23xoysP+v2S/K+OPFCbyJ9TcXwhjgP6/fzdyUGdxsutgcPJ0T3p6K6ik7PaRALiEf0uQDGzAMh3hvfFcU06vl2CyyIwfCSO+1VjCLeCTu+X/HIpZNwXx24VwOCW3PE0wwfi2KgowxIA7khmmFkA4I4nh9+QMb0ONmv9+J3R2Xd+ccd13akFQLLjt3MScrnat37zJ8f77vfp15E4bpUFCK51vHkjxxMAloyAsCWAUGhoaJUgxm9LNV9ba73+VtQ/E+j78/mcwsL7jWIAqeqHFRZ3SvbS7//suK+8mpY5bAogTHJnpwKcT2nc501x/pkL3TTnk3VOvnw+FmMzlJOjfgCgGxPHjvj1nlOO4k0+AFh/C3rd8f5D+nFTHE9laKwPAGS59mlTZv0pAFx8A3rdi4PHCzYQB7HB+7UAgFT4T+uq8BOd333Dcb/9ndTXnXx24Mz/+dXyP2+LsRubDgmeYecT5e84DbUz3R9i9P/kYdx/9WRI6FYKADLej5tI+Yv0Ssz81utXMPp/9jhRIMqQ0K8EACRljeue23PG/vl//p32MhrTezKclhcAIbHXdRpuMP3vP1Q57Q43CDxm54+bKPai6J8EYJrRzA+p/0JA4DE7v+1Yc87wxP5cQOAxOL8tlb51vrSY2n9E/P9U52NYQOAxOH9sY36I/l95NVj2TaZ/kfdnoH92EOgywD3r/GXxp1z507WhTp3A05j9w6anelG29ubbJtR/WoqYuWLoZXQ+0c5N6+6lwRTUD6z8+fR/8uVzzo8OQrF5AEi6GVp3Zxd/jLM/bF3JyuYAYBU/T/w/fvLA1CXcVC0ZqzLAthV9Mc7HGj986o9Y+eO0HRU9AAPgcG/Us3E/AQDrhdL/sh7YYQXAfD5vr10d7CAIbywALuae/iVZHw0FKAPQzO+gKU4TYz/S+OGv/Jmlf+VQ4AGzvyNjP1zjtuo/DgCf5nlZ7cBvugywiCfoKleTTGVMNBZ/dLKCTmYAiNlPwq+XBe029kfQf3rjh5FQoMMA25HxzorB0HgYafzgtF5Sm3lLZfYv3rR+xTnaG1n6FxOBs/GDzkdCO1hNPBGC8Whvl0M40kSeqDLAtq7oaYL654r9dC56gLT15k8d70LXP6iplB4ra+mL71gW8FRnvwryrfrH1D8JybOD92JTybMb73GE3RsqDHCDK/bVmf65Gj8ovU6rIzDUYPpRGcEKAOSL+unovwIVP2o7+9fBvj8g9iNMgoAtCwtEMcAGWq4sqjBEg0GLL0yDYpT+09Q/3UOO97GBZAEDillIjCdaOv7kr7k6/tzPf3cqHhLFHo4+cF58dpDrdXA1fqBAYmogoSe2Ns7fnYwiGUAqxc7x/gOoaOGLwQvd/Jz/q+HKwNPf5349zO06VJx29MmHbJkEci7QriWFgMEidu1jTQvoMqiuJankhVLOSZNwNX6iTMLcQ9APLxItA6Cvirg8xCB9RlqcpIGkHDoP53M5rZV/A+mKn70Q/QebK/8/foFxFa2HZ0q3BLjWfvZL6LVrVwfGBRVn6bfAHoJrUQwwWLmJJxjyWgb7BGhWqzAMhQqjAECdlhJCNTeP0LVeFAB6qyjGxKCpVMavjV8dKItFU6FAqfEjZdwYNo/QzQZ6CwCE9thfvRlwDdsEC5wFqT8qFJhYseQs/cJMYq6HoBdmgF4sAkExSDfEKQYprcu63uDX1jOCJ9FpTIs/6FgZ7iG4FAZAN0nNIkUIFVRDs1jTgeQszgUr9N6QsInSv+EWslMMcCnxptCUkCkMIGkfR+3AhPqH6B/sITjef2ASAH7ml8oAAaWhYlA39qqkfdC5FEVknBjlavwoQewPW9eTArCdemPgBekuW6qmfcj5dMvEnI0fKEvm1EHc8RzwUa8XYDqis0KokvapiCNdRoHVf8oYwT0E2fYOymIXCQAd6ObAgoTK/ng6ad/hH38LVypp0Nd+spEZlHDjR8r1wExiOPaH6wEwAMjg9YEMC0QqaR/NDhrs/44+wGfxj97OpE/WYMp+zHauHDuIewSAl9FXo8j0wCdlT83+DbyEe/iXPyxm3dHHu7AgPLehXiaGH/kGGj8K2jwi+bochce9VVITtGVqIfxAwJDDw6GI2tPRWnnQaQsPTgGNHznF/lMAUDJUDKI3rJKq+QCM6EA6VAgFJAjRLKPijR+GAICKQTB39uv2oEOOBPVHqX+6JrQ1TaXOAG/4mJb7l2fziEgAdFTfhIqUtBmk0sRBg5MUfvzQAKaGFAbSagPwci3gtBJtHsEEAHCPm7TuGRVRdiSFX1J4ONzFQ0FaC1lNGj/4Q8Ai5wUvNk4MnpGPP6mkfcjr0NpAGvvUpPHDDAA4wkCWtA8xqg2goSCuhQztc6xA44c5AKDbnUS1juukfQg7obUBH4gRgpBz5a9lfudwbQBMTbNAWARxpH2p1yXegxZT/NpAKBQo7fX/jGnlr7jNIzQBAIrBMKVypH1Q2FAQhOFrUlmurUjjh5kQENAt3DpOIGBM+6D3K9QGgm5idB2jSo0fxgCgIl5oIYQz7ePWD+SsYHMGiP6BR77LHPvDANB6qlLlOUI07aNzcjzs6dcGFICELkdDjR/l3DouEgD/0j0J5/o1OY32xeEyv4bAXGBJ65HM+VtDihOBC6plXMA4/tuH7AUREoRcKhtZ+SvgW0Oy2oQFAFxr2HQeE/sN+Kzy8S4boyB6hzONLrUGQGkRYpK9XWP5sF8bYNAVVW38iLFH3vm7k5n4ZaY9M57pFTPIOabToUPNzAJ5SKbgbw1RtWmQBmpPDZXW8bjZb9rIeTqhAFr5K/5bQ1TsIADAoyLDAFfahwFtlFlkVrnxI8oE+x+wMQBKkabTPigUKLSQqTitzI0fURlAIAIXfxTBAibSvtSZnEFvIPdV5saPKAG4AIAUgiwsoKIDTKV9UChQXGhKXfkr57eGwAzAxgIqixsm0z4o9IBZAWfjR9GlX2kzMel9f4c3ivzIYfpWMGodT2uEyCPtQ8Qnrf6lrVFwNn7Qw6Gt9WJ3W58fH0+cuz9wTgGAEPH1uz0KBdpfCkkxlhycNLB5C784oxYy2qY9jr6RZWmVjTGK3N52abI7yyGA7D7bwNLDmxEZgb9Cl/PWrmk6JG6tgK4faSyp4M7pCz+74X+V3zV3j/OTSBwFqA/W0UsiglZoPLxt+/wfX0Ehil7/0nCvUs53Xfd6JAAkCD53Mjwr0FSj4g/tVVwh2xQAGMWFALJd69ba2izs/DgAjOw44Xby9+dVutwV364AQGQDU04xWHfL2rpekN1JBUDcC63FGy0zF13TAMXfdEXExr1aiMGxk7CDqLVoQUgpYUly/dMz/UL3sgDARAUA5PyxdWstbCJC++VIYMS9Q9aKJ3bsamG3Ypkh6xutVWr2TzIBwLJALWwrURsAJ9i0Y1hZu01tX1oAkHUBGwqqZzPEb+jDobcdhgdIrOVL/bLTK9Fc9Gw2LaxH2peVAQJBeNuObSWoH9ZtqvsDUEw5sGNcatuUuo0fADKmbDoMj5JZM2Ij4SOlhTzlHUJkWrFlx7p0lskvbtZPE6Jwx4n4PnprhcX911SoXxsAEgR2xbAc9lpawYctBCzZdSsKSyH6MvvA1f10+a1j1Ejatr4oxPkjnRNobxMnM4PLNjPI3W7pOp+FAUJMQI8BjS0T5JbusSzSeVxXJOOQZQLztsXlfFYGCDFBx/nm6aKu9VX5Yr5xAISE4diCgDXP3+J2vjEAhIBgi0U8zr+sk+rlogFidAHFKls2zm7k9O+Zcr5xBljKEEgXdKxPYaN2LuOTx83rbqQuoJDQt75NpfzrSZ28lQRACAh9CQRbL1i1+1Lp55ZKu0XcpWSDoRWIC5tKx0/y/mC3yLuWfYbDBqeLNNPvyHhfSAHNLcMoCCAQE2w3TCRSTn8ryxp+7QDQMCCUwvGlBECNgTCTAq80ji81AJY0wqDCYnEqY/yoqBhfaQAsZQ2UPt6ogGCcSZrfNVnBaxQAlsBAYYGY4ZpTnqISOXpSFadXGgAxYYKOi/JnO0eHP3O+eQxrWtXxqzwAYhgiYImXQyGjl8HJMxnHv5B/T6s2w9PsfwIMAOhUCXLerUHIAAAAAElFTkSuQmCC"}));(0,ee.setCategories)([{slug:"woolentor-blocks",title:(0,te.__)("WooLentor","woolentor"),icon:React.createElement(oe.Icon,{icon:ae})},{slug:"woolentor-single-product",title:(0,te.__)("WooLentor Single Product","woolentor"),icon:React.createElement(oe.Icon,{icon:ae})},{slug:"woolentor-shop",title:(0,te.__)("WooLentor Shop","woolentor"),icon:React.createElement(oe.Icon,{icon:ae})},{slug:"woolentor-cart",title:(0,te.__)("WooLentor Cart","woolentor"),icon:React.createElement(oe.Icon,{icon:ae})},{slug:"woolentor-checkout",title:(0,te.__)("WooLentor Checkout","woolentor"),icon:React.createElement(oe.Icon,{icon:ae})},{slug:"woolentor-myaccount",title:(0,te.__)("WooLentor My Account","woolentor"),icon:React.createElement(oe.Icon,{icon:ae})}].concat(function(e){if(Array.isArray(e))return re(e)}(ne=(0,ee.getCategories)().filter((function(e){return"woolentor-blocks"!==e.slug})))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(ne)||function(e,t){if(e){if("string"==typeof e)return re(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?re(e,t):void 0}}(ne)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));var le=function(e){var t=e.unit?e.unit:"px";return""!=e.top||""!=e.right||""!=e.bottom||""!=e.left?(e.top||0)+t+" "+(e.right||0)+t+" "+(e.bottom||0)+t+" "+(e.left||0)+t:""};function ie(e){return ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ie(e)}var ce=function(e,t,o){return e.replace(new RegExp(t,"g"),o)},ue=function(e){return"object"==ie(e)&&0!=Object.keys(e).length},se=function(e,t){return e.replace(new RegExp("{{WOOLENTOR_WRAPPER}}","g"),".woolentorblock-"+t)},de=function(e,t){var o="";return t.forEach((function(e){o+=e+";"})),e+"{"+o+"}"},me=function(e,t){var o="";return t.forEach((function(t){o+=e+t})),o},pe=function(e,t,o,r){if(r="object"!=ie(r)?r:fe(r).data,"string"==typeof e){if(e){if(r){var n=se(e,t);return"boolean"==typeof r?[n]:-1==n.indexOf("{{")&&n.indexOf("{")<0?[n+r]:[ce(n,"{{"+o+"}}",r)]}return[]}return[se(r,t)]}var a=[];return e.forEach((function(e){a.push(ce(se(e,t),"{{"+o+"}}",r))})),a},fe=function(e){return e.imageUrl?{data:(t=e,o="{",t.imageUrl&&(o+="background-image:url("+t.imageUrl+");"),t.position&&(o+="background-position:"+t.position+";"),t.attachment&&(o+="background-attachment:"+t.attachment+";"),t.repeat&&(o+="background-repeat:"+t.repeat+";"),t.size&&(o+="background-size:"+t.size+";"),"{}"!=(o+="}")?o:{}),action:"append"}:void 0!==e.top||void 0!==e.left||void 0!==e.right||void 0!==e.bottom?{data:le(e),action:"replace"}:{data:"",action:"append"};var t,o},ge=function(e,t){var o=!0;return t.hasOwnProperty("dependency")&&t.dependency.forEach((function(t){var r=o;if("=="==(t=t[0]).condition)if("string"==typeof t.value||"number"==typeof t.value||"boolean"==typeof t.value)o=e[t.key]==t.value;else{var n=!1;t.value.forEach((function(o){e[t.key]==o&&(n=!0)})),o=!!n}else if("!="==t.condition)if("string"==typeof t.value||"number"==typeof t.value||"boolean"==typeof t.value)o=e[t.key]!=t.value;else{var a=!1;t.value.forEach((function(o){e[t.key]!=o&&(a=!0)})),a&&(o=!0)}o=0!=r&&o})),o};function be(e,t,o){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(o){var n="",a=[],l=[],i=[],c=[],u=[];return Object.keys(e).forEach((function(n){var s="string"==typeof t?wp.blocks.getBlockType(t).attributes:t;if(s[n]&&s[n].hasOwnProperty("style")){var d=s[n].style;if(d.hasOwnProperty("selector")){var m=d.selector;if(ge(e,d))if("object"==ie(e[n])){var p=!1,f="";if(e[n].desktop&&(p=!0,f="object"==ie(e[n].desktop)?fe(e[n].desktop).data:e[n].desktop+(e[n].unit||""),a=a.concat(pe(m,o,n,f))),e[n].laptop&&(p=!0,f="object"==ie(e[n].laptop)?fe(e[n].laptop).data:e[n].laptop+(e[n].unit||""),l=l.concat(pe(m,o,n,f))),e[n].tablet&&(p=!0,f="object"==ie(e[n].tablet)?fe(e[n].tablet).data:e[n].tablet+(e[n].unit||""),i=i.concat(pe(m,o,n,f))),e[n].mobile&&(p=!0,f="object"==ie(e[n].mobile)?fe(e[n].mobile).data:e[n].mobile+(e[n].unit||""),c=c.concat(pe(m,o,n,f))),!p){var g=fe(e[n]),b=se(m,o);"object"==ie(g.data)?0!=Object.keys(g.data).length&&(g.data.background&&u.push(b+g.data.background),ue(g.data.desktop)&&a.push(de(b,g.data.desktop)),ue(g.data.laptop)&&l.push(de(b,g.data.laptop)),ue(g.data.tablet)&&i.push(de(b,g.data.tablet)),ue(g.data.mobile)&&c.push(de(b,g.data.mobile)),g.data.simple&&u.push(b+g.data.simple),g.data.font&&a.unshift(g.data.font),g.data.shape&&(g.data.shape.forEach((function(e){u.push(b+e)})),ue(g.data.data.desktop)&&a.push(me(b,g.data.data.desktop)),ue(g.data.data.laptop)&&l.push(me(b,g.data.data.laptop)),ue(g.data.data.tablet)&&i.push(me(b,g.data.data.tablet)),ue(g.data.data.mobile)&&c.push(me(b,g.data.data.mobile)))):g.data&&-1==g.data.indexOf("{{")&&("append"==g.action?u.push(b+g.data):u.push(pe(m,o,n,g.data)))}}else"hideDesktop"==n?r&&(u=u.concat("@media (min-width: 1200px) {"+pe(m,o,n,e[n])+"}")):"hideLaptop"==n?r&&(u=u.concat("@media only screen and (max-width: 1199px) and (min-width: 991px) {"+pe(m,o,n,e[n])+"}")):"hideTablet"==n?r&&(u=u.concat("@media only screen and (max-width: 992px) and (min-width: 767px) {"+pe(m,o,n,e[n])+"}")):"hideMobile"==n?r&&(u=u.concat("@media (max-width: 768px) {"+pe(m,o,n,e[n])+"}")):e[n]&&(u=u.concat(pe(m,o,n,e[n])))}}})),a.length>0&&(n+=a.join("")),l.length>0&&(n+="@media (min-width: 992px) and (max-width: 1200px) {"+l.join("")+"}"),i.length>0&&(n+="@media (min-width: 768px) and (max-width: 991px) {"+i.join("")+"}"),c.length>0&&(n+="@media (max-width: 767px) {"+c.join("")+"}"),u.length>0&&(n+=u.join("")),r?n:void 0}}var ye="";function _e(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return 1==t&&(ye="",t=!1),e.map((function(e){var t=e.attributes,o=e.name;"woolentor"===o.split("/")[0]&&t.blockUniqId&&(ye+=be(t,o,t.blockUniqId,!0)),e.innerBlocks&&e.innerBlocks.length>0&&_e(e.innerBlocks)})),ye}function Re(e){e.forEach((function(e){var t;-1!=e.name.indexOf("core/block")&&(t=e.attributes.ref,wp.apiFetch({path:"/woolentor/v1/get_post",method:"POST",data:{post_id:t}}).then((function(e){if(e.success){var t=_e(wp.blocks.parse(e.data),!0);t.css&&wp.apiFetch({path:"/woolentor/v1/appened_css",method:"POST",data:{inner_css:t.css,post_id:select("core/block-editor").getCurrentPostId()}}).then((function(e){e.success}))}}))),e.innerBlocks&&e.innerBlocks.length>0&&Re(e.innerBlocks)}))}function he(){var e=wp.data.select("core/block-editor").getBlocks(),t=wp.data.select("core/editor").getCurrentPostId,o=function(e){var t=!1;return function e(o){o.forEach((function(o){-1!=o.name.indexOf("woolentor/")&&(t=!0),o.innerBlocks&&o.innerBlocks.length>0&&e(o.innerBlocks)}))}(e),t}(e),r=_e(e,!0);Re(e),function(e,t,o){return wp.apiFetch({path:"/woolentor/v1/save_css",method:"POST",data:{block_css:t,post_id:e,has_block:o}}).then((function(e){return e}))}(t(),r,o).then((function(e){}))}const we=window.wp.element,Ee=window.wp.compose,ve=window.wp.data;function Oe(e){return Oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Oe(e)}function Pe(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Ce(e){return function(e){if(Array.isArray(e))return Be(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Be(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Be(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Be(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function ke(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ae(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Te(e,t){return Te=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Te(e,t)}function We(e,t){if(t&&("object"===Oe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Se(e){return Se=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Se(e)}var xe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Te(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Se(r);if(n){var o=Se(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return We(this,e)});function l(){return ke(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e,t=this.props,o=t.setAttributes,r=t.selectedTaxonomies,n=t.attributesKey,a=t.title,l=t.type,i=t.taxnomiesList,c=function(){var e=[];return i&&i.forEach((function(t,o){e.push({label:t.name,value:t.slug})})),e};if("multiple"==l){var u=c();u.length>0&&(e=u.map((function(e,t){return React.createElement(oe.CheckboxControl,{key:e.value,label:e.label,onChange:function(t){return function(e,t){var a=-1!==r.indexOf(t)?Ce(r):[].concat(Ce(r),[t]);if(0==e){var l=a.indexOf(t);a.splice(l,1)}o(Pe({},n,a))}(t,e.value)},checked:-1!==r.indexOf(e.value)})})))}return React.createElement(we.Fragment,null,React.createElement("div",{className:"woolentor-component-taxonomy-area"},"single"!=l&&React.createElement("h2",{className:"woolentor-component-area-title"},a),React.createElement("div",{className:"woolentor-component-taxonomy-fileds"},"single"==l?0==c().length?React.createElement(oe.Spinner,null):React.createElement(oe.SelectControl,{label:a,value:r,options:c(),onChange:function(e){return o(Pe({},n,e))}}):e||React.createElement(oe.Spinner,null))))}}],o&&Ae(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const ze=(0,Ee.compose)([(0,ve.withSelect)((function(e,t){return{taxnomiesList:(0,e("core").getEntityRecords)("taxonomy",t.taxonomy?t.taxonomy:"product_cat",{orderby:"name",order:"asc",hide_empty:!0})}}))])(xe);function Le(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Ne(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Le(Object(o),!0).forEach((function(t){je(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Le(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function je(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var Me=function(){var e=(0,ve.useSelect)((function(e){return{blockTabName:e("woolentor/block-tabs").getBlockTabName(),blockSectionbName:e("woolentor/block-tabs").getBlockSectionName()}}),[]);return{tabName:e.blockTabName||"",section:e.blockSectionbName||""}},Ie={tabname:"",section:""};(0,ve.register)((0,ve.createReduxStore)("woolentor/block-tabs",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ie,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_BLOCK_TAB_NAME":return Ne(Ne({},e),{},{tabname:t.tabName});case"SET_BLOCK_SECTION_NAME":return Ne(Ne({},e),{},{section:t.section})}return e},actions:{setBlockTabName:function(e){return{type:"SET_BLOCK_TAB_NAME",tabName:e}},setBlockSectionName:function(e){return{type:"SET_BLOCK_SECTION_NAME",section:e}}},selectors:{getBlockTabName:function(e){return e.tabname},getBlockSectionName:function(e){return e.section}}}));const He=window.wp.blockEditor;var Fe=[{name:"general",title:(0,te.__)("Genaral","woolentor"),className:"woolentor-tab-menu-item general"},{name:"styles",title:(0,te.__)("Styles","woolentor"),className:"woolentor-tab-menu-item styles"},{name:"advanced",title:(0,te.__)("Advanced","woolentor"),className:"woolentor-tab-menu-item advanced"}],Ge=(0,oe.createSlotFill)("WoolentorGeneralInspectorTab"),De=Ge.Slot,qe=Ge.Fill,Ke=(0,oe.createSlotFill)("WoolentorStyleInspectorTab"),Ue=Ke.Slot,Qe=Ke.Fill,Ve=(0,oe.createSlotFill)("WoolentorAdvancedInspectorTab"),Ye=Ve.Slot,Ze=Ve.Fill,Je=function(e){var t=e.children;return(0,He.useBlockEditContext)().isSelected?React.createElement(qe,null,t):null},Xe=function(e){var t=e.children;return(0,He.useBlockEditContext)().isSelected?React.createElement(Qe,null,t):null},$e=function(e){var t=e.children;return(0,He.useBlockEditContext)().isSelected?React.createElement(Ze,null,t):null},et=function(e){var t=(0,He.useBlockEditContext)().clientId,o=Me(),r=Fe.filter((function(t){var o,r=t.name;return null===(o=e.tabs)||void 0===o?void 0:o.includes(r)})),n=o.tabName.includes(t)?o.tabName.replace(t,""):"";return React.createElement(He.InspectorControls,null,React.createElement("div",{className:"woolentor-panel-control"},React.createElement(oe.TabPanel,{className:"woolentor-tabs-menu",activeClass:"woolentor-tab-menu-active is-primary",onSelect:function(e){var o=(t+e).toLowerCase();(0,ve.dispatch)("woolentor/block-tabs").setBlockTabName(o)},initialTabName:n,tabs:r},(function(e){return React.createElement("div",{className:"woolentor-tab-controls ".concat(e.name)},"general"===e.name&&React.createElement(De,null),"styles"===e.name&&React.createElement(Ue,null),"advanced"===e.name&&React.createElement(Ye,null))}))))};et.defaultProps={tabs:["general","styles","advanced"]};const tt=(0,we.memo)(et);function ot(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function rt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ot(Object(o),!0).forEach((function(t){nt(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ot(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function nt(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function at(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var lt=[{name:"normal",title:(0,te.__)("Normal","woolentor")},{name:"hover",title:(0,te.__)("Hover","woolentor")},{name:"active",title:(0,te.__)("Active","woolentor")},{name:"focus",title:(0,te.__)("Focus","woolentor")}],it=function(e){var t=void 0===e.name?"":e.name,o=(t+e.defaultActive).toLowerCase(),r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a=[],_n=!0,l=!1;try{for(o=o.call(e);!(_n=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);_n=!0);}catch(e){l=!0,n=e}finally{try{_n||null==o.return||o.return()}finally{if(l)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return at(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?at(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,we.useState)(o),2),n=r[0],a=r[1],l=!1===e.overide?lt.filter((function(t){var o,r=t.name;return null===(o=e.tabs)||void 0===o?void 0:o.includes(r)})):e.tabs,i=we.Children.map(e.children,(function(e){if(!(0,we.isValidElement)(e))return e;var o=rt({},e.props),r=e.props.originalType||e.type,a=r.displayName||r.name,l=(t+e.props.name).toLowerCase();return"TabsContent"===a&&n===l?(0,we.cloneElement)(e,rt(rt({},o),{},{children:e.props.children})):void 0}));return React.createElement("div",{className:"woolentor-tabs-menu-group"},React.createElement(oe.ButtonGroup,{className:"woolentor-tabs-menu-btn-group"},l.map((function(e){return React.createElement(oe.Button,{className:n===(t+e.name).toLowerCase()?"woolentor-elements-tab-menu-item tab-menu-active":"woolentor-elements-tab-menu-item",isPrimary:n===(t+e.name).toLowerCase(),isSecondary:!n===(t+e.name).toLowerCase(),onClick:function(){return o=e.name,r=(t+o).toLowerCase(),void a(r);var o,r}},e.title)}))),i)};it.defaultProps={name:void 0,tabs:["normal","hover"],defaultActive:"normal",overide:!1};const ct=(0,we.memo)(it);var ut=o(184),st=o.n(ut),dt=function(e){var t=st()(["woolentor-control","woolentor-tabs-content",e.className]);return React.createElement("div",{className:t},e.children)};dt.defaultProps={className:""},dt.displayName="TabsContent";const mt=dt;var pt=function(e){var t=e.title,o=e.initialOpen,r=(0,He.useBlockEditContext)().clientId,n=Me(),a=(r+n.tabName+t).toLowerCase(),l=e.panelName?e.panelName:a,i=!!o||l===n.section;return React.createElement(oe.PanelBody,{title:t,onToggle:function(){return e=l,void(0,ve.dispatch)("woolentor/block-tabs").setBlockSectionName(e);var e},initialOpen:i},e.children)};pt.defaultProps={title:"",panelName:!1,initialOpen:!1};const ft=(0,we.memo)(pt);var gt=function(){return(0,ve.useSelect)((function(e){return{deviceType:e("core/edit-post")?e("core/edit-post").__experimentalGetPreviewDeviceType():e("woolentor/device-type").getDeviceType()}}),[]).deviceType||""};function bt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a=[],_n=!0,l=!1;try{for(o=o.call(e);!(_n=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);_n=!0);}catch(e){l=!0,n=e}finally{try{_n||null==o.return||o.return()}finally{if(l)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return yt(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?yt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yt(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}(0,ve.register)((0,ve.createReduxStore)("woolentor/device-type",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Desktop",t=arguments.length>1?arguments[1]:void 0;return"SET_DEVICE_TYPE"===t.type?t.deviceType:e},actions:{setDeviceType:function(e){return{type:"SET_DEVICE_TYPE",deviceType:e}}},selectors:{getDeviceType:function(e){return e}}}));var _t={desktop:"Desktop",tablet:"Tablet",mobile:"Mobile"},Rt=[{label:(0,te.__)("Desktop","woolentor"),value:"desktop",icon:(0,te.__)(React.createElement(oe.Dashicon,{icon:"desktop"}))},{label:(0,te.__)("Tablet","woolentor"),value:"tablet",icon:(0,te.__)(React.createElement(oe.Dashicon,{icon:"tablet"}))},{label:(0,te.__)("Mobile","woolentor"),value:"mobile",icon:(0,te.__)(React.createElement(oe.Dashicon,{icon:"smartphone"}))}],ht=function(e){var t=gt(),o=t.toLowerCase(),r="all"===e.responsive?Rt:Rt.filter((function(t){var o,r=t.value;return null===(o=e.screens)||void 0===o?void 0:o.includes(r)})),n=bt((0,we.useState)(!1),2),a=n[0],l=n[1],i=bt((0,we.useState)(!1),2),c=i[0],u=i[1],s=(0,we.useRef)(null),d=(0,we.useMemo)((function(){return r.findIndex((function(e){return e.value===o}))/r.length*100}),[r,o]);if(r<=1)return null;if(!t)return null;var m=(0,we.useCallback)((function(e){var t;a&&(null===(t=e.target)||void 0===t?void 0:t.closest(".woolentor-responsive-switcher-button-area"))!==s.current&&l(!1)}));return(0,we.useEffect)((function(){return document.body.addEventListener("click",m),function(){return document.body.removeEventListener("click",m)}}),[m]),React.createElement("div",{className:"woolentor-responsive-switcher-button-area ".concat(1==a?"open-switcher":""),ref:s},React.createElement("div",{className:"woolentor-responsive-switcher-button",style:{transform:"translateY(-".concat(d,"%)")}},r.length>1&&r.map((function(e,t){var r=e.label||e.value,n=r||"";return React.createElement("div",{key:t,onMouseEnter:function(){u(e.value)},onMouseLeave:function(){u(!1)}},React.createElement(oe.Button,{className:o===e.value?"device-selected":"",variant:"desktop"!==o&&(o!==e.value?"secondary":"primary"),onClick:function(){l(!a),function(e){(0,ve.dispatch)("core/edit-post")?(0,ve.dispatch)("core/edit-post").__experimentalSetPreviewDeviceType(_t[e]):(0,ve.dispatch)("woolentor/device-type").setDeviceType(_t[e])}(e.value)},icon:e.icon,showTooltip:!1,label:r},e.icon?void 0:r),n&&c===e.value&&React.createElement(oe.Popover,{focusOnMount:!1,position:"middle right",className:"components-tooltip","aria-hidden":"true"},n))}))))};ht.defaultProps={screens:["desktop"],responsive:!1};const wt=(0,we.memo)(ht);var Et=["desktop","tablet","mobile"],vt=function(e){var t,o=st()(["woolentor-control","woolentor-field-section",e.className]),r=e.label?e.label:"",n=!(null===(t=e.responsive)||void 0===t||!t.length),a="all"===e.responsive?Et:e.responsive;return React.createElement("div",{className:o},React.createElement("div",{className:"woolentor-field-label"},r&&React.createElement("label",null,r),n&&React.createElement(wt,{screens:a})),React.createElement("div",{className:"woolentor-field-wrap"},e.children))};vt.defaultProps={className:"",label:"",responsive:!1};const Ot=vt;function Pt(){return Pt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Pt.apply(this,arguments)}var Ct=(0,we.forwardRef)((function(e,t){var o=st()([e.className,"woolentor-button-component"]);return React.createElement(oe.Button,Pt({},e,{className:o,ref:t}))})),Bt=React.createElement(oe.Dashicon,{icon:"image-rotate"}),kt=(0,we.memo)((function(e){var t=null!==e.showReset?e.showReset:void 0!==e.value&&e.value!==e.default&&e.value!==e.placeholder,o=(0,we.useCallback)((function(){e.onChange(void 0===e.default?"":e.default)}),[e.onChange,e.default]);return e.allowReset&&t&&React.createElement(Ct,{className:"woolentor-control__reset-button",isSmall:!0,isTertiary:!0,"aria-label":(0,te.__)("Reset","woolentor"),onClick:o,icon:Bt})}));kt.defaultProps={allowReset:!0,showReset:null,value:"",default:"",onChange:null};const At=function(e){var t=e.label;return React.createElement("div",{className:"woolentor-control-section-title-area"},React.createElement("span",{className:"woolentor-control-section-title"},t),React.createElement("hr",null))};function Tt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Wt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Tt(Object(o),!0).forEach((function(t){St(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Tt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function St(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var xt=function(e){var t=gt().toLowerCase(),o=e.setAttributes,r=e.lavel,n=e.dimensions,a=e.attributesKey,l=function(r,l){var i,c,u,s,d,m,p=Wt({},n),f=e.responsive?(null===(i=p[t])||void 0===i?void 0:i.link)||"yes":(null==p?void 0:p.link)||"yes",g=e.responsive?(null===(c=p[t])||void 0===c?void 0:c.unit)||"px":(null==p?void 0:p.unit)||"px";e.responsive?p[t]="yes"===f?{top:r,right:r,bottom:r,left:r,link:"yes",unit:g}:St({top:(null===(u=p[t])||void 0===u?void 0:u.top)||"0",right:(null===(s=p[t])||void 0===s?void 0:s.right)||"0",bottom:(null===(d=p[t])||void 0===d?void 0:d.bottom)||"0",left:(null===(m=p[t])||void 0===m?void 0:m.left)||"0",link:"no",unit:g},l,r):"yes"===f?(p.top=r,p.right=r,p.bottom=r,p.left=r,p.link="yes"):(p.top=(null==p?void 0:p.top)||"0",p.right=(null==p?void 0:p.right)||"0",p.bottom=(null==p?void 0:p.bottom)||"0",p.left=(null==p?void 0:p.left)||"0",p.link="no",p[l]=r),o(St({},a,p))},i=function(r){var l=Wt({},n),i=r.target.getAttribute("data-value");e.responsive?l.hasOwnProperty(t)?l[t].unit=i:l[t]={unit:i}:l.unit=i,o(St({},a,l))},c=n.hasOwnProperty(t)?n[t].top:n.top?n.top:"",u=n.hasOwnProperty(t)?n[t].right:n.right?n.right:"",s=n.hasOwnProperty(t)?n[t].bottom:n.bottom?n.bottom:"",d=n.hasOwnProperty(t)?n[t].left:n.left?n.left:"",m=n.hasOwnProperty(t)?n[t].unit:n.unit?n.unit:"px",p=n.hasOwnProperty(t)?n[t].link:n.link?n.link:"yes";return React.createElement(we.Fragment,null,React.createElement("div",{className:"wp-block-selector-woolentor-dimensions-control"},React.createElement(oe.PanelRow,{className:"woolentor-panel-row-height-auto",style:{minHeight:"auto"}},React.createElement("label",{className:"woolentor-control-title"},r),e.responsive&&React.createElement(wt,{responsive:"all"}),React.createElement("div",{className:"woolentor-units-choices"},React.createElement("span",{className:"px"===m&&"unit-active","data-value":"px",onClick:i},(0,te.__)("PX","woolentor")),React.createElement("span",{className:"%"===m&&"unit-active","data-value":"%",onClick:i},(0,te.__)("%","woolentor")),React.createElement("span",{className:"em"===m&&"unit-active","data-value":"em",onClick:i},(0,te.__)("EM","woolentor")))),React.createElement(oe.PanelRow,null,React.createElement(oe.__experimentalNumberControl,{label:(0,te.__)("Top","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return l(e,"top")},shiftStep:10,value:c,labelPosition:"bottom"}),React.createElement(oe.__experimentalNumberControl,{label:(0,te.__)("Right","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return l(e,"right")},shiftStep:10,value:u,labelPosition:"bottom"}),React.createElement(oe.__experimentalNumberControl,{label:(0,te.__)("Bottom","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return l(e,"bottom")},shiftStep:10,value:s,labelPosition:"bottom"}),React.createElement(oe.__experimentalNumberControl,{label:(0,te.__)("Left","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return l(e,"left")},shiftStep:10,value:d,labelPosition:"bottom"}),React.createElement(oe.Button,{icon:"admin-links",value:"yes",isPrimary:"yes"===p,isSecondary:"yes"!==p,onClick:function(){var r=Wt({},n);e.responsive?r.hasOwnProperty(t)?r[t].link="yes"===r[t].link?"no":"yes":r[t]={link:"no"}:r.link="yes"===r.link?"no":"yes",o(St({},a,r))},title:(0,te.__)("Link values together","woolentor"),showTooltip:!0}))))};xt.defaultProps={dimensions:{top:"",right:"",bottom:"",left:"",unit:"px",link:"yes"}};const zt=xt;var Lt=function(e){return(0,ve.useSelect)((function(t){return t("core/block-editor").getBlockAttributes(e)||{}}),[e])};function Nt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function jt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Nt(Object(o),!0).forEach((function(t){Mt(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Nt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Mt(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var It=function(e,t,o){var r=jt({},t);return r[o]=e,r},Ht=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,n=(0,He.useBlockEditContext)(),a=n.clientId,l=(0,ve.useDispatch)("core/block-editor"),i=l.updateBlockAttributes,c=Lt(a),u=e,s=c?c[u]:"",d=c?c[u]:"";if(null!==t){var m=jt({},c[u]);m.hasOwnProperty(t)&&(s=c?c[u][t]:"",d=c?c[u][t]:"")}o&&(d=o(d));var p=(0,we.useCallback)((function(e){var o=r?r(e,s):null!==t?It(e,c[u],t):e;i(a,Mt({},u,o))}),[a,u,c,r,s,i]);return[d,p]};function Ft(){return Ft=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ft.apply(this,arguments)}function Gt(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var Dt=function(e){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a=[],_n=!0,l=!1;try{for(o=o.call(e);!(_n=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);_n=!0);}catch(e){l=!0,n=e}finally{try{_n||null==o.return||o.return()}finally{if(l)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Gt(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Gt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Ht(e.attribute,null,e.valueCallback,e.changeCallback),2),o=t[0],r=t[1],n=void 0===e.value?o:e.value,a=void 0===e.onChange?r:e.onChange;return React.createElement("div",{className:st()("woolentor-promoted-token-field woolentor-field-section",e.className)},React.createElement(oe.FormTokenField,Ft({},e,{value:n,onChange:a})),React.createElement(kt,{allowReset:e.allowReset,value:n,default:e.default,onChange:a}))};Dt.defaultProps={className:"",allowReset:!0,default:"",attribute:"",value:void 0,onChange:void 0};const qt=Dt,Kt=window.lodash;function Ut(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var Qt=function(e){var t=e.type,o=e.taxonomy,r=e.label,n=e.onChangeTaxonomy,a=e.taxnomiesList,l=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a=[],_n=!0,l=!1;try{for(o=o.call(e);!(_n=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);_n=!0);}catch(e){l=!0,n=e}finally{try{_n||null==o.return||o.return()}finally{if(l)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ut(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Ut(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,we.useState)([]),2),i=l[0],c=l[1];(0,we.useEffect)((function(){var e=[];a&&a.forEach((function(t,o){e.push({label:t.name,name:t.name,slug:t.slug,value:t.id})})),c(e)}),[a]);var u=i.map((function(e){return e.name})),s=""!==o?o.split(",").map((function(e){return((0,Kt.find)(i,(function(t){return t.value===parseInt(e)}))||{}).name})):void 0;return React.createElement("div",{className:"woolentor-component-taxonomy-area"},i.length>0?"single"==t?React.createElement(oe.SelectControl,{label:r,value:o,options:i,onChange:function(e){return n(e)}}):React.createElement(qt,{suggestions:u,value:s,label:r,onChange:function(e){var t,o=null==e||null===(t=e.map)||void 0===t?void 0:t.call(e,(function(e){return((0,Kt.find)(i||[],(function(t){return t.name===e}))||{}).value}));n((0,Kt.compact)(o||[]).join(","))}}):React.createElement(oe.Spinner,null))};function Vt(e){return Vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vt(e)}function Yt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Zt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Yt(Object(o),!0).forEach((function(t){Jt(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Yt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Jt(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Xt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $t(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function eo(e,t){return eo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},eo(e,t)}function to(e,t){if(t&&("object"===Vt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function oo(e){return oo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},oo(e)}Qt.defaultProps={taxonomy:"",label:"Category",onChangeTaxonomy:function(){},allowReset:!1},(0,Ee.compose)([(0,ve.withSelect)((function(e,t){return{taxnomiesList:(0,e("core").getEntityRecords)("taxonomy",t.taxonomykey?t.taxonomykey:"product_cat",{orderby:"name",order:"asc",hide_empty:!0})}}))])(Qt);var ro=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&eo(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=oo(r);if(n){var o=oo(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return to(this,e)});function l(){return Xt(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.setAttributes,o=e.title,r=e.ImageData,n=e.attributesKey,a=e.uploadImage,l=["image","png"],i=React.createElement("p",null,(0,te.__)("To edit the banner image, you need permission to upload media.","woolentor")),c=function(e){var o=Zt({},r);o.id=e.id,o.url=e.url,t(Jt({},n,o))};return React.createElement(we.Fragment,null,React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement("h3",null,o),React.createElement(He.MediaUploadCheck,{fallback:i},React.createElement(He.MediaUpload,{title:o,onSelect:c,allowedTypes:l,value:r.id,render:function(e){var t=e.open;return React.createElement(oe.Button,{className:r.id?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:t},!r.id&&(0,te.__)("Set ","woolentor")+o,!!r.id&&!a&&React.createElement(oe.Spinner,null),!!r.id&&a&&React.createElement("img",{src:a.source_url,alt:o}))}})),!!r.id&&a&&React.createElement(He.MediaUploadCheck,null,React.createElement(He.MediaUpload,{title:o,onSelect:c,allowedTypes:l,value:r.id,render:function(e){var t=e.open;return React.createElement(oe.Button,{onClick:t,variant:"secondary"},(0,te.__)("Replace image","woolentor"))}})),!!r.id&&React.createElement(He.MediaUploadCheck,null,React.createElement(oe.Button,{onClick:function(){var e=Zt({},r);e.id=void 0,e.url=void 0,t(Jt({},n,e))},isLink:!0,isDestructive:!0},(0,te.__)("Remove image","woolentor")))))}}],o&&$t(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const no=(0,Ee.compose)((0,ve.withSelect)((function(e,t){var o=e("core").getMedia,r=t.ImageData;return{uploadImage:r.id?o(r.id):null}})))(ro);function ao(e){return ao="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ao(e)}function lo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function io(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?lo(Object(o),!0).forEach((function(t){co(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):lo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function co(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function uo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function so(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mo(e,t){return mo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},mo(e,t)}function po(e,t){if(t&&("object"===ao(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function fo(e){return fo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},fo(e)}var go=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&mo(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=fo(r);if(n){var o=fo(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return po(this,e)});function l(){return uo(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.setAttributes,o=e.title,r=e.bgProperty,n=e.attributesKey,a=e.uploadImage,l=function(e,o){var a=io({},r);a[o]=e,t(co({},n,a))},i=["image","png"],c=React.createElement("p",null,(0,te.__)("To edit the banner image, you need permission to upload media.","woolentor")),u=function(e){var o=io({},r);o.imageId=e.id,o.imageUrl=e.url,t(co({},n,o))};return React.createElement(we.Fragment,null,React.createElement("div",{className:"wp-block-selector-woolentor-background-control"},o&&React.createElement("h3",null,o),React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement(He.MediaUploadCheck,{fallback:c},React.createElement(He.MediaUpload,{title:o,onSelect:u,allowedTypes:i,value:r.imageId,render:function(e){var t=e.open;return React.createElement(oe.Button,{className:r.imageId?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:t},!r.imageId&&(0,te.__)("Set ","woolentor")+o,!!r.imageId&&!a&&React.createElement(oe.Spinner,null),!!r.imageId&&a&&React.createElement("img",{src:a.source_url,alt:o}))}})),!!r.imageId&&a&&React.createElement(He.MediaUploadCheck,null,React.createElement(He.MediaUpload,{title:o,onSelect:u,allowedTypes:i,value:r.imageId,render:function(e){var t=e.open;return React.createElement(oe.Button,{onClick:t,variant:"secondary"},(0,te.__)("Replace image","woolentor"))}})),!!r.imageId&&React.createElement(He.MediaUploadCheck,null,React.createElement(oe.Button,{onClick:function(){var e=io({},r);e.imageId=void 0,e.imageUrl=void 0,t(co({},n,e))},isLink:!0,isDestructive:!0},(0,te.__)("Remove image","woolentor")))),React.createElement(oe.SelectControl,{label:(0,te.__)("Position","woolentor"),labelPosition:"side",value:r.position,options:[{label:(0,te.__)("Default","woolentor"),value:""},{label:(0,te.__)("Center Center","woolentor"),value:"center center"},{label:(0,te.__)("Center Left","woolentor"),value:"center left"},{label:(0,te.__)("Center Right","woolentor"),value:"center right"},{label:(0,te.__)("Top Center","woolentor"),value:"top center"},{label:(0,te.__)("Top Left","woolentor"),value:"top left"},{label:(0,te.__)("Top Right","woolentor"),value:"top right"},{label:(0,te.__)("Bottom Center","woolentor"),value:"bottom center"},{label:(0,te.__)("Bottom Left","woolentor"),value:"bottom left"},{label:(0,te.__)("Bottom Right","woolentor"),value:"bottom right"}],onChange:function(e){return l(e,"position")}}),React.createElement(oe.SelectControl,{label:(0,te.__)("Attachment","woolentor"),labelPosition:"side",value:r.attachment,options:[{label:(0,te.__)("Default","woolentor"),value:""},{label:(0,te.__)("Scroll","woolentor"),value:"scroll"},{label:(0,te.__)("Fixed","woolentor"),value:"fixed"}],onChange:function(e){return l(e,"attachment")}}),React.createElement(oe.SelectControl,{label:(0,te.__)("Repeat","woolentor"),labelPosition:"side",value:r.repeat,options:[{label:(0,te.__)("Default","woolentor"),value:""},{label:(0,te.__)("No-repeat","woolentor"),value:"no-repeat"},{label:(0,te.__)("Repeat","woolentor"),value:"repeat"},{label:(0,te.__)("Repeat-x","woolentor"),value:"repeat-x"},{label:(0,te.__)("Repeat-y","woolentor"),value:"repeat-y"}],onChange:function(e){return l(e,"repeat")}}),React.createElement(oe.SelectControl,{label:(0,te.__)("Size","woolentor"),labelPosition:"side",value:r.size,options:[{label:(0,te.__)("Default","woolentor"),value:""},{label:(0,te.__)("Auto","woolentor"),value:"auto"},{label:(0,te.__)("Cover","woolentor"),value:"cover"},{label:(0,te.__)("Contain","woolentor"),value:"contain"}],onChange:function(e){return l(e,"size")}})))}}],o&&so(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const bo=(0,Ee.compose)((0,ve.withSelect)((function(e,t){var o=e("core").getMedia,r=t.bgProperty;return{uploadImage:r.imageId?o(r.imageId):null}})))(go);function yo(){return yo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},yo.apply(this,arguments)}function _o(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Ro(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?_o(Object(o),!0).forEach((function(t){ho(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):_o(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function ho(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function wo(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var Eo={align:[{value:"left",title:(0,te.__)("Align Left","woolentor"),icon:(0,te.__)(React.createElement(oe.Dashicon,{icon:"editor-alignleft"}))},{value:"center",title:(0,te.__)("Align Center","woolentor"),icon:(0,te.__)(React.createElement(oe.Dashicon,{icon:"editor-aligncenter"}))},{value:"right",title:(0,te.__)("Align Right","woolentor"),icon:(0,te.__)(React.createElement(oe.Dashicon,{icon:"editor-alignright"}))},{value:"justify",title:(0,te.__)("Align Justify","woolentor"),icon:(0,te.__)(React.createElement(oe.Dashicon,{icon:"editor-justify"}))}],"flex-horizontal":[{value:"flex-start",title:(0,te.__)("Align Left","woolentor"),icon:(0,te.__)(React.createElement(oe.Dashicon,{icon:"align-pull-left"}))},{value:"center",title:(0,te.__)("Align Center","woolentor"),icon:(0,te.__)(React.createElement(oe.Dashicon,{icon:"align-center"}))},{value:"flex-end",title:(0,te.__)("Align Right","woolentor"),icon:(0,te.__)(React.createElement(oe.Dashicon,{icon:"align-pull-right"}))}]},vo=function(e){var t=e.options,o=e.justified,r="string"==typeof t?Eo[t]:t,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a=[],_n=!0,l=!1;try{for(o=o.call(e);!(_n=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);_n=!0);}catch(e){l=!0,n=e}finally{try{_n||null==o.return||o.return()}finally{if(l)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return wo(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?wo(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Ht(e.attribute,e.valueCallback,e.changeCallback),2),a=n[0],l=n[1],i=void 0===e.label?"":e.label,c=void 0===e.value?a:e.value,u=void 0===e.onChange?l:e.onChange;return React.createElement("div",{className:"woolentor-field-section"},""!==i&&React.createElement("label",null,i),React.createElement("div",{className:"woolentor-field-wrap"},React.createElement(oe.ButtonGroup,{children:r.filter((function(e){return!!o||"justify"!==e.value})).map((function(t,o){var r=Ro(Ro({},(0,Kt.omit)(t,"controls","show")),{},{onClick:function(){e.isToggleOnly&&t.value===c||u(t.value!==c?t.value:"")},variant:c!==t.value?"secondary":"primary",isSmall:e.isSmall,children:t.icon?null:t.custom||React.createElement("span",{className:"woolentor-toolbar-control__text-button"},t.title)});return React.createElement(oe.Button,yo({key:o},r))})),className:"woolentor-alignment-btn-group"})),React.createElement(kt,{allowReset:e.allowReset,showReset:e.showReset,value:c,default:e.default,onChange:u}))};function Oo(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}vo.defaultProps={isSmall:!1,isToggleOnly:!1,options:"align",default:"",allowReset:!0,showReset:!1,attribute:"",justified:!1,label:void 0,value:void 0,onChange:void 0};var Po=function(e){!function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(e);var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a=[],_n=!0,l=!1;try{for(o=o.call(e);!(_n=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);_n=!0);}catch(e){l=!0,n=e}finally{try{_n||null==o.return||o.return()}finally{if(l)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Oo(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Oo(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Ht(e.attribute,e.valueCallback,e.changeCallback),2),o=t[0],r=t[1],n=void 0===e.value?o:e.value,a=void 0===e.onChange?r:e.onChange;return React.createElement(He.AlignmentToolbar,{value:n,onChange:function(e){return a(e)}})};Po.defaultProps={attribute:"",value:void 0,onChange:void 0};var Co=function(){return null};function Bo(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}Co.InspectorControls=vo,Co.BlockControls=Po;var ko=function(e){var t=gt(),o=e.responsive?t.toLowerCase():null,r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a=[],_n=!0,l=!1;try{for(o=o.call(e);!(_n=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);_n=!0);}catch(e){l=!0,n=e}finally{try{_n||null==o.return||o.return()}finally{if(l)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Bo(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Bo(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Ht(e.attribute,o,e.valueCallback,e.changeCallback),2),n=r[0],a=r[1],l=void 0===e.label?"":e.label,i=void 0===e.value?n:e.value,c=void 0===e.onChange?a:e.onChange;return React.createElement(we.Fragment,null,React.createElement(oe.PanelRow,{className:"woolentor-panel-row-height-auto woolentor-column-control",style:{minHeight:"auto"}},React.createElement("label",{className:"woolentor-control-title"},l),e.responsive&&React.createElement(wt,{responsive:"all"})),React.createElement(oe.RangeControl,{value:i,onChange:function(e){return c(e)},min:e.min,step:1,max:e.max,allowReset:e.allowReset}))};ko.defaultProps={allowReset:!1,min:0,max:6,attribute:"",label:void 0,value:void 0,onChange:void 0};const Ao=ko;function To(e){return To="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},To(e)}function Wo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function So(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xo(e,t){return xo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},xo(e,t)}function zo(e,t){if(t&&("object"===To(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Lo(e){return Lo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Lo(e)}var No=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&xo(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Lo(r);if(n){var o=Lo(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return zo(this,e)});function l(){return Wo(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.style,n=(t.columns,t.rows),a=t.productTab,l=t.slider,i=t.productFilterType,c=t.perPage,u=t.customOrder,s=t.orderBy,d=t.order,m=t.selectedCategories,p=t.slitems,f=t.slarrows,g=t.sldots,b=t.slpauseOnHover,y=t.slautolay,_=t.slautoplaySpeed,R=t.slanimationSpeed,h=t.slscrollItem,w=t.sltabletDisplayColumns,E=t.sltabletScrollColumns,v=t.sltabletWidth,O=t.slMobileDisplayColumns,P=t.slMobileScrollColumns,C=t.slMobileWidth;return React.createElement(we.Fragment,null,React.createElement(tt,null),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Layout","woolentor"),initialOpen:!0},React.createElement(oe.SelectControl,{label:(0,te.__)("Product Style","woolentor"),value:r,options:[{label:(0,te.__)("Style One","woolentor"),value:"1"},{label:(0,te.__)("Style Two","woolentor"),value:"2"},{label:(0,te.__)("Style Three","woolentor"),value:"3"}],onChange:function(e){return o({style:e})}}),React.createElement(Ao,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(oe.RangeControl,{label:(0,te.__)("Rows","woolentor"),value:n,onChange:function(e){return o({rows:e})},min:1,step:1,max:20}),React.createElement(Ot,{label:(0,te.__)("Tab","woolentor")},React.createElement(oe.ToggleControl,{checked:a,onChange:function(){return o({productTab:!a})}})),React.createElement(Ot,{label:(0,te.__)("Slider","woolentor")},React.createElement(oe.ToggleControl,{checked:l,onChange:function(){return o({slider:!l})}}))),React.createElement(ft,{title:(0,te.__)("Query Options","woolentor")},React.createElement(oe.SelectControl,{label:(0,te.__)("Filter By","woolentor"),value:i,options:[{label:(0,te.__)("Recent Products","woolentor"),value:"recent"},{label:(0,te.__)("Featured Products","woolentor"),value:"featured"},{label:(0,te.__)("Best Selling Products","woolentor"),value:"best_selling"},{label:(0,te.__)("Sale Products","woolentor"),value:"sale"},{label:(0,te.__)("Top Rated Products","woolentor"),value:"top_rated"},{label:(0,te.__)("Mixed order Products","woolentor"),value:"mixed_order"}],onChange:function(e){return o({productFilterType:e})}}),React.createElement(oe.RangeControl,{label:(0,te.__)("Number Of Products","woolentor"),value:c,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(Ot,{label:(0,te.__)("Custom Order","woolentor")},React.createElement(oe.ToggleControl,{checked:u,onChange:function(){return o({customOrder:!u})}})),React.createElement(ze,{title:(0,te.__)("Product Categories","woolentor"),attributesKey:"selectedCategories",setAttributes:o,selectedTaxonomies:m,type:"multiple"}),u?React.createElement(React.Fragment,null,React.createElement(oe.SelectControl,{label:(0,te.__)("Order","woolentor"),value:d,options:[{label:(0,te.__)("Descending","woolentor"),value:"DESC"},{label:(0,te.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(oe.SelectControl,{label:(0,te.__)("Orderby","woolentor"),value:s,options:[{label:(0,te.__)("None","woolentor"),value:"none"},{label:(0,te.__)("ID","woolentor"),value:"ID"},{label:(0,te.__)("Date","woolentor"),value:"date"},{label:(0,te.__)("Name","woolentor"),value:"name"},{label:(0,te.__)("Title","woolentor"),value:"title"},{label:(0,te.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,te.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}})):""),1==l&&React.createElement(ft,{title:(0,te.__)("Slider Options","woolentor")},React.createElement(oe.RangeControl,{label:(0,te.__)("Slider Items","woolentor"),value:p,onChange:function(e){return o({slitems:e})},min:1,step:1,max:10}),React.createElement(Ot,{label:(0,te.__)("Slider Arrow","woolentor")},React.createElement(oe.ToggleControl,{checked:f,onChange:function(){return o({slarrows:!f})}})),React.createElement(Ot,{label:(0,te.__)("Slider dots","woolentor")},React.createElement(oe.ToggleControl,{checked:g,onChange:function(){return o({sldots:!g})}})),React.createElement(Ot,{label:(0,te.__)("Pause on Hover?","woolentor")},React.createElement(oe.ToggleControl,{checked:b,onChange:function(){return o({slpauseOnHover:!b})}})),React.createElement(Ot,{label:(0,te.__)("Slider auto play","woolentor")},React.createElement(oe.ToggleControl,{checked:y,onChange:function(){return o({slautolay:!y})}})),React.createElement(oe.RangeControl,{label:(0,te.__)("Autoplay speed","woolentor"),value:_,onChange:function(e){return o({slautoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(oe.RangeControl,{label:(0,te.__)("Autoplay animation speed","woolentor"),value:R,onChange:function(e){return o({slanimationSpeed:e})},min:1,step:1,max:1e5}),React.createElement(oe.RangeControl,{label:(0,te.__)("Slider item to scroll","woolentor"),value:h,onChange:function(e){return o({slscrollItem:e})},min:1,step:1,max:1e5}),React.createElement("h3",null,(0,te.__)("Tablet Screen options","woolentor")),React.createElement(oe.RangeControl,{label:(0,te.__)("Slider Items","woolentor"),value:w,onChange:function(e){return o({sltabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(oe.RangeControl,{label:(0,te.__)("Slider item to scroll","woolentor"),value:E,onChange:function(e){return o({sltabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(oe.RangeControl,{label:(0,te.__)("Tablet Screen Resolution","woolentor"),value:v,onChange:function(e){return o({sltabletWidth:e})},min:1,step:1,max:1500}),React.createElement("h3",null,(0,te.__)("Mobile Phone Screen options","woolentor")),React.createElement(oe.RangeControl,{label:(0,te.__)("Slider Items","woolentor"),value:O,onChange:function(e){return o({slMobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(oe.RangeControl,{label:(0,te.__)("Slider item to scroll","woolentor"),value:P,onChange:function(e){return o({slMobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(oe.RangeControl,{label:(0,te.__)("Mobile Screen Resolution","woolentor"),value:C,onChange:function(e){return o({slMobileWidth:e})},min:1,step:1,max:1500}))),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Content","woolentor")},React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"contentAlign",justified:!0})),React.createElement(ft,{title:(0,te.__)("Title","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Hover Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}})),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"titleAlign",justified:!0})),React.createElement(ft,{title:(0,te.__)("Price","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}}))),React.createElement(ft,{title:(0,te.__)("Action Button","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.actionBtnColor,onChange:function(e){return o({actionBtnColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.actionBtnBgColor,onChange:function(e){return o({actionBtnBgColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Hover Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.actionBtnHoverColor,onChange:function(e){return o({actionBtnHoverColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Hover Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.actionBtnHoverBgColor,onChange:function(e){return o({actionBtnHoverBgColor:e})}})))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],o&&So(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const jo=No;function Mo(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return void 0!==e&&""!=e?"".concat(t,": ").concat(e).concat(o,";"):""}function Io(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=e||{},n="";if(""!=r.top||""!=r.right||""!=r.bottom||""!=r.left){var a=r.unit?r.unit:"px";n=(r.top||0)+a+" "+(r.right||0)+a+" "+(r.bottom||0)+a+" "+(r.left||0)+a}var l=Mo(n,t,o);return""!=l?l:""}function Ho(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e||{},r="";return o.imageUrl&&(r+=Mo("url("+o.imageUrl+")","background-image",t)),o.position&&(r+=Mo(o.position,"background-position",t)),o.attachment&&(r+=Mo(o.attachment,"background-attachment",t)),o.repeat&&(r+=Mo(o.repeat,"background-repeat",t)),o.size&&(r+=Mo(o.size,"background-size",t)),r}const Fo=window.wp.apiFetch;var Go=o.n(Fo);const Do=window.wp.url;var qo=o(66),Ko=o(864),Uo=o(196),Qo=o.n(Uo),Vo=o(774),Yo=o.n(Vo);const Zo=function(e){function t(e,r,c,u,m){for(var p,f,g,b,h,E=0,v=0,O=0,P=0,C=0,S=0,z=g=p=0,N=0,j=0,M=0,I=0,H=c.length,F=H-1,G="",D="",q="",K="";N<H;){if(f=c.charCodeAt(N),N===F&&0!==v+P+O+E&&(0!==v&&(f=47===v?10:47),P=O=E=0,H++,F++),0===v+P+O+E){if(N===F&&(0<j&&(G=G.replace(d,"")),0<G.trim().length)){switch(f){case 32:case 9:case 59:case 13:case 10:break;default:G+=c.charAt(N)}f=59}switch(f){case 123:for(p=(G=G.trim()).charCodeAt(0),g=1,I=++N;N<H;){switch(f=c.charCodeAt(N)){case 123:g++;break;case 125:g--;break;case 47:switch(f=c.charCodeAt(N+1)){case 42:case 47:e:{for(z=N+1;z<F;++z)switch(c.charCodeAt(z)){case 47:if(42===f&&42===c.charCodeAt(z-1)&&N+2!==z){N=z+1;break e}break;case 10:if(47===f){N=z+1;break e}}N=z}}break;case 91:f++;case 40:f++;case 34:case 39:for(;N++<F&&c.charCodeAt(N)!==f;);}if(0===g)break;N++}if(g=c.substring(I,N),0===p&&(p=(G=G.replace(s,"").trim()).charCodeAt(0)),64===p){switch(0<j&&(G=G.replace(d,"")),f=G.charCodeAt(1)){case 100:case 109:case 115:case 45:j=r;break;default:j=W}if(I=(g=t(r,j,g,f,m+1)).length,0<x&&(h=i(3,g,j=o(W,G,M),r,k,B,I,f,m,u),G=j.join(""),void 0!==h&&0===(I=(g=h.trim()).length)&&(f=0,g="")),0<I)switch(f){case 115:G=G.replace(w,l);case 100:case 109:case 45:g=G+"{"+g+"}";break;case 107:g=(G=G.replace(y,"$1 $2"))+"{"+g+"}",g=1===T||2===T&&a("@"+g,3)?"@-webkit-"+g+"@"+g:"@"+g;break;default:g=G+g,112===u&&(D+=g,g="")}else g=""}else g=t(r,o(r,G,M),g,u,m+1);q+=g,g=M=j=z=p=0,G="",f=c.charCodeAt(++N);break;case 125:case 59:if(1<(I=(G=(0<j?G.replace(d,""):G).trim()).length))switch(0===z&&(p=G.charCodeAt(0),45===p||96<p&&123>p)&&(I=(G=G.replace(" ",":")).length),0<x&&void 0!==(h=i(1,G,r,e,k,B,D.length,u,m,u))&&0===(I=(G=h.trim()).length)&&(G="\0\0"),p=G.charCodeAt(0),f=G.charCodeAt(1),p){case 0:break;case 64:if(105===f||99===f){K+=G+c.charAt(N);break}default:58!==G.charCodeAt(I-1)&&(D+=n(G,p,f,G.charCodeAt(2)))}M=j=z=p=0,G="",f=c.charCodeAt(++N)}}switch(f){case 13:case 10:47===v?v=0:0===1+p&&107!==u&&0<G.length&&(j=1,G+="\0"),0<x*L&&i(0,G,r,e,k,B,D.length,u,m,u),B=1,k++;break;case 59:case 125:if(0===v+P+O+E){B++;break}default:switch(B++,b=c.charAt(N),f){case 9:case 32:if(0===P+E+v)switch(C){case 44:case 58:case 9:case 32:b="";break;default:32!==f&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===P+v+E&&(j=M=1,b="\f"+b);break;case 108:if(0===P+v+E+A&&0<z)switch(N-z){case 2:112===C&&58===c.charCodeAt(N-3)&&(A=C);case 8:111===S&&(A=S)}break;case 58:0===P+v+E&&(z=N);break;case 44:0===v+O+P+E&&(j=1,b+="\r");break;case 34:case 39:0===v&&(P=P===f?0:0===P?f:P);break;case 91:0===P+v+O&&E++;break;case 93:0===P+v+O&&E--;break;case 41:0===P+v+E&&O--;break;case 40:0===P+v+E&&(0===p&&(2*C+3*S==533||(p=1)),O++);break;case 64:0===v+O+P+E+z+g&&(g=1);break;case 42:case 47:if(!(0<P+E+O))switch(v){case 0:switch(2*f+3*c.charCodeAt(N+1)){case 235:v=47;break;case 220:I=N,v=42}break;case 42:47===f&&42===C&&I+2!==N&&(33===c.charCodeAt(I+2)&&(D+=c.substring(I,N+1)),b="",v=0)}}0===v&&(G+=b)}S=C,C=f,N++}if(0<(I=D.length)){if(j=r,0<x&&void 0!==(h=i(2,D,j,e,k,B,I,u,m,u))&&0===(D=h).length)return K+D+q;if(D=j.join(",")+"{"+D+"}",0!=T*A){switch(2!==T||a(D,2)||(A=0),A){case 111:D=D.replace(R,":-moz-$1")+D;break;case 112:D=D.replace(_,"::-webkit-input-$1")+D.replace(_,"::-moz-$1")+D.replace(_,":-ms-input-$1")+D}A=0}}return K+D+q}function o(e,t,o){var n=t.trim().split(g);t=n;var a=n.length,l=e.length;switch(l){case 0:case 1:var i=0;for(e=0===l?"":e[0]+" ";i<a;++i)t[i]=r(e,t[i],o).trim();break;default:var c=i=0;for(t=[];i<a;++i)for(var u=0;u<l;++u)t[c++]=r(e[u]+" ",n[i],o).trim()}return t}function r(e,t,o){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(b,"$1"+e.trim());case 58:return e.trim()+t.replace(b,"$1"+e.trim());default:if(0<1*o&&0<t.indexOf("\f"))return t.replace(b,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function n(e,t,o,r){var l=e+";",i=2*t+3*o+4*r;if(944===i){e=l.indexOf(":",9)+1;var c=l.substring(e,l.length-1).trim();return c=l.substring(0,e).trim()+c+";",1===T||2===T&&a(c,1)?"-webkit-"+c+c:c}if(0===T||2===T&&!a(l,1))return l;switch(i){case 1015:return 97===l.charCodeAt(10)?"-webkit-"+l+l:l;case 951:return 116===l.charCodeAt(3)?"-webkit-"+l+l:l;case 963:return 110===l.charCodeAt(5)?"-webkit-"+l+l:l;case 1009:if(100!==l.charCodeAt(4))break;case 969:case 942:return"-webkit-"+l+l;case 978:return"-webkit-"+l+"-moz-"+l+l;case 1019:case 983:return"-webkit-"+l+"-moz-"+l+"-ms-"+l+l;case 883:if(45===l.charCodeAt(8))return"-webkit-"+l+l;if(0<l.indexOf("image-set(",11))return l.replace(C,"$1-webkit-$2")+l;break;case 932:if(45===l.charCodeAt(4))switch(l.charCodeAt(5)){case 103:return"-webkit-box-"+l.replace("-grow","")+"-webkit-"+l+"-ms-"+l.replace("grow","positive")+l;case 115:return"-webkit-"+l+"-ms-"+l.replace("shrink","negative")+l;case 98:return"-webkit-"+l+"-ms-"+l.replace("basis","preferred-size")+l}return"-webkit-"+l+"-ms-"+l+l;case 964:return"-webkit-"+l+"-ms-flex-"+l+l;case 1023:if(99!==l.charCodeAt(8))break;return"-webkit-box-pack"+(c=l.substring(l.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+l+"-ms-flex-pack"+c+l;case 1005:return p.test(l)?l.replace(m,":-webkit-")+l.replace(m,":-moz-")+l:l;case 1e3:switch(t=(c=l.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=l.replace(h,"tb");break;case 232:c=l.replace(h,"tb-rl");break;case 220:c=l.replace(h,"lr");break;default:return l}return"-webkit-"+l+"-ms-"+c+l;case 1017:if(-1===l.indexOf("sticky",9))break;case 975:switch(t=(l=e).length-10,i=(c=(33===l.charCodeAt(t)?l.substring(0,t):l).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:l=l.replace(c,"-webkit-"+c)+";"+l;break;case 207:case 102:l=l.replace(c,"-webkit-"+(102<i?"inline-":"")+"box")+";"+l.replace(c,"-webkit-"+c)+";"+l.replace(c,"-ms-"+c+"box")+";"+l}return l+";";case 938:if(45===l.charCodeAt(5))switch(l.charCodeAt(6)){case 105:return c=l.replace("-items",""),"-webkit-"+l+"-webkit-box-"+c+"-ms-flex-"+c+l;case 115:return"-webkit-"+l+"-ms-flex-item-"+l.replace(v,"")+l;default:return"-webkit-"+l+"-ms-flex-line-pack"+l.replace("align-content","").replace(v,"")+l}break;case 973:case 989:if(45!==l.charCodeAt(3)||122===l.charCodeAt(4))break;case 931:case 953:if(!0===P.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?n(e.replace("stretch","fill-available"),t,o,r).replace(":fill-available",":stretch"):l.replace(c,"-webkit-"+c)+l.replace(c,"-moz-"+c.replace("fill-",""))+l;break;case 962:if(l="-webkit-"+l+(102===l.charCodeAt(5)?"-ms-"+l:"")+l,211===o+r&&105===l.charCodeAt(13)&&0<l.indexOf("transform",10))return l.substring(0,l.indexOf(";",27)+1).replace(f,"$1-webkit-$2")+l}return l}function a(e,t){var o=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?o:10);return o=e.substring(o+1,e.length-1),z(2!==t?r:r.replace(O,"$1"),o,t)}function l(e,t){var o=n(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return o!==t+";"?o.replace(E," or ($1)").substring(4):"("+t+")"}function i(e,t,o,r,n,a,l,i,c,s){for(var d,m=0,p=t;m<x;++m)switch(d=S[m].call(u,e,p,o,r,n,a,l,i,c,s)){case void 0:case!1:case!0:case null:break;default:p=d}if(p!==t)return p}function c(e){return void 0!==(e=e.prefix)&&(z=null,e?"function"!=typeof e?T=1:(T=2,z=e):T=0),c}function u(e,o){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<x){var n=i(-1,o,r,r,k,B,0,0,0,0);void 0!==n&&"string"==typeof n&&(o=n)}var a=t(W,r,o,0,0);return 0<x&&void 0!==(n=i(-2,a,r,r,k,B,a.length,0,0,0))&&(a=n),A=0,B=k=1,a}var s=/^\0+/g,d=/[\0\r\f]/g,m=/: */g,p=/zoo|gra/,f=/([,: ])(transform)/g,g=/,\r+?/g,b=/([\t\r\n ])*\f?&/g,y=/@(k\w+)\s*(\S*)\s*/,_=/::(place)/g,R=/:(read-only)/g,h=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,E=/([\s\S]*?);/g,v=/-self|flex-/g,O=/[^]*?(:[rp][el]a[\w-]+)[^]*/,P=/stretch|:\s*\w+\-(?:conte|avail)/,C=/([^-])(image-set\()/,B=1,k=1,A=0,T=1,W=[],S=[],x=0,z=null,L=0;return u.use=function e(t){switch(t){case void 0:case null:x=S.length=0;break;default:if("function"==typeof t)S[x++]=t;else if("object"==typeof t)for(var o=0,r=t.length;o<r;++o)e(t[o]);else L=0|!!t}return e},u.set=c,void 0!==e&&c(e),u},Jo={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var Xo=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const $o=function(e){var t=Object.create(null);return function(e){return void 0===t[e]&&(t[e]=(o=e,Xo.test(o)||111===o.charCodeAt(0)&&110===o.charCodeAt(1)&&o.charCodeAt(2)<91)),t[e];var o}}();var er=o(679),tr=o.n(er);function or(){return(or=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e}).apply(this,arguments)}var rr=function(e,t){for(var o=[e[0]],r=0,n=t.length;r<n;r+=1)o.push(t[r],e[r+1]);return o},nr=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,Ko.typeOf)(e)},ar=Object.freeze([]),lr=Object.freeze({});function ir(e){return"function"==typeof e}function cr(e){return e.displayName||e.name||"Component"}function ur(e){return e&&"string"==typeof e.styledComponentId}var sr="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",dr="undefined"!=typeof window&&"HTMLElement"in window,mr=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY);function pr(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(o.length>0?" Args: "+o.join(", "):""))}var fr=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,o=0;o<e;o++)t+=this.groupSizes[o];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var o=this.groupSizes,r=o.length,n=r;e>=n;)(n<<=1)<0&&pr(16,""+e);this.groupSizes=new Uint32Array(n),this.groupSizes.set(o),this.length=n;for(var a=r;a<n;a++)this.groupSizes[a]=0}for(var l=this.indexOfGroup(e+1),i=0,c=t.length;i<c;i++)this.tag.insertRule(l,t[i])&&(this.groupSizes[e]++,l++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],o=this.indexOfGroup(e),r=o+t;this.groupSizes[e]=0;for(var n=o;n<r;n++)this.tag.deleteRule(o)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var o=this.groupSizes[e],r=this.indexOfGroup(e),n=r+o,a=r;a<n;a++)t+=this.tag.getRule(a)+"/*!sc*/\n";return t},e}(),gr=new Map,br=new Map,yr=1,_r=function(e){if(gr.has(e))return gr.get(e);for(;br.has(yr);)yr++;var t=yr++;return gr.set(e,t),br.set(t,e),t},Rr=function(e){return br.get(e)},hr=function(e,t){t>=yr&&(yr=t+1),gr.set(e,t),br.set(t,e)},wr="style["+sr+'][data-styled-version="5.3.5"]',Er=new RegExp("^"+sr+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),vr=function(e,t,o){for(var r,n=o.split(","),a=0,l=n.length;a<l;a++)(r=n[a])&&e.registerName(t,r)},Or=function(e,t){for(var o=(t.textContent||"").split("/*!sc*/\n"),r=[],n=0,a=o.length;n<a;n++){var l=o[n].trim();if(l){var i=l.match(Er);if(i){var c=0|parseInt(i[1],10),u=i[2];0!==c&&(hr(u,c),vr(e,u,i[3]),e.getTag().insertRules(c,r)),r.length=0}else r.push(l)}}},Pr=function(){return"undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},Cr=function(e){var t=document.head,o=e||t,r=document.createElement("style"),n=function(e){for(var t=e.childNodes,o=t.length;o>=0;o--){var r=t[o];if(r&&1===r.nodeType&&r.hasAttribute(sr))return r}}(o),a=void 0!==n?n.nextSibling:null;r.setAttribute(sr,"active"),r.setAttribute("data-styled-version","5.3.5");var l=Pr();return l&&r.setAttribute("nonce",l),o.insertBefore(r,a),r},Br=function(){function e(e){var t=this.element=Cr(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,o=0,r=t.length;o<r;o++){var n=t[o];if(n.ownerNode===e)return n}pr(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),kr=function(){function e(e){var t=this.element=Cr(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var o=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(o,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Ar=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Tr=dr,Wr={isServer:!dr,useCSSOMInjection:!mr},Sr=function(){function e(e,t,o){void 0===e&&(e=lr),void 0===t&&(t={}),this.options=or({},Wr,{},e),this.gs=t,this.names=new Map(o),this.server=!!e.isServer,!this.server&&dr&&Tr&&(Tr=!1,function(e){for(var t=document.querySelectorAll(wr),o=0,r=t.length;o<r;o++){var n=t[o];n&&"active"!==n.getAttribute(sr)&&(Or(e,n),n.parentNode&&n.parentNode.removeChild(n))}}(this))}e.registerId=function(e){return _r(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,o){return void 0===o&&(o=!0),new e(or({},this.options,{},t),this.gs,o&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(o=(t=this.options).isServer,r=t.useCSSOMInjection,n=t.target,e=o?new Ar(n):r?new Br(n):new kr(n),new fr(e)));var e,t,o,r,n},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(_r(e),this.names.has(e))this.names.get(e).add(t);else{var o=new Set;o.add(t),this.names.set(e,o)}},t.insertRules=function(e,t,o){this.registerName(e,t),this.getTag().insertRules(_r(e),o)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(_r(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),o=t.length,r="",n=0;n<o;n++){var a=Rr(n);if(void 0!==a){var l=e.names.get(a),i=t.getGroup(n);if(l&&i&&l.size){var c=sr+".g"+n+'[id="'+a+'"]',u="";void 0!==l&&l.forEach((function(e){e.length>0&&(u+=e+",")})),r+=""+i+c+'{content:"'+u+'"}/*!sc*/\n'}}}return r}(this)},e}(),xr=/(a)(d)/gi,zr=function(e){return String.fromCharCode(e+(e>25?39:97))};function Lr(e){var t,o="";for(t=Math.abs(e);t>52;t=t/52|0)o=zr(t%52)+o;return(zr(t%52)+o).replace(xr,"$1-$2")}var Nr=function(e,t){for(var o=t.length;o;)e=33*e^t.charCodeAt(--o);return e},jr=function(e){return Nr(5381,e)};function Mr(e){for(var t=0;t<e.length;t+=1){var o=e[t];if(ir(o)&&!ur(o))return!1}return!0}var Ir=jr("5.3.5"),Hr=function(){function e(e,t,o){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===o||o.isStatic)&&Mr(e),this.componentId=t,this.baseHash=Nr(Ir,t),this.baseStyle=o,Sr.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,o){var r=this.componentId,n=[];if(this.baseStyle&&n.push(this.baseStyle.generateAndInjectStyles(e,t,o)),this.isStatic&&!o.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))n.push(this.staticRulesId);else{var a=rn(this.rules,e,t,o).join(""),l=Lr(Nr(this.baseHash,a)>>>0);if(!t.hasNameForId(r,l)){var i=o(a,"."+l,void 0,r);t.insertRules(r,l,i)}n.push(l),this.staticRulesId=l}else{for(var c=this.rules.length,u=Nr(this.baseHash,o.hash),s="",d=0;d<c;d++){var m=this.rules[d];if("string"==typeof m)s+=m;else if(m){var p=rn(m,e,t,o),f=Array.isArray(p)?p.join(""):p;u=Nr(u,f+d),s+=f}}if(s){var g=Lr(u>>>0);if(!t.hasNameForId(r,g)){var b=o(s,"."+g,void 0,r);t.insertRules(r,g,b)}n.push(g)}}return n.join(" ")},e}(),Fr=/^\s*\/\/.*$/gm,Gr=[":","[",".","#"];function Dr(e){var t,o,r,n,a=void 0===e?lr:e,l=a.options,i=void 0===l?lr:l,c=a.plugins,u=void 0===c?ar:c,s=new Zo(i),d=[],m=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(o,r,n,a,l,i,c,u,s,d){switch(o){case 1:if(0===s&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===u)return r+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(n[0]+r),"";default:return r+(0===d?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),p=function(e,r,a){return 0===r&&-1!==Gr.indexOf(a[o.length])||a.match(n)?e:"."+t};function f(e,a,l,i){void 0===i&&(i="&");var c=e.replace(Fr,""),u=a&&l?l+" "+a+" { "+c+" }":c;return t=i,o=a,r=new RegExp("\\"+o+"\\b","g"),n=new RegExp("(\\"+o+"\\b){2,}"),s(l||!a?"":a,u)}return s.use([].concat(u,[function(e,t,n){2===e&&n.length&&n[0].lastIndexOf(o)>0&&(n[0]=n[0].replace(r,p))},m,function(e){if(-2===e){var t=d;return d=[],t}}])),f.hash=u.length?u.reduce((function(e,t){return t.name||pr(15),Nr(e,t.name)}),5381).toString():"",f}var qr=Qo().createContext(),Kr=(qr.Consumer,Qo().createContext()),Ur=(Kr.Consumer,new Sr),Qr=Dr();function Vr(){return(0,Uo.useContext)(qr)||Ur}function Yr(e){var t=(0,Uo.useState)(e.stylisPlugins),o=t[0],r=t[1],n=Vr(),a=(0,Uo.useMemo)((function(){var t=n;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),l=(0,Uo.useMemo)((function(){return Dr({options:{prefix:!e.disableVendorPrefixes},plugins:o})}),[e.disableVendorPrefixes,o]);return(0,Uo.useEffect)((function(){Yo()(o,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]),Qo().createElement(qr.Provider,{value:a},Qo().createElement(Kr.Provider,{value:l},e.children))}var Zr=function(){function e(e,t){var o=this;this.inject=function(e,t){void 0===t&&(t=Qr);var r=o.name+t.hash;e.hasNameForId(o.id,r)||e.insertRules(o.id,r,t(o.rules,r,"@keyframes"))},this.toString=function(){return pr(12,String(o.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=Qr),this.name+e.hash},e}(),Jr=/([A-Z])/,Xr=/([A-Z])/g,$r=/^ms-/,en=function(e){return"-"+e.toLowerCase()};function tn(e){return Jr.test(e)?e.replace(Xr,en).replace($r,"-ms-"):e}var on=function(e){return null==e||!1===e||""===e};function rn(e,t,o,r){if(Array.isArray(e)){for(var n,a=[],l=0,i=e.length;l<i;l+=1)""!==(n=rn(e[l],t,o,r))&&(Array.isArray(n)?a.push.apply(a,n):a.push(n));return a}return on(e)?"":ur(e)?"."+e.styledComponentId:ir(e)?"function"!=typeof(c=e)||c.prototype&&c.prototype.isReactComponent||!t?e:rn(e(t),t,o,r):e instanceof Zr?o?(e.inject(o,r),e.getName(r)):e:nr(e)?function e(t,o){var r,n,a=[];for(var l in t)t.hasOwnProperty(l)&&!on(t[l])&&(Array.isArray(t[l])&&t[l].isCss||ir(t[l])?a.push(tn(l)+":",t[l],";"):nr(t[l])?a.push.apply(a,e(t[l],l)):a.push(tn(l)+": "+(r=l,(null==(n=t[l])||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||r in Jo?String(n).trim():n+"px")+";")));return o?[o+" {"].concat(a,["}"]):a}(e):e.toString();var c}var nn=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function an(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];return ir(e)||nr(e)?nn(rn(rr(ar,[e].concat(o)))):0===o.length&&1===e.length&&"string"==typeof e[0]?e:nn(rn(rr(e,o)))}new Set;var ln=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,cn=/(^-|-$)/g;function un(e){return e.replace(ln,"-").replace(cn,"")}function sn(e){return"string"==typeof e&&!0}var dn=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},mn=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function pn(e,t,o){var r=e[o];dn(t)&&dn(r)?fn(r,t):e[o]=t}function fn(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];for(var n=0,a=o;n<a.length;n++){var l=a[n];if(dn(l))for(var i in l)mn(i)&&pn(e,l[i],i)}return e}var gn=Qo().createContext();gn.Consumer;var bn={};function yn(e,t,o){var r=ur(e),n=!sn(e),a=t.attrs,l=void 0===a?ar:a,i=t.componentId,c=void 0===i?function(e,t){var o="string"!=typeof e?"sc":un(e);bn[o]=(bn[o]||0)+1;var r=o+"-"+function(e){return Lr(jr(e)>>>0)}("5.3.5"+o+bn[o]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):i,u=t.displayName,s=void 0===u?function(e){return sn(e)?"styled."+e:"Styled("+cr(e)+")"}(e):u,d=t.displayName&&t.componentId?un(t.displayName)+"-"+t.componentId:t.componentId||c,m=r&&e.attrs?Array.prototype.concat(e.attrs,l).filter(Boolean):l,p=t.shouldForwardProp;r&&e.shouldForwardProp&&(p=t.shouldForwardProp?function(o,r,n){return e.shouldForwardProp(o,r,n)&&t.shouldForwardProp(o,r,n)}:e.shouldForwardProp);var f,g=new Hr(o,d,r?e.componentStyle:void 0),b=g.isStatic&&0===l.length,y=function(e,t){return function(e,t,o,r){var n=e.attrs,a=e.componentStyle,l=e.defaultProps,i=e.foldedComponentIds,c=e.shouldForwardProp,u=e.styledComponentId,s=e.target,d=function(e,t,o){void 0===e&&(e=lr);var r=or({},t,{theme:e}),n={};return o.forEach((function(e){var t,o,a,l=e;for(t in ir(l)&&(l=l(r)),l)r[t]=n[t]="className"===t?(o=n[t],a=l[t],o&&a?o+" "+a:o||a):l[t]})),[r,n]}(function(e,t,o){return void 0===o&&(o=lr),e.theme!==o.theme&&e.theme||t||o.theme}(t,(0,Uo.useContext)(gn),l)||lr,t,n),m=d[0],p=d[1],f=function(e,t,o,r){var n=Vr(),a=(0,Uo.useContext)(Kr)||Qr;return t?e.generateAndInjectStyles(lr,n,a):e.generateAndInjectStyles(o,n,a)}(a,r,m),g=o,b=p.$as||t.$as||p.as||t.as||s,y=sn(b),_=p!==t?or({},t,{},p):t,R={};for(var h in _)"$"!==h[0]&&"as"!==h&&("forwardedAs"===h?R.as=_[h]:(c?c(h,$o,b):!y||$o(h))&&(R[h]=_[h]));return t.style&&p.style!==t.style&&(R.style=or({},t.style,{},p.style)),R.className=Array.prototype.concat(i,u,f!==u?f:null,t.className,p.className).filter(Boolean).join(" "),R.ref=g,(0,Uo.createElement)(b,R)}(f,e,t,b)};return y.displayName=s,(f=Qo().forwardRef(y)).attrs=m,f.componentStyle=g,f.displayName=s,f.shouldForwardProp=p,f.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):ar,f.styledComponentId=d,f.target=r?e.target:e,f.withComponent=function(e){var r=t.componentId,n=function(e,t){if(null==e)return{};var o,r,n={},a=Object.keys(e);for(r=0;r<a.length;r++)o=a[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}(t,["componentId"]),a=r&&r+"-"+(sn(e)?e:un(cr(e)));return yn(e,or({},n,{attrs:m,componentId:a}),o)},Object.defineProperty(f,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?fn({},e.defaultProps,t):t}}),f.toString=function(){return"."+f.styledComponentId},n&&tr()(f,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),f}var Rn,hn=function(e){return function e(t,o,r){if(void 0===r&&(r=lr),!(0,Ko.isValidElementType)(o))return pr(1,String(o));var n=function(){return t(o,r,an.apply(void 0,arguments))};return n.withConfig=function(n){return e(t,o,or({},r,{},n))},n.attrs=function(n){return e(t,o,or({},r,{attrs:Array.prototype.concat(r.attrs,n).filter(Boolean)}))},n}(yn,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){hn[e]=hn(e)})),Rn=function(e,t){this.rules=e,this.componentId=t,this.isStatic=Mr(e),Sr.registerId(this.componentId+1)}.prototype,Rn.createStyles=function(e,t,o,r){var n=r(rn(this.rules,t,o,r).join(""),""),a=this.componentId+e;o.insertRules(a,a,n)},Rn.removeStyles=function(e,t){t.clearRules(this.componentId+e)},Rn.renderStyles=function(e,t,o,r){e>2&&Sr.registerId(this.componentId+e),this.removeStyles(e,o),this.createStyles(e,t,o,r)},function(){var e=function(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var o=Pr();return"<style "+[o&&'nonce="'+o+'"',sr+'="true"','data-styled-version="5.3.5"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?pr(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return pr(2);var o=((t={})[sr]="",t["data-styled-version"]="5.3.5",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=Pr();return r&&(o.nonce=r),[Qo().createElement("style",or({},o,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new Sr({isServer:!0}),this.sealed=!1}.prototype;e.collectStyles=function(e){return this.sealed?pr(2):Qo().createElement(Yr,{sheet:this.instance},e)},e.interleaveWithNodeStream=function(e){return pr(3)}}();const wn=hn;function En(e){return En="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},En(e)}var vn,On;function Pn(){return Pn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Pn.apply(this,arguments)}function Cn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Bn(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function kn(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function An(e,t){return An=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},An(e,t)}function Tn(e,t){if(t&&("object"===En(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Wn(e){return Wn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Wn(e)}var Sn=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&An(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Wn(r);if(n){var o=Wn(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Tn(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).state={productData:[],categoryData:[]},t}return t=l,o=[{key:"componentDidMount",value:function(){this.fetchProductsData(),this.fetchCategoryData()}},{key:"componentDidUpdate",value:function(e){var t=this.props.attributes,o=t.perPage,r=t.productFilterType,n=t.customOrder,a=this.props.attributes.orderBy,l=this.props.attributes.order,i=this.props.attributes.selectedCategories;e.attributes.perPage==o&&e.attributes.productFilterType==r&&e.attributes.customOrder==n&&e.attributes.orderBy==a&&e.attributes.order==l&&e.attributes.selectedCategories==i||this.fetchProductsData(),e.attributes.selectedCategories!=i&&this.fetchCategoryData()}},{key:"fetchProductsData",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o={perPage:this.props.attributes.perPage,filterBy:this.props.attributes.productFilterType,wpnonce:woolentorData.security};1==this.props.attributes.customOrder&&(o.orderBy=this.props.attributes.orderBy,o.order=this.props.attributes.order),this.props.attributes.selectedCategories.length>0&&(o.categories=this.props.attributes.selectedCategories),t.length>0&&(o.categories=t);var r=(0,Do.addQueryArgs)("/woolentor/v1/products",o);Go()({path:r}).then((function(t){return e.setState({productData:t})}))}},{key:"fetchCategoryData",value:function(){var e=this,t={queryLimit:1e3,queryOrder:"ASC",queryType:"regular",querySlug:this.props.attributes.selectedCategories,wpnonce:woolentorData.security},o=(0,Do.addQueryArgs)("/woolentor/v1/category",t);Go()({path:o}).then((function(t){return e.setState({categoryData:t})}))}},{key:"render",value:function(){var e=this,t=this.props,o=(t.name,t.attributes),r=t.className,n=t.isSelected,a=t.setAttributes,l=t.clientId,i=o.blockUniqId,c=o.areaBGProperty;function u(e){var t=e.className,o=e.onClick;return React.createElement(oe.Button,{className:t,onClick:o},React.createElement("i",{className:"fa fa-angle-right"}))}function s(e){var t=e.className,o=e.onClick;return React.createElement(oe.Button,{className:t,onClick:o},React.createElement("i",{className:"fa fa-angle-left"}))}""==i&&a({blockUniqId:l});var d,m={arrows:o.slarrows,prevArrow:React.createElement(s,null),nextArrow:React.createElement(u,null),dots:o.sldots,infinite:!0,autoplay:o.slautolay,autoplaySpeed:o.slautoplaySpeed,speed:o.slanimationSpeed,fade:!1,pauseOnHover:o.slpauseOnHover,slidesToShow:o.slitems,slidesToScroll:o.slscrollItem,rtl:o.slIsrtl,responsive:[{breakpoint:o.sltabletWidth,settings:{slidesToShow:o.sltabletDisplayColumns,slidesToScroll:o.sltabletScrollColumns}},{breakpoint:o.slMobileWidth,settings:{slidesToShow:o.slMobileDisplayColumns,slidesToScroll:o.slMobileScrollColumns}}]},p=st()("woolentor-product-tab-area",Bn({},"woolentor-grid-columns-".concat(o.columns.desktop),o.columns.desktop),Bn({},"woolentor-grid-columns-laptop-".concat(o.columns.laptop),o.columns.laptop),Bn({},"woolentor-grid-columns-tablet-".concat(o.columns.tablet),o.columns.tablet),Bn({},"woolentor-grid-columns-mobile-".concat(o.columns.mobile),o.columns.mobile)),f=st()(Bn({},"woolentor-grid",1!=o.slider),Bn({},"woolentor-grid-slider",1==o.slider)),g=st()("product-item",Bn({},"product_style_three",3==o.style)),b=st()(Bn({},"woolentor-grid-column",o.columns.desktop)),y=wn.div(vn||(vn=Cn(["\n\n\t\t\t","\n\t\t\t","\n\n\t\t\t& .product-item .product-inner .content .title{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-item .product-inner .content .title a{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-item .product-inner .content .title a:hover{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-item .product-inner .content .woolentor-product-price,.product-item .product-inner .content .woolentor-product-price .amount{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-item .product-inner .content{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-item .actions a,.product-item .woocommerce.compare-button a.button,.product-item .actions a::before{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-item .actions{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-item .actions a:hover,.product-item .woocommerce.compare-button a.button:hover,.product-item .actions a:hover::before{\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .product-item .actions:hover{\n\t\t\t\t",";\n\t\t\t}\n\t\t"])),o.areaPadding&&Io(o.areaPadding,"padding"),Ho(c),o.titleAlign&&"text-align:"+o.titleAlign,o.titleColor&&"color:"+o.titleColor,o.titleHoverColor&&"color:"+o.titleHoverColor,o.priceColor&&"color:"+o.priceColor,o.contentAlign&&"text-align:"+o.contentAlign,o.actionBtnColor&&"color:"+o.actionBtnColor,o.actionBtnBgColor&&"background-color:"+o.actionBtnBgColor,o.actionBtnHoverColor&&"color:"+o.actionBtnHoverColor,o.actionBtnHoverBgColor&&"background-color:"+o.actionBtnHoverBgColor),_=wn.div(On||(On=Cn(["\n\t\t\n\t\t"]))),R=this.state,h=R.productData,w=R.categoryData,E=0,v=!1;h.length>0&&(d=h.map((function(e,t){return E++,o.rows>1&&E%o.rows!=0&&(v=!0),React.createElement(React.Fragment,null,React.createElement("div",{className:b},React.createElement(_,{className:1==v?g+" mb-30":g},React.createElement("div",{className:"product-inner"},React.createElement("div",{className:"image-wrap"},React.createElement(oe.Disabled,null,React.createElement("a",{href:e.permalink,className:"image"},(0,we.createElement)("div",{className:"woolentor-product-image",dangerouslySetInnerHTML:{__html:e.image.full.html}}),!0===e.on_sale&&React.createElement("span",{class:"onsale"},(0,te.__)("Sale!","woolentor")))),1==o.style&&!0===e.wishlist.status?(0,we.createElement)("span",{className:"woolentor-product-wishlist",dangerouslySetInnerHTML:{__html:e.wishlist.html}}):"",3==o.style?React.createElement("div",{className:"product_information_area"},React.createElement("div",{className:"actions style_two"},!0===e.wishlist.status?(0,we.createElement)("span",{className:"woolentor-product-wishlist",dangerouslySetInnerHTML:{__html:e.wishlist.html}}):"",(0,we.createElement)("div",{className:"woolentor-product-btn"},(0,we.createElement)("a",null,(0,te.__)("Add to cart","woolentor")))),React.createElement("div",{className:"content"},React.createElement("h4",{className:"title"},React.createElement("a",{href:e.permalink},e.title)),(0,we.createElement)("div",{className:"woolentor-product-price",dangerouslySetInnerHTML:{__html:e.price_html}}))):React.createElement("div",{class:2==o.style?"actions style_two":"actions"},2==o.style?React.createElement(React.Fragment,null,React.createElement("a",{href:e.addtocart.link,"data-quantity":"1",class:"button product_type_simple add_to_cart_button ajax_add_to_cart","data-product_id":e.id,"data-product_sku":"Woo-beanie-logo"},e.addtocart.text),!0===e.wishlist.status?(0,we.createElement)("span",{className:"woolentor-product-wishlist",dangerouslySetInnerHTML:{__html:e.wishlist.html}}):""):React.createElement(React.Fragment,null,React.createElement("a",{href:e.addtocart.link,"data-quantity":"1",class:"button product_type_simple add_to_cart_button ajax_add_to_cart","data-product_id":e.id,"data-product_sku":"Woo-beanie-logo"},e.addtocart.text),!0===e.compare.status?(0,we.createElement)("span",{className:"woolentor-product-compare",dangerouslySetInnerHTML:{__html:e.compare.html}}):""))),React.createElement("div",{className:"content"},React.createElement("h4",{className:"title"},React.createElement(oe.Disabled,null,React.createElement("a",{href:e.permalink},e.title))),(0,we.createElement)("div",{className:"woolentor-product-price",dangerouslySetInnerHTML:{__html:e.price_html}}))))))})));var O,P=function(t){e.fetchProductsData(t.target.getAttribute("dataslug"))},C=0;return o.selectedCategories.length>0&&(O=w.map((function(e,t){return C++,React.createElement(React.Fragment,null,React.createElement("li",null,React.createElement("a",{class:1==C?"htactive":"",href:"#woolentortab"+i+C,onClick:P,dataslug:e.slug},e.name)))}))),React.createElement(we.Fragment,null,n&&React.createElement(jo,this.props),React.createElement("div",{className:r},React.createElement(y,{className:p},o.productTab&&React.createElement("div",{class:"product-tab-list ht-text-center"},React.createElement("ul",{class:"ht-tab-menus"},O)),0==h.length?React.createElement(oe.Spinner,null):React.createElement("div",{className:f},1==o.slider?React.createElement(qo.Z,Pn({},m,{className:"product-slider"}),d):d))))}}],o&&kn(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const xn=Sn,zn=React.createElement(oe.SVG,{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 359 359",space:"preserve"},React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M96,0H13C7.5,0,3,4.5,3,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10V10C106,4.5,101.5,0,96,0z M87,84H23V20h64V84z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M221,0h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10V10C231,4.5,226.5,0,221,0z M212,84h-64V20 h64V84z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M96,126H13c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C106,130.5,101.5,126,96,126z M87,209H23 v-63h64V209z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M221,126h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C231,130.5,226.5,126,221,126z M212,209h-64v-63h64V209z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M346,0h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10V10C356,4.5,351.5,0,346,0z M337,84h-64V20 h64V84z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M346,126h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C356,130.5,351.5,126,346,126z M337,209h-64v-63h64V209z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M96,256H13c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C106,260.5,101.5,256,96,256z M87,340H23 v-64h64V340z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M221,256h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C231,260.5,226.5,256,221,256z M212,340h-64v-64h64V340z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M346,256h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C356,260.5,351.5,256,346,256z M337,340h-64v-64h64V340z"})))),Ln=JSON.parse('{"name":"woolentor/product-tab","category":"woolentor-blocks","title":"Product Tab","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"style":{"type":"string","default":"1"},"columns":{"type":"object","default":{"desktop":4}},"rows":{"type":"number","default":1},"productTab":{"type":"boolean","default":false},"slider":{"type":"boolean","default":false},"productFilterType":{"type":"string","default":"recent"},"perPage":{"type":"number","default":4},"customOrder":{"type":"boolean","default":false},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"selectedCategories":{"type":"array","default":[]},"slitems":{"type":"number","default":4},"slarrows":{"type":"boolean","default":true},"sldots":{"type":"boolean","default":false},"slpauseOnHover":{"type":"boolean","default":true},"slautolay":{"type":"boolean","default":false},"slautoplaySpeed":{"type":"number","default":3000},"slanimationSpeed":{"type":"number","default":300},"slscrollItem":{"type":"number","default":3},"sltabletDisplayColumns":{"type":"number","default":2},"sltabletScrollColumns":{"type":"number","default":2},"sltabletWidth":{"type":"number","default":750},"slMobileDisplayColumns":{"type":"number","default":1},"slMobileScrollColumns":{"type":"number","default":1},"slMobileWidth":{"type":"number","default":480},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .title a{ color: {{titleColor}}; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .title a:hover{ color: {{titleHoverColor}}; }"}},"titleAlign":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .title{ text-align: {{titleAlign}}; }"}},"priceColor":{"type":"string","selector":".product-item .product-inner .content .price","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .price,{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .price .amount{ color: {{priceColor}}; }"}},"actionBtnColor":{"type":"string","selector":".product-item .actions a","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .actions a,{{WOOLENTOR_WRAPPER}} .product-item .woocommerce.compare-button a.button,{{WOOLENTOR_WRAPPER}} .product-item .actions a::before{ color: {{actionBtnColor}}; }"}},"actionBtnBgColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .actions{ background-color: {{actionBtnBgColor}}; }"}},"actionBtnHoverColor":{"type":"string","selector":".product-item .actions a:hover","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .actions a:hover,{{WOOLENTOR_WRAPPER}} .product-item .woocommerce.compare-button a.button:hover,{{WOOLENTOR_WRAPPER}} .product-item .actions a:hover::before{ color: {{actionBtnHoverColor}}; }"}},"actionBtnHoverBgColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .actions:hover{ background-color: {{actionBtnHoverBgColor}}; }"}},"contentAlign":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content{ text-align: {{contentAlign}}; }"}}}}');var Nn=Ln.name,jn=Ln.category,Mn=Ln.attributes,In={title:(0,te.__)("WL : Product Tab","woolentor"),description:(0,te.__)("Display product.","woolentor"),icon:React.createElement(oe.Icon,{icon:zn}),keywords:["woolentor",(0,te.__)("product tab","woolentor"),(0,te.__)("woocommerce product","woolentor")],attributes:Mn,edit:xn,save:function(){return null}};function Hn(e){return Hn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hn(e)}function Fn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gn(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Dn(e,t){return Dn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Dn(e,t)}function qn(e,t){if(t&&("object"===Hn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Kn(e){return Kn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Kn(e)}var Un=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Dn(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Kn(r);if(n){var o=Kn(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return qn(this,e)});function l(){return Fn(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.style,n=t.contentAlignment,a=t.buttonUrl;return React.createElement(we.Fragment,null,React.createElement(tt,{tabs:["general","styles"]}),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Settings","woolentor"),initialOpen:!0},React.createElement(oe.SelectControl,{label:(0,te.__)("Banner Style","woolentor"),value:r,options:[{label:(0,te.__)("Style One","woolentor"),value:"1"},{label:(0,te.__)("Style Two","woolentor"),value:"2"}],onChange:function(e){return o({style:e})}}),React.createElement(oe.SelectControl,{label:(0,te.__)("Content Alignment","woolentor"),value:n,options:[{label:(0,te.__)("Left","woolentor"),value:"left"},{label:(0,te.__)("Right","woolentor"),value:"right"},{label:(0,te.__)("Bottom","woolentor"),value:"bottom"}],onChange:function(e){return o({contentAlignment:e})}}),React.createElement(oe.TextControl,{label:(0,te.__)("Link","woolentor"),value:a,onChange:function(e){return o({buttonUrl:e})}}))),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Title","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}})),React.createElement(ft,{title:(0,te.__)("Sub Title","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.subTitleColor,onChange:function(e){return o({subTitleColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.subTitleSize,fallbackFontSize:t.subTitleSize,onChange:function(e){return o({subTitleSize:e})}})),React.createElement(ft,{title:(0,te.__)("Button","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.buttonColor,onChange:function(e){return o({buttonColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.buttonSize,fallbackFontSize:t.buttonSize,onChange:function(e){return o({buttonSize:e})}}))))}}],o&&Gn(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const Qn=Un,Vn=window.wp.primitives,Yn=(0,we.createElement)(Vn.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,we.createElement)(Vn.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"}));function Zn(e){return Zn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zn(e)}function Jn(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function Xn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $n(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ea(e,t){return ea=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ea(e,t)}function ta(e,t){if(t&&("object"===Zn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return oa(e)}function oa(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ra(e)}var na=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ea(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ra(r);if(n){var o=ra(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return ta(this,e)});function l(){var e;return Xn(this,l),(e=a.apply(this,arguments)).addImage=e.addImage.bind(oa(e)),e.onSelectImage=e.onSelectImage.bind(oa(e)),e}return t=l,o=[{key:"onSelectImage",value:function(e){e&&e.url&&this.props.setAttributes({imgUrl:e.url})}},{key:"addImage",value:function(e){var t=this;mediaUpload({allowedTypes:["image","png"],filesList:e,onFileChange:function(e){var o=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a=[],_n=!0,l=!1;try{for(o=o.call(e);!(_n=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);_n=!0);}catch(e){l=!0,n=e}finally{try{_n||null==o.return||o.return()}finally{if(l)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Jn(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Jn(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e,1)[0];return t.onSelectImage(o)}})}},{key:"render",value:function(){var e=this.props,t=(e.name,e.attributes),o=e.className,r=e.isSelected,n=e.setAttributes,a=t.title,l=t.subTitle,i=t.imgUrl,c=(t.imgId,t.style),u=t.contentAlignment,s=t.buttonText,d=t.buttonUrl,m=function(e){return n({imgUrl:e.url,imgId:e.id})};return oe.DropZone,this.addImage,(0,te.__)("Drop to upload as banner image","woolentor"),React.createElement(we.Fragment,null,r&&React.createElement(Qn,this.props),React.createElement("div",{className:o},React.createElement("div",{className:"woolentor-banner woolentor-banner-layout-"+c+" woolentor-content-align-"+u},React.createElement("div",{className:"woolentor-content"},React.createElement(He.RichText,{tagName:"h3",className:"banner_subtitle",value:l,onChange:function(e){return n({subTitle:e})},placeholder:(0,te.__)("Banner sub title...","woolentor"),keepPlaceholderOnFocus:!0,style:{color:"".concat(t.subTitleColor),fontSize:"".concat(t.subTitleSize)}}),React.createElement(He.RichText,{tagName:"h2",className:"banner_title",value:a,onChange:function(e){return n({title:e})},placeholder:(0,te.__)("Banner title...","woolentor"),keepPlaceholderOnFocus:!0,style:{color:"".concat(t.titleColor),fontSize:"".concat(t.titleSize)}}),React.createElement(He.RichText,{tagName:"a",className:"banner_button",value:s,onChange:function(e){return n({buttonText:e})},placeholder:(0,te.__)("Shop Now ....","woolentor"),href:d,keepPlaceholderOnFocus:!0,style:{color:"".concat(t.buttonColor),fontSize:"".concat(t.buttonSize)}})),i?React.createElement("div",{class:"woolentor-banner-img"},React.createElement("img",{className:"wp-block-woolentor-banner-img",src:i,alt:"WooLentor Banner image"}),React.createElement("div",null,React.createElement(He.MediaUploadCheck,null,React.createElement(He.MediaUpload,{onSelect:m,allowedTypes:["image","png"],value:i,render:function(e){var t=e.open;return React.createElement(oe.Button,{onClick:t},i?(0,te.__)("Replace Image","woolentor"):React.createElement(He.BlockIcon,{icon:Yn}))}})))):React.createElement("div",{class:"woolentor-banner-img"},React.createElement(He.MediaUploadCheck,null,React.createElement(He.MediaUpload,{onSelect:m,allowedTypes:["image","png"],value:i,render:function(e){var t=e.open;return React.createElement(oe.Button,{onClick:t},i?(0,te.__)("Replace Image","woolentor"):React.createElement(He.BlockIcon,{icon:Yn}))}}))))))}}],o&&$n(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const aa=na,la=JSON.parse('{"name":"woolentor/promo-banner","category":"woolentor-blocks","title":"Promo Banner","attributes":{"style":{"type":"string","default":"1"},"contentAlignment":{"type":"string","default":"left"},"title":{"type":"string","default":"","selector":".banner_title"},"subTitle":{"type":"string","default":"","selector":".banner_subtitle"},"imgId":{"type":"number"},"imgUrl":{"type":"string","source":"attribute","attribute":"src","selector":"img"},"buttonUrl":{"type":"string","source":"attribute","selector":"a","attribute":"href"},"buttonText":{"type":"string","source":"html","selector":"a"},"linkTarget":{"type":"string","source":"attribute","selector":"a","attribute":"target"},"titleColor":{"type":"string","selector":".woolentor-banner .banner_title"},"titleSize":{"type":"string"},"subTitleColor":{"type":"string","selector":".woolentor-banner .banner_subtitle"},"subTitleSize":{"type":"string"},"buttonColor":{"type":"string","selector":".woolentor-banner .banner_button"},"buttonSize":{"type":"string"}}}'),ia=React.createElement("svg",{id:"_x31_","enable-background":"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",null,React.createElement("path",{d:"m17.453 24c-.168 0-.34-.021-.51-.066l-15.463-4.141c-1.06-.292-1.692-1.39-1.414-2.45l1.951-7.272c.072-.267.346-.422.612-.354.267.071.425.346.354.612l-1.95 7.27c-.139.53.179 1.082.71 1.229l15.457 4.139c.531.14 1.079-.176 1.217-.704l.781-2.894c.072-.267.346-.426.613-.353.267.072.424.347.353.613l-.78 2.89c-.235.89-1.045 1.481-1.931 1.481z"})),React.createElement("g",null,React.createElement("path",{d:"m22 18h-16c-1.103 0-2-.897-2-2v-12c0-1.103.897-2 2-2h16c1.103 0 2 .897 2 2v12c0 1.103-.897 2-2 2zm-16-15c-.551 0-1 .449-1 1v12c0 .551.449 1 1 1h16c.551 0 1-.449 1-1v-12c0-.551-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m9 9c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2zm0-3c-.551 0-1 .449-1 1s.449 1 1 1 1-.449 1-1-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m4.57 16.93c-.128 0-.256-.049-.354-.146-.195-.195-.195-.512 0-.707l4.723-4.723c.566-.566 1.555-.566 2.121 0l1.406 1.406 3.892-4.67c.283-.339.699-.536 1.142-.54h.011c.438 0 .853.19 1.139.523l5.23 6.102c.18.209.156.525-.054.705-.209.18-.524.157-.705-.054l-5.23-6.102c-.097-.112-.231-.174-.38-.174-.104-.009-.287.063-.384.18l-4.243 5.091c-.09.108-.221.173-.362.179-.142.01-.277-.046-.376-.146l-1.793-1.793c-.189-.188-.518-.188-.707 0l-4.723 4.723c-.097.097-.225.146-.353.146z"})));var ca=la.name,ua=la.category,sa=la.attributes,da={title:(0,te.__)("WL : Promo Banner","woolentor"),description:(0,te.__)("Display promo banner.","woolentor"),icon:React.createElement(oe.Icon,{icon:ia}),keywords:["woolentor",(0,te.__)("product banner","woolentor"),(0,te.__)("woocommerce promo","woolentor"),(0,te.__)("promo banner","woolentor")],supports:{align:["wide","full"]},attributes:sa,edit:aa,save:function(e){var t=e.className,o=e.attributes,r=o.title,n=o.subTitle,a=o.imgUrl,l=o.style,i=o.contentAlignment,c=o.buttonText,u=o.buttonUrl;return React.createElement("div",{className:t},React.createElement("div",{className:"woolentor-banner woolentor-banner-layout-"+l+" woolentor-content-align-"+i},React.createElement("div",{className:"woolentor-content"},React.createElement(He.RichText.Content,{tagName:"h3",className:"banner_subtitle",value:n,style:{color:"".concat(o.subTitleColor),fontSize:"".concat(o.subTitleSize)}}),React.createElement(He.RichText.Content,{tagName:"h2",className:"banner_title",value:r,style:{color:"".concat(o.titleColor),fontSize:"".concat(o.titleSize)}}),React.createElement(He.RichText.Content,{tagName:"a",className:"banner_button",href:u,value:c,style:{color:"".concat(o.buttonColor),fontSize:"".concat(o.buttonSize)}})),a&&React.createElement("div",{className:"woolentor-banner-img"},u?React.createElement("a",{href:u},React.createElement("img",{className:"wp-block-woolentor-banner-img",src:a,alt:r})):React.createElement("img",{className:"wp-block-woolentor-banner-img",src:a,alt:r}))))}};function ma(e){return ma="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ma(e)}function pa(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fa(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ga(e,t){return ga=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ga(e,t)}function ba(e,t){if(t&&("object"===ma(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ya(e)}var _a=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ga(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ya(r);if(n){var o=ya(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return ba(this,e)});function l(){return pa(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.title,n=t.contentPosition,a=t.bannerImage,l=t.badgeImage,i=t.badgeHorizontalPos,c=t.badgeVerticlePos;return React.createElement(React.Fragment,null,React.createElement(tt,{tabs:["general","styles"]}),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Content","woolentor"),initialOpen:!0},React.createElement(oe.SelectControl,{label:(0,te.__)("Content Position","woolentor"),value:n,options:[{label:(0,te.__)("Top","woolentor"),value:"top"},{label:(0,te.__)("Center","woolentor"),value:"center"},{label:(0,te.__)("Bottom","woolentor"),value:"bottom"},{label:(0,te.__)("Left","woolentor"),value:"left"},{label:(0,te.__)("Right","woolentor"),value:"right"}],onChange:function(e){return o({contentPosition:e})}}),React.createElement(no,{title:(0,te.__)("Banner image","woolentor"),ImageData:a,attributesKey:"bannerImage",setAttributes:o}),React.createElement(no,{title:(0,te.__)("Badge image","woolentor"),ImageData:l,attributesKey:"badgeImage",setAttributes:o}),l.id&&React.createElement(React.Fragment,null,React.createElement(oe.RangeControl,{label:(0,te.__)("Badge Horizontal Position","woolentor"),value:i,onChange:function(e){return o({badgeHorizontalPos:e})},min:-1e3,step:1,max:1e3}),React.createElement(oe.RangeControl,{label:(0,te.__)("Badge Vertical Position","woolentor"),value:c,onChange:function(e){return o({badgeVerticlePos:e})},min:-1e3,step:1,max:1e3})),React.createElement(oe.TextControl,{label:(0,te.__)("Title","woolentor"),value:r,placeholder:(0,te.__)("Banner Title","woolentor"),onChange:function(e){return o({title:e})}}),React.createElement(oe.TextControl,{label:(0,te.__)("Sub Title","woolentor"),placeholder:(0,te.__)("Banner Sub Title","woolentor"),value:t.subTitle,onChange:function(e){return o({subTitle:e})}}),React.createElement(oe.TextareaControl,{label:(0,te.__)("Description","woolentor"),help:(0,te.__)("Enter Banner description","woolentor"),value:t.bannerDescription,onChange:function(e){return o({bannerDescription:e})}}),React.createElement(oe.TextControl,{label:(0,te.__)("Offer Amount","woolentor"),placeholder:(0,te.__)("50%","woolentor"),value:t.offerAmount,onChange:function(e){return o({offerAmount:e})}}),React.createElement(oe.TextControl,{label:(0,te.__)("Offer Tag Line","woolentor"),value:t.offerTagLine,placeholder:(0,te.__)("off","woolentor"),onChange:function(e){return o({offerTagLine:e})}}),React.createElement(oe.TextControl,{label:(0,te.__)("Banner Link","woolentor"),value:t.bannerLink,placeholder:(0,te.__)("https://your-link.com","woolentor"),onChange:function(e){return o({bannerLink:e})}}),React.createElement(oe.TextControl,{label:(0,te.__)("Button Text","woolentor"),value:t.buttonText,placeholder:(0,te.__)("Shop Now","woolentor"),onChange:function(e){return o({buttonText:e})}}))),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Content Area","woolentor")},React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.contentAreaMargin,attributesKey:"contentAreaMargin",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.contentAreaPadding,attributesKey:"contentAreaPadding",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Title","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.titlePadding,attributesKey:"titlePadding",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Sub Title","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.titleSubColor,onChange:function(e){return o({titleSubColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSubSize,fallbackFontSize:t.titleSubSize,onChange:function(e){return o({titleSubSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.subTitleMargin,attributesKey:"subTitleMargin",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.subTitlePadding,attributesKey:"subTitlePadding",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Description","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.desColor,onChange:function(e){return o({desColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.desSize,fallbackFontSize:t.desSize,onChange:function(e){return o({desSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.desMargin,attributesKey:"desMargin",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.desPadding,attributesKey:"desPadding",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Offer Amount","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.offerColor,onChange:function(e){return o({offerColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.offerSize,fallbackFontSize:t.offerSize,onChange:function(e){return o({offerSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.offerMargin,attributesKey:"offerMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Offer Tag Line","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.offerTagColor,onChange:function(e){return o({offerTagColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.offerTagSize,fallbackFontSize:t.offerTagSize,onChange:function(e){return o({offerTagSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.offerTagMargin,attributesKey:"offerTagMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Button","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.buttonColor,onChange:function(e){return o({buttonColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Hover Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.buttonHoverColor,onChange:function(e){return o({buttonHoverColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.buttonSize,fallbackFontSize:t.buttonSize,onChange:function(e){return o({buttonSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.buttonMargin,attributesKey:"buttonMargin",setAttributes:o}))))}}],o&&fa(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const Ra=_a;function ha(e){return ha="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ha(e)}var wa;function Ea(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function va(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Oa(e,t){return Oa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Oa(e,t)}function Pa(e,t){if(t&&("object"===ha(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ca(e)}var Ba=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512",className:"woolentor-banner-default"},React.createElement("g",null,React.createElement("path",{d:"M446.575,0H65.425C29.349,0,0,29.35,0,65.426v381.149C0,482.65,29.349,512,65.425,512h381.15 C482.651,512,512,482.65,512,446.574V65.426C512,29.35,482.651,0,446.575,0z M481.842,446.575 c0,19.447-15.821,35.267-35.267,35.267H65.425c-19.447,0-35.268-15.821-35.268-35.267v-55.007l99.255-84.451 c3.622-3.082,8.906-3.111,12.562-0.075l62.174,51.628c5.995,4.977,14.795,4.569,20.304-0.946L372.181,209.77 c2.67-2.675,5.783-2.935,7.408-2.852c1.62,0.083,4.695,0.661,7.078,3.596l95.176,117.19V446.575z M481.842,279.865l-71.766-88.366 c-7.117-8.764-17.666-14.122-28.942-14.701c-11.268-0.57-22.317,3.672-30.294,11.662L212.832,326.681l-51.59-42.839 c-14.959-12.422-36.563-12.293-51.373,0.308l-79.712,67.822V65.426c0-19.447,15.821-35.268,35.268-35.268h381.15 c19.447,0,35.267,15.821,35.267,35.268V279.865z"})),React.createElement("g",null,React.createElement("path",{d:"M161.174,62.995c-40.095,0-72.713,32.62-72.713,72.713c0,40.094,32.619,72.713,72.713,72.713s72.713-32.619,72.713-72.713 S201.269,62.995,161.174,62.995z M161.174,178.264c-23.466,0-42.556-19.091-42.556-42.556c0-23.466,19.09-42.556,42.556-42.556 c23.466,0,42.556,19.091,42.556,42.556S184.64,178.264,161.174,178.264z"}))),ka=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Oa(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ca(r);if(n){var o=Ca(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Pa(this,e)});function l(){return Ea(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=(e.name,e.attributes),o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId;""==t.blockUniqId&&n({blockUniqId:a});var l,i,c,u,s,d=function(e){var o=t[e]?t[e]:{},r="";if(""!=o.top||""!=o.right||""!=o.bottom||""!=o.left){var n=o.unit?o.unit:"px";r=o.top?r+o.top+n+" ":"0"+n+" ",r=o.right?r+o.right+n+" ":"0"+n+" ",r=o.bottom?r+o.bottom+n+" ":"0"+n+" ",r=o.left?r+o.left+n+" ":"0"+n+" "}return r},m=st()("wlspcial-banner",(l={},i="woolentor-banner-content-pos-"+t.contentPosition,c=t.contentPosition,i in l?Object.defineProperty(l,i,{value:c,enumerable:!0,configurable:!0,writable:!0}):l[i]=c,l)),p=wn.div(wa||(u=["\n\t\t\t.banner-content{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .wlbanner-badgeimage{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .banner-content h2{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .banner-content h6{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .banner-content p{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .banner-content h5{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .banner-content h5 span{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .banner-content a{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .banner-content a:hover{\n\t\t\t\t",";\n\t\t\t}\n\t\t"],s||(s=u.slice(0)),wa=Object.freeze(Object.defineProperties(u,{raw:{value:Object.freeze(s)}}))),t.contentAlignment&&"text-align:"+t.contentAlignment,t.contentAreaPadding&&"padding:"+d("contentAreaPadding"),t.contentAreaMargin&&"margin:"+d("contentAreaMargin"),t.badgeHorizontalPos&&"left:"+t.badgeHorizontalPos+"%",t.badgeVerticlePos&&"top:"+t.badgeVerticlePos+"%",t.titleColor&&"color:"+t.titleColor,t.titleSize&&"font-size:"+t.titleSize,t.titleMargin&&"margin:"+d("titleMargin"),t.titlePadding&&"padding:"+d("titlePadding"),t.titleSubColor&&"color:"+t.titleSubColor,t.titleSubSize&&"font-size:"+t.titleSubSize,t.subTitleMargin&&"margin:"+d("subTitleMargin"),t.subTitlePadding&&"padding:"+d("subTitlePadding"),t.desColor&&"color:"+t.desColor,t.desSize&&"font-size:"+t.desSize,t.desMargin&&"margin:"+d("desMargin"),t.desPadding&&"padding:"+d("desPadding"),t.offerColor&&"color:"+t.offerColor,t.offerSize&&"font-size:"+t.offerSize,t.offerMargin&&"margin:"+d("offerMargin"),t.offerTagColor&&"color:"+t.offerTagColor,t.offerTagSize&&"font-size:"+t.offerTagSize,t.offerTagMargin&&"margin:"+d("offerTagMargin"),t.buttonColor&&"color:"+t.buttonColor,t.buttonSize&&"font-size:"+t.buttonSize,t.buttonMargin&&"margin:"+d("buttonMargin"),t.buttonHoverColor&&"color:"+t.buttonHoverColor);return React.createElement(we.Fragment,null,r&&React.createElement(Ra,this.props),React.createElement("div",{className:o},React.createElement(p,{className:m},React.createElement("div",{className:"banner-thumb"},React.createElement("a",{href:t.bannerLink?t.bannerLink:"#"},t.bannerImage.url?React.createElement("img",{src:t.bannerImage.url,alt:"Banner"}):React.createElement("div",{className:"woolentor-default-banner"},Ba))),t.badgeImage.url&&React.createElement("div",{className:"wlbanner-badgeimage"},React.createElement("img",{src:t.badgeImage.url,alt:"Banner Badge"})),React.createElement("div",{className:"banner-content"},t.title&&React.createElement("h2",null,t.title),t.subTitle&&React.createElement("h6",null,t.subTitle),t.offerAmount&&React.createElement("h5",null,t.offerAmount,React.createElement("span",null,t.offerTagLine)),t.bannerDescription&&React.createElement("p",null,t.bannerDescription),t.buttonText&&React.createElement("a",{href:t.bannerLink?t.bannerLink:"#"},t.buttonText)))))}}],o&&va(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const Aa=ka,Ta=JSON.parse('{"name":"woolentor/special-day-offer","category":"woolentor-blocks","title":"Special Day Offer","attributes":{"blockUniqId":{"type":"string","default":""},"contentPosition":{"type":"string","default":"center"},"bannerImage":{"type":"object","default":{"id":null,"url":""}},"title":{"type":"string","default":"Banner Title"},"subTitle":{"type":"string","default":"Banner Sub Title"},"bannerDescription":{"type":"string","default":"Banner Description"},"offerAmount":{"type":"string"},"offerTagLine":{"type":"string"},"bannerLink":{"type":"string"},"buttonText":{"type":"string"},"badgeImage":{"type":"object","default":{"id":null,"url":""}},"badgeHorizontalPos":{"type":"number","default":25,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlbanner-badgeimage { left: {{badgeHorizontalPos}}%; }"}},"badgeVerticlePos":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlbanner-badgeimage { top: {{badgeVerticlePos}}%; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h2 { color: {{titleColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h2 { font-size: {{titleSize}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h2 { margin: {{titleMargin}}; }"}},"titlePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h2 { padding: {{titlePadding}}; }"}},"titleSubColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h6 { color: {{titleSubColor}}; }"}},"titleSubSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h6 { font-size: {{titleSubSize}}; }"}},"subTitleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h6 { margin: {{subTitleMargin}}; }"}},"subTitlePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h6 { padding: {{subTitlePadding}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content { text-align: {{contentAlignment}}; }"}},"contentAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content { padding: {{contentAreaPadding}}; }"}},"contentAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content { margin: {{contentAreaMargin}}; }"}},"desColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content p{ color: {{desColor}}; }"}},"desSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content p{ font-size: {{desSize}}; }"}},"desMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content p{ margin: {{desMargin}}; }"}},"desPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content p{ padding: {{desPadding}}; }"}},"offerColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5{ color: {{offerColor}}; }"}},"offerSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5{ font-size: {{offerSize}}; }"}},"offerMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5{ margin: {{offerMargin}}; }"}},"offerTagColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5 span{ color: {{offerTagColor}}; }"}},"offerTagSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5 span{ font-size: {{offerTagSize}}; }"}},"offerTagMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5 span{ margin: {{offerTagMargin}}; }"}},"buttonColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content a{ color: {{buttonColor}}; }"}},"buttonHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content a:hover{ color: {{buttonHoverColor}}; }"}},"buttonSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content a{ font-size: {{buttonSize}}; }"}},"buttonMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content a{ margin: {{buttonMargin}}; }"}}}}'),Wa=React.createElement("svg",{id:"_x31_","enable-background":"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",null,React.createElement("path",{d:"m17.453 24c-.168 0-.34-.021-.51-.066l-15.463-4.141c-1.06-.292-1.692-1.39-1.414-2.45l1.951-7.272c.072-.267.346-.422.612-.354.267.071.425.346.354.612l-1.95 7.27c-.139.53.179 1.082.71 1.229l15.457 4.139c.531.14 1.079-.176 1.217-.704l.781-2.894c.072-.267.346-.426.613-.353.267.072.424.347.353.613l-.78 2.89c-.235.89-1.045 1.481-1.931 1.481z"})),React.createElement("g",null,React.createElement("path",{d:"m22 18h-16c-1.103 0-2-.897-2-2v-12c0-1.103.897-2 2-2h16c1.103 0 2 .897 2 2v12c0 1.103-.897 2-2 2zm-16-15c-.551 0-1 .449-1 1v12c0 .551.449 1 1 1h16c.551 0 1-.449 1-1v-12c0-.551-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m9 9c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2zm0-3c-.551 0-1 .449-1 1s.449 1 1 1 1-.449 1-1-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m4.57 16.93c-.128 0-.256-.049-.354-.146-.195-.195-.195-.512 0-.707l4.723-4.723c.566-.566 1.555-.566 2.121 0l1.406 1.406 3.892-4.67c.283-.339.699-.536 1.142-.54h.011c.438 0 .853.19 1.139.523l5.23 6.102c.18.209.156.525-.054.705-.209.18-.524.157-.705-.054l-5.23-6.102c-.097-.112-.231-.174-.38-.174-.104-.009-.287.063-.384.18l-4.243 5.091c-.09.108-.221.173-.362.179-.142.01-.277-.046-.376-.146l-1.793-1.793c-.189-.188-.518-.188-.707 0l-4.723 4.723c-.097.097-.225.146-.353.146z"})));var Sa=Ta.name,xa=Ta.category,za=Ta.attributes,La={title:(0,te.__)("WL : Special Day Offer","woolentor"),description:(0,te.__)("Display spesial day offer banner.","woolentor"),icon:React.createElement(oe.Icon,{icon:Wa}),keywords:["woolentor",(0,te.__)("shop banner","woolentor"),(0,te.__)("banner","woolentor"),(0,te.__)("special day","woolentor"),(0,te.__)("offer","woolentor"),(0,te.__)("special offer","woolentor")],attributes:za,supports:{align:["wide","full"]},edit:Aa,save:function(){return null}};function Na(e){return Na="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Na(e)}function ja(e){return function(e){if(Array.isArray(e))return Ma(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Ma(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Ma(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ma(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function Ia(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ha(e,t){return Ha=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ha(e,t)}function Fa(e,t){if(t&&("object"===Na(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ga(e)}var Da=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ha(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ga(r);if(n){var o=Ga(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Fa(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).state={activeClass:!1},t}return t=l,o=[{key:"render",value:function(){var e,t=this,o=this.props,r=o.attributes,n=o.setAttributes,a=r.style,l=r.bgProperty,i=function(e,t,o){var a=ja(r.markerList);a[o][t]=e,n({markerList:a})};return r.markerList.length&&(e=r.markerList.map((function(e,o){var a=t.state.activeClass===o?"woolentor_active_repeter":"";return React.createElement(we.Fragment,{key:o},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,o){o===t.state.activeClass?t.setState({activeClass:!1}):t.setState({activeClass:o})}(0,o)}},React.createElement("div",{className:"woolentor_repeater-item-title"},r.markerList[o].title),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(oe.Button,{className:"woolentor__remove-marker",icon:"no-alt",onClick:function(){return function(e){var t=ja(r.markerList);t.splice(e,1),n({markerList:t})}(o)}}))),React.createElement("div",{className:a+" woolentor_repeater-controls"},React.createElement(oe.TextControl,{label:(0,te.__)("Marker Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,te.__)("Marker Title","woolentor"),value:r.markerList[o].title,onChange:function(e){return i(e,"title",o)}}),React.createElement(oe.TextareaControl,{label:(0,te.__)("Marker Content","woolentor"),value:r.markerList[o].content,onChange:function(e){return i(e,"content",o)}}),React.createElement(oe.RangeControl,{label:(0,te.__)("Horizontal Postion","woolentor"),value:r.markerList[o].horizontal,onChange:function(e){return i(e,"horizontal",o)},min:-1e3,step:1,max:1e3}),React.createElement(oe.RangeControl,{label:(0,te.__)("Vertical Postion","woolentor"),value:r.markerList[o].verticle,onChange:function(e){return i(e,"verticle",o)},min:-1e3,step:1,max:1e3}))))}))),React.createElement(we.Fragment,null,React.createElement(tt,{tabs:["general","styles"]}),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Image","woolentor"),initialOpen:!0},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"bgProperty",setAttributes:n,bgProperty:l})),React.createElement(ft,{title:(0,te.__)("Marker","woolentor")},React.createElement(oe.SelectControl,{label:(0,te.__)("Style","woolentor"),value:a,options:[{label:(0,te.__)("Style One","woolentor"),value:"1"},{label:(0,te.__)("Style Two","woolentor"),value:"2"},{label:(0,te.__)("Style Three","woolentor"),value:"3"},{label:(0,te.__)("Style Four","woolentor"),value:"4"},{label:(0,te.__)("Style Five","woolentor"),value:"5"}],onChange:function(e){return n({style:e})}}),e,React.createElement(oe.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=ja(r.markerList);e.push({title:(0,te.__)("Marker Item #"+(r.markerList.length+1),"woolentor"),content:"",horizontal:"",verticle:""}),n({markerList:e}),t.setState({activeClass:r.markerList.length})}.bind(this)},(0,te.__)("Add Marker","woolentor")))),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Marker","woolentor"),initialOpen:!0},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:r.markerColor,onChange:function(e){return n({markerColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:r.markerBGColor,onChange:function(e){return n({markerBGColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:r.markerBorderColor,onChange:function(e){return n({markerBorderColor:e})}})),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:r.markerBorderRadius,attributesKey:"markerBorderRadius",setAttributes:n}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:r.markerPadding,attributesKey:"markerPadding",setAttributes:n})),React.createElement(ft,{title:(0,te.__)("Content Area","woolentor")},React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:r.markerContentBGColor,onChange:function(e){return n({markerContentBGColor:e})}})),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:r.markerContentBorderRadius,attributesKey:"markerContentBorderRadius",setAttributes:n}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:r.markerContentPadding,attributesKey:"markerContentPadding",setAttributes:n})),React.createElement(ft,{title:(0,te.__)("Marker Title","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:r.markerTitleColor,onChange:function(e){return n({markerTitleColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:r.markerTitleSize,fallbackFontSize:r.markerTitleSize,onChange:function(e){return n({markerTitleSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:r.markerTitleMargin,attributesKey:"markerTitleMargin",setAttributes:n})),React.createElement(ft,{title:(0,te.__)("Marker Description","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:r.markerDescriptionColor,onChange:function(e){return n({markerDescriptionColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:r.markerDescriptionSize,fallbackFontSize:r.markerDescriptionSize,onChange:function(e){return n({markerDescriptionSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:r.markerDescriptionMargin,attributesKey:"markerDescriptionMargin",setAttributes:n}))))}}],o&&Ia(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const qa=Da;function Ka(e){return Ka="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ka(e)}var Ua,Qa,Va;function Ya(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Za(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ja(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Xa(e,t){return Xa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Xa(e,t)}function $a(e,t){if(t&&("object"===Ka(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},el(e)}var tl=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Xa(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=el(r);if(n){var o=el(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return $a(this,e)});function l(){return Za(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=(e.name,e.attributes),o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.bgProperty;""==l&&n({blockUniqId:a});var c,u,s,d=function(e){var o=t[e]?t[e]:{},r="";if(""!=o.top||""!=o.right||""!=o.bottom||""!=o.left){var n=o.unit?o.unit:"px";r=o.top?r+o.top+n+" ":"0"+n+" ",r=o.right?r+o.right+n+" ":"0"+n+" ",r=o.bottom?r+o.bottom+n+" ":"0"+n+" ",r=o.left?r+o.left+n+" ":"0"+n+" "}return r},m=st()((c={},u="wlb-marker-style-".concat(t.style),s=t.style,u in c?Object.defineProperty(c,u,{value:s,enumerable:!0,configurable:!0,writable:!0}):c[u]=s,c)),p=wn.div(Ua||(Ua=Ya(["\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t\n\t\t\t& .wlb_image_pointer{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\n\t\t\t& .wlb_image_pointer::before{\n\t\t\t\t",";\n\t\t\t}\n\n\t\t\t& .wlb_image_pointer .wlb_pointer_box{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t"])),i.imageUrl&&"background-image:url("+i.imageUrl+")",i.position&&"background-position:"+i.position,i.attachment&&"background-attachment:"+i.attachment,i.repeat&&"background-repeat:"+i.repeat,i.size&&"background-size:"+i.size,t.markerBGColor&&"background-color:"+t.markerBGColor,t.markerBorderColor&&"border-color:"+t.markerBorderColor,t.markerBorderRadius&&"border-radius:"+d("markerBorderRadius"),t.markerPadding&&"padding:"+d("markerPadding"),t.markerColor&&"color:"+t.markerColor,t.markerContentBGColor&&"background-color:"+t.markerContentBGColor,t.markerContentBorderRadius&&"border-radius:"+d("markerContentBorderRadius"),t.markerContentPadding&&"padding:"+d("markerContentPadding")),f=wn.h4(Qa||(Qa=Ya(["\n\t\t\t"," !important;\n\t\t\t"," !important;\n\t\t\t"," !important;\n\t\t"])),t.markerTitleColor&&"color:"+t.markerTitleColor,t.markerTitleSize&&"font-size:"+t.markerTitleSize,t.markerTitleMargin&&"margin:"+d("markerTitleMargin")),g=wn.p(Va||(Va=Ya(["\n\t\t\t"," !important;\n\t\t\t"," !important;\n\t\t\t"," !important;\n\t\t"])),t.markerDescriptionColor&&"color:"+t.markerDescriptionColor,t.markerDescriptionSize&&"font-size:"+t.markerDescriptionSize,t.markerDescriptionMargin&&"margin:"+d("markerDescriptionMargin")),b=t.markerList.map((function(e,t){return React.createElement("div",{key:t,className:"wlb_image_pointer",style:{left:"".concat(e.horizontal,"%"),top:"".concat(e.verticle,"%")}},React.createElement("div",{className:"wlb_pointer_box"},e.title&&React.createElement(f,null,e.title),e.content&&React.createElement(g,null,e.content)))}));return React.createElement(we.Fragment,null,r&&React.createElement(qa,this.props),React.createElement("div",{className:o},React.createElement(p,{className:m},b)))}}],o&&Ja(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const ol=tl,rl=JSON.parse('{"name":"woolentor/image-marker","category":"woolentor-blocks","title":"Image Marker","attributes":{"blockUniqId":{"type":"string","default":""},"bgProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""}},"style":{"type":"string","default":"1"},"markerList":{"type":"array","default":[{"title":"Marker One","content":"Lorem ipsum pisaci volupt atem accusa saes ntisdumtiu loperm asaerks.","horizontal":50,"verticle":15},{"title":"Marker Two","content":"Lorem ipsum pisaci volupt atem accusa saes ntisdumtiu loperm asaerks.","horizontal":40,"verticle":20},{"title":"Marker Three","content":"Lorem ipsum pisaci volupt atem accusa saes ntisdumtiu loperm asaerks.","horizontal":60,"verticle":30}]},"markerColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer::before { color: {{markerColor}}; }"}},"markerBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer { background-color: {{markerBGColor}}; }"}},"markerBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer { border-color: {{markerBorderColor}}; }"}},"markerBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer { border-radius: {{markerBorderRadius}}; }"}},"markerPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer { padding: {{markerPadding}}; }"}},"markerContentBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box { background-color: {{markerContentBGColor}}; }"}},"markerContentBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box { border-radius: {{markerContentBorderRadius}}; }"}},"markerContentPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box { padding: {{markerContentPadding}}; }"}},"markerTitleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box h4 { color: {{markerTitleColor}}; }"}},"markerTitleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box h4 { font-size: {{markerTitleSize}}; }"}},"markerTitleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box h4 { margin: {{markerTitleMargin}}; }"}},"markerDescriptionColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box p { color: {{markerDescriptionColor}}; }"}},"markerDescriptionSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box p { font-size: {{markerDescriptionSize}}; }"}},"markerDescriptionMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box p { margin: {{markerDescriptionMargin}}; }"}}}}'),nl=React.createElement("svg",{id:"_x31_","enable-background":"new 0 0 24 24",height:"512",viewBox:"0 0 193.826 193.826",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M191.495,55.511L137.449,1.465c-1.951-1.953-5.119-1.953-7.07,0l-0.229,0.229c-3.314,3.313-5.14,7.72-5.14,12.406 c0,3.019,0.767,5.916,2.192,8.485l-56.55,48.533c-4.328-3.868-9.852-5.985-15.703-5.985c-6.305,0-12.232,2.455-16.689,6.913 l-0.339,0.339c-1.953,1.952-1.953,5.118,0,7.07l32.378,32.378l-31.534,31.533c-0.631,0.649-15.557,16.03-25.37,28.27 c-9.345,11.653-11.193,13.788-11.289,13.898c-1.735,1.976-1.639,4.956,0.218,6.822c0.973,0.977,2.256,1.471,3.543,1.471 c1.173,0,2.349-0.41,3.295-1.237c0.083-0.072,2.169-1.885,13.898-11.289c12.238-9.813,27.619-24.74,28.318-25.421l31.483-31.483 l30.644,30.644c0.976,0.977,2.256,1.465,3.535,1.465s2.56-0.488,3.535-1.465l0.339-0.339c4.458-4.457,6.913-10.385,6.913-16.689 c0-5.851-2.118-11.375-5.985-15.703l48.533-56.55c2.569,1.425,5.466,2.192,8.485,2.192c4.687,0,9.093-1.825,12.406-5.14l0.229-0.229 C193.448,60.629,193.448,57.463,191.495,55.511z"}));var al=rl.name,ll=rl.category,il=rl.attributes,cl={title:(0,te.__)("WL : Image Marker","woolentor"),description:(0,te.__)("Display image marker.","woolentor"),icon:React.createElement(oe.Icon,{icon:nl}),keywords:["woolentor",(0,te.__)("shop idicator","woolentor"),(0,te.__)("image indicator","woolentor"),(0,te.__)("marker","woolentor"),(0,te.__)("image marker","woolentor")],supports:{align:["wide","full"]},attributes:il,edit:ol,save:function(){return null}};const ul=function(e){var t=e.attributes,o=e.setAttributes,r=t.title,n=t.subTitle,a=t.layout,l=t.featureImage;return React.createElement(we.Fragment,null,React.createElement(tt,{tabs:["general","styles"]}),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Content","woolentor"),initialOpen:!0},React.createElement(oe.SelectControl,{label:(0,te.__)("Layout","woolentor"),value:a,options:[{label:(0,te.__)("Layout One","woolentor"),value:"1"},{label:(0,te.__)("Layout Two","woolentor"),value:"2"},{label:(0,te.__)("Layout Three","woolentor"),value:"3"},{label:(0,te.__)("Layout Four","woolentor"),value:"4"},{label:(0,te.__)("Layout Five","woolentor"),value:"5"}],onChange:function(e){return o({layout:e})}}),React.createElement(no,{title:(0,te.__)("Image","woolentor"),ImageData:l,attributesKey:"featureImage",setAttributes:o}),React.createElement(oe.TextControl,{label:(0,te.__)("Title","woolentor"),value:r,onChange:function(e){return o({title:e})}}),React.createElement(oe.TextControl,{label:(0,te.__)("Sub Title","woolentor"),value:n,onChange:function(e){return o({subTitle:e})}}))),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Area","woolentor")},React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.areaBorderColor,onChange:function(e){return o({areaBorderColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Hover Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.areaHoverBorderColor,onChange:function(e){return o({areaHoverBorderColor:e})}})),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.areaBackgroundColor,onChange:function(e){return o({areaBackgroundColor:e})}}))),React.createElement(ft,{title:(0,te.__)("Title","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}})),React.createElement(ft,{title:(0,te.__)("Sub Title","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.subTitleColor,onChange:function(e){return o({subTitleColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.subTitleSize,fallbackFontSize:t.subTitleSize,onChange:function(e){return o({subTitleSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.subTitleMargin,attributesKey:"subTitleMargin",setAttributes:o}))))};function sl(e){return sl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sl(e)}function dl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ml(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function pl(e,t){return pl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},pl(e,t)}function fl(e,t){if(t&&("object"===sl(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function gl(e){return gl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gl(e)}var bl=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&pl(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=gl(r);if(n){var o=gl(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return fl(this,e)});function l(){return dl(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes;return React.createElement(we.Fragment,null,React.createElement(He.BlockControls,null,React.createElement(He.AlignmentToolbar,{value:t.textAlignment,onChange:function(e){return o({textAlignment:e})}})))}}],o&&ml(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const yl=bl;function _l(e){return _l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_l(e)}var Rl;function hl(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function wl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function El(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vl(e,t){return vl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},vl(e,t)}function Ol(e,t){if(t&&("object"===_l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Pl(e)}var Cl=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&vl(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Pl(r);if(n){var o=Pl(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Ol(this,e)});function l(){return wl(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=(e.name,e.className),o=e.attributes,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=o.blockUniqId,i=o.featureImage;""==l&&n({blockUniqId:a});var c,u,s=function(e){var t=o[e]?o[e]:{},r="";if(""!=t.top||""!=t.right||""!=t.bottom||""!=t.left){var n=t.unit?t.unit:"px";r=t.top?r+t.top+n+" ":"0"+n+" ",r=t.right?r+t.right+n+" ":"0"+n+" ",r=t.bottom?r+t.bottom+n+" ":"0"+n+" ",r=t.left?r+t.left+n+" ":"0"+n+" "}return r},d=st()(t,hl({},"woolentor-blocks ht-feature-wrap ht-feature-style-"+o.layout,o.layout),hl({},"woolentor-text-align-"+o.textAlignment,o.textAlignment)),m=wn.div(Rl||(c=["\n\t\t\t"," !important;\n\t\t\t",";\n\t\t\t"," !important;\n\t\t\t"," !important;\n\n\t\t\t&:hover{\n\t\t\t\t"," !important;\n\t\t\t}\n\n\t\t\t& .ht-feature-content h4{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\n\t\t\t& .ht-feature-content p{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t"],u||(u=c.slice(0)),Rl=Object.freeze(Object.defineProperties(c,{raw:{value:Object.freeze(u)}}))),o.areaBorderColor&&"border-color:"+o.areaBorderColor,o.areaBackgroundColor&&"background-color:"+o.areaBackgroundColor,o.areaMargin&&"margin:"+s("areaMargin"),o.areaPadding&&"padding:"+s("areaPadding"),o.areaHoverBorderColor&&"border-color:"+o.areaHoverBorderColor,o.titleColor&&"color:"+o.titleColor,o.titleSize&&"font-size:"+o.titleSize,o.titleMargin&&"margin:"+s("titleMargin"),o.subTitleColor&&"color:"+o.subTitleColor,o.subTitleSize&&"font-size:"+o.subTitleSize,o.subTitleMargin&&"margin:"+s("subTitleMargin"));return React.createElement(we.Fragment,null,r&&React.createElement(ul,this.props),r&&React.createElement(yl,this.props),React.createElement("div",{className:d},React.createElement(m,{className:"ht-feature-inner"},i.url&&React.createElement("div",{className:"ht-feature-img"},React.createElement("img",{src:i.url,alt:o.title})),React.createElement("div",{className:"ht-feature-content"},o.title&&React.createElement("h4",null,o.title),o.subTitle&&React.createElement("p",null,o.subTitle)))))}}],o&&El(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const Bl=Cl,kl=JSON.parse('{"name":"woolentor/store-feature","category":"woolentor-blocks","title":"Store Feature","supports":{"align":true},"attributes":{"blockUniqId":{"type":"string","default":""},"layout":{"type":"string","default":"1"},"featureImage":{"type":"object","default":{"id":null,"url":""}},"title":{"type":"string","default":"Free shipping"},"subTitle":{"type":"string","default":"Start from $100"},"textAlignment":{"type":"string","default":"center"},"areaBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-feature-inner { border-color: {{areaBorderColor}}; }"}},"areaHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap:hover .ht-feature-inner { border-color: {{areaHoverBorderColor}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-inner { margin: {{areaMargin}}; }"}},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-inner { padding: {{areaPadding}}; }"}},"areaBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap { background-color: {{areaBackgroundColor}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content h4 { color: {{titleColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content h4 { font-size: {{titleSize}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content h4 { margin: {{titleMargin}}; }"}},"subTitleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content p { color: {{subTitleColor}}; }"}},"subTitleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content p { font-size: {{subTitleSize}}; }"}},"subTitleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content p { margin: {{subTitleMargin}}; }"}}}}'),Al=React.createElement("svg",{viewBox:"-27 0 512 512.00001",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m399.996094 0h-341.996094c-31.980469 0-58 26.019531-58 58v369.996094c0 16.542968 13.457031 30 30 30h131.332031c5.523438 0 10-4.476563 10-10 0-5.523438-4.476562-10-10-10h-131.332031c-5.515625 0-10-4.484375-10-10v-369.996094c0-20.953125 17.046875-38 38-38h298.234375c-8.855469 10.1875-14.238281 23.472656-14.238281 38v322.265625c0 9.226563-7.503906 16.730469-16.730469 16.730469-7.210937 0-13.589844-4.597656-15.875-11.4375l-15.070313-45.21875c-4.253906-12.765625-16.15625-21.339844-29.609374-21.339844-17.210938 0-31.210938 14-31.210938 31.207031v7.789063h-51.832031c-5.523438 0-10 4.480468-10 10 0 5.523437 4.476562 10 10 10h51.832031v49.75c0 14.765625 2.878906 29.164062 8.558594 42.789062l14.710937 35.308594c1.601563 3.839844 5.316407 6.15625 9.234375 6.15625 1.28125 0 2.585938-.246094 3.839844-.769531 5.101562-2.125 7.511719-7.980469 5.386719-13.078125l-14.710938-35.308594c-4.65625-11.175781-7.019531-22.984375-7.019531-35.09375v-77.539062c0-6.183594 5.027344-11.210938 11.210938-11.210938 4.832031 0 9.109374 3.078125 10.636718 7.664062l15.070313 45.21875c5.007812 15.019532 19.011719 25.113282 34.847656 25.113282 20.253906 0 36.730469-16.476563 36.730469-36.730469v-171.449219l13.363281 13.335938c23.84375 23.796875 36.972656 55.457031 36.972656 89.140625v106.300781c0 27.535156-6.238281 55.238281-18.035156 80.117188-2.367187 4.988281-.238281 10.953124 4.75 13.320312s10.953125.242188 13.320313-4.75c13.058593-27.539062 19.964843-58.207031 19.964843-88.6875v-106.300781c0-39.035157-15.214843-75.71875-42.84375-103.296875l-27.492187-27.441406v-9.554688h66c16.542968 0 30-13.457031 30-30v-83c0-31.980469-26.015625-58-58-58zm38 141c0 5.511719-4.484375 10-10 10h-66v-93c0-20.953125 17.046875-38 38-38s38 17.046875 38 38zm0 0"}),React.createElement("path",{d:"m205 437.996094c-2.632812 0-5.210938 1.070312-7.070312 2.929687-1.859376 1.863281-2.929688 4.441407-2.929688 7.070313 0 2.632812 1.070312 5.210937 2.929688 7.070312 1.859374 1.859375 4.4375 2.929688 7.070312 2.929688 2.628906 0 5.207031-1.070313 7.070312-2.929688 1.859376-1.859375 2.929688-4.4375 2.929688-7.070312 0-2.628906-1.070312-5.207032-2.929688-7.070313-1.863281-1.859375-4.441406-2.929687-7.070312-2.929687zm0 0"}),React.createElement("path",{d:"m137.667969 74c0-11.027344-8.972657-20-20-20h-44c-11.03125 0-20 8.972656-20 20v44c0 11.027344 8.96875 20 20 20h44c11.027343 0 20-8.972656 20-20zm-20 44h-44v-44h44l.011719 44s-.003907 0-.011719 0zm0 0"}),React.createElement("path",{d:"m137.667969 194c0-11.027344-8.972657-20-20-20h-44c-11.03125 0-20 8.972656-20 20v44c0 11.027344 8.96875 20 20 20h44c11.027343 0 20-8.972656 20-20zm-20 44h-44v-44h44l.011719 44s-.003907 0-.011719 0zm0 0"}),React.createElement("path",{d:"m117.667969 294h-44c-11.03125 0-20 8.96875-20 20v43.996094c0 11.03125 8.96875 20 20 20h44c11.027343 0 20-8.96875 20-20v-43.996094c0-11.03125-8.972657-20-20-20zm0 63.996094h-44v-43.996094h44l.011719 43.996094s-.003907 0-.011719 0zm0 0"}),React.createElement("path",{d:"m296.332031 138c5.523438 0 10-4.476562 10-10s-4.476562-10-10-10h-68.9375c-5.523437 0-10 4.476562-10 10s4.476563 10 10 10zm0 0"}),React.createElement("path",{d:"m181.667969 138c2.632812 0 5.210937-1.070312 7.070312-2.929688 1.859375-1.859374 2.929688-4.441406 2.929688-7.070312s-1.070313-5.210938-2.929688-7.070312c-1.859375-1.859376-4.4375-2.929688-7.070312-2.929688-2.640625 0-5.210938 1.070312-7.070313 2.929688-1.867187 1.859374-2.929687 4.441406-2.929687 7.070312s1.0625 5.210938 2.929687 7.070312c1.859375 1.859376 4.429688 2.929688 7.070313 2.929688zm0 0"}),React.createElement("path",{d:"m181.664062 258h114.667969c5.523438 0 10-4.476562 10-10s-4.476562-10-10-10h-114.667969c-5.519531 0-10 4.476562-10 10s4.480469 10 10 10zm0 0"}));var Tl=kl.name,Wl=kl.category,Sl=kl.attributes,xl={title:(0,te.__)("WL : Store Feature","woolentor"),description:(0,te.__)("Display store feature.","woolentor"),icon:React.createElement(oe.Icon,{icon:Al}),keywords:["woolentor",(0,te.__)("shop feature","woolentor"),(0,te.__)("feature","woolentor"),(0,te.__)("store","woolentor")],example:{attributes:{style:"1"}},attributes:Sl,supports:{align:["wide","full"]},edit:Bl,save:function(){return null}},zl=[{label:(0,te.__)("H1","woolentor"),value:"h1"},{label:(0,te.__)("H2","woolentor"),value:"h2"},{label:(0,te.__)("H3","woolentor"),value:"h3"},{label:(0,te.__)("H4","woolentor"),value:"h4"},{label:(0,te.__)("H5","woolentor"),value:"h5"},{label:(0,te.__)("H6","woolentor"),value:"h6"},{label:(0,te.__)("P","woolentor"),value:"p"},{label:(0,te.__)("div","woolentor"),value:"div"},{label:(0,te.__)("span","woolentor"),value:"span"}],Ll=[{label:(0,te.__)("None","woolentor"),value:""},{label:(0,te.__)("Solid","woolentor"),value:"solid"},{label:(0,te.__)("Double","woolentor"),value:"double"},{label:(0,te.__)("Dotted","woolentor"),value:"dotted"},{label:(0,te.__)("Dashed","woolentor"),value:"dashed"},{label:(0,te.__)("Groove","woolentor"),value:"groove"},{label:(0,te.__)("Inset","woolentor"),value:"inset"},{label:(0,te.__)("Outset","woolentor"),value:"outset"},{label:(0,te.__)("Ridge","woolentor"),value:"ridge"}];function Nl(e){return function(e){if(Array.isArray(e))return Ml(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||jl(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jl(e,t){if(e){if("string"==typeof e)return Ml(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Ml(e,t):void 0}}function Ml(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}(0,te.__)("Recent Products","woolentor"),(0,te.__)("Featured Products","woolentor"),(0,te.__)("Best Selling Products","woolentor"),(0,te.__)("Sale Products","woolentor"),(0,te.__)("Top Rated Products","woolentor"),(0,te.__)("Mixed order Products","woolentor"),(0,te.__)("Descending","woolentor"),(0,te.__)("Ascending","woolentor"),(0,te.__)("None","woolentor"),(0,te.__)("ID","woolentor"),(0,te.__)("Date","woolentor"),(0,te.__)("Name","woolentor"),(0,te.__)("Title","woolentor"),(0,te.__)("Comment count","woolentor"),(0,te.__)("Random","woolentor"),(0,te.__)(React.createElement(oe.Dashicon,{icon:"editor-alignleft"})),(0,te.__)(React.createElement(oe.Dashicon,{icon:"editor-aligncenter"})),(0,te.__)(React.createElement(oe.Dashicon,{icon:"editor-alignright"})),(0,te.__)(React.createElement(oe.Dashicon,{icon:"editor-justify"})),(0,te.__)(React.createElement(oe.Dashicon,{icon:"desktop"})),(0,te.__)(React.createElement(oe.Dashicon,{icon:"laptop"})),(0,te.__)(React.createElement(oe.Dashicon,{icon:"tablet"})),(0,te.__)(React.createElement(oe.Dashicon,{icon:"smartphone"}));const Il=function(e){var t,o=e.attributes,r=e.setAttributes,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a=[],_n=!0,l=!1;try{for(o=o.call(e);!(_n=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);_n=!0);}catch(e){l=!0,n=e}finally{try{_n||null==o.return||o.return()}finally{if(l)throw n}}return a}}(e,t)||jl(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,we.useState)(!1),2),a=n[0],l=n[1],i=(o.columns,o.noGutter),c=function(e,t,n){var a=Nl(o.brandLogoList);a[n][t]=e,r({brandLogoList:a})},u=["image","png"],s=React.createElement("p",null,(0,te.__)("To edit the banner image, you need permission to upload media.","woolentor")),d=function(e,t){var n=Nl(o.brandLogoList);n[t].image.id=e.id,n[t].image.url=e.url,r({brandLogoList:n})};return o.brandLogoList.length>0&&(t=o.brandLogoList.map((function(e,t){var n=a===t?"woolentor_active_repeter":"";return React.createElement(we.Fragment,{key:t},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,t){l(t!==a&&t)}(0,t)}},React.createElement("div",{className:"woolentor_repeater-item-title"},o.brandLogoList[t].title),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(oe.Button,{className:"woolentor__remove-marker",icon:"no-alt",label:(0,te.__)("Delete Brand","woolentor"),onClick:function(){return function(e){var t=Nl(o.brandLogoList);t.splice(e,1),r({brandLogoList:t})}(t)}}))),React.createElement("div",{className:n+" woolentor_repeater-controls"},React.createElement(oe.TextControl,{label:(0,te.__)("Brand Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,te.__)("Brand Title","woolentor"),value:o.brandLogoList[t].title,onChange:function(e){return c(e,"title",t)}}),React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement(He.MediaUploadCheck,{fallback:s},React.createElement(He.MediaUpload,{title:(0,te.__)("Choose Image","woolentor"),onSelect:function(e){return d(e,t)},allowedTypes:u,value:o.brandLogoList[t].image.id,render:function(e){var r=e.open;return React.createElement(oe.Button,{className:o.brandLogoList[t].image.id?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:r},o.brandLogoList[t].image.id?React.createElement("img",{src:o.brandLogoList[t].image.url,alt:o.brandLogoList[t].title}):(0,te.__)("Choose Image","woolentor"))}})),!!o.brandLogoList[t].image.id&&React.createElement(He.MediaUploadCheck,null,React.createElement(He.MediaUpload,{title:(0,te.__)("Choose Image","woolentor"),onSelect:function(e){return d(e,t)},allowedTypes:u,value:o.brandLogoList[t].image.id,render:function(e){var t=e.open;return React.createElement(oe.Button,{onClick:t,variant:"secondary"},(0,te.__)("Replace image","woolentor"))}})),!!o.brandLogoList[t].image.id&&React.createElement(He.MediaUploadCheck,null,React.createElement(oe.Button,{onClick:function(){return function(e){var t=Nl(o.brandLogoList);t[e].image.id=void 0,t[e].image.url=void 0,r({brandLogoList:t})}(t)},isLink:!0,isDestructive:!0},(0,te.__)("Remove image","woolentor")))),React.createElement(oe.TextControl,{label:(0,te.__)("Brand Link","woolentor"),value:o.brandLogoList[t].link,placeholder:(0,te.__)("https://your-site.com","woolentor"),onChange:function(e){return c(e,"link",t)}}))))}))),React.createElement(we.Fragment,null,React.createElement(tt,{tabs:["general","styles"]}),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Brand Logo","woolentor"),initialOpen:!0},t,React.createElement(oe.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=Nl(o.brandLogoList);e.push({title:(0,te.__)("Brand Item #"+(o.brandLogoList.length+1),"woolentor"),image:{id:"",url:""},link:""}),r({brandLogoList:e}),l(o.brandLogoList.length)}.bind(void 0)},(0,te.__)("Add Brand","woolentor"))),React.createElement(ft,{title:(0,te.__)("Brand Option","woolentor")},React.createElement(Ao,{label:"Column",attribute:"columns",responsive:!0,max:10}),React.createElement(oe.ToggleControl,{label:(0,te.__)("No Gutters","woolentor"),checked:i,help:i?(0,te.__)("Enable No Gutters.","woolentor"):(0,te.__)("Toggle to show the Gutters.","woolentor"),onChange:function(){return r({noGutter:!i})}}),!i&&React.createElement(oe.RangeControl,{label:(0,te.__)("Gutter Spacing","woolentor"),value:o.itemSpace,onChange:function(e){return r({itemSpace:e})},min:0,step:1,max:200}))),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Brand Item","woolentor")},React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:o.singleItemAreaBorderType,options:Ll,onChange:function(e){return r({singleItemAreaBorderType:e})}}),o.singleItemAreaBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:o.singleItemAreaBorderWidth,attributesKey:"singleItemAreaBorderWidth",setAttributes:r}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:o.singleItemAreaBorderColor,onChange:function(e){return r({singleItemAreaBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:o.singleItemAreaBorderRadius,attributesKey:"singleItemAreaBorderRadius",setAttributes:r}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:o.singleItemAreaMargin,attributesKey:"singleItemAreaMargin",setAttributes:r}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:o.singleItemAreaPadding,attributesKey:"singleItemAreaPadding",setAttributes:r}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"brandAlignment",justified:!0})),React.createElement(ft,{title:(0,te.__)("Brand Image","woolentor")},React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:o.brandImageBorderType,options:Ll,onChange:function(e){return r({brandImageBorderType:e})}}),o.brandImageBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:o.brandImageBorderWidth,attributesKey:"brandImageBorderWidth",setAttributes:r}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:o.brandImageBorderColor,onChange:function(e){return r({brandImageBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:o.brandImageBorderRadius,attributesKey:"brandImageBorderRadius",setAttributes:r}))))};function Hl(e){return Hl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hl(e)}var Fl,Gl;function Dl(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function ql(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Kl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ul(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ql(e,t){return Ql=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ql(e,t)}function Vl(e,t){if(t&&("object"===Hl(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Yl(e)}var Zl=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",width:"250",height:"150",viewBox:"0 0 300 300"},React.createElement("image",{id:"woolentor-logo",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADHFJREFUeNrsXU2IHMcV7m7NSnEU8IAvvgQmEHTV+JCDNwaN4oB1UNAIx7nO7sWQ5CBtcvAlYS0CAZ9GOoSActjZUyDESGZ9kA7OjEDWHrW6GoHHOAcfEphAHMjuaif12tWT3pn++arrVf/Wg2Z3pZme7npffe97r17XuE7N7Ot3e23xoysP+v2S/K+OPFCbyJ9TcXwhjgP6/fzdyUGdxsutgcPJ0T3p6K6ik7PaRALiEf0uQDGzAMh3hvfFcU06vl2CyyIwfCSO+1VjCLeCTu+X/HIpZNwXx24VwOCW3PE0wwfi2KgowxIA7khmmFkA4I4nh9+QMb0ONmv9+J3R2Xd+ccd13akFQLLjt3MScrnat37zJ8f77vfp15E4bpUFCK51vHkjxxMAloyAsCWAUGhoaJUgxm9LNV9ba73+VtQ/E+j78/mcwsL7jWIAqeqHFRZ3SvbS7//suK+8mpY5bAogTHJnpwKcT2nc501x/pkL3TTnk3VOvnw+FmMzlJOjfgCgGxPHjvj1nlOO4k0+AFh/C3rd8f5D+nFTHE9laKwPAGS59mlTZv0pAFx8A3rdi4PHCzYQB7HB+7UAgFT4T+uq8BOd333Dcb/9ndTXnXx24Mz/+dXyP2+LsRubDgmeYecT5e84DbUz3R9i9P/kYdx/9WRI6FYKADLej5tI+Yv0Ssz81utXMPp/9jhRIMqQ0K8EACRljeue23PG/vl//p32MhrTezKclhcAIbHXdRpuMP3vP1Q57Q43CDxm54+bKPai6J8EYJrRzA+p/0JA4DE7v+1Yc87wxP5cQOAxOL8tlb51vrSY2n9E/P9U52NYQOAxOH9sY36I/l95NVj2TaZ/kfdnoH92EOgywD3r/GXxp1z507WhTp3A05j9w6anelG29ubbJtR/WoqYuWLoZXQ+0c5N6+6lwRTUD6z8+fR/8uVzzo8OQrF5AEi6GVp3Zxd/jLM/bF3JyuYAYBU/T/w/fvLA1CXcVC0ZqzLAthV9Mc7HGj986o9Y+eO0HRU9AAPgcG/Us3E/AQDrhdL/sh7YYQXAfD5vr10d7CAIbywALuae/iVZHw0FKAPQzO+gKU4TYz/S+OGv/Jmlf+VQ4AGzvyNjP1zjtuo/DgCf5nlZ7cBvugywiCfoKleTTGVMNBZ/dLKCTmYAiNlPwq+XBe029kfQf3rjh5FQoMMA25HxzorB0HgYafzgtF5Sm3lLZfYv3rR+xTnaG1n6FxOBs/GDzkdCO1hNPBGC8Whvl0M40kSeqDLAtq7oaYL654r9dC56gLT15k8d70LXP6iplB4ra+mL71gW8FRnvwryrfrH1D8JybOD92JTybMb73GE3RsqDHCDK/bVmf65Gj8ovU6rIzDUYPpRGcEKAOSL+unovwIVP2o7+9fBvj8g9iNMgoAtCwtEMcAGWq4sqjBEg0GLL0yDYpT+09Q/3UOO97GBZAEDillIjCdaOv7kr7k6/tzPf3cqHhLFHo4+cF58dpDrdXA1fqBAYmogoSe2Ns7fnYwiGUAqxc7x/gOoaOGLwQvd/Jz/q+HKwNPf5349zO06VJx29MmHbJkEci7QriWFgMEidu1jTQvoMqiuJankhVLOSZNwNX6iTMLcQ9APLxItA6Cvirg8xCB9RlqcpIGkHDoP53M5rZV/A+mKn70Q/QebK/8/foFxFa2HZ0q3BLjWfvZL6LVrVwfGBRVn6bfAHoJrUQwwWLmJJxjyWgb7BGhWqzAMhQqjAECdlhJCNTeP0LVeFAB6qyjGxKCpVMavjV8dKItFU6FAqfEjZdwYNo/QzQZ6CwCE9thfvRlwDdsEC5wFqT8qFJhYseQs/cJMYq6HoBdmgF4sAkExSDfEKQYprcu63uDX1jOCJ9FpTIs/6FgZ7iG4FAZAN0nNIkUIFVRDs1jTgeQszgUr9N6QsInSv+EWslMMcCnxptCUkCkMIGkfR+3AhPqH6B/sITjef2ASAH7ml8oAAaWhYlA39qqkfdC5FEVknBjlavwoQewPW9eTArCdemPgBekuW6qmfcj5dMvEnI0fKEvm1EHc8RzwUa8XYDqis0KokvapiCNdRoHVf8oYwT0E2fYOymIXCQAd6ObAgoTK/ng6ad/hH38LVypp0Nd+spEZlHDjR8r1wExiOPaH6wEwAMjg9YEMC0QqaR/NDhrs/44+wGfxj97OpE/WYMp+zHauHDuIewSAl9FXo8j0wCdlT83+DbyEe/iXPyxm3dHHu7AgPLehXiaGH/kGGj8K2jwi+bochce9VVITtGVqIfxAwJDDw6GI2tPRWnnQaQsPTgGNHznF/lMAUDJUDKI3rJKq+QCM6EA6VAgFJAjRLKPijR+GAICKQTB39uv2oEOOBPVHqX+6JrQ1TaXOAG/4mJb7l2fziEgAdFTfhIqUtBmk0sRBg5MUfvzQAKaGFAbSagPwci3gtBJtHsEEAHCPm7TuGRVRdiSFX1J4ONzFQ0FaC1lNGj/4Q8Ai5wUvNk4MnpGPP6mkfcjr0NpAGvvUpPHDDAA4wkCWtA8xqg2goSCuhQztc6xA44c5AKDbnUS1juukfQg7obUBH4gRgpBz5a9lfudwbQBMTbNAWARxpH2p1yXegxZT/NpAKBQo7fX/jGnlr7jNIzQBAIrBMKVypH1Q2FAQhOFrUlmurUjjh5kQENAt3DpOIGBM+6D3K9QGgm5idB2jSo0fxgCgIl5oIYQz7ePWD+SsYHMGiP6BR77LHPvDANB6qlLlOUI07aNzcjzs6dcGFICELkdDjR/l3DouEgD/0j0J5/o1OY32xeEyv4bAXGBJ65HM+VtDihOBC6plXMA4/tuH7AUREoRcKhtZ+SvgW0Oy2oQFAFxr2HQeE/sN+Kzy8S4boyB6hzONLrUGQGkRYpK9XWP5sF8bYNAVVW38iLFH3vm7k5n4ZaY9M57pFTPIOabToUPNzAJ5SKbgbw1RtWmQBmpPDZXW8bjZb9rIeTqhAFr5K/5bQ1TsIADAoyLDAFfahwFtlFlkVrnxI8oE+x+wMQBKkabTPigUKLSQqTitzI0fURlAIAIXfxTBAibSvtSZnEFvIPdV5saPKAG4AIAUgiwsoKIDTKV9UChQXGhKXfkr57eGwAzAxgIqixsm0z4o9IBZAWfjR9GlX2kzMel9f4c3ivzIYfpWMGodT2uEyCPtQ8Qnrf6lrVFwNn7Qw6Gt9WJ3W58fH0+cuz9wTgGAEPH1uz0KBdpfCkkxlhycNLB5C784oxYy2qY9jr6RZWmVjTGK3N52abI7yyGA7D7bwNLDmxEZgb9Cl/PWrmk6JG6tgK4faSyp4M7pCz+74X+V3zV3j/OTSBwFqA/W0UsiglZoPLxt+/wfX0Ehil7/0nCvUs53Xfd6JAAkCD53Mjwr0FSj4g/tVVwh2xQAGMWFALJd69ba2izs/DgAjOw44Xby9+dVutwV364AQGQDU04xWHfL2rpekN1JBUDcC63FGy0zF13TAMXfdEXExr1aiMGxk7CDqLVoQUgpYUly/dMz/UL3sgDARAUA5PyxdWstbCJC++VIYMS9Q9aKJ3bsamG3Ypkh6xutVWr2TzIBwLJALWwrURsAJ9i0Y1hZu01tX1oAkHUBGwqqZzPEb+jDobcdhgdIrOVL/bLTK9Fc9Gw2LaxH2peVAQJBeNuObSWoH9ZtqvsDUEw5sGNcatuUuo0fADKmbDoMj5JZM2Ij4SOlhTzlHUJkWrFlx7p0lskvbtZPE6Jwx4n4PnprhcX911SoXxsAEgR2xbAc9lpawYctBCzZdSsKSyH6MvvA1f10+a1j1Ejatr4oxPkjnRNobxMnM4PLNjPI3W7pOp+FAUJMQI8BjS0T5JbusSzSeVxXJOOQZQLztsXlfFYGCDFBx/nm6aKu9VX5Yr5xAISE4diCgDXP3+J2vjEAhIBgi0U8zr+sk+rlogFidAHFKls2zm7k9O+Zcr5xBljKEEgXdKxPYaN2LuOTx83rbqQuoJDQt75NpfzrSZ28lQRACAh9CQRbL1i1+1Lp55ZKu0XcpWSDoRWIC5tKx0/y/mC3yLuWfYbDBqeLNNPvyHhfSAHNLcMoCCAQE2w3TCRSTn8ryxp+7QDQMCCUwvGlBECNgTCTAq80ji81AJY0wqDCYnEqY/yoqBhfaQAsZQ2UPt6ogGCcSZrfNVnBaxQAlsBAYYGY4ZpTnqISOXpSFadXGgAxYYKOi/JnO0eHP3O+eQxrWtXxqzwAYhgiYImXQyGjl8HJMxnHv5B/T6s2w9PsfwIMAOhUCXLerUHIAAAAAElFTkSuQmCC"})),Jl=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ql(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Yl(r);if(n){var o=Yl(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Vl(this,e)});function l(){return Kl(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.className,o=e.attributes,r=e.isSelected,n=e.setAttributes,a=e.clientId;""==o.blockUniqId&&n({blockUniqId:a});var l=st()(t,ql({},"woolentor-grid-columns-".concat(o.columns.desktop),o.columns.desktop),ql({},"woolentor-grid-columns-laptop-".concat(o.columns.laptop),o.columns.laptop),ql({},"woolentor-grid-columns-tablet-".concat(o.columns.tablet),o.columns.tablet),ql({},"woolentor-grid-columns-mobile-".concat(o.columns.mobile),o.columns.mobile)),i=wn.div(Fl||(Fl=Dl(["\n\t\t\t& .woolentor-grid:not(.woolentor-no-gutters){\n\t\t\t\t","\n\t\t\t}\n\t\t"])),!o.noGutter&&"column-gap: "+o.itemSpace+"px;"),c=wn.div(Gl||(Gl=Dl(["\n\t\t\t& .wl-single-brand{\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t}\n\t\t\t& img,.woolentor-default-brand{\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t}\n\t\t"])),Mo(o.singleItemAreaBorderType,"border-style"),Io(o.singleItemAreaBorderWidth,"border-width"),Mo(o.singleItemAreaBorderColor,"border-color"),Io(o.singleItemAreaBorderRadius,"border-radius"),Io(o.singleItemAreaMargin,"margin"),Io(o.singleItemAreaPadding,"padding"),Mo(o.brandAlignment,"text-align"),Mo(o.brandImageBorderType,"border-style"),Io(o.brandImageBorderWidth,"border-width"),Mo(o.brandImageBorderColor,"border-color"),Io(o.brandImageBorderRadius,"border-radius")),u=o.brandLogoList.map((function(e,t){return React.createElement(c,{className:"woolentor-grid-column"},React.createElement("div",{className:"wl-single-brand"},e.image.url?React.createElement("img",{src:e.image.url,alt:e.title}):React.createElement("div",{className:"woolentor-default-brand"},Zl)))}));return React.createElement(we.Fragment,null,r&&React.createElement(Il,this.props),React.createElement(i,{className:l},React.createElement("div",{className:!0===o.noGutter?"woolentor-grid woolentor-no-gutters":"woolentor-grid"},u)))}}],o&&Ul(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const Xl=Jl,$l=JSON.parse('{"name":"woolentor/brand-logo","category":"woolentor-blocks","title":"Brand Logo","attributes":{"blockUniqId":{"type":"string","default":""},"brandLogoList":{"type":"array","default":[{"title":"Brand Title One","image":{"id":"","url":""}},{"title":"Brand Title Two","image":{"id":"","url":""}},{"title":"Brand Title Three","image":{"id":"","url":""}}]},"columns":{"type":"object","default":{"desktop":6}},"noGutter":{"type":"boolean","default":false},"itemSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{itemSpace}}px; }"}},"singleItemAreaBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { border-style: {{singleItemAreaBorderType}}; }"}},"singleItemAreaBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"singleItemAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { border-width: {{singleItemAreaBorderWidth}}; }"}},"singleItemAreaBorderColor":{"type":"string","style":{"dependency":[[{"key":"singleItemAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { border-color: {{singleItemAreaBorderColor}}; }"}},"singleItemAreaBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { border-radius: {{singleItemAreaBorderRadius}}; }"}},"singleItemAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { margin: {{singleItemAreaMargin}}; }"}},"singleItemAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { padding: {{singleItemAreaPadding}}; }"}},"brandAlignment":{"type":"string","default":"center","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { text-align: {{brandAlignment}}; }"}},"brandImageBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand img{ border-style: {{brandImageBorderType}}; }"}},"brandImageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"brandImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand img{ border-width: {{brandImageBorderWidth}}; }"}},"brandImageBorderColor":{"type":"string","style":{"dependency":[[{"key":"brandImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand img{ border-color: {{brandImageBorderColor}}; }"}},"brandImageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand img{ border-radius: {{brandImageBorderRadius}}; }"}}}}'),ei=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512 512"},React.createElement("path",{d:"M166,0H75C33.645,0,0,33.645,0,75v91c0,41.355,33.645,75,75,75h91c41.355,0,75-33.645,75-75V75 C241,33.645,207.355,0,166,0z M211,166c0,24.813-20.187,45-45,45H75c-24.813,0-45-20.187-45-45V75c0-24.813,20.187-45,45-45h91 c24.813,0,45,20.187,45,45V166z"}),React.createElement("path",{d:"M437,271h-91c-41.355,0-75,33.645-75,75v91c0,41.355,33.645,75,75,75h91c41.355,0,75-33.645,75-75v-91 C512,304.645,478.355,271,437,271z M482,437c0,24.813-20.187,45-45,45h-91c-24.813,0-45-20.187-45-45v-91 c0-24.813,20.187-45,45-45h91c24.813,0,45,20.187,45,45V437z"}),React.createElement("path",{d:"M437,0h-91c-41.355,0-75,33.645-75,75v91c0,57.897-47.103,105-105,105H75c-41.355,0-75,33.645-75,75v91 c0,41.355,33.645,75,75,75h91c41.355,0,75-33.645,75-75v-91c0-57.897,47.103-105,105-105h91c41.355,0,75-33.645,75-75V75 C512,33.645,478.355,0,437,0z M211,346v91c0,24.813-20.187,45-45,45H75c-24.813,0-45-20.187-45-45v-91c0-24.813,20.187-45,45-45 h91c20.827,0,40.568-4.741,58.2-13.2C215.741,305.432,211,325.173,211,346z M482,166c0,24.813-20.187,45-45,45h-91 c-20.827,0-40.568,4.741-58.2,13.2c8.459-17.632,13.2-37.373,13.2-58.2V75c0-24.813,20.187-45,45-45h91c24.813,0,45,20.187,45,45 V166z"}));var ti=$l.name,oi=$l.category,ri=$l.attributes,ni={title:(0,te.__)("WL : Brand Logo","woolentor"),description:(0,te.__)("Display brand logo.","woolentor"),icon:React.createElement(oe.Icon,{icon:ei}),keywords:["woolentor",(0,te.__)("logo","woolentor"),(0,te.__)("brand","woolentor"),(0,te.__)("brand logo","woolentor")],supports:{align:["wide","full"]},attributes:ri,edit:Xl,save:function(){return null}};function ai(e){return ai="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ai(e)}function li(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ii(e,t){return ii=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ii(e,t)}function ci(e,t){if(t&&("object"===ai(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ui(e)}var si=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ii(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ui(r);if(n){var o=ui(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return ci(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).state={imageSizes:[]},t}return t=l,o=[{key:"componentDidMount",value:function(){this.fetchImageSize()}},{key:"fetchImageSize",value:function(){var e=this,t=(0,Do.addQueryArgs)("/woolentor/v1/imagesizes",{wpnonce:woolentorData.security});Go()({path:t}).then((function(t){return e.setState({imageSizes:t})}))}},{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.style,n=t.displayType,a=t.productCategory,l=t.productCategories,i=t.order,c=t.displayLimit,u=t.showCount,s=t.sliderOn,d=(t.columns,t.noGutter),m=t.itemSpace,p=this.state.imageSizes,f=function(){var e=[];return Object.keys(p).forEach((function(t){e.push({label:p[t],value:t})})),e};return React.createElement(we.Fragment,null,React.createElement(tt,{tabs:["general","styles"]}),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Settings","woolentor"),initialOpen:!0},React.createElement(oe.SelectControl,{label:(0,te.__)("Style","woolentor"),value:r,options:[{label:(0,te.__)("Style One","woolentor"),value:"1"},{label:(0,te.__)("Style Two","woolentor"),value:"2"},{label:(0,te.__)("Style Three","woolentor"),value:"3"},{label:(0,te.__)("Style Four","woolentor"),value:"4"},{label:(0,te.__)("Style Five","woolentor"),value:"5"}],onChange:function(e){return o({style:e})}}),React.createElement(oe.SelectControl,{label:(0,te.__)("Category Display Type","woolentor"),value:n,options:[{label:(0,te.__)("Single Category","woolentor"),value:"singleCat"},{label:(0,te.__)("Multiple Categories","woolentor"),value:"multipleCat"},{label:(0,te.__)("All Categories","woolentor"),value:"allCat"}],onChange:function(e){return o({displayType:e})}}),"singleCat"==n&&React.createElement(ze,{title:(0,te.__)("Select category","woolentor"),attributesKey:"productCategory",setAttributes:o,selectedTaxonomies:a,type:"single"}),"multipleCat"==n&&React.createElement(ze,{title:(0,te.__)("Select categories","woolentor"),attributesKey:"productCategories",setAttributes:o,selectedTaxonomies:l,type:"multiple"}),"singleCat"!=n&&React.createElement(oe.SelectControl,{label:(0,te.__)("Order","woolentor"),value:i,options:[{label:(0,te.__)("Ascending","woolentor"),value:"asc"},{label:(0,te.__)("Descending","woolentor"),value:"desc"}],onChange:function(e){return o({order:e})}}),"allCat"==n&&React.createElement(oe.RangeControl,{label:(0,te.__)("Limit","woolentor"),value:c,onChange:function(e){return o({displayLimit:e})},min:1,step:1,max:20}),("1"==r||"4"==r)&&React.createElement(oe.ToggleControl,{label:(0,te.__)("Show Count","woolentor"),checked:u,help:u?(0,te.__)("Enable show Count.","woolentor"):(0,te.__)("Toggle to show the count.","woolentor"),onChange:function(){return o({showCount:!u})}}),f().length>0&&React.createElement(oe.SelectControl,{label:(0,te.__)("Image Size","woolentor"),value:t.imageSize,options:f(),onChange:function(e){return o({imageSize:e})}}),React.createElement(oe.ToggleControl,{label:(0,te.__)("Slider On","woolentor"),checked:s,help:s?(0,te.__)("Enable slider.","woolentor"):(0,te.__)("Toggle to show the slider.","woolentor"),onChange:function(){return o({sliderOn:!s})}})),1==s&&React.createElement(ft,{title:(0,te.__)("Slider Options","woolentor")},React.createElement(oe.RangeControl,{label:(0,te.__)("Slider Items","woolentor"),value:t.slitems,onChange:function(e){return o({slitems:e})},min:1,step:1,max:10}),React.createElement(oe.ToggleControl,{label:(0,te.__)("Slider Arrow","woolentor"),checked:t.slarrows,help:t.slarrows?(0,te.__)("Enable slider arrow.","woolentor"):(0,te.__)("Toggle to show the slider arrow.","woolentor"),onChange:function(){return o({slarrows:!t.slarrows})}}),React.createElement(oe.ToggleControl,{label:(0,te.__)("Slider dots","woolentor"),checked:t.sldots,help:t.sldots?(0,te.__)("Enable slider pagination.","woolentor"):(0,te.__)("Toggle to show the slider pagination.","woolentor"),onChange:function(){return o({sldots:!t.sldots})}}),React.createElement(oe.ToggleControl,{label:(0,te.__)("Pause on Hover?","woolentor"),checked:t.slpauseOnHover,help:t.slpauseOnHover?(0,te.__)("Enable slider pagination.","woolentor"):(0,te.__)("Toggle to show the slider pagination.","woolentor"),onChange:function(){return o({slpauseOnHover:!t.slpauseOnHover})}}),React.createElement(oe.ToggleControl,{label:(0,te.__)("Is RTL","woolentor"),checked:t.slIsrtl,help:t.slIsrtl?(0,te.__)("Enable RTL.","woolentor"):(0,te.__)("Toggle to show the RTL direction.","woolentor"),onChange:function(){return o({slIsrtl:!t.slIsrtl})}}),React.createElement(oe.ToggleControl,{label:(0,te.__)("Slider auto play","woolentor"),checked:t.slautolay,help:t.slautolay?(0,te.__)("Enable slider auto play.","woolentor"):(0,te.__)("Toggle to show the slider auto play.","woolentor"),onChange:function(){return o({slautolay:!t.slautolay})}}),1==t.slautolay&&React.createElement(React.Fragment,null,React.createElement(oe.RangeControl,{label:(0,te.__)("Autoplay speed","woolentor"),value:t.slautoplaySpeed,onChange:function(e){return o({slautoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(oe.RangeControl,{label:(0,te.__)("Autoplay animation speed","woolentor"),value:t.slanimationSpeed,onChange:function(e){return o({slanimationSpeed:e})},min:1,step:1,max:1e5})),React.createElement(oe.RangeControl,{label:(0,te.__)("Slider item to scroll","woolentor"),value:t.slscrollItem,onChange:function(e){return o({slscrollItem:e})},min:1,step:1,max:1e5}),React.createElement("h2",{className:"woolentor-blocks-section-title"},(0,te.__)("Tablet Screen options","woolentor")),React.createElement(oe.RangeControl,{label:(0,te.__)("Slider Items","woolentor"),value:t.sltabletDisplayColumns,onChange:function(e){return o({sltabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(oe.RangeControl,{label:(0,te.__)("Slider item to scroll","woolentor"),value:t.sltabletScrollColumns,onChange:function(e){return o({sltabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(oe.RangeControl,{label:(0,te.__)("Tablet Screen Resolution","woolentor"),value:t.sltabletWidth,onChange:function(e){return o({sltabletWidth:e})},min:1,step:1,max:1500}),React.createElement("h2",{className:"woolentor-blocks-section-title"},(0,te.__)("Mobile Phone Screen options","woolentor")),React.createElement(oe.RangeControl,{label:(0,te.__)("Slider Items","woolentor"),value:t.slMobileDisplayColumns,onChange:function(e){return o({slMobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(oe.RangeControl,{label:(0,te.__)("Slider item to scroll","woolentor"),value:t.slMobileScrollColumns,onChange:function(e){return o({slMobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(oe.RangeControl,{label:(0,te.__)("Mobile Screen Resolution","woolentor"),value:t.slMobileWidth,onChange:function(e){return o({slMobileWidth:e})},min:1,step:1,max:1500})),0==s&&React.createElement(ft,{title:(0,te.__)("Columns","woolentor")},React.createElement(Ao,{label:"Column",attribute:"columns",responsive:!0,max:10}),React.createElement(oe.ToggleControl,{label:(0,te.__)("No Gutters","woolentor"),checked:d,help:d?(0,te.__)("Enable No Gutters.","woolentor"):(0,te.__)("Toggle to show the Gutters.","woolentor"),onChange:function(){return o({noGutter:!d})}}),!d&&React.createElement(oe.RangeControl,{label:(0,te.__)("Gutter Spacing","woolentor"),value:m,onChange:function(e){return o({itemSpace:e})},min:0,step:1,max:200}))),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Area","woolentor"),initialOpen:!0},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.areaBackgroundColor,onChange:function(e){return o({areaBackgroundColor:e})}}))),React.createElement(ft,{title:(0,te.__)("Image","woolentor")},React.createElement(Ot,{label:(0,te.__)("Box Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.imageBoxColor,onChange:function(e){return o({imageBoxColor:e})}})),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Title","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Hover Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}})),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Count","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.countColor,onChange:function(e){return o({countColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Before Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.countBeforeColor,onChange:function(e){return o({countBeforeColor:e})}})))))}}],o&&li(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const di=si;function mi(e){return mi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mi(e)}var pi,fi;function gi(){return gi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},gi.apply(this,arguments)}function bi(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function yi(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function _i(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ri(e,t){return Ri=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ri(e,t)}function hi(e,t){if(t&&("object"===mi(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function wi(e){return wi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},wi(e)}var Ei=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ri(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=wi(r);if(n){var o=wi(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return hi(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).state={categoryData:[]},t}return t=l,o=[{key:"componentDidMount",value:function(){this.fetchCategoryData()}},{key:"componentDidUpdate",value:function(e){var t,o=this.props.attributes,r=o.displayLimit,n=o.order;t="singleCat"==o.displayType?o.productCategory:"multipleCat"==o.displayType?o.productCategories:"";var a=e.attributes;("singleCat"==a.displayType?a.productCategory:"multipleCat"==a.displayType?a.productCategories:"")==t&&e.attributes.displayLimit==r&&e.attributes.order==n||this.fetchCategoryData()}},{key:"fetchCategoryData",value:function(){var e=this,t={queryLimit:this.props.attributes.displayLimit,queryOrder:this.props.attributes.order,queryType:"regular",wpnonce:woolentorData.security};"singleCat"==this.props.attributes.displayType?t.querySlug=this.props.attributes.productCategory:"multipleCat"==this.props.attributes.displayType?t.querySlug=this.props.attributes.productCategories:t.querySlug="";var o=(0,Do.addQueryArgs)("/woolentor/v1/category",t);Go()({path:o}).then((function(t){return e.setState({categoryData:t})}))}},{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.style;""==l&&n({blockUniqId:a});var c=this.state.categoryData,u=0;function s(e){var t=e.className,o=e.onClick;return React.createElement(oe.Button,{className:t,onClick:o},React.createElement("i",{className:"fa fa-angle-right"}))}function d(e){var t=e.className,o=e.onClick;return React.createElement(oe.Button,{className:t,onClick:o},React.createElement("i",{className:"fa fa-angle-left"}))}var m,p={arrows:t.slarrows,prevArrow:React.createElement(d,null),nextArrow:React.createElement(s,null),dots:t.sldots,infinite:!0,autoplay:t.slautolay,autoplaySpeed:t.slautoplaySpeed,speed:t.slanimationSpeed,fade:!1,pauseOnHover:t.slpauseOnHover,slidesToShow:t.slitems,slidesToScroll:t.slscrollItem,rtl:t.slIsrtl,responsive:[{breakpoint:t.sltabletWidth,settings:{slidesToShow:t.sltabletDisplayColumns,slidesToScroll:t.sltabletScrollColumns}},{breakpoint:t.slMobileWidth,settings:{slidesToShow:t.slMobileDisplayColumns,slidesToScroll:t.slMobileScrollColumns}}]},f=st()(o,yi({},"woolentor-grid-columns-".concat(t.columns.desktop),t.columns.desktop),yi({},"woolentor-grid-columns-laptop-".concat(t.columns.laptop),t.columns.laptop),yi({},"woolentor-grid-columns-tablet-".concat(t.columns.tablet),t.columns.tablet),yi({},"woolentor-grid-columns-mobile-".concat(t.columns.mobile),t.columns.mobile),yi({},"woolentor-area-".concat(t.align),t.align)),g=st()(yi({},"woolentor-grid",!0!==t.sliderOn),yi({},"woolentor-grid-slider",1==t.sliderOn),yi({},"woolentor-no-gutters",1==t.noGutter),yi({},"product-slider",1==t.sliderOn)),b=st()("woolentor-grid-column"),y=wn.div(pi||(pi=bi(["\n\t\t\t& .woolentor-grid:not(.woolentor-no-gutters){\n\t\t\t\t","\n\t\t\t}\n\t\t\t& .woolentor-grid{\n\t\t\t\t","\n\t\t\t}\n\t\t"])),!t.noGutter&&Mo(t.itemSpace,"column-gap","px"),!t.noGutter&&Mo(t.itemSpace,"row-gap","px")),_=wn.div(fi||(fi=bi(["\n\t\t\t\n\t\t\t& [class*='ht-category-wrap']{\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t}\n\n\t\t\t& [class*='ht-category-image']{\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t}\n\t\t\t& .ht-category-wrap .ht-category-image a.ht-category-border::before,.ht-category-wrap-2:hover::before,.ht-category-wrap .ht-category-image a.ht-category-border-2::before{\n\t\t\t\t","\n\t\t\t}\n\n\t\t\t& [class*='ht-category-content'] h3 a{\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t}\n\t\t\t& [class*='ht-category-content'] h3 a:hover{\n\t\t\t\t","\n\t\t\t}\n\n\t\t\t& [class*='ht-category-content'] span{\n\t\t\t\t","\n\t\t\t}\n\t\t\t& [class*='ht-category-content'] span::before{\n\t\t\t\t","\n\t\t\t}\n\t\t\t\n\t\t"])),Mo(t.areaBackgroundColor,"background-color"),Io(t.areaPadding,"padding"),Io(t.imageMargin,"margin"),Io(t.imageBorderRadius,"border-radius"),Mo(t.imageBoxColor,"border-color"),Mo(t.titleColor,"color"),Io(t.titleMargin,"margin"),Mo(t.titleHoverColor,"color"),Mo(t.countColor,"color"),Mo(t.countBeforeColor,"background-color"));return c.length>0&&(m=c.map((function(e,o){return 4===u&&(u=0),u++,React.createElement(React.Fragment,null,React.createElement(_,{className:b},"1"===i&&React.createElement("div",{className:"ht-category-wrap"},e.image&&React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(oe.Disabled,null,React.createElement("a",{className:"ht-category-border",href:e.link},(0,we.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image[t.imageSize].html}})))),React.createElement("div",{className:"ht-category-content"},React.createElement("h3",null,React.createElement(oe.Disabled,null,React.createElement("a",{href:e.link},e.name))),1==t.showCount&&React.createElement("span",null,e.count))),"2"===i&&React.createElement("div",{className:"ht-category-wrap-2"},React.createElement("div",{className:"ht-category-content-2"},React.createElement("h3",null,React.createElement(oe.Disabled,null,React.createElement("a",{href:e.link},e.name)))),e.image&&React.createElement("div",{className:"ht-category-image-2"},React.createElement(oe.Disabled,null,React.createElement("a",{href:e.link},(0,we.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}}))))),"3"===i&&React.createElement("div",{className:"ht-category-wrap"},e.image?React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(oe.Disabled,null,React.createElement("a",{className:"ht-category-border-2",href:e.link},(0,we.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}})))):React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(oe.Disabled,null,React.createElement("a",{className:"ht-category-border-2",href:e.link},React.createElement("img",{src:e.placeholderImg,alt:e.name})))),React.createElement("div",{className:"ht-category-content-3 ht-category-content-3-bg"+u},React.createElement("h3",null,React.createElement(oe.Disabled,null,React.createElement("a",{href:e.link},e.name))))),"4"===i&&React.createElement("div",{className:"ht-category-wrap"},e.image&&React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(oe.Disabled,null,React.createElement("a",{href:e.link},(0,we.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}})))),React.createElement("div",{className:"ht-category-content-4"},React.createElement("h3",null,React.createElement(oe.Disabled,null,React.createElement("a",{href:e.link},e.name)),1==t.showCount&&React.createElement("span",null,e.count)))),"5"===i&&React.createElement("div",{className:"ht-category-wrap"},e.image&&React.createElement("div",{className:"ht-category-image-3 ht-category-image-zoom"},React.createElement(oe.Disabled,null,React.createElement("a",{href:e.link},(0,we.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}})))),React.createElement("div",{className:"ht-category-content-5"},React.createElement("h3",null,React.createElement(oe.Disabled,null,React.createElement("a",{href:e.link},e.name)))))))}))),React.createElement(we.Fragment,null,r&&React.createElement(di,this.props),React.createElement(y,{className:f},React.createElement("div",{className:g},0==c.length?React.createElement(oe.Spinner,null):1==t.sliderOn?React.createElement(qo.Z,gi({},p,{className:"product-slider"}),m):m)))}}],o&&_i(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const vi=Ei,Oi=JSON.parse('{"name":"woolentor/category-grid","category":"woolentor-blocks","title":"Category Grid","attributes":{"blockUniqId":{"type":"string","default":""},"style":{"type":"string","default":"1"},"displayType":{"type":"string","default":"allCat"},"productCategory":{"type":"string"},"productCategories":{"type":"array","default":[]},"order":{"type":"string","default":"asc"},"displayLimit":{"type":"number","default":6},"showCount":{"type":"boolean","default":true},"imageSize":{"type":"string","default":"full"},"sliderOn":{"type":"boolean","default":false},"slitems":{"type":"number","default":3},"slarrows":{"type":"boolean","default":true},"sldots":{"type":"boolean","default":false},"slpauseOnHover":{"type":"boolean","default":true},"slIsrtl":{"type":"boolean","default":false},"slautolay":{"type":"boolean","default":false},"slautoplaySpeed":{"type":"number","default":3000},"slanimationSpeed":{"type":"number","default":300},"slscrollItem":{"type":"number","default":3},"sltabletDisplayColumns":{"type":"number","default":2},"sltabletScrollColumns":{"type":"number","default":2},"sltabletWidth":{"type":"number","default":750},"slMobileDisplayColumns":{"type":"number","default":1},"slMobileScrollColumns":{"type":"number","default":1},"slMobileWidth":{"type":"number","default":480},"columns":{"type":"object","default":{"desktop":3}},"noGutter":{"type":"boolean","default":false},"itemSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{itemSpace}}px; row-gap: {{itemSpace}}px; }"}},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] { padding: {{areaPadding}}; }"}},"areaBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] { background-color: {{areaBackgroundColor}}; }"}},"imageBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-category-wrap .ht-category-image a.ht-category-border::before,{{WOOLENTOR_WRAPPER}} .ht-category-wrap-2:hover::before,{{WOOLENTOR_WRAPPER}} .ht-category-wrap .ht-category-image a.ht-category-border-2::before { border-color: {{imageBoxColor}}; }"}},"imageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] [class*=\'ht-category-image\'] { margin: {{imageMargin}}; }"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-category-wrap .ht-category-image, {{WOOLENTOR_WRAPPER}} .ht-category-wrap .ht-category-image a.ht-category-border::before,{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] [class*=\'ht-category-image-\'] { border-radius: {{imageBorderRadius}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] [class*=\'ht-category-content\'] h3 a { color: {{titleColor}}; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] [class*=\'ht-category-content\'] h3 a:hover { color: {{titleHoverColor}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] [class*=\'ht-category-content\'] h3 { margin: {{titleMargin}}; }"}},"countColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-category-wrap [class*=\'ht-category-content\'] span { color: {{countColor}}; }"}},"countBeforeColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-category-wrap [class*=\'ht-category-content\'] span::before { background-color: {{countBeforeColor}}; }"}}}}'),Pi=React.createElement("svg",{"enable-background":"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m22.5 24h-21c-.827 0-1.5-.673-1.5-1.5v-21c0-.827.673-1.5 1.5-1.5h21c.827 0 1.5.673 1.5 1.5v21c0 .827-.673 1.5-1.5 1.5zm-21-23c-.276 0-.5.224-.5.5v21c0 .276.224.5.5.5h21c.276 0 .5-.224.5-.5v-21c0-.276-.224-.5-.5-.5z"}),React.createElement("path",{d:"m23.5 16.5h-23c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h23c.276 0 .5.224.5.5s-.224.5-.5.5z"}),React.createElement("path",{d:"m23.5 8.5h-23c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h23c.276 0 .5.224.5.5s-.224.5-.5.5z"}),React.createElement("path",{d:"m8 24c-.276 0-.5-.224-.5-.5v-23c0-.276.224-.5.5-.5s.5.224.5.5v23c0 .276-.224.5-.5.5z"}));var Ci=Oi.name,Bi=Oi.category,ki=Oi.attributes,Ai={title:(0,te.__)("WL : Category Grid","woolentor"),description:(0,te.__)("Display product category grid.","woolentor"),icon:React.createElement(oe.Icon,{icon:Pi}),keywords:["woolentor",(0,te.__)("shop category","woolentor"),(0,te.__)("category grid","woolentor"),(0,te.__)("product category","woolentor"),(0,te.__)("woocommerce","woolentor")],supports:{align:["wide","full"]},attributes:ki,edit:vi,save:function(){return null}};function Ti(e){return Ti="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ti(e)}function Wi(e){return function(e){if(Array.isArray(e))return Si(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Si(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Si(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Si(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function xi(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zi(e,t){return zi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},zi(e,t)}function Li(e,t){if(t&&("object"===Ti(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ni(e)}var ji=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zi(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ni(r);if(n){var o=Ni(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Li(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).state={activeClass:!1},t}return t=l,o=[{key:"render",value:function(){var e,t=this,o=this.props,r=o.attributes,n=o.setAttributes,a=r.showFirstItem,l=function(e,t,o){var a=Wi(r.faqList);a[o][t]=e,n({faqList:a})};return r.faqList.length&&(e=r.faqList.map((function(e,o){var a=t.state.activeClass===o?"woolentor_active_repeter":"";return React.createElement(we.Fragment,{key:o},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,o){o===t.state.activeClass?t.setState({activeClass:!1}):t.setState({activeClass:o})}(0,o)}},React.createElement("div",{className:"woolentor_repeater-item-title"},r.faqList[o].title),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(oe.Button,{className:"woolentor__remove-marker",icon:"no-alt",onClick:function(){return function(e){var t=Wi(r.faqList);t.splice(e,1),n({faqList:t})}(o)}}))),React.createElement("div",{className:a+" woolentor_repeater-controls"},React.createElement(oe.TextControl,{label:(0,te.__)("Faq Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,te.__)("Marker Title","woolentor"),value:r.faqList[o].title,onChange:function(e){return l(e,"title",o)}}),React.createElement(oe.TextareaControl,{label:(0,te.__)("Faq Content","woolentor"),value:r.faqList[o].content,onChange:function(e){return l(e,"content",o)}}))))}))),React.createElement(we.Fragment,null,React.createElement(tt,{tabs:["general","styles"]}),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("FAQ","woolentor"),initialOpen:!0},e,React.createElement(oe.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=Wi(r.faqList);e.push({title:(0,te.__)("Faq Item #"+(r.faqList.length+1),"woolentor"),content:"",horizontal:"",verticle:""}),n({faqList:e}),t.setState({activeClass:r.faqList.length})}.bind(this)},(0,te.__)("Add FAQ","woolentor"))),React.createElement(ft,{title:(0,te.__)("Settings","woolentor")},React.createElement(oe.ToggleControl,{label:(0,te.__)("Show First Item","woolentor"),checked:a,help:a?(0,te.__)("Enable first item.","woolentor"):(0,te.__)("Toggle to show the first item.","woolentor"),onChange:function(){return n({showFirstItem:!a})}}),React.createElement(oe.SelectControl,{label:(0,te.__)("Icon Position","woolentor"),value:r.iconPosition,options:[{label:(0,te.__)("Left","woolentor"),value:"left"},{label:(0,te.__)("Right","woolentor"),value:"right"}],onChange:function(e){return n({iconPosition:e})}}))),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Title","woolentor")},React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:r.titleBorderType,options:[{label:(0,te.__)("None","woolentor"),value:""},{label:(0,te.__)("Solid","woolentor"),value:"solid"},{label:(0,te.__)("Double","woolentor"),value:"double"},{label:(0,te.__)("Dotted","woolentor"),value:"dotted"},{label:(0,te.__)("Dashed","woolentor"),value:"dashed"},{label:(0,te.__)("Groove","woolentor"),value:"groove"}],onChange:function(e){return n({titleBorderType:e})}}),r.titleBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:r.titleBorderWidth,attributesKey:"titleBorderWidth",setAttributes:n}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:r.titleBorderColor,onChange:function(e){return n({titleBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:r.titleBorderRadius,attributesKey:"titleBorderRadius",setAttributes:n}),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:r.headBackgroundColor,onChange:function(e){return n({headBackgroundColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Active Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:r.activeHeadBackgroundColor,onChange:function(e){return n({activeHeadBackgroundColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:r.faqTitleColor,onChange:function(e){return n({faqTitleColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Active Title Color","woolentor")},React.createElement(oe.ColorPalette,{value:r.activeFaqTitleColor,onChange:function(e){return n({activeFaqTitleColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:r.titleSize,fallbackFontSize:r.titleSize,onChange:function(e){return n({titleSize:e})}}),React.createElement(Ot,{label:(0,te.__)("Icon Color","woolentor")},React.createElement(oe.ColorPalette,{value:r.iconColor,onChange:function(e){return n({iconColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Active Icon Color","woolentor")},React.createElement(oe.ColorPalette,{value:r.activeIconColor,onChange:function(e){return n({activeIconColor:e})}}))),React.createElement(ft,{title:(0,te.__)("Content","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:r.contentColor,onChange:function(e){return n({contentColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:r.contentSize,fallbackFontSize:r.contentSize,onChange:function(e){return n({contentSize:e})}}))))}}],o&&xi(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const Mi=ji;function Ii(e){return Ii="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ii(e)}var Hi,Fi;function Gi(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Di(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qi(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ki(e,t){return Ki=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ki(e,t)}function Ui(e,t){if(t&&("object"===Ii(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Qi(e)}var Vi=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ki(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Qi(r);if(n){var o=Qi(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Ui(this,e)});function l(){return Di(this,l),a.apply(this,arguments)}return t=l,o=[{key:"componentDidMount",value:function(){this.$el=jQuery(this.el);var e=this.$el.attr("id");this.props.attributes.faqList.length>0&&new Accordion("#"+e,{duration:500,showItem:this.props.attributes.showFirstItem,elementClass:"htwoolentor-faq-card",questionClass:"htwoolentor-faq-head",answerClass:"htwoolentor-faq-body"})}},{key:"componentDidUpdate",value:function(e){var t=this.props.attributes,o=t.faqList;if(e.attributes.faqList!==o||t.showFirstItem!==e.attributes.showFirstItem){this.$el=jQuery(this.el);var r=this.$el.attr("id");o.length>0&&(new Accordion("#"+r,{duration:500,showItem:t.showFirstItem,elementClass:"htwoolentor-faq-card",questionClass:"htwoolentor-faq-head",answerClass:"htwoolentor-faq-body"}),jQuery(".htwoolentor-faq-card").on("click",(function(e){jQuery(this).toggleClass("is-active")})))}}},{key:"componentWillUnmount",value:function(){this.$el=jQuery(this.el);var e=this.$el.attr("id"),t=jQuery("#"+e);t.accordion&&(t.accordion("destroy"),t.accordion=!1)}},{key:"render",value:function(){var e=this,t=this.props,o=(t.name,t.attributes),r=t.className,n=t.isSelected,a=t.setAttributes,l=t.clientId,i=o.blockUniqId;o.bgProperty,l!==i&&a({blockUniqId:l});var c,u,s,d=function(e){var t=o[e]?o[e]:{},r="";if(""!=t.top||""!=t.right||""!=t.bottom||""!=t.left){var n=t.unit?t.unit:"px";r=t.top?r+t.top+n+" ":"0"+n+" ",r=t.right?r+t.right+n+" ":"0"+n+" ",r=t.bottom?r+t.bottom+n+" ":"0"+n+" ",r=t.left?r+t.left+n+" ":"0"+n+" "}return r},m=st()("htwoolentor-faq","woolentorblock-faq-area-"+i,(c={},u="woolentorfaq-icon-pos-".concat(o.iconPosition),s=o.iconPosition,u in c?Object.defineProperty(c,u,{value:s,enumerable:!0,configurable:!0,writable:!0}):c[u]=s,c)),p=wn.div(Hi||(Hi=Gi(["\n\t\t\t",";\n\t\t\t"," !important;\n\t\t\t"," !important;\n\t\t\t"," !important;\n\t\t\t"," !important;\n\t\t\t& .htwoolentor-faq-head-text{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t& .htwoolentor-faq-head-indicator:before, .htwoolentor-faq-head-indicator:after{\n\t\t\t\t"," !important;\n\t\t\t}\n\t\t"])),o.headBackgroundColor&&"background-color:"+o.headBackgroundColor,o.titleBorderType&&"border-style:"+o.titleBorderType,o.titleBorderWidth&&"border-width:"+d("titleBorderWidth"),o.titleBorderColor&&"border-color:"+o.titleBorderColor,o.titleBorderRadius&&"border-radius:"+d("titleBorderRadius"),o.faqTitleColor&&"color:"+o.faqTitleColor,o.titleSize&&"font-size:"+o.titleSize,o.iconColor&&"background-color:"+o.iconColor),f=wn.div(Fi||(Fi=Gi(["\n\t\t\t",";\n\n\t\t\t& p{\n\t\t\t\t"," !important;\n\t\t\t}\n\t\t"])),o.contentColor&&"color:"+o.contentColor,o.contentSize&&"font-size:"+o.contentSize),g=React.createElement("span",{className:"htwoolentor-faq-head-indicator"}),b=o.faqList.map((function(e,t){var r=e.title?React.createElement("span",{class:"htwoolentor-faq-head-text"},e.title):"";return React.createElement("div",{key:t,className:"htwoolentor-faq-card"},"right"===o.iconPosition?React.createElement(p,{className:"htwoolentor-faq-head"},r,g):React.createElement(p,{className:"htwoolentor-faq-head"},g,r),React.createElement("div",{className:"htwoolentor-faq-body"},React.createElement(f,{className:"htwoolentor-faq-content"},e.content&&React.createElement("p",null,e.content))))}));return React.createElement(we.Fragment,null,n&&React.createElement(Mi,this.props),React.createElement("div",{className:r},React.createElement("div",{className:m,id:"htwoolentor-faq-"+i+Math.random().toString(36).substr(2,9),ref:function(t){return e.el=t}},b.length>0?b:(0,te.__)("FAQ list does not exist.","woolentor")),React.createElement("style",{type:"text/css"},"\n\t\t\t\t\t\t\t.woolentorblock-faq-area-".concat(i," .is-active .htwoolentor-faq-head{\n\t\t\t\t\t\t\t\t").concat(o.activeHeadBackgroundColor&&"background-color:"+o.activeHeadBackgroundColor,";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t.woolentorblock-faq-area-").concat(i," .is-active .htwoolentor-faq-head-text{\n\t\t\t\t\t\t\t\t").concat(o.activeFaqTitleColor&&"color:"+o.activeFaqTitleColor,";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t.woolentorblock-faq-area-").concat(i," .is-active .htwoolentor-faq-head-indicator:before,.woolentorblock-faq-area-").concat(i," .is-active .htwoolentor-faq-head-indicator:after{\n\t\t\t\t\t\t\t\t").concat(o.activeIconColor&&"background-color:"+o.activeIconColor+"!important",";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t"))))}}],o&&qi(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const Yi=Vi,Zi=JSON.parse('{"name":"woolentor/faq","category":"woolentor-blocks","title":"FAQ","attributes":{"blockUniqId":{"type":"string","default":""},"faqList":{"type":"array","default":[{"title":"Words To Live By","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."},{"title":"Producing Perfume From Home","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."},{"title":"The Basics Of Western Astrology Explained","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."},{"title":"What Curling Irons Are The Best Ones","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."}]},"showFirstItem":{"type":"boolean","default":true},"iconPosition":{"type":"string","default":"right"},"headBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head{ background-color: {{headBackgroundColor}}; }"}},"faqTitleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head-text{ color: {{faqTitleColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head-text{ font-size: {{titleSize}}; }"}},"titleBorderType":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head{ border-style: {{titleBorderType}}; }"}},"titleBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head{ border-width: {{titleBorderWidth}}; }"}},"titleBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head{ border-color: {{titleBorderColor}}; }"}},"titleBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head{ border-radius: {{titleBorderRadius}}; }"}},"iconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head-indicator:before,{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head-indicator:after{ background-color: {{iconColor}}!important; }"}},"activeHeadBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .is-active .htwoolentor-faq-head{ background-color: {{activeHeadBackgroundColor}}; }"}},"activeFaqTitleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .is-active .htwoolentor-faq-head-text{ color: {{activeFaqTitleColor}}; }"}},"activeIconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .is-active .htwoolentor-faq-head-indicator:before,.{{WOOLENTOR_WRAPPER}} .is-active .htwoolentor-faq-head-indicator:after{ background-color: {{activeIconColor}}!important; }"}},"contentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-content{ color: {{contentColor}}; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-content,{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-content p{ font-size: {{contentSize}}; }"}}}}'),Ji=React.createElement("svg",{version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512 512",space:"preserve"},React.createElement("g",null,React.createElement("path",{d:"M256,0C114.516,0,0,114.497,0,256c0,141.484,114.497,256,256,256c141.484,0,256-114.497,256-256 C512,114.516,397.503,0,256,0z M256,472c-119.377,0-216-96.607-216-216c0-119.377,96.607-216,216-216 c119.377,0,216,96.607,216,216C472,375.377,375.393,472,256,472z"}),React.createElement("path",{d:"M256,128.5c-44.112,0-80,35.888-80,80c0,11.046,8.954,20,20,20s20-8.954,20-20c0-22.056,17.944-40,40-40 c22.056,0,40,17.944,40,40c0,22.056-17.944,40-40,40c-11.046,0-20,8.954-20,20v50c0,11.046,8.954,20,20,20 c11.046,0,20-8.954,20-20v-32.531c34.466-8.903,60-40.26,60-77.469C336,164.388,300.112,128.5,256,128.5z"})));var Xi=Zi.name,$i=Zi.category,ec=Zi.attributes,tc={title:(0,te.__)("WL : FAQ","woolentor"),description:(0,te.__)("Display faq.","woolentor"),icon:React.createElement(oe.Icon,{icon:Ji}),keywords:[(0,te.__)("WooLentor","woolentor"),(0,te.__)("faq","woolentor"),(0,te.__)("accordion","woolentor"),(0,te.__)("question","woolentor"),(0,te.__)("answer","woolentor")],supports:{align:["wide","full"]},attributes:ec,edit:Yi,save:function(){return null}};function oc(e){return oc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oc(e)}function rc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nc(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ac(e,t){return ac=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ac(e,t)}function lc(e,t){if(t&&("object"===oc(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ic(e)}var cc=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ac(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ic(r);if(n){var o=ic(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return lc(this,e)});function l(){return rc(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.productFilterType,n=t.perPage,a=t.customOrder,l=t.orderBy,i=t.order,c=t.selectedCategories;return React.createElement(we.Fragment,null,React.createElement(tt,null),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Layout","woolentor"),initialOpen:!0},React.createElement(oe.SelectControl,{label:(0,te.__)("Layout","woolentor"),value:t.layout,options:[{label:(0,te.__)("Layout One","woolentor"),value:"1"},{label:(0,te.__)("Layout Two","woolentor"),value:"2"},{label:(0,te.__)("Layout Three","woolentor"),value:"3"}],onChange:function(e){return o({layout:e})}}),React.createElement(Ao,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(oe.ToggleControl,{label:(0,te.__)("No Gutters","woolentor"),checked:t.noGutter,help:t.noGutter?(0,te.__)("Enable No Gutters.","woolentor"):(0,te.__)("Toggle to show the Gutters.","woolentor"),onChange:function(){return o({noGutter:!t.noGutter})}}),!t.noGutter&&React.createElement(oe.RangeControl,{label:(0,te.__)("Gutter Spacing","woolentor"),value:t.itemSpace,onChange:function(e){return o({itemSpace:e})},min:0,step:1,max:200}),React.createElement(oe.RangeControl,{label:(0,te.__)("Margin Bottom","woolentor"),value:t.itemMarginBottom,onChange:function(e){return o({itemMarginBottom:e})},min:0,step:1,max:1e3})),React.createElement(ft,{title:(0,te.__)("Query Options","woolentor")},React.createElement(oe.SelectControl,{label:(0,te.__)("Filter By","woolentor"),value:r,options:[{label:(0,te.__)("Recent Products","woolentor"),value:"recent"},{label:(0,te.__)("Featured Products","woolentor"),value:"featured"},{label:(0,te.__)("Best Selling Products","woolentor"),value:"best_selling"},{label:(0,te.__)("Sale Products","woolentor"),value:"sale"},{label:(0,te.__)("Top Rated Products","woolentor"),value:"top_rated"},{label:(0,te.__)("Mixed order Products","woolentor"),value:"mixed_order"}],onChange:function(e){return o({productFilterType:e})}}),React.createElement(oe.RangeControl,{label:(0,te.__)("Number Of Products","woolentor"),value:n,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(oe.ToggleControl,{label:(0,te.__)("Custom Order","woolentor"),checked:a,help:a?(0,te.__)("Enable custom order.","woolentor"):(0,te.__)("Toggle to show the custom order.","woolentor"),onChange:function(){return o({customOrder:!a})}}),React.createElement(ze,{title:(0,te.__)("Product Categories","woolentor"),attributesKey:"selectedCategories",setAttributes:o,selectedTaxonomies:c,type:"multiple"}),a?React.createElement(React.Fragment,null,React.createElement(oe.SelectControl,{label:(0,te.__)("Order","woolentor"),value:i,options:[{label:(0,te.__)("Descending","woolentor"),value:"DESC"},{label:(0,te.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(oe.SelectControl,{label:(0,te.__)("Orderby","woolentor"),value:l,options:[{label:(0,te.__)("None","woolentor"),value:"none"},{label:(0,te.__)("ID","woolentor"),value:"ID"},{label:(0,te.__)("Date","woolentor"),value:"date"},{label:(0,te.__)("Name","woolentor"),value:"name"},{label:(0,te.__)("Title","woolentor"),value:"title"},{label:(0,te.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,te.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}})):""),React.createElement(ft,{title:(0,te.__)("Content Settings","woolentor")},React.createElement(oe.RangeControl,{label:(0,te.__)("Content Limit","woolentor"),value:t.contentLimit,onChange:function(e){return o({contentLimit:e})},min:1,step:1,max:1e3}),React.createElement(oe.ToggleControl,{label:(0,te.__)("Show Title","woolentor"),checked:t.showTitle,help:t.showTitle?(0,te.__)("Enable Title.","woolentor"):(0,te.__)("Toggle to show the title.","woolentor"),onChange:function(){return o({showTitle:!t.showTitle})}}),React.createElement(oe.ToggleControl,{label:(0,te.__)("Show Price","woolentor"),checked:t.showPrice,help:t.showPrice?(0,te.__)("Enable Price.","woolentor"):(0,te.__)("Toggle to show the price.","woolentor"),onChange:function(){return o({showPrice:!t.showPrice})}}),React.createElement(oe.ToggleControl,{label:(0,te.__)("Show Content","woolentor"),checked:t.showContent,help:t.showContent?(0,te.__)("Enable Content.","woolentor"):(0,te.__)("Toggle to show the content.","woolentor"),onChange:function(){return o({showContent:!t.showContent})}}),React.createElement(oe.ToggleControl,{label:(0,te.__)("Show Rating","woolentor"),checked:t.showRating,help:t.showRating?(0,te.__)("Enable Rating.","woolentor"):(0,te.__)("Toggle to show the rating.","woolentor"),onChange:function(){return o({showRating:!t.showRating})}}))),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Item","woolentor")},React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.itemAreaBGColor,onChange:function(e){return o({itemAreaBGColor:e})}}))),React.createElement(ft,{title:(0,te.__)("Title","woolentor")},React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(ct,{name:"title"},React.createElement(mt,{name:"normal"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}}))),React.createElement(mt,{name:"hover"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))))),React.createElement(ft,{title:(0,te.__)("Price","woolentor")},React.createElement(At,{label:(0,te.__)("Sale Price","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.salePriceColor,onChange:function(e){return o({salePriceColor:e})}})),React.createElement(At,{label:(0,te.__)("Reguler Price","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.regulerPriceColor,onChange:function(e){return o({regulerPriceColor:e})}}))),React.createElement(ft,{title:(0,te.__)("Content","woolentor")},React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.contentSize,fallbackFontSize:t.contentSize,onChange:function(e){return o({contentSize:e})}}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.cotentColor,onChange:function(e){return o({cotentColor:e})}})),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.contentMargin,attributesKey:"contentMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Rating","woolentor")},React.createElement(Ot,{label:(0,te.__)("Empty Rating Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.emptyRatingColor,onChange:function(e){return o({emptyRatingColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Rating Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.ratingMargin,attributesKey:"ratingMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Action Button","woolentor")},React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.actionBtnAreaBGColor,onChange:function(e){return o({actionBtnAreaBGColor:e})}})),React.createElement(ct,{name:"button"},React.createElement(mt,{name:"normal"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.actionBtnColor,onChange:function(e){return o({actionBtnColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.actionBtnBGColor,onChange:function(e){return o({actionBtnBGColor:e})}})),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.actionBtnBorderRadius,attributesKey:"actionBtnBorderRadius",setAttributes:o})),React.createElement(mt,{name:"hover"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.actionBtnHoverColor,onChange:function(e){return o({actionBtnHoverColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.actionBtnBgHoverColor,onChange:function(e){return o({actionBtnBgHoverColor:e})}}))))),React.createElement(ft,{title:(0,te.__)("Image","woolentor")},React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}})))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],o&&nc(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const uc=cc;function sc(e){return sc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sc(e)}var dc,mc;function pc(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function fc(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function gc(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bc(e,t){return bc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},bc(e,t)}function yc(e,t){if(t&&("object"===sc(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_c(e)}var Rc=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bc(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=_c(r);if(n){var o=_c(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return yc(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).state={productData:[]},t}return t=l,o=[{key:"componentDidMount",value:function(){this.fetchProductsData()}},{key:"componentDidUpdate",value:function(e){var t=this.props.attributes,o=t.perPage,r=t.productFilterType,n=t.customOrder,a=this.props.attributes.orderBy,l=this.props.attributes.order,i=this.props.attributes.selectedCategories;e.attributes.perPage==o&&e.attributes.productFilterType==r&&e.attributes.customOrder==n&&e.attributes.orderBy==a&&e.attributes.order==l&&e.attributes.selectedCategories==i||this.fetchProductsData()}},{key:"componentWillUnmount",value:function(){}},{key:"fetchProductsData",value:function(){var e=this,t={perPage:this.props.attributes.perPage,filterBy:this.props.attributes.productFilterType,wpnonce:woolentorData.security};1==this.props.attributes.customOrder&&(t.orderBy=this.props.attributes.orderBy,t.order=this.props.attributes.order),this.props.attributes.selectedCategories.length>0&&(t.categories=this.props.attributes.selectedCategories);var o=(0,Do.addQueryArgs)("/woolentor/v1/products",t);Go()({path:o}).then((function(t){return e.setState({productData:t})}))}},{key:"render",value:function(){var e=this.props,t=(e.name,e.attributes),o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,u=st()("woocommerce","woolentor-product-curvy",fc({},"woolentor-grid-columns-".concat(t.columns.desktop),t.columns.desktop),fc({},"woolentor-grid-columns-laptop-".concat(t.columns.laptop),t.columns.laptop),fc({},"woolentor-grid-columns-tablet-".concat(t.columns.tablet),t.columns.tablet),fc({},"woolentor-grid-columns-mobile-".concat(t.columns.mobile),t.columns.mobile)),s=st()("wl_single-product-item",fc({},"wl_left-item",2==t.layout),fc({},"wl_dark-item",3==t.layout)),d=wn.div(dc||(dc=pc(["\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\n\t\t\t& .woolentor-grid:not(.woolentor-no-gutters){\n\t\t\t\t","\n\t\t\t}\n\t\t\t& .woolentor-grid{\n\t\t\t\t","\n\t\t\t}\n\n\t\t"])),Io(t.areaMargin,"margin"),Io(t.areaPadding,"padding"),Ho(i),!t.noGutter&&Mo(t.itemSpace,"column-gap","px"),Mo(t.itemMarginBottom,"row-gap","px")),m=wn.div(mc||(mc=pc(["\n\t\t\t","\n\n\t\t\t&.wl_dark-item .product-content{\n\t\t\t\t","\n\t\t\t}\n\n\t\t\t& .product-content .product-content-top .title{\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t}\n\t\t\t& .product-content .product-content-top .title a{\n\t\t\t\t","\n\t\t\t}\n\t\t\t& .product-content .product-content-top .title a:hover{\n\t\t\t\t","\n\t\t\t}\n\n\t\t\t& .product-content .product-content-top .product-price{\n\t\t\t\t","\n\t\t\t}\n\n\t\t\t& .product-content .product-content-top .product-price del{\n\t\t\t\t","\n\t\t\t}\n\n\t\t\t& .product-content .product-content-top p{\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t}\n\n\t\t\t& .product-content .product-content-top .star-rating{\n\t\t\t\t","\n\t\t\t}\n\t\t\t& .product-content .product-content-top .star-rating::before{\n\t\t\t\t","\n\t\t\t}\n\t\t\t& .product-content .product-content-top .star-rating span{\n\t\t\t\t","\n\t\t\t}\n\t\t\t& .product-content .product-content-top .star-rating {\n\t\t\t\t","\n\t\t\t}\n\n\t\t\t& .product-content .action{\n\t\t\t\t","\n\t\t\t}\n\t\t\t& .product-content .action li a, .product-content .action li .woolentor-compare.compare::before{\n\t\t\t\t","\n\t\t\t}\n\t\t\t& .product-content .action li a{\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t}\n\n\t\t\t& .product-content .action li a:hover, .product-content .action li .woolentor-compare.compare:hover::before{\n\t\t\t\t","\n\t\t\t}\n\t\t\t& .product-content .action li a:hover{\n\t\t\t\t","\n\t\t\t}\n\t\t\t& .product-thumbnail{\n\t\t\t\t","\n\t\t\t}\n\t\t\n\t\t"])),Mo(t.itemAreaBGColor,"background-color"),Mo(t.itemAreaBGColor,"background-color"),Mo(t.titleSize,"font-size","!important"),Io(t.titleMargin,"margin","!important"),Mo(t.titleColor,"color","!important"),Mo(t.titleHoverColor,"color","!important"),Mo(t.salePriceColor,"color","!important"),Mo(t.regulerPriceColor,"color","!important"),Mo(t.cotentColor,"color"),Mo(t.contentSize,"font-size"),Io(t.contentMargin,"margin"),Mo(t.emptyRatingColor,"color"),Mo(t.emptyRatingColor,"color"),Mo(t.ratingColor,"color"),Io(t.ratingMargin,"margin"),Mo(t.actionBtnAreaBGColor,"background-color","!important"),Mo(t.actionBtnColor,"color","!important"),Mo(t.actionBtnBGColor,"background-color","!important"),Io(t.actionBtnBorderRadius,"border-radius","!important"),Mo(t.actionBtnHoverColor,"color","!important"),Mo(t.actionBtnBgHoverColor,"background-color","!important"),Mo(t.imageBorderColor,"border-color","!important")),p=this.state.productData;return p.length>0&&(c=p.map((function(e,o){return React.createElement("div",{className:"woolentor-grid-column"},React.createElement(m,{className:s},React.createElement(oe.Disabled,null,React.createElement("a",{href:e.permalink,className:"product-thumbnail"},(0,we.createElement)("div",{className:"images",dangerouslySetInnerHTML:{__html:e.image.full.html}}))),React.createElement("div",{className:"product-content"},React.createElement("div",{className:"product-content-top"},!0===t.showTitle&&React.createElement("h6",{className:"title"},React.createElement("a",{href:e.permalink},e.title)),!0===t.showPrice&&(0,we.createElement)("div",{className:"product-price",dangerouslySetInnerHTML:{__html:e.price_html}}),!0===t.showContent&&React.createElement("p",null,e.content.split(" ").slice(0,t.contentLimit).join(" ")),!0===t.showRating&&(0,we.createElement)("div",{className:"reading",dangerouslySetInnerHTML:{__html:e.rating.html}})),React.createElement("ul",{className:"action"},React.createElement("li",{className:"wl_cart"},React.createElement("a",{href:e.addtocart.link,"data-quantity":"1",className:"action-item"+e.addtocart.class,"data-product_id":e.id},React.createElement("i",{class:"fa fa-shopping-cart"}))),e.wishlist.status&&(0,we.createElement)("li",{dangerouslySetInnerHTML:{__html:e.wishlist.html}}),e.compare.status&&(0,we.createElement)("li",{dangerouslySetInnerHTML:{__html:e.compare.html2}})))))}))),React.createElement(we.Fragment,null,r&&React.createElement(uc,this.props),React.createElement(d,{className:o},React.createElement("div",{className:u},0==p.length?React.createElement(oe.Spinner,null):React.createElement("div",{className:!0===t.noGutter?"woolentor-grid woolentor-no-gutters":"woolentor-grid"},c))))}}],o&&gc(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const hc=Rc,wc=JSON.parse('{"name":"woolentor/product-curvy","category":"woolentor-blocks","title":"Product Curvy","attributes":{"blockUniqId":{"type":"string","default":""},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"layout":{"type":"string"},"columns":{"type":"object","default":{"desktop":4}},"noGutter":{"type":"boolean","default":false},"itemSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{itemSpace}}px; }"}},"productFilterType":{"type":"string","default":"recent"},"perPage":{"type":"number","default":4},"customOrder":{"type":"boolean","default":false},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"selectedCategories":{"type":"array","default":[]},"contentLimit":{"type":"number","default":6},"showTitle":{"type":"boolean","default":true},"showPrice":{"type":"boolean","default":true},"showContent":{"type":"boolean","default":true},"showRating":{"type":"boolean","default":true},"itemAreaBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl_single-product-item, {{WOOLENTOR_WRAPPER}} .wl_single-product-item.wl_dark-item .product-content { background-color: {{itemAreaBGColor}}; }"}},"itemMarginBottom":{"type":"number","default":15,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid{ row-gap: {{itemMarginBottom}}px; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .title{ font-size: {{titleSize}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .title a{ color: {{titleColor}}; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .title a:hover{ color: {{titleHoverColor}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .title{ margin: {{titleMargin}}; }"}},"salePriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .product-price, {{WOOLENTOR_WRAPPER}} .product-content .product-content-top .product-price span.price{ color: {{salePriceColor}}!important; }"}},"regulerPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .product-price del,{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .product-price span.price del{ color: {{regulerPriceColor}}!important; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top p{ font-size: {{contentSize}}; }"}},"cotentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top p{ color: {{cotentColor}}; }"}},"contentMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top p{ margin: {{contentMargin}}; }"}},"emptyRatingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .star-rating,{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .star-rating::before{ color: {{emptyRatingColor}}; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .star-rating span{ color: {{ratingColor}}; }"}},"ratingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .star-rating{ margin: {{ratingMargin}}; }"}},"actionBtnAreaBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action{ background-color: {{actionBtnAreaBGColor}}!important; }"}},"actionBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action li a,{{WOOLENTOR_WRAPPER}} .product-content .action li .woolentor-compare.compare::before{ color: {{actionBtnColor}}!important; }"}},"actionBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action li a{ background-color: {{actionBtnBGColor}}!important; }"}},"actionBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action li a{ border-radius: {{actionBtnBorderRadius}}!important; }"}},"actionBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action li a:hover,{{WOOLENTOR_WRAPPER}} .product-content .action li .woolentor-compare.compare:hover::before{ color: {{actionBtnHoverColor}}!important; }"}},"actionBtnBgHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action li a:hover{ background-color: {{actionBtnBgHoverColor}}!important; }"}},"imageBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-thumbnail{ border-color: {{imageBorderColor}}!important; }"}}}}'),Ec=React.createElement("svg",{id:"Capa_1","enable-background":"new 0 0 512 512",height:"512",viewBox:"0 0 512 512",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",null,React.createElement("path",{d:"m166.717 225.43c-4.309 0-7.802 3.493-7.802 7.802s3.493 7.802 7.802 7.802 7.803-3.493 7.803-7.802-3.494-7.802-7.803-7.802z"}),React.createElement("path",{d:"m166.717 263.74c-4.309 0-7.802 3.493-7.802 7.803 0 4.309 3.493 7.802 7.802 7.802s7.803-3.493 7.803-7.802c-.001-4.31-3.494-7.803-7.803-7.803z"}),React.createElement("path",{d:"m166.717 302.049c-4.309 0-7.802 3.493-7.802 7.802s3.493 7.802 7.802 7.802 7.803-3.493 7.803-7.802c-.001-4.309-3.494-7.802-7.803-7.802z"}),React.createElement("path",{d:"m302.846 63.778h-90.035l-2.93-21.993c-.497-3.727-3.675-6.51-7.435-6.51h-17.57c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h11.003l2.93 21.993c.003.022.008.043.012.064.003.018.002.036.005.053l7.994 53.55c.549 3.674 3.703 6.393 7.418 6.393h80.614c3.715 0 6.869-2.719 7.418-6.393l7.994-53.55c.322-2.159-.311-4.351-1.736-6.003-1.425-1.654-3.5-2.604-5.682-2.604zm-14.458 53.55h-67.686l-5.755-38.55h79.196z"}),React.createElement("path",{d:"m248.916 165.704c0-12.407-10.094-22.5-22.5-22.5s-22.5 10.093-22.5 22.5 10.094 22.5 22.5 22.5 22.5-10.093 22.5-22.5zm-30 0c0-4.136 3.364-7.5 7.5-7.5s7.5 3.364 7.5 7.5-3.364 7.5-7.5 7.5-7.5-3.364-7.5-7.5z"}),React.createElement("path",{d:"m282.673 143.204c-12.406 0-22.5 10.093-22.5 22.5s10.094 22.5 22.5 22.5 22.5-10.093 22.5-22.5-10.094-22.5-22.5-22.5zm0 30c-4.136 0-7.5-3.364-7.5-7.5s3.364-7.5 7.5-7.5 7.5 3.364 7.5 7.5-3.364 7.5-7.5 7.5z"}),React.createElement("path",{d:"m279.948 225.733h-81.378c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h81.378c4.142 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5z"}),React.createElement("path",{d:"m279.948 264.042h-81.378c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h81.378c4.142 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5z"}),React.createElement("path",{d:"m279.948 302.351h-81.378c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h81.378c4.142 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5z"}),React.createElement("g",null,React.createElement("path",{d:"m484.615 88.534h-84.393v-66.614c0-9.951-8.096-18.047-18.047-18.047h-252.349c-9.951 0-18.048 8.096-18.048 18.047v66.614h-19.645c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h19.646v259.248h-96.779v-246.862c0-6.83 5.557-12.386 12.386-12.386h34.747c4.143 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5h-34.747c-15.101 0-27.386 12.286-27.386 27.386v291.442c0 15.1 12.285 27.385 27.386 27.385h166.31l-8.039 58.38h-24.209c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h189.248c4.143 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5h-24.209l-8.039-58.38h55.225c4.142 0 7.5-3.358 7.5-7.5s-3.358-7.5-7.5-7.5h-346.287c-6.829 0-12.386-5.556-12.386-12.385v-29.58h482v29.58c0 6.829-5.556 12.385-12.385 12.385h-80.942c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h80.942c15.1 0 27.385-12.285 27.385-27.385v-291.442c0-15.1-12.285-27.386-27.385-27.386zm-173.269 404.593h-110.548l8.039-58.38h94.47zm75.208-186.168c-28.917 0-52.443-23.526-52.443-52.443s23.526-52.444 52.443-52.444 52.443 23.526 52.443 52.444-23.526 52.443-52.443 52.443zm-259.776-285.039c0-1.68 1.367-3.047 3.048-3.047h252.349c1.68 0 3.047 1.367 3.047 3.047v165.186c-36.574.715-66.111 30.669-66.111 67.41s29.537 66.695 66.111 67.41v40.61h-258.444zm273.444 340.863v-42.217c30.658-6.335 53.775-33.542 53.775-66.049s-23.118-59.714-53.775-66.05v-84.932h84.393c6.829 0 12.385 5.556 12.385 12.386v246.862z"}),React.createElement("path",{d:"m394.221 246.215c-4.215-1.49-10.156-1.779-12.221-5.464-.154-.191-.159-1.161.199-2.321.211-.685.763-1.893 2.083-2.291 1.891-.57 4.118-.173 6.035.466 2.912.971 6.118-.031 8.046-2.418.044-.054.087-.107.13-.162 3.168-3.921 1.627-9.835-3.085-11.626-.542-.206-1.099-.395-1.671-.567v-2.359c0-4.142-3.357-7.5-7.5-7.5s-7.5 3.358-7.5 7.5v2.722c-5.865 2.243-10.182 7.478-11.399 13.944-1.211 6.425.935 12.69 5.601 16.349 4.315 3.385 10.376 5.783 16.283 7.872 2.59.915 3.688 2.655 3.266 5.17-.332 1.975-2.032 5.324-6.3 5.352-4.606.03-5.695-.139-9.043-2.329-3.712-2.427-8.775-1.144-10.826 2.94-1.733 3.451-.383 7.68 2.861 9.774 3.572 2.307 6.456 3.498 9.557 4.088v3.177c0 4.142 3.357 7.5 7.5 7.5s7.5-3.358 7.5-7.5v-4.032c6.961-2.626 12.247-8.778 13.543-16.485 1.631-9.702-3.617-18.462-13.059-21.8z"}))));var vc=wc.name,Oc=wc.category,Pc=wc.attributes,Cc={title:(0,te.__)("WL : Product Curvy","woolentor"),description:(0,te.__)("Product Curvy.","woolentor"),icon:React.createElement(oe.Icon,{icon:Ec}),keywords:[(0,te.__)("WooLentor","woolentor"),(0,te.__)("product","woolentor"),(0,te.__)("curvy","woolentor"),(0,te.__)("woocommerce","woolentor"),(0,te.__)("display product","woolentor")],supports:{align:["wide","full"]},attributes:Pc,edit:hc,save:function(){return null}};const Bc=function(e){var t=e.attributes,o=e.setAttributes,r=t.titleTag;return React.createElement(we.Fragment,null,React.createElement(tt,null),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Settings","woolentor"),initialOpen:!0},React.createElement(oe.SelectControl,{label:(0,te.__)("Title Tag","woolentor"),value:r,options:zl,onChange:function(e){return o({titleTag:e})}}),React.createElement("hr",null),React.createElement(Ot,{label:(0,te.__)("Show Title","woolentor")},React.createElement(oe.ToggleControl,{checked:t.showTitle,onChange:function(){return o({showTitle:!t.showTitle})}})),React.createElement(Ot,{label:(0,te.__)("Show Description","woolentor")},React.createElement(oe.ToggleControl,{checked:t.showDescription,onChange:function(){return o({showDescription:!t.showDescription})}})),React.createElement(Ot,{label:(0,te.__)("Show Image","woolentor")},React.createElement(oe.ToggleControl,{checked:t.showImage,onChange:function(){return o({showImage:!t.showImage})}})))),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Style","woolentor"),initialOpen:!0},React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}),React.createElement(At,{label:(0,te.__)("Title","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(At,{label:(0,te.__)("Description","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.descColor,onChange:function(e){return o({descColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.descSize,fallbackFontSize:t.descSize,onChange:function(e){return o({descSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.descMargin,attributesKey:"descMargin",setAttributes:o}))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function kc(e){return kc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kc(e)}var Ac,Tc,Wc,Sc;function xc(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function zc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lc(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Nc(e,t){return Nc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Nc(e,t)}function jc(e,t){if(t&&("object"===kc(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Mc(e)}var Ic=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Nc(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Mc(r);if(n){var o=Mc(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return jc(this,e)});function l(){return zc(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,u,s,d=st()((s=o,(u=o)in(c={})?Object.defineProperty(c,u,{value:s,enumerable:!0,configurable:!0,writable:!0}):c[u]=s,c),"woolentor-archive-data-area"),m=wn.div(Ac||(Ac=xc(["\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"])),t.areaPadding&&Io(t.areaPadding,"padding"),Ho(i),Mo(t.contentAlignment,"text-align")),p=wn.div(Tc||(Tc=xc(["\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"])),Mo(t.titleColor,"color","!important"),Mo(t.titleSize,"font-size","!important"),t.titleMargin&&Io(t.titleMargin,"margin","!important")),f=wn.div(Wc||(Wc=xc(["\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"])),Mo(t.descColor,"color"),Mo(t.descSize,"font-size"),t.descMargin&&Io(t.descMargin,"margin")),g=wn.div(Sc||(Sc=xc(["\n\t\t\t\n\t\t"]))),b={title:(0,te.__)("Archive Title","woolentor"),desc:(0,te.__)("Lorem Ipsum is simply dummy text of the printing and typesetting industry.","woolentor"),image_url:woolentorData.url+"/src/assets/images/overlay_image.jpeg"};return React.createElement(we.Fragment,null,r&&React.createElement(Bc,this.props),React.createElement(m,{className:d},t.showImage&&React.createElement(g,{className:"woolentor-archive-image"},React.createElement("img",{src:b.image_url,alt:b.title})),t.showTitle&&React.createElement(p,{className:"woolentor-archive-title",as:t.titleTag},b.title),t.showDescription&&React.createElement(f,{className:"woolentor-archive-desc"},b.desc)))}}],o&&Lc(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const Hc=Ic,Fc=JSON.parse('{"name":"woolentor/archive-title","category":"woolentor-blocks","title":"Archive Title","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"titleTag":{"type":"string","default":"h2"},"showTitle":{"type":"boolean","default":true},"showDescription":{"type":"boolean","default":true},"showImage":{"type":"boolean","default":false},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} { text-align:{{contentAlignment}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-title{ color:{{titleColor}}!important; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-title{ font-size:{{titleSize}}!important; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-title{ margin:{{titleMargin}}!important; }"}},"descColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-desc{ color:{{descColor}}!important; }"}},"descSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-desc{ font-size:{{descSize}}!important; }"}},"descMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-desc{ margin:{{descMargin}}!important; }"}}}}'),Gc=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M5 4v3h5.5v12h3V7H19V4z",fill:"currentColor"}));var Dc=Fc.name,qc=Fc.category,Kc=Fc.attributes,Uc={title:(0,te.__)("WL : Archive Title","woolentor"),description:(0,te.__)("Display archive title.","woolentor"),icon:React.createElement(oe.Icon,{icon:Gc}),keywords:["woolentor",(0,te.__)("archive","woolentor"),(0,te.__)("title","woolentor"),(0,te.__)("category title","woolentor")],example:{attributes:{title_tag:"h2"}},attributes:Kc,edit:Hc,save:function(){return null}};const Qc=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t),React.createElement(we.Fragment,null,React.createElement(tt,null),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Settings","woolentor"),initialOpen:!0},React.createElement(oe.TextControl,{label:(0,te.__)("Separator","woolentor"),placeholder:(0,te.__)("/","woolentor"),value:t.separator,onChange:function(e){return o({separator:e})}}))),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Style","woolentor"),initialOpen:!0},React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}),React.createElement(Ot,{label:(0,te.__)("Text Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Link Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.linkColor,onChange:function(e){return o({linkColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Link Hover Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.linkHoverColor,onChange:function(e){return o({linkHoverColor:e})}})),React.createElement(oe.RangeControl,{label:(0,te.__)("Space","woolentor"),value:t.space,onChange:function(e){return o({space:e})},min:0,step:1,max:500}),React.createElement(At,{label:(0,te.__)("Separator","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.separateColor,onChange:function(e){return o({separateColor:e})}})),React.createElement(oe.RangeControl,{label:(0,te.__)("Size","woolentor"),value:t.separateSize,onChange:function(e){return o({separateSize:e})},min:0,step:1,max:500}))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Vc(e){return Vc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vc(e)}var Yc;function Zc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jc(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Xc(e,t){return Xc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Xc(e,t)}function $c(e,t){if(t&&("object"===Vc(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},eu(e)}var tu=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Xc(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=eu(r);if(n){var o=eu(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return $c(this,e)});function l(){return Zc(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,u,s,d,m,p=st()((s=o,(u=o)in(c={})?Object.defineProperty(c,u,{value:s,enumerable:!0,configurable:!0,writable:!0}):c[u]=s,c),"woolentor-breadcrumb"),f=wn.div(Yc||(d=["\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t\t& .woocommerce-breadcrumb{\n\t\t\t\t","\n\t\t\t} & a{\n\t\t\t\t","\n\t\t\t} & a:hover{\n\t\t\t\t","\n\t\t\t}\n\t\t\t& span.breadcrumb-separator{\n\t\t\t\tmargin:0 ","px;\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t}\n\t\t"],m||(m=d.slice(0)),Yc=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.areaPadding&&Io(t.areaPadding,"padding"),Ho(i),Mo(t.contentAlignment,"text-align"),Mo(t.textColor,"color"),Mo(t.linkColor,"color","!important"),Mo(t.linkHoverColor,"color","!important"),t.space,Mo(t.separateColor,"color"),Mo(t.separateSize,"font-size","px")),g=""!=t.separator?React.createElement("span",{className:"breadcrumb-separator"},t.separator):React.createElement("span",{className:"breadcrumb-separator"}," / ");return React.createElement(we.Fragment,null,r&&React.createElement(Qc,this.props),React.createElement(f,{className:p},React.createElement("nav",{className:"woocommerce-breadcrumb"},React.createElement("a",{href:"#"},(0,te.__)("Home","woolentor")),g,React.createElement("a",{href:"#"},(0,te.__)("Shop","woolentor")),g,(0,te.__)("Sample Product","woolentor"))))}}],o&&Jc(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const ou=tu,ru=JSON.parse('{"name":"woolentor/breadcrumbs","category":"woolentor-blocks","title":"Breadcrumbs","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"separator":{"type":"string","default":"/"},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} {text-align:{{contentAlignment}}; }"}},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-breadcrumb{color:{{textColor}}; }"}},"linkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-breadcrumb a{color:{{linkColor}}; }"}},"linkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-breadcrumb a:hover{color:{{linkHoverColor}}; }"}},"space":{"type":"number","default":10,"style":{"selector":"{{WOOLENTOR_WRAPPER}} span.breadcrumb-separator{margin: 0 {{space}}px; }"}},"separateColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} span.breadcrumb-separator{color:{{separateColor}}; }"}},"separateSize":{"type":"number","default":14,"style":{"selector":"{{WOOLENTOR_WRAPPER}} span.breadcrumb-separator{font-size:{{separateSize}}px; }"}}}}'),nu=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 256 256"},React.createElement("path",{fill:"currentColor",d:"m56 48l80 80l-80 80V48z",opacity:".2"}),React.createElement("path",{fill:"currentColor",d:"m141.7 122.3l-80-80a8.4 8.4 0 0 0-8.8-1.7A8 8 0 0 0 48 48v160a8 8 0 0 0 4.9 7.4a8.5 8.5 0 0 0 3.1.6a8.3 8.3 0 0 0 5.7-2.3l80-80a8.1 8.1 0 0 0 0-11.4ZM64 188.7V67.3l60.7 60.7Z"}),React.createElement("path",{fill:"currentColor",d:"m221.7 122.3l-80-80a8.1 8.1 0 0 0-11.4 11.4l74.4 74.3l-74.4 74.3a8.1 8.1 0 0 0 0 11.4a8.2 8.2 0 0 0 11.4 0l80-80a8.1 8.1 0 0 0 0-11.4Z"}));var au=ru.name,lu=ru.category,iu=ru.attributes,cu={title:(0,te.__)("WL : Breadcrumbs","woolentor"),description:(0,te.__)("Display breadcrumbs.","woolentor"),icon:React.createElement(oe.Icon,{icon:nu}),keywords:["woolentor",(0,te.__)("breadcrumbs","woolentor"),(0,te.__)("navigation","woolentor"),(0,te.__)("breadcrumb","woolentor"),(0,te.__)("breadcrumbs menu","woolentor")],example:{attributes:{separator:"/"}},attributes:iu,edit:ou,save:function(){return null}};const uu=function(e){var t=e.attributes,o=e.setAttributes,r=t.titleTag;return React.createElement(we.Fragment,null,React.createElement(tt,null),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Settings","woolentor"),initialOpen:!0},React.createElement(oe.SelectControl,{label:(0,te.__)("Title Tag","woolentor"),value:r,options:zl,onChange:function(e){return o({titleTag:e})}}))),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Title","woolentor"),initialOpen:!0},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"titleAlignment",justified:!0}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function su(e){return su="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},su(e)}var du;function mu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pu(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fu(e,t){return fu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},fu(e,t)}function gu(e,t){if(t&&("object"===su(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},bu(e)}var yu=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&fu(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=bu(r);if(n){var o=bu(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return gu(this,e)});function l(){return mu(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,u,s,d,m,p=st()((s=o,(u=o)in(c={})?Object.defineProperty(c,u,{value:s,enumerable:!0,configurable:!0,writable:!0}):c[u]=s,c),"product"),f=st()("woolentor-product-title","product_title"),g=wn.div(du||(d=["\n\t\t\t","\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t","\n\t\t"],m||(m=d.slice(0)),du=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.titleColor&&Mo(t.titleColor,"color","!important"),t.titleSize&&Mo(t.titleSize,"font-size","!important"),t.titleAlignment&&Mo(t.titleAlignment,"text-align","!important"),t.titleMargin&&Io(t.titleMargin,"margin","!important"),t.areaPadding&&Io(t.areaPadding.desktop,"padding"),Ho(i));return React.createElement(we.Fragment,null,r&&React.createElement(uu,this.props),React.createElement("div",{className:p},React.createElement(g,{className:f,as:t.titleTag},woolentorData.sampledata.title)))}}],o&&pu(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const _u=yu,Ru=JSON.parse('{"name":"woolentor/product-title","category":"woolentor-single-product","title":"Product Title","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"titleTag":{"type":"string","default":"h2"},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.product_title { color: {{titleColor}} !important; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.product_title { font-size: {{titleSize}} !important; }"}},"titleAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.product_title { text-align: {{titleAlignment}} !important; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.product_title { margin: {{titleMargin}} !important; }"}}}}'),hu=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M5 4v3h5.5v12h3V7H19V4z",fill:"currentColor"}));var wu=Ru.name,Eu=Ru.category,vu=Ru.attributes,Ou={title:(0,te.__)("WL : Product Title","woolentor"),description:(0,te.__)("Display product title.","woolentor"),icon:React.createElement(oe.Icon,{icon:hu}),keywords:["woolentor",(0,te.__)("product","woolentor"),(0,te.__)("title","woolentor"),(0,te.__)("product title","woolentor")],example:{attributes:{title_tag:"h2"}},attributes:vu,edit:_u,save:function(){return null}};const Pu=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(we.Fragment,null,React.createElement(tt,{tabs:["styles","advanced"]}),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Price","woolentor"),initialOpen:!0},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.priceSize,fallbackFontSize:t.priceSize,onChange:function(e){return o({priceSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.priceMargin,attributesKey:"priceMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Reguler Price","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.oldPriceColor,onChange:function(e){return o({oldPriceColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.oldPriceSize,fallbackFontSize:t.oldPriceSize,onChange:function(e){return o({oldPriceSize:e})}}))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Cu(e){return Cu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Cu(e)}var Bu;function ku(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Au(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Tu(e,t){return Tu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Tu(e,t)}function Wu(e,t){if(t&&("object"===Cu(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Su(e)}var xu=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Tu(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Su(r);if(n){var o=Su(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Wu(this,e)});function l(){return ku(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,u,s,d,m,p=function(e){var o=t[e]?t[e]:{},r="";if(""!=o.top||""!=o.right||""!=o.bottom||""!=o.left){var n=o.unit?o.unit:"px";r=o.top?r+o.top+n+" ":"0"+n+" ",r=o.right?r+o.right+n+" ":"0"+n+" ",r=o.bottom?r+o.bottom+n+" ":"0"+n+" ",r=o.left?r+o.left+n+" ":"0"+n+" "}return r},f=st()((s=o,(u=o)in(c={})?Object.defineProperty(c,u,{value:s,enumerable:!0,configurable:!0,writable:!0}):c[u]=s,c),"woolentor-product-price","product"),g=wn.div(Bu||(d=[" \n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n\n & .price{\n ",";\n ",";\n ",";\n }\n & .price del{\n ",";\n ",";\n }\n\n "],m||(m=d.slice(0)),Bu=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.areaPadding&&"padding:"+p("areaPadding"),i.imageUrl&&"background-image:url("+i.imageUrl+")",i.position&&"background-position:"+i.position,i.attachment&&"background-attachment:"+i.attachment,i.repeat&&"background-repeat:"+i.repeat,i.size&&"background-size:"+i.size,t.priceColor&&"color:"+t.priceColor+"!important",t.priceSize&&"font-size:"+t.priceSize+"!important",t.priceMargin&&"margin:"+p("priceMargin"),t.oldPriceColor&&"color:"+t.oldPriceColor+"!important",t.oldPriceSize&&"font-size:"+t.oldPriceSize+"!important");return React.createElement(we.Fragment,null,r&&React.createElement(Pu,this.props),React.createElement(g,{className:f},(0,we.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.price_html}})))}}],o&&Au(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const zu=xu,Lu=JSON.parse('{"name":"woolentor/product-price","category":"woolentor-single-product","title":"Product Price","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"priceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .price { color: {{priceColor}} !important; }"}},"priceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .price { font-size: {{priceSize}} !important; }"}},"priceMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .price { margin: {{priceMargin}} !important; }"}},"oldPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .price del { color: {{oldPriceColor}} !important; }"}},"oldPriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .price del { font-size: {{oldPriceSize}} !important; }"}}}}'),Nu=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"0.57em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 288 512"},React.createElement("path",{d:"M209.2 233.4l-108-31.6C88.7 198.2 80 186.5 80 173.5c0-16.3 13.2-29.5 29.5-29.5h66.3c12.2 0 24.2 3.7 34.2 10.5c6.1 4.1 14.3 3.1 19.5-2l34.8-34c7.1-6.9 6.1-18.4-1.8-24.5C238 74.8 207.4 64.1 176 64V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48h-2.5C45.8 64-5.4 118.7.5 183.6c4.2 46.1 39.4 83.6 83.8 96.6l102.5 30c12.5 3.7 21.2 15.3 21.2 28.3c0 16.3-13.2 29.5-29.5 29.5h-66.3C100 368 88 364.3 78 357.5c-6.1-4.1-14.3-3.1-19.5 2l-34.8 34c-7.1 6.9-6.1 18.4 1.8 24.5c24.5 19.2 55.1 29.9 86.5 30v48c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-48.2c46.6-.9 90.3-28.6 105.7-72.7c21.5-61.6-14.6-124.8-72.5-141.7z",fill:"currentColor"}));var ju=Lu.name,Mu=Lu.category,Iu=Lu.attributes,Hu={title:(0,te.__)("WL : Product Price","woolentor"),description:(0,te.__)("Display product price.","woolentor"),icon:React.createElement(oe.Icon,{icon:Nu}),keywords:["woolentor",(0,te.__)("product","woolentor"),(0,te.__)("price","woolentor"),(0,te.__)("product price","woolentor")],example:{attributes:{priceColor:"#000"}},attributes:Iu,edit:zu,save:function(){return null}};const Fu=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(we.Fragment,null,React.createElement(tt,{tabs:["styles","advanced"]}),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Button","woolentor"),initialOpen:!0},React.createElement(ct,{name:"button"},React.createElement(mt,{name:"normal"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.buttonPadding,attributesKey:"buttonPadding",setAttributes:o}),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.buttonBorderType,options:Ll,onChange:function(e){return o({buttonBorderType:e})}}),t.buttonBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.buttonBorderWidth,attributesKey:"buttonBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.buttonBorderColor,onChange:function(e){return o({buttonBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.buttonBorderRadius,attributesKey:"buttonBorderRadius",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.buttonBackgroundColor,onChange:function(e){return o({buttonBackgroundColor:e})}}))),React.createElement(mt,{name:"hover"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.hoverTextColor,onChange:function(e){return o({hoverTextColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.hoverButtonBackgroundColor,onChange:function(e){return o({hoverButtonBackgroundColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.hoverButtonBorderColor,onChange:function(e){return o({hoverButtonBorderColor:e})}})))))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Gu(e){return Gu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gu(e)}var Du;function qu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ku(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Uu(e,t){return Uu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Uu(e,t)}function Qu(e,t){if(t&&("object"===Gu(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Vu(e)}var Yu=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Uu(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Vu(r);if(n){var o=Vu(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Qu(this,e)});function l(){return qu(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,u,s,d,m,p=function(e){var o=t[e]?t[e]:{},r="";if(""!=o.top||""!=o.right||""!=o.bottom||""!=o.left){var n=o.unit?o.unit:"px";r=o.top?r+o.top+n+" ":"0"+n+" ",r=o.right?r+o.right+n+" ":"0"+n+" ",r=o.bottom?r+o.bottom+n+" ":"0"+n+" ",r=o.left?r+o.left+n+" ":"0"+n+" "}return r},f=st()((s=o,(u=o)in(c={})?Object.defineProperty(c,u,{value:s,enumerable:!0,configurable:!0,writable:!0}):c[u]=s,c),"woocommerce"),g=st()("woolentor-product-addtocart","product"),b=wn.div(Du||(d=[" \n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n\n & .single_add_to_cart_button{\n ",";\n ",";\n ",";\n "," !important;\n "," !important;\n "," !important;\n "," !important;\n ",";\n }\n\n & .single_add_to_cart_button:hover{\n ",";\n ",";\n ",";\n }\n\n "],m||(m=d.slice(0)),Du=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.areaPadding&&"padding:"+p("areaPadding"),t.areaMargin&&"margin:"+p("areaMargin"),i.imageUrl&&"background-image:url("+i.imageUrl+")",i.position&&"background-position:"+i.position,i.attachment&&"background-attachment:"+i.attachment,i.repeat&&"background-repeat:"+i.repeat,i.size&&"background-size:"+i.size,t.textColor&&"color:"+t.textColor+"!important",t.textSize&&"font-size:"+t.textSize+"!important",t.buttonPadding&&"padding:"+p("buttonPadding")+"!important",t.buttonBorderType&&"border-style:"+t.buttonBorderType,t.buttonBorderWidth&&"border-width:"+p("buttonBorderWidth"),t.buttonBorderColor&&"border-color:"+t.buttonBorderColor,t.buttonBorderRadius&&"border-radius:"+p("buttonBorderRadius"),t.buttonBackgroundColor&&"background-color:"+t.buttonBackgroundColor+"!important",t.hoverTextColor&&"color:"+t.hoverTextColor+"!important",t.hoverButtonBackgroundColor&&"background-color:"+t.hoverButtonBackgroundColor+"!important",t.hoverButtonBorderColor&&"border-color:"+t.hoverButtonBorderColor+"!important");return React.createElement(we.Fragment,null,r&&React.createElement(Fu,this.props),React.createElement("div",{className:f},React.createElement(b,{className:g},React.createElement(oe.Disabled,null,React.createElement("a",{href:woolentorData.sampledata.addtocart.link,className:"single_add_to_cart_button button alt "+woolentorData.sampledata.addtocart.class},woolentorData.sampledata.addtocart.text)))))}}],o&&Ku(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const Zu=Yu,Ju=JSON.parse('{"name":"woolentor/product-addtocart","category":"woolentor-single-product","title":"Product Add To Cart","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ color: {{textColor}} !important; }"}},"textSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ font-size: {{textSize}} !important; }"}},"buttonPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ padding: {{buttonPadding}} !important; }"}},"buttonBorderType":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ border-style: {{buttonBorderType}} !important; }"}},"buttonBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"buttonBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ border-width: {{buttonBorderWidth}} !important; }"}},"buttonBorderColor":{"type":"string","style":{"dependency":[[{"key":"buttonBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ border-color: {{buttonBorderColor}} !important; }"}},"buttonBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ border-radius: {{buttonBorderRadius}} !important; }"}},"buttonBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ background-color: {{buttonBackgroundColor}} !important; }"}},"hoverTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button:hover{ color: {{hoverTextColor}} !important; }"}},"hoverButtonBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button:hover{ background-color: {{hoverButtonBackgroundColor}} !important; }"}},"hoverButtonBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button:hover{ border-color: {{hoverButtonBorderColor}} !important; }"}}}}'),Xu=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1.13em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 576 512"},React.createElement("path",{d:"M504.717 320H211.572l6.545 32h268.418c15.401 0 26.816 14.301 23.403 29.319l-5.517 24.276C523.112 414.668 536 433.828 536 456c0 31.202-25.519 56.444-56.824 55.994c-29.823-.429-54.35-24.631-55.155-54.447c-.44-16.287 6.085-31.049 16.803-41.548H231.176C241.553 426.165 248 440.326 248 456c0 31.813-26.528 57.431-58.67 55.938c-28.54-1.325-51.751-24.385-53.251-52.917c-1.158-22.034 10.436-41.455 28.051-51.586L93.883 64H24C10.745 64 0 53.255 0 40V24C0 10.745 10.745 0 24 0h102.529c11.401 0 21.228 8.021 23.513 19.19L159.208 64H551.99c15.401 0 26.816 14.301 23.403 29.319l-47.273 208C525.637 312.246 515.923 320 504.717 320zM408 168h-48v-40c0-8.837-7.163-16-16-16h-16c-8.837 0-16 7.163-16 16v40h-48c-8.837 0-16 7.163-16 16v16c0 8.837 7.163 16 16 16h48v40c0 8.837 7.163 16 16 16h16c8.837 0 16-7.163 16-16v-40h48c8.837 0 16-7.163 16-16v-16c0-8.837-7.163-16-16-16z",fill:"currentColor"}));var $u=Ju.name,es=Ju.category,ts=Ju.attributes,os={title:(0,te.__)("WL : Add To Cart","woolentor"),description:(0,te.__)("Display product cart button.","woolentor"),icon:React.createElement(oe.Icon,{icon:Xu}),keywords:["woolentor",(0,te.__)("product add to cart","woolentor"),(0,te.__)("cart button","woolentor"),(0,te.__)("add to cart","woolentor")],example:{attributes:{textColor:"#fff"}},attributes:ts,edit:Zu,save:function(){return null}};const rs=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(we.Fragment,null,React.createElement(tt,{tabs:["styles","advanced"]}),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Short Description","woolentor"),initialOpen:!0},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"textAlignment",justified:!0}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.textMargin,attributesKey:"textMargin",setAttributes:o}))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function ns(e){return ns="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ns(e)}var as;function ls(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function is(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cs(e,t){return cs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},cs(e,t)}function us(e,t){if(t&&("object"===ns(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ss(e){return ss=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ss(e)}var ds=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&cs(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ss(r);if(n){var o=ss(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return us(this,e)});function l(){return ls(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,u,s,d,m,p=function(e){var o=t[e]?t[e]:{},r="";if(""!=o.top||""!=o.right||""!=o.bottom||""!=o.left){var n=o.unit?o.unit:"px";r=o.top?r+o.top+n+" ":"0"+n+" ",r=o.right?r+o.right+n+" ":"0"+n+" ",r=o.bottom?r+o.bottom+n+" ":"0"+n+" ",r=o.left?r+o.left+n+" ":"0"+n+" "}return r},f=st()((s=o,(u=o)in(c={})?Object.defineProperty(c,u,{value:s,enumerable:!0,configurable:!0,writable:!0}):c[u]=s,c),"woocommerce"),g=st()("woolentor-product-short-description","product"),b=wn.div(as||(d=[" \n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n\n ",";\n & .woocommerce-product-details__short-description, .woocommerce-product-details__short-description p{\n\t\t\t\t",";\n ",";\n ",";\n\t\t\t}\n\n "],m||(m=d.slice(0)),as=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.areaPadding&&"padding:"+p("areaPadding"),t.areaMargin&&"margin:"+p("areaMargin"),i.imageUrl&&"background-image:url("+i.imageUrl+")",i.position&&"background-position:"+i.position,i.attachment&&"background-attachment:"+i.attachment,i.repeat&&"background-repeat:"+i.repeat,i.size&&"background-size:"+i.size,t.textAlignment&&"text-align:"+t.textAlignment,t.textColor&&"color:"+t.textColor,t.textSize&&"font-size:"+t.textSize+"!important",t.textMargin&&"margin:"+p("textMargin"));return React.createElement(we.Fragment,null,r&&React.createElement(rs,this.props),React.createElement("div",{className:f},React.createElement(b,{className:g},(0,we.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.short_description}}))))}}],o&&is(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const ms=ds,ps=JSON.parse('{"name":"woolentor/product-short-description","category":"woolentor-single-product","title":"Product Short Description","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description, {{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description p{ color: {{textColor}} !important; }"}},"textSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description, {{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description p{ font-size: {{textSize}} !important; }"}},"textAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description, {{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description p{ text-align: {{textAlignment}} !important; }"}},"textMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description, {{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description p{ margin: {{textMargin}}; }"}}}}'),fs=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 16 16"},React.createElement("g",{fill:"currentColor"},React.createElement("path",{d:"M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h13zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13z"}),React.createElement("path",{d:"M3 8.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm0-5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-1z"})));var gs=ps.name,bs=ps.category,ys=ps.attributes,_s={title:(0,te.__)("WL : Short Description","woolentor"),description:(0,te.__)("Display product short description.","woolentor"),icon:React.createElement(oe.Icon,{icon:fs}),keywords:["woolentor",(0,te.__)("product description","woolentor"),(0,te.__)("short description","woolentor"),(0,te.__)("description","woolentor")],example:{attributes:{textColor:"#000"}},attributes:ys,edit:ms,save:function(){return null}};const Rs=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(we.Fragment,null,React.createElement(tt,{tabs:["styles","advanced"]}),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Short Description","woolentor"),initialOpen:!0},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"textAlignment",justified:!0}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.textMargin,attributesKey:"textMargin",setAttributes:o}))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function hs(e){return hs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hs(e)}var ws;function Es(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vs(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Os(e,t){return Os=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Os(e,t)}function Ps(e,t){if(t&&("object"===hs(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Cs(e){return Cs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Cs(e)}var Bs=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Os(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Cs(r);if(n){var o=Cs(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Ps(this,e)});function l(){return Es(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,u,s,d,m,p=function(e){var o=t[e]?t[e]:{},r="";if(""!=o.top||""!=o.right||""!=o.bottom||""!=o.left){var n=o.unit?o.unit:"px";r=o.top?r+o.top+n+" ":"0"+n+" ",r=o.right?r+o.right+n+" ":"0"+n+" ",r=o.bottom?r+o.bottom+n+" ":"0"+n+" ",r=o.left?r+o.left+n+" ":"0"+n+" "}return r},f=st()((s=o,(u=o)in(c={})?Object.defineProperty(c,u,{value:s,enumerable:!0,configurable:!0,writable:!0}):c[u]=s,c),"woocommerce"),g=st()("woolentor-product-description","product"),b=wn.div(ws||(d=[" \n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n\n ",";\n & .woocommerce_product_description,.woocommerce_product_description p{\n\t\t\t\t",";\n ",";\n ",";\n\t\t\t}\n\n "],m||(m=d.slice(0)),ws=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.areaPadding&&"padding:"+p("areaPadding"),t.areaMargin&&"margin:"+p("areaMargin"),i.imageUrl&&"background-image:url("+i.imageUrl+")",i.position&&"background-position:"+i.position,i.attachment&&"background-attachment:"+i.attachment,i.repeat&&"background-repeat:"+i.repeat,i.size&&"background-size:"+i.size,t.textAlignment&&"text-align:"+t.textAlignment,t.textColor&&"color:"+t.textColor,t.textSize&&"font-size:"+t.textSize+"!important",t.textMargin&&"margin:"+p("textMargin"));return React.createElement(we.Fragment,null,r&&React.createElement(Rs,this.props),React.createElement("div",{className:f},React.createElement(b,{className:g},(0,we.createElement)("div",{className:"woocommerce_product_description",dangerouslySetInnerHTML:{__html:"<p>"+woolentorData.sampledata.description+"</p>"}}))))}}],o&&vs(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const ks=Bs,As=JSON.parse('{"name":"woolentor/product-description","category":"woolentor-single-product","title":"Product Description","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}{ margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce_product_description{ color: {{textColor}} !important; }"}},"textSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce_product_description{ font-size: {{textSize}} !important; }"}},"textAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}{ text-align: {{textAlignment}} !important; }"}},"textMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce_product_description{ margin: {{textMargin}}; }"}}}}'),Ts=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 16 16"},React.createElement("g",{fill:"currentColor"},React.createElement("path",{d:"M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h13zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13z"}),React.createElement("path",{d:"M3 8.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm0-5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-1z"})));var Ws=As.name,Ss=As.category,xs=As.attributes,zs={title:(0,te.__)("WL : Description","woolentor"),description:(0,te.__)("Display product description.","woolentor"),icon:React.createElement(oe.Icon,{icon:Ts}),keywords:["woolentor",(0,te.__)("description","woolentor"),(0,te.__)("product description","woolentor"),(0,te.__)("description","woolentor")],example:{attributes:{textColor:"#000"}},attributes:xs,edit:ks,save:function(){return null}};const Ls=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(we.Fragment,null,React.createElement(tt,{tabs:["styles","advanced"]}),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Rating","woolentor"),initialOpen:!0},React.createElement(Ot,{label:(0,te.__)("Star Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Link Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.linkColor,onChange:function(e){return o({linkColor:e})}})),React.createElement("h3",null,(0,te.__)("Link font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.linkSize,fallbackFontSize:t.linkSize,onChange:function(e){return o({linkSize:e})}}))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Ns(e){return Ns="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ns(e)}var js;function Ms(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Is(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Hs(e,t){return Hs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Hs(e,t)}function Fs(e,t){if(t&&("object"===Ns(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Gs(e){return Gs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Gs(e)}var Ds=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Hs(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Gs(r);if(n){var o=Gs(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Fs(this,e)});function l(){return Ms(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,u,s,d,m,p=function(e){var o=t[e]?t[e]:{},r="";if(""!=o.top||""!=o.right||""!=o.bottom||""!=o.left){var n=o.unit?o.unit:"px";r=o.top?r+o.top+n+" ":"0"+n+" ",r=o.right?r+o.right+n+" ":"0"+n+" ",r=o.bottom?r+o.bottom+n+" ":"0"+n+" ",r=o.left?r+o.left+n+" ":"0"+n+" "}return r},f=st()((s=o,(u=o)in(c={})?Object.defineProperty(c,u,{value:s,enumerable:!0,configurable:!0,writable:!0}):c[u]=s,c),"woocommerce"),g=st()("woolentor-product-rating","product"),b=wn.div(js||(d=[" \n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n\n ",";\n & .star-rating, .woocommerce-product-rating,.star-rating::before, .woocommerce-product-rating::before{\n\t\t\t\t",";\n\t\t\t}\n & a.woocommerce-review-link{\n ",";\n ",";\n }\n\n "],m||(m=d.slice(0)),js=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.areaPadding&&"padding:"+p("areaPadding"),t.areaMargin&&"margin:"+p("areaMargin"),i.imageUrl&&"background-image:url("+i.imageUrl+")",i.position&&"background-position:"+i.position,i.attachment&&"background-attachment:"+i.attachment,i.repeat&&"background-repeat:"+i.repeat,i.size&&"background-size:"+i.size,t.textAlignment&&"text-align:"+t.textAlignment,t.ratingColor&&"color:"+t.ratingColor+"!important",t.linkColor&&"color:"+t.linkColor+"!important",t.linkSize&&"font-size:"+t.linkSize+"!important");return React.createElement(we.Fragment,null,r&&React.createElement(Ls,this.props),React.createElement("div",{className:f},React.createElement(b,{className:g},(0,we.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.rating}}))))}}],o&&Is(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const qs=Ds,Ks=JSON.parse('{"name":"woolentor/product-rating","category":"woolentor-single-product","title":"Product Rating","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .star-rating,{{WOOLENTOR_WRAPPER}} .star-rating::before, {{WOOLENTOR_WRAPPER}} .woocommerce-product-rating,{{WOOLENTOR_WRAPPER}} .woocommerce-product-rating::before{ color: {{ratingColor}} !important; }"}},"linkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.woocommerce-review-link{ color: {{linkColor}} !important; }"}},"linkSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.woocommerce-review-link{ font-size: {{linkSize}} !important; }"}}}}'),Us=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"0.97em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 496 512"},React.createElement("path",{d:"M248 8C111 8 0 119 0 256s111 248 248 248s248-111 248-248S385 8 248 8zM94.6 168.9l34.9-5l15.5-31.6c2.9-5.8 11-5.8 13.9 0l15.5 31.6l34.9 5c6.2 1 8.9 8.6 4.3 13.2l-25.4 24.6l6 34.9c1 6.2-5.3 11-11 7.9L152 233.3l-31.3 16.3c-5.7 3.1-12-1.7-11-7.9l6-34.9l-25.4-24.6c-4.6-4.7-1.9-12.3 4.3-13.3zM248 432c-60.6 0-134.5-38.3-143.8-93.3c-2-11.8 9.3-21.5 20.7-17.9C155.1 330.5 200 336 248 336s92.9-5.5 123.1-15.2c11.5-3.7 22.6 6.1 20.7 17.9c-9.3 55-83.2 93.3-143.8 93.3zm157.7-249.9l-25.4 24.6l6 34.9c1 6.2-5.3 11-11 7.9L344 233.3l-31.3 16.3c-5.7 3.1-12-1.7-11-7.9l6-34.9l-25.4-24.6c-4.5-4.6-1.9-12.2 4.3-13.2l34.9-5l15.5-31.6c2.9-5.8 11-5.8 13.9 0l15.5 31.6l34.9 5c6.3.9 9 8.5 4.4 13.1z",fill:"currentColor"}));var Qs=Ks.name,Vs=Ks.category,Ys=Ks.attributes,Zs={title:(0,te.__)("WL : Rating","woolentor"),description:(0,te.__)("Display product rating.","woolentor"),icon:React.createElement(oe.Icon,{icon:Us}),keywords:["woolentor",(0,te.__)("rating","woolentor"),(0,te.__)("product review","woolentor"),(0,te.__)("product rating","woolentor")],example:{attributes:{ratingColor:"inherit"}},attributes:Ys,edit:qs,save:function(){return null}};const Js=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(we.Fragment,null,React.createElement(tt,{tabs:["styles","advanced"]}),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Image","woolentor"),initialOpen:!0},React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.imageBorderType,options:Ll,onChange:function(e){return o({imageBorderType:e})}}),t.imageBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.imageBorderWidth,attributesKey:"imageBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Thumbnails","woolentor")},React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.thumbBorderType,options:Ll,onChange:function(e){return o({thumbBorderType:e})}}),t.thumbBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.thumbBorderWidth,attributesKey:"thumbBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.thumbBorderColor,onChange:function(e){return o({thumbBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.thumbBorderRadius,attributesKey:"thumbBorderRadius",setAttributes:o}),React.createElement(oe.RangeControl,{label:(0,te.__)("Spacing","woolentor"),value:t.thumbSpacing,onChange:function(e){return o({thumbSpacing:e})},min:1,step:1,max:1e3,allowReset:!0}))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Xs(e){return Xs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xs(e)}var $s;function ed(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function td(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function od(e,t){return od=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},od(e,t)}function rd(e,t){if(t&&("object"===Xs(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function nd(e){return nd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},nd(e)}var ad=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&od(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=nd(r);if(n){var o=nd(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return rd(this,e)});function l(){return ed(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=(e.name,e.attributes),o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,u,s,d,m,p=function(e){var o=t[e]?t[e]:{},r="";if(""!=o.top||""!=o.right||""!=o.bottom||""!=o.left){var n=o.unit?o.unit:"px";r=o.top?r+o.top+n+" ":"0"+n+" ",r=o.right?r+o.right+n+" ":"0"+n+" ",r=o.bottom?r+o.bottom+n+" ":"0"+n+" ",r=o.left?r+o.left+n+" ":"0"+n+" "}return r},f=st()((s=o,(u=o)in(c={})?Object.defineProperty(c,u,{value:s,enumerable:!0,configurable:!0,writable:!0}):c[u]=s,c),"woocommerce"),g=st()("woolentor-product-image"),b=wn.div($s||(d=[" \n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n\n & div.product div.images .woocommerce-product-gallery__image:nth-child(1){\n ","\n ","\n ","\n ","\n ","\n }\n & div.product div.images .woocommerce-product-gallery__image:nth-child(1) img{\n ","\n }\n & div.product div.images .woocommerce-product-gallery__image:nth-child(n+2){\n ","\n ","\n ","\n ","\n\n ","\n }\n & div.product div.images .woocommerce-product-gallery__image:nth-child(n+2) img{\n ","\n }\n\n "],m||(m=d.slice(0)),$s=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.areaPadding&&"padding:"+p("areaPadding"),t.areaMargin&&"margin:"+p("areaMargin"),i.imageUrl&&"background-image:url("+i.imageUrl+")",i.position&&"background-position:"+i.position,i.attachment&&"background-attachment:"+i.attachment,i.repeat&&"background-repeat:"+i.repeat,i.size&&"background-size:"+i.size,t.imageBorderType&&"border-style:"+t.imageBorderType+"!important;",t.imageBorderWidth&&"border-width:"+p("imageBorderWidth")+"!important;",t.imageBorderColor&&"border-color:"+t.imageBorderColor+"!important;",t.imageBorderRadius&&"border-radius:"+p("imageBorderRadius")+"!important;",t.imageMargin&&"margin:"+p("imageMargin")+"!important;",t.imageBorderRadius&&"border-radius:"+p("imageBorderRadius")+"!important;",t.thumbBorderType&&"border-style:"+t.thumbBorderType+"!important;",t.thumbBorderWidth&&"border-width:"+p("thumbBorderWidth")+"!important;",t.thumbBorderColor&&"border-color:"+t.thumbBorderColor+"!important;",t.thumbBorderRadius&&"border-radius:"+p("thumbBorderRadius")+"!important;",t.thumbSpacing&&"margin-right:"+t.thumbSpacing+"px;",t.thumbBorderRadius&&"border-radius:"+p("thumbBorderRadius")+"!important;");return React.createElement(we.Fragment,null,r&&React.createElement(Js,this.props),React.createElement("div",{className:f},React.createElement(b,{className:g},React.createElement(oe.Disabled,null,(0,we.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.image}})))))}}],o&&td(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const ld=ad,id=JSON.parse('{"name":"woolentor/product-image","category":"woolentor-single-product","title":"Product Image","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"imageBorderType":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper, .woocommerce {{WOOLENTOR_WRAPPER}} .flex-viewport{border-style:{{imageBorderType}};overflow:hidden; }"}},"imageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper, .woocommerce {{WOOLENTOR_WRAPPER}} .flex-viewport { border-width: {{imageBorderWidth}}; }"}},"imageBorderColor":{"type":"string","style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper, .woocommerce {{WOOLENTOR_WRAPPER}} .flex-viewport { border-color: {{imageBorderColor}}; }"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper, .woocommerce {{WOOLENTOR_WRAPPER}} .flex-viewport { border-radius: {{imageBorderRadius}}; }"}},"imageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-viewport:not(:last-child) { margin: {{imageMargin}}; }"}},"thumbBorderType":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs img { border-style: {{thumbBorderType}}; }"}},"thumbBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"thumbBorderType","condition":"!=","value":""}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs img { border-width: {{thumbBorderWidth}}; }"}},"thumbBorderColor":{"type":"string","style":{"dependency":[[{"key":"thumbBorderType","condition":"!=","value":""}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs img { border-color: {{thumbBorderColor}}; }"}},"thumbBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs img { border-radius: {{thumbBorderRadius}}; }"}},"thumbSpacing":{"type":"number","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs li { padding-right: calc({{thumbSpacing}}px / 2);padding-left: calc({{thumbSpacing}}px / 2);}.woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs { margin-right: calc(-{{thumbSpacing}}px / 2)!important;margin-left: calc(-{{thumbSpacing}}px / 2)!important; }"}}}}'),cd=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M21 3H2v13h19V3M2 17h4v4H2v-4m5 0h4v4H7v-4m5 0h4v4h-4v-4m5 0h4v4h-4v-4z",fill:"currentColor"}));var ud=id.name,sd=id.category,dd=id.attributes,md={title:(0,te.__)("WL : Product Image","woolentor"),description:(0,te.__)("Display product image.","woolentor"),icon:React.createElement(oe.Icon,{icon:cd}),keywords:["woolentor",(0,te.__)("image","woolentor"),(0,te.__)("product image","woolentor")],attributes:dd,edit:ld,save:function(){return null}};const pd=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(we.Fragment,null,React.createElement(tt,{tabs:["styles","advanced"]}),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Product Meta","woolentor"),initialOpen:!0},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Link Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.linkColor,onChange:function(e){return o({linkColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Link Hover Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.linkHoverColor,onChange:function(e){return o({linkHoverColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.textMargin,attributesKey:"textMargin",setAttributes:o}))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function fd(e){return fd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fd(e)}var gd;function bd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yd(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _d(e,t){return _d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_d(e,t)}function Rd(e,t){if(t&&("object"===fd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function hd(e){return hd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},hd(e)}var wd=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_d(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=hd(r);if(n){var o=hd(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Rd(this,e)});function l(){return bd(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,u,s,d,m,p=function(e){var o=t[e]?t[e]:{},r="";if(""!=o.top||""!=o.right||""!=o.bottom||""!=o.left){var n=o.unit?o.unit:"px";r=o.top?r+o.top+n+" ":"0"+n+" ",r=o.right?r+o.right+n+" ":"0"+n+" ",r=o.bottom?r+o.bottom+n+" ":"0"+n+" ",r=o.left?r+o.left+n+" ":"0"+n+" "}return r},f=st()((s=o,(u=o)in(c={})?Object.defineProperty(c,u,{value:s,enumerable:!0,configurable:!0,writable:!0}):c[u]=s,c),"woocommerce"),g=st()("woolentor-product-meta"),b=wn.div(gd||(d=[" \n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n\n & .product_meta{\n ",";\n ",";\n ",";\n }\n & .product_meta a{\n ",";\n }\n & .product_meta a:hover{\n ",";\n }\n "],m||(m=d.slice(0)),gd=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.areaPadding&&"padding:"+p("areaPadding"),t.areaMargin&&"margin:"+p("areaMargin"),i.imageUrl&&"background-image:url("+i.imageUrl+")",i.position&&"background-position:"+i.position,i.attachment&&"background-attachment:"+i.attachment,i.repeat&&"background-repeat:"+i.repeat,i.size&&"background-size:"+i.size,t.textColor&&"color:"+t.textColor,t.textSize&&"font-size:"+t.textSize,t.textMargin&&"margin:"+p("textMargin"),t.linkColor&&"color:"+t.linkColor,t.linkHoverColor&&"color:"+t.linkHoverColor);return React.createElement(we.Fragment,null,r&&React.createElement(pd,this.props),React.createElement("div",{className:f},React.createElement(b,{className:g},(0,we.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.meta_info}}))))}}],o&&yd(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const Ed=wd,vd=JSON.parse('{"name":"woolentor/product-meta","category":"woolentor-single-product","title":"Product Meta","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"textColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta{ color: {{textColor}}; }"}},"linkColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta a{ color: {{linkColor}}; }"}},"linkHoverColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta a:hover{ color: {{linkHoverColor}}; }"}},"textSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta{ font-size: {{textSize}} !important; }"}},"textMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta{ margin: {{textMargin}}; }"}}}}'),Od=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 512 512"},React.createElement("path",{d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42s-42-18.804-42-42s18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z",fill:"currentColor"}));var Pd=vd.name,Cd=vd.category,Bd=vd.attributes,kd={title:(0,te.__)("WL : Product Meta","woolentor"),description:(0,te.__)("Display product meta info.","woolentor"),icon:React.createElement(oe.Icon,{icon:Od}),keywords:["woolentor",(0,te.__)("product meta","woolentor"),(0,te.__)("meta info","woolentor"),(0,te.__)("product info","woolentor")],example:{attributes:{textColor:"#000"}},attributes:Bd,edit:Ed,save:function(){return null}};const Ad=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(we.Fragment,null,React.createElement(tt,null),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Settings","woolentor"),initialOpen:!0},React.createElement(Ot,{label:(0,te.__)("Show Heading","woolentor")},React.createElement(oe.ToggleControl,{checked:t.showHeading,onChange:function(){return o({showHeading:!t.showHeading})}})))),React.createElement(Xe,null,!0===t.showHeading&&React.createElement(ft,{title:(0,te.__)("Heading","woolentor"),initialOpen:!0},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Content Table","woolentor")},React.createElement(At,{label:(0,te.__)("Heading","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tableHeadingColor,onChange:function(e){return o({tableHeadingColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableHeadingSize,fallbackFontSize:t.tableHeadingSize,onChange:function(e){return o({tableHeadingSize:e})}}),React.createElement(At,{label:(0,te.__)("Content","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tableContentColor,onChange:function(e){return o({tableContentColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableContentSize,fallbackFontSize:t.tableContentSize,onChange:function(e){return o({tableContentSize:e})}}))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Td(e){return Td="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Td(e)}var Wd;function Sd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xd(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zd(e,t){return zd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},zd(e,t)}function Ld(e,t){if(t&&("object"===Td(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Nd(e){return Nd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Nd(e)}var jd=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zd(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Nd(r);if(n){var o=Nd(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Ld(this,e)});function l(){return Sd(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=(e.name,e.attributes),o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,u,s,d,m,p=function(e){var o=t[e]?t[e]:{},r="";if(""!=o.top||""!=o.right||""!=o.bottom||""!=o.left){var n=o.unit?o.unit:"px";r=o.top?r+o.top+n+" ":"0"+n+" ",r=o.right?r+o.right+n+" ":"0"+n+" ",r=o.bottom?r+o.bottom+n+" ":"0"+n+" ",r=o.left?r+o.left+n+" ":"0"+n+" "}return r},f=st()((s=o,(u=o)in(c={})?Object.defineProperty(c,u,{value:s,enumerable:!0,configurable:!0,writable:!0}):c[u]=s,c),"woocommerce"),g=st()("woolentor-product-additional-info"),b=wn.div(Wd||(d=[" \n ","\n ","\n ","\n ","\n ","\n ","\n ","\n\n & h2{\n ","\n ","\n ","\n ","\n }\n\n & .shop_attributes th{\n ","\n ","\n }\n & .shop_attributes td,.shop_attributes td p{\n ","\n ","\n }\n\n "],m||(m=d.slice(0)),Wd=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.areaPadding&&"padding:"+p("areaPadding")+";",t.areaMargin&&"margin:"+p("areaMargin")+";",i.imageUrl&&"background-image:url("+i.imageUrl+");",i.position&&"background-position:"+i.position+";",i.attachment&&"background-attachment:"+i.attachment+";",i.repeat&&"background-repeat:"+i.repeat+";",i.size&&"background-size:"+i.size+";",!0===t.showHeading?"display:block;":"display:none;",!0===t.showHeading&&t.headingColor?"color:"+t.headingColor+"!important;":"",!0===t.showHeading&&t.headingSize?"font-size:"+t.headingSize+"!important;":"",!0===t.showHeading&&t.headingMargin?"margin:"+p("headingMargin")+"!important;":"",t.tableHeadingColor&&"color:"+t.tableHeadingColor+";",t.tableHeadingSize&&"font-size:"+t.tableHeadingSize+";",t.tableContentColor&&"color:"+t.tableContentColor+";",t.tableContentSize&&"font-size:"+t.tableContentSize+";");return React.createElement(we.Fragment,null,r&&React.createElement(Ad,this.props),React.createElement("div",{className:f},React.createElement(b,{className:g},(0,we.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.additional_info}}))))}}],o&&xd(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const Md=jd,Id=JSON.parse('{"name":"woolentor/product-additional-info","category":"woolentor-single-product","title":"Product Additional Info","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"showHeading":{"type":"boolean","default":true},"headingColor":{"type":"string","style":{"dependency":[[{"key":"showHeading","condition":"==","value":true}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} h2 { color: {{headingColor}}; }"}},"headingSize":{"type":"string","style":{"dependency":[[{"key":"showHeading","condition":"==","value":true}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} h2 { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"showHeading","condition":"==","value":true}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} h2 { margin: {{headingMargin}}; }"}},"tableHeadingColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .shop_attributes th { color: {{tableHeadingColor}}; }"}},"tableHeadingSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .shop_attributes th { font-size: {{tableHeadingSize}}; }"}},"tableContentColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .shop_attributes td { color: {{tableContentColor}}; }"}},"tableContentSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .shop_attributes td { font-size: {{tableContentSize}}; }"}}}}'),Hd=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"0.75em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 384 512"},React.createElement("path",{d:"M336 64h-80c0-35.3-28.7-64-64-64s-64 28.7-64 64H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM96 424c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm0-96c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm0-96c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm96-192c13.3 0 24 10.7 24 24s-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24zm128 368c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-96c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-96c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16z",fill:"currentColor"}));var Fd=Id.name,Gd=Id.category,Dd=Id.attributes,qd={title:(0,te.__)("WL : Product Additional Info","woolentor"),description:(0,te.__)("Display product additional information.","woolentor"),icon:React.createElement(oe.Icon,{icon:Hd}),keywords:["woolentor",(0,te.__)("additional info","woolentor"),(0,te.__)("information","woolentor"),(0,te.__)("product information","woolentor")],example:{attributes:{showHeading:!0}},attributes:Dd,edit:Md,save:function(){return null}};const Kd=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(we.Fragment,null,React.createElement(tt,{tabs:["styles","advanced"]}),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Tab Menu","woolentor"),initialOpen:!0},React.createElement(ct,{name:"menu",tabs:["normal","active"]},React.createElement(mt,{name:"normal"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tabMenuColor,onChange:function(e){return o({tabMenuColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tabMenuBGColor,onChange:function(e){return o({tabMenuBGColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tabMenuBorderColor,onChange:function(e){return o({tabMenuBorderColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tabMenuSize,fallbackFontSize:t.tabMenuSize,onChange:function(e){return o({tabMenuSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.tabMenuBorderRadius,attributesKey:"tabMenuBorderRadius",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"tabMenuAlignment",justified:!0})),React.createElement(mt,{name:"active"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tabMenuActiveColor,onChange:function(e){return o({tabMenuActiveColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tabMenuBGActiveColor,onChange:function(e){return o({tabMenuBGActiveColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tabMenuActiveBorderColor,onChange:function(e){return o({tabMenuActiveBorderColor:e})}}))))),React.createElement(ft,{title:(0,te.__)("Content","woolentor")},React.createElement(At,{label:(0,te.__)("Heading","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tabContentHeadingColor,onChange:function(e){return o({tabContentHeadingColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tabContentHeadingSize,fallbackFontSize:t.tabContentHeadingSize,onChange:function(e){return o({tabContentHeadingSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.tabContentHeadingMargin,attributesKey:"tabContentHeadingMargin",setAttributes:o}),React.createElement(At,{label:(0,te.__)("Description","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tabContentColor,onChange:function(e){return o({tabContentColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tabContentSize,fallbackFontSize:t.tabContentSize,onChange:function(e){return o({tabContentSize:e})}}))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Ud(e){return Ud="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ud(e)}var Qd;function Vd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yd(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Zd(e,t){return Zd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Zd(e,t)}function Jd(e,t){if(t&&("object"===Ud(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Xd(e){return Xd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Xd(e)}var $d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Zd(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Xd(r);if(n){var o=Xd(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Jd(this,e)});function l(){return Vd(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=(e.name,e.attributes),o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,u,s,d,m,p=function(e){var o=t[e]?t[e]:{},r="";if(""!=o.top||""!=o.right||""!=o.bottom||""!=o.left){var n=o.unit?o.unit:"px";r=o.top?r+o.top+n+" ":"0"+n+" ",r=o.right?r+o.right+n+" ":"0"+n+" ",r=o.bottom?r+o.bottom+n+" ":"0"+n+" ",r=o.left?r+o.left+n+" ":"0"+n+" "}return r},f=st()((s=o,(u=o)in(c={})?Object.defineProperty(c,u,{value:s,enumerable:!0,configurable:!0,writable:!0}):c[u]=s,c),"woocommerce"),g=st()("woolentor-product-tabs","product"),b=wn.div(Qd||(d=[" \n ","\n ","\n ","\n ","\n ","\n ","\n ","\n\n & .woocommerce-tabs ul.wc-tabs{\n ","\n }\n & .woocommerce-tabs ul.wc-tabs li{\n ","\n ","\n }\n & .woocommerce-tabs ul.wc-tabs li a{\n ","\n ","\n }\n & .woocommerce-tabs .woocommerce-Tabs-panel, .woocommerce-tabs ul.wc-tabs li{\n ","\n }\n\n & .woocommerce-tabs ul.wc-tabs li.active{\n ","\n ","\n }\n & .woocommerce-tabs ul.wc-tabs li:not(.active){\n ","\n }\n & .woocommerce-tabs ul.wc-tabs li.active a{\n ","\n }\n\n & .woocommerce-Tabs-panel h2{\n ","\n ","\n ","\n }\n\n & .woocommerce-Tabs-panel{\n ","\n ","\n }\n & .woocommerce-Tabs-panel p{\n ","\n }\n\n "],m||(m=d.slice(0)),Qd=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.areaPadding&&"padding:"+p("areaPadding")+";",t.areaMargin&&"margin:"+p("areaMargin")+";",i.imageUrl&&"background-image:url("+i.imageUrl+");",i.position&&"background-position:"+i.position+";",i.attachment&&"background-attachment:"+i.attachment+";",i.repeat&&"background-repeat:"+i.repeat+";",i.size&&"background-size:"+i.size+";",t.tabMenuAlignment&&"text-align:"+t.tabMenuAlignment+"!important;",t.tabMenuBGColor&&"background-color:"+t.tabMenuBGColor+"!important;",t.tabMenuBorderRadius&&"border-radius:"+p("tabMenuBorderRadius")+"!important;",t.tabMenuColor&&"color:"+t.tabMenuColor+"!important;",t.tabMenuSize&&"font-size:"+t.tabMenuSize+"!important;",t.tabMenuBorderColor&&"border-color:"+t.tabMenuBorderColor+"!important;",t.tabMenuBGActiveColor&&"background-color:"+t.tabMenuBGActiveColor+"!important;",t.tabMenuActiveBorderColor&&"border-color:"+t.tabMenuActiveBorderColor+"!important;",t.tabMenuActiveBorderColor&&"border-bottom-color:"+t.tabMenuActiveBorderColor+"!important;",t.tabMenuActiveColor&&"color:"+t.tabMenuActiveColor+"!important;",t.tabContentHeadingColor&&"color:"+t.tabContentHeadingColor+"!important;",t.tabContentHeadingSize&&"font-size:"+t.tabContentHeadingSize+"!important;",t.tabContentHeadingMargin&&"margin:"+p("tabContentHeadingMargin")+"!important;",t.tabContentColor&&"color:"+t.tabContentColor+"!important;",t.tabContentSize&&"font-size:"+t.tabContentSize+"!important;",t.tabContentSize&&"font-size:"+t.tabContentSize+"!important;");return React.createElement(we.Fragment,null,r&&React.createElement(Kd,this.props),React.createElement("div",{className:f},React.createElement(b,{className:g},(0,we.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.product_tabs}}))))}}],o&&Yd(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const em=$d,tm=JSON.parse('{"name":"woolentor/product-tabs","category":"woolentor-single-product","title":"Product Data Tabs","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"tabMenuColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li a{ color: {{tabMenuColor}} !important; }"}},"tabMenuBGColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li{ background-color: {{tabMenuBGColor}} !important; }"}},"tabMenuBorderColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs .woocommerce-Tabs-panel,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li{ border-color: {{tabMenuBorderColor}} !important; }"}},"tabMenuSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li a{ font-size: {{tabMenuSize}} !important; }"}},"tabMenuBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li{ border-radius: {{tabMenuBorderRadius}} !important; }"}},"tabMenuAlignment":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs{ text-align: {{tabMenuAlignment}} !important; }"}},"tabMenuActiveColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li.active a{ color: {{tabMenuActiveColor}} !important; }"}},"tabMenuBGActiveColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li.active{ background-color: {{tabMenuBGActiveColor}} !important; }"}},"tabMenuActiveBorderColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li.active{ border-color: {{tabMenuActiveBorderColor}} !important; }.woocommerce .{{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li:not(.active){ border-bottom-color:{{tabMenuActiveBorderColor}}; }"}},"tabContentHeadingColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-Tabs-panel h2{ color: {{tabContentHeadingColor}} !important; }"}},"tabContentHeadingSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-Tabs-panel h2{ font-size: {{tabContentHeadingSize}} !important; }"}},"tabContentHeadingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-Tabs-panel h2{ margin: {{tabContentHeadingMargin}} !important; }"}},"tabContentColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-Tabs-panel,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-Tabs-panel p{ color: {{tabContentColor}} !important; }"}},"tabContentSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs .woocommerce-Tabs-panel{ font-size: {{tabContentSize}} !important; }"}}}}'),om=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 256 256"},React.createElement("path",{d:"M32 96h192l.008-40a8 8 0 0 0-8-8h-176a8 8 0 0 0-8 8z",opacity:".2",fill:"currentColor"}),React.createElement("path",{d:"M216.008 40h-176a16.018 16.018 0 0 0-16 16v39.845c-.001.052-.008.103-.008.155s.007.103.008.155V200a16.018 16.018 0 0 0 16 16h176a16.018 16.018 0 0 0 16-16V56a16.018 16.018 0 0 0-16-16zm0 16l.002 32H40.008V56zm0 144h-176v-96H216.01l.007 96z",fill:"currentColor"}));var rm=tm.name,nm=tm.category,am=tm.attributes,lm={title:(0,te.__)("WL : Product Tabs","woolentor"),description:(0,te.__)("Display product tabs.","woolentor"),icon:React.createElement(oe.Icon,{icon:om}),keywords:["woolentor",(0,te.__)("tabs","woolentor"),(0,te.__)("product","woolentor"),(0,te.__)("product tabs","woolentor")],example:{attributes:{tabMenuColor:"#000"}},attributes:am,edit:em,save:function(){return null}};const im=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(we.Fragment,null,React.createElement(tt,{tabs:["styles","advanced"]}),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Text","woolentor"),initialOpen:!0},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function cm(e){return cm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cm(e)}var um;function sm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dm(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mm(e,t){return mm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},mm(e,t)}function pm(e,t){if(t&&("object"===cm(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function fm(e){return fm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},fm(e)}var gm=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&mm(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=fm(r);if(n){var o=fm(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return pm(this,e)});function l(){return sm(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,u,s,d,m,p=st()((s=o,(u=o)in(c={})?Object.defineProperty(c,u,{value:s,enumerable:!0,configurable:!0,writable:!0}):c[u]=s,c),"product"),f=st()("woolentor-product-stock-status"),g=wn.div(um||(d=["\n\t\t\t& p{\n\t\t\t\t",";\n\t\t\t\t",";\n\t\t\t}\n\t\t\t\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t"],m||(m=d.slice(0)),um=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.textColor&&"color:"+t.textColor+"!important",t.textSize&&"font-size:"+t.textSize+"!important",t.areaPadding&&"padding:"+function(e){var o=t[e]?t[e]:{},r="";if(""!=o.top||""!=o.right||""!=o.bottom||""!=o.left){var n=o.unit?o.unit:"px";r=o.top?r+o.top+n+" ":"0"+n+" ",r=o.right?r+o.right+n+" ":"0"+n+" ",r=o.bottom?r+o.bottom+n+" ":"0"+n+" ",r=o.left?r+o.left+n+" ":"0"+n+" "}return r}("areaPadding"),i.imageUrl&&"background-image:url("+i.imageUrl+")",i.position&&"background-position:"+i.position,i.attachment&&"background-attachment:"+i.attachment,i.repeat&&"background-repeat:"+i.repeat,i.size&&"background-size:"+i.size);return React.createElement(we.Fragment,null,r&&React.createElement(im,this.props),React.createElement("div",{className:p},React.createElement(g,{className:f},(0,we.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.product_stock}}))))}}],o&&dm(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const bm=gm,ym=JSON.parse('{"name":"woolentor/product-stock","category":"woolentor-single-product","title":"Product Stock","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"textColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} [class^=\'stock\']{ color: {{textColor}}!important; }"}},"textSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} [class^=\'stock\']{ font-size: {{textSize}}!important; }"}}}}'),_m=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("g",{class:"icon-tabler",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},React.createElement("path",{d:"M12 3l8 4.5v9L12 21l-8-4.5v-9L12 3"}),React.createElement("path",{d:"M12 12l8-4.5"}),React.createElement("path",{d:"M12 12v9"}),React.createElement("path",{d:"M12 12L4 7.5"})));var Rm=ym.name,hm=ym.category,wm=ym.attributes,Em={title:(0,te.__)("WL: Product Stock","woolentor"),description:(0,te.__)("Display product stock.","woolentor"),icon:React.createElement(oe.Icon,{icon:_m}),keywords:["woolentor",(0,te.__)("product","woolentor"),(0,te.__)("status","woolentor"),(0,te.__)("stock status","woolentor")],example:{attributes:{}},attributes:wm,edit:bm,save:function(){return null}};const vm=function(e){var t=e.attributes,o=e.setAttributes,r=t.addCartUrl,n=t.quantity,a=t.size;return React.createElement(we.Fragment,null,React.createElement(tt,null),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("QR Code","woolentor"),initialOpen:!0},React.createElement(oe.RangeControl,{label:(0,te.__)("Size","woolentor"),value:a,onChange:function(e){return o({size:e})},min:1,step:1,max:1e3}),React.createElement(Ot,{label:(0,te.__)("Enable Add to Cart URL","woolentor")},React.createElement(oe.ToggleControl,{checked:r,onChange:function(){return o({addCartUrl:!r})}})),r&&React.createElement(oe.RangeControl,{label:(0,te.__)("Quantity","woolentor"),value:n,onChange:function(e){return o({quantity:e})},min:1,step:1,max:1e3}))),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Style","woolentor"),initialOpen:!0},React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"codeAlign",justified:!0}))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))},Om=window.wp.serverSideRender;var Pm=o.n(Om);function Cm(e){return Cm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Cm(e)}function Bm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function km(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Am(e,t){return Am=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Am(e,t)}function Tm(e,t){if(t&&("object"===Cm(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Wm(e){return Wm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Wm(e)}var Sm=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Am(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Wm(r);if(n){var o=Wm(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Tm(this,e)});function l(){return Bm(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId,c=o.areaBGProperty;""==i&&a({blockUniqId:l});var u,s,d,m=st()((d=r,(s=r)in(u={})?Object.defineProperty(u,s,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[s]=d,u),"woolentorblock-qrcode-"+i);return React.createElement(we.Fragment,null,n&&React.createElement(vm,this.props),React.createElement("div",{className:m},React.createElement(Pm(),{block:t,attributes:{size:o.size}}),React.createElement("style",{type:"text/css"},"\n\t\t\t\t\t\t\t.woolentorblock-qrcode-".concat(i,"{\n\t\t\t\t\t\t\t\t").concat(o.areaPadding&&"padding:"+function(e){var t=o[e]?o[e]:{},r="";if(""!=t.top||""!=t.right||""!=t.bottom||""!=t.left){var n=t.unit?t.unit:"px";r=t.top?r+t.top+n+" ":"0"+n+" ",r=t.right?r+t.right+n+" ":"0"+n+" ",r=t.bottom?r+t.bottom+n+" ":"0"+n+" ",r=t.left?r+t.left+n+" ":"0"+n+" "}return r}("areaPadding")+";","\n\t\t\t\t\t\t\t\t").concat(c.imageUrl&&"background-image:url("+c.imageUrl+");","\n\t\t\t\t\t\t\t\t").concat(c.position&&"background-position:"+c.position+";","\n\t\t\t\t\t\t\t\t").concat(c.attachment&&"background-attachment:"+c.attachment+";","\n\t\t\t\t\t\t\t\t").concat(c.repeat&&"background-repeat:"+c.repeat+";","\n\t\t\t\t\t\t\t\t").concat(c.size&&"background-size:"+c.size+";","\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t").concat(o.codeAlign&&".woolentorblock-qrcode-".concat(i," .woolentor-qrcode{\n\t\t\t\t\t\t\t\t\ttext-align: ").concat(o.codeAlign,";\n\t\t\t\t\t\t\t\t}"),"\n\t\t\t\t\t\t"))))}}],o&&km(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const xm=Sm,zm=JSON.parse('{"name":"woolentor/product-qrcode","category":"woolentor-single-product","title":"Product QR Code","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"size":{"type":"number","default":150},"addCartUrl":{"type":"boolean","default":false},"quantity":{"type":"number","default":1},"codeAlign":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} { text-align: {{codeAlign}} !important; }"}}}}'),Lm=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 16 16"},React.createElement("g",{fill:"currentColor"},React.createElement("path",{d:"M0 .5A.5.5 0 0 1 .5 0h3a.5.5 0 0 1 0 1H1v2.5a.5.5 0 0 1-1 0v-3zm12 0a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0V1h-2.5a.5.5 0 0 1-.5-.5zM.5 12a.5.5 0 0 1 .5.5V15h2.5a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5zm15 0a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1 0-1H15v-2.5a.5.5 0 0 1 .5-.5zM4 4h1v1H4V4z"}),React.createElement("path",{d:"M7 2H2v5h5V2zM3 3h3v3H3V3zm2 8H4v1h1v-1z"}),React.createElement("path",{d:"M7 9H2v5h5V9zm-4 1h3v3H3v-3zm8-6h1v1h-1V4z"}),React.createElement("path",{d:"M9 2h5v5H9V2zm1 1v3h3V3h-3zM8 8v2h1v1H8v1h2v-2h1v2h1v-1h2v-1h-3V8H8zm2 2H9V9h1v1zm4 2h-1v1h-2v1h3v-2zm-4 2v-1H8v1h2z"}),React.createElement("path",{d:"M12 9h2V8h-2v1z"})));var Nm=zm.name,jm=zm.category,Mm=zm.attributes,Im={title:(0,te.__)("WL: QR Code","woolentor"),description:(0,te.__)("Display product QR Code.","woolentor"),icon:React.createElement(oe.Icon,{icon:Lm}),keywords:["woolentor",(0,te.__)("code","woolentor"),(0,te.__)("qrcode","woolentor"),(0,te.__)("qrcode generate","woolentor"),(0,te.__)("product qr code","woolentor"),(0,te.__)("qr code for product","woolentor")],example:{attributes:{}},attributes:Mm,edit:xm,save:function(){return null}};function Hm(e){return Hm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hm(e)}function Fm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gm(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Dm(e,t){return Dm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Dm(e,t)}function qm(e,t){if(t&&("object"===Hm(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Km(e){return Km=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Km(e)}var Um=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Dm(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Km(r);if(n){var o=Km(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return qm(this,e)});function l(){return Fm(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.perPage,n=t.order,a=t.orderBy,l=t.hideTitle;return React.createElement(we.Fragment,null,React.createElement(tt,null),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Related Product","woolentor"),initialOpen:!0},React.createElement(Ao,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(Ot,{label:(0,te.__)("Heading","woolentor")},React.createElement(oe.ToggleControl,{checked:l,onChange:function(){return o({hideTitle:!l})}}))),React.createElement(ft,{title:(0,te.__)("Query Options","woolentor")},React.createElement(oe.RangeControl,{label:(0,te.__)("Products Per Page","woolentor"),value:r,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(oe.SelectControl,{label:(0,te.__)("Order","woolentor"),value:n,options:[{label:(0,te.__)("Descending","woolentor"),value:"DESC"},{label:(0,te.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(oe.SelectControl,{label:(0,te.__)("Orderby","woolentor"),value:a,options:[{label:(0,te.__)("None","woolentor"),value:"none"},{label:(0,te.__)("ID","woolentor"),value:"ID"},{label:(0,te.__)("Date","woolentor"),value:"date"},{label:(0,te.__)("Name","woolentor"),value:"name"},{label:(0,te.__)("Title","woolentor"),value:"title"},{label:(0,te.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,te.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}}),React.createElement("hr",null),React.createElement("p",null,(0,te.__)("These options does not effect on editor mode, please check the product details page.","woolentor")))),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Heading","woolentor"),initialOpen:!0},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],o&&Gm(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const Qm=Um;function Vm(e){return Vm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vm(e)}var Ym;function Zm(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Jm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xm(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $m(e,t){return $m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$m(e,t)}function ep(e,t){if(t&&("object"===Vm(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function tp(e){return tp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},tp(e)}var op=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$m(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=tp(r);if(n){var o=tp(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return ep(this,e)});function l(){return Jm(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=(e.name,e.className),r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,u,s=function(e){var o=t[e]?t[e]:{},r="";if(""!=o.top||""!=o.right||""!=o.bottom||""!=o.left){var n=o.unit?o.unit:"px";r=o.top?r+o.top+n+" ":"0"+n+" ",r=o.right?r+o.right+n+" ":"0"+n+" ",r=o.bottom?r+o.bottom+n+" ":"0"+n+" ",r=o.left?r+o.left+n+" ":"0"+n+" "}return r},d=st()(Zm({},o,o),"woocommerce","product"),m=st()("woolentor-product-related",Zm({},"woolentor-products-columns-".concat(t.columns.desktop),t.columns.desktop),Zm({},"woolentor-products-columns-laptop-".concat(t.columns.laptop),t.columns.laptop),Zm({},"woolentor-products-columns-tablet-".concat(t.columns.tablet),t.columns.tablet),Zm({},"woolentor-products-columns-mobile-".concat(t.columns.mobile),t.columns.mobile)),p=wn.div(Ym||(c=["\n\t\t\t& .products > h2{\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t}\n\t\t\t\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"],u||(u=c.slice(0)),Ym=Object.freeze(Object.defineProperties(c,{raw:{value:Object.freeze(u)}}))),t.hideTitle&&"display:none!important;",t.headingColor&&"color:"+t.headingColor+"!important;",t.headingSize&&"font-size:"+t.headingSize+"!important;",t.headingAlignment&&"text-align:"+t.headingAlignment+"!important;",t.headingMargin&&"margin:"+s("headingMargin")+";",t.areaPadding&&"padding:"+s("areaPadding")+";",i.imageUrl&&"background-image:url("+i.imageUrl+");",i.position&&"background-position:"+i.position+";",i.attachment&&"background-attachment:"+i.attachment+";",i.repeat&&"background-repeat:"+i.repeat+";",i.size&&"background-size:"+i.size+";");return React.createElement(we.Fragment,null,r&&React.createElement(Qm,this.props),React.createElement("div",{className:d},React.createElement(oe.Disabled,null,React.createElement(p,{className:m},(0,we.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.product_related}})))))}}],o&&Xm(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const rp=op,np=JSON.parse('{"name":"woolentor/product-related","category":"woolentor-single-product","title":"Product Related","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"perPage":{"type":"number","default":4},"columns":{"type":"object","default":{"desktop":4}},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"hideTitle":{"type":"boolean","default":false,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .products > h2{ display: none !important; }"}},"headingColor":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .products > h2{ color: {{headingColor}}!important; }"}},"headingSize":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .products > h2{ font-size: {{headingSize}}!important; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .products > h2{ margin: {{headingMargin}}; }"}},"headingAlignment":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .products > h2{ text-align: {{headingAlignment}}!important; }"}}}}'),ap=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M22 2H2v20h20V2zM8 20H4v-4h4v4zm0-6H4v-4h4v4zm0-6H4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4z",fill:"currentColor"}));var lp=np.name,ip=np.category,cp=np.attributes,up={title:(0,te.__)("WL: Related Product","woolentor"),description:(0,te.__)("Display related product.","woolentor"),icon:React.createElement(oe.Icon,{icon:ap}),keywords:["woolentor",(0,te.__)("product","woolentor"),(0,te.__)("related","woolentor"),(0,te.__)("product related","woolentor")],attributes:cp,edit:rp,save:function(){return null}};function sp(e){return sp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sp(e)}function dp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mp(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function pp(e,t){return pp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},pp(e,t)}function fp(e,t){if(t&&("object"===sp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function gp(e){return gp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gp(e)}var bp=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&pp(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=gp(r);if(n){var o=gp(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return fp(this,e)});function l(){return dp(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.perPage,n=t.order,a=t.orderBy,l=t.hideTitle;return React.createElement(we.Fragment,null,React.createElement(tt,null),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Upsell Product","woolentor"),initialOpen:!0},React.createElement(Ao,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(Ot,{label:(0,te.__)("Heading","woolentor")},React.createElement(oe.ToggleControl,{checked:l,onChange:function(){return o({hideTitle:!l})}}))),React.createElement(ft,{title:(0,te.__)("Query Options","woolentor")},React.createElement(oe.RangeControl,{label:(0,te.__)("Products Per Page","woolentor"),value:r,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(oe.SelectControl,{label:(0,te.__)("Order","woolentor"),value:n,options:[{label:(0,te.__)("Descending","woolentor"),value:"DESC"},{label:(0,te.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(oe.SelectControl,{label:(0,te.__)("Orderby","woolentor"),value:a,options:[{label:(0,te.__)("None","woolentor"),value:"none"},{label:(0,te.__)("ID","woolentor"),value:"ID"},{label:(0,te.__)("Date","woolentor"),value:"date"},{label:(0,te.__)("Name","woolentor"),value:"name"},{label:(0,te.__)("Title","woolentor"),value:"title"},{label:(0,te.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,te.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}}),React.createElement("hr",null),React.createElement("p",null,(0,te.__)("These options does not effect on editor mode, please check the product details page.","woolentor")))),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Heading","woolentor"),initialOpen:!0},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],o&&mp(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const yp=bp;function _p(e){return _p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_p(e)}var Rp;function hp(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Ep(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vp(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Op(e,t){return Op=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Op(e,t)}function Pp(e,t){if(t&&("object"===_p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Cp(e){return Cp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Cp(e)}var Bp=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Op(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Cp(r);if(n){var o=Cp(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Pp(this,e)});function l(){return Ep(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=(e.name,e.className),r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,u,s=function(e){var o=t[e]?t[e]:{},r="";if(""!=o.top||""!=o.right||""!=o.bottom||""!=o.left){var n=o.unit?o.unit:"px";r=o.top?r+o.top+n+" ":"0"+n+" ",r=o.right?r+o.right+n+" ":"0"+n+" ",r=o.bottom?r+o.bottom+n+" ":"0"+n+" ",r=o.left?r+o.left+n+" ":"0"+n+" "}return r},d=st()(hp({},o,o),"woocommerce","product"),m=st()("woolentor-product-upsell",hp({},"woolentor-products-columns-".concat(t.columns.desktop),t.columns.desktop),hp({},"woolentor-products-columns-laptop-".concat(t.columns.laptop),t.columns.laptop),hp({},"woolentor-products-columns-tablet-".concat(t.columns.tablet),t.columns.tablet),hp({},"woolentor-products-columns-mobile-".concat(t.columns.mobile),t.columns.mobile)),p=wn.div(Rp||(c=["\n\t\t\t& .up-sells > h2{\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"],u||(u=c.slice(0)),Rp=Object.freeze(Object.defineProperties(c,{raw:{value:Object.freeze(u)}}))),t.hideTitle&&"display:none!important;",t.headingColor&&"color:"+t.headingColor+"!important;",t.headingSize&&"font-size:"+t.headingSize+"!important;",t.headingAlignment&&"text-align:"+t.headingAlignment+"!important;",t.headingMargin&&"margin:"+s("headingMargin")+";",t.areaPadding&&"padding:"+s("areaPadding")+";",i.imageUrl&&"background-image:url("+i.imageUrl+");",i.position&&"background-position:"+i.position+";",i.attachment&&"background-attachment:"+i.attachment+";",i.repeat&&"background-repeat:"+i.repeat+";",i.size&&"background-size:"+i.size+";");return React.createElement(we.Fragment,null,r&&React.createElement(yp,this.props),React.createElement("div",{className:d},React.createElement(oe.Disabled,null,React.createElement(p,{className:m},(0,we.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.product_upsell}})))))}}],o&&vp(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const kp=Bp,Ap=JSON.parse('{"name":"woolentor/product-upsell","category":"woolentor-single-product","title":"Product Upsell","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"perPage":{"type":"number","default":4},"columns":{"type":"object","default":{"desktop":4}},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"hideTitle":{"type":"boolean","default":false,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .up-sells > h2{ display: none !important; }"}},"headingColor":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .up-sells > h2{ color: {{headingColor}}!important; }"}},"headingSize":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .up-sells > h2{ font-size: {{headingSize}}!important; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .up-sells > h2{ margin: {{headingMargin}}; }"}},"headingAlignment":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .up-sells > h2{ text-align: {{headingAlignment}}!important; }"}}}}'),Tp=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M22 2H2v20h20V2zM8 20H4v-4h4v4zm0-6H4v-4h4v4zm0-6H4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4z",fill:"currentColor"}));var Wp=Ap.name,Sp=Ap.category,xp=Ap.attributes,zp={title:(0,te.__)("WL: Product Upsell","woolentor"),description:(0,te.__)("Display upsell product.","woolentor"),icon:React.createElement(oe.Icon,{icon:Tp}),keywords:["woolentor",(0,te.__)("product","woolentor"),(0,te.__)("upsell","woolentor"),(0,te.__)("product upsell","woolentor")],attributes:xp,edit:kp,save:function(){return null}};function Lp(e){return Lp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Lp(e)}function Np(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jp(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Mp(e,t){return Mp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Mp(e,t)}function Ip(e,t){if(t&&("object"===Lp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Hp(e){return Hp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Hp(e)}var Fp=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Mp(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Hp(r);if(n){var o=Hp(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Ip(this,e)});function l(){return Np(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.rows,n=t.paginate,a=t.allowOrder,l=t.showResultCount,i=t.order,c=t.orderBy,u=t.itemBorderType,s=t.itemBorderWidth,d=t.itemBorderColor,m=t.itemBorderRadius,p=t.itemPadding,f=t.saleTagShow;return React.createElement(we.Fragment,null,React.createElement(tt,null),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Archive Product","woolentor"),initialOpen:!0},React.createElement(Ao,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(oe.RangeControl,{label:(0,te.__)("Rows","woolentor"),value:r,onChange:function(e){return o({rows:e})},min:1,step:1,max:20}),React.createElement(Ot,{label:(0,te.__)("Pagination","woolentor")},React.createElement(oe.ToggleControl,{checked:n,onChange:function(){return o({paginate:!n})}})),1==n?React.createElement(React.Fragment,null,React.createElement(Ot,{label:(0,te.__)("Allow Order","woolentor")},React.createElement(oe.ToggleControl,{checked:a,onChange:function(){return o({allowOrder:!a})}})),React.createElement(Ot,{label:(0,te.__)("Show Result Count","woolentor")},React.createElement(oe.ToggleControl,{checked:l,onChange:function(){return o({showResultCount:!l})}}))):React.createElement(React.Fragment,null,React.createElement(oe.SelectControl,{label:(0,te.__)("Order","woolentor"),value:i,options:[{label:(0,te.__)("Descending","woolentor"),value:"DESC"},{label:(0,te.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(oe.SelectControl,{label:(0,te.__)("Orderby","woolentor"),value:c,options:[{label:(0,te.__)("None","woolentor"),value:"none"},{label:(0,te.__)("ID","woolentor"),value:"ID"},{label:(0,te.__)("Date","woolentor"),value:"date"},{label:(0,te.__)("Name","woolentor"),value:"name"},{label:(0,te.__)("Title","woolentor"),value:"title"},{label:(0,te.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,te.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}})))),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Item","woolentor"),initialOpen:!0},React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:u,options:Ll,onChange:function(e){return o({itemBorderType:e})}}),u&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:s,attributesKey:"itemBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:d,onChange:function(e){return o({itemBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:m,attributesKey:"itemBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:p,attributesKey:"itemPadding",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0})),React.createElement(ft,{title:(0,te.__)("Image","woolentor")},React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.imageBorderType,options:Ll,onChange:function(e){return o({imageBorderType:e})}}),t.imageBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.imageBorderWidth,attributesKey:"imageBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Title","woolentor")},React.createElement(ct,{name:"title"},React.createElement(mt,{name:"normal"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o})),React.createElement(mt,{name:"hover"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))))),React.createElement(ft,{title:(0,te.__)("Price","woolentor")},React.createElement(At,{label:(0,te.__)("Sale Price","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.salePriceColor,onChange:function(e){return o({salePriceColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.salePriceSize,fallbackFontSize:t.salePriceSize,onChange:function(e){return o({salePriceSize:e})}}),React.createElement(At,{label:(0,te.__)("Regular Price","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.regularPriceColor,onChange:function(e){return o({regularPriceColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.regularPriceSize,fallbackFontSize:t.regularPriceSize,onChange:function(e){return o({regularPriceSize:e})}})),React.createElement(ft,{title:(0,te.__)("Rating","woolentor")},React.createElement(Ot,{label:(0,te.__)("Rating Star Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Empty Rating Star Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.emptyRatingColor,onChange:function(e){return o({emptyRatingColor:e})}})),React.createElement("h3",null,(0,te.__)("Start size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.ratingSize,fallbackFontSize:t.ratingSize,onChange:function(e){return o({ratingSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.ratingMargin,attributesKey:"ratingMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Add To Cart Button","woolentor")},React.createElement(ct,{name:"addtocartbutton"},React.createElement(mt,{name:"normal"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.cartBtnColor,onChange:function(e){return o({cartBtnColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.cartBtnBGColor,onChange:function(e){return o({cartBtnBGColor:e})}})),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.cartBtnBorderType,options:Ll,onChange:function(e){return o({cartBtnBorderType:e})}}),t.cartBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.cartBtnBorderWidth,attributesKey:"cartBtnBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.cartBtnBorderColor,onChange:function(e){return o({cartBtnBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.cartBtnBorderRadius,attributesKey:"cartBtnBorderRadius",setAttributes:o}),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.cartBtnSize,fallbackFontSize:t.cartBtnSize,onChange:function(e){return o({cartBtnSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.cartBtnPadding,attributesKey:"cartBtnPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.cartBtnMargin,attributesKey:"cartBtnMargin",setAttributes:o})),React.createElement(mt,{name:"hover"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.cartBtnHoverColor,onChange:function(e){return o({cartBtnHoverColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.cartBtnHoverBGColor,onChange:function(e){return o({cartBtnHoverBGColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.cartBtnHoverBorderColor,onChange:function(e){return o({cartBtnHoverBorderColor:e})}}))))),React.createElement(ft,{title:(0,te.__)("Pagination","woolentor")},React.createElement(At,{label:(0,te.__)("Normal","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.paginationColor,onChange:function(e){return o({paginationColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.paginationBGColor,onChange:function(e){return o({paginationBGColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.paginationBorderColor,onChange:function(e){return o({paginationBorderColor:e})}})),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.PaginationPadding,attributesKey:"PaginationPadding",setAttributes:o}),React.createElement(At,{label:(0,te.__)("Active","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.paginationHoverColor,onChange:function(e){return o({paginationHoverColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.paginationHoverBGColor,onChange:function(e){return o({paginationHoverBGColor:e})}}))),React.createElement(ft,{title:(0,te.__)("Sale Tag","woolentor")},React.createElement(Ot,{label:(0,te.__)("Sale Flash","woolentor")},React.createElement(oe.ToggleControl,{checked:f,onChange:function(){return o({saleTagShow:!f})}})),f&&React.createElement(React.Fragment,null,React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.saleTextColor,onChange:function(e){return o({saleTextColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.saleTagBGColor,onChange:function(e){return o({saleTagBGColor:e})}})),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.saleTagPadding,attributesKey:"saleTagPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.saleTagBorderRadius,attributesKey:"saleTagBorderRadius",setAttributes:o}),React.createElement(oe.SelectControl,{label:(0,te.__)("Position","woolentor"),value:t.saleTagPosition,options:[{label:(0,te.__)("Default","woolentor"),value:""},{label:(0,te.__)("Left","woolentor"),value:"left"},{label:(0,te.__)("Right","woolentor"),value:"right"}],onChange:function(e){return o({saleTagPosition:e})}})))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],o&&jp(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const Gp=Fp;function Dp(e){return Dp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Dp(e)}function qp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kp(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Up(e,t){return Up=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Up(e,t)}function Qp(e,t){if(t&&("object"===Dp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Vp(e){return Vp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Vp(e)}var Yp=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Up(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Vp(r);if(n){var o=Vp(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Qp(this,e)});function l(){return qp(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId,c=t.areaBGProperty;""==i&&a({blockUniqId:l});var u,s,d,m=st()((d=r,(s=r)in(u={})?Object.defineProperty(u,s,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[s]=d,u),"woocommerce","woolentorblock-shop-archive-"+i),p=".woolentorblock-shop-archive-"+i,f="\n\t\t\t".concat(p," ul.products li.product{\n\t\t\t\t").concat(Mo(t.itemBorderType,"border-style"),"\n\t\t\t\t").concat(Io(t.itemBorderWidth,"border-width"),"\n\t\t\t\t").concat(Mo(t.itemBorderColor,"border-color"),"\n\t\t\t\t").concat(Io(t.itemBorderRadius,"border-radius"),"\n\t\t\t\t").concat(Io(t.itemPadding,"padding"),"\n\t\t\t\t").concat(Mo(t.contentAlignment,"text-align"),"\n\t\t\t}\n\t\t")+"\n\t\t\t".concat(p," .attachment-woocommerce_thumbnail{\n\t\t\t\t").concat(Mo(t.imageBorderType,"border-style"),"\n\t\t\t\t").concat(Io(t.imageBorderWidth,"border-width"),"\n\t\t\t\t").concat(Mo(t.imageBorderColor,"border-color"),"\n\t\t\t\t").concat(Io(t.imageBorderRadius,"border-radius"),"\n\t\t\t\t").concat(Io(t.imageMargin,"margin"),"\n\t\t\t}\n\t\t")+"\n\t\t\t".concat(p," ul.products li.product .woocommerce-loop-product__title,").concat(p," ul.products li.product .title a{\n\t\t\t\t").concat(Mo(t.titleColor,"color","!important"),"\n\t\t\t\t").concat(Mo(t.titleSize,"font-size","!important"),"\n\t\t\t\t").concat(Io(t.titleMargin,"margin","!important"),"\n\t\t\t}\n\t\t\t").concat(p," ul.products li.product .woocommerce-loop-product__title:hover,").concat(p," ul.products li.product .title a:hover{\n\t\t\t\t").concat(Mo(t.titleHoverColor,"color","!important"),"\n\t\t\t}\n\t\t")+"\n\t\t\t".concat(p," ul.products li.product .price, \n\t\t\t").concat(p," ul.products li.product .price ins,\n\t\t\t").concat(p," ul.products li.product .price ins .amount,\n\t\t\t").concat(p," ul.products li.product .price .amount{\n\t\t\t\t").concat(Mo(t.salePriceColor,"color"),"\n\t\t\t}\n\t\t\t").concat(p," ul.products li.product .price{\n\t\t\t\t").concat(Mo(t.salePriceSize,"font-size"),"\n\t\t\t}\n\n\t\t\t").concat(p," ul.products li.product .price del,\n\t\t\t").concat(p," ul.products li.product .price del .amount,\n\t\t\t").concat(p," .price del .amount{\n\t\t\t\t").concat(Mo(t.regularPriceColor,"color"),"\n\t\t\t}\n\t\t\t").concat(p," ul.products li.product .price del .amount,\n\t\t\t").concat(p," ul.products li.product .price del{\n\t\t\t\t").concat(Mo(t.regularPriceSize,"font-size"),"\n\t\t\t}\n\t\t")+"\n\t\t\t".concat(p," ul.products li.product .star-rating{\n\t\t\t\t").concat(Mo(t.ratingColor,"color"),"\n\t\t\t\t").concat(Mo(t.ratingSize,"font-size"),"\n\t\t\t\t").concat(Io(t.ratingMargin,"margin"),"\n\t\t\t}\n\t\t\t").concat(p," ul.products li.product .star-rating::before{\n\t\t\t\t").concat(Mo(t.emptyRatingColor,"color"),"\n\t\t\t}\n\t\t")+"\n\t\t\t".concat(p," ul.products li.product .button{\n\t\t\t\t").concat(Mo(t.cartBtnColor,"color"),"\n\t\t\t\t").concat(Mo(t.cartBtnBGColor,"background-color"),"\n\t\t\t\t").concat(Mo(t.cartBtnBorderType,"border-style"),"\n\t\t\t\t").concat(Io(t.cartBtnBorderWidth,"border-width"),"\n\t\t\t\t").concat(Mo(t.cartBtnBorderColor,"border-color"),"\n\t\t\t\t").concat(Io(t.cartBtnBorderRadius,"border-radius"),"\n\t\t\t\t").concat(Mo(t.cartBtnSize,"font-size"),"\n\t\t\t\t").concat(Io(t.cartBtnPadding,"padding"),"\n\t\t\t\t").concat(Io(t.cartBtnMargin,"margin"),"\n\t\t\t}\n\t\t\t").concat(p," ul.products li.product .button:hover{\n\t\t\t\t").concat(Mo(t.cartBtnHoverColor,"color"),"\n\t\t\t\t").concat(Mo(t.cartBtnHoverBGColor,"background-color"),"\n\t\t\t\t").concat(Mo(t.cartBtnHoverBorderColor,"border-color"),"\n\t\t\t}\n\t\t")+"\n\t\t\t".concat(p," nav.woocommerce-pagination ul li a{\n\t\t\t\t").concat(Mo(t.paginationColor,"color"),"\n\t\t\t\t").concat(Mo(t.paginationBGColor,"background-color"),"\n\t\t\t}\n\t\t\t").concat(p," nav.woocommerce-pagination ul{\n\t\t\t\t").concat(Mo(t.paginationBorderColor,"border-color"),"\n\t\t\t}\n\t\t\t").concat(p," nav.woocommerce-pagination ul li{\n\t\t\t\t").concat(Mo(t.paginationBorderColor,"border-right-color"),"\n\t\t\t}\n\t\t\t").concat(p," nav.woocommerce-pagination ul li a,\n\t\t\t").concat(p," nav.woocommerce-pagination ul li span{\n\t\t\t\t").concat(Io(t.PaginationPadding,"padding"),"\n\t\t\t}\n\t\t\t").concat(p," nav.woocommerce-pagination ul li a:hover,\n\t\t\t").concat(p," nav.woocommerce-pagination ul li span.current{\n\t\t\t\t").concat(Mo(t.paginationHoverColor,"color"),"\n\t\t\t\t").concat(Mo(t.paginationHoverBGColor,"background-color"),"\n\t\t\t}\n\t\t")+"\n\t\t\t".concat(p," ul.products li.product span.onsale{\n\t\t\t\t").concat(1==t.saleTagShow?"":"display:none !important;","\n\t\t\t\t").concat(Mo(t.saleTextColor,"color"),"\n\t\t\t\t").concat(Mo(t.saleTagBGColor,"background-color"),"\n\t\t\t\t").concat(Io(t.saleTagPadding,"padding"),"\n\t\t\t\t").concat(Io(t.saleTagBorderRadius,"border-radius"),"\n\t\t\t\t").concat("left"==t.saleTagPosition?"right: auto; left: 0":"","\n\t\t\t\t").concat("right"==t.saleTagPosition?"left: auto; right: 0":"","\n\t\t\t}\n\t\t");return React.createElement(we.Fragment,null,n&&React.createElement(Gp,this.props),React.createElement("div",{className:m},React.createElement(oe.Disabled,null,React.createElement(Pm(),{block:o,attributes:{columns:t.columns,rows:t.rows,paginate:t.paginate,allowOrder:t.allowOrder,showResultCount:t.showResultCount,order:t.order,orderBy:t.orderBy},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n\t\t\t\t\t\t\t.woolentorblock-shop-archive-".concat(i,"{\n\t\t\t\t\t\t\t\t").concat(t.areaPadding&&Io(t.areaPadding,"padding"),"\n\t\t\t\t\t\t\t\t").concat(Ho(c),"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t.woolentorblock-shop-archive-").concat(i," .woocommerce-result-count{\n\t\t\t\t\t\t\t\t").concat(1==t.showResultCount?"":"display:none !important;","\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t").concat(f,"\n\n\t\t\t\t\t\t"))))}}],o&&Kp(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const Zp=Yp,Jp=JSON.parse('{"name":"woolentor/shop-archive-default","category":"woolentor-shop","title":"Shop Archive Default","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"columns":{"type":"object","default":{"desktop":4}},"rows":{"type":"number","default":4},"paginate":{"type":"boolean","default":true},"allowOrder":{"type":"boolean","default":true},"showResultCount":{"type":"boolean","default":true},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"itemBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { border-style: {{itemBorderType}}; }"}},"itemBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"itemBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { border-width: {{itemBorderWidth}}; }"}},"itemBorderColor":{"type":"string","style":{"dependency":[[{"key":"itemBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { border-color: {{itemBorderColor}}; }"}},"itemBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { border-radius: {{itemBorderRadius}}; }"}},"itemPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { padding: {{itemPadding}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { text-align: {{contentAlignment}}; }"}},"imageBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-style: {{imageBorderType}}; }"}},"imageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-width: {{imageBorderWidth}}; }"}},"imageBorderColor":{"type":"string","style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-color: {{imageBorderColor}}; }"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-radius: {{imageBorderRadius}}; }"}},"imageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { margin: {{imageMargin}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { color: {{titleColor}}!important; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title:hover,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a:hover { color: {{titleHoverColor}}!important; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { font-size: {{titleSize}}!important; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { margin: {{titleMargin}}!important; }"}},"salePriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price,{{WOOLENTOR_WRAPPER}} ul.products li.product .price ins,{{WOOLENTOR_WRAPPER}} ul.products li.product .price ins .amount,{{WOOLENTOR_WRAPPER}} ul.products li.product .price .amount{ color: {{salePriceColor}}!important; }"}},"salePriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price{ font-size: {{salePriceSize}}!important; }"}},"regularPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price del,{{WOOLENTOR_WRAPPER}} ul.products li.product .price del .amount,{{WOOLENTOR_WRAPPER}} .price del .amount{ color: {{regularPriceColor}}!important; }"}},"regularPriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price del .amount,{{WOOLENTOR_WRAPPER}} ul.products li.product .price del{ font-size: {{regularPriceSize}}!important; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ color: {{ratingColor}}; }"}},"emptyRatingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating::before{ color: {{emptyRatingColor}}; }"}},"ratingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ font-size: {{ratingSize}}; }"}},"ratingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ margin: {{ratingMargin}}; }"}},"cartBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ color: {{cartBtnColor}}; }"}},"cartBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ background-color: {{cartBtnBGColor}}; }"}},"cartBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-style: {{cartBtnBorderType}}; }"}},"cartBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"cartBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-width: {{cartBtnBorderWidth}}; }"}},"cartBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"cartBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-color: {{cartBtnBorderColor}}; }"}},"cartBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-radius: {{cartBtnBorderRadius}}; }"}},"cartBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ font-size: {{cartBtnSize}}; }"}},"cartBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ padding: {{cartBtnPadding}}; }"}},"cartBtnMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ margin: {{cartBtnMargin}}; }"}},"cartBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ color: {{cartBtnHoverColor}}; }"}},"cartBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ background-color: {{cartBtnHoverBGColor}}; }"}},"cartBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ border-color: {{cartBtnHoverBorderColor}}; }"}},"paginationColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li a{ color: {{paginationColor}}; }"}},"paginationBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li a{ background-color: {{paginationBGColor}}; }"}},"paginationBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul{ border-color: {{paginationBorderColor}}; }{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li{ border-right-color: {{paginationBorderColor}}; }"}},"PaginationPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li a,{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li span{ padding: {{PaginationPadding}}; }"}},"paginationHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li a:hover,{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li span.current{ color: {{paginationHoverColor}}; }"}},"paginationHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li a:hover,{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li span.current{ background-color: {{paginationHoverBGColor}}; }"}},"saleTagShow":{"type":"boolean","default":true},"saleTextColor":{"type":"string","style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ color: {{saleTextColor}}; }"}},"saleTagBGColor":{"type":"string","style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ background-color: {{saleTagBGColor}}; }"}},"saleTagPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ padding: {{saleTagPadding}}; }"}},"saleTagBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ border-radius: {{saleTagBorderRadius}}; }"}},"saleTagPosition":{"type":"string","default":""}}}'),Xp=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M22 2H2v20h20V2zM8 20H4v-4h4v4zm0-6H4v-4h4v4zm0-6H4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4z",fill:"currentColor"}));var $p=Jp.name,ef=Jp.category,tf=Jp.attributes,of={title:(0,te.__)("WL: Product Archive Layout (Default)","woolentor"),description:(0,te.__)("Display product grid on shop / archive page.","woolentor"),icon:React.createElement(oe.Icon,{icon:Xp}),keywords:["woolentor",(0,te.__)("shop","woolentor"),(0,te.__)("archive","woolentor"),(0,te.__)("product shop","woolentor")],attributes:tf,edit:Zp,save:function(){return null}};function rf(e){return function(e){if(Array.isArray(e))return af(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||nf(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nf(e,t){if(e){if("string"==typeof e)return af(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?af(e,t):void 0}}function af(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}const lf=function(e){var t=e.attributes,o=e.setAttributes;!function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t);var r,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a=[],_n=!0,l=!1;try{for(o=o.call(e);!(_n=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);_n=!0);}catch(e){l=!0,n=e}finally{try{_n||null==o.return||o.return()}finally{if(l)throw n}}return a}}(e,t)||nf(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,we.useState)(!1),2),a=n[0],l=n[1],i=function(e,r,n){var a=rf(t.tableItemList);a[n][r]=e,o({tableItemList:a})};return t.tableItemList.length>0&&(r=t.tableItemList.map((function(e,r){var n=a===r?"woolentor_active_repeter":"";return React.createElement(we.Fragment,{key:r},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,t){l(t!==a&&t)}(0,r)}},React.createElement("div",{className:"woolentor_repeater-item-title"},t.tableItemList[r].heading),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(oe.Button,{className:"woolentor__remove-marker",icon:"no-alt",onClick:function(){return function(e){var r=rf(t.tableItemList);r.splice(e,1),o({tableItemList:r})}(r)}}))),React.createElement("div",{className:n+" woolentor_repeater-controls"},React.createElement(oe.SelectControl,{label:(0,te.__)("Title Tag","woolentor"),value:t.tableItemList[r].fieldkey,options:[{label:(0,te.__)("Remove","woolentor"),value:"remove"},{label:(0,te.__)("Image","woolentor"),value:"thumbnail"},{label:(0,te.__)("Product Title","woolentor"),value:"name"},{label:(0,te.__)("Price","woolentor"),value:"price"},{label:(0,te.__)("Quantity","woolentor"),value:"quantity"},{label:(0,te.__)("Total","woolentor"),value:"subtotal"},{label:(0,te.__)("Custom","woolentor"),value:"customadd"}],onChange:function(e){return i(e,"fieldkey",r)}}),React.createElement(oe.TextControl,{label:(0,te.__)("Heading Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,te.__)("Remove","woolentor"),value:t.tableItemList[r].heading,onChange:function(e){return i(e,"heading",r)}}),React.createElement(oe.RangeControl,{label:(0,te.__)("Width (PX)","woolentor"),value:t.tableItemList[r].width,allowReset:!0,onChange:function(e){return i(e,"width",r)},min:0,step:1,max:500}))))}))),React.createElement(we.Fragment,null,React.createElement(tt,null),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Table Row","woolentor"),initialOpen:!0},r,React.createElement(oe.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=rf(t.tableItemList);e.push({fieldkey:"remove",heading:(0,te.__)("Cart Item #"+(t.tableItemList.length+1),"woolentor"),width:""}),o({tableItemList:e}),l(t.tableItemList.length)}.bind(void 0)},(0,te.__)("Add Item","woolentor"))),React.createElement(ft,{title:(0,te.__)("Table Action","woolentor")},React.createElement(oe.ToggleControl,{label:(0,te.__)("Update Cart Button","woolentor"),checked:t.show_update_button,onChange:function(){return o({show_update_button:!t.show_update_button})}}),t.show_update_button&&React.createElement(oe.TextControl,{label:(0,te.__)("Update cart button text","woolentor"),value:t.update_cart_button_txt,placeholder:(0,te.__)("Update Cart","woolentor"),onChange:function(e){return o({update_cart_button_txt:e})}}),React.createElement(oe.ToggleControl,{label:(0,te.__)("Continue Shopping Button","woolentor"),checked:t.show_continue_button,onChange:function(){return o({show_continue_button:!t.show_continue_button})}}),t.show_continue_button&&React.createElement(oe.TextControl,{label:(0,te.__)("Continue Shopping","woolentor"),value:t.continue_button_txt,placeholder:(0,te.__)("Continue Shopping","woolentor"),onChange:function(e){return o({continue_button_txt:e})}}),React.createElement(oe.ToggleControl,{label:(0,te.__)("Coupon Form","woolentor"),checked:t.show_coupon_form,onChange:function(){return o({show_coupon_form:!t.show_coupon_form})}}),t.show_coupon_form&&React.createElement(React.Fragment,null,React.createElement(oe.TextControl,{label:(0,te.__)("Coupon form button text","woolentor"),value:t.coupon_form_button_txt,placeholder:(0,te.__)("Apply Coupon","woolentor"),onChange:function(e){return o({coupon_form_button_txt:e})}}),React.createElement(oe.TextControl,{label:(0,te.__)("Placeholder text","woolentor"),value:t.coupon_form_pl_txt,placeholder:(0,te.__)("Coupon code","woolentor"),onChange:function(e){return o({coupon_form_pl_txt:e})}}))),React.createElement(ft,{title:(0,te.__)("Extra Options","woolentor")},React.createElement(oe.ToggleControl,{label:(0,te.__)("Disable users adjusting quantity","woolentor"),checked:t.disable_user_adj_qtn,onChange:function(){return o({disable_user_adj_qtn:!t.disable_user_adj_qtn})}}),React.createElement(oe.ToggleControl,{label:(0,te.__)("Remove Product link","woolentor"),checked:t.remove_product_link,onChange:function(){return o({remove_product_link:!t.remove_product_link})}}),React.createElement(oe.ToggleControl,{label:(0,te.__)("Show Product Categories","woolentor"),checked:t.show_product_category,onChange:function(){return o({show_product_category:!t.show_product_category})}}),React.createElement(oe.ToggleControl,{label:(0,te.__)("Show Product Stock","woolentor"),checked:t.show_product_stock,onChange:function(){return o({show_product_stock:!t.show_product_stock})}}))),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Heading","woolentor"),initialOpen:!0},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.headingBorderType,options:Ll,onChange:function(e){return o({headingBorderType:e})}}),t.headingBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.headingBorderWidth,attributesKey:"headingBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.headingBorderColor,onChange:function(e){return o({headingBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.headingBackgroundColor,onChange:function(e){return o({headingBackgroundColor:e})}}))),React.createElement(ft,{title:(0,te.__)("Table","woolentor")},React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.tableBorderType,options:Ll,onChange:function(e){return o({tableBorderType:e})}}),t.tableBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.tableBorderWidth,attributesKey:"tableBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tableBorderColor,onChange:function(e){return o({tableBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.tablePadding,attributesKey:"tablePadding",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Table Cell","woolentor")},React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.tableCellBorderType,options:Ll,onChange:function(e){return o({tableCellBorderType:e})}}),t.tableCellBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.tableCellBorderWidth,attributesKey:"tableCellBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tableCellBorderColor,onChange:function(e){return o({tableCellBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.tableCellPadding,attributesKey:"tableCellPadding",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"tableCellAlignment",justified:!0}),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tableCellBackgroundColor,onChange:function(e){return o({tableCellBackgroundColor:e})}}))),React.createElement(ft,{title:(0,te.__)("Remove Icon","woolentor")},React.createElement(ct,{name:"removeicon"},React.createElement(mt,{name:"normal"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.removeIconColor,onChange:function(e){return o({removeIconColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.removeIconBackgroundColor,onChange:function(e){return o({removeIconBackgroundColor:e})}})),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.removeIconBorderType,options:Ll,onChange:function(e){return o({removeIconBorderType:e})}}),t.removeIconBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.removeIconBorderWidth,attributesKey:"removeIconBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.removeIconBorderColor,onChange:function(e){return o({removeIconBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.removeIconBorderRadius,attributesKey:"removeIconBorderRadius",setAttributes:o})),React.createElement(mt,{name:"hover"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.removeHoverIconColor,onChange:function(e){return o({removeHoverIconColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.removeIconHoverBackgroundColor,onChange:function(e){return o({removeIconHoverBackgroundColor:e})}})),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.removeIconHoverBorderType,options:Ll,onChange:function(e){return o({removeIconHoverBorderType:e})}}),t.removeIconHoverBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.removeIconHoverBorderWidth,attributesKey:"removeIconHoverBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.removeIconHoverBorderColor,onChange:function(e){return o({removeIconHoverBorderColor:e})}})))))),React.createElement(ft,{title:(0,te.__)("Product Image","woolentor")},React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.imageBorderType,options:Ll,onChange:function(e){return o({imageBorderType:e})}}),t.imageBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.imageBorderWidth,attributesKey:"imageBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.imagePadding,attributesKey:"imagePadding",setAttributes:o}),React.createElement(oe.RangeControl,{label:(0,te.__)("Width (PX)","woolentor"),value:t.imageWidth,onChange:function(e){return o({imageWidth:e})},min:0,step:1,max:500})),React.createElement(ft,{title:(0,te.__)("Product Title","woolentor")},React.createElement(ct,{name:"title"},React.createElement(mt,{name:"normal"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}})),React.createElement(mt,{name:"hover"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))))),React.createElement(ft,{title:(0,te.__)("Price","woolentor")},React.createElement(At,{label:(0,te.__)("Unit Price","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.priceSize,fallbackFontSize:t.priceSize,onChange:function(e){return o({priceSize:e})}}),React.createElement(At,{label:(0,te.__)("Total Price","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.totalPriceColor,onChange:function(e){return o({totalPriceColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.totalPriceSize,fallbackFontSize:t.totalPriceSize,onChange:function(e){return o({totalPriceSize:e})}})),React.createElement(ft,{title:(0,te.__)("Quantity Field","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.quantityColor,onChange:function(e){return o({quantityColor:e})}})),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.quantityBorderType,options:Ll,onChange:function(e){return o({quantityBorderType:e})}}),t.quantityBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.quantityBorderWidth,attributesKey:"quantityBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.quantityBorderColor,onChange:function(e){return o({quantityBorderColor:e})}})))),React.createElement(ft,{title:(0,te.__)("Buttons","woolentor")},React.createElement(ct,{name:"buttons"},React.createElement(mt,{name:"normal"},!0===t.show_update_button&&React.createElement(React.Fragment,null,React.createElement(At,{label:(0,te.__)("Update Cart Button","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.updateCartBtnColor,onChange:function(e){return o({updateCartBtnColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.updateCartBtnBGColor,onChange:function(e){return o({updateCartBtnBGColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.updateCartBtnSize,fallbackFontSize:t.updateCartBtnSize,onChange:function(e){return o({updateCartBtnSize:e})}}),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.updateCartBtnBorderType,options:Ll,onChange:function(e){return o({updateCartBtnBorderType:e})}}),t.updateCartBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.updateCartBtnBorderWidth,attributesKey:"updateCartBtnBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.updateCartBtnBorderColor,onChange:function(e){return o({updateCartBtnBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.updateCartBtnBorderRadius,attributesKey:"updateCartBtnBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.updateCartBtnPadding,attributesKey:"updateCartBtnPadding",setAttributes:o})),!0===t.show_continue_button&&React.createElement(React.Fragment,null,React.createElement(At,{label:(0,te.__)("Continue Shop Button","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.continueShopBtnColor,onChange:function(e){return o({continueShopBtnColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.continueShopBtnBGColor,onChange:function(e){return o({continueShopBtnBGColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.continueShopBtnSize,fallbackFontSize:t.continueShopBtnSize,onChange:function(e){return o({continueShopBtnSize:e})}}),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.continueShopBtnBorderType,options:Ll,onChange:function(e){return o({continueShopBtnBorderType:e})}}),t.continueShopBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.continueShopBtnBorderWidth,attributesKey:"continueShopBtnBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.continueShopBtnBorderColor,onChange:function(e){return o({continueShopBtnBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.continueShopBtnBorderRadius,attributesKey:"continueShopBtnBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.continueShopBtnPadding,attributesKey:"continueShopBtnPadding",setAttributes:o}))),React.createElement(mt,{name:"hover"},!0===t.show_update_button&&React.createElement(React.Fragment,null,React.createElement(At,{label:(0,te.__)("Update Cart Button","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.updateCartBtnHoverColor,onChange:function(e){return o({updateCartBtnHoverColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.updateCartBtnHoverBGColor,onChange:function(e){return o({updateCartBtnHoverBGColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.updateCartBtnHoverBorderColor,onChange:function(e){return o({updateCartBtnHoverBorderColor:e})}}))),!0===t.show_continue_button&&React.createElement(React.Fragment,null,React.createElement(At,{label:(0,te.__)("Continue Shop Button","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.continueShopBtnHoverColor,onChange:function(e){return o({continueShopBtnHoverColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.continueShopBtnHoverBGColor,onChange:function(e){return o({continueShopBtnHoverBGColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.continueShopBtnHoverBorderColor,onChange:function(e){return o({continueShopBtnHoverBorderColor:e})}})))))),React.createElement(ft,{title:(0,te.__)("Apply coupon","woolentor")},React.createElement(At,{label:(0,te.__)("Apply Button","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.couponBtnColor,onChange:function(e){return o({couponBtnColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.couponBtnBGColor,onChange:function(e){return o({couponBtnBGColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.couponBtnSize,fallbackFontSize:t.couponBtnSize,onChange:function(e){return o({couponBtnSize:e})}}),React.createElement(Ot,{label:(0,te.__)("Hover Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.couponBtnHoverColor,onChange:function(e){return o({couponBtnHoverColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Hover Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.couponBtnHoverBGColor,onChange:function(e){return o({couponBtnHoverBGColor:e})}})),React.createElement(At,{label:(0,te.__)("Input Box","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.couponFormColor,onChange:function(e){return o({couponFormColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.couponFormFontSize,fallbackFontSize:t.couponFormFontSize,onChange:function(e){return o({couponFormFontSize:e})}}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.couponFormBorderColor,onChange:function(e){return o({couponFormBorderColor:e})}})))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function cf(e){return cf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cf(e)}function uf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sf(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function df(e,t){return df=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},df(e,t)}function mf(e,t){if(t&&("object"===cf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},pf(e)}var ff=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&df(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=pf(r);if(n){var o=pf(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return mf(this,e)});function l(){return uf(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId,c=t.areaBGProperty;""==i&&a({blockUniqId:l});var u,s,d,m=st()((d=r,(s=r)in(u={})?Object.defineProperty(u,s,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[s]=d,u),"woolentor-block-cart","woolentorblock-cart-table-"+i),p=".woolentorblock-cart-table-"+i,f="\n\t\t\t".concat(p," .shop_table.cart th{\n\t\t\t\t").concat(Mo(t.headingTextColor,"color"),"\n\t\t\t\t").concat(Mo(t.headingSize,"font-size"),"\n\t\t\t\t").concat(""!=t.headingBorderType?Mo(t.headingBorderType,"border-style"):"","\n ").concat(""!=t.headingBorderType?Io(t.headingBorderWidth,"border-width"):"","\n ").concat(""!=t.headingBorderType?Mo(t.headingBorderColor,"border-color"):"","\n ").concat(Io(t.headingPadding,"padding"),"\n ").concat(Mo(t.headingAlignment,"text-align"),"\n ").concat(Mo(t.headingBackgroundColor,"background-color"),"\n\t\t\t}\n\t\t")+"\n ".concat(p," .shop_table.cart{\n ").concat(""!=t.tableBorderType?Mo(t.tableBorderType,"border-style"):"","\n ").concat(""!=t.tableBorderType?Io(t.tableBorderWidth,"border-width"):"","\n ").concat(""!=t.tableBorderType?Mo(t.tableBorderColor,"border-color"):"","\n ").concat(Io(t.tablePadding,"padding"),"\n }\n ")+"\n ".concat(p," .shop_table.cart tr.cart_item td{\n ").concat(""!=t.tableCellBorderType?Mo(t.tableCellBorderType,"border-style"):"","\n ").concat(""!=t.tableCellBorderType?Io(t.tableCellBorderWidth,"border-width"):"","\n ").concat(""!=t.tableCellBorderType?Mo(t.tableCellBorderColor,"border-color"):"","\n ").concat(Io(t.tableCellPadding,"padding"),"\n ").concat(Mo(t.tableCellAlignment,"text-align"),"\n }\n ").concat(p," .shop_table.cart{\n ").concat(Mo(t.tableCellBackgroundColor,"background-color"),"\n }\n ")+"\n ".concat(p," .shop_table.cart tr.cart_item td.product-remove a.remove{\n ").concat(Mo(t.removeIconColor,"color","!important"),"\n ").concat(Mo(t.removeIconBackgroundColor,"background-color","!important"),"\n ").concat(""!=t.removeIconBorderType?Mo(t.removeIconBorderType,"border-style","!important"):"","\n ").concat(""!=t.removeIconBorderType?Io(t.removeIconBorderWidth,"border-width","!important"):"","\n ").concat(""!=t.removeIconBorderType?Mo(t.removeIconBorderColor,"border-color","!important"):"","\n ").concat(Io(t.removeIconBorderRadius,"border-radius"),"\n }\n ").concat(p," .shop_table.cart tr.cart_item td.product-remove a.remove:hover{\n ").concat(Mo(t.removeHoverIconColor,"color","!important"),"\n ").concat(Mo(t.removeIconHoverBackgroundColor,"background-color","!important"),"\n ").concat(""!=t.removeIconHoverBorderType?Mo(t.removeIconHoverBorderType,"border-style","!important"):"","\n ").concat(""!=t.removeIconHoverBorderType?Io(t.removeIconHoverBorderWidth,"border-width","!important"):"","\n ").concat(""!=t.removeIconHoverBorderType?Mo(t.removeIconHoverBorderColor,"border-color","!important"):"","\n }\n ")+"\n ".concat(p," .shop_table.cart tr.cart_item td.product-thumbnail img{\n ").concat(""!=t.imageBorderType?Mo(t.imageBorderType,"border-style"):"","\n ").concat(""!=t.imageBorderType?Io(t.imageBorderWidth,"border-width"):"","\n ").concat(""!=t.imageBorderType?Mo(t.imageBorderColor,"border-color"):"","\n ").concat(Io(t.imageBorderRadius,"border-radius"),"\n ").concat(Io(t.imagePadding,"padding"),"\n ").concat(Mo(t.imageWidth,"width","px"),"\n ").concat(Mo(t.imageWidth,"max-width","px"),"\n }\n ")+"\n ".concat(p," .shop_table.cart tr.cart_item td.product-name, ").concat(p," .shop_table.cart tr.cart_item td.product-name a{\n ").concat(Mo(t.titleColor,"color"),"\n }\n ").concat(p," .shop_table.cart tr.cart_item td.product-name{\n ").concat(Mo(t.titleSize,"font-size"),"\n }\n ").concat(p," .shop_table.cart tr.cart_item td.product-name:hover, ").concat(p," .shop_table.cart tr.cart_item td.product-name a:hover{\n ").concat(Mo(t.titleHoverColor,"color"),"\n }\n ")+"\n ".concat(p," .shop_table.cart tr.cart_item td.product-price,").concat(p," .shop_table.cart tr.cart_item td.product-price .amount{\n ").concat(Mo(t.priceColor,"color"),"\n ").concat(Mo(t.priceSize,"font-size"),"\n }\n ").concat(p," .shop_table.cart tr.cart_item td.product-subtotal{\n ").concat(Mo(t.totalPriceColor,"color"),"\n ").concat(Mo(t.totalPriceSize,"font-size"),"\n }\n ")+"\n ".concat(p," .shop_table.cart tr.cart_item td.product-quantity input[type=number]{\n ").concat(Mo(t.quantityColor,"color"),"\n ").concat(""!=t.quantityBorderType?Mo(t.quantityBorderType,"border-style"):"","\n ").concat(""!=t.quantityBorderType?Io(t.quantityBorderWidth,"border-width"):"","\n ").concat(""!=t.quantityBorderType?Mo(t.quantityBorderColor,"border-color"):"","\n }\n ")+"\n ".concat(p," .shop_table.cart td.actions .wl_update_cart_shop input.button{\n ").concat(Mo(t.updateCartBtnColor,"color"),"\n ").concat(Mo(t.updateCartBtnBGColor,"background-color"),"\n ").concat(Mo(t.updateCartBtnSize,"font-size"),"\n ").concat(""!=t.updateCartBtnBorderType?Mo(t.updateCartBtnBorderType,"border-style","!important"):"","\n ").concat(""!=t.updateCartBtnBorderType?Io(t.updateCartBtnBorderWidth,"border-width","!important"):"","\n ").concat(""!=t.updateCartBtnBorderType?Mo(t.updateCartBtnBorderColor,"border-color","!important"):"","\n ").concat(Io(t.updateCartBtnBorderRadius,"border-radius"),"\n ").concat(Io(t.updateCartBtnPadding,"padding"),"\n }\n ").concat(p," .shop_table.cart td.actions .wl_update_cart_shop input.button:hover{\n ").concat(Mo(t.updateCartBtnHoverColor,"color"),"\n ").concat(Mo(t.updateCartBtnHoverBGColor,"background-color"),"\n ").concat(Mo(t.updateCartBtnHoverColor,"border-color","!important"),"\n }\n ")+"\n ".concat(p," .shop_table.cart td.actions a.wlbutton-continue-shopping{\n ").concat(Mo(t.continueShopBtnColor,"color"),"\n ").concat(Mo(t.continueShopBtnBGColor,"background-color"),"\n ").concat(Mo(t.continueShopBtnSize,"font-size"),"\n ").concat(""!=t.continueShopBtnBorderType?Mo(t.continueShopBtnBorderType,"border-style"):"","\n ").concat(""!=t.continueShopBtnBorderType?Io(t.continueShopBtnBorderWidth,"border-width"):"","\n ").concat(""!=t.continueShopBtnBorderType?Mo(t.continueShopBtnBorderColor,"border-color"):"","\n ").concat(Io(t.continueShopBtnBorderRadius,"border-radius"),"\n ").concat(Io(t.continueShopBtnPadding,"padding"),"\n }\n ").concat(p," .shop_table.cart td.actions a.wlbutton-continue-shopping:hover{\n ").concat(Mo(t.continueShopBtnHoverColor,"color"),"\n ").concat(Mo(t.continueShopBtnHoverBGColor,"background-color"),"\n ").concat(Mo(t.continueShopBtnHoverBorderColor,"border-color"),"\n }\n ")+"\n ".concat(p," .shop_table.cart td.actions .coupon .button{\n ").concat(Mo(t.couponBtnColor,"color"),"\n ").concat(Mo(t.couponBtnBGColor,"background-color"),"\n ").concat(Mo(t.couponBtnSize,"font-size"),"\n }\n ").concat(p," .shop_table.cart td.actions .coupon .button:hover{\n ").concat(Mo(t.couponBtnHoverColor,"color"),"\n ").concat(Mo(t.couponBtnHoverBGColor,"background-color"),"\n }\n ").concat(p," .shop_table.cart td.actions .coupon input.input-text{\n ").concat(Mo(t.couponFormColor,"color"),"\n ").concat(Mo(t.couponFormFontSize,"font-size"),"\n ").concat(Mo(t.couponFormBorderColor,"border-color"),"\n }\n ");return React.createElement(we.Fragment,null,n&&React.createElement(lf,this.props),React.createElement("div",{className:m},React.createElement(Pm(),{block:o,attributes:{tableItemList:t.tableItemList,show_update_button:t.show_update_button,update_cart_button_txt:t.update_cart_button_txt,show_continue_button:t.show_continue_button,continue_button_txt:t.continue_button_txt,show_coupon_form:t.show_coupon_form,coupon_form_button_txt:t.coupon_form_button_txt,coupon_form_pl_txt:t.coupon_form_pl_txt,disable_user_adj_qtn:t.disable_user_adj_qtn,remove_product_link:t.remove_product_link,show_product_category:t.show_product_category,show_product_stock:t.show_product_stock},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n ".concat(p,"{\n ").concat(Io(t.areaPadding.desktop,"padding"),"\n ").concat(Ho(c),"\n }\n ").concat(f,"\n ")))}}],o&&sf(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const gf=ff,bf=JSON.parse('{"name":"woolentor/cart-table","category":"woolentor-cart","title":"Cart Table","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"tableItemList":{"type":"array","default":[{"fieldkey":"remove","heading":"Remove","width":""},{"fieldkey":"thumbnail","heading":"Image","width":""},{"fieldkey":"name","heading":"Product Title","width":""},{"fieldkey":"price","heading":"Price","width":""},{"fieldkey":"quantity","heading":"Quantity","width":""},{"fieldkey":"subtotal","heading":"Total","width":""}]},"show_update_button":{"type":"boolean","default":true},"update_cart_button_txt":{"type":"string","default":"Update Cart"},"show_continue_button":{"type":"boolean","default":false},"continue_button_txt":{"type":"string","default":"Continue Shopping"},"show_coupon_form":{"type":"boolean","default":true},"coupon_form_button_txt":{"type":"string","default":"Apply coupon"},"coupon_form_pl_txt":{"type":"string","default":"Coupon code"},"disable_user_adj_qtn":{"type":"boolean","default":false},"remove_product_link":{"type":"boolean","default":false},"show_product_category":{"type":"boolean","default":false},"show_product_stock":{"type":"boolean","default":false},"headingTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { color: {{headingTextColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { font-size: {{headingSize}}; }"}},"headingBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { border-style: {{headingBorderType}}; }"}},"headingBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { border-width: {{headingBorderWidth}}; }"}},"headingBorderColor":{"type":"string","style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { border-color: {{headingBorderColor}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { padding: {{headingPadding}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart thead th { text-align: {{headingAlignment}}; }"}},"headingBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { background-color: {{headingBackgroundColor}}; }"}},"tableBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart { border-style: {{tableBorderType}}; }"}},"tableBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart { border-width: {{tableBorderWidth}}; }"}},"tableBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart { border-color: {{tableBorderColor}}; }"}},"tablePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart { padding: {{tablePadding}}; }"}},"tableCellBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr td { border-style: {{tableCellBorderType}}; }"}},"tableCellBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr td { border-width: {{tableCellBorderWidth}}; }"}},"tableCellBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr td { border-color: {{tableCellBorderColor}}; }"}},"tableCellPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr td { padding: {{tableCellPadding}}; }"}},"tableCellAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td { text-align: {{tableCellAlignment}}; }"}},"tableCellBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart { background-color: {{tableCellBackgroundColor}}; }"}},"removeIconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { color: {{removeIconColor}} !important; }"}},"removeIconBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { background-color: {{removeIconBackgroundColor}} !important; }"}},"removeIconBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { border-style: {{removeIconBorderType}}; }"}},"removeIconBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"removeIconBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { border-width: {{removeIconBorderWidth}}; }"}},"removeIconBorderColor":{"type":"string","style":{"dependency":[[{"key":"removeIconBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { border-color: {{removeIconBorderColor}}; }"}},"removeIconBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { border-radius: {{removeIconBorderRadius}} !important; }"}},"removeHoverIconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove:hover { color: {{removeHoverIconColor}} !important; }"}},"removeIconHoverBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove:hover { background-color: {{removeIconHoverBackgroundColor}} !important; }"}},"removeIconHoverBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove:hover { border-style: {{removeIconHoverBorderType}}; }"}},"removeIconHoverBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"removeIconHoverBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove:hover { border-width: {{removeIconHoverBorderWidth}}; }"}},"removeIconHoverBorderColor":{"type":"string","style":{"dependency":[[{"key":"removeIconHoverBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove:hover { border-color: {{removeIconHoverBorderColor}}; }"}},"imageBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { border-style: {{imageBorderType}}; }"}},"imageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { border-width: {{imageBorderWidth}}; }"}},"imageBorderColor":{"type":"string","style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { border-color: {{imageBorderColor}}; }"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { border-radius: {{imageBorderRadius}}; }"}},"imagePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { padding: {{imagePadding}}; }"}},"imageWidth":{"type":"number","default":70,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { width: {{imageWidth}}px; max-width: {{imageWidth}}px; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-name,{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-name a { color: {{titleColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-name { font-size: {{titleSize}}; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-name:hover,{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-name a:hover { color: {{titleHoverColor}}; }"}},"priceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-price,{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-price .amount { color: {{priceColor}}; }"}},"priceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-price,{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-price .amount { font-size: {{priceSize}}; }"}},"totalPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-subtotal { color: {{totalPriceColor}}; }"}},"totalPriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-subtotal { font-size: {{totalPriceSize}}; }"}},"quantityColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-quantity input[type=number] { color: {{quantityColor}}; }"}},"quantityBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-quantity input[type=number] { border-style: {{quantityBorderType}}; }"}},"quantityBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"quantityBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-quantity input[type=number] { border-width: {{quantityBorderWidth}}; }"}},"quantityBorderColor":{"type":"string","style":{"dependency":[[{"key":"quantityBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-quantity input[type=number] { border-color: {{quantityBorderColor}}; }"}},"updateCartBtnColor":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { color: {{updateCartBtnColor}}; }"}},"updateCartBtnBGColor":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { background-color: {{updateCartBtnBGColor}}; }"}},"updateCartBtnSize":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { font-size: {{updateCartBtnSize}}; }"}},"updateCartBtnBorderType":{"type":"string","default":"","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { border-style: {{updateCartBtnBorderType}} !important; }"}},"updateCartBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"updateCartBtnBorderType","condition":"!=","value":""},{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { border-width: {{updateCartBtnBorderWidth}} !important; }"}},"updateCartBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"updateCartBtnBorderType","condition":"!=","value":""},{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { border-color: {{updateCartBtnBorderColor}} !important; }"}},"updateCartBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { border-radius: {{updateCartBtnBorderRadius}} !important; }"}},"updateCartBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { padding: {{updateCartBtnPadding}}; }"}},"updateCartBtnHoverColor":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button:hover { color: {{updateCartBtnHoverColor}}; }"}},"updateCartBtnHoverBGColor":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button:hover { background-color: {{updateCartBtnHoverBGColor}}; }"}},"updateCartBtnHoverBorderColor":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button:hover { border-color: {{updateCartBtnHoverBorderColor}} !important; }"}},"continueShopBtnColor":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { color: {{continueShopBtnColor}}; }"}},"continueShopBtnBGColor":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { background-color: {{continueShopBtnBGColor}}; }"}},"continueShopBtnSize":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { font-size: {{continueShopBtnSize}}; }"}},"continueShopBtnBorderType":{"type":"string","default":"","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { border-style: {{continueShopBtnBorderType}}; }"}},"continueShopBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"continueShopBtnBorderType","condition":"!=","value":""},{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { border-width: {{continueShopBtnBorderWidth}}; }"}},"continueShopBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"continueShopBtnBorderType","condition":"!=","value":""},{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { border-color: {{continueShopBtnBorderColor}}; }"}},"continueShopBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { border-radius: {{continueShopBtnBorderRadius}}; }"}},"continueShopBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { padding: {{continueShopBtnPadding}}; }"}},"continueShopBtnHoverColor":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping:hover { color: {{continueShopBtnHoverColor}}; }"}},"continueShopBtnHoverBGColor":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping:hover { background-color: {{continueShopBtnHoverBGColor}}; }"}},"continueShopBtnHoverBorderColor":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping:hover { border-color: {{continueShopBtnHoverBorderColor}}; }"}},"couponBtnColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button{ color: {{couponBtnColor}}; }"}},"couponBtnBGColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button{ background-color: {{couponBtnBGColor}}; transition:0.4s; }"}},"couponBtnSize":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button{ font-size: {{couponBtnSize}}; }"}},"couponBtnHoverColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button:hover{ color: {{couponBtnHoverColor}}; }"}},"couponBtnHoverBGColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button:hover{ background-color: {{couponBtnHoverBGColor}}; }"}},"couponFormColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon input.input-text{ color: {{couponFormColor}}; }"}},"couponFormFontSize":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon input.input-text{ font-size: {{couponFormFontSize}}; }"}},"couponFormBorderColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon input.input-text{ border-color: {{couponFormBorderColor}}; }"}}}}'),yf=React.createElement("svg",{"enable-background":"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m22.5 24h-21c-.827 0-1.5-.673-1.5-1.5v-21c0-.827.673-1.5 1.5-1.5h21c.827 0 1.5.673 1.5 1.5v21c0 .827-.673 1.5-1.5 1.5zm-21-23c-.276 0-.5.224-.5.5v21c0 .276.224.5.5.5h21c.276 0 .5-.224.5-.5v-21c0-.276-.224-.5-.5-.5z"}),React.createElement("path",{d:"m23.5 16.5h-23c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h23c.276 0 .5.224.5.5s-.224.5-.5.5z"}),React.createElement("path",{d:"m23.5 8.5h-23c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h23c.276 0 .5.224.5.5s-.224.5-.5.5z"}),React.createElement("path",{d:"m8 24c-.276 0-.5-.224-.5-.5v-23c0-.276.224-.5.5-.5s.5.224.5.5v23c0 .276-.224.5-.5.5z"}));var _f=bf.name,Rf=bf.category,hf=bf.attributes,wf={title:(0,te.__)("WL : Cart Table","woolentor"),description:(0,te.__)("Display cart table.","woolentor"),icon:React.createElement(oe.Icon,{icon:yf}),keywords:["woolentor",(0,te.__)("shop table","woolentor"),(0,te.__)("cart table","woolentor"),(0,te.__)("table","woolentor"),(0,te.__)("woocommerce table","woolentor")],supports:{align:["wide","full"]},attributes:hf,edit:gf,save:function(){return null}};const Ef=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t),React.createElement(we.Fragment,null,React.createElement(tt,{tabs:["styles","advanced"]}),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Heading","woolentor"),initialOpen:!0},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0})),React.createElement(ft,{title:(0,te.__)("Table Cell","woolentor")},React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.tableCellBorderType,options:Ll,onChange:function(e){return o({tableCellBorderType:e})}}),t.tableCellBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.tableCellBorderWidth,attributesKey:"tableCellBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tableCellBorderColor,onChange:function(e){return o({tableCellBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.tableCellPadding,attributesKey:"tableCellPadding",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"tableCellAlignment",justified:!0}),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tableCellBackgroundColor,onChange:function(e){return o({tableCellBackgroundColor:e})}}))),React.createElement(ft,{title:(0,te.__)("Table Content","woolentor")},React.createElement(At,{label:(0,te.__)("Heading","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tableHeadingColor,onChange:function(e){return o({tableHeadingColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableHeadingSize,fallbackFontSize:t.tableHeadingSize,onChange:function(e){return o({tableHeadingSize:e})}}),React.createElement(At,{label:(0,te.__)("Subtotal Price","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tableSubtotalColor,onChange:function(e){return o({tableSubtotalColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableSubtotalSize,fallbackFontSize:t.tableSubtotalSize,onChange:function(e){return o({tableSubtotalSize:e})}}),React.createElement(At,{label:(0,te.__)("Total Price","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tableTotalColor,onChange:function(e){return o({tableTotalColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableTotalSize,fallbackFontSize:t.tableTotalSize,onChange:function(e){return o({tableTotalSize:e})}})),React.createElement(ft,{title:(0,te.__)("Checkout Button","woolentor")},React.createElement(ct,{name:"button"},React.createElement(mt,{name:"normal"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.checkoutBtnColor,onChange:function(e){return o({checkoutBtnColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.checkoutBtnBGColor,onChange:function(e){return o({checkoutBtnBGColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.checkoutBtnSize,fallbackFontSize:t.checkoutBtnSize,onChange:function(e){return o({checkoutBtnSize:e})}}),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.checkoutBtnBorderType,options:Ll,onChange:function(e){return o({checkoutBtnBorderType:e})}}),t.checkoutBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.checkoutBtnBorderWidth,attributesKey:"checkoutBtnBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.checkoutBtnBorderColor,onChange:function(e){return o({checkoutBtnBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.checkoutBtnBorderRadius,attributesKey:"checkoutBtnBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.checkoutBtnPadding,attributesKey:"checkoutBtnPadding",setAttributes:o})),React.createElement(mt,{name:"hover"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.checkoutBtnHoverColor,onChange:function(e){return o({checkoutBtnHoverColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.checkoutBtnHoverBGColor,onChange:function(e){return o({checkoutBtnHoverBGColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.checkoutBtnHoverBorderColor,onChange:function(e){return o({checkoutBtnHoverBorderColor:e})}})))))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function vf(e){return vf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vf(e)}function Of(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pf(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Cf(e,t){return Cf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Cf(e,t)}function Bf(e,t){if(t&&("object"===vf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},kf(e)}var Af=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Cf(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=kf(r);if(n){var o=kf(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Bf(this,e)});function l(){return Of(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId,c=t.areaBGProperty;""==i&&a({blockUniqId:l});var u,s,d,m=st()((d=r,(s=r)in(u={})?Object.defineProperty(u,s,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[s]=d,u),"woolentor-block-cart-total","woolentorblock-cart-total-"+i),p=".woolentorblock-cart-total-"+i,f="\n\t\t\t".concat(p," .cart_totals > h2{\n\t\t\t\t").concat(Mo(t.headingTextColor,"color"),"\n\t\t\t\t").concat(Mo(t.headingSize,"font-size"),"\n ").concat(Io(t.headingMargin,"margin"),"\n ").concat(Mo(t.headingAlignment,"text-align"),"\n\t\t\t}\n\t\t")+"\n ".concat(p," .cart_totals .shop_table tr th,").concat(p," .cart_totals .shop_table tr td{\n ").concat(""!=t.tableCellBorderType?Mo(t.tableCellBorderType,"border-style"):"","\n ").concat(""!=t.tableCellBorderType?Io(t.tableCellBorderWidth,"border-width"):"","\n ").concat(""!=t.tableCellBorderType?Mo(t.tableCellBorderColor,"border-color"):"","\n ").concat(Io(t.tableCellPadding,"padding"),"\n ").concat(Mo(t.tableCellAlignment,"text-align"),"\n }\n ").concat(p," .cart_totals .shop_table{\n ").concat(Mo(t.tableCellBackgroundColor,"background-color"),"\n }\n ")+"\n ".concat(p," .cart_totals .shop_table tr th{\n ").concat(Mo(t.tableHeadingColor,"color"),"\n\t\t\t\t").concat(Mo(t.tableHeadingSize,"font-size"),"\n }\n ").concat(p," .cart_totals .shop_table tr.cart-subtotal td{\n ").concat(Mo(t.tableSubtotalColor,"color"),"\n\t\t\t\t").concat(Mo(t.tableSubtotalSize,"font-size"),"\n }\n ").concat(p," .cart_totals .shop_table tr.order-total th, ").concat(p," .cart_totals .shop_table tr.order-total td .amount{\n ").concat(Mo(t.tableTotalColor,"color"),"\n\t\t\t\t").concat(Mo(t.tableTotalSize,"font-size"),"\n }\n ")+"\n ".concat(p," .wc-proceed-to-checkout .button.checkout-button{\n ").concat(Mo(t.checkoutBtnColor,"color"),"\n ").concat(Mo(t.checkoutBtnBGColor,"background-color"),"\n ").concat(Mo(t.checkoutBtnSize,"font-size"),"\n ").concat(""!=t.checkoutBtnBorderType?Mo(t.checkoutBtnBorderType,"border-style"):"","\n ").concat(""!=t.checkoutBtnBorderType?Io(t.checkoutBtnBorderWidth,"border-width"):"","\n ").concat(""!=t.checkoutBtnBorderType?Mo(t.checkoutBtnBorderColor,"border-color"):"","\n ").concat(Io(t.checkoutBtnBorderRadius,"border-radius"),"\n ").concat(Io(t.checkoutBtnPadding,"padding"),"\n }\n ").concat(p," .wc-proceed-to-checkout .button.checkout-button:hover{\n ").concat(Mo(t.checkoutBtnHoverColor,"color"),"\n ").concat(Mo(t.checkoutBtnHoverBGColor,"background-color"),"\n ").concat(Mo(t.checkoutBtnHoverBorderColor,"border-color"),"\n }\n ");return React.createElement(we.Fragment,null,n&&React.createElement(Ef,this.props),React.createElement("div",{className:m},React.createElement(Pm(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n ".concat(p,"{\n ").concat(Io(t.areaPadding.desktop,"padding"),"\n ").concat(Ho(c),"\n }\n ").concat(f,"\n ")))}}],o&&Pf(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const Tf=Af,Wf=JSON.parse('{"name":"woolentor/cart-total","category":"woolentor-cart","title":"Cart Total","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"headingTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals > h2 { color: {{headingTextColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals > h2 { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals > h2 { margin: {{headingMargin}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals > h2 { text-align: {{headingAlignment}}; }"}},"tableCellBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th,{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr td { border-style: {{tableCellBorderType}}; }"}},"tableCellBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th,{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr td { border-width: {{tableCellBorderWidth}}; }"}},"tableCellBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th,{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr td { border-color: {{tableCellBorderColor}}; }"}},"tableCellPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th,{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr td { padding: {{tableCellPadding}}; }"}},"tableCellAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th,{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr td { text-align: {{tableCellAlignment}}; }"}},"tableCellBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table { background-color: {{tableCellBackgroundColor}}; }"}},"tableHeadingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th { color: {{tableHeadingColor}}; }"}},"tableHeadingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th { font-size: {{tableHeadingSize}}; }"}},"tableSubtotalColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.cart-subtotal td { color: {{tableSubtotalColor}}; }"}},"tableSubtotalSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.cart-subtotal td { font-size: {{tableSubtotalSize}}; }"}},"tableTotalColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.order-total th, {{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.order-total td .amount { color: {{tableTotalColor}}; }"}},"tableTotalSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} {{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.order-total th, {{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.order-total td .amount { font-size: {{tableTotalSize}}; }"}},"checkoutBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { color: {{checkoutBtnColor}}; }"}},"checkoutBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { background-color: {{checkoutBtnBGColor}}; }"}},"checkoutBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { font-size: {{checkoutBtnSize}}; }"}},"checkoutBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { border-style: {{checkoutBtnBorderType}}; }"}},"checkoutBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"checkoutBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { border-width: {{checkoutBtnBorderWidth}}; }"}},"checkoutBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"checkoutBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { border-color: {{checkoutBtnBorderColor}}; }"}},"checkoutBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { border-radius: {{checkoutBtnBorderRadius}}; }"}},"checkoutBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { padding: {{checkoutBtnPadding}}; }"}},"checkoutBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button:hover { color: {{checkoutBtnHoverColor}}; }"}},"checkoutBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button:hover { background-color: {{checkoutBtnHoverBGColor}}; }"}},"checkoutBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button:hover { border-color: {{checkoutBtnHoverBorderColor}}; }"}}}}'),Sf=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},React.createElement("path",{fill:"currentColor",d:"M2 22h28v2H2zm0 4h28v2H2zm22-16a2 2 0 1 0 2 2a2 2 0 0 0-2-2zm-8 6a4 4 0 1 1 4-4a4.005 4.005 0 0 1-4 4zm0-6a2 2 0 1 0 2 2a2.002 2.002 0 0 0-2-2zm-8 0a2 2 0 1 0 2 2a2 2 0 0 0-2-2z"}),React.createElement("path",{fill:"currentColor",d:"M28 20H4a2.005 2.005 0 0 1-2-2V6a2.005 2.005 0 0 1 2-2h24a2.005 2.005 0 0 1 2 2v12a2.003 2.003 0 0 1-2 2Zm0-14H4v12h24Z"}));var xf=Wf.name,zf=Wf.category,Lf=Wf.attributes,Nf={title:(0,te.__)("WL : Cart Total","woolentor"),description:(0,te.__)("Display cart total.","woolentor"),icon:React.createElement(oe.Icon,{icon:Sf}),keywords:["woolentor",(0,te.__)("shop total","woolentor"),(0,te.__)("cart total table","woolentor"),(0,te.__)("table","woolentor"),(0,te.__)("total table","woolentor")],supports:{align:["wide","full"]},attributes:Lf,edit:Tf,save:function(){return null}};const jf=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t),React.createElement(we.Fragment,null,React.createElement(tt,null),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Cross Sell","woolentor"),initialOpen:!0},React.createElement(oe.RangeControl,{label:(0,te.__)("Limit","woolentor"),value:t.limit,onChange:function(e){return o({limit:e})},min:0,step:1,max:20}),React.createElement(Ao,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(oe.SelectControl,{label:(0,te.__)("Order","woolentor"),value:t.order,options:[{label:(0,te.__)("Descending","woolentor"),value:"DESC"},{label:(0,te.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(oe.SelectControl,{label:(0,te.__)("Orderby","woolentor"),value:t.orderBy,options:[{label:(0,te.__)("Random","woolentor"),value:"rand"},{label:(0,te.__)("Publish Date","woolentor"),value:"date"},{label:(0,te.__)("Modified Date","woolentor"),value:"modified"},{label:(0,te.__)("Alphabetic","woolentor"),value:"title"},{label:(0,te.__)("Popularity","woolentor"),value:"popularity"},{label:(0,te.__)("Rating","woolentor"),value:"rating"},{label:(0,te.__)("Price","woolentor"),value:"price"}],onChange:function(e){return o({orderBy:e})}}))),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Heading","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0})),React.createElement(ft,{title:(0,te.__)("Item","woolentor"),initialOpen:!0},React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.itemBorderType,options:Ll,onChange:function(e){return o({itemBorderType:e})}}),t.itemBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.itemBorderWidth,attributesKey:"itemBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.itemBorderColor,onChange:function(e){return o({itemBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.itemBorderRadius,attributesKey:"itemBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.itemPadding,attributesKey:"itemPadding",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0})),React.createElement(ft,{title:(0,te.__)("Image","woolentor")},React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.imageBorderType,options:Ll,onChange:function(e){return o({imageBorderType:e})}}),t.imageBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.imageBorderWidth,attributesKey:"imageBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Title","woolentor")},React.createElement(ct,{name:"title"},React.createElement(mt,{name:"normal"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o})),React.createElement(mt,{name:"hover"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))))),React.createElement(ft,{title:(0,te.__)("Price","woolentor")},React.createElement(At,{label:(0,te.__)("Sale Price","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.salePriceColor,onChange:function(e){return o({salePriceColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.salePriceSize,fallbackFontSize:t.salePriceSize,onChange:function(e){return o({salePriceSize:e})}}),React.createElement(At,{label:(0,te.__)("Regular Price","woolentor")}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.regularPriceColor,onChange:function(e){return o({regularPriceColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.regularPriceSize,fallbackFontSize:t.regularPriceSize,onChange:function(e){return o({regularPriceSize:e})}})),React.createElement(ft,{title:(0,te.__)("Rating","woolentor")},React.createElement(Ot,{label:(0,te.__)("Rating Star Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Empty Rating Star Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.emptyRatingColor,onChange:function(e){return o({emptyRatingColor:e})}})),React.createElement("h3",null,(0,te.__)("Start size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.ratingSize,fallbackFontSize:t.ratingSize,onChange:function(e){return o({ratingSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.ratingMargin,attributesKey:"ratingMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Add To Cart Button","woolentor")},React.createElement(ct,{name:"addToCartButton"},React.createElement(mt,{name:"normal"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.cartBtnColor,onChange:function(e){return o({cartBtnColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.cartBtnBGColor,onChange:function(e){return o({cartBtnBGColor:e})}})),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.cartBtnBorderType,options:Ll,onChange:function(e){return o({cartBtnBorderType:e})}}),t.cartBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.cartBtnBorderWidth,attributesKey:"cartBtnBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.cartBtnBorderColor,onChange:function(e){return o({cartBtnBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.cartBtnBorderRadius,attributesKey:"cartBtnBorderRadius",setAttributes:o}),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.cartBtnSize,fallbackFontSize:t.cartBtnSize,onChange:function(e){return o({cartBtnSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.cartBtnPadding,attributesKey:"cartBtnPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.cartBtnMargin,attributesKey:"cartBtnMargin",setAttributes:o})),React.createElement(mt,{name:"hover"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.cartBtnHoverColor,onChange:function(e){return o({cartBtnHoverColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.cartBtnHoverBGColor,onChange:function(e){return o({cartBtnHoverBGColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.cartBtnHoverBorderColor,onChange:function(e){return o({cartBtnHoverBorderColor:e})}}))))),React.createElement(ft,{title:(0,te.__)("Sale Tag","woolentor")},React.createElement(Ot,{label:(0,te.__)("Sale Flash","woolentor")},React.createElement(oe.ToggleControl,{checked:t.saleTagShow,onChange:function(){return o({saleTagShow:!t.saleTagShow})}})),t.saleTagShow&&React.createElement(React.Fragment,null,React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.saleTextColor,onChange:function(e){return o({saleTextColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.saleTagBGColor,onChange:function(e){return o({saleTagBGColor:e})}})),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.saleTagPadding,attributesKey:"saleTagPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.saleTagBorderRadius,attributesKey:"saleTagBorderRadius",setAttributes:o}),React.createElement(oe.SelectControl,{label:(0,te.__)("Position","woolentor"),value:t.saleTagPosition,options:[{label:(0,te.__)("Default","woolentor"),value:""},{label:(0,te.__)("Left","woolentor"),value:"left"},{label:(0,te.__)("Right","woolentor"),value:"right"}],onChange:function(e){return o({saleTagPosition:e})}})))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Mf(e){return Mf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mf(e)}function If(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hf(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ff(e,t){return Ff=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ff(e,t)}function Gf(e,t){if(t&&("object"===Mf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Df(e)}var qf=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ff(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Df(r);if(n){var o=Df(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Gf(this,e)});function l(){return If(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId,c=t.areaBGProperty;""==i&&a({blockUniqId:l});var u,s,d,m=st()((d=r,(s=r)in(u={})?Object.defineProperty(u,s,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[s]=d,u),"woolentor-block-cross-sell","woolentorblock-cross-sell-"+i),p=".woolentorblock-cross-sell-"+i,f="\n\t\t\t".concat(p," .cross-sells > h2{\n\t\t\t\t").concat(Mo(t.headingTextColor,"color"),"\n\t\t\t\t").concat(Mo(t.headingSize,"font-size"),"\n ").concat(Io(t.headingMargin,"margin"),"\n ").concat(Mo(t.headingAlignment,"text-align"),"\n\t\t\t}\n\t\t")+"\n\t\t\t".concat(p," ul.products li.product{\n\t\t\t\t").concat(Mo(t.itemBorderType,"border-style"),"\n\t\t\t\t").concat(Io(t.itemBorderWidth,"border-width"),"\n\t\t\t\t").concat(Mo(t.itemBorderColor,"border-color"),"\n\t\t\t\t").concat(Io(t.itemBorderRadius,"border-radius"),"\n\t\t\t\t").concat(Io(t.itemPadding,"padding"),"\n\t\t\t\t").concat(Mo(t.contentAlignment,"text-align"),"\n\t\t\t}\n\t\t")+"\n\t\t\t".concat(p," .attachment-woocommerce_thumbnail{\n\t\t\t\t").concat(Mo(t.imageBorderType,"border-style"),"\n\t\t\t\t").concat(Io(t.imageBorderWidth,"border-width"),"\n\t\t\t\t").concat(Mo(t.imageBorderColor,"border-color"),"\n\t\t\t\t").concat(Io(t.imageBorderRadius,"border-radius"),"\n\t\t\t\t").concat(Io(t.imageMargin,"margin"),"\n\t\t\t}\n\t\t")+"\n\t\t\t".concat(p," ul.products li.product .woocommerce-loop-product__title,").concat(p," ul.products li.product .title a{\n\t\t\t\t").concat(Mo(t.titleColor,"color","!important"),"\n\t\t\t\t").concat(Mo(t.titleSize,"font-size","!important"),"\n\t\t\t\t").concat(Io(t.titleMargin,"margin","!important"),"\n\t\t\t}\n\t\t\t").concat(p," ul.products li.product .woocommerce-loop-product__title:hover,").concat(p," ul.products li.product .title a:hover{\n\t\t\t\t").concat(Mo(t.titleHoverColor,"color","!important"),"\n\t\t\t}\n\t\t")+"\n\t\t\t".concat(p," ul.products li.product .price, \n\t\t\t").concat(p," ul.products li.product .price ins,\n\t\t\t").concat(p," ul.products li.product .price ins .amount,\n\t\t\t").concat(p," ul.products li.product .price .amount{\n\t\t\t\t").concat(Mo(t.salePriceColor,"color"),"\n\t\t\t}\n\t\t\t").concat(p," ul.products li.product .price{\n\t\t\t\t").concat(Mo(t.salePriceSize,"font-size"),"\n\t\t\t}\n\n\t\t\t").concat(p," ul.products li.product .price del,\n\t\t\t").concat(p," ul.products li.product .price del .amount,\n\t\t\t").concat(p," .price del .amount{\n\t\t\t\t").concat(Mo(t.regularPriceColor,"color"),"\n\t\t\t}\n\t\t\t").concat(p," ul.products li.product .price del .amount,\n\t\t\t").concat(p," ul.products li.product .price del{\n\t\t\t\t").concat(Mo(t.regularPriceSize,"font-size"),"\n\t\t\t}\n\t\t")+"\n\t\t\t".concat(p," ul.products li.product .star-rating{\n\t\t\t\t").concat(Mo(t.ratingColor,"color"),"\n\t\t\t\t").concat(Mo(t.ratingSize,"font-size"),"\n\t\t\t\t").concat(Io(t.ratingMargin,"margin"),"\n\t\t\t}\n\t\t\t").concat(p," ul.products li.product .star-rating::before{\n\t\t\t\t").concat(Mo(t.emptyRatingColor,"color"),"\n\t\t\t}\n\t\t")+"\n\t\t\t".concat(p," ul.products li.product .button{\n\t\t\t\t").concat(Mo(t.cartBtnColor,"color"),"\n\t\t\t\t").concat(Mo(t.cartBtnBGColor,"background-color"),"\n\t\t\t\t").concat(Mo(t.cartBtnBorderType,"border-style"),"\n\t\t\t\t").concat(Io(t.cartBtnBorderWidth,"border-width"),"\n\t\t\t\t").concat(Mo(t.cartBtnBorderColor,"border-color"),"\n\t\t\t\t").concat(Io(t.cartBtnBorderRadius,"border-radius"),"\n\t\t\t\t").concat(Mo(t.cartBtnSize,"font-size"),"\n\t\t\t\t").concat(Io(t.cartBtnPadding,"padding"),"\n\t\t\t\t").concat(Io(t.cartBtnMargin,"margin"),"\n\t\t\t}\n\t\t\t").concat(p," ul.products li.product .button:hover{\n\t\t\t\t").concat(Mo(t.cartBtnHoverColor,"color"),"\n\t\t\t\t").concat(Mo(t.cartBtnHoverBGColor,"background-color"),"\n\t\t\t\t").concat(Mo(t.cartBtnHoverBorderColor,"border-color"),"\n\t\t\t}\n\t\t")+"\n\t\t\t".concat(p," ul.products li.product span.onsale{\n\t\t\t\t").concat(1==t.saleTagShow?"":"display:none !important;","\n\t\t\t\t").concat(Mo(t.saleTextColor,"color"),"\n\t\t\t\t").concat(Mo(t.saleTagBGColor,"background-color"),"\n\t\t\t\t").concat(Io(t.saleTagPadding,"padding"),"\n\t\t\t\t").concat(Io(t.saleTagBorderRadius,"border-radius"),"\n\t\t\t\t").concat("left"==t.saleTagPosition?"right: auto; left: 0":"","\n\t\t\t\t").concat("right"==t.saleTagPosition?"left: auto; right: 0":"","\n\t\t\t}\n\t\t");return React.createElement(we.Fragment,null,n&&React.createElement(jf,this.props),React.createElement("div",{className:m},React.createElement(Pm(),{block:o,attributes:{columns:t.columns,limit:t.limit,orderBy:t.orderBy,order:t.order},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n ".concat(p,"{\n ").concat(Io(t.areaPadding.desktop,"padding"),"\n ").concat(Ho(c),"\n }\n ").concat(f,"\n ")))}}],o&&Hf(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const Kf=qf,Uf=JSON.parse('{"name":"woolentor/cross-sell","category":"woolentor-cart","title":"Cart Total","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"columns":{"type":"object","default":{"desktop":4}},"limit":{"type":"number","default":2},"orderBy":{"type":"string","default":"rand"},"order":{"type":"string","default":"DESC"},"headingTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells > h2 { color: {{headingTextColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells > h2 { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells > h2 { margin: {{headingMargin}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells > h2 { text-align: {{headingAlignment}}; }"}},"itemBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { border-style: {{itemBorderType}}; }"}},"itemBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"itemBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { border-width: {{itemBorderWidth}}; }"}},"itemBorderColor":{"type":"string","style":{"dependency":[[{"key":"itemBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { border-color: {{itemBorderColor}}; }"}},"itemBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { border-radius: {{itemBorderRadius}}; }"}},"itemPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { padding: {{itemPadding}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { text-align: {{contentAlignment}}; }"}},"imageBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-style: {{imageBorderType}}; }"}},"imageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-width: {{imageBorderWidth}}; }"}},"imageBorderColor":{"type":"string","style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-color: {{imageBorderColor}}; }"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-radius: {{imageBorderRadius}}; }"}},"imageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { margin: {{imageMargin}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { color: {{titleColor}}!important; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title:hover,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a:hover { color: {{titleHoverColor}}!important; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { font-size: {{titleSize}}!important; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { margin: {{titleMargin}}!important; }"}},"salePriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price,{{WOOLENTOR_WRAPPER}} ul.products li.product .price ins,{{WOOLENTOR_WRAPPER}} ul.products li.product .price ins .amount,{{WOOLENTOR_WRAPPER}} ul.products li.product .price .amount{ color: {{salePriceColor}}!important; }"}},"salePriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price{ font-size: {{salePriceSize}}!important; }"}},"regularPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price del,{{WOOLENTOR_WRAPPER}} ul.products li.product .price del .amount,{{WOOLENTOR_WRAPPER}} .price del .amount{ color: {{regularPriceColor}}!important; }"}},"regularPriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price del .amount,{{WOOLENTOR_WRAPPER}} ul.products li.product .price del{ font-size: {{regularPriceSize}}!important; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ color: {{ratingColor}}; }"}},"emptyRatingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating::before{ color: {{emptyRatingColor}}; }"}},"ratingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ font-size: {{ratingSize}}; }"}},"ratingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ margin: {{ratingMargin}}; }"}},"cartBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ color: {{cartBtnColor}}; }"}},"cartBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ background-color: {{cartBtnBGColor}}; }"}},"cartBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-style: {{cartBtnBorderType}}; }"}},"cartBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"cartBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-width: {{cartBtnBorderWidth}}; }"}},"cartBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"cartBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-color: {{cartBtnBorderColor}}; }"}},"cartBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-radius: {{cartBtnBorderRadius}}; }"}},"cartBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ font-size: {{cartBtnSize}}; }"}},"cartBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ padding: {{cartBtnPadding}}; }"}},"cartBtnMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ margin: {{cartBtnMargin}}; }"}},"cartBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ color: {{cartBtnHoverColor}}; }"}},"cartBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ background-color: {{cartBtnHoverBGColor}}; }"}},"cartBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ border-color: {{cartBtnHoverBorderColor}}; }"}},"saleTagShow":{"type":"boolean","default":true},"saleTextColor":{"type":"string","style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ color: {{saleTextColor}}; }"}},"saleTagBGColor":{"type":"string","style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ background-color: {{saleTagBGColor}}; }"}},"saleTagPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ padding: {{saleTagPadding}}; }"}},"saleTagBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ border-radius: {{saleTagBorderRadius}}; }"}},"saleTagPosition":{"type":"string","default":""}}}'),Qf=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},React.createElement("path",{fill:"currentColor",d:"M17 24h4v4h-4zm7 0h4v4h-4zm-7-7h4v4h-4zm7 0h4v4h-4z"}),React.createElement("path",{fill:"currentColor",d:"M28 11h-6V7c0-1.7-1.3-3-3-3h-6c-1.7 0-3 1.3-3 3v4H4c-.6 0-1 .4-1 1v.2l1.9 12.1c.1 1 1 1.7 2 1.7H15v-2H6.9L5.2 13H28v-2zM12 7c0-.6.4-1 1-1h6c.6 0 1 .4 1 1v4h-8V7z"}));var Vf=Uf.name,Yf=Uf.category,Zf=Uf.attributes,Jf={title:(0,te.__)("WL : Cross Sell","woolentor"),description:(0,te.__)("Display cross sell Product.","woolentor"),icon:React.createElement(oe.Icon,{icon:Qf}),keywords:["woolentor",(0,te.__)("cross sell","woolentor"),(0,te.__)("cross sell product","woolentor"),(0,te.__)("cart","woolentor"),(0,te.__)("cart table","woolentor")],supports:{align:["wide","full"]},attributes:Zf,edit:Kf,save:function(){return null}};const Xf=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t),React.createElement(we.Fragment,null,React.createElement(tt,null),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Return To Shop","woolentor"),initialOpen:!0},React.createElement(oe.TextControl,{label:(0,te.__)("Button Text","woolentor"),value:t.buttonText,placeholder:(0,te.__)("Button Text","woolentor"),onChange:function(e){return o({buttonText:e})}}),React.createElement(oe.TextControl,{label:(0,te.__)("Button Custom URL","woolentor"),value:t.buttonLink,placeholder:(0,te.__)("Button Custom URL","woolentor"),onChange:function(e){return o({buttonLink:e})}}))),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Button","woolentor")},React.createElement(ct,{name:"button"},React.createElement(mt,{name:"normal"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.returnBtnColor,onChange:function(e){return o({returnBtnColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.returnBtnBGColor,onChange:function(e){return o({returnBtnBGColor:e})}})),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.returnBtnBorderType,options:Ll,onChange:function(e){return o({returnBtnBorderType:e})}}),t.returnBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.returnBtnBorderWidth,attributesKey:"returnBtnBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.returnBtnBorderColor,onChange:function(e){return o({returnBtnBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.returnBtnBorderRadius,attributesKey:"returnBtnBorderRadius",setAttributes:o}),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.returnBtnSize,fallbackFontSize:t.returnBtnSize,onChange:function(e){return o({returnBtnSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.returnBtnPadding,attributesKey:"returnBtnPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.returnBtnMargin,attributesKey:"returnBtnMargin",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"buttonAlignment",justified:!0})),React.createElement(mt,{name:"hover"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.returnBtnHoverColor,onChange:function(e){return o({returnBtnHoverColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.returnBtnHoverBGColor,onChange:function(e){return o({returnBtnHoverBGColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.returnBtnHoverBorderColor,onChange:function(e){return o({returnBtnHoverBorderColor:e})}})))))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function $f(e){return $f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$f(e)}function eg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tg(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function og(e,t){return og=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},og(e,t)}function rg(e,t){if(t&&("object"===$f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ng(e){return ng=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ng(e)}var ag=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&og(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ng(r);if(n){var o=ng(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return rg(this,e)});function l(){return eg(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId,c=t.areaBGProperty;""==i&&a({blockUniqId:l});var u,s,d,m=st()((d=r,(s=r)in(u={})?Object.defineProperty(u,s,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[s]=d,u),"woolentor-block-return-to-shop","woolentorblock-return-to-shop-"+i),p=".woolentorblock-return-to-shop-"+i,f="\n ".concat(p," .return-to-shop{\n ").concat(Mo(t.buttonAlignment,"text-align"),"\n }\n\t\t\t").concat(p," a.button.wc-backward{\n\t\t\t\t").concat(Mo(t.returnBtnColor,"color"),"\n\t\t\t\t").concat(Mo(t.returnBtnBGColor,"background-color"),"\n\t\t\t\t").concat(Mo(t.returnBtnBorderType,"border-style"),"\n\t\t\t\t").concat(Io(t.returnBtnBorderWidth,"border-width"),"\n\t\t\t\t").concat(Mo(t.returnBtnBorderColor,"border-color"),"\n\t\t\t\t").concat(Io(t.returnBtnBorderRadius,"border-radius"),"\n\t\t\t\t").concat(Mo(t.returnBtnSize,"font-size"),"\n\t\t\t\t").concat(Io(t.returnBtnPadding,"padding"),"\n\t\t\t\t").concat(Io(t.returnBtnMargin,"margin"),"\n\t\t\t}\n\t\t\t").concat(p," a.button.wc-backward:hover{\n\t\t\t\t").concat(Mo(t.returnBtnHoverColor,"color"),"\n\t\t\t\t").concat(Mo(t.returnBtnHoverBGColor,"background-color"),"\n\t\t\t\t").concat(Mo(t.returnBtnHoverBorderColor,"border-color"),"\n\t\t\t}\n\t\t");return React.createElement(we.Fragment,null,n&&React.createElement(Xf,this.props),React.createElement("div",{className:m},React.createElement(Pm(),{block:o,attributes:{buttonText:t.buttonText,buttonLink:t.buttonLink},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n ".concat(p,"{\n ").concat(Io(t.areaPadding.desktop,"padding"),"\n ").concat(Ho(c),"\n }\n ").concat(f,"\n ")))}}],o&&tg(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const lg=ag,ig=JSON.parse('{"name":"woolentor/return-to-shop","category":"woolentor-cart","title":"Return To Shop","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"buttonText":{"type":"string","default":""},"buttonLink":{"type":"string","default":""},"returnBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ color: {{returnBtnColor}}; }"}},"returnBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ background-color: {{returnBtnBGColor}}; }"}},"returnBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ border-style: {{returnBtnBorderType}}; }"}},"returnBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"returnBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ border-width: {{returnBtnBorderWidth}}; }"}},"returnBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"returnBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ border-color: {{returnBtnBorderColor}}; }"}},"returnBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ border-radius: {{returnBtnBorderRadius}}; }"}},"returnBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ font-size: {{returnBtnSize}}; }"}},"returnBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ padding: {{returnBtnPadding}}; }"}},"returnBtnMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ margin: {{returnBtnMargin}}; }"}},"returnBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward:hover{ color: {{returnBtnHoverColor}}; }"}},"returnBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward:hover{ background-color: {{returnBtnHoverBGColor}}; }"}},"returnBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward:hover{ border-color: {{returnBtnHoverBorderColor}}; }"}},"buttonAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .return-to-shop { text-align: {{buttonAlignment}}; }"}}}}'),cg=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},React.createElement("circle",{cx:"7",cy:"7",r:"1",fill:"currentColor"}),React.createElement("circle",{cx:"7",cy:"15",r:"1",fill:"currentColor"}),React.createElement("circle",{cx:"7",cy:"23",r:"1",fill:"currentColor"}),React.createElement("path",{fill:"currentColor",d:"M12 26H4v-6h8v-2H4v-6h18V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v22a2 2 0 0 0 2 2h8ZM4 4h16v6H4Z"}),React.createElement("path",{fill:"currentColor",d:"M28 17v2.413A6.996 6.996 0 1 0 22 30v-2a5 5 0 1 1 4.576-7H24v2h6v-6Z"}));var ug=ig.name,sg=ig.category,dg=ig.attributes,mg={title:(0,te.__)("WL : Return To Shop","woolentor"),description:(0,te.__)("Display return to shop page button.","woolentor"),icon:React.createElement(oe.Icon,{icon:cg}),keywords:["woolentor",(0,te.__)("return to shop","woolentor"),(0,te.__)("back shop","woolentor"),(0,te.__)("redirect to shop","woolentor"),(0,te.__)("redirect button","woolentor"),(0,te.__)("cart","woolentor")],supports:{align:["wide","full"]},attributes:dg,edit:lg,save:function(){return null}};const pg=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t),React.createElement(we.Fragment,null,React.createElement(tt,null),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Content","woolentor"),initialOpen:!0},React.createElement(oe.TextareaControl,{label:(0,te.__)("Custom Message","woolentor"),help:(0,te.__)("Enter your custom message","woolentor"),value:t.customMessage,onChange:function(e){return o({customMessage:e})}}))),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Message","woolentor"),initialOpen:!0},React.createElement(Ot,{label:(0,te.__)("Text Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.borderColor,onChange:function(e){return o({borderColor:e})}})),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.messagePadding,attributesKey:"messagePadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.messageMargin,attributesKey:"messageMargin",setAttributes:o}))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function fg(e){return fg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fg(e)}function gg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bg(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yg(e,t){return yg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},yg(e,t)}function _g(e,t){if(t&&("object"===fg(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Rg(e){return Rg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Rg(e)}var hg=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&yg(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Rg(r);if(n){var o=Rg(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return _g(this,e)});function l(){return gg(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId,c=t.areaBGProperty;""==i&&a({blockUniqId:l});var u,s,d,m=st()((d=r,(s=r)in(u={})?Object.defineProperty(u,s,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[s]=d,u),"woolentorblock-cart-empty-message","woolentorblock-cart-empty-message-"+i),p=".woolentorblock-cart-empty-message-"+i,f="\n\t\t\t".concat(p," .woocommerce-info{\n\t\t\t\t").concat(Mo(t.textColor,"color"),"\n\t\t\t\t").concat(Mo(t.borderColor,"border-color"),"\n ").concat(Io(t.messagePadding,"padding"),"\n ").concat(Io(t.messageMargin,"margin"),"\n\t\t\t}\n ").concat(p," .woocommerce-info::before{\n ").concat(Mo(t.borderColor,"color"),"\n }\n\t\t");return React.createElement(we.Fragment,null,n&&React.createElement(pg,this.props),React.createElement("div",{className:m},React.createElement(Pm(),{block:o,attributes:{customMessage:t.customMessage},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n ".concat(p,"{\n ").concat(Io(t.areaPadding.desktop,"padding"),"\n ").concat(Ho(c),"\n }\n ").concat(f,"\n ")))}}],o&&bg(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const wg=hg,Eg=JSON.parse('{"name":"woolentor/cart-empty-message","category":"woolentor-cart","title":"Empty Cart Message","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"customMessage":{"type":"string","default":""},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-info { color: {{textColor}}; }"}},"borderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-info { border-color: {{borderColor}}; } {{WOOLENTOR_WRAPPER}} .woocommerce-info::before { color: {{borderColor}}; }"}},"messagePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-info { padding: {{messagePadding}}; }"}},"messageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-info { margin: {{messageMargin}}; }"}}}}'),vg=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4l-.01-18zM20 4v13.17L18.83 16H4V4h16zM6 12h12v2H6zm0-3h12v2H6zm0-3h12v2H6z"}));var Og=Eg.name,Pg=Eg.category,Cg=Eg.attributes,Bg={title:(0,te.__)("WL : Empty Cart Message","woolentor"),description:(0,te.__)("Display empty cart message.","woolentor"),icon:React.createElement(oe.Icon,{icon:vg}),keywords:["woolentor",(0,te.__)("shop table","woolentor"),(0,te.__)("cart table","woolentor"),(0,te.__)("table","woolentor"),(0,te.__)("woocommerce table","woolentor"),(0,te.__)("empty message","woolentor"),(0,te.__)("message","woolentor")],supports:{align:["wide","full"]},attributes:Cg,edit:wg,save:function(){return null}};const kg=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t),React.createElement(we.Fragment,null,React.createElement(tt,null),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Billing Form","woolentor"),initialOpen:!0},React.createElement(oe.TextControl,{label:(0,te.__)("Title","woolentor"),placeholder:(0,te.__)("Form Title","woolentor"),value:t.formTitle,onChange:function(e){return o({formTitle:e})}}),React.createElement(oe.TextControl,{label:(0,te.__)("Create an account label","woolentor"),placeholder:(0,te.__)("Create an account?","woolentor"),value:t.createfieldLabel,onChange:function(e){return o({createfieldLabel:e})}}))),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Heading","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Label","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Required Start Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Input Box","woolentor")},React.createElement(ct,{name:"inputbox",tabs:["normal","focus"]},React.createElement(mt,{name:"normal"},React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(oe.RangeControl,{label:(0,te.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:Ll,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(mt,{name:"focus"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}})))))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Ag(e){return Ag="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ag(e)}function Tg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wg(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Sg(e,t){return Sg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Sg(e,t)}function xg(e,t){if(t&&("object"===Ag(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function zg(e){return zg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},zg(e)}var Lg=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Sg(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=zg(r);if(n){var o=zg(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return xg(this,e)});function l(){return Tg(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId,c=t.areaBGProperty;""==i&&a({blockUniqId:l});var u,s,d,m=st()((d=r,(s=r)in(u={})?Object.defineProperty(u,s,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[s]=d,u),"woolentorblock-checkout-billing-form","woolentorblock-checkout-billing-form-"+i),p=".woolentorblock-checkout-billing-form-"+i,f="\n\t\t\t".concat(p," .woocommerce-billing-fields > h3,").concat(p," .woocommerce-billing-fields .woolentor-field-heading *{\n\t\t\t\t").concat(Mo(t.headingColor,"color"),"\n\t\t\t\t").concat(Mo(t.headingSize,"font-size"),"\n\t\t\t}\n ").concat(p," .woocommerce-billing-fields .woolentor-field-heading, ").concat(p," .woocommerce-billing-fields > h3{\n ").concat(Mo(t.headingColor,"border-color"),"\n ").concat(Mo(t.headingAlignment,"text-align"),"\n ").concat(Io(t.headingMargin,"margin"),"\n }\n\t\t")+"\n ".concat(p," :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label{\n ").concat(Mo(t.labelColor,"color"),"\n ").concat(Mo(t.labelSize,"font-size"),"\n ").concat(Mo(t.labelAlignment,"text-align"),"\n ").concat(Io(t.labelMargin,"margin"),"\n }\n ").concat(p," :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label abbr{\n ").concat(Mo(t.labelRequiredColor,"color"),"\n }\n ")+"\n .woocommerce ".concat(p," :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,.woocommerce ").concat(p," :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text,.woocommerce ").concat(p," :is(.woocommerce-account-fields,.woocommerce-billing-fields) textarea,.woocommerce ").concat(p," :is(.woocommerce-account-fields,.woocommerce-billing-fields) select,.woocommerce ").concat(p," :is(.woocommerce-account-fields,.woocommerce-billing-fields) .woocommerce-input-wrapper strong{\n ").concat(Mo(t.inputBoxBGColor,"background-color"),"\n ").concat(Mo(t.inputBoxColor,"color"),"\n }\n ").concat(p," :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text, ").concat(p," :is(.woocommerce-account-fields,.woocommerce-billing-fields) select,").concat(p," :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text{\n ").concat(Mo(t.inputBoxSize,"font-size"),"\n ").concat(""!=t.inputBoxHeight?Mo(t.inputBoxHeight,"height","px"):"","\n ").concat(""!=t.inputBoxBorderType?Mo(t.inputBoxBorderType,"border-style","!important"):"","\n ").concat(""!=t.inputBoxBorderType?Io(t.inputBoxBorderWidth,"border-width","!important"):"","\n ").concat(""!=t.inputBoxBorderType?Mo(t.inputBoxBorderColor,"border-color","!important"):"","\n ").concat(Io(t.inputBoxBorderRadius,"border-radius","!important"),"\n ").concat(Io(t.inputBoxPadding,"padding","!important"),"\n }\n ").concat(p," :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row{\n ").concat(Io(t.inputBoxMargin,"margin"),"\n }\n ").concat(p," :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text:focus, ").concat(p," :is(.woocommerce-account-fields,.woocommerce-billing-fields) select:focus,").concat(p," :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text:focus{\n ").concat(Mo(t.inputBoxFocusBorderColor,"border-color"),"\n ").concat(Mo(t.inputBoxFocusColor,"color"),"\n }\n ");return React.createElement(we.Fragment,null,n&&React.createElement(kg,this.props),React.createElement("div",{className:m},React.createElement(Pm(),{block:o,attributes:{formTitle:t.formTitle},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n ".concat(p,"{\n ").concat(Io(t.areaPadding.desktop,"padding"),"\n ").concat(Ho(c),"\n }\n ").concat(f,"\n ")))}}],o&&Wg(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const Ng=Lg,jg=JSON.parse('{"name":"woolentor/checkout-billing-form","category":"woolentor-checkout","title":"Checkout Billing Form","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"formTitle":{"type":"string","default":"Billing details"},"createfieldLabel":{"type":"string","default":"Create an account?"},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields .woolentor-field-heading * { color: {{headingColor}}; } {{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields .woolentor-field-heading{ border-color:{{headingColor}} }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields .woolentor-field-heading * { font-size: {{headingSize}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields .woolentor-field-heading { text-align: {{headingAlignment}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields .woolentor-field-heading { margin: {{headingMargin}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label abbr { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .woocommerce-input-wrapper strong { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .woocommerce-input-wrapper strong { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__rendered,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) select { height: {{inputBoxHeight}}px; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single,{{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single .select2-selection__arrow { height: {{inputBoxHeight}}px;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single[aria-expanded=\'true\']{outline: 1px solid #005fcc; border: 1px solid transparent;}"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__arrow,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row { margin: {{inputBoxMargin}}!important; }"}},"inputBoxFocusColor":{"type":"string","default":"","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) textarea:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) select:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container .select2-selection:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container--default .select2-selection--single .select2-selection__rendered:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .woocommerce-input-wrapper strong:focus { color: {{inputBoxFocusColor}}; }"}},"inputBoxFocusBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text:focus, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection:focus, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text:focus { border-color: {{inputBoxFocusBorderColor}}; }"}}}}'),Mg=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M6 10.75a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0ZM8.25 10a.75.75 0 1 0 0 1.5a.75.75 0 0 0 0-1.5Zm0 4a2.25 2.25 0 1 0 0 4.5a2.25 2.25 0 0 0 0-4.5Zm-.75 2.25a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0Zm4.5-5.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm.75 4.75a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5h-4.5ZM6 6.75A.75.75 0 0 1 6.75 6h10.5a.75.75 0 0 1 0 1.5H6.75A.75.75 0 0 1 6 6.75ZM6.25 3A3.25 3.25 0 0 0 3 6.25v11.5A3.25 3.25 0 0 0 6.25 21h11.5A3.25 3.25 0 0 0 21 17.75V6.25A3.25 3.25 0 0 0 17.75 3H6.25ZM4.5 6.25c0-.966.784-1.75 1.75-1.75h11.5c.966 0 1.75.784 1.75 1.75v11.5a1.75 1.75 0 0 1-1.75 1.75H6.25a1.75 1.75 0 0 1-1.75-1.75V6.25Z"}));var Ig=jg.name,Hg=jg.category,Fg=jg.attributes,Gg={title:(0,te.__)("WL : Checkout Billing Form","woolentor"),description:(0,te.__)("Display Checkout Billing Form.","woolentor"),icon:React.createElement(oe.Icon,{icon:Mg}),keywords:["woolentor",(0,te.__)("checkout form"),(0,te.__)("billing form"),(0,te.__)("billing field"),(0,te.__)("checkout")],supports:{align:["wide","full"]},attributes:Fg,edit:Ng,save:function(){return null}};const Dg=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t),React.createElement(we.Fragment,null,React.createElement(tt,null),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Shipping Form","woolentor"),initialOpen:!0},React.createElement(oe.TextControl,{label:(0,te.__)("Title","woolentor"),placeholder:(0,te.__)("Form Title","woolentor"),value:t.formTitle,onChange:function(e){return o({formTitle:e})}}))),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Heading","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Label","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Input Box","woolentor")},React.createElement(ct,{name:"inputbox",tabs:["normal","focus"]},React.createElement(mt,{name:"normal"},React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(oe.RangeControl,{label:(0,te.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:Ll,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(mt,{name:"focus"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}})))))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function qg(e){return qg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qg(e)}function Kg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ug(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Qg(e,t){return Qg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Qg(e,t)}function Vg(e,t){if(t&&("object"===qg(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Yg(e){return Yg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Yg(e)}var Zg=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Qg(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Yg(r);if(n){var o=Yg(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Vg(this,e)});function l(){return Kg(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId,c=t.areaBGProperty;""==i&&a({blockUniqId:l});var u,s,d,m=st()((d=r,(s=r)in(u={})?Object.defineProperty(u,s,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[s]=d,u),"woolentorblock-checkout-shipping-form","woolentorblock-checkout-shipping-form-"+i),p=".woolentorblock-checkout-shipping-form-"+i,f="\n\t\t\t".concat(p," .woocommerce-shipping-fields > h3,").concat(p," .woocommerce-shipping-fields .woolentor-field-heading *{\n\t\t\t\t").concat(Mo(t.headingColor,"color"),"\n\t\t\t\t").concat(Mo(t.headingSize,"font-size"),"\n\t\t\t}\n ").concat(p," .woocommerce-shipping-fields .woolentor-field-heading, ").concat(p," .woocommerce-shipping-fields > h3{\n ").concat(Mo(t.headingColor,"border-color"),"\n ").concat(Mo(t.headingAlignment,"text-align"),"\n ").concat(Io(t.headingMargin,"margin"),"\n }\n\t\t")+"\n ".concat(p," :is(.woocommerce-shipping-fields) .form-row label{\n ").concat(Mo(t.labelColor,"color"),"\n ").concat(Mo(t.labelSize,"font-size"),"\n ").concat(Mo(t.labelAlignment,"text-align"),"\n ").concat(Io(t.labelMargin,"margin"),"\n }\n ").concat(p," :is(.woocommerce-shipping-fields) .form-row label abbr{\n ").concat(Mo(t.labelRequiredColor,"color"),"\n }\n ")+"\n .woocommerce ".concat(p," :is(.woocommerce-shipping-fields) input.input-text,.woocommerce ").concat(p," :is(.woocommerce-shipping-fields) .input-text,.woocommerce ").concat(p," :is(.woocommerce-shipping-fields) textarea,.woocommerce ").concat(p," :is(.woocommerce-shipping-fields) select,.woocommerce ").concat(p," :is(.woocommerce-shipping-fields) .woocommerce-input-wrapper strong{\n ").concat(Mo(t.inputBoxBGColor,"background-color"),"\n ").concat(Mo(t.inputBoxColor,"color"),"\n }\n ").concat(p," :is(.woocommerce-shipping-fields) input.input-text, ").concat(p," :is(.woocommerce-shipping-fields) select,").concat(p," :is(.woocommerce-shipping-fields) .input-text{\n ").concat(Mo(t.inputBoxSize,"font-size"),"\n ").concat(""!=t.inputBoxHeight?Mo(t.inputBoxHeight,"height","px"):"","\n ").concat(""!=t.inputBoxBorderType?Mo(t.inputBoxBorderType,"border-style","!important"):"","\n ").concat(""!=t.inputBoxBorderType?Io(t.inputBoxBorderWidth,"border-width","!important"):"","\n ").concat(""!=t.inputBoxBorderType?Mo(t.inputBoxBorderColor,"border-color","!important"):"","\n ").concat(Io(t.inputBoxBorderRadius,"border-radius","!important"),"\n ").concat(Io(t.inputBoxPadding,"padding","!important"),"\n }\n ").concat(p," :is(.woocommerce-shipping-fields) .form-row{\n ").concat(Io(t.inputBoxMargin,"margin"),"\n }\n ").concat(p," :is(.woocommerce-shipping-fields) input.input-text:focus, ").concat(p," :is(.woocommerce-shipping-fields) select:focus,").concat(p," :is(.woocommerce-shipping-fields) .input-text:focus{\n ").concat(Mo(t.inputBoxFocusBorderColor,"border-color"),"\n ").concat(Mo(t.inputBoxFocusColor,"color"),"\n }\n ");return React.createElement(we.Fragment,null,n&&React.createElement(Dg,this.props),React.createElement("div",{className:m},React.createElement(Pm(),{block:o,attributes:{formTitle:t.formTitle},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n ".concat(p,"{\n ").concat(Io(t.areaPadding.desktop,"padding"),"\n ").concat(Ho(c),"\n }\n ").concat(f,"\n ")))}}],o&&Ug(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const Jg=Zg,Xg=JSON.parse('{"name":"woolentor/checkout-shipping-form","category":"woolentor-checkout","title":"Checkout Shipping Form","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"formTitle":{"type":"string","default":"Ship to a different address?"},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields .woolentor-field-heading * { color: {{headingColor}}; } {{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields .woolentor-field-heading{ border-color:{{headingColor}} }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields .woolentor-field-heading * { font-size: {{headingSize}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields .woolentor-field-heading { text-align: {{headingAlignment}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields .woolentor-field-heading { margin: {{headingMargin}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row label abbr { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .woocommerce-input-wrapper strong { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .woocommerce-input-wrapper strong { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__rendered,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) select { height: {{inputBoxHeight}}px; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single,{{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single .select2-selection__arrow { height: {{inputBoxHeight}}px;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single[aria-expanded=\'true\']{outline: 1px solid #005fcc; border: 1px solid transparent;}"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__arrow,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row { margin: {{inputBoxMargin}}!important; }"}},"inputBoxFocusColor":{"type":"string","default":"","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) textarea:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) select:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container .select2-selection:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container--default .select2-selection--single .select2-selection__rendered:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .woocommerce-input-wrapper strong:focus { color: {{inputBoxFocusColor}}; }"}},"inputBoxFocusBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text:focus, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection:focus, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text:focus { border-color: {{inputBoxFocusBorderColor}}; }"}}}}'),$g=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M6 10.75a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0ZM8.25 10a.75.75 0 1 0 0 1.5a.75.75 0 0 0 0-1.5Zm0 4a2.25 2.25 0 1 0 0 4.5a2.25 2.25 0 0 0 0-4.5Zm-.75 2.25a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0Zm4.5-5.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm.75 4.75a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5h-4.5ZM6 6.75A.75.75 0 0 1 6.75 6h10.5a.75.75 0 0 1 0 1.5H6.75A.75.75 0 0 1 6 6.75ZM6.25 3A3.25 3.25 0 0 0 3 6.25v11.5A3.25 3.25 0 0 0 6.25 21h11.5A3.25 3.25 0 0 0 21 17.75V6.25A3.25 3.25 0 0 0 17.75 3H6.25ZM4.5 6.25c0-.966.784-1.75 1.75-1.75h11.5c.966 0 1.75.784 1.75 1.75v11.5a1.75 1.75 0 0 1-1.75 1.75H6.25a1.75 1.75 0 0 1-1.75-1.75V6.25Z"}));var eb=Xg.name,tb=Xg.category,ob=Xg.attributes,rb={title:(0,te.__)("WL : Checkout Shipping Form","woolentor"),description:(0,te.__)("Display Checkout Shipping Form.","woolentor"),icon:React.createElement(oe.Icon,{icon:$g}),keywords:["woolentor",(0,te.__)("checkout form"),(0,te.__)("Shipping form"),(0,te.__)("Shipping field"),(0,te.__)("checkout")],supports:{align:["wide","full"]},attributes:ob,edit:Jg,save:function(){return null}};const nb=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t),React.createElement(we.Fragment,null,React.createElement(tt,null),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Additional Form","woolentor"),initialOpen:!0},React.createElement(oe.TextControl,{label:(0,te.__)("Title","woolentor"),placeholder:(0,te.__)("Form Title","woolentor"),value:t.formTitle,onChange:function(e){return o({formTitle:e})}}))),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Heading","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Label","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Required Start Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Input Box","woolentor")},React.createElement(ct,{name:"inputbox",tabs:["normal","focus"]},React.createElement(mt,{name:"normal"},React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(oe.RangeControl,{label:(0,te.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:Ll,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(mt,{name:"focus"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}})))))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function ab(e){return ab="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ab(e)}function lb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ib(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cb(e,t){return cb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},cb(e,t)}function ub(e,t){if(t&&("object"===ab(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function sb(e){return sb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},sb(e)}var db=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&cb(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=sb(r);if(n){var o=sb(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return ub(this,e)});function l(){return lb(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId,c=t.areaBGProperty;""==i&&a({blockUniqId:l});var u,s,d,m=st()((d=r,(s=r)in(u={})?Object.defineProperty(u,s,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[s]=d,u),"woolentorblock-checkout-additional-form","woolentorblock-checkout-additional-form-"+i),p=".woolentorblock-checkout-additional-form-"+i,f="\n\t\t\t".concat(p," .woocommerce-additional-fields > h3,").concat(p," .woocommerce-additional-fields .woolentor-field-heading *{\n\t\t\t\t").concat(Mo(t.headingColor,"color"),"\n\t\t\t\t").concat(Mo(t.headingSize,"font-size"),"\n\t\t\t}\n ").concat(p," .woocommerce-additional-fields .woolentor-field-heading, ").concat(p," .woocommerce-additional-fields > h3{\n ").concat(Mo(t.headingColor,"border-color"),"\n ").concat(Mo(t.headingAlignment,"text-align"),"\n ").concat(Io(t.headingMargin,"margin"),"\n }\n\t\t")+"\n ".concat(p," :is(.woocommerce-additional-fields) .form-row label{\n ").concat(Mo(t.labelColor,"color"),"\n ").concat(Mo(t.labelSize,"font-size"),"\n ").concat(Mo(t.labelAlignment,"text-align"),"\n ").concat(Io(t.labelMargin,"margin"),"\n }\n ").concat(p," :is(.woocommerce-additional-fields) .form-row label abbr{\n ").concat(Mo(t.labelRequiredColor,"color"),"\n }\n ")+"\n .woocommerce ".concat(p," :is(.woocommerce-additional-fields) input.input-text,.woocommerce ").concat(p," :is(.woocommerce-additional-fields) .input-text,.woocommerce ").concat(p," :is(.woocommerce-additional-fields) textarea,.woocommerce ").concat(p," :is(.woocommerce-additional-fields) select,.woocommerce ").concat(p," :is(.woocommerce-additional-fields) .woocommerce-input-wrapper strong{\n ").concat(Mo(t.inputBoxBGColor,"background-color"),"\n ").concat(Mo(t.inputBoxColor,"color"),"\n }\n ").concat(p," :is(.woocommerce-additional-fields) input.input-text, ").concat(p," :is(.woocommerce-additional-fields) select,").concat(p," :is(.woocommerce-additional-fields) .input-text{\n ").concat(Mo(t.inputBoxSize,"font-size"),"\n ").concat(""!=t.inputBoxHeight?Mo(t.inputBoxHeight,"height","px"):"","\n ").concat(""!=t.inputBoxBorderType?Mo(t.inputBoxBorderType,"border-style","!important"):"","\n ").concat(""!=t.inputBoxBorderType?Io(t.inputBoxBorderWidth,"border-width","!important"):"","\n ").concat(""!=t.inputBoxBorderType?Mo(t.inputBoxBorderColor,"border-color","!important"):"","\n ").concat(Io(t.inputBoxBorderRadius,"border-radius","!important"),"\n ").concat(Io(t.inputBoxPadding,"padding","!important"),"\n }\n ").concat(p," :is(.woocommerce-additional-fields) .form-row{\n ").concat(Io(t.inputBoxMargin,"margin"),"\n }\n ").concat(p," :is(.woocommerce-additional-fields) input.input-text:focus, ").concat(p," :is(.woocommerce-additional-fields) select:focus,").concat(p," :is(.woocommerce-additional-fields) .input-text:focus{\n ").concat(Mo(t.inputBoxFocusBorderColor,"border-color"),"\n ").concat(Mo(t.inputBoxFocusColor,"color"),"\n }\n ");return React.createElement(we.Fragment,null,n&&React.createElement(nb,this.props),React.createElement("div",{className:m},React.createElement(Pm(),{block:o,attributes:{formTitle:t.formTitle},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n ".concat(p,"{\n ").concat(Io(t.areaPadding.desktop,"padding"),"\n ").concat(Ho(c),"\n }\n ").concat(f,"\n ")))}}],o&&ib(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const mb=db,pb=JSON.parse('{"name":"woolentor/checkout-additional-form","category":"woolentor-checkout","title":"Checkout Additional Form","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"formTitle":{"type":"string","default":"Additional information"},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields .woolentor-field-heading * { color: {{headingColor}}; } {{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields .woolentor-field-heading{ border-color:{{headingColor}} }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields .woolentor-field-heading * { font-size: {{headingSize}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields .woolentor-field-heading { text-align: {{headingAlignment}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields .woolentor-field-heading { margin: {{headingMargin}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row label abbr { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .woocommerce-input-wrapper strong { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .woocommerce-input-wrapper strong { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__rendered,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) select { height: {{inputBoxHeight}}px; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single,{{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single .select2-selection__arrow { height: {{inputBoxHeight}}px;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single[aria-expanded=\'true\']{outline: 1px solid #005fcc; border: 1px solid transparent;}"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__arrow,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row { margin: {{inputBoxMargin}}!important; }"}},"inputBoxFocusColor":{"type":"string","default":"","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) textarea:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) select:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container .select2-selection:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container--default .select2-selection--single .select2-selection__rendered:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .woocommerce-input-wrapper strong:focus { color: {{inputBoxFocusColor}}; }"}},"inputBoxFocusBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text:focus, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection:focus, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text:focus { border-color: {{inputBoxFocusBorderColor}}; }"}}}}'),fb=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M6 10.75a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0ZM8.25 10a.75.75 0 1 0 0 1.5a.75.75 0 0 0 0-1.5Zm0 4a2.25 2.25 0 1 0 0 4.5a2.25 2.25 0 0 0 0-4.5Zm-.75 2.25a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0Zm4.5-5.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm.75 4.75a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5h-4.5ZM6 6.75A.75.75 0 0 1 6.75 6h10.5a.75.75 0 0 1 0 1.5H6.75A.75.75 0 0 1 6 6.75ZM6.25 3A3.25 3.25 0 0 0 3 6.25v11.5A3.25 3.25 0 0 0 6.25 21h11.5A3.25 3.25 0 0 0 21 17.75V6.25A3.25 3.25 0 0 0 17.75 3H6.25ZM4.5 6.25c0-.966.784-1.75 1.75-1.75h11.5c.966 0 1.75.784 1.75 1.75v11.5a1.75 1.75 0 0 1-1.75 1.75H6.25a1.75 1.75 0 0 1-1.75-1.75V6.25Z"}));var gb=pb.name,bb=pb.category,yb=pb.attributes,_b={title:(0,te.__)("WL : Checkout Additional Form","woolentor"),description:(0,te.__)("Display Checkout Additional Form.","woolentor"),icon:React.createElement(oe.Icon,{icon:fb}),keywords:["woolentor",(0,te.__)("checkout form"),(0,te.__)("Additional form"),(0,te.__)("Additional field"),(0,te.__)("checkout")],supports:{align:["wide","full"]},attributes:yb,edit:mb,save:function(){return null}};const Rb=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t),React.createElement(we.Fragment,null,React.createElement(tt,null),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Coupon Form","woolentor"),initialOpen:!0},React.createElement(oe.TextControl,{label:(0,te.__)("Apply Button Text","woolentor"),placeholder:(0,te.__)("Apply coupon","woolentor"),value:t.formApplyButton,onChange:function(e){return o({formApplyButton:e})}}),React.createElement(oe.TextareaControl,{label:(0,te.__)("Description","woolentor"),placeholder:(0,te.__)("If you have a coupon code, please apply it below.","woolentor"),value:t.formDescription,onChange:function(e){return o({formDescription:e})}}))),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Form Toggler","woolentor")},React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.togglerSize,fallbackFontSize:t.togglerSize,onChange:function(e){return o({togglerSize:e})}}),React.createElement(Ot,{label:(0,te.__)("Text Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.togglerTextColor,onChange:function(e){return o({togglerTextColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Link Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.togglerLinkColor,onChange:function(e){return o({togglerLinkColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Link Hover Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.togglerLinkHoverColor,onChange:function(e){return o({togglerLinkHoverColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Left Icon Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.togglerLeftIconColor,onChange:function(e){return o({togglerLeftIconColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Top Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.togglerTopBorderColor,onChange:function(e){return o({togglerTopBorderColor:e})}})),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.togglerBorderType,options:Ll,onChange:function(e){return o({togglerBorderType:e})}}),t.togglerBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.togglerBorderWidth,attributesKey:"togglerBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.togglerBorderColor,onChange:function(e){return o({togglerBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.togglerBorderRadius,attributesKey:"togglerBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.togglerPadding,attributesKey:"togglerPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.togglerMargin,attributesKey:"togglerMargin",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"togglerAlignment",justified:!0}),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.togglerBackgroundColor,onChange:function(e){return o({togglerBackgroundColor:e})}}))),React.createElement(ft,{title:(0,te.__)("Description","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.descriptionColor,onChange:function(e){return o({descriptionColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.descriptionSize,fallbackFontSize:t.descriptionSize,onChange:function(e){return o({descriptionSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.descriptionMargin,attributesKey:"descriptionMargin",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"descriptionAlignment",justified:!0})),React.createElement(ft,{title:(0,te.__)("Form Area","woolentor")},React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.formBorderType,options:Ll,onChange:function(e){return o({formBorderType:e})}}),t.formBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.formBorderWidth,attributesKey:"formBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.formBorderColor,onChange:function(e){return o({formBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.formBorderRadius,attributesKey:"formBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.formPadding,attributesKey:"formPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.formMargin,attributesKey:"formMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Input Box","woolentor")},React.createElement(ct,{name:"inputbox",tabs:["normal","focus"]},React.createElement(mt,{name:"normal"},React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(oe.RangeControl,{label:(0,te.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(oe.RangeControl,{label:(0,te.__)("Field Width (PX)","woolentor"),value:t.inputBoxWidth,allowReset:!0,onChange:function(e){return o({inputBoxWidth:e})},min:0,step:1,max:1e3}),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:Ll,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(mt,{name:"focus"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}}))))),React.createElement(ft,{title:(0,te.__)("Submit Button","woolentor")},React.createElement(ct,{name:"button"},React.createElement(mt,{name:"normal"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:Ll,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o})),React.createElement(mt,{name:"hover"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function hb(e){return hb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hb(e)}function wb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eb(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vb(e,t){return vb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},vb(e,t)}function Ob(e,t){if(t&&("object"===hb(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Pb(e){return Pb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Pb(e)}var Cb=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&vb(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Pb(r);if(n){var o=Pb(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Ob(this,e)});function l(){return wb(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId,c=t.areaBGProperty;""==i&&a({blockUniqId:l});var u,s,d,m=st()((d=r,(s=r)in(u={})?Object.defineProperty(u,s,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[s]=d,u),"woolentorblock-checkout-coupon-form","woolentorblock-checkout-coupon-form-"+i),p=".woolentorblock-checkout-coupon-form-"+i,f="\n ".concat(p," .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info{\n ").concat(Mo(t.togglerSize,"font-size"),"\n ").concat(Mo(t.togglerTextColor,"color"),"\n }\n ").concat(p," .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info a{\n ").concat(Mo(t.togglerLinkColor,"color"),"\n }\n ").concat(p," .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info a:hover{\n ").concat(Mo(t.togglerLinkHoverColor,"color"),"\n }\n ").concat(p," .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info::before{\n ").concat(Mo(t.togglerLeftIconColor,"color"),"\n }\n ").concat(p," .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info{\n ").concat(Mo(t.togglerTopBorderColor,"border-top-color"),"\n ").concat(""!=t.togglerBorderType?Mo(t.togglerBorderType,"border-style"):"","\n ").concat(""!=t.togglerBorderType?Io(t.togglerBorderWidth,"border-width"):"","\n ").concat(""!=t.togglerBorderType?Mo(t.togglerBorderColor,"border-color"):"","\n ").concat(Io(t.togglerBorderRadius,"border-radius"),"\n ").concat(Io(t.togglerPadding,"padding"),"\n ").concat(Io(t.togglerMargin,"margin"),"\n ").concat(Mo(t.togglerAlignment,"text-align"),"\n ").concat(Mo(t.togglerBackgroundColor,"background-color"),"\n }\n ").concat(""!=t.togglerAlignment?p+" .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info::before{position: static;margin-right:10px;}":"","\n ");return React.createElement(we.Fragment,null,n&&React.createElement(Rb,this.props),React.createElement("div",{className:m},React.createElement(Pm(),{block:o,attributes:{formDescription:t.formDescription},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n ".concat(p,"{\n ").concat(Io(t.areaPadding.desktop,"padding"),"\n ").concat(Ho(c),"\n }\n ").concat(f,"\n ")))}}],o&&Eb(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const Bb=Cb,kb=JSON.parse('{"name":"woolentor/checkout-coupon-form","category":"woolentor-checkout","title":"WL : Checkout Coupon Form","description":"Display Checkout Coupon Form.","keywords":["woolentor","checkout form","Coupon form","Coupon field","checkout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"formApplyButton":{"type":"string","default":"Apply coupon"},"formDescription":{"type":"string","default":"If you have a coupon code, please apply it below."},"togglerSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { font-size: {{togglerSize}}; }"}},"togglerTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { color: {{togglerTextColor}}; }"}},"togglerLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info a { color: {{togglerLinkColor}}; }"}},"togglerLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info a:hover { color: {{togglerLinkHoverColor}}; }"}},"togglerLeftIconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info::before { color: {{togglerLeftIconColor}}; }"}},"togglerTopBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { border-top-color: {{togglerTopBorderColor}}; }"}},"togglerBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { border-style: {{togglerBorderType}}; }"}},"togglerBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"togglerBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { border-width: {{togglerBorderWidth}}; }"}},"togglerBorderColor":{"type":"string","style":{"dependency":[[{"key":"togglerBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { border-color: {{togglerBorderColor}}; }"}},"togglerBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { border-radius: {{togglerBorderRadius}}; }"}},"togglerPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { padding: {{togglerPadding}}; }"}},"togglerMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { margin: {{togglerMargin}}; }"}},"togglerAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { text-align: {{togglerAlignment}}; }{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info::before{ position: static;margin-right:10px; }"}},"togglerBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { background-color: {{togglerBackgroundColor}}; }"}},"descriptionColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .woolentor-info { color: {{descriptionColor}}; }"}},"descriptionSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .woolentor-info { font-size: {{descriptionSize}}; }"}},"descriptionAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .woolentor-info { text-align: {{descriptionAlignment}}; }"}},"descriptionMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .woolentor-info { margin: {{descriptionMargin}}; }"}},"formBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { border-style: {{formBorderType}}; }"}},"formBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { border-width: {{formBorderWidth}}; }"}},"formBorderColor":{"type":"string","style":{"dependency":[[{"key":"formBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { border-color: {{formBorderColor}}; }"}},"formBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { border-radius: {{formBorderRadius}}; }"}},"formPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { padding: {{formPadding}}; }"}},"formMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { margin: {{formMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text,{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text::-webkit-input-placeholder { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxWidth":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { width: {{inputBoxWidth}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { border-style: {{inputBoxBorderType}}!important; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { border-width: {{inputBoxBorderWidth}}!important; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { border-color: {{inputBoxBorderColor}}!important; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { margin: {{inputBoxMargin}}!important; }"}},"inputBoxFocusColor":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text:focus { color: {{inputBoxFocusColor}}; }"}},"inputBoxFocusBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text:focus { border-color: {{inputBoxFocusBorderColor}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { padding: {{submitBtnPadding}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),Ab=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M6 10.75a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0ZM8.25 10a.75.75 0 1 0 0 1.5a.75.75 0 0 0 0-1.5Zm0 4a2.25 2.25 0 1 0 0 4.5a2.25 2.25 0 0 0 0-4.5Zm-.75 2.25a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0Zm4.5-5.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm.75 4.75a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5h-4.5ZM6 6.75A.75.75 0 0 1 6.75 6h10.5a.75.75 0 0 1 0 1.5H6.75A.75.75 0 0 1 6 6.75ZM6.25 3A3.25 3.25 0 0 0 3 6.25v11.5A3.25 3.25 0 0 0 6.25 21h11.5A3.25 3.25 0 0 0 21 17.75V6.25A3.25 3.25 0 0 0 17.75 3H6.25ZM4.5 6.25c0-.966.784-1.75 1.75-1.75h11.5c.966 0 1.75.784 1.75 1.75v11.5a1.75 1.75 0 0 1-1.75 1.75H6.25a1.75 1.75 0 0 1-1.75-1.75V6.25Z"}));var Tb=kb.name,Wb=kb.title,Sb=kb.description,xb=kb.category,zb=kb.attributes,Lb=kb.keywords,Nb=kb.supports,jb={title:(0,te.__)(Wb,"woolentor"),description:(0,te.__)(Sb,"woolentor"),icon:React.createElement(oe.Icon,{icon:Ab}),keywords:Lb,supports:Nb,attributes:zb,edit:Bb,save:function(){return null}};const Mb=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t),React.createElement(we.Fragment,null,React.createElement(tt,{tabs:["styles","advanced"]}),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Area","woolentor")},React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.areaContentSize,fallbackFontSize:t.areaContentSize,onChange:function(e){return o({areaContentSize:e})}}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.areaContentColor,onChange:function(e){return o({areaContentColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Link Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.areaContentLinkColor,onChange:function(e){return o({areaContentLinkColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.areaContentBGColor,onChange:function(e){return o({areaContentBGColor:e})}})),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"areaContentAlignment",justified:!0}),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.areaContentBorderType,options:Ll,onChange:function(e){return o({areaContentBorderType:e})}}),t.areaContentBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.areaContentBorderWidth,attributesKey:"areaContentBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.areaContentBorderColor,onChange:function(e){return o({areaContentBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.areaContentBorderRadius,attributesKey:"areaContentBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaContentPadding,attributesKey:"areaContentPadding",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Heading","woolentor")},React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.headingBorderType,options:Ll,onChange:function(e){return o({headingBorderType:e})}}),t.headingBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.headingBorderWidth,attributesKey:"headingBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.headingBorderColor,onChange:function(e){return o({headingBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.headingBorderRadius,attributesKey:"headingBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.headingBackgroundColor,onChange:function(e){return o({headingBackgroundColor:e})}}))),React.createElement(ft,{title:(0,te.__)("Content","woolentor")},React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.contentSize,fallbackFontSize:t.contentSize,onChange:function(e){return o({contentSize:e})}}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.contentColor,onChange:function(e){return o({contentColor:e})}})),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.contentMargin,attributesKey:"contentMargin",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.contentBGColor,onChange:function(e){return o({contentBGColor:e})}})),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.contentBorderType,options:Ll,onChange:function(e){return o({contentBorderType:e})}}),t.contentBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.contentBorderWidth,attributesKey:"contentBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.contentBorderColor,onChange:function(e){return o({contentBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.contentBorderRadius,attributesKey:"contentBorderRadius",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Place Order Button","woolentor")},React.createElement(ct,{name:"button"},React.createElement(mt,{name:"normal"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.placeOrderBtnColor,onChange:function(e){return o({placeOrderBtnColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.placeOrderBtnBGColor,onChange:function(e){return o({placeOrderBtnBGColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.placeOrderBtnSize,fallbackFontSize:t.placeOrderBtnSize,onChange:function(e){return o({placeOrderBtnSize:e})}}),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.placeOrderBtnBorderType,options:Ll,onChange:function(e){return o({placeOrderBtnBorderType:e})}}),t.placeOrderBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.placeOrderBtnBorderWidth,attributesKey:"placeOrderBtnBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.placeOrderBtnBorderColor,onChange:function(e){return o({placeOrderBtnBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.placeOrderBtnBorderRadius,attributesKey:"placeOrderBtnBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.placeOrderBtnPadding,attributesKey:"placeOrderBtnPadding",setAttributes:o})),React.createElement(mt,{name:"hover"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.placeOrderBtnHoverColor,onChange:function(e){return o({placeOrderBtnHoverColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.placeOrderBtnHoverBGColor,onChange:function(e){return o({placeOrderBtnHoverBGColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.placeOrderBtnHoverBorderColor,onChange:function(e){return o({placeOrderBtnHoverBorderColor:e})}})))))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Ib(e){return Ib="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ib(e)}function Hb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fb(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Gb(e,t){return Gb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Gb(e,t)}function Db(e,t){if(t&&("object"===Ib(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function qb(e){return qb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qb(e)}var Kb=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Gb(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=qb(r);if(n){var o=qb(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Db(this,e)});function l(){return Hb(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId,c=t.areaBGProperty;""==i&&a({blockUniqId:l});var u,s,d,m=st()((d=r,(s=r)in(u={})?Object.defineProperty(u,s,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[s]=d,u),"woolentorblock-checkout-payment","woolentorblock-checkout-payment-"+i),p=".woolentorblock-checkout-payment-"+i,f="\n ".concat(p," .woolentor_block_checkout_payment #payment p{\n ").concat(Mo(t.areaContentSize,"font-size"),"\n ").concat(Mo(t.areaContentColor,"color"),"\n ").concat(Mo(t.areaContentAlignment,"text-align"),"\n }\n ").concat(p," .woolentor_block_checkout_payment #payment{\n ").concat(Mo(t.areaContentBGColor,"background-color"),"\n ").concat(""!=t.areaContentBorderType?Mo(t.areaContentBorderType,"border-style"):"","\n ").concat(""!=t.areaContentBorderType?Io(t.areaContentBorderWidth,"border-width"):"","\n ").concat(""!=t.areaContentBorderType?Mo(t.areaContentBorderColor,"border-color"):"","\n ").concat(Io(t.areaContentBorderRadius,"border-radius"),"\n ").concat(Io(t.areaContentPadding,"padding"),"\n }\n ").concat(p," .woolentor_block_checkout_payment #payment a{\n ").concat(Mo(t.areaContentLinkColor,"color"),"\n }\n ")+"\n ".concat(p," .woolentor_block_checkout_payment #payment .wc_payment_method label{\n ").concat(Mo(t.headingSize,"font-size"),"\n ").concat(Mo(t.headingTextColor,"color"),"\n }\n ").concat(p," .woolentor_block_checkout_payment #payment ul.payment_methods.methods li{\n ").concat(""!=t.headingBorderType?Mo(t.headingBorderType,"border-style"):"","\n ").concat(""!=t.headingBorderType?Io(t.headingBorderWidth,"border-width"):"","\n ").concat(""!=t.headingBorderType?Mo(t.headingBorderColor,"border-color"):"","\n ").concat(Io(t.headingBorderRadius,"border-radius"),"\n ").concat(Io(t.headingPadding,"padding"),"\n ").concat(Io(t.headingMargin,"margin"),"\n ").concat(Mo(t.headingAlignment,"text-align"),"\n ").concat(Mo(t.headingBackgroundColor,"background-color"),"\n }\n\n ").concat(p," .woolentor_block_checkout_payment #payment .payment_box{\n ").concat(Mo(t.contentSize,"font-size"),"\n ").concat(Mo(t.contentColor,"color"),"\n ").concat(Mo(t.contentAlignment,"text-align"),"\n ").concat(Io(t.contentMargin,"margin"),"\n ").concat(Mo(t.contentBGColor,"background-color"),"\n ").concat(""!=t.contentBorderType?Mo(t.contentBorderType,"border-style"):"","\n ").concat(""!=t.contentBorderType?Io(t.contentBorderWidth,"border-width"):"","\n ").concat(""!=t.contentBorderType?Mo(t.contentBorderColor,"border-color"):"","\n ").concat(Io(t.contentBorderRadius,"border-radius"),"\n }\n ")+"\n ".concat(p," .woolentor_block_checkout_payment #payment #place_order{\n ").concat(Mo(t.placeOrderBtnColor,"color"),"\n ").concat(Mo(t.placeOrderBtnBGColor,"background-color"),"\n ").concat(Mo(t.placeOrderBtnSize,"font-size"),"\n ").concat(""!=t.placeOrderBtnBorderType?Mo(t.placeOrderBtnBorderType,"border-style"):"","\n ").concat(""!=t.placeOrderBtnBorderType?Io(t.placeOrderBtnBorderWidth,"border-width"):"","\n ").concat(""!=t.placeOrderBtnBorderType?Mo(t.placeOrderBtnBorderColor,"border-color"):"","\n ").concat(Io(t.placeOrderBtnBorderRadius,"border-radius"),"\n ").concat(Io(t.placeOrderBtnPadding,"padding"),"\n }\n ").concat(p," .woolentor_block_checkout_payment #payment #place_order:hover{\n ").concat(Mo(t.placeOrderBtnHoverColor,"color"),"\n ").concat(Mo(t.placeOrderBtnHoverBGColor,"background-color"),"\n ").concat(Mo(t.placeOrderBtnHoverBorderColor,"border-color"),"\n }\n ");return React.createElement(we.Fragment,null,n&&React.createElement(Mb,this.props),React.createElement("div",{className:m},React.createElement(Pm(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n ".concat(p,"{\n ").concat(Io(t.areaPadding.desktop,"padding"),"\n ").concat(Ho(c),"\n }\n ").concat(f,"\n ")))}}],o&&Fb(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const Ub=Kb,Qb=JSON.parse('{"name":"woolentor/checkout-payment","category":"woolentor-checkout","title":"WL : Checkout Payment Method","description":"Display checkout payment method.","keywords":["woolentor","checkout","checkout payment","payment"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"areaContentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment p { font-size: {{areaContentSize}}; }"}},"areaContentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment p { color: {{areaContentColor}}; }"}},"areaContentLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment a{ color: {{areaContentLinkColor}}; }"}},"areaContentBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment { background-color: {{areaContentBGColor}}; }"}},"areaContentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment p { text-align: {{areaContentAlignment}}; }"}},"areaContentBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment { border-style: {{areaContentBorderType}}; }"}},"areaContentBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"areaContentBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment{ border-width: {{areaContentBorderWidth}}; }"}},"areaContentBorderColor":{"type":"string","style":{"dependency":[[{"key":"areaContentBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment { border-color: {{areaContentBorderColor}}; }"}},"areaContentBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment { border-radius: {{areaContentBorderRadius}}; }"}},"areaContentPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment { padding: {{areaContentPadding}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .wc_payment_method label { font-size: {{headingSize}}; }"}},"headingTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .wc_payment_method label { color: {{headingTextColor}}; }"}},"headingBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { border-style: {{headingBorderType}}; }"}},"headingBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { border-width: {{headingBorderWidth}}; }"}},"headingBorderColor":{"type":"string","style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { border-color: {{headingBorderColor}}; }"}},"headingBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { border-radius: {{headingBorderRadius}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { padding: {{headingPadding}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { margin: {{headingMargin}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { text-align: {{headingAlignment}}; }"}},"headingBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { background-color: {{headingBackgroundColor}}; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { font-size: {{contentSize}}; }"}},"contentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { color: {{contentColor}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { text-align: {{contentAlignment}}; }"}},"contentMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { margin: {{contentMargin}}; }"}},"contentBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { background-color: {{contentBGColor}}; } {{WOOLENTOR_WRAPPER}} #payment div.payment_box::before, {{WOOLENTOR_WRAPPER}} #payment div.payment_box::before{ border-color:transparent transparent {{contentBGColor}} }"}},"contentBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { border-style: {{contentBorderType}}; }"}},"contentBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"contentBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { border-width: {{contentBorderWidth}}; }"}},"contentBorderColor":{"type":"string","style":{"dependency":[[{"key":"contentBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { border-color: {{contentBorderColor}}; }"}},"contentBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { border-radius: {{contentBorderRadius}}; }"}},"placeOrderBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { color: {{placeOrderBtnColor}}; }"}},"placeOrderBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { background-color: {{placeOrderBtnBGColor}}; }"}},"placeOrderBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { font-size: {{placeOrderBtnSize}}; }"}},"placeOrderBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { border-style: {{placeOrderBtnBorderType}} !important; }"}},"placeOrderBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"placeOrderBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { border-width: {{placeOrderBtnBorderWidth}} !important; }"}},"placeOrderBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"placeOrderBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { border-color: {{placeOrderBtnBorderColor}} !important; }"}},"placeOrderBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { border-radius: {{placeOrderBtnBorderRadius}} !important; }"}},"placeOrderBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { padding: {{placeOrderBtnPadding}}; }"}},"placeOrderBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order:hover { color: {{placeOrderBtnHoverColor}}; }"}},"placeOrderBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order:hover { background-color: {{placeOrderBtnHoverBGColor}}; }"}},"placeOrderBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order:hover { border-color: {{placeOrderBtnHoverBorderColor}} !important; }"}}}}'),Vb=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1.25em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 640 512"},React.createElement("path",{fill:"currentColor",d:"M608 32H32C14.33 32 0 46.33 0 64v384c0 17.67 14.33 32 32 32h576c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32zM176 327.88V344c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8v-16.29c-11.29-.58-22.27-4.52-31.37-11.35c-3.9-2.93-4.1-8.77-.57-12.14l11.75-11.21c2.77-2.64 6.89-2.76 10.13-.73c3.87 2.42 8.26 3.72 12.82 3.72h28.11c6.5 0 11.8-5.92 11.8-13.19c0-5.95-3.61-11.19-8.77-12.73l-45-13.5c-18.59-5.58-31.58-23.42-31.58-43.39c0-24.52 19.05-44.44 42.67-45.07V152c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v16.29c11.29.58 22.27 4.51 31.37 11.35c3.9 2.93 4.1 8.77.57 12.14l-11.75 11.21c-2.77 2.64-6.89 2.76-10.13.73c-3.87-2.43-8.26-3.72-12.82-3.72h-28.11c-6.5 0-11.8 5.92-11.8 13.19c0 5.95 3.61 11.19 8.77 12.73l45 13.5c18.59 5.58 31.58 23.42 31.58 43.39c0 24.53-19.05 44.44-42.67 45.07zM416 312c0 4.42-3.58 8-8 8H296c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h112c4.42 0 8 3.58 8 8v16zm160 0c0 4.42-3.58 8-8 8h-80c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h80c4.42 0 8 3.58 8 8v16zm0-96c0 4.42-3.58 8-8 8H296c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h272c4.42 0 8 3.58 8 8v16z"}));var Yb=Qb.name,Zb=Qb.title,Jb=Qb.description,Xb=Qb.category,$b=Qb.attributes,ey=Qb.keywords,ty=Qb.supports,oy={title:(0,te.__)(Zb,"woolentor"),description:(0,te.__)(Jb,"woolentor"),icon:React.createElement(oe.Icon,{icon:Vb}),keywords:ey,supports:ty,attributes:$b,edit:Ub,save:function(){return null}};const ry=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t),React.createElement(we.Fragment,null,React.createElement(tt,null),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Order Review","woolentor"),initialOpen:!0},React.createElement(oe.TextControl,{label:(0,te.__)("Table Heading","woolentor"),placeholder:(0,te.__)("Your order","woolentor"),value:t.heading,onChange:function(e){return o({heading:e})}}))),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Heading","woolentor")},React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.headingBorderType,options:Ll,onChange:function(e){return o({headingBorderType:e})}}),t.headingBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.headingBorderWidth,attributesKey:"headingBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.headingBorderColor,onChange:function(e){return o({headingBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.headingBorderRadius,attributesKey:"headingBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.headingBackgroundColor,onChange:function(e){return o({headingBackgroundColor:e})}}))),React.createElement(ft,{title:(0,te.__)("Table Heading","woolentor")},React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableHeadingSize,fallbackFontSize:t.tableHeadingSize,onChange:function(e){return o({tableHeadingSize:e})}}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tableHeadingColor,onChange:function(e){return o({tableHeadingColor:e})}})),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.tableHeadingType,options:Ll,onChange:function(e){return o({tableHeadingType:e})}}),t.tableHeadingType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.tableHeadingBorderWidth,attributesKey:"tableHeadingBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tableHeadingBorderColor,onChange:function(e){return o({tableHeadingBorderColor:e})}})))),React.createElement(ft,{title:(0,te.__)("Table Content","woolentor")},React.createElement(oe.SelectControl,{label:(0,te.__)("Table Border Type","woolentor"),value:t.tableBorderType,options:Ll,onChange:function(e){return o({tableBorderType:e})}}),t.tableBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Table Border Width","woolentor"),dimensions:t.tableBorderWidth,attributesKey:"tableBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Table Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tableBorderColor,onChange:function(e){return o({tableBorderColor:e})}}))),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableContentSize,fallbackFontSize:t.tableContentSize,onChange:function(e){return o({tableContentSize:e})}}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tableContentColor,onChange:function(e){return o({tableContentColor:e})}})),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.tableCellBorderType,options:Ll,onChange:function(e){return o({tableCellBorderType:e})}}),t.tableCellBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.tableCellBorderWidth,attributesKey:"tableCellBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tableCellBorderColor,onChange:function(e){return o({tableCellBorderColor:e})}}))))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function ny(e){return ny="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ny(e)}function ay(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ly(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function iy(e,t){return iy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},iy(e,t)}function cy(e,t){if(t&&("object"===ny(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function uy(e){return uy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},uy(e)}var sy=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&iy(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=uy(r);if(n){var o=uy(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return cy(this,e)});function l(){return ay(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId,c=t.areaBGProperty;""==i&&a({blockUniqId:l});var u,s,d,m=st()((d=r,(s=r)in(u={})?Object.defineProperty(u,s,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[s]=d,u),"woolentorblock-checkout-order-review","woolentorblock-checkout-order-review-"+i),p=".woolentorblock-checkout-order-review-"+i,f="\n ".concat(p," .woolentor_block_checkout_order_review #order_review_heading{\n ").concat(Mo(t.headingSize,"font-size"),"\n ").concat(Mo(t.headingTextColor,"color"),"\n ").concat(""!=t.headingBorderType?Mo(t.headingBorderType,"border-style"):"","\n ").concat(""!=t.headingBorderType?Io(t.headingBorderWidth,"border-width"):"","\n ").concat(""!=t.headingBorderType?Mo(t.headingBorderColor,"border-color"):"","\n ").concat(Io(t.headingBorderRadius,"border-radius"),"\n ").concat(Io(t.headingPadding,"padding"),"\n ").concat(Io(t.headingMargin,"margin"),"\n ").concat(Mo(t.headingAlignment,"text-align"),"\n ").concat(Mo(t.headingBackgroundColor,"background-color"),"\n }\n\n ").concat(p," .woocommerce-checkout-review-order-table th{\n ").concat(Mo(t.tableHeadingSize,"font-size"),"\n ").concat(Mo(t.tableHeadingColor,"color"),"\n ").concat(""!=t.tableHeadingType?Mo(t.tableHeadingType,"border-style"):"","\n ").concat(""!=t.tableHeadingType?Io(t.tableHeadingBorderWidth,"border-width"):"","\n ").concat(""!=t.tableHeadingType?Mo(t.tableHeadingBorderColor,"border-color"):"","\n }\n\n ").concat(p," .woocommerce-checkout-review-order-table{\n ").concat(""!=t.tableBorderType?Mo(t.tableBorderType,"border-style","!important"):"","\n ").concat(""!=t.tableBorderType?Io(t.tableBorderWidth,"border-width","!important"):"","\n ").concat(""!=t.tableBorderType?Mo(t.tableBorderColor,"border-color","!important"):"","\n }\n\n ").concat(p," .woocommerce-checkout-review-order-table td,").concat(p," .woocommerce-checkout-review-order-table td strong{\n ").concat(Mo(t.tableContentSize,"font-size"),"\n ").concat(Mo(t.tableContentColor,"color"),"\n }\n\n ").concat(p," .woocommerce-checkout-review-order-table td{\n ").concat(""!=t.tableCellBorderType?Mo(t.tableCellBorderType,"border-style"):"","\n ").concat(""!=t.tableCellBorderType?Io(t.tableCellBorderWidth,"border-width"):"","\n ").concat(""!=t.tableCellBorderType?Mo(t.tableCellBorderColor,"border-color"):"","\n }\n ");return React.createElement(we.Fragment,null,n&&React.createElement(ry,this.props),React.createElement("div",{className:m},React.createElement(Pm(),{block:o,attributes:{heading:t.heading},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n ".concat(p,"{\n ").concat(Io(t.areaPadding.desktop,"padding"),"\n ").concat(Ho(c),"\n }\n ").concat(f,"\n ")))}}],o&&ly(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const dy=sy,my=JSON.parse('{"name":"woolentor/checkout-order-review","category":"woolentor-checkout","title":"WL : Checkout Order Review","description":"Display Checkout Order Review.","keywords":["woolentor","checkout","order review","checkout order review","order"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"heading":{"type":"string","default":"Your order"},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { font-size: {{headingSize}}; }"}},"headingTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { color: {{headingTextColor}}; }"}},"headingBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { border-style: {{headingBorderType}}; }"}},"headingBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { border-width: {{headingBorderWidth}}; }"}},"headingBorderColor":{"type":"string","style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { border-color: {{headingBorderColor}}; }"}},"headingBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { border-radius: {{headingBorderRadius}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { padding: {{headingPadding}}!important; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { margin: {{headingMargin}}!important; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { text-align: {{headingAlignment}}; }"}},"headingBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { background-color: {{headingBackgroundColor}}; }"}},"tableHeadingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table th { font-size: {{tableHeadingSize}}; }"}},"tableHeadingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table th { color: {{tableHeadingColor}}; }"}},"tableHeadingType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table th { border-style: {{tableHeadingType}}; }"}},"tableHeadingBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableHeadingType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table th { border-width: {{tableHeadingBorderWidth}}; }"}},"tableHeadingBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableHeadingType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table th { border-color: {{tableHeadingBorderColor}}; }"}},"tableBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table { border-style: {{tableBorderType}}!important; }"}},"tableBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table { border-width: {{tableBorderWidth}}!important; }"}},"tableBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table { border-color: {{tableBorderColor}}!important; }"}},"tableContentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table td, {{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table td strong { font-size: {{tableContentSize}}; }"}},"tableContentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table td, {{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table td strong { color: {{tableContentColor}}; }"}},"tableCellBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tr td { border-style: {{tableCellBorderType}}!important; }"}},"tableCellBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tr td { border-width: {{tableCellBorderWidth}}!important; }"}},"tableCellBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tr td { border-color: {{tableCellBorderColor}}!important; }"}}}}'),py=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},React.createElement("path",{fill:"currentColor",d:"M2 22h28v2H2zm0 4h28v2H2zm22-16a2 2 0 1 0 2 2a2 2 0 0 0-2-2zm-8 6a4 4 0 1 1 4-4a4.005 4.005 0 0 1-4 4zm0-6a2 2 0 1 0 2 2a2.002 2.002 0 0 0-2-2zm-8 0a2 2 0 1 0 2 2a2 2 0 0 0-2-2z"}),React.createElement("path",{fill:"currentColor",d:"M28 20H4a2.005 2.005 0 0 1-2-2V6a2.005 2.005 0 0 1 2-2h24a2.005 2.005 0 0 1 2 2v12a2.003 2.003 0 0 1-2 2Zm0-14H4v12h24Z"}));var fy=my.name,gy=my.title,by=my.description,yy=my.category,_y=my.attributes,Ry=my.keywords,hy=my.supports,wy={title:(0,te.__)(gy,"woolentor"),description:(0,te.__)(by,"woolentor"),icon:React.createElement(oe.Icon,{icon:py}),keywords:Ry,supports:hy,attributes:_y,edit:dy,save:function(){return null}};const Ey=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t),React.createElement(we.Fragment,null,React.createElement(tt,{tabs:["styles","advanced"]}),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Form Toggler","woolentor")},React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.togglerSize,fallbackFontSize:t.togglerSize,onChange:function(e){return o({togglerSize:e})}}),React.createElement(Ot,{label:(0,te.__)("Text Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.togglerTextColor,onChange:function(e){return o({togglerTextColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Link Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.togglerLinkColor,onChange:function(e){return o({togglerLinkColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Link Hover Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.togglerLinkHoverColor,onChange:function(e){return o({togglerLinkHoverColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Left Icon Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.togglerLeftIconColor,onChange:function(e){return o({togglerLeftIconColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Top Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.togglerTopBorderColor,onChange:function(e){return o({togglerTopBorderColor:e})}})),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.togglerBorderType,options:Ll,onChange:function(e){return o({togglerBorderType:e})}}),t.togglerBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.togglerBorderWidth,attributesKey:"togglerBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.togglerBorderColor,onChange:function(e){return o({togglerBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.togglerBorderRadius,attributesKey:"togglerBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.togglerPadding,attributesKey:"togglerPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.togglerMargin,attributesKey:"togglerMargin",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"togglerAlignment",justified:!0}),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.togglerBackgroundColor,onChange:function(e){return o({togglerBackgroundColor:e})}}))),React.createElement(ft,{title:(0,te.__)("Description","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.descriptionColor,onChange:function(e){return o({descriptionColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.descriptionSize,fallbackFontSize:t.descriptionSize,onChange:function(e){return o({descriptionSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.descriptionMargin,attributesKey:"descriptionMargin",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"descriptionAlignment",justified:!0})),React.createElement(ft,{title:(0,te.__)("Form Area","woolentor")},React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.formBorderType,options:Ll,onChange:function(e){return o({formBorderType:e})}}),t.formBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.formBorderWidth,attributesKey:"formBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.formBorderColor,onChange:function(e){return o({formBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.formBorderRadius,attributesKey:"formBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.formPadding,attributesKey:"formPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.formMargin,attributesKey:"formMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Label","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Required Start Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Input Box","woolentor")},React.createElement(ct,{name:"inputbox",tabs:["normal","focus"]},React.createElement(mt,{name:"normal"},React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(oe.RangeControl,{label:(0,te.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(oe.RangeControl,{label:(0,te.__)("Field Width (PX)","woolentor"),value:t.inputBoxWidth,allowReset:!0,onChange:function(e){return o({inputBoxWidth:e})},min:0,step:1,max:1e3}),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:Ll,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(mt,{name:"focus"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}}))))),React.createElement(ft,{title:(0,te.__)("Login Button","woolentor")},React.createElement(ct,{name:"button"},React.createElement(mt,{name:"normal"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.loginBtnColor,onChange:function(e){return o({loginBtnColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.loginBtnBGColor,onChange:function(e){return o({loginBtnBGColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.loginBtnSize,fallbackFontSize:t.loginBtnSize,onChange:function(e){return o({loginBtnSize:e})}}),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.loginBtnBorderType,options:Ll,onChange:function(e){return o({loginBtnBorderType:e})}}),t.loginBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.loginBtnBorderWidth,attributesKey:"loginBtnBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.loginBtnBorderColor,onChange:function(e){return o({loginBtnBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.loginBtnBorderRadius,attributesKey:"loginBtnBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.loginBtnPadding,attributesKey:"loginBtnPadding",setAttributes:o})),React.createElement(mt,{name:"hover"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.loginBtnHoverColor,onChange:function(e){return o({loginBtnHoverColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.loginBtnHoverBGColor,onChange:function(e){return o({loginBtnHoverBGColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.loginBtnHoverBorderColor,onChange:function(e){return o({loginBtnHoverBorderColor:e})}})))))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function vy(e){return vy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vy(e)}function Oy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Py(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Cy(e,t){return Cy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Cy(e,t)}function By(e,t){if(t&&("object"===vy(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ky(e){return ky=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ky(e)}var Ay=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Cy(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ky(r);if(n){var o=ky(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return By(this,e)});function l(){return Oy(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId,c=t.areaBGProperty;""==i&&a({blockUniqId:l});var u,s,d,m=st()((d=r,(s=r)in(u={})?Object.defineProperty(u,s,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[s]=d,u),"woolentorblock-checkout-login-form","woolentorblock-checkout-login-form-"+i),p=".woolentorblock-checkout-login-form-"+i,f="\n ".concat(p," .woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info{\n ").concat(Mo(t.togglerSize,"font-size"),"\n ").concat(Mo(t.togglerTextColor,"color"),"\n }\n ").concat(p," .woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info a{\n ").concat(Mo(t.togglerLinkColor,"color"),"\n }\n ").concat(p," .woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info a:hover{\n ").concat(Mo(t.togglerLinkHoverColor,"color"),"\n }\n ").concat(p," .woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info::before{\n ").concat(Mo(t.togglerLeftIconColor,"color"),"\n }\n ").concat(p," .woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info{\n ").concat(Mo(t.togglerTopBorderColor,"border-top-color"),"\n ").concat(""!=t.togglerBorderType?Mo(t.togglerBorderType,"border-style"):"","\n ").concat(""!=t.togglerBorderType?Io(t.togglerBorderWidth,"border-width"):"","\n ").concat(""!=t.togglerBorderType?Mo(t.togglerBorderColor,"border-color"):"","\n ").concat(Io(t.togglerBorderRadius,"border-radius"),"\n ").concat(Io(t.togglerPadding,"padding"),"\n ").concat(Io(t.togglerMargin,"margin"),"\n ").concat(Mo(t.togglerAlignment,"text-align"),"\n ").concat(Mo(t.togglerBackgroundColor,"background-color"),"\n }\n ").concat(""!=t.togglerAlignment?p+" .woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info::before{position: static;margin-right:10px;}":"","\n ");return React.createElement(we.Fragment,null,n&&React.createElement(Ey,this.props),React.createElement("div",{className:m},React.createElement(Pm(),{block:o,attributes:{formToggolerText:t.formToggolerText},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n ".concat(p,"{\n ").concat(Io(t.areaPadding.desktop,"padding"),"\n ").concat(Ho(c),"\n }\n ").concat(f,"\n ")))}}],o&&Py(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const Ty=Ay,Wy=JSON.parse('{"name":"woolentor/checkout-login-form","category":"woolentor-checkout","title":"WL : Checkout Login Form","description":"Display Checkout Login Form.","keywords":["woolentor","checkout form","login form","login field","checkout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"togglerSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { font-size: {{togglerSize}}; }"}},"togglerTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { color: {{togglerTextColor}}; }"}},"togglerLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info a { color: {{togglerLinkColor}}; }"}},"togglerLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info a:hover { color: {{togglerLinkHoverColor}}; }"}},"togglerLeftIconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info::before { color: {{togglerLeftIconColor}}; }"}},"togglerTopBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { border-top-color: {{togglerTopBorderColor}}; }"}},"togglerBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { border-style: {{togglerBorderType}}; }"}},"togglerBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"togglerBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { border-width: {{togglerBorderWidth}}; }"}},"togglerBorderColor":{"type":"string","style":{"dependency":[[{"key":"togglerBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { border-color: {{togglerBorderColor}}; }"}},"togglerBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { border-radius: {{togglerBorderRadius}}; }"}},"togglerPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { padding: {{togglerPadding}}; }"}},"togglerMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { margin: {{togglerMargin}}; }"}},"togglerAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { text-align: {{togglerAlignment}}; }{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info::before{ position: static;margin-right:10px; }"}},"togglerBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { background-color: {{togglerBackgroundColor}}; }"}},"descriptionColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login p:not(.form-row,.lost_password) { color: {{descriptionColor}}; }"}},"descriptionSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login p:not(.form-row,.lost_password) { font-size: {{descriptionSize}}; }"}},"descriptionAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login p:not(.form-row,.lost_password) { text-align: {{descriptionAlignment}}; }"}},"descriptionMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login p:not(.form-row,.lost_password) { margin: {{descriptionMargin}}; }"}},"formBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { border-style: {{formBorderType}}; }"}},"formBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { border-width: {{formBorderWidth}}; }"}},"formBorderColor":{"type":"string","style":{"dependency":[[{"key":"formBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { border-color: {{formBorderColor}}; }"}},"formBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { border-radius: {{formBorderRadius}}; }"}},"formPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { padding: {{formPadding}}; }"}},"formMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { margin: {{formMargin}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login .form-row label .required { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text,{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text::-webkit-input-placeholder { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxWidth":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { width: {{inputBoxWidth}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { border-style: {{inputBoxBorderType}}!important; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { border-width: {{inputBoxBorderWidth}}!important; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { border-color: {{inputBoxBorderColor}}!important; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { margin: {{inputBoxMargin}}!important; }"}},"inputBoxFocusColor":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text:focus { color: {{inputBoxFocusColor}}; }"}},"inputBoxFocusBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text:focus { border-color: {{inputBoxFocusBorderColor}}!important; }"}},"loginBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { color: {{loginBtnColor}}; }"}},"loginBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { background-color: {{loginBtnBGColor}}; }"}},"loginBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { font-size: {{loginBtnSize}}; }"}},"loginBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { border-style: {{loginBtnBorderType}} !important; }"}},"loginBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"loginBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { border-width: {{loginBtnBorderWidth}} !important; }"}},"loginBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"loginBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { border-color: {{loginBtnBorderColor}} !important; }"}},"loginBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { border-radius: {{loginBtnBorderRadius}} !important; }"}},"loginBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { padding: {{loginBtnPadding}}; }"}},"loginBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button:hover { color: {{loginBtnHoverColor}}; }"}},"loginBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button:hover { background-color: {{loginBtnHoverBGColor}}; }"}},"loginBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button:hover { border-color: {{loginBtnHoverBorderColor}} !important; }"}}}}'),Sy=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M9 2h9c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H9c-1.1 0-2-.9-2-2v-2h2v2h9V4H9v2H7V4c0-1.1.9-2 2-2z"}),React.createElement("path",{fill:"currentColor",d:"M10.09 15.59L11.5 17l5-5l-5-5l-1.41 1.41L12.67 11H3v2h9.67z"}));var xy=Wy.name,zy=Wy.title,Ly=Wy.description,Ny=Wy.category,jy=Wy.attributes,My=Wy.keywords,Iy=Wy.supports,Hy={title:(0,te.__)(zy,"woolentor"),description:(0,te.__)(Ly,"woolentor"),icon:React.createElement(oe.Icon,{icon:Sy}),keywords:My,supports:Iy,attributes:jy,edit:Ty,save:function(){return null}};function Fy(e){return function(e){if(Array.isArray(e))return Dy(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Gy(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Gy(e,t){if(e){if("string"==typeof e)return Dy(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Dy(e,t):void 0}}function Dy(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}const qy=function(e){var t=e.attributes,o=e.setAttributes;!function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t);var r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a=[],_n=!0,l=!1;try{for(o=o.call(e);!(_n=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);_n=!0);}catch(e){l=!0,n=e}finally{try{_n||null==o.return||o.return()}finally{if(l)throw n}}return a}}(e,t)||Gy(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,we.useState)(!1),2),n=r[0],a=r[1],l=function(e,r,n){var a=Fy(t.navigationItemList);a[n][r]=e,o({navigationItemList:a})},i=[];if(!Object.keys(woolentorData.myaccountmenu).length>0)i=[{label:(0,te.__)("Dashboard","woolentor"),value:"dashboard"},{label:(0,te.__)("Orders","woolentor"),value:"orders"},{label:(0,te.__)("Downloads","woolentor"),value:"downloads"},{label:(0,te.__)("Addresses","woolentor"),value:"edit-address"},{label:(0,te.__)("Account details","woolentor"),value:"edit-account"},{label:(0,te.__)("Logout","woolentor"),value:"customer-logout"},{label:(0,te.__)("Custom","woolentor"),value:"customadd"}];else for(var c in woolentorData.myaccountmenu)i.push({label:(0,te.__)(woolentorData.myaccountmenu[c],"woolentor"),value:c});var u,s=function(){var e=[];return Object.keys(woolentorData.imagesizes).forEach((function(t){e.push({label:woolentorData.imagesizes[t],value:t})})),e};return t.navigationItemList.length>0&&(u=t.navigationItemList.map((function(e,r){var c=n===r?"woolentor_active_repeter":"";return React.createElement(we.Fragment,{key:r},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,t){a(t!==n&&t)}(0,r)}},React.createElement("div",{className:"woolentor_repeater-item-title"},t.navigationItemList[r].menuTitle),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(oe.Button,{className:"woolentor__remove-marker",icon:"no-alt",onClick:function(){return function(e){var r=Fy(t.navigationItemList);r.splice(e,1),o({navigationItemList:r})}(r)}}))),React.createElement("div",{className:c+" woolentor_repeater-controls"},React.createElement(oe.SelectControl,{label:(0,te.__)("Menu Items","woolentor"),value:t.navigationItemList[r].menuKey,options:i,onChange:function(e){return l(e,"menuKey",r)}}),React.createElement(oe.TextControl,{label:(0,te.__)("Menu Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,te.__)("Dashboard","woolentor"),value:t.navigationItemList[r].menuTitle,onChange:function(e){return l(e,"menuTitle",r)}}),"customadd"===t.navigationItemList[r].menuKey&&React.createElement(React.Fragment,null,React.createElement(oe.TextControl,{label:(0,te.__)("Menu Key","woolentor"),className:"woolentor__marker-title",value:t.navigationItemList[r].menuCusKey,onChange:function(e){return l(e,"menuCusKey",r)}}),React.createElement(oe.TextControl,{label:(0,te.__)("Menu URL","woolentor"),className:"woolentor__marker-title",value:t.navigationItemList[r].menuUrl,onChange:function(e){return l(e,"menuUrl",r)}})),"customadd"!==t.navigationItemList[r].menuKey&&React.createElement(React.Fragment,null,React.createElement(oe.SelectControl,{label:(0,te.__)("Select Content Source","woolentor"),value:t.navigationItemList[r].contentSource,options:[{label:(0,te.__)("Default","woolentor"),value:"default"},{label:(0,te.__)("Custom","woolentor"),value:"custom"}],onChange:function(e){return l(e,"contentSource",r)}}),"custom"===t.navigationItemList[r].contentSource&&React.createElement(React.Fragment,null,React.createElement(oe.ToggleControl,{label:(0,te.__)("Remove Default Content","woolentor"),checked:t.navigationItemList[r].contentRemove,onChange:function(e){return l(e,"contentRemove",r)}}),React.createElement(oe.TextareaControl,{label:(0,te.__)("Content","woolentor"),value:t.navigationItemList[r].customContent,onChange:function(e){return l(e,"customContent",r)}}))))))}))),React.createElement(we.Fragment,null,React.createElement(tt,null),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Settings","woolentor"),initialOpen:!0},React.createElement(oe.ToggleControl,{label:(0,te.__)("User Info","woolentor"),checked:t.userInfo,help:t.userInfo?(0,te.__)("Show User Info.","woolentor"):(0,te.__)("Toggle to show the user info.","woolentor"),onChange:function(){return o({userInfo:!t.userInfo})}}),t.userInfo&&React.createElement(React.Fragment,null,React.createElement(no,{title:(0,te.__)("User Custom image","woolentor"),ImageData:t.userCustomImage,attributesKey:"userCustomImage",setAttributes:o}),s().length>0&&t.userCustomImage.id&&React.createElement(oe.SelectControl,{label:(0,te.__)("Image Size","woolentor"),value:t.imageSize,options:s(),onChange:function(e){return o({imageSize:e})}})),u,React.createElement(oe.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=Fy(t.navigationItemList);e.push({fieldkey:"remove",heading:(0,te.__)("Cart Item #"+(t.navigationItemList.length+1),"woolentor"),width:""}),o({navigationItemList:e}),a(t.navigationItemList.length)}.bind(void 0)},(0,te.__)("Add Item","woolentor")))),React.createElement(Xe,null,t.userInfo&&React.createElement(ft,{title:(0,te.__)("User Info","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.userInfoTextColor,onChange:function(e){return o({userInfoTextColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Link Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.userInfoLinkColor,onChange:function(e){return o({userInfoLinkColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Link Hover Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.userInfoLinkHoverColor,onChange:function(e){return o({userInfoLinkHoverColor:e})}})),React.createElement("h3",null,(0,te.__)("Text Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.userInfoTextSize,fallbackFontSize:t.userInfoTextSize,onChange:function(e){return o({userInfoTextSize:e})}}),React.createElement("h3",null,(0,te.__)("Link Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.userInfoLinkSize,fallbackFontSize:t.userInfoLinkSize,onChange:function(e){return o({userInfoLinkSize:e})}}),React.createElement(At,{label:(0,te.__)("Image","woolentor")}),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.userImageBorderType,options:Ll,onChange:function(e){return o({userImageBorderType:e})}}),t.userImageBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.userImaggeBorderWidth,attributesKey:"userImaggeBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.userImageBorderColor,onChange:function(e){return o({userImageBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.userImageBorderRadius,attributesKey:"userImageBorderRadius",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"userInfoAlignment",justified:!0})),React.createElement(ft,{title:(0,te.__)("Navigation","woolentor")},React.createElement(oe.SelectControl,{label:(0,te.__)("Position","woolentor"),value:t.menuPosition,options:[{label:(0,te.__)("Horizontal Left","woolentor"),value:"hleft"},{label:(0,te.__)("Horizontal Right","woolentor"),value:"hright"},{label:(0,te.__)("Vertical Top","woolentor"),value:"vtop"},{label:(0,te.__)("Vertical Bottom","woolentor"),value:"vbottom"}],onChange:function(e){return o({menuPosition:e})}}),React.createElement(zt,{lavel:(0,te.__)("Menu Area Margin","woolentor"),dimensions:t.menuAreaMargin,attributesKey:"menuAreaMargin",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"menuAlignment",justified:!0}),("hleft"==t.menuPosition||"hright"==t.menuPosition)&&React.createElement(oe.RangeControl,{label:(0,te.__)("Menu Area Width (PX)","woolentor"),value:t.menuAreaWidth,allowReset:!0,onChange:function(e){return o({menuAreaWidth:e})},min:0,step:1,max:1e3}),React.createElement(ct,{name:"navigation"},React.createElement(mt,{name:"normal"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.menuColor,onChange:function(e){return o({menuColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.menuBGColor,onChange:function(e){return o({menuBGColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.menuSize,fallbackFontSize:t.menuSize,onChange:function(e){return o({menuSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.menuPadding,attributesKey:"menuPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.menuMargin,attributesKey:"menuMargin",setAttributes:o}),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.menuBorderType,options:Ll,onChange:function(e){return o({menuBorderType:e})}}),t.menuBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.menuBorderWidth,attributesKey:"menuBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.menuBorderColor,onChange:function(e){return o({menuBorderColor:e})}})))),React.createElement(mt,{name:"hover"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.menuActiveColor,onChange:function(e){return o({menuActiveColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.menuActiveBGColor,onChange:function(e){return o({menuActiveBGColor:e})}}))))),React.createElement(ft,{title:(0,te.__)("Content","woolentor")},("hleft"==t.menuPosition||"hright"==t.menuPosition)&&React.createElement(oe.RangeControl,{label:(0,te.__)("Content Area Width (PX)","woolentor"),value:t.contentAreaWidth,allowReset:!0,onChange:function(e){return o({contentAreaWidth:e})},min:0,step:1,max:1e3}),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.contentColor,onChange:function(e){return o({contentColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Link Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.contentLinkColor,onChange:function(e){return o({contentLinkColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.contentSize,fallbackFontSize:t.contentSize,onChange:function(e){return o({contentSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.contentMargin,attributesKey:"contentMargin",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.contentPadding,attributesKey:"contentPadding",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Ky(e){return Ky="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ky(e)}function Uy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qy(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Vy(e,t){return Vy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Vy(e,t)}function Yy(e,t){if(t&&("object"===Ky(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Zy(e){return Zy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Zy(e)}var Jy=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Vy(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Zy(r);if(n){var o=Zy(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Yy(this,e)});function l(){return Uy(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId,c=t.areaBGProperty;""==i&&a({blockUniqId:l});var u,s,d,m=st()((d=r,(s=r)in(u={})?Object.defineProperty(u,s,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[s]=d,u),"woolentorblock-my-account","woolentorblock-my-account-"+i),p=".woolentorblock-my-account-"+i,f="\n ".concat(p," .woolentor_block_my_account .woolentor-user-info{\n ").concat(Mo(t.userInfoTextColor,"color"),"\n }\n ").concat(p," .woolentor_block_my_account .woolentor-logout a{\n ").concat(Mo(t.userInfoLinkColor,"color"),"\n }\n ").concat(p," .woolentor_block_my_account .woolentor-logout a:hover{\n ").concat(Mo(t.userInfoLinkHoverColor,"color"),"\n }\n ").concat(p," .woolentor_block_my_account .woolentor-logout{\n ").concat(Mo(t.userInfoLinkSize,"font-size"),"\n }\n ").concat(p," .woolentor_block_my_account .woolentor-username{\n ").concat(Mo(t.userInfoTextSize,"font-size"),"\n }\n ").concat(p," .woolentor_block_my_account .woolentor-user-image img{\n ").concat(""!=t.userImageBorderType?Mo(t.userImageBorderType,"border-style"):"","\n ").concat(""!=t.userImageBorderType?Io(t.userImaggeBorderWidth,"border-width"):"","\n ").concat(""!=t.userImageBorderType?Mo(t.userImageBorderColor,"border-color"):"","\n ").concat(Io(t.userImageBorderRadius,"border-radius"),"\n }\n ").concat(p," .woolentor_block_my_account .woolentor-user-area{\n ").concat(Mo(t.userInfoAlignment,"justify-content"),"\n }\n ")+"\n ".concat(p," .woolentor_block_my_account .woocommerce-MyAccount-navigation{\n ").concat(Io(t.menuAreaMargin,"margin"),"\n ").concat(Mo(t.menuAlignment,"text-align"),"\n ").concat(Mo(t.menuAreaWidth,"width","px"),"\n }\n ").concat(p," .woolentor_block_my_account .woocommerce-MyAccount-navigation ul li{\n ").concat(Io(t.menuMargin,"margin"),"\n ").concat(Io(t.menuPadding,"padding"),"\n ").concat(""!=t.menuBorderType?Mo(t.menuBorderType,"border-style"):"","\n ").concat(""!=t.menuBorderType?Io(t.menuBorderWidth,"border-width"):"","\n ").concat(""!=t.menuBorderType?Mo(t.menuBorderColor,"border-color"):"","\n }\n ").concat(p," .woolentor_block_my_account .woocommerce-MyAccount-navigation ul li a{\n ").concat(Mo(t.menuColor,"color"),"\n ").concat(Mo(t.menuSize,"font-size"),"\n }\n ").concat(p," .woolentor_block_my_account .woocommerce-MyAccount-navigation ul li:hover a,").concat(p," .woolentor_block_my_account .woocommerce-MyAccount-navigation ul li.is-active a{\n ").concat(Mo(t.menuActiveColor,"color"),"\n }\n ").concat(p," .woolentor_block_my_account .woocommerce-MyAccount-navigation ul li,").concat(p," .woolentor_block_my_account .woocommerce-MyAccount-navigation ul li a{\n ").concat(Mo(t.menuBGColor,"background-color"),"\n }\n ").concat(p," .woolentor_block_my_account .woocommerce-MyAccount-navigation ul li.is-active,").concat(p," .woolentor_block_my_account .woocommerce-MyAccount-navigation ul li.is-active a,").concat(p," .woolentor_block_my_account .woocommerce-MyAccount-navigation ul li:hover,").concat(p," .woolentor_block_my_account .woocommerce-MyAccount-navigation ul li:hover a{\n ").concat(Mo(t.menuActiveBGColor,"background-color"),"\n }\n ")+"\n ".concat(p," .woolentor_block_my_account .woocommerce-MyAccount-content{\n ").concat(Mo(t.contentAreaWidth,"width","px"),"\n ").concat(Mo(t.contentColor,"color"),"\n ").concat(Mo(t.contentSize,"font-size"),"\n ").concat(Mo(t.contentAlignment,"text-align"),"\n ").concat(Io(t.contentMargin,"margin"),"\n ").concat(Io(t.contentPadding,"padding"),"\n }\n ").concat(p," .woolentor_block_my_account .woocommerce-MyAccount-content p{\n ").concat(Mo(t.contentSize,"font-size"),"\n }\n ").concat(p," .woolentor_block_my_account .woocommerce-MyAccount-content a{\n ").concat(Mo(t.contentLinkColor,"color"),"\n }\n ");return React.createElement(we.Fragment,null,n&&React.createElement(qy,this.props),React.createElement("div",{className:m},React.createElement(Pm(),{block:o,attributes:{userInfo:t.userInfo,imageSize:t.imageSize,userCustomImage:t.userCustomImage,navigationItemList:t.navigationItemList,menuPosition:t.menuPosition},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n ".concat(p,"{\n ").concat(Io(t.areaPadding.desktop,"padding"),"\n ").concat(Ho(c),"\n }\n ").concat(f,"\n ")))}}],o&&Qy(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const Xy=Jy,$y=JSON.parse('{"name":"woolentor/my-account","category":"woolentor-myaccount","title":"WL : My Account","description":"Display My Account.","keywords":["woolentor","My Account","Account","Account Menu","My Account Menu"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"userInfo":{"type":"boolean","default":true},"userCustomImage":{"type":"object","default":{"id":null,"url":""}},"imageSize":{"type":"string","default":"thumbnail"},"navigationItemList":{"type":"array","default":[{"menuKey":"dashboard","menuTitle":"Dashboard","contentSource":"default"},{"menuKey":"orders","menuTitle":"Orders","contentSource":"default"},{"menuKey":"downloads","menuTitle":"Downloads","contentSource":"default"},{"menuKey":"edit-address","menuTitle":"Addresses","contentSource":"default"},{"menuKey":"edit-account","menuTitle":"Account details","contentSource":"default"},{"menuKey":"customer-logout","menuTitle":"Logout","contentSource":"default"}]},"userInfoTextColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-info { color: {{userInfoTextColor}}; }"}},"userInfoLinkColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-logout a { color: {{userInfoLinkColor}}; }"}},"userInfoLinkHoverColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-logout a:hover { color: {{userInfoLinkHoverColor}}; }"}},"userInfoTextSize":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-username { font-size: {{userInfoTextSize}}; }"}},"userInfoLinkSize":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-logout { font-size: {{userInfoLinkSize}}; }"}},"userImageBorderType":{"type":"string","default":"","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-image img { border-style: {{userImageBorderType}}; }"}},"userImaggeBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false},{"key":"userImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-image img { border-width: {{userImaggeBorderWidth}}; }"}},"userImageBorderColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false},{"key":"userImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-image img { border-color: {{userImageBorderColor}}; }"}},"userImageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-image img { border-radius: {{userImageBorderRadius}}!important; }"}},"userInfoAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-area { justify-content: {{userInfoAlignment}}; }"}},"menuPosition":{"type":"string","default":"hleft"},"menuAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation { margin: {{menuAreaMargin}}; }"}},"menuAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation { text-align: {{menuAlignment}}; }"}},"menuAreaWidth":{"type":"number","style":{"dependency":[[{"key":"menuPosition","condition":"==","value":["hleft","hright"]}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation { width: {{menuAreaWidth}}px; }"}},"menuColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li a { color: {{menuColor}}; }"}},"menuBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li a { background-color: {{menuBGColor}}; }"}},"menuSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li a { font-size: {{menuSize}}; }"}},"menuPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li { padding: {{menuPadding}}; }"}},"menuMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li { margin: {{menuMargin}}; }"}},"menuBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li { border-style: {{menuBorderType}}; }"}},"menuBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"menuBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li { border-width: {{menuBorderWidth}}; }"}},"menuBorderColor":{"type":"string","style":{"dependency":[[{"key":"menuBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li { border-color: {{menuBorderColor}}; }"}},"menuActiveColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li:hover a,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li.is-active a { color: {{menuActiveColor}}; }"}},"menuActiveBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li.is-active,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li.is-active a,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li:hover,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li:hover a { background-color: {{menuActiveBGColor}}; }"}},"contentAreaWidth":{"type":"number","style":{"dependency":[[{"key":"menuPosition","condition":"==","value":["hleft","hright"]}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { width: {{contentAreaWidth}}px; }"}},"contentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { color: {{contentColor}}; }"}},"contentLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content a { color: {{contentLinkColor}}; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { font-size: {{contentSize}}; }"}},"contentMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { margin: {{contentMargin}}; }"}},"contentPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { padding: {{contentPadding}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { text-align: {{contentAlignment}}; }"}}}}'),e_=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("g",{transform:"rotate(-90 12 12)"},React.createElement("path",{fill:"currentColor",d:"M3 8h19V5q0-.825-.587-1.413Q20.825 3 20 3H5q-.825 0-1.413.587Q3 4.175 3 5Zm5 2H3v9q0 .825.587 1.413Q4.175 21 5 21h3Zm9 0v11h3q.825 0 1.413-.587Q22 19.825 22 19v-9Zm-2 0h-5v11h5Z"})));var t_=$y.name,o_=$y.title,r_=$y.description,n_=$y.category,a_=$y.attributes,l_=$y.keywords,i_=$y.supports,c_={title:(0,te.__)(o_,"woolentor"),description:(0,te.__)(r_,"woolentor"),icon:React.createElement(oe.Icon,{icon:e_}),keywords:l_,supports:i_,attributes:a_,edit:Xy,save:function(){return null}};const u_=function(e){var t=e.attributes,o=e.setAttributes;!function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t);var r=function(){var e=[];return Object.keys(woolentorData.imagesizes).forEach((function(t){e.push({label:woolentorData.imagesizes[t],value:t})})),e};return React.createElement(we.Fragment,null,React.createElement(tt,null),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("Settings","woolentor"),initialOpen:!0},React.createElement(oe.ToggleControl,{label:(0,te.__)("User Info","woolentor"),checked:t.userInfo,help:t.userInfo?(0,te.__)("Show User Info.","woolentor"):(0,te.__)("Toggle to show the user info.","woolentor"),onChange:function(){return o({userInfo:!t.userInfo})}}),t.userInfo&&React.createElement(React.Fragment,null,React.createElement(no,{title:(0,te.__)("User Custom image","woolentor"),ImageData:t.userCustomImage,attributesKey:"userCustomImage",setAttributes:o}),r().length>0&&t.userCustomImage.id&&React.createElement(oe.SelectControl,{label:(0,te.__)("Image Size","woolentor"),value:t.imageSize,options:r(),onChange:function(e){return o({imageSize:e})}})))),React.createElement(Xe,null,t.userInfo&&React.createElement(ft,{title:(0,te.__)("User Info","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.userInfoTextColor,onChange:function(e){return o({userInfoTextColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Link Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.userInfoLinkColor,onChange:function(e){return o({userInfoLinkColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Link Hover Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.userInfoLinkHoverColor,onChange:function(e){return o({userInfoLinkHoverColor:e})}})),React.createElement("h3",null,(0,te.__)("Text Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.userInfoTextSize,fallbackFontSize:t.userInfoTextSize,onChange:function(e){return o({userInfoTextSize:e})}}),React.createElement("h3",null,(0,te.__)("Link Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.userInfoLinkSize,fallbackFontSize:t.userInfoLinkSize,onChange:function(e){return o({userInfoLinkSize:e})}}),React.createElement(At,{label:(0,te.__)("Image","woolentor")}),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.userImageBorderType,options:Ll,onChange:function(e){return o({userImageBorderType:e})}}),t.userImageBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.userImaggeBorderWidth,attributesKey:"userImaggeBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.userImageBorderColor,onChange:function(e){return o({userImageBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.userImageBorderRadius,attributesKey:"userImageBorderRadius",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"userInfoAlignment",justified:!0})),React.createElement(ft,{title:(0,te.__)("Navigation","woolentor")},React.createElement(oe.SelectControl,{label:(0,te.__)("Position","woolentor"),value:t.menuPosition,options:[{label:(0,te.__)("Horizontal","woolentor"),value:"horizontal"},{label:(0,te.__)("Vertical","woolentor"),value:"vertical"}],onChange:function(e){return o({menuPosition:e})}}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"menuAlignment",justified:!0}),("hleft"==t.menuPosition||"hright"==t.menuPosition)&&React.createElement(oe.RangeControl,{label:(0,te.__)("Menu Area Width (PX)","woolentor"),value:t.menuAreaWidth,allowReset:!0,onChange:function(e){return o({menuAreaWidth:e})},min:0,step:1,max:1e3}),React.createElement(ct,{name:"navigation"},React.createElement(mt,{name:"normal"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.menuColor,onChange:function(e){return o({menuColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.menuBGColor,onChange:function(e){return o({menuBGColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.menuSize,fallbackFontSize:t.menuSize,onChange:function(e){return o({menuSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.menuPadding,attributesKey:"menuPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.menuMargin,attributesKey:"menuMargin",setAttributes:o}),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.menuBorderType,options:Ll,onChange:function(e){return o({menuBorderType:e})}}),t.menuBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.menuBorderWidth,attributesKey:"menuBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.menuBorderColor,onChange:function(e){return o({menuBorderColor:e})}})))),React.createElement(mt,{name:"hover"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.menuActiveColor,onChange:function(e){return o({menuActiveColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.menuActiveBGColor,onChange:function(e){return o({menuActiveBGColor:e})}})))))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function s_(e){return s_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s_(e)}function d_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m_(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p_(e,t){return p_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p_(e,t)}function f_(e,t){if(t&&("object"===s_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function g_(e){return g_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g_(e)}var b_=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p_(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=g_(r);if(n){var o=g_(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return f_(this,e)});function l(){return d_(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId,c=t.areaBGProperty;""==i&&a({blockUniqId:l});var u,s,d,m=st()((d=r,(s=r)in(u={})?Object.defineProperty(u,s,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[s]=d,u),"woolentorblock-my-account-navigation","woolentorblock-my-account-navigation-"+i),p=".woolentorblock-my-account-navigation-"+i,f="\n ".concat(p," .woolentor_block_my_account_navigation .woolentor-user-info{\n ").concat(Mo(t.userInfoTextColor,"color"),"\n }\n ").concat(p," .woolentor_block_my_account_navigation .woolentor-logout a{\n ").concat(Mo(t.userInfoLinkColor,"color"),"\n }\n ").concat(p," .woolentor_block_my_account_navigation .woolentor-logout a:hover{\n ").concat(Mo(t.userInfoLinkHoverColor,"color"),"\n }\n ").concat(p," .woolentor_block_my_account_navigation .woolentor-logout{\n ").concat(Mo(t.userInfoLinkSize,"font-size"),"\n }\n ").concat(p," .woolentor_block_my_account_navigation .woolentor-username{\n ").concat(Mo(t.userInfoTextSize,"font-size"),"\n }\n ").concat(p," .woolentor_block_my_account_navigation .woolentor-user-image img{\n ").concat(""!=t.userImageBorderType?Mo(t.userImageBorderType,"border-style"):"","\n ").concat(""!=t.userImageBorderType?Io(t.userImaggeBorderWidth,"border-width"):"","\n ").concat(""!=t.userImageBorderType?Mo(t.userImageBorderColor,"border-color"):"","\n ").concat(Io(t.userImageBorderRadius,"border-radius","!important"),"\n }\n ").concat(p," .woolentor_block_my_account_navigation .woolentor-user-area{\n ").concat(Mo(t.userInfoAlignment,"justify-content"),"\n }\n ")+"\n ".concat(p," .woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation{\n ").concat(Mo(t.menuAlignment,"text-align"),"\n ").concat(Mo(t.menuAreaWidth,"width","px"),"\n }\n ").concat(p," .woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li{\n ").concat(Io(t.menuMargin,"margin"),"\n ").concat(Io(t.menuPadding,"padding"),"\n ").concat(""!=t.menuBorderType?Mo(t.menuBorderType,"border-style"):"","\n ").concat(""!=t.menuBorderType?Io(t.menuBorderWidth,"border-width"):"","\n ").concat(""!=t.menuBorderType?Mo(t.menuBorderColor,"border-color"):"","\n }\n ").concat(p," .woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li a{\n ").concat(Mo(t.menuColor,"color"),"\n ").concat(Mo(t.menuSize,"font-size"),"\n }\n ").concat(p," .woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li:hover a,").concat(p," .woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li.is-active a{\n ").concat(Mo(t.menuActiveColor,"color"),"\n }\n ").concat(p," .woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li,").concat(p," .woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li a{\n ").concat(Mo(t.menuBGColor,"background-color"),"\n }\n ").concat(p," .woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li.is-active,").concat(p," .woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li.is-active a,").concat(p," .woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li:hover,").concat(p," .woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li:hover a{\n ").concat(Mo(t.menuActiveBGColor,"background-color"),"\n }\n ");return React.createElement(we.Fragment,null,n&&React.createElement(u_,this.props),React.createElement("div",{className:m},React.createElement(Pm(),{block:o,attributes:{userInfo:t.userInfo,imageSize:t.imageSize,userCustomImage:t.userCustomImage,menuPosition:t.menuPosition},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n ".concat(p,"{\n ").concat(Io(t.areaPadding.desktop,"padding"),"\n ").concat(Ho(c),"\n }\n ").concat(f,"\n ")))}}],o&&m_(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const y_=b_,R_=JSON.parse('{"name":"woolentor/my-account-navigation","category":"woolentor-myaccount","title":"WL: My Account Navigation","description":"Display My Account Menu.","keywords":["woolentor","My Account","Account","Account Menu","My Account Menu","My Account Navigation"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"userInfo":{"type":"boolean","default":false},"userCustomImage":{"type":"object","default":{"id":null,"url":""}},"imageSize":{"type":"string","default":"thumbnail"},"userInfoTextColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-info { color: {{userInfoTextColor}}; }"}},"userInfoLinkColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-logout a { color: {{userInfoLinkColor}}; }"}},"userInfoLinkHoverColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-logout a:hover { color: {{userInfoLinkHoverColor}}; }"}},"userInfoTextSize":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-username { font-size: {{userInfoTextSize}}; }"}},"userInfoLinkSize":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-logout { font-size: {{userInfoLinkSize}}; }"}},"userImageBorderType":{"type":"string","default":"","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-image img { border-style: {{userImageBorderType}}; }"}},"userImaggeBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false},{"key":"userImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-image img { border-width: {{userImaggeBorderWidth}}; }"}},"userImageBorderColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false},{"key":"userImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-image img { border-color: {{userImageBorderColor}}; }"}},"userImageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-image img { border-radius: {{userImageBorderRadius}}!important; }"}},"userInfoAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-area { justify-content: {{userInfoAlignment}}; }"}},"menuPosition":{"type":"string","default":"hleft"},"menuAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation { text-align: {{menuAlignment}}; }"}},"menuColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li a { color: {{menuColor}}; }"}},"menuBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li a { background-color: {{menuBGColor}}; }"}},"menuSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li a { font-size: {{menuSize}}; }"}},"menuPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li { padding: {{menuPadding}}; }"}},"menuMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li { margin: {{menuMargin}}; }"}},"menuBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li { border-style: {{menuBorderType}}; }"}},"menuBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"menuBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li { border-width: {{menuBorderWidth}}; }"}},"menuBorderColor":{"type":"string","style":{"dependency":[[{"key":"menuBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li { border-color: {{menuBorderColor}}; }"}},"menuActiveColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li:hover a,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li.is-active a { color: {{menuActiveColor}}; }"}},"menuActiveBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li.is-active,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li.is-active a,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li:hover,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li:hover a { background-color: {{menuActiveBGColor}}; }"}}}}'),h_=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M3 18v-2h18v2Zm0-5v-2h18v2Zm0-5V6h18v2Z"}));var w_=R_.name,E_=R_.title,v_=R_.description,O_=R_.category,P_=R_.attributes,C_=R_.keywords,B_=R_.supports,k_={title:(0,te.__)(E_,"woolentor"),description:(0,te.__)(v_,"woolentor"),icon:React.createElement(oe.Icon,{icon:h_}),keywords:C_,supports:B_,attributes:P_,edit:y_,save:function(){return null}};const A_=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t),React.createElement(we.Fragment,null,React.createElement(tt,{tabs:["styles","advanced"]}),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Content","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.contentColor,onChange:function(e){return o({contentColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Link Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.contentLinkColor,onChange:function(e){return o({contentLinkColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Link Hover Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.contentLinkHoverColor,onChange:function(e){return o({contentLinkHoverColor:e})}})),React.createElement("h3",null,(0,te.__)("Text Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.contentSize,fallbackFontSize:t.contentSize,onChange:function(e){return o({contentSize:e})}}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function T_(e){return T_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},T_(e)}function W_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S_(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x_(e,t){return x_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},x_(e,t)}function z_(e,t){if(t&&("object"===T_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function L_(e){return L_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},L_(e)}var N_=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&x_(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=L_(r);if(n){var o=L_(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return z_(this,e)});function l(){return W_(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId,c=t.areaBGProperty;""==i&&a({blockUniqId:l});var u,s,d,m=st()((d=r,(s=r)in(u={})?Object.defineProperty(u,s,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[s]=d,u),"woolentorblock-my-account-dashboard","woolentorblock-my-account-dashboard-"+i),p=".woolentorblock-my-account-dashboard-"+i,f="\n ".concat(p," .woolentor_block_my_account_dashboard{\n ").concat(Mo(t.contentColor,"color"),"\n }\n ").concat(p," .woolentor_block_my_account_dashboard a{\n ").concat(Mo(t.contentLinkColor,"color"),"\n }\n ").concat(p," .woolentor_block_my_account_dashboard a:hover{\n ").concat(Mo(t.contentLinkHoverColor,"color"),"\n }\n ").concat(p," .woolentor_block_my_account_dashboard,").concat(p," .woolentor_block_my_account_dashboard p{\n ").concat(Mo(t.contentSize,"font-size"),"\n }\n ").concat(p," .woolentor_block_my_account_dashboard{\n ").concat(Mo(t.contentAlignment,"text-align"),"\n }\n ");return React.createElement(we.Fragment,null,n&&React.createElement(A_,this.props),React.createElement("div",{className:m},React.createElement(Pm(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n ".concat(p,"{\n ").concat(Io(t.areaPadding.desktop,"padding"),"\n ").concat(Io(t.areaMargin.desktop,"margin"),"\n ").concat(Ho(c),"\n }\n ").concat(f,"\n ")))}}],o&&S_(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const j_=N_,M_=JSON.parse('{"name":"woolentor/my-account-dashboard","category":"woolentor-myaccount","title":"WL: My Account Dashboard","description":"Display My Account dashboard.","keywords":["woolentor","My Account","Account","Account dashboard","Dashboard content","Dashboard"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"contentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_dashboard { color: {{contentColor}}; }"}},"contentLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_dashboard a { color: {{contentLinkColor}}; }"}},"contentLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_dashboard a:hover { color: {{contentLinkHoverColor}}; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_dashboard { font-size: {{contentSize}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_dashboard { text-align: {{contentAlignment}}; }"}}}}'),I_=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M5 21q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h14q.825 0 1.413.587Q21 4.175 21 5v14q0 .825-.587 1.413Q19.825 21 19 21Zm5-2v-6H5v6Zm2 0h7v-6h-7Zm-7-8h14V5H5Z"}));var H_=M_.name,F_=M_.title,G_=M_.description,D_=M_.category,q_=M_.attributes,K_=M_.keywords,U_=M_.supports,Q_={title:(0,te.__)(F_,"woolentor"),description:(0,te.__)(G_,"woolentor"),icon:React.createElement(oe.Icon,{icon:I_}),keywords:K_,supports:U_,attributes:q_,edit:j_,save:function(){return null}};const V_=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t),React.createElement(we.Fragment,null,React.createElement(tt,{tabs:["general","advanced"]}),React.createElement(Je,null,React.createElement(ft,{title:(0,te.__)("My Account Download","woolentor")},React.createElement("p",null,(0,te.__)("My Account Download","woolentor")))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Y_(e){return Y_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y_(e)}function Z_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J_(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function X_(e,t){return X_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},X_(e,t)}function $_(e,t){if(t&&("object"===Y_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function eR(e){return eR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},eR(e)}var tR=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&X_(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=eR(r);if(n){var o=eR(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return $_(this,e)});function l(){return Z_(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId,c=t.areaBGProperty;""==i&&a({blockUniqId:l});var u,s,d,m=st()((d=r,(s=r)in(u={})?Object.defineProperty(u,s,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[s]=d,u),"woolentorblock-my-account-download","woolentorblock-my-account-download-"+i),p=".woolentorblock-my-account-download-"+i;return React.createElement(we.Fragment,null,n&&React.createElement(V_,this.props),React.createElement("div",{className:m},React.createElement(Pm(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n ".concat(p,"{\n ").concat(Io(t.areaMargin.desktop,"areaMargin"),"\n ").concat(Io(t.areaPadding.desktop,"padding"),"\n ").concat(Ho(c),"\n }\n ")))}}],o&&J_(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const oR=tR,rR=JSON.parse('{"name":"woolentor/my-account-download","category":"woolentor-myaccount","title":"WL: My Account Download","description":"Display My Account Download.","keywords":["woolentor","My Account","Account","Account download","Dashboard download","download"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}}}}'),nR=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M6.5 20q-2.275 0-3.887-1.575Q1 16.85 1 14.575q0-1.95 1.175-3.475Q3.35 9.575 5.25 9.15q.425-1.8 2.125-3.425Q9.075 4.1 11 4.1q.825 0 1.413.587Q13 5.275 13 6.1v6.05l1.6-1.55L16 12l-4 4l-4-4l1.4-1.4l1.6 1.55V6.1q-1.9.35-2.95 1.837Q7 9.425 7 11h-.5q-1.45 0-2.475 1.025Q3 13.05 3 14.5q0 1.45 1.025 2.475Q5.05 18 6.5 18h12q1.05 0 1.775-.725Q21 16.55 21 15.5q0-1.05-.725-1.775Q19.55 13 18.5 13H17v-2q0-1.2-.55-2.238Q15.9 7.725 15 7V4.675q1.85.875 2.925 2.588Q19 8.975 19 11q1.725.2 2.863 1.487Q23 13.775 23 15.5q0 1.875-1.312 3.188Q20.375 20 18.5 20Zm5.5-8.95Z"}));var aR=rR.name,lR=rR.title,iR=rR.description,cR=rR.category,uR=rR.attributes,sR=rR.keywords,dR=rR.supports,mR={title:(0,te.__)(lR,"woolentor"),description:(0,te.__)(iR,"woolentor"),icon:React.createElement(oe.Icon,{icon:nR}),keywords:sR,supports:dR,attributes:uR,edit:oR,save:function(){return null}};const pR=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t),React.createElement(we.Fragment,null,React.createElement(tt,{tabs:["styles","advanced"]}),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Label","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Required Start Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Fieldset","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.fieldsetColor,onChange:function(e){return o({fieldsetColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.fieldsetBorderColor,onChange:function(e){return o({fieldsetBorderColor:e})}}))),React.createElement(ft,{title:(0,te.__)("Input Box","woolentor")},React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(oe.RangeControl,{label:(0,te.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:Ll,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Button","woolentor")},React.createElement(ct,{name:"button"},React.createElement(mt,{name:"normal"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:Ll,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o})),React.createElement(mt,{name:"hover"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function fR(e){return fR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fR(e)}function gR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bR(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yR(e,t){return yR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},yR(e,t)}function _R(e,t){if(t&&("object"===fR(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function RR(e){return RR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},RR(e)}var hR=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&yR(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=RR(r);if(n){var o=RR(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return _R(this,e)});function l(){return gR(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId,c=t.areaBGProperty;""==i&&a({blockUniqId:l});var u,s,d,m=st()((d=r,(s=r)in(u={})?Object.defineProperty(u,s,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[s]=d,u),"woolentorblock-my-account-edit","woolentorblock-my-account-edit-"+i),p=".woolentorblock-my-account-edit-"+i,f="\n ".concat(p," .woocommerce-EditAccountForm label{\n ").concat(Mo(t.labelColor,"color"),"\n ").concat(Mo(t.labelSize,"font-size"),"\n ").concat(Mo(t.labelAlignment,"text-align"),"\n ").concat(Io(t.labelMargin,"margin"),"\n }\n ").concat(p," .woocommerce-EditAccountForm label .required{\n ").concat(Mo(t.labelRequiredColor,"color"),"\n }\n ")+"\n ".concat(p," .woocommerce-EditAccountForm fieldset{\n ").concat(Mo(t.fieldsetColor,"color"),"\n ").concat(Mo(t.fieldsetBorderColor,"border-color"),"\n }\n ")+"\n ".concat(p," .woocommerce-EditAccountForm input{\n ").concat(Mo(t.inputBoxBGColor,"background-color"),"\n ").concat(Mo(t.inputBoxColor,"color"),"\n }\n ").concat(p," .woocommerce-EditAccountForm input{\n ").concat(Mo(t.inputBoxSize,"font-size"),"\n ").concat(""!=t.inputBoxHeight?Mo(t.inputBoxHeight,"height","px"):"","\n ").concat(""!=t.inputBoxBorderType?Mo(t.inputBoxBorderType,"border-style","!important"):"","\n ").concat(""!=t.inputBoxBorderType?Io(t.inputBoxBorderWidth,"border-width","!important"):"","\n ").concat(""!=t.inputBoxBorderType?Mo(t.inputBoxBorderColor,"border-color","!important"):"","\n ").concat(Io(t.inputBoxBorderRadius,"border-radius","!important"),"\n ").concat(Io(t.inputBoxPadding,"padding","!important"),"\n }\n ").concat(p," .woocommerce-EditAccountForm .form-row{\n ").concat(Io(t.inputBoxMargin,"margin"),"\n }\n ")+"\n ".concat(p," .woocommerce-EditAccountForm .woocommerce-Button{\n ").concat(Mo(t.submitBtnColor,"color"),"\n ").concat(Mo(t.submitBtnBGColor,"background-color"),"\n ").concat(Mo(t.submitBtnSize,"font-size"),"\n ").concat(""!=t.submitBtnBorderType?Mo(t.submitBtnBorderType,"border-style","!important"):"","\n ").concat(""!=t.submitBtnBorderType?Io(t.submitBtnBorderWidth,"border-width","!important"):"","\n ").concat(""!=t.submitBtnBorderType?Mo(t.submitBtnBorderColor,"border-color","!important"):"","\n ").concat(Io(t.submitBtnBorderRadius,"border-radius","!important"),"\n ").concat(Io(t.submitBtnPadding,"padding","!important"),"\n }\n\n ").concat(p," .woocommerce-EditAccountForm .woocommerce-Button:hover{\n ").concat(Mo(t.submitBtnHoverColor,"color"),"\n ").concat(Mo(t.submitBtnHoverBGColor,"background-color"),"\n ").concat(Mo(t.submitBtnHoverBorderColor,"border-color"),"\n }\n ");return React.createElement(we.Fragment,null,n&&React.createElement(pR,this.props),React.createElement("div",{className:m},React.createElement(Pm(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n ".concat(p,"{\n ").concat(Io(t.areaMargin.desktop,"margin"),"\n ").concat(Io(t.areaPadding.desktop,"padding"),"\n ").concat(Ho(c),"\n }\n ").concat(f,"\n ")))}}],o&&bR(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const wR=hR,ER=JSON.parse('{"name":"woolentor/my-account-edit","category":"woolentor-myaccount","title":"WL: My Account Edit","description":"Display My Account Edit.","keywords":["woolentor","My Account","Account","Account edit","Edit Account","edit"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm label .required { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm label { margin: {{labelMargin}}; }"}},"fieldsetColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm fieldset { color: {{fieldsetColor}}; }"}},"fieldsetBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm fieldset { border-color: {{fieldsetBorderColor}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { height: {{inputBoxHeight}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .form-row { margin: {{inputBoxMargin}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { padding: {{submitBtnPadding}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),vR=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M5 22q-.825 0-1.413-.587Q3 20.825 3 20V6q0-.825.587-1.412Q4.175 4 5 4h1V2h2v2h8V2h2v2h1q.825 0 1.413.588Q21 5.175 21 6v6h-2v-2H5v10h7v2Zm17.125-5L20 14.875l.725-.725q.275-.275.7-.275q.425 0 .7.275l.725.725q.275.275.275.7q0 .425-.275.7ZM14 23v-2.125l5.3-5.3l2.125 2.125l-5.3 5.3ZM5 8h14V6H5Zm0 0V6v2Z"}));var OR=ER.name,PR=ER.title,CR=ER.description,BR=ER.category,kR=ER.attributes,AR=ER.keywords,TR=ER.supports,WR={title:(0,te.__)(PR,"woolentor"),description:(0,te.__)(CR,"woolentor"),icon:React.createElement(oe.Icon,{icon:vR}),keywords:AR,supports:TR,attributes:kR,edit:wR,save:function(){return null}};const SR=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t),React.createElement(we.Fragment,null,React.createElement(tt,{tabs:["styles","advanced"]}),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Top Content","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.topContentColor,onChange:function(e){return o({topContentColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.topContentSize,fallbackFontSize:t.topContentSize,onChange:function(e){return o({topContentSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.topContentMargin,attributesKey:"topContentMargin",setAttributes:o})),React.createElement(ft,{title:(0,te.__)("Heading","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Link Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.headingLinkColor,onChange:function(e){return o({headingLinkColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Link Hover Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.headingLinkHoverColor,onChange:function(e){return o({headingLinkHoverColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.headingBGColor,onChange:function(e){return o({headingBGColor:e})}}))),React.createElement(ft,{title:(0,te.__)("Address","woolentor")},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.addressColor,onChange:function(e){return o({addressColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.addressBGColor,onChange:function(e){return o({addressBGColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.addressFontSize,fallbackFontSize:t.addressFontSize,onChange:function(e){return o({addressFontSize:e})}}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.addressPadding,attributesKey:"addressPadding",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"addressAlignment",justified:!0}))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor")},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(ft,{title:(0,te.__)("Background","woolentor")},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function xR(e){return xR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xR(e)}function zR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LR(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function NR(e,t){return NR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},NR(e,t)}function jR(e,t){if(t&&("object"===xR(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function MR(e){return MR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},MR(e)}var IR=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&NR(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=MR(r);if(n){var o=MR(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return jR(this,e)});function l(){return zR(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId,c=t.areaBGProperty;""==i&&a({blockUniqId:l});var u,s,d,m=st()((d=r,(s=r)in(u={})?Object.defineProperty(u,s,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[s]=d,u),"woolentorblock-my-account-address","woolentorblock-my-account-address-"+i),p=".woolentorblock-my-account-address-"+i,f="\n ".concat(p," .my-accouunt-form-edit-address p{\n ").concat(Mo(t.topContentColor,"color"),"\n ").concat(Mo(t.topContentSize,"font-size"),"\n ").concat(Io(t.topContentMargin,"margin"),"\n }\n ")+"\n ".concat(p," .woocommerce-Address-title{\n ").concat(Io(t.headingPadding,"padding"),"\n ").concat(Mo(t.headingBGColor,"background-color"),"\n }\n ").concat(p," .woocommerce-Address-title h3{\n ").concat(Mo(t.headingColor,"color"),"\n ").concat(Mo(t.headingSize,"font-size"),"\n ").concat(Io(t.headingMargin,"margin"),"\n }\n ").concat(p," .woocommerce-Address-title a{\n ").concat(Mo(t.headingLinkColor,"color"),"\n }\n ").concat(p," .woocommerce-Address-title a:hover{\n ").concat(Mo(t.headingLinkHoverColor,"color"),"\n }\n ")+"\n ".concat(p," address{\n ").concat(Mo(t.addressColor,"color"),"\n ").concat(Mo(t.addressBGColor,"background-color"),"\n ").concat(Mo(t.addressFontSize,"font-size"),"\n ").concat(Io(t.addressPadding,"padding"),"\n ").concat(Mo(t.addressAlignment,"text-align"),"\n }\n ");return React.createElement(we.Fragment,null,n&&React.createElement(SR,this.props),React.createElement("div",{className:m},React.createElement(Pm(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n ".concat(p,"{\n ").concat(Io(t.areaMargin.desktop,"margin"),"\n ").concat(Io(t.areaPadding.desktop,"padding"),"\n ").concat(Ho(c),"\n }\n ").concat(f,"\n ")))}}],o&&LR(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const HR=IR,FR=JSON.parse('{"name":"woolentor/my-account-address","category":"woolentor-myaccount","title":"WL: My Account Address","description":"Display My Account Address.","keywords":["woolentor","My Account","Account","Account address","Address"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"topContentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .my-accouunt-form-edit-address p { color: {{topContentColor}}; }"}},"topContentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .my-accouunt-form-edit-address p { font-size: {{topContentSize}}; }"}},"topContentMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .my-accouunt-form-edit-address p { margin: {{topContentMargin}}; }"}},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title h3 { color: {{headingColor}}; }"}},"headingLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title a { color: {{headingLinkColor}}; }"}},"headingLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title a:hover { color: {{headingLinkHoverColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title h3 { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title h3 { margin: {{headingMargin}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title { padding: {{headingPadding}}; }"}},"headingBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title { background-color: {{headingBGColor}} !important; }"}},"addressColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { color: {{addressColor}}; }"}},"addressBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { background-color: {{addressBGColor}}; }"}},"addressFontSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { font-size: {{addressFontSize}}; }"}},"addressPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} address { padding: {{addressPadding}}; }"}},"addressAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { text-align: {{addressAlignment}}; }"}}}}'),GR=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M11 11h2.1l6.2-6.2l-2.1-2.1L11 8.9Zm9-6.9l.7-.7q.3-.3.3-.7q0-.4-.3-.7l-.7-.7q-.3-.3-.7-.3q-.4 0-.7.3l-.7.7ZM12 22q-4.025-3.425-6.012-6.363Q4 12.7 4 10.2q0-3.75 2.413-5.975Q8.825 2 12 2q.675 0 1.338.112q.662.113 1.287.313L13 4.075q-.25-.05-.488-.063Q12.275 4 12 4Q9.475 4 7.737 5.737Q6 7.475 6 10.2q0 1.775 1.475 4.062Q8.95 16.55 12 19.35q3.05-2.8 4.525-5.088Q18 11.975 18 10.2q0-.3-.025-.588q-.025-.287-.075-.562l1.65-1.65q.225.65.338 1.35q.112.7.112 1.45q0 2.5-1.987 5.437Q16.025 18.575 12 22Zm.775-11.125Z"}));var DR=FR.name,qR=FR.title,KR=FR.description,UR=FR.category,QR=FR.attributes,VR=FR.keywords,YR=FR.supports,ZR={title:(0,te.__)(qR,"woolentor"),description:(0,te.__)(KR,"woolentor"),icon:React.createElement(oe.Icon,{icon:GR}),keywords:VR,supports:YR,attributes:QR,edit:HR,save:function(){return null}};const JR=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t),React.createElement(we.Fragment,null,React.createElement(tt,{tabs:["styles","advanced"]}),React.createElement(Xe,null,React.createElement(ft,{title:(0,te.__)("Heading","woolentor"),initialOpen:!1},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.headingBGColor,onChange:function(e){return o({headingBGColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.headingBorderType,options:Ll,onChange:function(e){return o({headingBorderType:e})}}),t.headingBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.headingBorderWidth,attributesKey:"headingBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.headingBorderColor,onChange:function(e){return o({headingBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0})),React.createElement(ft,{title:(0,te.__)("Table Cell","woolentor"),initialOpen:!1},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tableCellColor,onChange:function(e){return o({tableCellColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Link Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tableCellLinkColor,onChange:function(e){return o({tableCellLinkColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Link Hover Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tableCellLinkHoverColor,onChange:function(e){return o({tableCellLinkHoverColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tableCellBGColor,onChange:function(e){return o({tableCellBGColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableCellSize,fallbackFontSize:t.tableCellSize,onChange:function(e){return o({tableCellSize:e})}}),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.tableCellBorderType,options:Ll,onChange:function(e){return o({tableCellBorderType:e})}}),t.tableCellBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.tableCellBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.tableCellBorderColor,onChange:function(e){return o({tableCellBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.tableCellPadding,attributesKey:"tableCellPadding",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,te.__)("Alignment","woolentor"),attribute:"tableCellAlignment",justified:!0})),React.createElement(ft,{title:(0,te.__)("Action Button","woolentor"),initialOpen:!1},React.createElement(ct,{name:"button"},React.createElement(mt,{name:"normal"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,te.__)("Font size","woolentor")),React.createElement(oe.FontSizePicker,{fontSizes:[{name:(0,te.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,te.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,te.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(oe.SelectControl,{label:(0,te.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:Ll,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(zt,{lavel:(0,te.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(zt,{lavel:(0,te.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o})),React.createElement(mt,{name:"hover"},React.createElement(Ot,{label:(0,te.__)("Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Background Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(Ot,{label:(0,te.__)("Border Color","woolentor")},React.createElement(oe.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement($e,null,React.createElement(ft,{title:(0,te.__)("Dimension","woolentor"),initialOpen:!1},React.createElement(zt,{lavel:(0,te.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(zt,{lavel:(0,te.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(ft,{title:(0,te.__)("Background","woolentor"),initialOpen:!1},React.createElement(bo,{title:(0,te.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function XR(e){return XR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},XR(e)}function $R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eh(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function th(e,t){return th=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},th(e,t)}function oh(e,t){if(t&&("object"===XR(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function rh(e){return rh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},rh(e)}var nh=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&th(e,t)}(l,e);var t,o,r,n,a=(r=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=rh(r);if(n){var o=rh(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return oh(this,e)});function l(){return $R(this,l),a.apply(this,arguments)}return t=l,o=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId,c=t.areaBGProperty;""==i&&a({blockUniqId:l});var u,s,d,m=st()((d=r,(s=r)in(u={})?Object.defineProperty(u,s,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[s]=d,u),"woolentorblock-my-account-order","woolentorblock-my-account-order-"+i),p=".woolentorblock-my-account-order-"+i,f="\n ".concat(p," .shop_table thead th{\n ").concat(Mo(t.headingColor,"color"),"\n ").concat(Mo(t.headingBGColor,"background-color"),"\n ").concat(Mo(t.headingSize,"font-size"),"\n ").concat(Io(t.headingPadding,"padding"),"\n ").concat(""!=t.headingBorderType?Mo(t.headingBorderType,"border-style","!important"):"","\n ").concat(""!=t.headingBorderType?Io(t.headingBorderWidth,"border-width","!important"):"","\n ").concat(""!=t.headingBorderType?Mo(t.headingBorderColor,"border-color","!important"):"","\n ").concat(Mo(t.headingAlignment,"text-align"),"\n }\n ")+"\n ".concat(p," .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell{\n ").concat(Mo(t.tableCellColor,"color"),"\n ").concat(Mo(t.tableCellBGColor,"background-color"),"\n ").concat(Mo(t.tableCellSize,"font-size"),"\n ").concat(""!=t.tableCellBorderType?Mo(t.tableCellBorderType,"border-style","!important"):"","\n ").concat(""!=t.tableCellBorderType?Io(t.tableCellBorderWidth,"border-width","!important"):"","\n ").concat(""!=t.tableCellBorderType?Mo(t.tableCellBorderColor,"border-color","!important"):"","\n ").concat(Io(t.tableCellPadding,"padding","!important"),"\n ").concat(Mo(t.tableCellAlignment,"text-align"),"\n }\n ").concat(p," .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a{\n ").concat(Mo(t.tableCellLinkColor,"color"),"\n }\n ").concat(p," .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a:hover{\n ").concat(Mo(t.tableCellLinkHoverColor,"color"),"\n }\n ")+"\n ".concat(p," .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce ").concat(p," .woocommerce-button--next{\n ").concat(Mo(t.submitBtnColor,"color"),"\n ").concat(Mo(t.submitBtnBGColor,"background-color"),"\n ").concat(Mo(t.submitBtnSize,"font-size"),"\n ").concat(""!=t.submitBtnBorderType?Mo(t.submitBtnBorderType,"border-style","!important"):"","\n ").concat(""!=t.submitBtnBorderType?Io(t.submitBtnBorderWidth,"border-width","!important"):"","\n ").concat(""!=t.submitBtnBorderType?Mo(t.submitBtnBorderColor,"border-color","!important"):"","\n ").concat(Io(t.submitBtnBorderRadius,"border-radius","!important"),"\n ").concat(Io(t.submitBtnPadding,"padding","!important"),"\n }\n\n ").concat(p," .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button:hover,.woocommerce ").concat(p," .woocommerce-button--next:hover{\n ").concat(Mo(t.submitBtnHoverColor,"color"),"\n ").concat(Mo(t.submitBtnHoverBGColor,"background-color"),"\n ").concat(Mo(t.submitBtnHoverBorderColor,"border-color"),"\n }\n ");return React.createElement(we.Fragment,null,n&&React.createElement(JR,this.props),React.createElement("div",{className:m},React.createElement(Pm(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n ".concat(p,"{\n ").concat(Io(t.areaMargin.desktop,"margin"),"\n ").concat(Io(t.areaPadding.desktop,"padding"),"\n ").concat(Ho(c),"\n }\n ").concat(f,"\n ")))}}],o&&eh(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(we.Component);const ah=nh,lh=JSON.parse('{"name":"woolentor/my-account-order","category":"woolentor-myaccount","title":"WL: My Account Order","description":"Display My Account Order.","keywords":["woolentor","My Account","Account","Account order","Order"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { color: {{headingColor}}; }"}},"headingBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { background-color: {{headingBGColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { font-size: {{headingSize}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { padding: {{headingPadding}}; }"}},"headingBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { border-style: {{headingBorderType}}!important; }"}},"headingBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { border-width: {{headingBorderWidth}}!important; }"}},"headingBorderColor":{"type":"string","style":{"dependency":[[{"k