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.7

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.7
Comparing to
See all releases

Code changes from version 2.4.6 to 2.4.7

assets/js/single_product_ajax_add_to_cart.js CHANGED
@@ -53,7 +53,7 @@
53
 
54
  $.ajax({
55
  type: 'post',
56
- url: wc_add_to_cart_params.ajax_url,
57
  data: alldata,
58
 
59
  beforeSend: function (response) {
53
 
54
  $.ajax({
55
  type: 'post',
56
+ url: '/?wc-ajax=woolentor_single_insert_to_cart',
57
  data: alldata,
58
 
59
  beforeSend: function (response) {
classes/class.ajax_actions.php CHANGED
@@ -30,8 +30,7 @@ class Woolentor_Ajax_Action{
30
  add_action( 'wp_ajax_nopriv_woolentor_insert_to_cart', [ $this, 'insert_to_cart' ] );
31
 
32
  // For Single Product ajax add to cart
33
- add_action( 'wp_ajax_woolentor_single_insert_to_cart', [ $this, 'single_product_insert_to_cart' ] );
34
- add_action( 'wp_ajax_nopriv_woolentor_single_insert_to_cart', [ $this, 'single_product_insert_to_cart' ] );
35
 
36
  // For Quickview
37
  add_action( 'wp_ajax_woolentor_quickview', [ '\WooLentor\Quick_View_Manager', 'wc_quickview' ] );
30
  add_action( 'wp_ajax_nopriv_woolentor_insert_to_cart', [ $this, 'insert_to_cart' ] );
31
 
32
  // For Single Product ajax add to cart
33
+ add_action( 'wc_ajax_woolentor_single_insert_to_cart', [ $this, 'single_product_insert_to_cart' ] );
 
34
 
35
  // For Quickview
36
  add_action( 'wp_ajax_woolentor_quickview', [ '\WooLentor\Quick_View_Manager', 'wc_quickview' ] );
includes/addons/product_flash_sale.php CHANGED
@@ -1179,7 +1179,7 @@ class Woolentor_Product_Flash_Sale_Widget extends Widget_Base {
1179
  ?>
1180
 
1181
  <li>
1182
- <a href="javascript:void(0);" class="woolentor-flash-product-action-btn woolentorquickview" data-quick-id="<?php echo esc_attr($product_id);?>" >
1183
  <i class="fa fa-eye"></i>
1184
  </a>
1185
  </li>
1179
  ?>
1180
 
1181
  <li>
1182
+ <a href="#" class="woolentor-flash-product-action-btn woolentorquickview" data-quick-id="<?php echo esc_attr($product_id);?>" >
1183
  <i class="fa fa-eye"></i>
1184
  </a>
1185
  </li>
includes/addons/universal_product.php CHANGED
@@ -2405,7 +2405,7 @@ class Woolentor_Universal_Product_Widget extends Widget_Base {
2405
  <div class="ht-product-action">
2406
  <ul <?php echo $this->get_render_attribute_string( 'action_btn_attr' ); ?>>
2407
  <li>
2408
- <a href="javascript:void(0);" class="woolentorquickview" data-quick-id="<?php the_ID();?>" >
2409
  <i class="sli sli-magnifier"></i>
2410
  <span class="ht-product-action-tooltip"><?php esc_html_e('Quick View','woolentor'); ?></span>
2411
  </a>
@@ -2450,7 +2450,7 @@ class Woolentor_Universal_Product_Widget extends Widget_Base {
2450
  <div class="ht-product-action">
2451
  <ul <?php echo $this->get_render_attribute_string( 'action_btn_attr' ); ?>>
2452
  <li>
2453
- <a href="javascript:void(0);" class="woolentorquickview" data-quick-id="<?php the_ID();?>" >
2454
  <i class="sli sli-magnifier"></i>
2455
  <span class="ht-product-action-tooltip"><?php esc_html_e('Quick View','woolentor'); ?></span>
2456
  </a>
@@ -2598,7 +2598,7 @@ class Woolentor_Universal_Product_Widget extends Widget_Base {
2598
  <div class="ht-product-action">
2599
  <ul <?php echo $this->get_render_attribute_string( 'action_btn_attr' ); ?>>
2600
  <li>
2601
- <a href="javascript:void(0);" class="woolentorquickview" data-quick-id="<?php the_ID();?>" >
2602
  <i class="sli sli-magnifier"></i>
2603
  <span class="ht-product-action-tooltip"><?php esc_html_e('Quick View','woolentor'); ?></span>
2604
  </a>
@@ -2643,7 +2643,7 @@ class Woolentor_Universal_Product_Widget extends Widget_Base {
2643
  <div class="ht-product-action">
2644
  <ul <?php echo $this->get_render_attribute_string( 'action_btn_attr' ); ?>>
2645
  <li>
2646
- <a href="javascript:void(0);" class="woolentorquickview" data-quick-id="<?php the_ID();?>" >
2647
  <i class="sli sli-magnifier"></i>
2648
  <span class="ht-product-action-tooltip"><?php esc_html_e('Quick View','woolentor'); ?></span>
2649
  </a>
2405
  <div class="ht-product-action">
2406
  <ul <?php echo $this->get_render_attribute_string( 'action_btn_attr' ); ?>>
2407
  <li>
2408
+ <a href="#" class="woolentorquickview" data-quick-id="<?php the_ID();?>" >
2409
  <i class="sli sli-magnifier"></i>
2410
  <span class="ht-product-action-tooltip"><?php esc_html_e('Quick View','woolentor'); ?></span>
2411
  </a>
2450
  <div class="ht-product-action">
2451
  <ul <?php echo $this->get_render_attribute_string( 'action_btn_attr' ); ?>>
2452
  <li>
2453
+ <a href="#" class="woolentorquickview" data-quick-id="<?php the_ID();?>" >
2454
  <i class="sli sli-magnifier"></i>
2455
  <span class="ht-product-action-tooltip"><?php esc_html_e('Quick View','woolentor'); ?></span>
2456
  </a>
2598
  <div class="ht-product-action">
2599
  <ul <?php echo $this->get_render_attribute_string( 'action_btn_attr' ); ?>>
2600
  <li>
2601
+ <a href="#" class="woolentorquickview" data-quick-id="<?php the_ID();?>" >
2602
  <i class="sli sli-magnifier"></i>
2603
  <span class="ht-product-action-tooltip"><?php esc_html_e('Quick View','woolentor'); ?></span>
2604
  </a>
2643
  <div class="ht-product-action">
2644
  <ul <?php echo $this->get_render_attribute_string( 'action_btn_attr' ); ?>>
2645
  <li>
2646
+ <a href="#" class="woolentorquickview" data-quick-id="<?php the_ID();?>" >
2647
  <i class="sli sli-magnifier"></i>
2648
  <span class="ht-product-action-tooltip"><?php esc_html_e('Quick View','woolentor'); ?></span>
2649
  </a>
includes/addons/wl_product_filter.php CHANGED
@@ -976,10 +976,11 @@ class Woolentor_Wl_Product_Filter_Widget extends Widget_Base {
976
  <script type="text/javascript">
977
  ;jQuery(document).ready(function($) {
978
  'use strict';
979
- var current_url = '<?php echo $current_url.'?wlfilter=1'; ?>';
 
980
  $('.wl_order_by_filter select,.wl_sort_by_filter select').on('change', function () {
981
  var sort_key = $(this).val();
982
- if ( sort_key ) {
983
  window.location = current_url + sort_key;
984
  }
985
  return false;
976
  <script type="text/javascript">
977
  ;jQuery(document).ready(function($) {
978
  'use strict';
979
+ var current_url = '<?php echo $current_url.'?wlfilter=1'; ?>',
980
+ isEditorMode = '<?php echo woolentor_is_preview_mode(); ?>';
981
  $('.wl_order_by_filter select,.wl_sort_by_filter select').on('change', function () {
982
  var sort_key = $(this).val();
983
+ if ( sort_key && ( isEditorMode != true ) ) {
984
  window.location = current_url + sort_key;
985
  }
986
  return false;
includes/addons/wl_product_horizontal_filter.php CHANGED
@@ -1102,7 +1102,8 @@ class Woolentor_Wl_Product_Horizontal_Filter_Widget extends Widget_Base {
1102
  ;jQuery(document).ready(function($) {
1103
  'use strict';
1104
 
1105
- var id = '<?php echo $id; ?>';
 
1106
 
1107
  // Localize Text
1108
  var selectTxt = '<?php echo esc_html__( 'select', 'woolentor' ); ?>',
@@ -1138,7 +1139,7 @@ class Woolentor_Wl_Product_Horizontal_Filter_Widget extends Widget_Base {
1138
  var current_url = '<?php echo $current_url.'?wlfilter=1'; ?>';
1139
  $('.woolentor-filter-single-item select.woolentor-onchange-single-item').on('change', function () {
1140
  var sort_key = $(this).val();
1141
- if ( sort_key ) {
1142
  window.location = current_url + sort_key;
1143
  }
1144
  return false;
@@ -1151,7 +1152,7 @@ class Woolentor_Wl_Product_Horizontal_Filter_Widget extends Widget_Base {
1151
  max_price = selected.data('max_price'),
1152
  location = min_price + max_price;
1153
 
1154
- if ( location ) {
1155
  window.location = current_url + location;
1156
  }
1157
 
@@ -1164,7 +1165,7 @@ class Woolentor_Wl_Product_Horizontal_Filter_Widget extends Widget_Base {
1164
  var currentlySelected = $(this).val();
1165
  if( currentlySelected != null ){
1166
 
1167
- if( currentlySelected.length == 0 ){
1168
  window.location = current_url;
1169
  }else{
1170
  var newSelections = currentlySelected.filter(function (element) {
@@ -1175,13 +1176,15 @@ class Woolentor_Wl_Product_Horizontal_Filter_Widget extends Widget_Base {
1175
  // If there are multiple new selections, we'll take the last in the list
1176
  var lastSelected = newSelections.reverse()[0];
1177
  }
1178
- if ( lastSelected ) {
1179
  window.location = lastSelected;
1180
  }
1181
  }
1182
 
1183
  }else{
1184
- window.location = current_url;
 
 
1185
  }
1186
  return false;
1187
  });
1102
  ;jQuery(document).ready(function($) {
1103
  'use strict';
1104
 
1105
+ var id = '<?php echo $id; ?>',
1106
+ isEditorMode = '<?php echo woolentor_is_preview_mode(); ?>';
1107
 
1108
  // Localize Text
1109
  var selectTxt = '<?php echo esc_html__( 'select', 'woolentor' ); ?>',
1139
  var current_url = '<?php echo $current_url.'?wlfilter=1'; ?>';
1140
  $('.woolentor-filter-single-item select.woolentor-onchange-single-item').on('change', function () {
1141
  var sort_key = $(this).val();
1142
+ if ( sort_key && ( isEditorMode != true ) ) {
1143
  window.location = current_url + sort_key;
1144
  }
1145
  return false;
1152
  max_price = selected.data('max_price'),
1153
  location = min_price + max_price;
1154
 
1155
+ if ( location && ( isEditorMode != true ) ) {
1156
  window.location = current_url + location;
1157
  }
1158
 
1165
  var currentlySelected = $(this).val();
1166
  if( currentlySelected != null ){
1167
 
1168
+ if( currentlySelected.length == 0 && ( isEditorMode != true ) ){
1169
  window.location = current_url;
1170
  }else{
1171
  var newSelections = currentlySelected.filter(function (element) {
1176
  // If there are multiple new selections, we'll take the last in the list
1177
  var lastSelected = newSelections.reverse()[0];
1178
  }
1179
+ if ( lastSelected && ( isEditorMode != true ) ) {
1180
  window.location = lastSelected;
1181
  }
1182
  }
1183
 
1184
  }else{
1185
+ if(isEditorMode != true){
1186
+ window.location = current_url;
1187
+ }
1188
  }
1189
  return false;
1190
  });
includes/admin/admin-init.php CHANGED
@@ -53,6 +53,9 @@ class Woolentor_Admin_Init{
53
  add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_scripts' ] );
54
  Woolentor_Admin_Fields_Manager::instance()->init();
55
 
 
 
 
56
  add_action( 'admin_footer', [ $this, 'print_module_setting_popup' ], 99 );
57
 
58
  add_action( 'wp_ajax_woolentor_save_opt_data', [ $this, 'save_data' ] );
@@ -65,6 +68,7 @@ class Woolentor_Admin_Init{
65
  * @return [void]
66
  */
67
  public function include(){
 
68
  require_once('include/diagnostic-data.php');
69
  require_once('include/admin_field-manager.php');
70
  require_once('include/admin_fields.php');
@@ -166,6 +170,42 @@ class Woolentor_Admin_Init{
166
  }
167
  }
168
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
169
  /**
170
  * [load_template] Template load
171
  * @param [string] $template template suffix
53
  add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_scripts' ] );
54
  Woolentor_Admin_Fields_Manager::instance()->init();
55
 
56
+ // Dashboard Widget.
57
+ add_action( 'wp_dashboard_setup', [ $this, 'dashboard_widget' ], 9999 );
58
+
59
  add_action( 'admin_footer', [ $this, 'print_module_setting_popup' ], 99 );
60
 
61
  add_action( 'wp_ajax_woolentor_save_opt_data', [ $this, 'save_data' ] );
68
  * @return [void]
69
  */
70
  public function include(){
71
+ require_once( WOOLENTOR_ADDONS_PL_PATH .'includes/api.php');
72
  require_once('include/diagnostic-data.php');
73
  require_once('include/admin_field-manager.php');
74
  require_once('include/admin_fields.php');
170
  }
171
  }
172
 
173
+ /**
174
+ * [dashboard_widget] Register Dashboard Widget
175
+ * @return [void]
176
+ */
177
+ public function dashboard_widget() {
178
+ wp_add_dashboard_widget(
179
+ 'hasthemes-dashboard-stories',
180
+ esc_html__( 'HasThemes Stories', 'woolentor' ),
181
+ [ $this, 'dashboard_hasthemes_widget' ]
182
+ );
183
+
184
+ // Metaboxes Array.
185
+ global $wp_meta_boxes;
186
+
187
+ $dashboard_widget_list = $wp_meta_boxes['dashboard']['normal']['core'];
188
+
189
+ $hastheme_dashboard_widget = [
190
+ 'hasthemes-dashboard-stories' => $dashboard_widget_list['hasthemes-dashboard-stories']
191
+ ];
192
+
193
+ $all_dashboard_widget = array_merge( $hastheme_dashboard_widget, $dashboard_widget_list );
194
+
195
+ $wp_meta_boxes['dashboard']['normal']['core'] = $all_dashboard_widget;
196
+
197
+ }
198
+
199
+ /**
200
+ * [dashboard_hasthemes_widget] Dashboard Stories Widget
201
+ * @return [void]
202
+ */
203
+ public function dashboard_hasthemes_widget() {
204
+ ob_start();
205
+ self::load_template('widget');
206
+ echo ob_get_clean();
207
+ }
208
+
209
  /**
210
  * [load_template] Template load
211
  * @param [string] $template template suffix
includes/admin/assets/images/helping-screenshot.png CHANGED
Binary file
includes/admin/include/class.extension-manager.php CHANGED
@@ -53,6 +53,7 @@ class Woolentor_Extension_Manager{
53
 
54
  $prepare_plugin = array();
55
  foreach ( $org_plugins_list as $key => $plugin ) {
 
56
  $prepare_plugin[$plugin['slug']] = $plugin;
57
  }
58
 
53
 
54
  $prepare_plugin = array();
55
  foreach ( $org_plugins_list as $key => $plugin ) {
56
+ $plugin = (array) $plugin;
57
  $prepare_plugin[$plugin['slug']] = $plugin;
58
  }
59
 
includes/admin/templates/dashboard-sidebar.php CHANGED
@@ -12,7 +12,6 @@
12
  <li><?php echo esc_html__('15 Product Custom Templates','woolentor'); ?></li>
13
  <li><?php echo esc_html__('10 Custom Shop Page Templates','woolentor'); ?></li>
14
  <li><?php echo esc_html__('Cart Page, Checkout, My Account, Registration and Thank you page custom layout template','woolentor'); ?></li>
15
- <li><?php echo esc_html__('5 Premium WooCommerce Themes included. (Save $200)','woolentor'); ?></li>
16
  </ul>
17
  <a href="https://woolentor.com/?utm_source=admin&utm_medium=notice&utm_campaign=free" class="woolentor-pro-banner-btn" target="_blank"><?php echo esc_html__('Get Pro Now','woolentor'); ?><span class="icon">+</span></a>
18
  </div>
12
  <li><?php echo esc_html__('15 Product Custom Templates','woolentor'); ?></li>
13
  <li><?php echo esc_html__('10 Custom Shop Page Templates','woolentor'); ?></li>
14
  <li><?php echo esc_html__('Cart Page, Checkout, My Account, Registration and Thank you page custom layout template','woolentor'); ?></li>
 
15
  </ul>
16
  <a href="https://woolentor.com/?utm_source=admin&utm_medium=notice&utm_campaign=free" class="woolentor-pro-banner-btn" target="_blank"><?php echo esc_html__('Get Pro Now','woolentor'); ?><span class="icon">+</span></a>
17
  </div>
includes/admin/templates/dashboard-widget.php ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
2
+ <style>
3
+ .hastheme-header-title {
4
+ width: 100%;
5
+ -webkit-box-shadow: 0 5px 8px rgba(0,0,0,.05);
6
+ box-shadow: 0 5px 8px rgba(0,0,0,.05);
7
+ margin: 0 -12px 8px;
8
+ padding: 0 12px 12px;
9
+ text-decoration: none;
10
+ color: #23282d;
11
+ font-size: 14px;
12
+ }
13
+ .hastheme-header-title a {
14
+ text-decoration: none;
15
+ color: #23282d;
16
+ font-size: 14px;
17
+ }
18
+ .hastheme-dashboard-widget-header img {
19
+ width: 100%;
20
+ }
21
+ .hastheme-dashboard-widget-newsfeed ul li{
22
+ margin: 10px 0;
23
+ }
24
+ .hastheme-dashboard-widget-newsfeed ul li .hastheme-dashboard-widget-newsfeed-item-title a{
25
+ font-size: 14px;
26
+ margin-bottom: 3px;
27
+ display: inline-block;
28
+ }
29
+ .hastheme-dashboard-widget-newsfeed-item-description {
30
+ margin: 0 0 1.2em;
31
+ }
32
+ .hastheme-dashboard-widget-footer {
33
+ border-top: 1px solid #eee;
34
+ margin: 0 -12px;
35
+ padding: 12px 6px 0 12px;
36
+ }
37
+ .hastheme-dashboard-widget-footer ul {
38
+ display: -webkit-box;
39
+ display: -ms-flexbox;
40
+ display: flex;
41
+ list-style: none;
42
+ margin: 0;
43
+ padding: 0;
44
+ }
45
+ .hastheme-dashboard-widget-footer ul li {
46
+ padding: 0 10px;
47
+ margin: 0;
48
+ border-left: 1px solid #ddd;
49
+ }
50
+ .hastheme-dashboard-widget-footer ul li:first-child {
51
+ padding-left: 0;
52
+ border: none;
53
+ }
54
+ .hastheme-dashboard-widget-footer ul li a{
55
+ text-decoration: none;
56
+ }
57
+ </style>
58
+
59
+ <?php $info_data = Woolentor_Api::get_remote_data(); ?>
60
+ <div class="hastheme-dashboard-widget-area">
61
+ <div class="hastheme-dashboard-widget-header">
62
+ <?php
63
+ if ( ! empty( $info_data['banner'] ) ){
64
+ echo wp_kses_post( $info_data['banner'] );
65
+ }
66
+ ?>
67
+ </div>
68
+ <?php if ( ! empty( $info_data['feed'] ) ) : ?>
69
+ <div class="hastheme-dashboard-widget-newsfeed">
70
+ <ul>
71
+ <?php foreach ( $info_data['feed'] as $feed ) : if( $feed['status'] == '0' ) continue; ?>
72
+ <li class="hastheme-dashboard-widget-newsfeed-item">
73
+ <div class="hastheme-dashboard-widget-newsfeed-item-title">
74
+ <a target="_blank" href="<?php echo esc_url( $feed['url'] ); ?>"><?php echo esc_html( $feed['title'] ); ?></a>
75
+ </div>
76
+ <div class="hastheme-dashboard-widget-newsfeed-item-description">
77
+ <?php echo wp_kses_post( $feed['description'] ); ?>
78
+ </div>
79
+ </li>
80
+ <?php endforeach; ?>
81
+ </ul>
82
+ </div>
83
+ <?php endif; ?>
84
+ <div class="hastheme-dashboard-widget-footer">
85
+ <ul>
86
+ <li>
87
+ <a href="https://hasthemes.com/blog/" target="_blank">
88
+ <?php esc_html_e( 'Blog', 'woolentor' ); ?>
89
+ <span aria-hidden="true" class="dashicons dashicons-external"></span>
90
+ </a>
91
+ </li>
92
+ <li>
93
+ <a href="https://woolentor.com/documentation/" target="_blank">
94
+ <?php esc_html_e( 'Documentation', 'woolentor' ); ?>
95
+ <span aria-hidden="true" class="dashicons dashicons-external"></span>
96
+ </a>
97
+ </li>
98
+ <li>
99
+ <a href="https://woolentor.com/contact/" target="_blank">
100
+ <?php esc_html_e( 'Support', 'woolentor' ); ?>
101
+ <span aria-hidden="true" class="dashicons dashicons-external"></span>
102
+ </a>
103
+ </li>
104
+ </ul>
105
+ </div>
106
+ </div>
includes/api.php ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if( ! defined( 'ABSPATH' ) ) exit(); // Exit if accessed directly
3
+
4
+ class Woolentor_Api{
5
+
6
+ /**
7
+ * Define nessesary variables
8
+ */
9
+ const NEWS_FEED_OPTION_KEY = 'woolentor_info_news_feed_data';
10
+ const TRANSIENT_KEY_PREFIX = 'woolentor_info_api_data';
11
+
12
+ /**
13
+ * Info API URL
14
+ */
15
+ public static $api_url = 'https://woolentor.com/library/wp-json/woolentor/v1/info';
16
+
17
+ /**
18
+ * Get API data
19
+ */
20
+ private static function get_info_data( $force_update = false ) {
21
+ $cache_key = self::TRANSIENT_KEY_PREFIX;
22
+
23
+ $info_data = get_transient( $cache_key );
24
+
25
+ if ( $force_update || false === $info_data ) {
26
+ $timeout = ( $force_update ) ? 25 : 8;
27
+
28
+ $response = wp_remote_get( self::$api_url, [
29
+ 'timeout' => $timeout,
30
+ 'body' => [
31
+ 'api_version' => WOOLENTOR_VERSION,
32
+ 'site_lang' => get_bloginfo( 'language' ),
33
+ ],
34
+ ] );
35
+
36
+ if ( is_wp_error( $response ) || 200 !== (int) wp_remote_retrieve_response_code( $response ) ) {
37
+ set_transient( $cache_key, [], 2 * HOUR_IN_SECONDS );
38
+ return false;
39
+ }
40
+
41
+ $info_data = json_decode( wp_remote_retrieve_body( $response ), true );
42
+
43
+ if ( empty( $info_data ) || ! is_array( $info_data ) ) {
44
+ set_transient( $cache_key, [], 2 * HOUR_IN_SECONDS );
45
+ return false;
46
+ }
47
+
48
+ if ( isset( $info_data['info'] ) ) {
49
+ update_option( self::NEWS_FEED_OPTION_KEY, $info_data['info'], 'no' );
50
+ unset( $info_data['info'] );
51
+ }
52
+
53
+ set_transient( $cache_key, $info_data, 2 * (24 * HOUR_IN_SECONDS) );
54
+ }
55
+
56
+ return $info_data;
57
+ }
58
+
59
+ /**
60
+ * Get news feed data.
61
+ * Retrieve the feed info data from remote woolentor server.
62
+ *
63
+ * @param bool $force_update Optional. Whether to force the data update.
64
+ * @return array News Feed data.
65
+ */
66
+ public static function get_remote_data( $force_update = false ) {
67
+ self::get_info_data( $force_update );
68
+ $feed = get_option( self::NEWS_FEED_OPTION_KEY );
69
+ return empty( $feed ) ? [] : $feed;
70
+ }
71
+
72
+ }
includes/modules/shopify-like-checkout/assets/shopify-like-checkout.css CHANGED
@@ -551,14 +551,14 @@
551
  display: block;
552
  }
553
 
554
- .woocommerce-input-wrapper .input-text:placeholder-shown + label{
555
  white-space: nowrap;
556
  overflow: hidden;
557
  text-overflow: ellipsis;
558
  top: 16px;
559
  color: #737373;
560
  }
561
- .woolentor-checkout__box .input-text:-moz-placeholder-shown + label {
562
  white-space: nowrap;
563
  overflow: hidden;
564
  text-overflow: ellipsis;
@@ -566,7 +566,7 @@
566
  color: #737373;
567
  }
568
 
569
- .woolentor-checkout__box .input-text:-ms-input-placeholder + label {
570
  white-space: nowrap;
571
  overflow: hidden;
572
  text-overflow: ellipsis;
@@ -574,7 +574,7 @@
574
  color: #737373;
575
  }
576
 
577
- .woolentor-checkout__box .input-text:placeholder-shown + label {
578
  white-space: nowrap;
579
  overflow: hidden;
580
  text-overflow: ellipsis;
@@ -583,18 +583,18 @@
583
  line-height: 1;
584
  }
585
 
586
- .woolentor-checkout__box .input-text:not(:-moz-placeholder-shown) + label {
587
  top: 5px;
588
  cursor: pointer;
589
  }
590
 
591
- .woolentor-checkout__box .input-text:not(:-ms-input-placeholder) + label {
592
  top: 5px;
593
  cursor: pointer;
594
  }
595
 
596
- .woolentor-checkout__box .input-text:not(:placeholder-shown) + label,
597
- .woolentor-checkout__box .input-text:focus + label {
598
  top: 5px;
599
  cursor: pointer;
600
  line-height: 1.5;
@@ -1009,6 +1009,10 @@
1009
  float: left;
1010
  }
1011
 
 
 
 
 
1012
  .woolentor-checkout__shipping-method th {
1013
  display: none;
1014
  }
551
  display: block;
552
  }
553
 
554
+ .woocommerce-input-wrapper .input-text:placeholder-shown ~ label{
555
  white-space: nowrap;
556
  overflow: hidden;
557
  text-overflow: ellipsis;
558
  top: 16px;
559
  color: #737373;
560
  }
561
+ .woolentor-checkout__box .input-text:-moz-placeholder-shown ~ label {
562
  white-space: nowrap;
563
  overflow: hidden;
564
  text-overflow: ellipsis;
566
  color: #737373;
567
  }
568
 
569
+ .woolentor-checkout__box .input-text:-ms-input-placeholder ~ label {
570
  white-space: nowrap;
571
  overflow: hidden;
572
  text-overflow: ellipsis;
574
  color: #737373;
575
  }
576
 
577
+ .woolentor-checkout__box .input-text:placeholder-shown ~ label {
578
  white-space: nowrap;
579
  overflow: hidden;
580
  text-overflow: ellipsis;
583
  line-height: 1;
584
  }
585
 
586
+ .woolentor-checkout__box .input-text:not(:-moz-placeholder-shown) ~ label {
587
  top: 5px;
588
  cursor: pointer;
589
  }
590
 
591
+ .woolentor-checkout__box .input-text:not(:-ms-input-placeholder) ~ label {
592
  top: 5px;
593
  cursor: pointer;
594
  }
595
 
596
+ .woolentor-checkout__box .input-text:not(:placeholder-shown) ~ label,
597
+ .woolentor-checkout__box .input-text:focus ~ label {
598
  top: 5px;
599
  cursor: pointer;
600
  line-height: 1.5;
1009
  float: left;
1010
  }
1011
 
1012
+ .woolentor-checkout__box .form-row.form-row-wide:is(.create-account){
1013
+ float: none;
1014
+ }
1015
+
1016
  .woolentor-checkout__shipping-method th {
1017
  display: none;
1018
  }
includes/modules/shopify-like-checkout/class.shopify-like-checkout.php CHANGED
@@ -455,12 +455,8 @@ class Woolentor_Shopify_Like_Checkout extends \WC_Checkout{
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 ) {
@@ -529,7 +525,9 @@ class Woolentor_Shopify_Like_Checkout extends \WC_Checkout{
529
  </div>
530
  </div>
531
  <div class="woolentor-checkout__product-price-box">
532
- <span class="woolentor-checkout__product-price"><?php echo wp_kses_post(wc_price($_product->get_price())) ?></span>
 
 
533
  </div>
534
  </div>
535
  <!-- Single product End -->
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 ) {
525
  </div>
526
  </div>
527
  <div class="woolentor-checkout__product-price-box">
528
+ <span class="woolentor-checkout__product-price">
529
+ <?php echo apply_filters( 'woocommerce_cart_item_subtotal', WC()->cart->get_product_subtotal( $_product, 1 ), $cart_item, $cart_item_key ); ?>
530
+ </span>
531
  </div>
532
  </div>
533
  <!-- Single product End -->
includes/modules/shopify-like-checkout/templates/form-checkout.php CHANGED
@@ -170,6 +170,11 @@ $labels = apply_filters( 'woolentor_slc_labels', $labels );
170
  </div>
171
  <?php endif; ?>
172
 
 
 
 
 
 
173
  <form name="checkout" method="post" class="checkout woocommerce-checkout" action="<?php echo esc_url( wc_get_checkout_url() ); ?>" enctype="multipart/form-data">
174
 
175
  <?php if( is_user_logged_in() ): ?>
@@ -201,6 +206,9 @@ $labels = apply_filters( 'woolentor_slc_labels', $labels );
201
 
202
  <?php if( !$hide_shipping_step ): ?>
203
  <div class="woolentor-checkout__section woolentor-step--shipping">
 
 
 
204
  <div class="woolentor-checkout__section-header">
205
  <h2 class="woolentor-checkout__section-title">
206
  <?php echo esc_html($labels['shipping_method']) ?>
@@ -211,6 +219,8 @@ $labels = apply_filters( 'woolentor_slc_labels', $labels );
211
  <?php wc_cart_totals_shipping_html(); ?>
212
  </tbody>
213
  </table>
 
 
214
  </div>
215
  <?php endif; ?>
216
 
@@ -301,6 +311,9 @@ $labels = apply_filters( 'woolentor_slc_labels', $labels );
301
  <?php endif; ?>
302
 
303
  <div class="woolentor-checkout__step-footer step--payment woolentor-footer--3">
 
 
 
304
  <div>
305
  <?php
306
  $order_button_text = apply_filters( 'woocommerce_order_button_text', $labels['place_order'] );
@@ -309,6 +322,9 @@ $labels = apply_filters( 'woolentor_slc_labels', $labels );
309
 
310
  <a href="#" data-step="step--<?php echo esc_attr($steps[2]['target_2']) ?>" class="woolentor-checkout__text-link"><?php echo esc_html($steps[2]['label_2']) ?></a>
311
  </div>
 
 
 
312
  </div>
313
 
314
  </div>
@@ -337,6 +353,8 @@ $labels = apply_filters( 'woolentor_slc_labels', $labels );
337
  endif;
338
  ?>
339
  </form>
 
 
340
 
341
  </div>
342
  </div>
@@ -371,6 +389,8 @@ $labels = apply_filters( 'woolentor_slc_labels', $labels );
371
  </ul>
372
  </div>
373
 
 
 
374
  <div class="woolentor-checkout__prduct-box">
375
  <?php
376
  // Converted to method to avoid duplicate coding and comatibiltity with Order bump plugin
@@ -384,6 +404,8 @@ $labels = apply_filters( 'woolentor_slc_labels', $labels );
384
  <!-- Review order -->
385
  <?php woocommerce_order_review(); ?>
386
 
 
 
387
  </div>
388
  </div>
389
  </div>
170
  </div>
171
  <?php endif; ?>
172
 
173
+ <?php
174
+ remove_action( 'woocommerce_before_checkout_form', 'woocommerce_checkout_coupon_form', 10 );
175
+ remove_action( 'woocommerce_before_checkout_form', 'woocommerce_checkout_login_form', 10 );
176
+ do_action( 'woocommerce_before_checkout_form', $checkout ); ?>
177
+
178
  <form name="checkout" method="post" class="checkout woocommerce-checkout" action="<?php echo esc_url( wc_get_checkout_url() ); ?>" enctype="multipart/form-data">
179
 
180
  <?php if( is_user_logged_in() ): ?>
206
 
207
  <?php if( !$hide_shipping_step ): ?>
208
  <div class="woolentor-checkout__section woolentor-step--shipping">
209
+
210
+ <?php do_action( 'woocommerce_review_order_before_shipping' ) ?>
211
+
212
  <div class="woolentor-checkout__section-header">
213
  <h2 class="woolentor-checkout__section-title">
214
  <?php echo esc_html($labels['shipping_method']) ?>
219
  <?php wc_cart_totals_shipping_html(); ?>
220
  </tbody>
221
  </table>
222
+
223
+ <?php do_action( 'woocommerce_review_order_after_shipping' ) ?>
224
  </div>
225
  <?php endif; ?>
226
 
311
  <?php endif; ?>
312
 
313
  <div class="woolentor-checkout__step-footer step--payment woolentor-footer--3">
314
+
315
+ <?php do_action('woocommerce_review_order_before_submit') ?>
316
+
317
  <div>
318
  <?php
319
  $order_button_text = apply_filters( 'woocommerce_order_button_text', $labels['place_order'] );
322
 
323
  <a href="#" data-step="step--<?php echo esc_attr($steps[2]['target_2']) ?>" class="woolentor-checkout__text-link"><?php echo esc_html($steps[2]['label_2']) ?></a>
324
  </div>
325
+
326
+ <?php do_action('woocommerce_review_order_after_submit') ?>
327
+
328
  </div>
329
 
330
  </div>
353
  endif;
354
  ?>
355
  </form>
356
+
357
+ <?php do_action( 'woocommerce_after_checkout_form', $checkout ); ?>
358
 
359
  </div>
360
  </div>
389
  </ul>
390
  </div>
391
 
392
+ <?php do_action( 'woocommerce_checkout_before_order_review' ); ?>
393
+
394
  <div class="woolentor-checkout__prduct-box">
395
  <?php
396
  // Converted to method to avoid duplicate coding and comatibiltity with Order bump plugin
404
  <!-- Review order -->
405
  <?php woocommerce_order_review(); ?>
406
 
407
+ <?php do_action( 'woocommerce_checkout_after_order_review' ); ?>
408
+
409
  </div>
410
  </div>
411
  </div>
includes/modules/variation-swatch/includes/Frontend/Woo_Config.php CHANGED
@@ -154,9 +154,8 @@ class Woo_Config {
154
  */
155
  public function dropdown_variation_attribute_options_html_cb( $old_html, $args ){
156
  $product = $args['product'];
157
- $ajax_status = wp_doing_ajax();
158
 
159
- if( is_admin() && !$ajax_status ){
160
  return $old_html;
161
  }
162
 
154
  */
155
  public function dropdown_variation_attribute_options_html_cb( $old_html, $args ){
156
  $product = $args['product'];
 
157
 
158
+ if( is_admin() && !wp_doing_ajax() && !Helper::doing_ajax_is_elementor_preview() ){
159
  return $old_html;
160
  }
161
 
includes/modules/variation-swatch/includes/Helper.php CHANGED
@@ -212,6 +212,27 @@ class Helper{
212
  return $image_size_key;
213
  }
214
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
215
  }
216
 
217
  Helper::instance();
212
  return $image_size_key;
213
  }
214
 
215
+ /**
216
+ * If the request is an AJAX request and the action is elementor, then it's an Elementor preview
217
+ */
218
+ public static function doing_ajax_is_elementor_preview(){
219
+ $server = wp_unslash( $_SERVER );
220
+
221
+ $referer = !empty($server['referer']) ? $server['referer'] : '';
222
+ $request_uri = !empty($server['REQUEST_URI']) ? $server['REQUEST_URI'] : '';
223
+
224
+ parse_str($referer, $query_str_arr);
225
+ parse_str($request_uri, $request_uri_arr);
226
+
227
+ if( !empty($query_str_arr['action']) && $query_str_arr['action'] == 'elementor' ||
228
+ !empty($request_uri_arr['action']) && $request_uri_arr['action'] == 'elementor'
229
+ ){
230
+ return true;
231
+ }
232
+
233
+ return false;
234
+ }
235
+
236
  }
237
 
238
  Helper::instance();
includes/modules/variation-swatch/init.php CHANGED
@@ -94,12 +94,9 @@ final class Swatchly {
94
  */
95
  private function run() {
96
 
97
- if ( !is_admin() || wp_doing_ajax() ) {
98
- new Swatchly\Frontend();
99
- new Swatchly\Frontend\Woo_Config();
100
- } else {
101
- new Swatchly\Admin();
102
- }
103
 
104
  }
105
  }
94
  */
95
  private function run() {
96
 
97
+ new Swatchly\Frontend();
98
+ new Swatchly\Frontend\Woo_Config();
99
+ new Swatchly\Admin();
 
 
 
100
 
101
  }
102
  }
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-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"
@@ -13,7 +13,7 @@ msgstr ""
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
  "X-Generator: Loco https://localise.biz/\n"
16
- "X-Loco-Version: 2.6.2; wp-6.0.2\n"
17
  "X-Domain: woolentor"
18
 
19
  #. %s: Product title
@@ -69,7 +69,7 @@ msgstr[1] ""
69
  msgid "-------"
70
  msgstr ""
71
 
72
- #: includes/admin/templates/dashboard-sidebar.php:26
73
  msgid ". Which will motivate us a lot."
74
  msgstr ""
75
 
@@ -117,10 +117,6 @@ msgstr ""
117
  msgid "5"
118
  msgstr ""
119
 
120
- #: includes/admin/templates/dashboard-sidebar.php:15
121
- msgid "5 Premium WooCommerce Themes included. (Save $200)"
122
- msgstr ""
123
-
124
  #: includes/addons/special_day_offer.php:115
125
  msgid "50%"
126
  msgstr ""
@@ -131,12 +127,10 @@ msgid "6"
131
  msgstr ""
132
 
133
  #: includes/addons/product_tabs.php:1478 includes/addons/product_tabs.php:1608
134
- #: woolentor-blocks/build/blocks/product-tab/loop-item.php:39
135
  #: woolentor-blocks/src/blocks/product-tab/loop-item.php:39
136
  msgid ":"
137
  msgstr ""
138
 
139
- #: woolentor-blocks/build/blocks/product-curvy/index.php:98
140
  #: woolentor-blocks/src/blocks/product-curvy/index.php:98
141
  msgid "<i class=\"fa fa-shopping-cart\"></i>"
142
  msgstr ""
@@ -154,8 +148,8 @@ msgstr ""
154
 
155
  #: includes/admin/include/template-library.php:162
156
  #: includes/admin/include/template-library.php:214
157
- #: includes/admin/include/class.extension-manager.php:158
158
- #: includes/admin/include/class.extension-manager.php:225
159
  msgid "Activate"
160
  msgstr ""
161
 
@@ -169,8 +163,8 @@ msgstr ""
169
 
170
  #: includes/admin/include/template-library.php:173
171
  #: includes/admin/include/template-library.php:225
172
- #: includes/admin/include/class.extension-manager.php:169
173
- #: includes/admin/include/class.extension-manager.php:236
174
  msgid "Activated"
175
  msgstr ""
176
 
@@ -213,7 +207,7 @@ msgid "Add To Cart"
213
  msgstr ""
214
 
215
  #: includes/addons/wb_product_add_to_cart.php:1020
216
- #: includes/modules/variation-swatch/includes/Frontend/Woo_Config.php:1008
217
  msgid "Add to Cart"
218
  msgstr ""
219
 
@@ -697,6 +691,10 @@ msgstr ""
697
  msgid "Blocks"
698
  msgstr ""
699
 
 
 
 
 
700
  #: includes/addons/wl_onepage_slider.php:473
701
  msgid "Boho Dreams"
702
  msgstr ""
@@ -913,7 +911,6 @@ msgstr ""
913
 
914
  #: includes/addons/wl_brand.php:51
915
  #: woolentor-blocks/includes/classes/Blocks_List.php:24
916
- #: woolentor-blocks/build/blocks/brand-logo/index.php:18
917
  #: woolentor-blocks/src/blocks/brand-logo/index.php:18
918
  msgid "Brand Logo"
919
  msgstr ""
@@ -1012,7 +1009,7 @@ msgstr ""
1012
  #: classes/class.assest_management.php:364
1013
  #: includes/admin/include/template-library.php:181
1014
  #: includes/admin/include/template-library.php:233
1015
- #: includes/admin/include/class.extension-manager.php:189
1016
  #: includes/admin/templates/dashboard-popup.php:14
1017
  msgid "Buy Now"
1018
  msgstr ""
@@ -1184,8 +1181,8 @@ msgstr ""
1184
  msgid "Circle"
1185
  msgstr ""
1186
 
1187
- #: includes/modules/variation-swatch/includes/Frontend/Woo_Config.php:857
1188
- #: includes/modules/variation-swatch/includes/Frontend/Woo_Config.php:972
1189
  msgid "Clear"
1190
  msgstr ""
1191
 
@@ -1603,7 +1600,7 @@ msgstr ""
1603
  msgid "Data fetch"
1604
  msgstr ""
1605
 
1606
- #: includes/admin/admin-init.php:334
1607
  msgid "Data Fetch successfully!"
1608
  msgstr ""
1609
 
@@ -1611,7 +1608,7 @@ msgstr ""
1611
  msgid "Data not found."
1612
  msgstr ""
1613
 
1614
- #: includes/admin/admin-init.php:272
1615
  msgid "Data Saved successfully!"
1616
  msgstr ""
1617
 
@@ -1730,6 +1727,7 @@ msgstr ""
1730
 
1731
  #: includes/admin/include/admin_field-manager.php:351
1732
  #: includes/admin/include/admin_field-manager.php:470
 
1733
  #: includes/admin/templates/dashboard-welcome.php:19
1734
  msgid "Documentation"
1735
  msgstr ""
@@ -2014,7 +2012,7 @@ msgstr ""
2014
  msgid "Free"
2015
  msgstr ""
2016
 
2017
- #: includes/admin/include/class.extension-manager.php:135
2018
  msgid "Free extension"
2019
  msgstr ""
2020
 
@@ -2046,7 +2044,7 @@ msgstr ""
2046
  msgid "Get Now"
2047
  msgstr ""
2048
 
2049
- #: includes/admin/templates/dashboard-sidebar.php:17
2050
  msgid "Get Pro Now"
2051
  msgstr ""
2052
 
@@ -2095,6 +2093,10 @@ msgstr ""
2095
  msgid "HasThemes"
2096
  msgstr ""
2097
 
 
 
 
 
2098
  #: includes/admin/templates/dashboard-welcome.php:53
2099
  msgid ""
2100
  "Have you ever noticed any missing features? Please notify us if you do. As "
@@ -2443,7 +2445,7 @@ msgid ""
2443
  "Elementor to continue."
2444
  msgstr ""
2445
 
2446
- #: includes/admin/templates/dashboard-sidebar.php:26
2447
  msgid ""
2448
  "If you’re loving how our product has helped your business, please let the "
2449
  "WordPress community know by "
@@ -2549,8 +2551,8 @@ msgstr ""
2549
 
2550
  #: includes/admin/include/template-library.php:168
2551
  #: includes/admin/include/template-library.php:220
2552
- #: includes/admin/include/class.extension-manager.php:164
2553
- #: includes/admin/include/class.extension-manager.php:231
2554
  msgid "Install Now"
2555
  msgstr ""
2556
 
@@ -2600,11 +2602,11 @@ msgstr ""
2600
  msgid "JustTable"
2601
  msgstr ""
2602
 
2603
- #: includes/admin/include/class.extension-manager.php:71
2604
  msgid "JustTables"
2605
  msgstr ""
2606
 
2607
- #: includes/admin/include/class.extension-manager.php:89
2608
  msgid ""
2609
  "JustTables is an incredible WordPress plugin that lets you showcase all your "
2610
  "WooCommerce products in a sortable and filterable table view. It allows your "
@@ -2614,7 +2616,7 @@ msgid ""
2614
  "sale on your online store."
2615
  msgstr ""
2616
 
2617
- #: includes/admin/include/class.extension-manager.php:86
2618
  msgid "JustTables Pro"
2619
  msgstr ""
2620
 
@@ -2672,7 +2674,7 @@ msgstr ""
2672
  msgid "Layout Two"
2673
  msgstr ""
2674
 
2675
- #: includes/admin/templates/dashboard-sidebar.php:26
2676
  msgid "leaving us a review on our WP repository"
2677
  msgstr ""
2678
 
@@ -2959,24 +2961,24 @@ msgstr ""
2959
  msgid "Mobile Resolution"
2960
  msgstr ""
2961
 
2962
- #: includes/modules/variation-swatch/includes/Frontend/Woo_Config.php:750
2963
  msgid "More"
2964
  msgstr ""
2965
 
2966
- #: includes/admin/include/class.extension-manager.php:186
2967
- #: includes/admin/include/class.extension-manager.php:254
2968
  msgid "More Details"
2969
  msgstr ""
2970
 
2971
- #: includes/admin/include/class.extension-manager.php:76
2972
  msgid "Multi Currency"
2973
  msgstr ""
2974
 
2975
- #: includes/admin/include/class.extension-manager.php:104
2976
  msgid "Multi Currency Pro for WooCommerce"
2977
  msgstr ""
2978
 
2979
- #: includes/admin/include/class.extension-manager.php:107
2980
  msgid ""
2981
  "Multi-Currency Pro for WooCommerce is a prominent currency switcher plugin "
2982
  "for WooCommerce. This plugin allows your website or online store visitors to "
@@ -3187,7 +3189,7 @@ msgstr ""
3187
  msgid "Odd Heading Background"
3188
  msgstr ""
3189
 
3190
- #: includes/addons/wl_product_horizontal_filter.php:1109
3191
  msgid "of"
3192
  msgstr ""
3193
 
@@ -3608,7 +3610,7 @@ msgstr ""
3608
  msgid "Pro"
3609
  msgstr ""
3610
 
3611
- #: includes/admin/include/class.extension-manager.php:136
3612
  msgid "Pro extension"
3613
  msgstr ""
3614
 
@@ -3928,8 +3930,6 @@ msgstr ""
3928
 
3929
  #: woolentor-blocks/includes/templates/product-universal.php:160
3930
  #: woolentor-blocks/includes/templates/product-universal.php:207
3931
- #: woolentor-blocks/build/blocks/universal-product/old_index.php:414
3932
- #: woolentor-blocks/build/blocks/universal-product/old_index.php:461
3933
  #: woolentor-blocks/src/blocks/universal-product/old_index.php:414
3934
  #: woolentor-blocks/src/blocks/universal-product/old_index.php:461
3935
  msgid "Quick View"
@@ -3979,7 +3979,7 @@ msgstr ""
3979
  msgid "Rating does not enable."
3980
  msgstr ""
3981
 
3982
- #: includes/admin/templates/dashboard-sidebar.php:23
3983
  msgid "Rating icon"
3984
  msgstr ""
3985
 
@@ -4278,7 +4278,7 @@ msgstr ""
4278
  msgid "Select"
4279
  msgstr ""
4280
 
4281
- #: includes/addons/wl_product_horizontal_filter.php:1108
4282
  msgid "select"
4283
  msgstr ""
4284
 
@@ -4360,7 +4360,7 @@ msgstr ""
4360
 
4361
  #: includes/base.php:268 includes/addons/wl_recently_viewed_products.php:42
4362
  #: includes/addons/wb_product_add_to_cart.php:73
4363
- #: includes/admin/admin-init.php:97 includes/admin/admin-init.php:98
4364
  #: includes/admin/templates/dashboard-gutenberg.php:15
4365
  msgid "Settings"
4366
  msgstr ""
@@ -4952,6 +4952,7 @@ msgstr ""
4952
  msgid "Suggest Price"
4953
  msgstr ""
4954
 
 
4955
  #: includes/admin/templates/dashboard-welcome.php:41
4956
  msgid "Support"
4957
  msgstr ""
@@ -5230,8 +5231,8 @@ msgid ""
5230
  "been entered correctly, or contact us if you need any help."
5231
  msgstr ""
5232
 
5233
- #: includes/modules/variation-swatch/includes/Frontend/Woo_Config.php:836
5234
- #: includes/modules/variation-swatch/includes/Frontend/Woo_Config.php:918
5235
  msgid "This product is currently out of stock and unavailable."
5236
  msgstr ""
5237
 
@@ -5663,11 +5664,11 @@ msgid "When the product tab is off, Then working slider."
5663
  msgstr ""
5664
 
5665
  #: classes/class.widgets_control.php:453
5666
- #: includes/admin/include/class.extension-manager.php:66
5667
  msgid "Whols"
5668
  msgstr ""
5669
 
5670
- #: includes/admin/include/class.extension-manager.php:98
5671
  msgid ""
5672
  "Whols is an outstanding WordPress plugin for WooCommerce that allows store "
5673
  "owners to set wholesale prices for the products of their online stores. This "
@@ -5678,7 +5679,7 @@ msgid ""
5678
  "manually or automatically."
5679
  msgstr ""
5680
 
5681
- #: includes/admin/include/class.extension-manager.php:95
5682
  msgid "Whols Pro – WooCommerce Wholesale Prices"
5683
  msgstr ""
5684
 
@@ -5927,8 +5928,6 @@ msgstr ""
5927
  msgid "WL: Testimonial"
5928
  msgstr ""
5929
 
5930
- #: woolentor-blocks/build/blocks/universal-product/old_index.php:48
5931
- #: woolentor-blocks/build/blocks/universal-product/sort_index.php:48
5932
  #: woolentor-blocks/src/blocks/universal-product/old_index.php:48
5933
  #: woolentor-blocks/src/blocks/universal-product/sort_index.php:48
5934
  msgid "WL: Universal Product Layout"
@@ -5947,7 +5946,7 @@ msgid "WL: WishSuite Table"
5947
  msgstr ""
5948
 
5949
  #: includes/manage_wc_template.php:103 includes/base.php:187
5950
- #: includes/admin/admin-init.php:86 includes/admin/admin-init.php:87
5951
  msgid "WooLentor"
5952
  msgstr ""
5953
 
@@ -6010,7 +6009,7 @@ msgstr ""
6010
  msgid "WooLentor Template"
6011
  msgstr ""
6012
 
6013
- #: includes/admin/templates/dashboard-sidebar.php:31
6014
  msgid "Woolentor trustpilot rating"
6015
  msgstr ""
6016
 
3
  msgstr ""
4
  "Project-Id-Version: WooLentor - WooCommerce Elementor Addons + Builder\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2022-11-06 05:09+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"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
  "X-Generator: Loco https://localise.biz/\n"
16
+ "X-Loco-Version: 2.6.3; wp-6.1\n"
17
  "X-Domain: woolentor"
18
 
19
  #. %s: Product title
69
  msgid "-------"
70
  msgstr ""
71
 
72
+ #: includes/admin/templates/dashboard-sidebar.php:25
73
  msgid ". Which will motivate us a lot."
74
  msgstr ""
75
 
117
  msgid "5"
118
  msgstr ""
119
 
 
 
 
 
120
  #: includes/addons/special_day_offer.php:115
121
  msgid "50%"
122
  msgstr ""
127
  msgstr ""
128
 
129
  #: includes/addons/product_tabs.php:1478 includes/addons/product_tabs.php:1608
 
130
  #: woolentor-blocks/src/blocks/product-tab/loop-item.php:39
131
  msgid ":"
132
  msgstr ""
133
 
 
134
  #: woolentor-blocks/src/blocks/product-curvy/index.php:98
135
  msgid "<i class=\"fa fa-shopping-cart\"></i>"
136
  msgstr ""
148
 
149
  #: includes/admin/include/template-library.php:162
150
  #: includes/admin/include/template-library.php:214
151
+ #: includes/admin/include/class.extension-manager.php:159
152
+ #: includes/admin/include/class.extension-manager.php:226
153
  msgid "Activate"
154
  msgstr ""
155
 
163
 
164
  #: includes/admin/include/template-library.php:173
165
  #: includes/admin/include/template-library.php:225
166
+ #: includes/admin/include/class.extension-manager.php:170
167
+ #: includes/admin/include/class.extension-manager.php:237
168
  msgid "Activated"
169
  msgstr ""
170
 
207
  msgstr ""
208
 
209
  #: includes/addons/wb_product_add_to_cart.php:1020
210
+ #: includes/modules/variation-swatch/includes/Frontend/Woo_Config.php:1007
211
  msgid "Add to Cart"
212
  msgstr ""
213
 
691
  msgid "Blocks"
692
  msgstr ""
693
 
694
+ #: includes/admin/templates/dashboard-widget.php:88
695
+ msgid "Blog"
696
+ msgstr ""
697
+
698
  #: includes/addons/wl_onepage_slider.php:473
699
  msgid "Boho Dreams"
700
  msgstr ""
911
 
912
  #: includes/addons/wl_brand.php:51
913
  #: woolentor-blocks/includes/classes/Blocks_List.php:24
 
914
  #: woolentor-blocks/src/blocks/brand-logo/index.php:18
915
  msgid "Brand Logo"
916
  msgstr ""
1009
  #: classes/class.assest_management.php:364
1010
  #: includes/admin/include/template-library.php:181
1011
  #: includes/admin/include/template-library.php:233
1012
+ #: includes/admin/include/class.extension-manager.php:190
1013
  #: includes/admin/templates/dashboard-popup.php:14
1014
  msgid "Buy Now"
1015
  msgstr ""
1181
  msgid "Circle"
1182
  msgstr ""
1183
 
1184
+ #: includes/modules/variation-swatch/includes/Frontend/Woo_Config.php:856
1185
+ #: includes/modules/variation-swatch/includes/Frontend/Woo_Config.php:971
1186
  msgid "Clear"
1187
  msgstr ""
1188
 
1600
  msgid "Data fetch"
1601
  msgstr ""
1602
 
1603
+ #: includes/admin/admin-init.php:374
1604
  msgid "Data Fetch successfully!"
1605
  msgstr ""
1606
 
1608
  msgid "Data not found."
1609
  msgstr ""
1610
 
1611
+ #: includes/admin/admin-init.php:312
1612
  msgid "Data Saved successfully!"
1613
  msgstr ""
1614
 
1727
 
1728
  #: includes/admin/include/admin_field-manager.php:351
1729
  #: includes/admin/include/admin_field-manager.php:470
1730
+ #: includes/admin/templates/dashboard-widget.php:94
1731
  #: includes/admin/templates/dashboard-welcome.php:19
1732
  msgid "Documentation"
1733
  msgstr ""
2012
  msgid "Free"
2013
  msgstr ""
2014
 
2015
+ #: includes/admin/include/class.extension-manager.php:136
2016
  msgid "Free extension"
2017
  msgstr ""
2018
 
2044
  msgid "Get Now"
2045
  msgstr ""
2046
 
2047
+ #: includes/admin/templates/dashboard-sidebar.php:16
2048
  msgid "Get Pro Now"
2049
  msgstr ""
2050
 
2093
  msgid "HasThemes"
2094
  msgstr ""
2095
 
2096
+ #: includes/admin/admin-init.php:180
2097
+ msgid "HasThemes Stories"
2098
+ msgstr ""
2099
+
2100
  #: includes/admin/templates/dashboard-welcome.php:53
2101
  msgid ""
2102
  "Have you ever noticed any missing features? Please notify us if you do. As "
2445
  "Elementor to continue."
2446
  msgstr ""
2447
 
2448
+ #: includes/admin/templates/dashboard-sidebar.php:25
2449
  msgid ""
2450
  "If you’re loving how our product has helped your business, please let the "
2451
  "WordPress community know by "
2551
 
2552
  #: includes/admin/include/template-library.php:168
2553
  #: includes/admin/include/template-library.php:220
2554
+ #: includes/admin/include/class.extension-manager.php:165
2555
+ #: includes/admin/include/class.extension-manager.php:232
2556
  msgid "Install Now"
2557
  msgstr ""
2558
 
2602
  msgid "JustTable"
2603
  msgstr ""
2604
 
2605
+ #: includes/admin/include/class.extension-manager.php:72
2606
  msgid "JustTables"
2607
  msgstr ""
2608
 
2609
+ #: includes/admin/include/class.extension-manager.php:90
2610
  msgid ""
2611
  "JustTables is an incredible WordPress plugin that lets you showcase all your "
2612
  "WooCommerce products in a sortable and filterable table view. It allows your "
2616
  "sale on your online store."
2617
  msgstr ""
2618
 
2619
+ #: includes/admin/include/class.extension-manager.php:87
2620
  msgid "JustTables Pro"
2621
  msgstr ""
2622
 
2674
  msgid "Layout Two"
2675
  msgstr ""
2676
 
2677
+ #: includes/admin/templates/dashboard-sidebar.php:25
2678
  msgid "leaving us a review on our WP repository"
2679
  msgstr ""
2680
 
2961
  msgid "Mobile Resolution"
2962
  msgstr ""
2963
 
2964
+ #: includes/modules/variation-swatch/includes/Frontend/Woo_Config.php:749
2965
  msgid "More"
2966
  msgstr ""
2967
 
2968
+ #: includes/admin/include/class.extension-manager.php:187
2969
+ #: includes/admin/include/class.extension-manager.php:255
2970
  msgid "More Details"
2971
  msgstr ""
2972
 
2973
+ #: includes/admin/include/class.extension-manager.php:77
2974
  msgid "Multi Currency"
2975
  msgstr ""
2976
 
2977
+ #: includes/admin/include/class.extension-manager.php:105
2978
  msgid "Multi Currency Pro for WooCommerce"
2979
  msgstr ""
2980
 
2981
+ #: includes/admin/include/class.extension-manager.php:108
2982
  msgid ""
2983
  "Multi-Currency Pro for WooCommerce is a prominent currency switcher plugin "
2984
  "for WooCommerce. This plugin allows your website or online store visitors to "
3189
  msgid "Odd Heading Background"
3190
  msgstr ""
3191
 
3192
+ #: includes/addons/wl_product_horizontal_filter.php:1110
3193
  msgid "of"
3194
  msgstr ""
3195
 
3610
  msgid "Pro"
3611
  msgstr ""
3612
 
3613
+ #: includes/admin/include/class.extension-manager.php:137
3614
  msgid "Pro extension"
3615
  msgstr ""
3616
 
3930
 
3931
  #: woolentor-blocks/includes/templates/product-universal.php:160
3932
  #: woolentor-blocks/includes/templates/product-universal.php:207
 
 
3933
  #: woolentor-blocks/src/blocks/universal-product/old_index.php:414
3934
  #: woolentor-blocks/src/blocks/universal-product/old_index.php:461
3935
  msgid "Quick View"
3979
  msgid "Rating does not enable."
3980
  msgstr ""
3981
 
3982
+ #: includes/admin/templates/dashboard-sidebar.php:22
3983
  msgid "Rating icon"
3984
  msgstr ""
3985
 
4278
  msgid "Select"
4279
  msgstr ""
4280
 
4281
+ #: includes/addons/wl_product_horizontal_filter.php:1109
4282
  msgid "select"
4283
  msgstr ""
4284
 
4360
 
4361
  #: includes/base.php:268 includes/addons/wl_recently_viewed_products.php:42
4362
  #: includes/addons/wb_product_add_to_cart.php:73
4363
+ #: includes/admin/admin-init.php:101 includes/admin/admin-init.php:102
4364
  #: includes/admin/templates/dashboard-gutenberg.php:15
4365
  msgid "Settings"
4366
  msgstr ""
4952
  msgid "Suggest Price"
4953
  msgstr ""
4954
 
4955
+ #: includes/admin/templates/dashboard-widget.php:100
4956
  #: includes/admin/templates/dashboard-welcome.php:41
4957
  msgid "Support"
4958
  msgstr ""
5231
  "been entered correctly, or contact us if you need any help."
5232
  msgstr ""
5233
 
5234
+ #: includes/modules/variation-swatch/includes/Frontend/Woo_Config.php:835
5235
+ #: includes/modules/variation-swatch/includes/Frontend/Woo_Config.php:917
5236
  msgid "This product is currently out of stock and unavailable."
5237
  msgstr ""
5238
 
5664
  msgstr ""
5665
 
5666
  #: classes/class.widgets_control.php:453
5667
+ #: includes/admin/include/class.extension-manager.php:67
5668
  msgid "Whols"
5669
  msgstr ""
5670
 
5671
+ #: includes/admin/include/class.extension-manager.php:99
5672
  msgid ""
5673
  "Whols is an outstanding WordPress plugin for WooCommerce that allows store "
5674
  "owners to set wholesale prices for the products of their online stores. This "
5679
  "manually or automatically."
5680
  msgstr ""
5681
 
5682
+ #: includes/admin/include/class.extension-manager.php:96
5683
  msgid "Whols Pro – WooCommerce Wholesale Prices"
5684
  msgstr ""
5685
 
5928
  msgid "WL: Testimonial"
5929
  msgstr ""
5930
 
 
 
5931
  #: woolentor-blocks/src/blocks/universal-product/old_index.php:48
5932
  #: woolentor-blocks/src/blocks/universal-product/sort_index.php:48
5933
  msgid "WL: Universal Product Layout"
5946
  msgstr ""
5947
 
5948
  #: includes/manage_wc_template.php:103 includes/base.php:187
5949
+ #: includes/admin/admin-init.php:90 includes/admin/admin-init.php:91
5950
  msgid "WooLentor"
5951
  msgstr ""
5952
 
6009
  msgid "WooLentor Template"
6010
  msgstr ""
6011
 
6012
+ #: includes/admin/templates/dashboard-sidebar.php:30
6013
  msgid "Woolentor trustpilot rating"
6014
  msgstr ""
6015
 
readme.txt CHANGED
@@ -2,15 +2,15 @@
2
  Contributors: hasthemes, htplugins, devitemsllc, zenaulislam, tarekht, aslamhasib
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
 
@@ -48,13 +48,16 @@ You can see the plugin demo here 👉 [Live Demo](https://woolentor.com/?utm_sou
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
@@ -62,31 +65,31 @@ You can see the plugin demo here 👉 [Live Demo](https://woolentor.com/?utm_sou
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.
67
  * WooCommerce Slider or Woo Sliders Control Options
68
- * WooCommerce variation swatches module
69
  * Woocommerce Live Sales Notifications (Real)
70
  * Woocommerce Sales Notification (Custom)
71
  * Rename labels / WooCommerce Text / WooCommerce add custom text.
72
- * WooCommerce Upsell widget
73
- * WooCommerce Cross-sell widget
74
- * WooCommerce Related Products widget (Custom Related Products Layout, Disable/Remove/Hide related products.
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
85
- * Works with free Elementor and WooComemrce
86
  * Custom WooCommerce Product Template Builder
87
  * Product Grid (Curvy)
88
- * Product Accordion Listing
89
- * Product Image Accordion
90
  * WooCommerce Shop Page Builder
91
  * AJAX Search Widget
92
  * WordPress post or WooCommerce Product Duplicator
@@ -100,8 +103,9 @@ You can see the plugin demo here 👉 [Live Demo](https://woolentor.com/?utm_sou
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
107
  ✅ WooCommerce Checkout Field Editor / Checkout Field Manager
@@ -112,35 +116,42 @@ You can see the plugin demo here 👉 [Live Demo](https://woolentor.com/?utm_sou
112
  ✅ WooCommerce Partial Payment
113
  ✅ WooCommerce Multi step checkout
114
  ✅ Order Confirmations Widget
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
123
- ✅ Sticky Add to cart
124
  ✅ Template Library
125
- ✅ 15 Product Custom Template Layouts ( Deafult + Invidual)
126
- ✅ 5 Premium WooCommerce Themes
127
  ✅ WooCommerce Template Builder (Advanced)
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
 
@@ -169,7 +180,7 @@ By using a responsive grid for WooCommerce, you can ensure that your customers w
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
 
@@ -177,59 +188,91 @@ WooLentor's product grid widget lets you showcase WooCommerce products in a WooC
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
 
222
- <strong>[WooCommerce Brands](https://woolentor.com/demo/brand-logo/)</strong> – Showcase brand logos within a grid or Woo carousel layout. WooCommerce Brands widget lets you display brands in different layouts. WooCommerce product brands is a WooLentor's widget that helps you to showcase product brands in your store.
 
 
223
 
224
  <strong>[WooCommerce Breadcrumbs](https://woolentor.com/demo/product-layout/)</strong> – Add WooCommerce breadcrumbs to your WooCommerce store so that visitors can clearly understand which page they are currently viewing by seeing the WooCommerce navigation links, WooCommerce pages links, or WooCommerce menu links of the WooCommerce breadcrumbs.
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
 
@@ -237,7 +280,7 @@ You can use this Elementor WooCommerce widget for AJAX search form to add an adv
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
 
@@ -258,7 +301,7 @@ You can add the recent viewed products widget or recently viewed products widget
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
 
@@ -270,17 +313,25 @@ That’s not all; This WooCommerce add to cart widget allows you to change the W
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
 
@@ -292,13 +343,15 @@ WooCommerce product reviews can be beneficial in improving the overall user expe
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
 
303
  As WooLentor's advanced product thumbnails with zoom widget works like a WooCommerce zoom image plugin or product image zoom for WooCommerce plugin, rest assured that you can effortlessly add a product image zoom or product photo zoom effect to the WooCommerce images of your store.
304
 
@@ -308,25 +361,39 @@ By leveraging this WooCommerce product zoom or WooCommerce zoom widget as a prod
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
 
327
- So, what are you waiting for? Make sure to leverage the product upsell feature in your store and multiply your sales.
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
 
@@ -336,19 +403,21 @@ With the WooCommerce show terms feature of this WooCommerce product meta widget,
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
 
351
- <strong>[Social Share](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Enable your customers to share your products on different social media platforms. (Pro)
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
 
@@ -381,6 +450,12 @@ When used correctly, cross selling can be an effective way to increase revenue a
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>
386
 
@@ -424,12 +499,22 @@ When used correctly, cross selling can be an effective way to increase revenue a
424
 
425
  <strong>[Product Archive Layout](https://woolentor.com/demo/shop/)</strong> – Display your WooCommerce products in the WooCommerce layout supported by your theme and customize some necessary styles if necessary. This Elementor WooCommerce builder widget fetches all your WooCommerce products and displays them depending on your theme style alongside a WooCommerce product sort or WooCommerce sort and WooCommerce pagination.
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)
@@ -450,6 +535,70 @@ This WordPress WooCommerce product filter, WooCommerce shop filter or Elementor
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: ==
455
 
@@ -458,7 +607,7 @@ Love the look of those variations swatches in your favorite online store, but do
458
 
459
  We feel you. That’s why we created this WooCommerce product Variation Swatches Module – to help you turn those boring old WooCommerce product drop down options into more visually appealing WooCommerce variation swatches or woo variation swatches (variation switcher). Now your customers can see all the variations at a glance, making their shopping experience much better.
460
 
461
- Plus, with WooCommerce product variation swatches module or variation swatches addons, you can choose from WooCommerce color swatches, button swatches, Label Swatches or image swatch (WooCommerce Color and Label Variations, Link Variation, etc..) – whichever suits your store’s style best. So why wait? Start using product attribute swatches today and watch your sales soar!
462
 
463
  With the WooCommerce color swatches, you can provide your customers with a wide range of colors to choose from while streamlining their shopping experience. Furthermore, WooCommerce color swatches are a great way to make your WooCommerce store more user-friendly and efficient. When all the WooCommerce color swatches are displayed together, it becomes easier for shoppers to compare and contrast different options and find the perfect WooCommerce product quickly.
464
 
@@ -466,59 +615,100 @@ Using WooCommerce variation swatches module Addon, as opposed to the traditional
466
 
467
  If you need a lot of flexibility and customizability, then WooCommerce variation swatches module or variation swatches addons is an excellent option. WooLentor's variation swatches module is easy to use and comes with a powerful variation switcher. With this variation switcher, you can incorporate WooCommerce colors and labels variations in the form of variation swatches or Woo variation swatches. On the other hand, these product variation swatches for WooCommerce will enable your customers to easily switch between different WooCommerce product variation swatches on your product.
468
 
469
- Start using WooCommerce product variation swatches module now!
470
 
471
  [More Details](https://woolentor.com/doc/variation-swatches/)
472
 
473
  = 🔔 Sales Notification =
474
  This feature allows showing the sales notification or sales popup to display real/custom WooCommerce orders. Furthermore, you can customize the design of the WooCommerce sales popup or live notification for WooCommerce from the module settings. Even though this recent sales popup WordPress module’s name suggests that is meant for displaying sales notifications, WooCommerce order notifications, or WooCommerce pop ups, nevertheless, you can also do other things like showing WooCommerce product announcements, WooCommerce announcements, WooCommerce product notices, or WooCommerce notices regarding WooCommerce product price drop or WooCommerce drop price. To achieve this, all you need to do is create a custom notification.
475
 
 
 
 
 
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
 
@@ -527,26 +717,36 @@ Flash Sale Countdown module allows you to show discounts available for a limited
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.
545
 
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
 
@@ -595,9 +795,9 @@ This powerful WooCommerce checkout editor or checkout field manager module gives
595
 
596
  Adding WooCommerce additional fields or WooCommerce custom checkout fields can be a great way to gather additional information from your customers. For example, you may want to add WooCommerce custom checkout fields for custom WooCommerce customer messages, gift wrap options, or instructions about a schedule delivery for WooCommerce. Fortunately, WooLentor comes with a powerful WooCommerce checkout field editor or WooCommerce checkout form editor module that allows adding WooCommerce extra fields to the WooCommerce checkout process.
597
 
598
- You can use this WooCommerce add on to add WooCommerce custom fields to the checkout form. These extra WooCommerce fields can be extremely useful if you need to collect additional information from your customers during the checkout process. But that's not all; this custom WooCommerce checkout fields editor or WooCommerce checkout field manager module doesn't require you to write a single line of code. The WooCommerce custom checkout fields or checkout widget also allows you to manage the display of WooCommerce fields for checkout, set required fields, etc.
599
 
600
- Moreover, with this checkout field editor for WooCommerce module, you can add, edit, and remove fields from the checkout page WooCommerce form as per your needs. So if you're looking to take your WooCommerce store to the next level, be sure to leverage this WooCommerce checkout field editor or WooCommerce checkout field manager module and keep your WooCommerce checkout process optimized for your business.
601
 
602
  [More Details](https://woolentor.com/doc/checkout-field-editor/)
603
 
@@ -620,13 +820,13 @@ A preorder is a purchase in which a customer makes before the product officially
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
 
@@ -639,9 +839,9 @@ The WooCommerce Product Size Chart is an excellent module for e-commerce busines
639
  GTM Conversion Tracking Module helps you keep track of conversions and assign them to specific sources. You may identify whether a sale was caused by a Google Ads/Facebook Ads, a direct website visit, or a social media post. When you link your store seamlessly with GTM, you'll generate more income from advertising by gathering precise sales data.
640
 
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
 
@@ -654,6 +854,10 @@ WooLentor’s Cart Drawer or Side Mini Cart for WooCommerce is a useful module t
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.
@@ -675,7 +879,7 @@ The Redirect to Checkout Module of WooLentor (all in one for WooCommerce) is an
675
  <strong>💰 [Whols for WooCommerce Wholesale](https://wordpress.org/plugins/whols/)</strong>
676
  Whols is an outstanding WordPress plugin for WooCommerce that allows store owners to set wholesale prices or wholesale WooCommerce pricing for the WooCommerce products of their online storefront. This WooCommerce Wholesale plugin provides many options to create a WooCommerce B2B Store.
677
 
678
- You can also control almost all the aspects of your WooCommerce B2B store. For example, you can show special wholesale prices only to the wholesalers while hiding them from other user roles. This WooCommerce Wholesale plugin enables you to maintain both consumers and wholesalers from a single WooCommerce store.
679
 
680
  <strong>📋 [JustTables for WooCommerce Product Table](https://wordpress.org/plugins/just-tables/)</strong>
681
  JustTables is an incredible WordPress plugin that lets you showcase all your WooCommerce products in a sortable and filterable table view. It allows your customers to easily navigate through different attributes of the products and compare them on a single page.
@@ -752,12 +956,23 @@ Elementor Pro is not required. But you can use wooLentor with Elementor free & P
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.
2
  Contributors: hasthemes, htplugins, devitemsllc, zenaulislam, tarekht, aslamhasib
3
  Tags: Elementor, WooCommerce, WooCommerce Elementor, WooCommerce Builder, WooCommerce Product
4
  Requires at least: 4.7
5
+ Tested up to: 6.1
6
+ Stable tag: 2.4.7
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, Woo builder 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, WooCommerce 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
 
48
  * WooCommerce Product Sort
49
  * WooCommerce Slider Layout
50
  * Shopify Style Checkout Page / Shopify-like Checkout
51
+ * Woocommerce Product Slider Addons / Woo Sliders Widget
52
+ * WooCommerce Testimonial Widget
53
  * WooCommerce Featured Product Slider
54
  * WooCommerce Featured Slider
55
  * Promotional Product Slider
56
+ * WooCommerce Gutenberg Blocks / Gutenberg WooCommerce blocks
57
  * Recently Viewed Products / Woo Recently Viewed Products Widget
58
  * Woocommerce Product Compare / Products Comparison Table
59
+ * Quick View WooCommerce / WooCommerce Quickview
60
+ * Woocommerce Product Wishlist / Woo Wishlist
61
  * Woocommerce Product Tab
62
  * Grid and List View WooCommerce
63
  * Action Buttons in different Positions
65
  * Sales Countdown WooCommerce Addon / Discount Schedule Counter
66
  * WooCommerce Image Gallery
67
  * Enable / Disable WooCommerce Product Gallery
68
+ * WooCommerce Product Gallery Carousel
69
+ * Unlimited Color and Font Variations
70
  * WooCommerce Slider or Woo Sliders Control Options
71
+ * WooCommerce Variation Swatches Module / Variation Switcher
72
  * Woocommerce Live Sales Notifications (Real)
73
  * Woocommerce Sales Notification (Custom)
74
  * Rename labels / WooCommerce Text / WooCommerce add custom text.
75
+ * WooCommerce Upsell Widget
76
+ * WooCommerce Cross-sell Widget
77
+ * WooCommerce Related Products Widget (Custom Related Products Layout, Disable / Remove / Hide Related Products)
78
  * WooCommerce Category Carousel / WooCommerce Category Showcase / WooCommerce Product Category Slider
79
  * WooCommerce Category and Product List
80
+ * Call for Price Button for WooCommerce
81
  * Suggest Price / Suggest Product Price
82
+ * Special Day Offer Banner / Banner Widget
83
+ * Product QR Code / WooCommerce QR Widget
84
  * WooCommerce Marker / WooCommerce Hotspot
85
  * Archive page with Pagination
86
  * Product Share Widget
87
  * Multi-language Support
88
+ * Works with Free Elementor and WooCommerce
89
  * Custom WooCommerce Product Template Builder
90
  * Product Grid (Curvy)
91
+ * Product Accordion Listing / Responsive Accordion
92
+ * Product Image Accordion / WooCommerce Accordion
93
  * WooCommerce Shop Page Builder
94
  * AJAX Search Widget
95
  * WordPress post or WooCommerce Product Duplicator
103
 
104
  ==🔥 Premium Features: ==
105
 
106
+ 100+ WooCommerce Elementor Widgets / Elementor WooCommerce Widgets
107
+ 24 WooCommerce Modules
108
+ ✅ 29 WordPress Gutenberg Blocks / WoCommerce Gutenberg Blocks
109
  ✅ Custom WooCommerce Product Template Builder for Individual Product
110
  ✅ Individual Archive Page Builder / WooCommerce Template Builder
111
  ✅ WooCommerce Checkout Field Editor / Checkout Field Manager
116
  ✅ WooCommerce Partial Payment
117
  ✅ WooCommerce Multi step checkout
118
  ✅ Order Confirmations Widget
119
+ ✅ Product Variation Swatches for WooCommerce
120
  ✅ Product Size Chart / Size Chart WooCommerce Module
121
  ✅ WooCommerce Progress Bar / WooCommerce Stock Progress
122
  ✅ Related Products Slider for WooCommerce
123
+ ✅ WooCommerce Upsell Products / Upsells Carousel
124
  ✅ WooCommerce Pre Order Module / Pre-order for WooCommerce
125
+ ✅ Side Mini Cart / WooCommerce Minicart / Cart Drawer
126
+ ✅ Redirect to Checkout Page (Direct Checkout)
127
+ ✅ Social Share Product / Social Share Buttons / Quick Share
128
  ✅ GTM Conversion Tracking (Google Tag Manager) with Data layer
129
+ ✅ Sticky Add to Cart
130
  ✅ Template Library
131
+ ✅ 15 Product Custom Template Layouts (Deafult + Invidual)
 
132
  ✅ WooCommerce Template Builder (Advanced)
133
+ ✅ Access to our Premium Udemy Course for WooCommerce (On Request)
134
+ ✅ Zoom / Skype / TeamViewer Support
135
+ ✅ Free Store Setup / (Maximum 2)
136
  ✅ Phone Call Support
137
  ✅ Premium Support
 
 
138
 
139
 
140
  <strong>[WooCommerce Checkout Page Customization and Field Editor (Pro)](https://woolentor.com/doc/build-a-custom-checkout-page-template/)</strong>
141
+ 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.
142
+
143
+ 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.
144
+
145
+ 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.
146
 
147
+ 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.
148
 
149
+ 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.
150
 
151
  <strong>[Customize WooCommerce Single Product Template](https://hasthemes.com/how-to-build-a-custom-product-template-using-woolentor-plugin/)</strong>
152
+ 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.
153
+
154
+ 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.
155
 
156
  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.
157
 
180
 
181
  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.
182
 
183
+ Apart from choosing and configuring a WooCommerce product 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, number of products, 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.
184
 
185
  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.
186
 
188
 
189
  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.
190
 
191
+ In this Elementor WooCommerce widget, there are a few different WooCommerce product layout or product layouts for WooCommerce options available for store owners to choose from. Some of the most popular WooCommerce product layouts or product layouts for WooCommerce include the grid layout, the list layout, and the carousel layout.
192
+
193
+ Each WooCommerce product layout has its own advantages and disadvantages, so it's important to choose the right WooCommerce product layout for your online store based on your WooCommerce products and your customer's needs.
194
+
195
+ 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 (Woo product slider / Woo 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.
196
 
197
+ 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.
198
+
199
+ 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 addons (Woo product slider) or product carousel WooCommerce widget, you can create a WordPress product carousel, WooCommerce product slider (eCommerce slider), or WooCommerce widget product slideshow that looks great on any screen size.
200
+
201
+ Whether you're looking to increase conversions or simply showcase your WooCommerce products more effectively, the product carousel WooCommerce, Elementor WooCommerce product carousel slider, Elementor product carousel slider addons, or WooCommerce product carousel slider widget is an excellent solution.
202
 
203
  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.
204
 
205
+ <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.
206
 
207
  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.
208
 
209
+ <strong>[Special Day Offer Banner](https://woolentor.com/demo/special-day-offer/)</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.
210
 
211
  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!
212
 
213
  <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.
214
 
215
+ Product markers or image markers are a great way to help define WooCommerce products and WooCommerce images in a store. When product markers or image markers are used on a WooCommerce product image, customers can find their desired WooCommerce products faster and without any confusion.
216
+
217
  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.
218
 
219
  <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.
220
 
221
+ 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.
222
+
223
+ 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, WooCommerce widget product slider, or Woo product slider addons you can highlight multiple WooCommerce products in a single space, making it easy for visitors to browse and choose the WooCommerce products they want.
224
 
225
+ 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. A promotional product slider allows businesses to display promotional WooCommerce products or WooCommerce sale product list on their WooCommerce store, making it easy for customers to find and purchase these specific WooCommerce products. Promotional product sliders are a simple and effective way to boost sales and improve the visibility of your WooCommerce products to potential customers.
226
 
227
+ If you're using WooCommerce with Elementor, you can easily incorporate an Elementor WooCommerce product carousel slider, WooCommerce widget product slider, WooCommerce widget product slideshow, or Woo carousel to your website using the Universal Product Layouts widget of WooLentor (Elementor WooCommerce Builder) as a WooCommerce product slider plugin. A shop page product slider, WooCommerce slider, or WooCommerce widget product slideshow can help to increase conversion rates by making it easier for customers to find and purchase the WooCommerce products they're interested in.
228
 
229
+ 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 (eCommerce 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 (Woo product slider / Woo slider) on their phone or tablet.
230
+
231
+ 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 or WooCommerce product layouts. For example, WooCommerce slider, WooCommerce tab, and WooCommerce grid.
232
 
233
  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.
234
 
235
+ 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 control the number of products and manage the featured product by category or category name.
236
+
237
+ <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 or WooCommerce category list style according to your requirements.
238
 
239
+ <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, subcategory 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, subcategory slider, or category slider for WooCommerce.
240
 
241
+ You can also control the WooCommerce category carousel according to your requirements. This Elementor WooCommerce widget work like a Woocommerce category slider plugin that can be used 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, or subcategory slider.
242
 
243
  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.
244
 
245
+ The WooCommerce category carousel or WooCommerce category slider are two popular ways to showcase WooCommerce product category on your WooCommerce site. By leveraging a WooCommerce category carousel or WooCommerce category slider, you can have the flexibility to display WooCommerce product categories in a WooCommerce carousel or WooCommerce slider format. This WooCommerce category recent products feature of this WooLentor (WooCommerce builder) widget also allows you to showcase your most recent products in a user-friendly WooCommerce carousel or WooCommerce slider layout.
246
+
247
+ If you are planning to make your online storefront more accessible and easier to explore, then this wonderful Elementor WooCommerce widget or WooCommerce category showcase widget can help you achieve that by letting you showcase WooCommerce category list or WooCommerce category and product list in an eye-catching manner. You may be surprised at how easy it is to use this Elementor WooCommerce widget and how helpful it can be in showcasing your WooCommerce category.
248
+
249
  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).
250
 
251
+ <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.
252
+
253
+ There are options to manage WooCommerce category list and WooCommerce category image. Moreover, the WooCommerce category grid widget is fully responsive and mobile-friendly. In short, you can showcase WooCommerce product categories on your store in many different ways with the help of this Elementor WooCommerce builder widget. WooCommerce category grid is a great way to ehance the look of your WooCommerce store and make it more user friendly.
254
 
255
+ <strong>[WooCommerce Brands](https://woolentor.com/demo/brand-logo/)</strong> – Showcase brand logos within a grid or Woo carousel layout. WooCommerce Brands widget lets you display brands in different layouts. WooCommerce product brands is a WooLentor's widget (Elementor WooCommerce builder widget) that helps you to showcase product brands in your store. With this Woo builder widget for brand logo showcase, you can display the brand logos of your partners or sponsors within a rotating brand logo carousel or brand logo slider.
256
+
257
+ A brand carousel or brand slider makes it easy for you to display the brand logos in a way that is creative and engaging. Not to mention, they can help you attract new customers and build brand loyalty. Aside from showcasing your partner’s logo, you can show the product brands or WooCommerce brands whose products you sell on your online storefront. Furthermore, the brand logo Carousel or brand logo slider is fully responsive and mobile-friendly. If you want to make your business trustworthy to your customers, this brand carousel or brands slider widget is worth considering.
258
 
259
  <strong>[WooCommerce Breadcrumbs](https://woolentor.com/demo/product-layout/)</strong> – Add WooCommerce breadcrumbs to your WooCommerce store so that visitors can clearly understand which page they are currently viewing by seeing the WooCommerce navigation links, WooCommerce pages links, or WooCommerce menu links of the WooCommerce breadcrumbs.
260
 
261
  <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.
262
 
263
+ <strong>[WooCommerce Testimonial](https://woolentor.com/demo/testimonial/)</strong> – Display product testimonials on your WooCommerce site using the testimonial widget of WooLentor. A testimonial widget or testimonials widget can be an excellent way to showcase customer testimonials on your online storefront. You can place the testimonial widget on any page you want. With this testimonials widget, you can show product testimonials in a testimonial grid format.
264
+
265
+ Furthermore, the testimonial widget will allow you to create an Elementor testimonial carousel and display multiple product testimonials in a testimonial slider or testimonial carousel format. Not to mention, the testimonials widget is also responsive, so it will look great on all devices. If you are looking for a way to show off product testimonials from satisfied customers and build trust with store visitors, be sure to check out this testimonial widget!
266
+
267
  <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.
268
 
269
  <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.
270
 
271
+ Product image accordion is a powerful WooCommerce accordion widget that allows you to showcase your WooCommerce product images in a beautiful and responsive accordion. The WordPress accordion widget comes with a number of different customization options, so you can personalize the image accordion to fit your needs. You can also configure how many WooCommerce products to show in the image accordion or WooCommerce widgets accordion. Once you create a responsive accordion using this WooCommerce widgets accordion or WooCommerce accordion, it will look great on all devices.
272
+
273
+ With this wonderful WooCommerce widgets accordion, you can even set filter as to what type of WooCommerce products you want to display on your online storefront. WoCommerce accordion is a great way to increase the visibility of your WooCommerce products and boost sales. So if you're looking for an easy way to add a WooCommerce accordion or image accordion to your WooCommerce site, a product Image Accordion or a responsive accordion is the perfect solution. Besides, the Product Image WooCommerce Accordion widget is easy to use and comes with a detailed documentation.
274
+
275
+ <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 or WooCommerce 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.
276
 
277
  <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.
278
 
280
 
281
  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.
282
 
283
+ <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 (recent viewed 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 or recent viewed products.
284
 
285
  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.
286
 
301
 
302
  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.
303
 
304
+ <strong>[Product Short Description](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Manage the layout and style of your product short description with this simple widget. 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 or product widget WooCommerce can be pretty useful.
305
 
306
  <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.
307
 
313
 
314
  <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.
315
 
316
+ Showing WooCommerce related products can be a fantastic way to prompt customers to purchase additional items, and it can also help to boost your sales. You can utilize this WooCommerce related products widget to show products related to category. This Elementor WooCommerce widget or product widget WooCommerce will help your customers find their desired WooCommerce related product or related products.
317
+
318
+ Even though showing product related to the one customer are currently viewing is quite a useful feature, some store owners may think of it otherwise. For example, some businesses prefer to disable related products on their WooCommerce store because they don't want to clutter up their WooCommerce product pages or WooCommerce single product pages with an additional Woocommerce related products section. The main reason for doing so is that they believe that it might make it more difficult for customers to find what WooCommerce products they're looking for.
319
+
320
  <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.
321
 
322
+ 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 for WooCommerce related products slider offers a plethora of options to add and configure a related products slider for WooCommerce stores.
323
+
324
+ When it comes to enhancing your WooCommerce site, one of the best things you can do is to add WooCommerce recommendations. There are several ways to accomplish this, but one of the most effective is to add a related products slider for woocommerce or WooCommerce related products slider. A related product slider will allow you to show your visitors other WooCommerce products that they may be interested in, based on what WooCommerce product they're currently viewing.
325
 
326
+ 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. So if you're looking for a way to boost your WooCommerce site, adding WooCommerce recommendations through a related products slider for WooCommerce or WooCommerce related products slider is a great place to start.
327
 
328
+ Furthermore, the WooCommerce related products slider addons 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 product widget WooCommerce. If you're running a WooCommerce store, WooCommerce related products slider or related products slider for WooCommerce is a must-have feature.
329
+
330
+ WooCommerce recommended products are a great way to increase customer satisfaction. By showing WooCommerce recommended products on your WooCommerce product pages or WooCommerce product templates, you can increase the chances that customers will add additional items to their cart. It’s super easy to include a woocommerce recommendations or product recommendations section using the related products slider for WooCommerce widget.
331
 
332
  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)
333
 
334
+ <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, this simple widget 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.
335
 
336
  <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.
337
 
343
 
344
  <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.
345
 
346
+ A WooCommerce product image is one of the most significant elements on a WooCommerce product page. When a customer visits your WooCommerce store, the first thing they will see is the WooCommerce product image. It allows shoppers to view how the WooCommerce product looks like and get an idea of its size and shape. A good WooCommerce product image can make all the difference in whether or not a shopper decides to add a product to their cart. In addition, a WooCommerce product image can convey additional information about a WooCommerce product, such as color options, features, and materials. A well-chosen WooCommerce product image can help to improve the shopper's experience and increase the conversion rates.
347
+
348
  <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.
349
 
350
  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.
351
 
352
  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)
353
 
354
+ <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 (Woo builder) for WooCommerce product zoom plays the role of a WooCommerce zoom image plugin, WooCommerce zoom plugin, or product image zoom for WooCommerce plugin.
355
 
356
  As WooLentor's advanced product thumbnails with zoom widget works like a WooCommerce zoom image plugin or product image zoom for WooCommerce plugin, rest assured that you can effortlessly add a product image zoom or product photo zoom effect to the WooCommerce images of your store.
357
 
361
 
362
  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.
363
 
364
+ A product slider (Woo product slider / Woo 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.
365
 
366
  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.
367
 
368
  <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.
369
 
370
+ You can also use this Elementor WooCommerce widget to add a products promo video of your WooCommerce product to the single product page. The products promo video in WooCommerce is a crucial part of the shopping experience. A products promo video allows customers to see a WooCommerce product in action and understand how they work. In addition, the products promo video can help to build brand awareness and establish an emotional connection with potential customers.
371
+
372
+ <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 customers to share products or spread the word about your WooCommerce products and increase sales.
373
 
374
+ 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.
375
 
376
+ <strong>[Upsell Product](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> Set the number of WooCommerce upsell products to display and change the style based on your needs. With this WooCommerce builder (Woo builder) upsell products widget or WooCommerce 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.
377
 
378
+ You can also use the WooCommerce upsell products widget or WooCommerce product upsell 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.
379
 
380
+ Upselling WooCommerce products is a common marketing technique or 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.
381
 
382
+ So, what are you waiting for? Make sure to leverage the WooCommerce product upsell feature in your store and multiply your sales.
383
 
384
+ <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 WooCommerce upsell products in an attractive WooCommerce upsell carousel or upsells carousel.
385
+
386
+ A WooCommerce upsell carousel or upsells carousel is an excellent way to increase your average order value and boost your sales. By offering upsell carousel or upsells carousel products, you can encourage customers to add items to their cart that they may not have otherwise considered. Upsell carousels or upsells carousels can be used to promote other WooCommerce products in your store.
387
+
388
+ With this Woo Builder widget for upsells products or product upsell, you can upsell WooCommerce products to your customers by displaying them within a beautiful upsell carousel or upsells carousel.
389
+
390
+ WooCommerce upsells can be a great strategy to boost your purchase total. You can quickly promote several WooCommerce upsell products on your site using a WooCommerce upsells carousel. By including WooCommerce upsell products in an upsells carousel, you can increase the chances that shoppers will see and purchase them.
391
+
392
+ The main key is to offer WooCommerce upsells products that customers might be interested in, based on what they're already looking at. Furthermore, a WooCommerce upsells carousel or product upsell carousel is easy to set up and configure. So you should definitely check this Elementor WooCommerce widget out.
393
+
394
+ Upsell products, upsell WooCommerce products, or WooCommerce upsell products can be displayed in many ways, including a product upsell carousel, WooCommerce upsell carousel, or WooCommerce upsells carousel, which allows customers to browse upsells products easily. So if you're looking for a way to increase your sales, consider utilizing the WooCommerce upsell products, or the product upsell widget of WooLentor. With just a few clicks, you can start promoting additional WooCommerce products and generating additional revenue.
395
+
396
+ And because the Elementor WooCommerce widget for upsells products or product upsell 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 or WooCommerce upsell carousel widget on your store. (Pro)
397
 
398
  <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.
399
 
403
 
404
  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.
405
 
406
+ <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.
407
 
408
  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.
409
 
410
  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.
411
 
412
+ <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. Finally, you can add a suggest product price button to any WooCommerce product page, allowing visitors to provide product price suggestion or price suggestion for the WooCommerce products of your store..
413
 
414
  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.
415
 
416
+ <strong>[QR Code](https://woolentor.com/demo/product/qr-code/)</strong> – Let your customers add any WooCommerce products to their cart just by scanning a simple QR code from their mobile phone. You can add this WooCommerce QR code widget or QR widget on the WooCommerce product page.
417
+
418
+ This QR WooCommerce or WooCommerce QR widget makes it easy for customers to add a WooCommerce product to their cart. All they need to do is scan the simple QR code or WooCommerce QR code using their mobile devices, and the QR widget will automatically add the product to their cart. So if you're looking for a way to make your WooCommerce product or website more accessible, consider using a WooCommerce QR code widget.
419
 
420
+ <strong>[Social Share](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Enable your customers to share your WooCommerce products on different social media platforms. This Social Share for WooCommerce widget makes it easy for customers to share products with their friends and followers on various social media sites. Furthermore, you can share products with just a few clicks using this product share widget of WooLentor. Whether you're looking to increase traffic to your WooCommerce product pages or offer customers a quick share option to share products with their friends, Social Share for WooCommerce widget is a wonderful option. (Pro)
421
 
422
  <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.
423
 
450
 
451
  <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.
452
 
453
+ WooLentor can assist you with product promotion on Cart for WooCommerce. If you are wondering how you can achieve this, WooLentor's WooCommerce cross-sell products widget or WooCommerce cross sell widget is the way to go. With a little creativity, you can showcase WooCommerce crosssell products in a stunning cross sells or crosssells carousel.
454
+
455
+ Adding a beautiful carousel for WooCommerce cross sell products on the Cart page, product promotion on Cart becomes a lot easier than you might expect. This WooCommerce cross-sell products slider can be utilized as a promotional product slider as well to urge customers to purchase more items by showing relevant WooCommerce products to them.
456
+
457
+ If you use this Elementor WooCommerce widget for cross-selling WooCommerce products properly, you can effectively set up an engaging section for WooCommerce cross sell product promotion, multiple product promotions, or any other WooCommerce promotion. If you want to enhance sales and conversion rates, WooCommerce product promotion on cart is definitely worth considering.
458
+
459
 
460
  <strong>Checkout Page Widgets (Pro):</strong>
461
 
499
 
500
  <strong>[Product Archive Layout](https://woolentor.com/demo/shop/)</strong> – Display your WooCommerce products in the WooCommerce layout supported by your theme and customize some necessary styles if necessary. This Elementor WooCommerce builder widget fetches all your WooCommerce products and displays them depending on your theme style alongside a WooCommerce product sort or WooCommerce sort and WooCommerce pagination.
501
 
502
+ One of the great things about WooCommerce is that it gives customers a lot of flexibility when it comes to sorting WooCommerce products. For example, WooCommerce product sort or WooCommerce sort options can be configured to sort products by popularity, product price, or product rating. With WooCommerce product sort or WooCommerce sort, your customers can sort WooCommerce products any way they want. WooCommerce store owners or visitors can use the WooCommerce sort or WooCommerce product sort feature to control how WooCommerce products are displayed on a WooCommerce site. So if you're looking for a way to give your online storefront an edge, be sure to leverage the WooCommerce product sort or WooCommerce sort option.
503
+
504
  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.
505
 
506
  <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.
507
 
508
  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.
509
 
510
+ This incredible Elementor WooCommerce widget allows you to display your WooCommerce products in a WooCommerce responsive grid view. WooCommerce grid products or grid view products can be helpful if you want to show off multiple WooCommerce products at once or if you want to give customers a better way to browse through your WooCommerce products.
511
+
512
+ In addition, the grid products or grid view products could be the better option when you're selling WooCommerce products that are visually appealing. WooCommerce grid products or grid view products can also be displayed in various ways with this Elementor WooCommerce widget.
513
+
514
+ Furthermore, you can use WooCommerce product filters and WooCommerce search bar along with this Woo builder widget for WooCommerce grid products or grid view products. This way, customers can easily filter through the WooCommerce products to find what they're looking for.
515
+
516
+ You can even have the flexibility to tailor the WooCommerce product display to your specific needs. Ultimately, the WooCommerce product grid for shop and archive pages is a powerful Elementor WooCommerce widget that can be leveraged to create an engaging and user-friendly shopping experience.
517
+
518
  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.
519
 
520
  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)
535
 
536
  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.
537
 
538
+ == 🧱 Available Gutenberg Blocks: ==
539
+
540
+ <strong>General Gutenberg Blocks</strong>
541
+
542
+ <strong>[Product Tab](https://woolentor.com/demo/block-product-tab/)</strong> – WooCommerce product tabs Gutenberg block by WooLentor lets you showcase your WooCommerce products category wise in a tabbed format. If you want to organize your WooCommerce products and make them easier to find for your store visitors, this Gutenberg WooCommerce block for WooCommerce product tabs can be handy.
543
+
544
+ You can leverage the tabbed category product listing feature to display WooCommerce products from different product categories in various WooCommerce category tabs. Hence it becomes easy for customers to browse through WooCommerce products from each product category simply by clicking on a WooCommerce category tab. Furthermore, customers are not required to visit an individual archive or category page to view WooCommerce products from a specific product category.
545
+
546
+ If you want to remove product tab, you can also achieve this in the settings panel of this Gutenberg WooCommerce block. Doing so is helpful for customers who don't want to show particular WooCommerce product tabs or WooCommerce product categories in a tabbed format on their websites. The WooCommerce Gutenberg block for product tabs can be used on any page you want to showcase your WooCommerce products in a tabbed format based on product categories.
547
+
548
+ This WooCommerce block for Gutenberg block editor includes everything you need to get started with WooCommerce product tabs. Plus, the Gutenberg WooCommerce block offers the same functionalities as the WooCommerce product tabs widget or category tabs widget of WooLentor, designed exclusively for the Elementor page builder. Meaning you are not forced to use the Elementor page builder anymore.
549
+
550
+ You can now include a tabbed category product listing section in your online storefront using the WooCommerce Gutenberg block editor of WordPress alone. This product tab WooCommerce block for Gutenberg offers customers a wide variety of customization options using which a store owner can control almost every element of this WooCommerce Gutenberg block or Gutenberg WooCommerce block.
551
+
552
+ <strong>[Product Grid](https://woolentor.com/demo/product-grid-block/)</strong> – The WooCommerce product grid Gutenberg block of WooLentor enables you to display WooCommerce products in a responsive grid. You can place this product grid Gutenberg block anywhere you like on your WooCommerce site. The output rendered by this WooCommerce Gutenberg block is fully responsive and will adjust to the screen size of the device it is being viewed on. It is also possible to customize the WooCommerce products grid block from the Gutenberg block settings.
553
+
554
+ If you don't want to use the Elementor Page Builder and stick with the native Gutenberg editor, you should try out this Gutenberg block for WooCommerce product grid. It works exactly the same as the Elementor grid widget or product grid widget of WooLentor. Meaning you can utilize this WooCommerce Gutenberg block to showcase your WooCommerce products in a responsive grid for WooCommerce. All you have to do is enable Gutenberg product block for WooCommerce responsive grid.
555
+
556
+ Furthermore, this Gutenberg block for WooCommerce gives you full control over the WooCommerce grid layout or WooComerce product grids. You can also choose how many WooCommerce products to display per page and what order they are displayed in. Displaying WooCommerce products in a responsive grid is crucial for a WooCommerce store, as it will ensure that visitors can browse through the store no matter what type of devices they use.
557
+
558
+ So, what are you waiting for? Leverage this WooCommerce product grid block for the Gutenberg block editor and exhibit your WooCommerce products in a more visually appealing way. If you are interested in displaying your WooCommerce products using the Gutenberg block editor only, this Gutenberg block could be a great solution.
559
+
560
+ <strong>[Customer Review](https://woolentor.com/demo/customer-review-block/)</strong> – Customer reviews are an essential part of any eCommerce business, and WooCommerce is no exception. The default customer review system in WooCommerce is basic, but you can improve it with WooLentor's customer review Gutenberg block. This customer reviews WooCommerce Gutenberg block allows you to add and display customer reviews on any post or page you wish.
561
+
562
+ There is no limitation to using this customer reviews block or WooCommerce product reviews block only on a single product page. Customer reviews, WooCommerce reviews, or WooCommerce product reviews can even assist you in boosting conversion rates by fostering a sense of trust and credibility among potential customers.
563
+
564
+ The customer review Gutenberg block for WooCommerce can also be customized to match the look and feel of your website. Besides, the Gutenberg block includes an option to insert star ratings, making it easy for customers to leave ratings and feedback on a WooCommerce product. It also helps potential customers to make informed decisions about WooCommerce products.
565
+
566
+ <strong>[Promo Banner](https://woolentor.com/demo/block-promo-banner/)</strong> – In this competitive world of eCommerce business, it's important to make sure your WooCommerce products stand out from the crowd. One way to do this is to promote products using promo banners. Promo Banners are a great way to grab attention and draw potential customers to your WooCommerce site or online storefront. With WooLentor's promo banner Gutenberg block, you can easily create and customize promo banners to promote products on your WooCommerce store.
567
+
568
+ You can even use this Gutenberg block, like a banner widget or banner designer, to add banners or banner images to your website or blog. It doesn't have to be a WooCommerce page. This promo banner block for Gutenberg will help you design responsive banners or responsive banner images, so you can rest assured that all the promo banners will look great on any device.
569
+
570
+ You can also utilize an announcement banner in your WooCommerce store to notify customers of new WooCommerce products promo or product promotions. So, if you're looking for an easy way to promote products through a promo banner or announcement banner, adding promo banners is a great option.
571
+
572
+ <strong>[Special Day Offer](https://woolentor.com/demo/block-special-day-offer/)</strong> – Make an offer for WooCommerce to your customers by adding a beautiful banner with the special day offer block. This Gutenberg block is easy to use and has various customization options that make it ideal for businesses of all sizes. You can leverage this Gutenberg block to add banners on your WooCommerce store during any sort of special days like Christmas, Halloween, Black Friday, Cyber Monday, etc. businesses can easily create WooCommerce special offers and banners to promote their WooCommerce products and any other services. WooCommerce special offers can be used to attract new customers and keep existing ones coming back for more.
573
+
574
+ A special day offer banner can be a great way to attract attention and boost sales. By making special product offer and product promotions, businesses can encourage customers to buy more products and services. You can even use special offers to promote seasonal products, clearance items, or anything else you want to move quickly. With this Gutenberg block for special day offer, making special offers is easy and effective in a WooCommerce site. Just create a banner image and display it on your WooCommerce site. You can even use special offers to drive traffic to specific landing pages or product pages. So if you're looking for a way to boost sales and drive traffic, WooCommerce special offers are a great option.
575
+
576
+ <strong>[Image Marker](https://woolentor.com/demo/blocks-image-marker/)</strong> – Add image markers or image hotspots to an image using the image marker Gutenberg block of WooLentor. This image marker block will allow you to add multiple markers to any image you want. Usually, store owners use WordPress markers or WooCommerce markers on various positions of a product image to show detailed information for every specific part of that product where the WooCoomerce markers are added.
577
+
578
+ This Gutenberg image marker block allows you to add a title and description for each product marker or WooCommerce marker. Customers can view the details in a tooltip option simply by hovering over the WooCommerce hotspots or image hotspots. Adding multiple markers to product images is a wonderful way to highlight specific parts of WooCommerce products on an online storefront. Not only do product markers add a touch of interactivity, but they can also help to boost engagement and encourage website visitors to explore your WooCommerce products in greater depth.
579
+
580
+ With this WooCommerce product marker or image marker Gutenberg block, you can quickly and easily add multiple markers to your product images with just a few clicks. Overall, WooCommerce product markers or WooCommerce product image hotspots can be a valuable option for creating a more interactive experience for your users. So if you're looking for a way to add some extra flair to your product photos, product markers are worth considering.
581
+
582
+ <strong>[Category Grid](https://woolentor.com/demo/block-category-grid/)</strong> – WooCommerce product category grid block allows you to show WooCommerce product categories in a grid view. The category grid view or categories grid is an excellent way for WooCommerce category showcase and makes it easy for customers to find what they're looking for. You can also use this category grid block or WooCommerce product category block for Gutenberg editor like a WooCommerce category product widget or WooCommerce product category widget to create an eye-catching WooCommerce category list, WooCommerce category carousel, product category carousel, WooCommerce category slider, product category slider, or category slider for WooCommerce.
583
+
584
+ This Gutenberg block for WooCommerce product category grid gives you the flexibility to control the style of WooCommerce category grid view and WooCommerce product category slider. You can even leverage this Gutenberg block to order category, limit the number of product categories, show count, set the number of columns, gutter space, and many more. On top of that, the WooCommerce category grid block is fully responsive and mobile-friendly. If you are looking for a way to display your WooCommerce product category compellingly, you should definitely check this WooCommerce Gutenberg block of WooLentor.
585
+
586
+ <strong>[Frequently Asked Questions](https://woolentor.com/demo/block-faq/)</strong> – If you're selling products online, then you know that product FAQ for WooCommerce is an important part of the customer journey. Not only do they help to provide common product question and answer, but they can also help to reduce returns and increase customer satisfaction.
587
+
588
+ Fortunately, WooLentor has a Gutenberg block for product FAQ for WooCommerce or WooCommerce FAQs that enables you to add a WordPress responsive accordion with FAQ or responsive frequently asked questions section to your WooCommerce store. With this useful WooCommerce product FAQ block for Gutenberg editor you can also include category wise FAQs or category wise frequently asked question.
589
+
590
+ It is also possible to leverage this Gutenberg block for WooCommerce FAQ or product FAQ to place a FAQ in single product page or a responsive frequently asked questions section on any page you want on your WooCommerce website. The Gutenberg block even comes with many customization options using which you can design a stylish FAQ to improve the customer experience.
591
+
592
+ Adding a product FAQ or WooCommerce FAQ section to your WooCommerce store can be a great way to provide additional information about your WooCommerce products and help customers make informed purchase decisions. Customers usually ask question about WooCommerce products to know more detail about specific products.
593
+
594
+ That's where a WordPress responsive accordion with FAQ can assist in reducing customer support inquiries, as customers can find answers to their commonly asked questions without needing to contact you directly.
595
+
596
+ <strong>[Brand Logo](https://woolentor.com/demo/blocks-image-marker/)</strong> – Showcase the brand logos of your clients, partners, or sponsors on your WooCommerce website using this brand logo block for Gutenberg blocks editor. You can also add a title and URL along with the logo image. You can provide proof that your business is credible by displaying multiple brand logos in a beautiful logo grid. That's why it's essential to have a brand logo showcase on your website.
597
+
598
+ This brand logo showcase Gutenberg block or brand logo gallery Gutenberg block enables you to display a group of brand logo images in an eye-catching logo grid. In this brand logo block settings, you will find some customization options as well, using which you can personalize the look and feel of the brand logo grid section. If you're looking for a way to take your website to the next level, consider adding a brand logo showcase.
599
+
600
+ Apart from showing the logos in a grid format, there are other ways to make them look even more attractive. For example, you can showcase brand logos in a brand logo carousel or brand logo slider, making it easy for visitors to browse through them. Even though the option to showcase the logos in a sliding format is not present in this brand logo showcase block for Gutenberg editor, we'll introduce them very soon. Make sure to keep an eye on our plugin update!
601
+
602
 
603
  == 💪 WooLentor's WooCommerce Module: ==
604
 
607
 
608
  We feel you. That’s why we created this WooCommerce product Variation Swatches Module – to help you turn those boring old WooCommerce product drop down options into more visually appealing WooCommerce variation swatches or woo variation swatches (variation switcher). Now your customers can see all the variations at a glance, making their shopping experience much better.
609
 
610
+ Plus, with WooCommerce product variation swatches module or variation swatches addons, you can choose from WooCommerce color swatches, button swatches, Label Swatches or image swatch (WooCommerce Color and Label Variations, Link Variation, etc..) – whichever suits your store’s style best. So why wait? Start using this variation swatches module or product attribute swatches today and watch your sales soar!
611
 
612
  With the WooCommerce color swatches, you can provide your customers with a wide range of colors to choose from while streamlining their shopping experience. Furthermore, WooCommerce color swatches are a great way to make your WooCommerce store more user-friendly and efficient. When all the WooCommerce color swatches are displayed together, it becomes easier for shoppers to compare and contrast different options and find the perfect WooCommerce product quickly.
613
 
615
 
616
  If you need a lot of flexibility and customizability, then WooCommerce variation swatches module or variation swatches addons is an excellent option. WooLentor's variation swatches module is easy to use and comes with a powerful variation switcher. With this variation switcher, you can incorporate WooCommerce colors and labels variations in the form of variation swatches or Woo variation swatches. On the other hand, these product variation swatches for WooCommerce will enable your customers to easily switch between different WooCommerce product variation swatches on your product.
617
 
618
+ Start using WooCommerce product variation swatches or variations swatches module now!
619
 
620
  [More Details](https://woolentor.com/doc/variation-swatches/)
621
 
622
  = 🔔 Sales Notification =
623
  This feature allows showing the sales notification or sales popup to display real/custom WooCommerce orders. Furthermore, you can customize the design of the WooCommerce sales popup or live notification for WooCommerce from the module settings. Even though this recent sales popup WordPress module’s name suggests that is meant for displaying sales notifications, WooCommerce order notifications, or WooCommerce pop ups, nevertheless, you can also do other things like showing WooCommerce product announcements, WooCommerce announcements, WooCommerce product notices, or WooCommerce notices regarding WooCommerce product price drop or WooCommerce drop price. To achieve this, all you need to do is create a custom notification.
624
 
625
+ If you're running a WooCommerce store, then you must know how important it is to keep your customers engaged. A great way to do this is by displaying recent sales notifications or recent sales popup on your WooCommerce site to show WooCommerce recent purchases, recent purchase orders, or recent orders. Not only does this help to keep customers informed about what's going on at your WooCommerce store, but it also allows you to create a sense of urgency and encourage them to make a purchase.
626
+
627
+ This way, shoppers can see what others have bought and get excited about their own upcoming purchases. So if you are planning to enhance customer engagement and boost your overall sales, this recent sales notifications or recent sales popup module is the way to go.
628
+
629
  [More Details](https://woolentor.com/doc/sales-notification-for-woocommerce/)
630
 
631
+ = 🎨 WooCommerce Product Filter Module =
632
+ WooLentor has recently introduced a powerful WooCommerce products filter module that enables store owners to incorporate multiple WooCommerce product filters or Woo products filters into their shop page or product archive page. With the help of this remarkable WordPress WooCommerce product filter or product filter for WooCommerce module, your potential customers can easily filter WooCommerce products by various product filters or criteria of your WooCommerce products.
633
+
634
+ This way it becomes way more easier for them to find exactly what WooCommerce products they're looking for. And when customers can find their desired WooCommerce products, they're more likely to make a purchase.
635
+
636
+ You can effortlessly add different product filters, products filter items, or Woo filters to your WooCommerce store as per their needs. The WordPress WooCommerce product filter also allows you to choose the field type and terms type for each particular WooCommerce product attribute.
637
+
638
+ One of the best noteworthy feature of this WooCommerce products filter module is that the WooCommerce product filters you create using this module will help visitors to filter through all of your WooCommerce products in real time. Meaning, every product filter or Woo filter will be powered by AJAX.
639
+
640
+ If you don’t want to see the filtered results immediately after you apply a product filter, you can also customize product filters even more by including an additional button to apply the selected filters in a click or clear the product filters. Doing so, will require visitors to click on the “Apply” button in order to search for products based on different product filters and “Clear” button to uncheck all the previously applied filters.
641
+
642
+ Once you add and configure a WooCommerce product filter item inside the WordPress product filter with WooCommerce module settings panel, an intuitive shortcode will be generated automatically. All you need to do is place the shortcode on the Shop and/or Archive page(s) alongside a product archive widget that WooLentor offers.
643
+
644
+ Apart from providing your customers with the option to select which product attributes to filter by, you can also include an AJAX search form or a handy WooCommerce search bar using which they can search WooCommerce products by keywords. Another incredible feature of this module is that it comes with an advanced product filter widget. This Elementor WooCommerce product filter widget is quite useful if you plan to add WooCommerce product filtering options through the Elementor page builder.
645
+
646
+ The best part about this WooCommerce filterable products or filterable products widget is that you don’t have to configure the WooCommerce products filter items all over again. This WooCommer shop filter or product filter widget will save your precious time by fetching all the filter items that you will create from the WooCommerce products filter or WooCommerce shop filter module settings.
647
+
648
+ All you have to do is drag the WooCommerce filterable products widget or filterable products widget to Elementor canvas and choose which product filters or Woo filters to display. So, be sure to make use of this amazing WooCommerce product filter module and offer an easy and user-friendly shopping experience to your customers.
649
+
650
+ [More Details](https://woolentor.com/doc/sales-notification-for-woocommerce/)
651
+
652
+ = ✏️ WooCommerce Order Bump =
653
+ Order Bump for WooCommerce module can help you increase sales and customer satisfaction. Order Bump allows customers to add additional WooCommerce products to their cart at Checkout, which can lead to increased average order values. WooCommerce order bump or Checkout Order Bump also allows you to set up an upsell Order Bump Offer for WooCommerce, which can give customers a chance to purchase higher-priced items.
654
+
655
+ Order Bump is a special offer that can enable you in upselling products on the WooCommerce checkout page. It allows customers to add additional WooCommerce products to their WooCommerce orders at a discounted price. Order Bumps or orderbumps can be used to increase order value, improve customer satisfaction, and boost sales. Checkout Order Bumps are a great way to increase average order value and boost sales. In addition, order bumps can be used to give WooCommerce discounts or special offers on upgrades, upsell products, or related products.
656
+
657
+ The order bump for WooCommerce or upsell order bump offer for WooCommerce module lets you offer an Order Bump product or service at the Checkout of your WooCommerce store. Order Bump can help you to overcome shopping cart abandonment. Order Bump in WooCommerce is also a great way to reduce your customer's risk when trying a new product.
658
+
659
+ Order Bump for WooCommerce offers automatic Order Bumps that are displayed with a checkbox. The customer only needs to check the box, and the WooCommerce order bump will be automatically added to their cart without leaving the page they're currently on. When it comes to reducing shopping cart abandonment and boosting your average order value.
660
+
661
+ Store owners can provide special offers during the WooCommerce checkout process by using this upsell Order Bump Offer for WooCommerce module. This will assist them in converting more of their visitors into customers while increasing sales. It only takes a single click for the customers to add the order Bump product or order bump offer to their existing WooCommerce order.
662
+
663
+ Checkout Order Bump helps you boost conversions and sales by allowing you to offer a WooCommerce Order Bump product or service at the Checkout of your WooCommerce store. With Checkout Order Bump or WooCommerce order bump at the Checkout, there's no need for the customers to leave the page they're currently on. Checkout Order Bump is a great way to increase sales, reduce shopping cart abandonment, and boost your average order value using Upsell Order Bump Offer for WooCommerce is the way to go.
664
+
665
  = ✏️ Rename Label =
666
  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.
667
 
668
  [More Details](https://woolentor.com/doc/change-woocommerce-text/)
669
 
670
  = 👀 Product Quick View =
671
+ 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 stuff like quick product view, quick products view, quickshop, quick shop, quick buy, or WooCommerce quick order.
672
 
673
+ 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.
 
 
674
 
675
  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.
676
 
677
  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.
678
 
679
+ You can even utilize the WooCommerce product quick view popup, WooCommerce product pop up, 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 the WooCommerce quick view, WooCommerce product quick view, WooCommerce quickview, or product quick view popup 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.
680
 
681
  [More Details](https://woolentor.com/doc/change-woocommerce-text/)
682
 
683
  = ❤️ WooCommerce Wishlist Module =
684
+ WooLentor's WooCommerce Wishlist Module is a fantastic module that enables you to integrate the woo wishlist or products 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 (Woo wishlist) so that they find all their items in one place later.
685
+
686
+ 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 (Woo wishlist). You can even use this WooCommerce wishlist widget to give your customers the ability to share their products wishlists with friends and family.
687
 
688
+ Adding a wishlist widget to your WooCommerce store can be a great way to entice customers to come back and buy WooCommerce products they're interested in. Allowing customers to save WooCommerce products they want to purchase later, makes it easy for them to find and buy what they're looking for, increasing the chances that they'll make a purchase from your store. WooLentor offers a WooCommerce wishlist or flexible wishlist module that allows creating a products wishlist or Woo wishlist of WooCommerce products on your WooCommerce-powered website.
689
 
690
+ After enabling this flexible wishlist or product wishlist module, a wishlist widget will be available, using which store owners can easily showcase the WooCommerce products available in a WooCommerce wishlist, wishlist WooCommerce, or Woo wishlist. This wishlist widget will also allow your customers to create and manage their own WooCommerce wishlists or Woo wishlists. Furthermore, this incredible products wishlist widget or WooCommerce wishlist widget can be quite handy if you want to promote specific WooCommerce products while improving your store's usability and engagement.
691
+
692
+ Plus, the wishlist widget (Woo wishlist) 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 products wishlist (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.
693
 
694
  [More Details](https://woolentor.com/builder/quick-view-template/)
695
 
696
  = ⚖️ Product Comparison / Product Compare or Comparison Table Module =
697
  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.
698
 
699
+ 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 or product pop up will appear where they can compare WooCommerce products in a compare table.
700
 
701
  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.
702
 
703
+ 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 or products comparison 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.
704
 
705
  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.
706
 
707
+ Fortunately, WooLentor (Woo builder) offers an exclusive product compare module or products comparison 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.
708
 
709
  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.
710
 
711
+ On top of that, WooLentor (WooCommerce builder plugin) is fully compatible with the YITH WooCommerce compare plugin, which many users use to accomplish the same task.
712
 
713
  [More Details](https://woolentor.com/doc/woocommerce-product-compare/)
714
 
717
 
718
  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.
719
 
720
+ 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 WooCommerce promotion as well as promote seasonal products.
721
 
722
+ If you want to increase sales and encourage customers to buy your products, a sale countdown timer WooCommerce, product time countdown for 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 or WooCommerce sale countdown 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.
723
 
724
+ When it comes to showing WooCommerce discounts or WooCommerce offers for a limited time, this sale countdown timer WooCommerce or product time countdown for 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.
725
 
726
+ 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 or product time countdown for WooCommerce using which you can apply flash sales for a short period of time.
727
 
728
+ If you're running a sale or special WooCommerce 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.
729
 
730
  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.
731
 
732
  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.
733
 
734
+ By using the sale countdown timer WooCommerce or WooCommerce sale countdown module as a WooCommerce product scheduler or discount product scheduler, you can schedule the availability of WooCommerce products on your WooCommerce store. Moreover, the WooCommerce product countdown is packed with several useful features for configuring the time duration settings for each of your WooCommerce products. When it comes to providing a special WooCommerce discount or WooCommerce offer to a product, this sales countdown WooCommerce addon or WooCommerce product countdown is an ideal solution to set up a WooCommerce product scheduler or discount product scheduler.
735
+
736
  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.
737
 
738
  [More Details](https://woolentor.com/doc/enable-sales-countdown-timer-in-woocommerce/)
739
 
740
  = ✨ Shopify Style Checkout Page in WooCommerce =
741
+ 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.
742
+
743
+ Furthermore, the Shopify-like Checkout module will provide the customers with an amazing WooCommerce fast checkout experience which will help customer with WooCommerce quick order or quickshop. So, make sure to leverage this fantastic WooCommerce module (Shopify-like Checkout) to provide your customers with a fast WooCommerce checkout experience.
744
+
745
+ If you haven't heard about Shopify yet, Shopify is a popular eCommerce platform known for its streamlined and uncluttered checkout process. Despite the fact that WooCommerce offers a plethora of flexibility and customization options, its checkout process is not as user-friendly as Shopify's. This Shopify-like checkout module can help you convert the WooCommerce checkout page into a Shopify-like Checkout that is considerably easier to use. For WooCommerce store owners who wish to increase the usability of their online storefront, a Shopify-like checkout page or WooCommerce checkout like Shopify can be an excellent option.
746
+
747
+ As any online shopper knows, the WooCommerce checkout process is often the most frustrating part of the experience. Having to enter all of your information, including shipping and billing addresses, can be time-consuming and confusing. Fortunately, WooLentor’s Shopify-like checkout module will streamline the entire process for the shoppers.
748
+
749
+ This WooCommerce module helps customers with WooCommerce quick order, WooCommerce fast checkout, or WooCommerce quick checkout through a Shopify-like checkout page or WooCommerce checkout like Shopify to further speed up the process.
750
 
751
  [More Details](https://woolentor.com/shopify-style-checkout-page-in-woocommerce/)
752
 
795
 
796
  Adding WooCommerce additional fields or WooCommerce custom checkout fields can be a great way to gather additional information from your customers. For example, you may want to add WooCommerce custom checkout fields for custom WooCommerce customer messages, gift wrap options, or instructions about a schedule delivery for WooCommerce. Fortunately, WooLentor comes with a powerful WooCommerce checkout field editor or WooCommerce checkout form editor module that allows adding WooCommerce extra fields to the WooCommerce checkout process.
797
 
798
+ You can use this WooCommerce add on or shipping module in Woo commerce to add WooCommerce custom fields to the checkout form. These extra WooCommerce fields can be extremely useful if you need to collect additional information from your customers during the checkout process. But that's not all; this custom WooCommerce checkout fields editor or WooCommerce checkout field manager module doesn't require you to write a single line of code. The WooCommerce custom checkout fields or checkout widget also allows you to manage the display of WooCommerce fields for checkout, set required fields, etc.
799
 
800
+ Moreover, with this checkout field editor for WooCommerce module or shipping module in Woo commerce, you can add, edit, and remove fields from the checkout page WooCommerce form as per your needs. So if you're looking to take your WooCommerce store to the next level, be sure to leverage this WooCommerce checkout field editor or WooCommerce checkout field manager module and keep your WooCommerce checkout process optimized for your business.
801
 
802
  [More Details](https://woolentor.com/doc/checkout-field-editor/)
803
 
820
 
821
  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.
822
 
823
+ 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 WooCommerce upcoming products are going to be popular once they are available in the store.
824
 
825
  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.
826
 
827
+ 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 WooCommerce upcoming product. Pre-ordering products has become a popular way to shop online, allowing customers to reserve items before they are available for sale.
828
 
829
+ 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. The WooCommerce preorder help you with sales forecast. Meaning, It allows you to predict sales for your WooCommerce products and gives you an idea of future sales patterns. Sales forecast in WooCommerce is a valuable tool for store owners who want to make informed decisions about their WooCommerce products. With sales forecast you can spot trends and opportunities that you might otherwise miss. 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.
830
 
831
  [More Details](https://woolentor.com/doc/how-to-set-pre-order-for-woocommerce/)
832
 
839
  GTM Conversion Tracking Module helps you keep track of conversions and assign them to specific sources. You may identify whether a sale was caused by a Google Ads/Facebook Ads, a direct website visit, or a social media post. When you link your store seamlessly with GTM, you'll generate more income from advertising by gathering precise sales data.
840
 
841
  = 📌 Single Product Sticky Add to cart Module (Pro) =
842
+ 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, sticky cart bar, or stick bar for WooCommerce includes an add to cart button, a cart quantity field as well as some product information.
843
 
844
+ This sticky add to cart bar or stick bar for WooCommerce 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.
845
 
846
  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.
847
 
854
 
855
  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.
856
 
857
+ Leverage this incredible side mini cart or WooCommerce minicart module of WooLentor to incorporate a side cart WooCommerce or side mini cart to your WooCommerce site. The side cart WooCommerce module allows your customers to see what WooCommerce products they have in their cart and makes it easy to add or remove items. You can also use the side cart WooCommerce module as an alternative to Woo floating minicart or Woo floating cart, as it works the same as a floating cart for WooCommerce.
858
+
859
+ A side cart WooCommerce can be a great way to encourage shoppers to complete their purchases. If you're looking for a Woo floating minicart, Woo floating cart, or floating cart for WooCommerce, then be sure to check out the side mini cart or side cart WooCommerce module of WooLentor. It's easy to set up and use, and it's been designed to work seamlessly with WooCommerce. The Woo floating minicart or Woo floating cart is a great addition to any online storefront and can help increase sales and conversion rates.
860
+
861
  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.
862
 
863
  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.
879
  <strong>💰 [Whols for WooCommerce Wholesale](https://wordpress.org/plugins/whols/)</strong>
880
  Whols is an outstanding WordPress plugin for WooCommerce that allows store owners to set wholesale prices or wholesale WooCommerce pricing for the WooCommerce products of their online storefront. This WooCommerce Wholesale plugin provides many options to create a WooCommerce B2B Store.
881
 
882
+ You can also control almost all the aspects of your WooCommerce B2B store. For example, you can show special wholesale prices only to the wholesalers while hiding them from other user roles. This WooCommerce Wholesale plugin enables you to maintain both consumers and wholesalers from a single WooCommerce store. Apart from that, this amazing WooCommerce Wholesale plugin makes user role management tasks easier on a WooCommerce B2B store.
883
 
884
  <strong>📋 [JustTables for WooCommerce Product Table](https://wordpress.org/plugins/just-tables/)</strong>
885
  JustTables is an incredible WordPress plugin that lets you showcase all your WooCommerce products in a sortable and filterable table view. It allows your customers to easily navigate through different attributes of the products and compare them on a single page.
956
 
957
  == Changelog ==
958
 
959
+ = Version: 2.4.7 - Date: 06-11-2022 =
960
+ * Solved : Issue in showing recommended extensions for php7.
961
+ * Solved : Issue with the display of wishlist and compare icon in product grid block.
962
+ * Solved : Anchor tag link validation issue in QuickView button.
963
+ * Solved : Width control issue in the horizontal filter addon element.
964
+ * Solved : Redirection issue of the filter addon in the Elementor editor mode.
965
+ * Solved : Compatibility issue of the "Single Product Ajax Add to Cart" module with third-party plugin.
966
+ * Solved : Issue with the overriding of outdated templates.
967
+ * Compatibility with the latest WooCommerce version.
968
+ * Compatibility with the latest WordPress version.
969
+
970
  = Version: 2.4.6 - Date: 17-10-2022 =
971
+ * Added : Hooks for custom validation.
972
+ * Improved : Gutenberg blocks style option.
973
+ * Solved : Compatibility issue with PHP 7.2 in Variation swatches module.
974
+ * Solved : An activation issue with slick slider in Universal layout addon.
975
+ * Compatibility with the latest WooCommerce version.
976
 
977
  = Version: 2.4.5 - Date: 20-09-2022 =
978
  * Added : Ordering option in Category grid / List addons.
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-hooks', 'wp-i18n', 'wp-primitives', 'wp-server-side-render', 'wp-url'), 'version' => '63bef9eeab718ad2fa38');
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' => '77890baf835e0e9b01a6');
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 c in o)r.call(o,c)&&o[c]&&e.push(c);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,c=n.isArray;function i(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}i.prototype={constructor:i,register:function(e,t,o){var n=this.queries,i=o&&this.browserIsIncapable;return n[e]||(n[e]=new r(e,i)),l(t)&&(t={match:t}),c(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=i},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},c={};function i(e){return r.isMemo(e)?l:c[e.$$typeof]||n}c[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[r.Memo]=l;var s=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,o,r){if("string"!=typeof o){if(g){var n=p(o);n&&n!==g&&e(t,n,r)}var l=u(o);d&&(l=l.concat(d(o)));for(var c=i(t),f=i(o),b=0;b<l.length;++b){var y=l[b];if(!(a[y]||r&&r[y]||f&&f[y]||c&&c[y])){var _=m(o,y);try{s(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,c=parseInt,i="object"==typeof o.g&&o.g&&o.g.Object===Object&&o.g,s="object"==typeof self&&self&&self.Object===Object&&self,u=i||s||Function("return this")(),d=Object.prototype.toString,m=Math.max,p=Math.min,g=function(){return u.Date.now()};function f(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(f(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=f(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)?c(e.slice(2),o?2:8):n.test(e)?NaN:+e}e.exports=function(e,t,o){var r,n,a,l,c,i,s=0,u=!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,s=t,l=e.apply(a,o)}function h(e){return s=e,c=setTimeout(w,t),u?_(e):l}function R(e){var o=e-i;return void 0===i||o>=t||o<0||d&&e-s>=a}function w(){var e=g();if(R(e))return E(e);c=setTimeout(w,function(e){var o=t-(e-i);return d?p(o,a-(e-s)):o}(e))}function E(e){return c=void 0,y&&r?_(e):(r=n=void 0,l)}function v(){var e=g(),o=R(e);if(r=arguments,n=this,i=e,o){if(void 0===c)return h(i);if(d)return c=setTimeout(w,t),_(i)}return void 0===c&&(c=setTimeout(w,t)),l}return t=b(t)||0,f(o)&&(u=!!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!==c&&clearTimeout(c),s=0,r=i=n=c=void 0},v.flush=function(){return void 0===c?l:E(g())},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,c=o?Symbol.for("react.profiler"):60114,i=o?Symbol.for("react.provider"):60109,s=o?Symbol.for("react.context"):60110,u=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,g=o?Symbol.for("react.suspense_list"):60120,f=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,h=o?Symbol.for("react.responder"):60118,R=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 u:case d:case a:case c:case l:case p:return e;default:switch(e=e&&e.$$typeof){case s:case m:case b:case f:case i:return e;default:return t}}case n:return t}}}function E(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=s,t.ContextProvider=i,t.Element=r,t.ForwardRef=m,t.Fragment=a,t.Lazy=b,t.Memo=f,t.Portal=n,t.Profiler=c,t.StrictMode=l,t.Suspense=p,t.isAsyncMode=function(e){return E(e)||w(e)===u},t.isConcurrentMode=E,t.isContextConsumer=function(e){return w(e)===s},t.isContextProvider=function(e){return w(e)===i},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)===f},t.isPortal=function(e){return w(e)===n},t.isProfiler=function(e){return w(e)===c},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===c||e===l||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===f||e.$$typeof===i||e.$$typeof===s||e.$$typeof===m||e.$$typeof===_||e.$$typeof===h||e.$$typeof===R||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=c(o(196)),a=c(o(184)),l=o(518);function c(e){return e&&e.__esModule?e:{default:e}}function i(){return i=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},i.apply(this,arguments)}function s(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){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?s(Object(o),!0).forEach((function(t){d(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):s(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 g(e,t,o){return t&&p(e.prototype,t),o&&p(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e}function f(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=h(e);if(t){var n=h(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 h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var R=function(e){f(o,e);var t=y(o);function o(){return m(this,o),t.apply(this,arguments)}return g(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,u(u({},o),r)):n.default.createElement("button",i({key:"0",type:"button"},o)," ","Previous")}}]),o}(n.default.PureComponent);t.PrevArrow=R;var w=function(e){f(o,e);var t=y(o);function o(){return m(this,o),t.apply(this,arguments)}return g(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,u(u({},o),r)):n.default.createElement("button",i({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=c(o(196)),a=c(o(184)),l=o(518);function c(e){return e&&e.__esModule?e:{default:e}}function i(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,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function u(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 g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}var f=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,c,f=(r=b,c=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(c){var o=g(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return p(this,e)});function b(){return u(this,b),f.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,c=t.onMouseLeave,u=t.infinite,d=t.slidesToScroll,m=t.slidesToShow,p=t.slideCount,g=t.currentSlide,f=(e={slideCount:p,slidesToScroll:d,slidesToShow:m,infinite:u}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,b={onMouseEnter:o,onMouseOver:r,onMouseLeave:c},y=[],_=0;_<f;_++){var h=(_+1)*d-1,R=u?h:(0,l.clamp)(h,0,p-1),w=R-(d-1),E=u?w:(0,l.clamp)(w,0,p-1),v=(0,a.default)({"slick-active":u?g>=E&&g<=R:g===E}),O={message:"dots",index:_,slidesToScroll:d,currentSlide:g},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?i(Object(o),!0).forEach((function(t){s(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):i(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=f},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)),c=o(518),i=o(740),s=o(329),u=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 g(){return g=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},g.apply(this,arguments)}function f(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 h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function R(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&&h(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 R(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,c.getHeight)(e)+"px"}})),v(w(t),"componentDidMount",(function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var e=(0,c.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,c.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,c.initializedState)(e);e=y(y(y({},e),a),{},{slideIndex:a.currentSlide});var l=(0,c.getTrackLeft)(e);e=y(y({},e),{},{left:l});var i=(0,c.getTrackCSS)(e);(o||r.default.Children.count(t.props.children)!==r.default.Children.count(e.children))&&(a.trackStyle=i),t.setState(a,n)})),v(w(t),"ssrInit",(function(){if(t.props.variableWidth){var e=0,o=0,n=[],a=(0,c.getPreClones)(y(y(y({},t.props),t.state),{},{slideCount:t.props.children.length})),l=(0,c.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 i=0;i<a;i++)o+=n[n.length-1-i],e+=n[n.length-1-i];for(var s=0;s<l;s++)e+=n[s];for(var u=0;u<t.state.currentSlide;u++)o+=n[u];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),g=y(y(y({},t.props),t.state),{},{slideCount:p}),f=(0,c.getPreClones)(g)+(0,c.getPostClones)(g)+p,b=100/t.props.slidesToShow*f,_=100/f,h=-_*((0,c.getPreClones)(g)+t.state.currentSlide)*b/100;return t.props.centerMode&&(h+=(100-_*b/100)/2),{slideWidth:_+"%",trackStyle:{width:b+"%",left:h+"%"}}})),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,c.getPostClones)(o);r++)if(t.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}for(var n=t.state.currentSlide-1;n>=-(0,c.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,i=r.speed,s=r.afterChange,u=t.state.currentSlide,d=(0,c.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(u,m.currentSlide);var g=m.lazyLoadedList.filter((function(e){return t.state.lazyLoadedList.indexOf(e)<0}));l&&g.length>0&&l(g),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),s&&s(u),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=f(p,["animating"]);t.setState(o,(function(){t.callbackTimers.push(setTimeout((function(){return t.setState({animating:e})}),10)),s&&s(m.currentSlide),delete t.animationEndCallback}))}),i))}))}})),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,c.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,c.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,c.swipeStart)(e,t.props.swipe,t.props.draggable);""!==o&&t.setState(o)})),v(w(t),"swipeMove",(function(e){var o=(0,c.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,c.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,c.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,c.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 f=(0,c.extractObject)(d,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),b=t.props.pauseOnDotsHover;f=y(y({},f),{},{clickHandler:t.changeSlide,onMouseEnter:b?t.onDotsLeave:null,onMouseOver:b?t.onDotsOver:null,onMouseLeave:b?t.onDotsLeave:null}),e=r.default.createElement(s.Dots,f)}var _=(0,c.extractObject)(d,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);_.clickHandler=t.changeSlide,t.props.arrows&&(o=r.default.createElement(u.PrevArrow,_),n=r.default.createElement(u.NextArrow,_));var h=null;t.props.vertical&&(h={height:t.state.listHeight});var R=null;!1===t.props.vertical?!0===t.props.centerMode&&(R={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(R={padding:t.props.centerPadding+" 0px"});var w=y(y({},h),R),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",g({ref:t.listRefHandler},v),r.default.createElement(i.Track,g({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=s(o(196)),a=o(517),l=s(o(973)),c=s(o(492)),i=o(518);function s(e){return e&&e.__esModule?e:{default:e}}function u(){return u=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},u.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 g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function f(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 h=(0,i.canUseDOM)()&&o(974),R=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&&g(e,t)}(R,e);var t,o,r,s,d=(r=R,s=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(s){var o=y(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return f(this,e)});function R(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,R),_(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=R,(o=[{key:"media",value:function(e,t){h.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,i.canUseDOM)()&&e.media(n,(function(){e.setState({breakpoint:o})}))}));var o=(0,l.default)({minWidth:t.slice(-1)[0]});(0,i.canUseDOM)()&&this.media(o,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){h.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({},c.default),this.props),t[0].settings):m(m({},c.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=[],i=null,s=0;s<r.length;s+=e.rows*e.slidesPerRow){for(var d=[],p=s;p<s+e.rows*e.slidesPerRow;p+=e.slidesPerRow){for(var g=[],f=p;f<p+e.slidesPerRow&&(e.variableWidth&&r[f].props.style&&(i=r[f].props.style.width),!(f>=r.length));f+=1)g.push(n.default.cloneElement(r[f],{key:100*s+10*p+f,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));d.push(n.default.createElement("div",{key:10*s+p},g))}e.variableWidth?l.push(n.default.createElement("div",{key:s,style:{width:i}},d)):l.push(n.default.createElement("div",{key:s},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,u({style:this.props.style,ref:this.innerSliderRefHandler},e),l)}}])&&p(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),R}(n.default.Component);t.default=R},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=c(o(196)),a=c(o(184)),l=o(518);function c(e){return e&&e.__esModule?e:{default:e}}function i(){return i=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},i.apply(this,arguments)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function f(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?f(Object(o),!0).forEach((function(t){y(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):f(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)}},h=function(e,t){return e.key||t},R=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)}(R,e);var t,o,r,c,f=(r=R,c=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(c){var o=g(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return m(this,e)});function R(){var e;s(this,R);for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return y(p(e=f.call.apply(f,[this].concat(o))),"node",null),y(p(e),"handleRef",(function(t){e.node=t})),e}return t=R,(o=[{key:"render",value:function(){var e=function(e){var t,o=[],r=[],c=[],i=n.default.Children.count(e.children),s=(0,l.lazyStartIndex)(e),u=(0,l.lazyEndIndex)(e);return n.default.Children.forEach(e.children,(function(d,m){var p,g={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 f=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||"",R=_(b(b({},e),{},{index:m}));if(o.push(n.default.cloneElement(p,{key:"original"+h(p,m),"data-index":m,className:(0,a.default)(R,y),tabIndex:"-1","aria-hidden":!R["slick-active"],style:b(b({outline:"none"},p.props.style||{}),f),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(g)}})),e.infinite&&!1===e.fade){var w=i-m;w<=(0,l.getPreClones)(e)&&i!==e.slidesToShow&&((t=-w)>=s&&(p=d),R=_(b(b({},e),{},{index:t})),r.push(n.default.cloneElement(p,{key:"precloned"+h(p,t),"data-index":t,tabIndex:"-1",className:(0,a.default)(R,y),"aria-hidden":!R["slick-active"],style:b(b({},p.props.style||{}),f),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(g)}}))),i!==e.slidesToShow&&((t=i+m)<u&&(p=d),R=_(b(b({},e),{},{index:t})),c.push(n.default.cloneElement(p,{key:"postcloned"+h(p,t),"data-index":t,tabIndex:"-1",className:(0,a.default)(R,y),"aria-hidden":!R["slick-active"],style:b(b({},p.props.style||{}),f),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(g)}})))}})),e.rtl?r.concat(o,c).reverse():r.concat(o,c)}(this.props),t=this.props,o={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return n.default.createElement("div",i({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},o),e)}}])&&u(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),R}(n.default.PureComponent);t.Track=R},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=i,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){c(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 c(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,o){return Math.max(t,Math.min(e,o))}var s=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()};t.safePreventDefault=s;var u=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=u,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+g(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 g=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=g;var f=function(e){return e&&e.offsetWidth||0};t.getWidth=f;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(f(r)),c=e.trackRef&&e.trackRef.node,i=Math.ceil(f(c));if(e.vertical)t=a;else{var s=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(s*=a/100),t=Math.ceil((a-s)/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 g=e.lazyLoadedList||[],y=u(l(l({},e),{},{currentSlide:p,lazyLoadedList:g})),_={slideCount:o,slideWidth:t,listWidth:a,trackWidth:i,currentSlide:p,slideHeight:d,listHeight:m,lazyLoadedList:g=g.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,c=e.slideCount,s=e.lazyLoad,d=e.currentSlide,m=e.centerMode,p=e.slidesToScroll,g=e.slidesToShow,f=e.useCSS,b=e.lazyLoadedList;if(t&&o)return{};var y,h,R,w=a,E={},C={},B=n?a:i(a,0,c-1);if(r){if(!n&&(a<0||a>=c))return{};a<0?w=a+c:a>=c&&(w=a-c),s&&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+c,n?c%p!=0&&(y=c-c%p):y=0):!_(e)&&w>d?w=y=d:m&&w>=c?(w=n?c:c-1,y=n?0:c-1):w>=c&&(y=w-c,n?c%p!=0&&(y=0):y=c-g),!n&&w+g>=c&&(y=c-g),h=P(l(l({},e),{},{slideIndex:w})),R=P(l(l({},e),{},{slideIndex:y})),n||(h===R&&(w=y),h=R),s&&(b=b.concat(u(l(l({},e),{},{currentSlide:w})))),f?(E={animating:!0,currentSlide:y,trackStyle:O(l(l({},e),{},{left:h})),lazyLoadedList:b,targetSlide:B},C={animating:!1,currentSlide:y,trackStyle:v(l(l({},e),{},{left:R})),swipeLeft:null,targetSlide:B}):E={currentSlide:y,trackStyle:v(l(l({},e),{},{left:R})),lazyLoadedList:b,targetSlide:B};return{state:E,nextState:C}},t.changeSlide=function(e,t){var o,r,n,a,c=e.slidesToScroll,i=e.slidesToShow,s=e.slideCount,u=e.currentSlide,d=e.targetSlide,m=e.lazyLoad,p=e.infinite;if(o=s%c!=0?0:(s-u)%c,"previous"===t.message)a=u-(n=0===o?c:i-o),m&&!p&&(a=-1==(r=u-n)?s-1:r),p||(a=d-c);else if("next"===t.message)a=u+(n=0===o?c:o),m&&!p&&(a=(u+c)%s+o),p||(a=d+c);else if("dots"===t.message)a=t.index*t.slidesToScroll;else if("children"===t.message){if(a=t.index,p){var g=A(l(l({},e),{},{targetSlide:a}));a>t.currentSlide&&"left"===g?a-=s:a<t.currentSlide&&"right"===g&&(a+=s)}}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&&s(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,c=t.verticalSwiping,i=t.rtl,u=t.currentSlide,d=t.edgeFriction,m=t.edgeDragged,p=t.onEdge,g=t.swiped,f=t.swiping,b=t.slideCount,h=t.slidesToScroll,R=t.infinite,w=t.touchObject,E=t.swipeEvent,O=t.listHeight,C=t.listWidth;if(!o){if(r)return s(e);n&&a&&c&&s(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 W=Math.round(Math.sqrt(Math.pow(w.curY-w.startY,2)));if(!c&&!f&&W>10)return{scrolling:!0};c&&(w.swipeLength=W);var T=(i?-1:1)*(w.curX>w.startX?1:-1);c&&(T=w.curY>w.startY?1:-1);var S=Math.ceil(b/h),x=y(t.touchObject,c),z=w.swipeLength;return R||(0===u&&("right"===x||"down"===x)||u+1>=S&&("left"===x||"up"===x)||!_(t)&&("left"===x||"up"===x))&&(z=w.swipeLength*d,!1===m&&p&&(p(x),k.edgeDragged=!0)),!g&&E&&(E(x),k.swiped=!0),B=n?A+z*(O/C)*T:i?A-z*T:A+z*T,c&&(B=A+z*T),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,s(e)),k}},t.swipeEnd=function(e,t){var o=t.dragging,r=t.swipe,n=t.touchObject,a=t.listWidth,c=t.touchThreshold,i=t.verticalSwiping,u=t.listHeight,d=t.swipeToSlide,m=t.scrolling,p=t.onSwipe,g=t.targetSlide,f=t.currentSlide,b=t.infinite;if(!o)return r&&s(e),{};var _=i?u/c:a/c,h=y(n,i),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;s(e),p&&p(h);var B=b?f:g;switch(h){case"left":case"up":C=B+w(t),v=d?R(t,C):C,E.currentDirection=0;break;case"right":case"down":C=B-w(t),v=d?R(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 h=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=h;var R=function(e,t){var o=h(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=R;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+f(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)",c=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",i=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";n=l(l({},n),{},{WebkitTransform:a,transform:c,msTransform:i})}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,c=e.slideCount,i=e.slidesToShow,s=e.slidesToScroll,u=e.slideWidth,d=e.listWidth,m=e.variableWidth,p=e.slideHeight,g=e.fade,f=e.vertical;if(g||1===e.slideCount)return 0;var b=0;if(a?(b=-C(e),c%s!=0&&r+s>c&&(b=-(r>c?i-(r-c):c%s)),l&&(b+=parseInt(i/2))):(c%s!=0&&r+s>c&&(b=i-c%s),l&&(b=parseInt(i/2))),t=f?r*p*-1+b*p:r*u*-1+b*u,!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 h=0;h<y;h++)t-=_&&_.children[h]&&_.children[h].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+W(e)?"left":"right":e.targetSlide<e.currentSlide-T(e)?"right":"left"};t.siblingDirection=A;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?0:t-1};t.slidesOnRight=W;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?t-1:0};t.slidesOnLeft=T,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)},c=["top","right","bottom","left","width","height","size","weight"],i="undefined"!=typeof MutationObserver,s=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&&i()}function c(){l(a)}function i(){var e=Date.now();if(o){if(e-n<2)return;r=!0}else o=!0,r=!1,setTimeout(c,20);n=e}return i}(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),i?(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;c.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}(),u=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 g(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 f="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?f(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,c=p(r.width),i=p(r.height);if("border-box"===r.boxSizing&&(Math.round(c+a)!==t&&(c-=g(r,"left","right")+a),Math.round(i+l)!==o&&(i-=g(r,"top","bottom")+l)),!function(e){return e===d(e).document.documentElement}(e)){var s=Math.round(c+a)-t,u=Math.round(i+l)-o;1!==Math.abs(s)&&(c-=s),1!==Math.abs(u)&&(i-=u)}return y(n.left,n.top,c,i)}(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}(),h=function(e,t){var o,r,n,a,l,c,i,s=(r=(o=t).x,n=o.y,a=o.width,l=o.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,i=Object.create(c.prototype),u(i,{x:r,y:n,width:a,height:l,top:n,right:r+a,bottom:l+n,left:r}),i);u(this,{target:e,contentRect:s})},R=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 h(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=s.getInstance(),r=new R(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 c=Object.prototype.hasOwnProperty.bind(t),i=0;i<a.length;i++){var s=a[i];if(!c(s))return!1;var u=e[s],d=t[s];if(!1===(n=o?o.call(r,u,d,s):void 0)||void 0===n&&u!==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:()=>ba,metadata:()=>ga,name:()=>fa,settings:()=>_a});var t={};o.r(t),o.d(t,{category:()=>La,metadata:()=>Wa,name:()=>Sa,settings:()=>Ma});var r={};o.r(r),o.d(r,{category:()=>sl,metadata:()=>ll,name:()=>il,settings:()=>dl});var n={};o.r(n),o.d(n,{category:()=>xl,metadata:()=>Wl,name:()=>Sl,settings:()=>Ll});var a={};o.r(a),o.d(a,{category:()=>lc,metadata:()=>rc,name:()=>ac,settings:()=>ic});var l={};o.r(l),o.d(l,{category:()=>Tc,metadata:()=>kc,name:()=>Wc,settings:()=>xc});var c={};o.r(c),o.d(c,{category:()=>oi,metadata:()=>$c,name:()=>ti,settings:()=>ni});var i={};o.r(i),o.d(i,{category:()=>Bi,metadata:()=>Oi,name:()=>Ci,settings:()=>Ai});var s={};o.r(s),o.d(s,{category:()=>$i,metadata:()=>Zi,name:()=>Xi,settings:()=>ts});var u={};o.r(u),o.d(u,{category:()=>Os,metadata:()=>ws,name:()=>vs,settings:()=>Cs});var d={};o.r(d),o.d(d,{category:()=>qs,metadata:()=>Fs,name:()=>Gs,settings:()=>Us});var m={};o.r(m),o.d(m,{category:()=>lu,metadata:()=>ru,name:()=>au,settings:()=>iu});var p={};o.r(p),o.d(p,{category:()=>Bu,metadata:()=>Eu,name:()=>Ou,settings:()=>Tu});var g={};o.r(g),o.d(g,{category:()=>Ku,metadata:()=>Du,name:()=>qu,settings:()=>Qu});var f={};o.r(f),o.d(f,{category:()=>cd,metadata:()=>nd,name:()=>ld,settings:()=>sd});var b={};o.r(b),o.d(b,{category:()=>vd,metadata:()=>Rd,name:()=>Ed,settings:()=>Pd});var y={};o.r(y),o.d(y,{category:()=>Md,metadata:()=>Nd,name:()=>Id,settings:()=>Fd});var _={};o.r(_),o.d(_,{category:()=>tm,metadata:()=>Xd,name:()=>em,settings:()=>rm});var h={};o.r(h),o.d(h,{category:()=>ym,metadata:()=>gm,name:()=>bm,settings:()=>hm});var R={};o.r(R),o.d(R,{category:()=>xm,metadata:()=>Wm,name:()=>Sm,settings:()=>Lm});var w={};o.r(w),o.d(w,{category:()=>Ym,metadata:()=>Um,name:()=>Vm,settings:()=>Jm});var E={};o.r(E),o.d(E,{category:()=>dp,metadata:()=>ip,name:()=>up,settings:()=>pp});var v={};o.r(v),o.d(v,{category:()=>kp,metadata:()=>Pp,name:()=>Bp,settings:()=>Wp});var O={};o.r(O),o.d(O,{category:()=>qp,metadata:()=>Fp,name:()=>Gp,settings:()=>Up});var P={};o.r(P),o.d(P,{category:()=>ag,metadata:()=>og,name:()=>ng,settings:()=>cg});var C={};o.r(C),o.d(C,{category:()=>Ag,metadata:()=>Cg,name:()=>kg,settings:()=>Tg});var B={};o.r(B),o.d(B,{category:()=>$g,metadata:()=>Zg,name:()=>Xg,settings:()=>tf});var k={};o.r(k),o.d(k,{category:()=>Ef,metadata:()=>hf,name:()=>wf,settings:()=>Of});var A={};o.r(A),o.d(A,{category:()=>Hf,metadata:()=>jf,name:()=>Mf,settings:()=>Df});var W={};o.r(W),o.d(W,{category:()=>tb,metadata:()=>Xf,name:()=>eb,settings:()=>rb});var T={};o.r(T),o.d(T,{category:()=>bb,metadata:()=>pb,name:()=>fb,settings:()=>_b});var S={};o.r(S),o.d(S,{category:()=>Tb,metadata:()=>kb,name:()=>Wb,settings:()=>xb});var x={};o.r(x),o.d(x,{category:()=>Ub,metadata:()=>Gb,name:()=>Kb,settings:()=>Vb});var z={};o.r(z),o.d(z,{category:()=>cy,metadata:()=>ny,name:()=>ly,settings:()=>sy});var L={};o.r(L),o.d(L,{category:()=>Ey,metadata:()=>hy,name:()=>wy,settings:()=>Oy});var N={};o.r(N),o.d(N,{category:()=>jy,metadata:()=>zy,name:()=>Ny,settings:()=>My});var j={};o.r(j),o.d(j,{category:()=>e_,metadata:()=>Yy,name:()=>Jy,settings:()=>n_});var I={};o.r(I),o.d(I,{category:()=>R_,metadata:()=>g_,name:()=>b_,settings:()=>O_});var M={};o.r(M),o.d(M,{category:()=>M_,metadata:()=>z_,name:()=>N_,settings:()=>G_});var H={};o.r(H),o.d(H,{category:()=>nh,metadata:()=>$_,name:()=>th,settings:()=>ih});var F={};o.r(F),o.d(F,{category:()=>Ch,metadata:()=>wh,name:()=>vh,settings:()=>Wh});var D={};o.r(D),o.d(D,{category:()=>Kh,metadata:()=>Hh,name:()=>Dh,settings:()=>Yh});var G={};o.r(G),o.d(G,{category:()=>uR,metadata:()=>aR,name:()=>cR,settings:()=>gR});var q={};o.r(q),o.d(q,{category:()=>AR,metadata:()=>OR,name:()=>CR,settings:()=>xR});var K={};o.r(K),o.d(K,{category:()=>VR,metadata:()=>GR,name:()=>KR,settings:()=>XR});var U={};o.r(U),o.d(U,{category:()=>pw,metadata:()=>iw,name:()=>uw,settings:()=>yw});var Q={};o.r(Q),o.d(Q,{category:()=>Sw,metadata:()=>Bw,name:()=>Aw,settings:()=>Nw});var V={};o.r(V),o.d(V,{category:()=>Jw,metadata:()=>Uw,name:()=>Vw,settings:()=>tE});var Y={};o.r(Y),o.d(Y,{category:()=>bE,metadata:()=>dE,name:()=>pE,settings:()=>RE});var Z={};o.r(Z),o.d(Z,{category:()=>LE,metadata:()=>WE,name:()=>SE,settings:()=>ME});var J={};o.r(J),o.d(J,{category:()=>ev,metadata:()=>YE,name:()=>JE,settings:()=>nv});var X={};o.r(X),o.d(X,{category:()=>hv,metadata:()=>gv,name:()=>bv,settings:()=>vv});var $={};o.r($),o.d($,{category:()=>Iv,metadata:()=>xv,name:()=>Lv,settings:()=>Dv});var ee={};o.r(ee),o.d(ee,{category:()=>rO,metadata:()=>Xv,name:()=>eO,settings:()=>cO});var te={};o.r(te),o.d(te,{category:()=>EO,metadata:()=>yO,name:()=>hO,settings:()=>CO});const oe=window.wp.blocks,re=window.wp.i18n,ne=window.wp.components;function ae(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 le,ce=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,oe.setCategories)([{slug:"woolentor-blocks",title:(0,re.__)("WooLentor","woolentor"),icon:React.createElement(ne.Icon,{icon:ce})},{slug:"woolentor-single-product",title:(0,re.__)("WooLentor Single Product","woolentor"),icon:React.createElement(ne.Icon,{icon:ce})},{slug:"woolentor-shop",title:(0,re.__)("WooLentor Shop","woolentor"),icon:React.createElement(ne.Icon,{icon:ce})},{slug:"woolentor-cart",title:(0,re.__)("WooLentor Cart","woolentor"),icon:React.createElement(ne.Icon,{icon:ce})},{slug:"woolentor-checkout",title:(0,re.__)("WooLentor Checkout","woolentor"),icon:React.createElement(ne.Icon,{icon:ce})},{slug:"woolentor-myaccount",title:(0,re.__)("WooLentor My Account","woolentor"),icon:React.createElement(ne.Icon,{icon:ce})}].concat(function(e){if(Array.isArray(e))return ae(e)}(le=(0,oe.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)}(le)||function(e,t){if(e){if("string"==typeof e)return ae(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)?ae(e,t):void 0}}(le)||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 ie=function(e,t,o){return"function"==typeof t?t(e):e+o},se=function(e){var t={desktop:[],tablet:[],mobile:[]},o=""!==(null==e?void 0:e.type)?"{border-color: ".concat(e.color?e.color:"#f56640","; border-style: ").concat(e.type?e.type:"solid",";}"):"";return!e.width||void 0===e.width.desktop&&void 0===e.width.tablet&&void 0===e.width.mobile?o=""!==(null==e?void 0:e.type)&&void 0!==(null==e?void 0:e.width)?"{border-color: ".concat(e.color?e.color:"#f56640","; border-style: ").concat(e.type?e.type:"solid","; border-width: ").concat(ue(e.width),";}"):"":t=function(e,t){return e.desktop&&t.desktop.push(e.desktop),e.laptop&&t.laptop.push(e.laptop),e.tablet&&t.tablet.push(e.tablet),e.mobile&&t.mobile.push(e.mobile),t}(function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"undefined",r={};return e&&e.desktop&&""!==ie(e.desktop,o,e.unit||"")&&(r.desktop=t.replace(new RegExp("{{key}}","g"),ie(e.desktop,o,e.unit||""))),e&&e.laptop&&""!==ie(e.laptop,o,e.unit||"")&&(r.laptop=t.replace(new RegExp("{{key}}","g"),ie(e.laptop,o,e.unit||""))),e&&e.tablet&&""!==ie(e.tablet,o,e.unit||"")&&(r.tablet=t.replace(new RegExp("{{key}}","g"),ie(e.tablet,o,e.unit||""))),e&&e.mobile&&""!==ie(e.mobile,o,e.unit||"")&&(r.mobile=t.replace(new RegExp("{{key}}","g"),ie(e.mobile,o,e.unit||""))),r}(e.width,"border-width:{{key}}",ue),t),{desktop:t.desktop,tablet:t.tablet,mobile:t.mobile,simple:o}},ue=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 de(e){return de="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},de(e)}var me=function(e,t,o){return e.replace(new RegExp(t,"g"),o)},pe=function(e){return"object"==de(e)&&0!=Object.keys(e).length},ge=function(e,t){return e.replace(new RegExp("{{WOOLENTOR_WRAPPER}}","g"),".woolentorblock-"+t)},fe=function(e,t){var o="";return t.forEach((function(e){o+=e+";"})),e+"{"+o+"}"},be=function(e,t){var o="";return t.forEach((function(t){o+=e+t})),o},ye=function(e,t,o,r){if(r="object"!=de(r)?r:_e(r).data,"string"==typeof e){if(e){if(r){var n=ge(e,t);return"boolean"==typeof r?[n]:-1==n.indexOf("{{")&&n.indexOf("{")<0?[n+r]:[me(n,"{{"+o+"}}",r)]}return[]}return[ge(r,t)]}var a=[];return e.forEach((function(e){a.push(me(ge(e,t),"{{"+o+"}}",r))})),a},_e=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.type||void 0!==e.width||void 0!==e.color?{data:se(e),action:"append"}:void 0!==e.top||void 0!==e.left||void 0!==e.right||void 0!==e.bottom?{data:ue(e),action:"replace"}:{data:"",action:"append"};var t,o},he=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 Re(e,t,o){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(o){var n="",a=[],l=[],c=[],i=[],s=[];return Object.keys(e).forEach((function(n){var u="string"==typeof t?wp.blocks.getBlockType(t).attributes:t;if(u[n]&&u[n].hasOwnProperty("style")){var d=u[n].style;if(d.hasOwnProperty("selector")){var m=d.selector;if(he(e,d))if("object"==de(e[n])){var p=!1,g="";if(e[n].desktop&&(p=!0,g="object"==de(e[n].desktop)?_e(e[n].desktop).data:e[n].desktop+(e[n].unit||""),a=a.concat(ye(m,o,n,g))),e[n].laptop&&(p=!0,g="object"==de(e[n].laptop)?_e(e[n].laptop).data:e[n].laptop+(e[n].unit||""),l=l.concat(ye(m,o,n,g))),e[n].tablet&&(p=!0,g="object"==de(e[n].tablet)?_e(e[n].tablet).data:e[n].tablet+(e[n].unit||""),c=c.concat(ye(m,o,n,g))),e[n].mobile&&(p=!0,g="object"==de(e[n].mobile)?_e(e[n].mobile).data:e[n].mobile+(e[n].unit||""),i=i.concat(ye(m,o,n,g))),!p){var f=_e(e[n]),b=ge(m,o);"object"==de(f.data)?0!=Object.keys(f.data).length&&(f.data.background&&s.push(b+f.data.background),pe(f.data.desktop)&&a.push(fe(b,f.data.desktop)),pe(f.data.laptop)&&l.push(fe(b,f.data.laptop)),pe(f.data.tablet)&&c.push(fe(b,f.data.tablet)),pe(f.data.mobile)&&i.push(fe(b,f.data.mobile)),f.data.simple&&s.push(b+f.data.simple),f.data.font&&a.unshift(f.data.font),f.data.shape&&(f.data.shape.forEach((function(e){s.push(b+e)})),pe(f.data.data.desktop)&&a.push(be(b,f.data.data.desktop)),pe(f.data.data.laptop)&&l.push(be(b,f.data.data.laptop)),pe(f.data.data.tablet)&&c.push(be(b,f.data.data.tablet)),pe(f.data.data.mobile)&&i.push(be(b,f.data.data.mobile)))):f.data&&-1==f.data.indexOf("{{")&&("append"==f.action?s.push(b+f.data):s.push(ye(m,o,n,f.data)))}}else"hideDesktop"==n?r&&(s=s.concat("@media (min-width: 1200px) {"+ye(m,o,n,e[n])+"}")):"hideLaptop"==n?r&&(s=s.concat("@media only screen and (max-width: 1199px) and (min-width: 991px) {"+ye(m,o,n,e[n])+"}")):"hideTablet"==n?r&&(s=s.concat("@media only screen and (max-width: 992px) and (min-width: 767px) {"+ye(m,o,n,e[n])+"}")):"hideMobile"==n?r&&(s=s.concat("@media (max-width: 768px) {"+ye(m,o,n,e[n])+"}")):e[n]&&(s=s.concat(ye(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("")+"}"),c.length>0&&(n+="@media (min-width: 768px) and (max-width: 991px) {"+c.join("")+"}"),i.length>0&&(n+="@media (max-width: 767px) {"+i.join("")+"}"),s.length>0&&(n+=s.join("")),r?n:void 0}}var we="";function Ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return 1==t&&(we="",t=!1),e.map((function(e){var t=e.attributes,o=e.name;"woolentor"===o.split("/")[0]&&t.blockUniqId&&(we+=Re(t,o,t.blockUniqId,!0)),e.innerBlocks&&e.innerBlocks.length>0&&Ee(e.innerBlocks)})),we}function ve(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=Ee(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&&ve(e.innerBlocks)}))}function Oe(){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=Ee(e,!0);ve(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 Pe=window.wp.element,Ce=window.wp.compose,Be=window.wp.data;function ke(e){return ke="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},ke(e)}function Ae(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function We(e){return function(e){if(Array.isArray(e))return Te(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 Te(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)?Te(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 Te(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 Se(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xe(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 ze(e,t){return ze=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ze(e,t)}function Le(e,t){if(t&&("object"===ke(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 Ne(e){return Ne=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ne(e)}var je=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&&ze(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=Ne(r);if(n){var o=Ne(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Le(this,e)});function l(){return Se(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,c=t.taxnomiesList,i=function(){var e=[];return c&&c.forEach((function(t,o){e.push({label:t.name,value:t.slug})})),e};if("multiple"==l){var s=i();s.length>0&&(e=s.map((function(e,t){return React.createElement(ne.CheckboxControl,{key:e.value,label:e.label,onChange:function(t){return function(e,t){var a=-1!==r.indexOf(t)?We(r):[].concat(We(r),[t]);if(0==e){var l=a.indexOf(t);a.splice(l,1)}o(Ae({},n,a))}(t,e.value)},checked:-1!==r.indexOf(e.value)})})))}return React.createElement(Pe.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==i().length?React.createElement(ne.Spinner,null):React.createElement(ne.SelectControl,{label:a,value:r,options:i(),onChange:function(e){return o(Ae({},n,e))}}):e||React.createElement(ne.Spinner,null))))}}],o&&xe(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const Ie=(0,Ce.compose)([(0,Be.withSelect)((function(e,t){return{taxnomiesList:(0,e("core").getEntityRecords)("taxonomy",t.taxonomy?t.taxonomy:"product_cat",{orderby:"name",order:"asc",hide_empty:!0})}}))])(je);function Me(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 He(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Me(Object(o),!0).forEach((function(t){Fe(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Me(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Fe(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var De=function(){var e=(0,Be.useSelect)((function(e){return{blockTabName:e("woolentor/block-tabs").getBlockTabName(),blockSectionbName:e("woolentor/block-tabs").getBlockSectionName()}}),[]);return{tabName:e.blockTabName||"",section:e.blockSectionbName||""}},Ge={tabname:"",section:""};(0,Be.register)((0,Be.createReduxStore)("woolentor/block-tabs",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ge,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_BLOCK_TAB_NAME":return He(He({},e),{},{tabname:t.tabName});case"SET_BLOCK_SECTION_NAME":return He(He({},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 qe=window.wp.blockEditor;var Ke=[{name:"general",title:(0,re.__)("Genaral","woolentor"),className:"woolentor-tab-menu-item general"},{name:"styles",title:(0,re.__)("Styles","woolentor"),className:"woolentor-tab-menu-item styles"},{name:"advanced",title:(0,re.__)("Advanced","woolentor"),className:"woolentor-tab-menu-item advanced"}],Ue=(0,ne.createSlotFill)("WoolentorGeneralInspectorTab"),Qe=Ue.Slot,Ve=Ue.Fill,Ye=(0,ne.createSlotFill)("WoolentorStyleInspectorTab"),Ze=Ye.Slot,Je=Ye.Fill,Xe=(0,ne.createSlotFill)("WoolentorAdvancedInspectorTab"),$e=Xe.Slot,et=Xe.Fill,tt=function(e){var t=e.children;return(0,qe.useBlockEditContext)().isSelected?React.createElement(Ve,null,t):null},ot=function(e){var t=e.children;return(0,qe.useBlockEditContext)().isSelected?React.createElement(Je,null,t):null},rt=function(e){var t=e.children;return(0,qe.useBlockEditContext)().isSelected?React.createElement(et,null,t):null},nt=function(e){var t=(0,qe.useBlockEditContext)().clientId,o=De(),r=Ke.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(qe.InspectorControls,null,React.createElement("div",{className:"woolentor-panel-control"},React.createElement(ne.TabPanel,{className:"woolentor-tabs-menu",activeClass:"woolentor-tab-menu-active is-primary",onSelect:function(e){var o=(t+e).toLowerCase();(0,Be.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(Qe,null),"styles"===e.name&&React.createElement(Ze,null),"advanced"===e.name&&React.createElement($e,null))}))))};nt.defaultProps={tabs:["general","styles","advanced"]};const at=(0,Pe.memo)(nt);function lt(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 ct(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?lt(Object(o),!0).forEach((function(t){it(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):lt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function it(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function st(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 ut=[{name:"normal",title:(0,re.__)("Normal","woolentor")},{name:"hover",title:(0,re.__)("Hover","woolentor")},{name:"active",title:(0,re.__)("Active","woolentor")},{name:"focus",title:(0,re.__)("Focus","woolentor")}],dt=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 st(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)?st(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,Pe.useState)(o),2),n=r[0],a=r[1],l=!1===e.overide?ut.filter((function(t){var o,r=t.name;return null===(o=e.tabs)||void 0===o?void 0:o.includes(r)})):e.tabs,c=Pe.Children.map(e.children,(function(e){if(!(0,Pe.isValidElement)(e))return e;var o=ct({},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,Pe.cloneElement)(e,ct(ct({},o),{},{children:e.props.children})):void 0}));return React.createElement("div",{className:"woolentor-tabs-menu-group"},React.createElement(ne.ButtonGroup,{className:"woolentor-tabs-menu-btn-group"},l.map((function(e){return React.createElement(ne.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)}))),c)};dt.defaultProps={name:void 0,tabs:["normal","hover"],defaultActive:"normal",overide:!1};const mt=(0,Pe.memo)(dt);var pt=o(184),gt=o.n(pt),ft=function(e){var t=gt()(["woolentor-control","woolentor-tabs-content",e.className]);return React.createElement("div",{className:t},e.children)};ft.defaultProps={className:""},ft.displayName="TabsContent";const bt=ft;var yt=function(e){var t=e.title,o=e.initialOpen,r=(0,qe.useBlockEditContext)().clientId,n=De(),a=(r+n.tabName+t).toLowerCase(),l=e.panelName?e.panelName:a,c=!!o||l===n.section;return React.createElement(ne.PanelBody,{title:t,onToggle:function(){return e=l,void(0,Be.dispatch)("woolentor/block-tabs").setBlockSectionName(e);var e},initialOpen:c},e.children)};yt.defaultProps={title:"",panelName:!1,initialOpen:!1};const _t=(0,Pe.memo)(yt);var ht=function(){return(0,Be.useSelect)((function(e){return{deviceType:e("core/edit-post")?e("core/edit-post").__experimentalGetPreviewDeviceType():e("woolentor/device-type").getDeviceType()}}),[]).deviceType||""};function Rt(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 wt(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)?wt(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 wt(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,Be.register)((0,Be.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 Et={desktop:"Desktop",tablet:"Tablet",mobile:"Mobile"},vt=[{label:(0,re.__)("Desktop","woolentor"),value:"desktop",icon:(0,re.__)(React.createElement(ne.Dashicon,{icon:"desktop"}))},{label:(0,re.__)("Tablet","woolentor"),value:"tablet",icon:(0,re.__)(React.createElement(ne.Dashicon,{icon:"tablet"}))},{label:(0,re.__)("Mobile","woolentor"),value:"mobile",icon:(0,re.__)(React.createElement(ne.Dashicon,{icon:"smartphone"}))}],Ot=function(e){var t=ht(),o=t.toLowerCase(),r="all"===e.responsive?vt:vt.filter((function(t){var o,r=t.value;return null===(o=e.screens)||void 0===o?void 0:o.includes(r)})),n=Rt((0,Pe.useState)(!1),2),a=n[0],l=n[1],c=Rt((0,Pe.useState)(!1),2),i=c[0],s=c[1],u=(0,Pe.useRef)(null),d=(0,Pe.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,Pe.useCallback)((function(e){var t;a&&(null===(t=e.target)||void 0===t?void 0:t.closest(".woolentor-responsive-switcher-button-area"))!==u.current&&l(!1)}));return(0,Pe.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:u},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(){s(e.value)},onMouseLeave:function(){s(!1)}},React.createElement(ne.Button,{className:o===e.value?"device-selected":"",variant:"desktop"!==o&&(o!==e.value?"secondary":"primary"),onClick:function(){l(!a),function(e){(0,Be.dispatch)("core/edit-post")?(0,Be.dispatch)("core/edit-post").__experimentalSetPreviewDeviceType(Et[e]):(0,Be.dispatch)("woolentor/device-type").setDeviceType(Et[e])}(e.value)},icon:e.icon,showTooltip:!1,label:r},e.icon?void 0:r),n&&i===e.value&&React.createElement(ne.Popover,{focusOnMount:!1,position:"middle right",className:"components-tooltip","aria-hidden":"true"},n))}))))};Ot.defaultProps={screens:["desktop"],responsive:!1};const Pt=(0,Pe.memo)(Ot);var Ct=["desktop","tablet","mobile"],Bt=function(e){var t,o=gt()(["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?Ct:e.responsive;return React.createElement("div",{className:o},React.createElement("div",{className:"woolentor-field-label"},r&&React.createElement("label",null,r),n&&React.createElement(Pt,{screens:a})),React.createElement("div",{className:"woolentor-field-wrap"},e.children))};Bt.defaultProps={className:"",label:"",responsive:!1};const kt=Bt;function At(){return At=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},At.apply(this,arguments)}var Wt=(0,Pe.forwardRef)((function(e,t){var o=gt()([e.className,"woolentor-button-component"]);return React.createElement(ne.Button,At({},e,{className:o,ref:t}))})),Tt=React.createElement(ne.Dashicon,{icon:"image-rotate"}),St=(0,Pe.memo)((function(e){var t=null!==e.showReset?e.showReset:void 0!==e.value&&e.value!==e.default&&e.value!==e.placeholder,o=(0,Pe.useCallback)((function(){e.onChange(void 0===e.default?"":e.default)}),[e.onChange,e.default]);return e.allowReset&&t&&React.createElement(Wt,{className:"woolentor-control__reset-button",isSmall:!0,isTertiary:!0,"aria-label":(0,re.__)("Reset","woolentor"),onClick:o,icon:Tt})}));St.defaultProps={allowReset:!0,showReset:null,value:"",default:"",onChange:null};const xt=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 zt(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 Lt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?zt(Object(o),!0).forEach((function(t){Nt(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):zt(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}var jt=function(e){var t=ht().toLowerCase(),o=e.setAttributes,r=e.lavel,n=e.dimensions,a=e.attributesKey,l=function(r,l){var c,i,s,u,d,m,p=Lt({},n),g=e.responsive?(null===(c=p[t])||void 0===c?void 0:c.link)||"yes":(null==p?void 0:p.link)||"yes",f=e.responsive?(null===(i=p[t])||void 0===i?void 0:i.unit)||"px":(null==p?void 0:p.unit)||"px";e.responsive?p[t]="yes"===g?{top:r,right:r,bottom:r,left:r,link:"yes",unit:f}:Nt({top:(null===(s=p[t])||void 0===s?void 0:s.top)||"0",right:(null===(u=p[t])||void 0===u?void 0:u.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:f},l,r):"yes"===g?(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(Nt({},a,p))},c=function(r){var l=Lt({},n),c=r.target.getAttribute("data-value");e.responsive?l.hasOwnProperty(t)?l[t].unit=c:l[t]={unit:c}:l.unit=c,o(Nt({},a,l))},i=n.hasOwnProperty(t)?n[t].top:n.top?n.top:"",s=n.hasOwnProperty(t)?n[t].right:n.right?n.right:"",u=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(Pe.Fragment,null,React.createElement("div",{className:"wp-block-selector-woolentor-dimensions-control"},React.createElement(ne.PanelRow,{className:"woolentor-panel-row-height-auto",style:{minHeight:"auto"}},React.createElement("label",{className:"woolentor-control-title"},r),e.responsive&&React.createElement(Pt,{responsive:"all"}),React.createElement("div",{className:"woolentor-units-choices"},React.createElement("span",{className:"px"===m&&"unit-active","data-value":"px",onClick:c},(0,re.__)("PX","woolentor")),React.createElement("span",{className:"%"===m&&"unit-active","data-value":"%",onClick:c},(0,re.__)("%","woolentor")),React.createElement("span",{className:"em"===m&&"unit-active","data-value":"em",onClick:c},(0,re.__)("EM","woolentor")))),React.createElement(ne.PanelRow,null,React.createElement(ne.__experimentalNumberControl,{label:(0,re.__)("Top","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return l(e,"top")},shiftStep:10,value:i,labelPosition:"bottom"}),React.createElement(ne.__experimentalNumberControl,{label:(0,re.__)("Right","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return l(e,"right")},shiftStep:10,value:s,labelPosition:"bottom"}),React.createElement(ne.__experimentalNumberControl,{label:(0,re.__)("Bottom","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return l(e,"bottom")},shiftStep:10,value:u,labelPosition:"bottom"}),React.createElement(ne.__experimentalNumberControl,{label:(0,re.__)("Left","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return l(e,"left")},shiftStep:10,value:d,labelPosition:"bottom"}),React.createElement(ne.Button,{icon:"admin-links",value:"yes",isPrimary:"yes"===p,isSecondary:"yes"!==p,onClick:function(){var r=Lt({},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(Nt({},a,r))},title:(0,re.__)("Link values together","woolentor"),showTooltip:!0}))))};jt.defaultProps={dimensions:{top:"",right:"",bottom:"",left:"",unit:"px",link:"yes"}};const It=jt;var Mt=function(e){return(0,Be.useSelect)((function(t){return t("core/block-editor").getBlockAttributes(e)||{}}),[e])};function Ht(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 Ft(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ht(Object(o),!0).forEach((function(t){Dt(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ht(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Dt(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var Gt=function(e,t,o){var r=Ft({},t);return r[o]=e,r},qt=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,qe.useBlockEditContext)(),a=n.clientId,l=(0,Be.useDispatch)("core/block-editor"),c=l.updateBlockAttributes,i=Mt(a),s=e,u=i?i[s]:"",d=i?i[s]:"";if(null!==t){var m=Ft({},i[s]);m.hasOwnProperty(t)&&(u=i?i[s][t]:"",d=i?i[s][t]:"")}o&&(d=o(d));var p=(0,Pe.useCallback)((function(e){var o=r?r(e,u):null!==t?Gt(e,i[s],t):e;c(a,Dt({},s,o))}),[a,s,i,r,u,c]);return[d,p]};function Kt(){return Kt=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},Kt.apply(this,arguments)}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=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.")}()}(qt(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:gt()("woolentor-promoted-token-field woolentor-field-section",e.className)},React.createElement(ne.FormTokenField,Kt({},e,{value:n,onChange:a})),React.createElement(St,{allowReset:e.allowReset,value:n,default:e.default,onChange:a}))};Qt.defaultProps={className:"",allowReset:!0,default:"",attribute:"",value:void 0,onChange:void 0};const Vt=Qt,Yt=window.lodash;function Zt(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 Jt=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 Zt(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)?Zt(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,Pe.useState)([]),2),c=l[0],i=l[1];(0,Pe.useEffect)((function(){var e=[];a&&a.forEach((function(t,o){e.push({label:t.name,name:t.name,slug:t.slug,value:t.id})})),i(e)}),[a]);var s=c.map((function(e){return e.name})),u=""!==o?o.split(",").map((function(e){return((0,Yt.find)(c,(function(t){return t.value===parseInt(e)}))||{}).name})):void 0;return React.createElement("div",{className:"woolentor-component-taxonomy-area"},c.length>0?"single"==t?React.createElement(ne.SelectControl,{label:r,value:o,options:c,onChange:function(e){return n(e)}}):React.createElement(Vt,{suggestions:s,value:u,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,Yt.find)(c||[],(function(t){return t.name===e}))||{}).value}));n((0,Yt.compact)(o||[]).join(","))}}):React.createElement(ne.Spinner,null))};Jt.defaultProps={taxonomy:"",label:"Category",onChangeTaxonomy:function(){},allowReset:!1};const Xt=(0,Ce.compose)([(0,Be.withSelect)((function(e,t){return{taxnomiesList:(0,e("core").getEntityRecords)("taxonomy",t.taxonomykey?t.taxonomykey:"product_cat",{orderby:"name",order:"asc",hide_empty:!0})}}))])(Jt);function $t(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 eo(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?$t(Object(o),!0).forEach((function(t){to(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):$t(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function to(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}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}var ro=function(e){var t=e.uploadImage,o=void 0===e.allowedTypes?["image","png"]:e.allowedTypes,r=void 0===e.instructions?React.createElement("p",null,(0,re.__)("You need permission to upload media.","woolentor")):React.createElement("p",null,e.instructions),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 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.")}()}(qt(e.attribute,e.valueCallback,e.changeCallback),2),a=n[0],l=n[1],c=void 0===e.title?"":e.title,i=void 0===e.ImageData?a:e.ImageData,s=void 0===e.onChange?l:e.onChange,u=function(e){var t=eo({},i);t.id=e.id,t.url=e.url,s(t)};return React.createElement(Pe.Fragment,null,React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement("h3",null,c),React.createElement(qe.MediaUploadCheck,{fallback:r},React.createElement(qe.MediaUpload,{title:c,onSelect:u,allowedTypes:o,value:i.id,render:function(e){var o=e.open;return React.createElement(ne.Button,{className:i.id?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:o},!i.id&&(0,re.__)("Set ","woolentor")+c,!!i.id&&!t&&React.createElement(ne.Spinner,null),!!i.id&&t&&React.createElement("img",{src:t.source_url,alt:c}))}})),!!i.id&&t&&React.createElement(qe.MediaUploadCheck,null,React.createElement(qe.MediaUpload,{title:c,onSelect:u,allowedTypes:o,value:i.id,render:function(e){var t=e.open;return React.createElement(ne.Button,{onClick:t,variant:"secondary"},(0,re.__)("Replace image","woolentor"))}})),!!i.id&&React.createElement(qe.MediaUploadCheck,null,React.createElement(ne.Button,{onClick:function(){var e=eo({},i);e.id=void 0,e.url=void 0,s(e)},isLink:!0,isDestructive:!0},(0,re.__)("Remove image","woolentor")))))};ro.defaultProps={attribute:"",allowedTypes:["image","png"],instructions:void 0,onChange:void 0};const no=(0,Ce.compose)((0,Be.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 co(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){io(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 io(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function so(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uo(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 go(e){return go=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},go(e)}var fo=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=go(r);if(n){var o=go(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return po(this,e)});function l(){return so(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=co({},r);a[o]=e,t(io({},n,a))},c=["image","png"],i=React.createElement("p",null,(0,re.__)("To edit the banner image, you need permission to upload media.","woolentor")),s=function(e){var o=co({},r);o.imageId=e.id,o.imageUrl=e.url,t(io({},n,o))};return React.createElement(Pe.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(qe.MediaUploadCheck,{fallback:i},React.createElement(qe.MediaUpload,{title:o,onSelect:s,allowedTypes:c,value:r.imageId,render:function(e){var t=e.open;return React.createElement(ne.Button,{className:r.imageId?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:t},!r.imageId&&(0,re.__)("Set ","woolentor")+o,!!r.imageId&&!a&&React.createElement(ne.Spinner,null),!!r.imageId&&a&&React.createElement("img",{src:a.source_url,alt:o}))}})),!!r.imageId&&a&&React.createElement(qe.MediaUploadCheck,null,React.createElement(qe.MediaUpload,{title:o,onSelect:s,allowedTypes:c,value:r.imageId,render:function(e){var t=e.open;return React.createElement(ne.Button,{onClick:t,variant:"secondary"},(0,re.__)("Replace image","woolentor"))}})),!!r.imageId&&React.createElement(qe.MediaUploadCheck,null,React.createElement(ne.Button,{onClick:function(){var e=co({},r);e.imageId=void 0,e.imageUrl=void 0,t(io({},n,e))},isLink:!0,isDestructive:!0},(0,re.__)("Remove image","woolentor")))),React.createElement(ne.SelectControl,{label:(0,re.__)("Position","woolentor"),labelPosition:"side",value:r.position,options:[{label:(0,re.__)("Default","woolentor"),value:""},{label:(0,re.__)("Center Center","woolentor"),value:"center center"},{label:(0,re.__)("Center Left","woolentor"),value:"center left"},{label:(0,re.__)("Center Right","woolentor"),value:"center right"},{label:(0,re.__)("Top Center","woolentor"),value:"top center"},{label:(0,re.__)("Top Left","woolentor"),value:"top left"},{label:(0,re.__)("Top Right","woolentor"),value:"top right"},{label:(0,re.__)("Bottom Center","woolentor"),value:"bottom center"},{label:(0,re.__)("Bottom Left","woolentor"),value:"bottom left"},{label:(0,re.__)("Bottom Right","woolentor"),value:"bottom right"}],onChange:function(e){return l(e,"position")}}),React.createElement(ne.SelectControl,{label:(0,re.__)("Attachment","woolentor"),labelPosition:"side",value:r.attachment,options:[{label:(0,re.__)("Default","woolentor"),value:""},{label:(0,re.__)("Scroll","woolentor"),value:"scroll"},{label:(0,re.__)("Fixed","woolentor"),value:"fixed"}],onChange:function(e){return l(e,"attachment")}}),React.createElement(ne.SelectControl,{label:(0,re.__)("Repeat","woolentor"),labelPosition:"side",value:r.repeat,options:[{label:(0,re.__)("Default","woolentor"),value:""},{label:(0,re.__)("No-repeat","woolentor"),value:"no-repeat"},{label:(0,re.__)("Repeat","woolentor"),value:"repeat"},{label:(0,re.__)("Repeat-x","woolentor"),value:"repeat-x"},{label:(0,re.__)("Repeat-y","woolentor"),value:"repeat-y"}],onChange:function(e){return l(e,"repeat")}}),React.createElement(ne.SelectControl,{label:(0,re.__)("Size","woolentor"),labelPosition:"side",value:r.size,options:[{label:(0,re.__)("Default","woolentor"),value:""},{label:(0,re.__)("Auto","woolentor"),value:"auto"},{label:(0,re.__)("Cover","woolentor"),value:"cover"},{label:(0,re.__)("Contain","woolentor"),value:"contain"}],onChange:function(e){return l(e,"size")}})))}}],o&&uo(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const bo=(0,Ce.compose)((0,Be.withSelect)((function(e,t){var o=e("core").getMedia,r=t.bgProperty;return{uploadImage:r.imageId?o(r.imageId):null}})))(fo);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 ho(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){Ro(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 Ro(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,re.__)("Align Left","woolentor"),icon:(0,re.__)(React.createElement(ne.Dashicon,{icon:"editor-alignleft"}))},{value:"center",title:(0,re.__)("Align Center","woolentor"),icon:(0,re.__)(React.createElement(ne.Dashicon,{icon:"editor-aligncenter"}))},{value:"right",title:(0,re.__)("Align Right","woolentor"),icon:(0,re.__)(React.createElement(ne.Dashicon,{icon:"editor-alignright"}))},{value:"justify",title:(0,re.__)("Align Justify","woolentor"),icon:(0,re.__)(React.createElement(ne.Dashicon,{icon:"editor-justify"}))}],"flex-horizontal":[{value:"flex-start",title:(0,re.__)("Align Left","woolentor"),icon:(0,re.__)(React.createElement(ne.Dashicon,{icon:"align-pull-left"}))},{value:"center",title:(0,re.__)("Align Center","woolentor"),icon:(0,re.__)(React.createElement(ne.Dashicon,{icon:"align-center"}))},{value:"flex-end",title:(0,re.__)("Align Right","woolentor"),icon:(0,re.__)(React.createElement(ne.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.")}()}(qt(e.attribute,e.valueCallback,e.changeCallback),2),a=n[0],l=n[1],c=void 0===e.label?"":e.label,i=void 0===e.value?a:e.value,s=void 0===e.onChange?l:e.onChange;return React.createElement("div",{className:"woolentor-field-section"},""!==c&&React.createElement("label",null,c),React.createElement("div",{className:"woolentor-field-wrap"},React.createElement(ne.ButtonGroup,{children:r.filter((function(e){return!!o||"justify"!==e.value})).map((function(t,o){var r=ho(ho({},(0,Yt.omit)(t,"controls","show")),{},{onClick:function(){e.isToggleOnly&&t.value===i||s(t.value!==i?t.value:"")},variant:i!==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(ne.Button,yo({key:o},r))})),className:"woolentor-alignment-btn-group"})),React.createElement(St,{allowReset:e.allowReset,showReset:e.showReset,value:i,default:e.default,onChange:s}))};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.")}()}(qt(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(qe.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=ht(),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.")}()}(qt(e.attribute,o,e.valueCallback,e.changeCallback),2),n=r[0],a=r[1],l=void 0===e.label?"":e.label,c=void 0===e.value?n:e.value,i=void 0===e.onChange?a:e.onChange;return React.createElement(Pe.Fragment,null,React.createElement(ne.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(Pt,{responsive:"all"})),React.createElement(ne.RangeControl,{value:c,onChange:function(e){return i(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,Wo=JSON.parse('{"dashicon":[{"name":"Menu","icon":"menu"},{"name":"Admin Site","icon":"admin-site"},{"name":"Dashboard","icon":"dashboard"},{"name":"Admin media","icon":"admin-media"},{"name":"Admin page","icon":"admin-page"},{"name":"Admin comments","icon":"admin-comments"},{"name":"Admin appearance","icon":"admin-appearance"},{"name":"Admin plugins","icon":"admin-plugins"},{"name":"Admin users","icon":"admin-users"},{"name":"Admin tools","icon":"admin-tools"},{"name":"Admin settings","icon":"admin-settings"},{"name":"Admin network","icon":"admin-network"},{"name":"Admin generic","icon":"admin-generic"},{"name":"Admin home","icon":"admin-home"},{"name":"Admin collapse","icon":"admin-collapse"},{"name":"Filter","icon":"filter"},{"name":"Admin customizer","icon":"admin-customizer"},{"name":"Admin multisite","icon":"admin-multisite"},{"name":"Admin links","icon":"admin-links"},{"name":"Admin post","icon":"admin-post"},{"name":"Format image","icon":"format-image"},{"name":"Format gallery","icon":"format-gallery"},{"name":"Format audio","icon":"format-audio"},{"name":"Format video","icon":"format-video"},{"name":"Format chat","icon":"format-chat"},{"name":"Format status","icon":"format-status"},{"name":"Format aside","icon":"format-aside"},{"name":"Format quote","icon":"format-quote"},{"name":"Welcome write blog","icon":"welcome-write-blog"},{"name":"Welcome add page","icon":"welcome-add-page"},{"name":"Welcome view site","icon":"welcome-view-site"},{"name":"Welcome widgets menus","icon":"welcome-widgets-menus"},{"name":"Welcome comments","icon":"welcome-comments"},{"name":"Welcome learn more","icon":"welcome-learn-more"},{"name":"Image crop","icon":"image-crop"},{"name":"Image rotate","icon":"image-rotate"},{"name":"Image rotate left","icon":"image-rotate-left"},{"name":"Image rotate right","icon":"image-rotate-right"},{"name":"Image flip vertical","icon":"image-flip-vertical"},{"name":"Image flip horizontal","icon":"image-flip-horizontal"},{"name":"Image filter","icon":"image-filter"},{"name":"Undo","icon":"undo"},{"name":"Redo","icon":"redo"},{"name":"Editor bold","icon":"editor-bold"},{"name":"Editor italic","icon":"editor-italic"},{"name":"Editor ul","icon":"editor-ul"},{"name":"Editor ol","icon":"editor-ol"},{"name":"Editor quote","icon":"editor-quote"},{"name":"Editor align left","icon":"editor-alignleft"},{"name":"Editor align center","icon":"editor-aligncenter"},{"name":"Editor align right","icon":"editor-alignright"},{"name":"Editor insert more","icon":"editor-insertmore"},{"name":"Editor spell check","icon":"editor-spellcheck"},{"name":"Editor expand","icon":"editor-expand"},{"name":"Editor contract","icon":"editor-contract"},{"name":"Editor kitchensink","icon":"editor-kitchensink"},{"name":"Editor underline","icon":"editor-underline"},{"name":"Editor justify","icon":"editor-justify"},{"name":"Editor text color","icon":"editor-textcolor"},{"name":"Editor paste word","icon":"editor-paste-word"},{"name":"Editor paste text","icon":"editor-paste-text"},{"name":"Editor remove formatting","icon":"editor-removeformatting"},{"name":"Editor video","icon":"editor-video"},{"name":"Editor customchar","icon":"editor-customchar"},{"name":"Editor outdent","icon":"editor-outdent"},{"name":"Editor indent","icon":"editor-indent"},{"name":"Editor help","icon":"editor-help"},{"name":"Editor strike through","icon":"editor-strikethrough"},{"name":"Editor unlink","icon":"editor-unlink"},{"name":"Editor Rtl","icon":"editor-rtl"},{"name":"Editor break","icon":"editor-break"},{"name":"Editor code","icon":"editor-code"},{"name":"Editor code duplicate","icon":"editor-code-duplicate"},{"name":"Editor paragraph","icon":"editor-paragraph"},{"name":"Editor table","icon":"editor-table"},{"name":"Align left","icon":"align-left"},{"name":"Align right","icon":"align-right"},{"name":"Align center","icon":"align-center"},{"name":"Align none","icon":"align-none"},{"name":"Lock","icon":"lock"},{"name":"Lock duplicate","icon":"lock-duplicate"},{"name":"Unlock","icon":"unlock"},{"name":"Calendar","icon":"calendar"},{"name":"Calendar alt","icon":"calendar-alt"},{"name":"Visibility","icon":"visibility"},{"name":"Hidden","icon":"hidden"},{"name":"Post status","icon":"post-status"},{"name":"Edit","icon":"edit"},{"name":"Edit large","icon":"edit-large"},{"name":"Sticky","icon":"sticky"},{"name":"External","icon":"external"},{"name":"Arrow up","icon":"arrow-up"},{"name":"Arrow up duplicate","icon":"arrow-up-duplicate"},{"name":"Arrow down","icon":"arrow-down"},{"name":"Arrow left","icon":"arrow-left"},{"name":"Arrow right","icon":"arrow-right"},{"name":"Arrow up alt","icon":"arrow-up-alt"},{"name":"Arrow down alt","icon":"arrow-down-alt"},{"name":"Arrow left alt","icon":"arrow-left-alt"},{"name":"Arrow right alt","icon":"arrow-right-alt"},{"name":"Arrow up alt2","icon":"arrow-up-alt2"},{"name":"Arrow down alt2","icon":"arrow-down-alt2"},{"name":"Arrow left alt2","icon":"arrow-left-alt2"},{"name":"Arrow right alt2","icon":"arrow-right-alt2"},{"name":"Left right","icon":"leftright"},{"name":"Sort","icon":"sort"},{"name":"List view","icon":"list-view"},{"name":"Excerpt view","icon":"excerpt-view"},{"name":"Grid view","icon":"grid-view"},{"name":"Move","icon":"move"},{"name":"Hammer","icon":"hammer"},{"name":"Art","icon":"art"},{"name":"Migrate","icon":"migrate"},{"name":"Performance","icon":"performance"},{"name":"Universal access","icon":"universal-access"},{"name":"universal access alt","icon":"universal-access-alt"},{"name":"Tickets","icon":"tickets"},{"name":"Name tag","icon":"nametag"},{"name":"Clip board","icon":"clipboard"},{"name":"heart","icon":"heart"},{"name":"Mega phone","icon":"megaphone"},{"name":"Schedule","icon":"schedule"},{"name":"WordPress","icon":"wordpress"},{"name":"WordPress alt","icon":"wordpress-alt"},{"name":"Pressthis","icon":"pressthis"},{"name":"Update","icon":"update"},{"name":"Screen options","icon":"screenoptions"},{"name":"cart","icon":"cart"},{"name":"Feedback","icon":"feedback"},{"name":"Translation","icon":"translation"},{"name":"Tag","icon":"tag"},{"name":"Category","icon":"category"},{"name":"Archive","icon":"archive"},{"name":"Tag cloud","icon":"tagcloud"},{"name":"Text","icon":"text"},{"name":"Media archive","icon":"media-archive"},{"name":"Media audio","icon":"media-audio"},{"name":"Media code","icon":"media-code"},{"name":"Media Default","icon":"media-default"},{"name":"Media document","icon":"media-document"},{"name":"Media interactive","icon":"media-interactive"},{"name":"Media Spreadsheet","icon":"media-spreadsheet"},{"name":"Media text","icon":"media-text"},{"name":"Media video","icon":"media-video"},{"name":"Playlist audio","icon":"playlist-audio"},{"name":"Playlist video","icon":"playlist-video"},{"name":"Controls play","icon":"controls-play"},{"name":"Controls pause","icon":"controls-pause"},{"name":"Controls forward","icon":"controls-forward"},{"name":"Controls skip forward","icon":"controls-skipforward"},{"name":"Controls back","icon":"controls-back"},{"name":"controls skip back","icon":"controls-skipback"},{"name":"Controls repeat","icon":"controls-repeat"},{"name":"controls volume on","icon":"controls-volumeon"},{"name":"controls volume off","icon":"controls-volumeoff"},{"name":"Yes","icon":"yes"},{"name":"No","icon":"no"},{"name":"No alt","icon":"no-alt"},{"name":"Plus","icon":"plus"},{"name":"Plus alt","icon":"plus-alt"},{"name":"Plus alt2","icon":"plus-alt2"},{"name":"Minus","icon":"minus"},{"name":"Dismiss","icon":"dismiss"},{"name":"Marker","icon":"marker"},{"name":"Star filled","icon":"star-filled"},{"name":"Star half","icon":"star-half"},{"name":"Star empty","icon":"star-empty"},{"name":"Flag","icon":"flag"},{"name":"Info","icon":"info"},{"name":"Warning","icon":"warning"},{"name":"Share","icon":"share"},{"name":"Share1","icon":"share1"},{"name":"Share alt","icon":"share-alt"},{"name":"Share alt2","icon":"share-alt2"},{"name":"Twitter","icon":"twitter"},{"name":"Rss","icon":"rss"},{"name":"Email","icon":"email"},{"name":"Email alt","icon":"email-alt"},{"name":"Facebook","icon":"facebook"},{"name":"Facebook alt","icon":"facebook-alt"},{"name":"Networking","icon":"networking"},{"name":"google plus","icon":"googleplus"},{"name":"Location","icon":"location"},{"name":"Location alt","icon":"location-alt"},{"name":"Camera","icon":"camera"},{"name":"Images alt","icon":"images-alt"},{"name":"Images alt2","icon":"images-alt2"},{"name":"Video alt","icon":"video-alt"},{"name":"Video alt2","icon":"video-alt2"},{"name":"Video alt3","icon":"video-alt3"},{"name":"Vault","icon":"vault"},{"name":"Shield","icon":"shield"},{"name":"Shield alt","icon":"shield-alt"},{"name":"Sos","icon":"sos"},{"name":"Search","icon":"search"},{"name":"Slides","icon":"slides"},{"name":"Analytics","icon":"analytics"},{"name":"Chart pie","icon":"chart-pie"},{"name":"Chart bar","icon":"chart-bar"},{"name":"Chart line","icon":"chart-line"},{"name":"Chart area","icon":"chart-area"},{"name":"Groups","icon":"groups"},{"name":"Businessman","icon":"businessman"},{"name":"Id","icon":"id"},{"name":"Id alt","icon":"id-alt"},{"name":"Products","icon":"products"},{"name":"Awards","icon":"awards"},{"name":"Forms","icon":"forms"},{"name":"Testimonial","icon":"testimonial"},{"name":"Portfolio","icon":"portfolio"},{"name":"Book","icon":"book"},{"name":"Book alt","icon":"book-alt"},{"name":"Download","icon":"download"},{"name":"Upload","icon":"upload"},{"name":"Backup","icon":"backup"},{"name":"Clock","icon":"clock"},{"name":"Light bulb","icon":"lightbulb"},{"name":"Microphone","icon":"microphone"},{"name":"Desktop","icon":"desktop"},{"name":"Laptop","icon":"laptop"},{"name":"Tablet","icon":"tablet"},{"name":"Smartphone","icon":"smartphone"},{"name":"Phone","icon":"phone"},{"name":"Smiley","icon":"smiley"},{"name":"Index card","icon":"index-card"},{"name":"Carrot","icon":"carrot"},{"name":"Building","icon":"building"},{"name":"Store","icon":"store"},{"name":"Album","icon":"album"},{"name":"Palmtree","icon":"palmtree"},{"name":"Tickets alt","icon":"tickets-alt"},{"name":"Money","icon":"money"},{"name":"Thumbs up","icon":"thumbs-up"},{"name":"Thumbs down","icon":"thumbs-down"},{"name":"Layout","icon":"layout"},{"name":"Paper clip","icon":"paperclip"},{"name":"Email alt2","icon":"email-alt2"},{"name":"Menu alt","icon":"menu-alt"},{"name":"Trash","icon":"trash"},{"name":"Heading","icon":"heading"},{"name":"Insert","icon":"insert"},{"name":"Align full width","icon":"align-full-width"},{"name":"Button","icon":"button"},{"name":"Align wide","icon":"align-wide"},{"name":"Ellipsis","icon":"ellipsis"},{"name":"Buddicons activity","icon":"buddicons-activity"},{"name":"Buddicons buddy press logo","icon":"buddicons-buddypress-logo"},{"name":"Buddicons community","icon":"buddicons-community"},{"name":"Buddicons forums","icon":"buddicons-forums"},{"name":"Buddicons friends","icon":"buddicons-friends"},{"name":"Buddicons groups","icon":"buddicons-groups"},{"name":"Buddicons pm","icon":"buddicons-pm"},{"name":"Buddicons replies","icon":"buddicons-replies"},{"name":"Buddicons topics","icon":"buddicons-topics"},{"name":"Buddicons tracking","icon":"buddicons-tracking"},{"name":"Admin site alt","icon":"admin-site-alt"},{"name":"Admin site alt2","icon":"admin-site-alt2"},{"name":"Admin site alt3","icon":"admin-site-alt3"},{"name":"Rest api","icon":"rest-api"},{"name":"Yes alt","icon":"yes-alt"},{"name":"Buddicons bbpress logo","icon":"buddicons-bbpress-logo"},{"name":"Tide","icon":"tide"},{"name":"Editor ol rtl","icon":"editor-ol-rtl"},{"name":"Instagram","icon":"instagram"},{"name":"Business person","icon":"businessperson"},{"name":"Business woman","icon":"businesswoman"},{"name":"Color picker","icon":"color-picker"},{"name":"Camera alt","icon":"camera-alt"},{"name":"Editor ltr","icon":"editor-ltr"},{"name":"Cloud","icon":"cloud"},{"name":"Twitter alt","icon":"twitter-alt"},{"name":"Menu alt2","icon":"menu-alt2"},{"name":"Menu alt3","icon":"menu-alt3"},{"name":"Plugins checked","icon":"plugins-checked"},{"name":"Text page","icon":"text-page"},{"name":"Update alt","icon":"update-alt"},{"name":"Code standards","icon":"code-standards"},{"name":"Align pull left","icon":"align-pull-left"},{"name":"Align pull right","icon":"align-pull-right"},{"name":"Block default","icon":"block-default"},{"name":"Cloud saved","icon":"cloud-saved"},{"name":"Cloud upload","icon":"cloud-upload"},{"name":"Columns","icon":"columns"},{"name":"Cover image","icon":"cover-image"},{"name":"Embed audio","icon":"embed-audio"},{"name":"Embed generic","icon":"embed-generic"},{"name":"Embed photo","icon":"embed-photo"},{"name":"Embed post","icon":"embed-post"},{"name":"Embed video","icon":"embed-video"},{"name":"Exit","icon":"exit"},{"name":"HTML","icon":"html"},{"name":"Info outline","icon":"info-outline"},{"name":"Insert after","icon":"insert-after"},{"name":"Insert before","icon":"insert-before"},{"name":"Remove","icon":"remove"},{"name":"Shortcode","icon":"shortcode"},{"name":"Table col after","icon":"table-col-after"},{"name":"Table col before","icon":"table-col-before"},{"name":"Table col delete","icon":"table-col-delete"},{"name":"Table row after","icon":"table-row-after"},{"name":"Table row before","icon":"table-row-before"},{"name":"Table row delete","icon":"table-row-delete"},{"name":"Saved","icon":"saved"},{"name":"Airplane","icon":"airplane"},{"name":"Amazon","icon":"amazon"},{"name":"Bank","icon":"bank"},{"name":"Beer","icon":"beer"},{"name":"Bell","icon":"bell"},{"name":"Calculator","icon":"calculator"},{"name":"Coffee","icon":"coffee"},{"name":"Database add","icon":"database-add"},{"name":"Database export","icon":"database-export"},{"name":"Database import","icon":"database-import"},{"name":"Database remove","icon":"database-remove"},{"name":"Database view","icon":"database-view"},{"name":"Database","icon":"database"},{"name":"Drumstick","icon":"drumstick"},{"name":"Edit page","icon":"edit-page"},{"name":"Food","icon":"food"},{"name":"Full screen alt","icon":"fullscreen-alt"},{"name":"Full screen exit alt","icon":"fullscreen-exit-alt"},{"name":"Games","icon":"games"},{"name":"Google","icon":"google"},{"name":"Hourglass","icon":"hourglass"},{"name":"Linkedin","icon":"linkedin"},{"name":"Money alt","icon":"money-alt"},{"name":"Open folder","icon":"open-folder"},{"name":"PDF","icon":"pdf"},{"name":"Pets","icon":"pets"},{"name":"Pinterest","icon":"pinterest"},{"name":"Printer","icon":"printer"},{"name":"Privacy","icon":"privacy"},{"name":"Reddit","icon":"reddit"},{"name":"Spotify","icon":"spotify"},{"name":"Super hero alt","icon":"superhero-alt"},{"name":"Super hero","icon":"superhero"},{"name":"Twitch","icon":"twitch"},{"name":"Whatsapp","icon":"whatsapp"},{"name":"YouTube","icon":"youtube"},{"name":"Car","icon":"car"},{"name":"Podio","icon":"podio"},{"name":"Xing","icon":"xing"}],"fontawesome":[{"name":"Glass","icon":"glass","unicode":"f000","created":1,"categories":["Web Application Icons"]},{"name":"Music","icon":"music","unicode":"f001","created":1,"categories":["Web Application Icons"]},{"name":"Search","icon":"search","unicode":"f002","created":1,"categories":["Web Application Icons"]},{"name":"Envelope Outlined","icon":"envelope-o","unicode":"f003","created":1,"categories":["Web Application Icons"]},{"name":"Heart","icon":"heart","unicode":"f004","created":1,"categories":["Web Application Icons"]},{"name":"Star","icon":"star","unicode":"f005","created":1,"categories":["Web Application Icons"]},{"name":"Star Outlined","icon":"star-o","unicode":"f006","created":1,"categories":["Web Application Icons"]},{"name":"User","icon":"user","unicode":"f007","created":1,"categories":["Web Application Icons"]},{"name":"Film","icon":"film","unicode":"f008","created":1,"categories":["Web Application Icons"]},{"name":"th-large","icon":"th-large","unicode":"f009","created":1,"categories":["Text Editor Icons"]},{"name":"th","icon":"th","unicode":"f00a","created":1,"categories":["Text Editor Icons"]},{"name":"th-list","icon":"th-list","unicode":"f00b","created":1,"categories":["Text Editor Icons"]},{"name":"Check","icon":"check","unicode":"f00c","created":1,"categories":["Web Application Icons"]},{"name":"Times","icon":"times","unicode":"f00d","created":1,"categories":["Web Application Icons"]},{"name":"Search Plus","icon":"search-plus","unicode":"f00e","created":1,"categories":["Web Application Icons"]},{"name":"Search Minus","icon":"search-minus","unicode":"f010","created":1,"categories":["Web Application Icons"]},{"name":"Power Off","icon":"power-off","unicode":"f011","created":1,"categories":["Web Application Icons"]},{"name":"signal","icon":"signal","unicode":"f012","created":1,"categories":["Web Application Icons"]},{"name":"cog","icon":"cog","unicode":"f013","created":1,"aliases":["gear"],"categories":["Web Application Icons","Spinner Icons"]},{"name":"Trash Outlined","icon":"trash-o","unicode":"f014","created":1,"categories":["Web Application Icons"]},{"name":"home","icon":"home","unicode":"f015","created":1,"categories":["Web Application Icons"]},{"name":"File Outlined","icon":"file-o","unicode":"f016","created":1,"categories":["Text Editor Icons","File Type Icons"]},{"name":"Clock Outlined","icon":"clock-o","unicode":"f017","created":1,"categories":["Web Application Icons"]},{"name":"road","icon":"road","unicode":"f018","created":1,"categories":["Web Application Icons"]},{"name":"Download","icon":"download","unicode":"f019","created":1,"categories":["Web Application Icons"]},{"name":"Arrow Circle Outlined Down","icon":"arrow-circle-o-down","unicode":"f01a","created":1,"categories":["Directional Icons"]},{"name":"Arrow Circle Outlined Up","icon":"arrow-circle-o-up","unicode":"f01b","created":1,"categories":["Directional Icons"]},{"name":"inbox","icon":"inbox","unicode":"f01c","created":1,"categories":["Web Application Icons"]},{"name":"Play Circle Outlined","icon":"play-circle-o","unicode":"f01d","created":1,"categories":["Video Player Icons"]},{"name":"Repeat","icon":"repeat","unicode":"f01e","created":1,"aliases":["rotate-right"],"categories":["Text Editor Icons"]},{"name":"refresh","icon":"refresh","unicode":"f021","created":1,"categories":["Web Application Icons","Spinner Icons"]},{"name":"list-alt","icon":"list-alt","unicode":"f022","created":1,"categories":["Text Editor Icons"]},{"name":"lock","icon":"lock","unicode":"f023","created":1,"categories":["Web Application Icons"]},{"name":"flag","icon":"flag","unicode":"f024","created":1,"categories":["Web Application Icons"]},{"name":"headphones","icon":"headphones","unicode":"f025","created":1,"categories":["Web Application Icons"]},{"name":"volume-off","icon":"volume-off","unicode":"f026","created":1,"categories":["Web Application Icons"]},{"name":"volume-down","icon":"volume-down","unicode":"f027","created":1,"categories":["Web Application Icons"]},{"name":"volume-up","icon":"volume-up","unicode":"f028","created":1,"categories":["Web Application Icons"]},{"name":"qrcode","icon":"qrcode","unicode":"f029","created":1,"categories":["Web Application Icons"]},{"name":"barcode","icon":"barcode","unicode":"f02a","created":1,"categories":["Web Application Icons"]},{"name":"tag","icon":"tag","unicode":"f02b","created":1,"categories":["Web Application Icons"]},{"name":"tags","icon":"tags","unicode":"f02c","created":1,"categories":["Web Application Icons"]},{"name":"book","icon":"book","unicode":"f02d","created":1,"categories":["Web Application Icons"]},{"name":"bookmark","icon":"bookmark","unicode":"f02e","created":1,"categories":["Web Application Icons"]},{"name":"print","icon":"print","unicode":"f02f","created":1,"categories":["Web Application Icons"]},{"name":"camera","icon":"camera","unicode":"f030","created":1,"categories":["Web Application Icons"]},{"name":"font","icon":"font","unicode":"f031","created":1,"categories":["Text Editor Icons"]},{"name":"bold","icon":"bold","unicode":"f032","created":1,"categories":["Text Editor Icons"]},{"name":"italic","icon":"italic","unicode":"f033","created":1,"categories":["Text Editor Icons"]},{"name":"text-height","icon":"text-height","unicode":"f034","created":1,"categories":["Text Editor Icons"]},{"name":"text-width","icon":"text-width","unicode":"f035","created":1,"categories":["Text Editor Icons"]},{"name":"align-left","icon":"align-left","unicode":"f036","created":1,"categories":["Text Editor Icons"]},{"name":"align-center","icon":"align-center","unicode":"f037","created":1,"categories":["Text Editor Icons"]},{"name":"align-right","icon":"align-right","unicode":"f038","created":1,"categories":["Text Editor Icons"]},{"name":"align-justify","icon":"align-justify","unicode":"f039","created":1,"categories":["Text Editor Icons"]},{"name":"list","icon":"list","unicode":"f03a","created":1,"categories":["Text Editor Icons"]},{"name":"Outdent","icon":"outdent","unicode":"f03b","created":1,"aliases":["dedent"],"categories":["Text Editor Icons"]},{"name":"Indent","icon":"indent","unicode":"f03c","created":1,"categories":["Text Editor Icons"]},{"name":"Video Camera","icon":"video-camera","unicode":"f03d","created":1,"categories":["Web Application Icons"]},{"name":"Picture Outlined","icon":"picture-o","unicode":"f03e","created":1,"aliases":["photo","image"],"categories":["Web Application Icons"]},{"name":"pencil","icon":"pencil","unicode":"f040","created":1,"categories":["Web Application Icons"]},{"name":"map-marker","icon":"map-marker","unicode":"f041","created":1,"categories":["Web Application Icons"]},{"name":"adjust","icon":"adjust","unicode":"f042","created":1,"categories":["Web Application Icons"]},{"name":"tint","icon":"tint","unicode":"f043","created":1,"categories":["Web Application Icons"]},{"name":"Pencil Square Outlined","icon":"pencil-square-o","unicode":"f044","created":1,"aliases":["edit"],"categories":["Web Application Icons"]},{"name":"Share Square Outlined","icon":"share-square-o","unicode":"f045","created":1,"categories":["Web Application Icons"]},{"name":"Check Square Outlined","icon":"check-square-o","unicode":"f046","created":1,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Arrows","icon":"arrows","unicode":"f047","created":1,"categories":["Web Application Icons","Directional Icons"]},{"name":"step-backward","icon":"step-backward","unicode":"f048","created":1,"categories":["Video Player Icons"]},{"name":"fast-backward","icon":"fast-backward","unicode":"f049","created":1,"categories":["Video Player Icons"]},{"name":"backward","icon":"backward","unicode":"f04a","created":1,"categories":["Video Player Icons"]},{"name":"play","icon":"play","unicode":"f04b","created":1,"categories":["Video Player Icons"]},{"name":"pause","icon":"pause","unicode":"f04c","created":1,"categories":["Video Player Icons"]},{"name":"stop","icon":"stop","unicode":"f04d","created":1,"categories":["Video Player Icons"]},{"name":"forward","icon":"forward","unicode":"f04e","created":1,"categories":["Video Player Icons"]},{"name":"fast-forward","icon":"fast-forward","unicode":"f050","created":1,"categories":["Video Player Icons"]},{"name":"step-forward","icon":"step-forward","unicode":"f051","created":1,"categories":["Video Player Icons"]},{"name":"eject","icon":"eject","unicode":"f052","created":1,"categories":["Video Player Icons"]},{"name":"chevron-left","icon":"chevron-left","unicode":"f053","created":1,"categories":["Directional Icons"]},{"name":"chevron-right","icon":"chevron-right","unicode":"f054","created":1,"categories":["Directional Icons"]},{"name":"Plus Circle","icon":"plus-circle","unicode":"f055","created":1,"categories":["Web Application Icons"]},{"name":"Minus Circle","icon":"minus-circle","unicode":"f056","created":1,"categories":["Web Application Icons"]},{"name":"Times Circle","icon":"times-circle","unicode":"f057","created":1,"categories":["Web Application Icons"]},{"name":"Check Circle","icon":"check-circle","unicode":"f058","created":1,"categories":["Web Application Icons"]},{"name":"Question Circle","icon":"question-circle","unicode":"f059","created":1,"categories":["Web Application Icons"]},{"name":"Info Circle","icon":"info-circle","unicode":"f05a","created":1,"categories":["Web Application Icons"]},{"name":"Crosshairs","icon":"crosshairs","unicode":"f05b","created":1,"categories":["Web Application Icons"]},{"name":"Times Circle Outlined","icon":"times-circle-o","unicode":"f05c","created":1,"categories":["Web Application Icons"]},{"name":"Check Circle Outlined","icon":"check-circle-o","unicode":"f05d","created":1,"categories":["Web Application Icons"]},{"name":"ban","icon":"ban","unicode":"f05e","created":1,"categories":["Web Application Icons"]},{"name":"arrow-left","icon":"arrow-left","unicode":"f060","created":1,"categories":["Directional Icons"]},{"name":"arrow-right","icon":"arrow-right","unicode":"f061","created":1,"categories":["Directional Icons"]},{"name":"arrow-up","icon":"arrow-up","unicode":"f062","created":1,"categories":["Directional Icons"]},{"name":"arrow-down","icon":"arrow-down","unicode":"f063","created":1,"categories":["Directional Icons"]},{"name":"Share","icon":"share","unicode":"f064","created":1,"aliases":["mail-forward"],"categories":["Web Application Icons"]},{"name":"Expand","icon":"expand","unicode":"f065","created":1,"categories":["Video Player Icons"]},{"name":"Compress","icon":"compress","unicode":"f066","created":1,"categories":["Video Player Icons"]},{"name":"plus","icon":"plus","unicode":"f067","created":1,"categories":["Web Application Icons"]},{"name":"minus","icon":"minus","unicode":"f068","created":1,"categories":["Web Application Icons"]},{"name":"asterisk","icon":"asterisk","unicode":"f069","created":1,"categories":["Web Application Icons"]},{"name":"Exclamation Circle","icon":"exclamation-circle","unicode":"f06a","created":1,"categories":["Web Application Icons"]},{"name":"gift","icon":"gift","unicode":"f06b","created":1,"categories":["Web Application Icons"]},{"name":"leaf","icon":"leaf","unicode":"f06c","created":1,"categories":["Web Application Icons"]},{"name":"fire","icon":"fire","unicode":"f06d","created":1,"categories":["Web Application Icons"]},{"name":"Eye","icon":"eye","unicode":"f06e","created":1,"categories":["Web Application Icons"]},{"name":"Eye Slash","icon":"eye-slash","unicode":"f070","created":1,"categories":["Web Application Icons"]},{"name":"Exclamation Triangle","icon":"exclamation-triangle","unicode":"f071","created":1,"aliases":["warning"],"categories":["Web Application Icons"]},{"name":"plane","icon":"plane","unicode":"f072","created":1,"categories":["Web Application Icons"]},{"name":"calendar","icon":"calendar","unicode":"f073","created":1,"categories":["Web Application Icons"]},{"name":"random","icon":"random","unicode":"f074","created":1,"categories":["Web Application Icons"]},{"name":"comment","icon":"comment","unicode":"f075","created":1,"categories":["Web Application Icons"]},{"name":"magnet","icon":"magnet","unicode":"f076","created":1,"categories":["Web Application Icons"]},{"name":"chevron-up","icon":"chevron-up","unicode":"f077","created":1,"categories":["Directional Icons"]},{"name":"chevron-down","icon":"chevron-down","unicode":"f078","created":1,"categories":["Directional Icons"]},{"name":"retweet","icon":"retweet","unicode":"f079","created":1,"categories":["Web Application Icons"]},{"name":"shopping-cart","icon":"shopping-cart","unicode":"f07a","created":1,"categories":["Web Application Icons"]},{"name":"Folder","icon":"folder","unicode":"f07b","created":1,"categories":["Web Application Icons"]},{"name":"Folder Open","icon":"folder-open","unicode":"f07c","created":1,"categories":["Web Application Icons"]},{"name":"Arrows Vertical","icon":"arrows-v","unicode":"f07d","created":1,"categories":["Web Application Icons","Directional Icons"]},{"name":"Arrows Horizontal","icon":"arrows-h","unicode":"f07e","created":1,"categories":["Web Application Icons","Directional Icons"]},{"name":"Bar Chart Outlined","icon":"bar-chart-o","unicode":"f080","created":1,"categories":["Web Application Icons"]},{"name":"Twitter Square","icon":"twitter-square","unicode":"f081","created":1,"categories":["Brand Icons"]},{"name":"Facebook Square","icon":"facebook-square","unicode":"f082","created":1,"categories":["Brand Icons"]},{"name":"camera-retro","icon":"camera-retro","unicode":"f083","created":1,"categories":["Web Application Icons"]},{"name":"key","icon":"key","unicode":"f084","created":1,"categories":["Web Application Icons"]},{"name":"cogs","icon":"cogs","unicode":"f085","created":1,"aliases":["gears"],"categories":["Web Application Icons"]},{"name":"comments","icon":"comments","unicode":"f086","created":1,"categories":["Web Application Icons"]},{"name":"Thumbs Up Outlined","icon":"thumbs-o-up","unicode":"f087","created":1,"categories":["Web Application Icons"]},{"name":"Thumbs Down Outlined","icon":"thumbs-o-down","unicode":"f088","created":1,"categories":["Web Application Icons"]},{"name":"star-half","icon":"star-half","unicode":"f089","created":1,"categories":["Web Application Icons"]},{"name":"Heart Outlined","icon":"heart-o","unicode":"f08a","created":1,"categories":["Web Application Icons"]},{"name":"Sign Out","icon":"sign-out","unicode":"f08b","created":1,"categories":["Web Application Icons"]},{"name":"LinkedIn Square","icon":"linkedin-square","unicode":"f08c","created":1,"categories":["Brand Icons"]},{"name":"Thumb Tack","icon":"thumb-tack","unicode":"f08d","created":1,"categories":["Web Application Icons"]},{"name":"External Link","icon":"external-link","unicode":"f08e","created":1,"categories":["Web Application Icons"]},{"name":"Sign In","icon":"sign-in","unicode":"f090","created":1,"categories":["Web Application Icons"]},{"name":"trophy","icon":"trophy","unicode":"f091","created":1,"categories":["Web Application Icons"]},{"name":"GitHub Square","icon":"github-square","unicode":"f092","created":1,"categories":["Brand Icons"]},{"name":"Upload","icon":"upload","unicode":"f093","created":1,"categories":["Web Application Icons"]},{"name":"Lemon Outlined","icon":"lemon-o","unicode":"f094","created":1,"categories":["Web Application Icons"]},{"name":"Phone","icon":"phone","unicode":"f095","created":2,"categories":["Web Application Icons"]},{"name":"Square Outlined","icon":"square-o","unicode":"f096","created":2,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Bookmark Outlined","icon":"bookmark-o","unicode":"f097","created":2,"categories":["Web Application Icons"]},{"name":"Phone Square","icon":"phone-square","unicode":"f098","created":2,"categories":["Web Application Icons"]},{"name":"Twitter","icon":"twitter","unicode":"f099","created":2,"categories":["Brand Icons"]},{"name":"Facebook","icon":"facebook","unicode":"f09a","created":2,"categories":["Brand Icons"]},{"name":"GitHub","icon":"github","unicode":"f09b","created":2,"categories":["Brand Icons"]},{"name":"unlock","icon":"unlock","unicode":"f09c","created":2,"categories":["Web Application Icons"]},{"name":"credit-card","icon":"credit-card","unicode":"f09d","created":2,"categories":["Web Application Icons"]},{"name":"rss","icon":"rss","unicode":"f09e","created":2,"categories":["Web Application Icons"]},{"name":"HDD","icon":"hdd-o","unicode":"f0a0","created":2,"categories":["Web Application Icons"]},{"name":"bullhorn","icon":"bullhorn","unicode":"f0a1","created":2,"categories":["Web Application Icons"]},{"name":"bell","icon":"bell","unicode":"f0f3","created":2,"categories":["Web Application Icons"]},{"name":"certificate","icon":"certificate","unicode":"f0a3","created":2,"categories":["Web Application Icons"]},{"name":"Hand Outlined Right","icon":"hand-o-right","unicode":"f0a4","created":2,"categories":["Directional Icons"]},{"name":"Hand Outlined Left","icon":"hand-o-left","unicode":"f0a5","created":2,"categories":["Directional Icons"]},{"name":"Hand Outlined Up","icon":"hand-o-up","unicode":"f0a6","created":2,"categories":["Directional Icons"]},{"name":"Hand Outlined Down","icon":"hand-o-down","unicode":"f0a7","created":2,"categories":["Directional Icons"]},{"name":"Arrow Circle Left","icon":"arrow-circle-left","unicode":"f0a8","created":2,"categories":["Directional Icons"]},{"name":"Arrow Circle Right","icon":"arrow-circle-right","unicode":"f0a9","created":2,"categories":["Directional Icons"]},{"name":"Arrow Circle Up","icon":"arrow-circle-up","unicode":"f0aa","created":2,"categories":["Directional Icons"]},{"name":"Arrow Circle Down","icon":"arrow-circle-down","unicode":"f0ab","created":2,"categories":["Directional Icons"]},{"name":"Globe","icon":"globe","unicode":"f0ac","created":2,"categories":["Web Application Icons"]},{"name":"Wrench","icon":"wrench","unicode":"f0ad","created":2,"categories":["Web Application Icons"]},{"name":"Tasks","icon":"tasks","unicode":"f0ae","created":2,"categories":["Web Application Icons"]},{"name":"Filter","icon":"filter","unicode":"f0b0","created":2,"categories":["Web Application Icons"]},{"name":"Briefcase","icon":"briefcase","unicode":"f0b1","created":2,"categories":["Web Application Icons"]},{"name":"Arrows Alt","icon":"arrows-alt","unicode":"f0b2","created":2,"categories":["Video Player Icons","Directional Icons"]},{"name":"Users","icon":"users","unicode":"f0c0","created":2,"aliases":["group"],"categories":["Web Application Icons"]},{"name":"Link","icon":"link","unicode":"f0c1","created":2,"aliases":["chain"],"categories":["Text Editor Icons"]},{"name":"Cloud","icon":"cloud","unicode":"f0c2","created":2,"categories":["Web Application Icons"]},{"name":"Flask","icon":"flask","unicode":"f0c3","created":2,"categories":["Web Application Icons"]},{"name":"Scissors","icon":"scissors","unicode":"f0c4","created":2,"aliases":["cut"],"categories":["Text Editor Icons"]},{"name":"Files Outlined","icon":"files-o","unicode":"f0c5","created":2,"aliases":["copy"],"categories":["Text Editor Icons"]},{"name":"Paperclip","icon":"paperclip","unicode":"f0c6","created":2,"categories":["Text Editor Icons"]},{"name":"Floppy Outlined","icon":"floppy-o","unicode":"f0c7","created":2,"aliases":["save"],"categories":["Text Editor Icons"]},{"name":"Square","icon":"square","unicode":"f0c8","created":2,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Bars","icon":"bars","unicode":"f0c9","created":2,"aliases":["navicon","reorder"],"categories":["Web Application Icons"]},{"name":"list-ul","icon":"list-ul","unicode":"f0ca","created":2,"categories":["Text Editor Icons"]},{"name":"list-ol","icon":"list-ol","unicode":"f0cb","created":2,"categories":["Text Editor Icons"]},{"name":"Strikethrough","icon":"strikethrough","unicode":"f0cc","created":2,"categories":["Text Editor Icons"]},{"name":"Underline","icon":"underline","unicode":"f0cd","created":2,"categories":["Text Editor Icons"]},{"name":"table","icon":"table","unicode":"f0ce","created":2,"categories":["Text Editor Icons"]},{"name":"magic","icon":"magic","unicode":"f0d0","created":2,"categories":["Web Application Icons"]},{"name":"truck","icon":"truck","unicode":"f0d1","created":2,"categories":["Web Application Icons"]},{"name":"Pinterest","icon":"pinterest","unicode":"f0d2","created":2,"categories":["Brand Icons"]},{"name":"Pinterest Square","icon":"pinterest-square","unicode":"f0d3","created":2,"categories":["Brand Icons"]},{"name":"Google Plus Square","icon":"google-plus-square","unicode":"f0d4","created":2,"categories":["Brand Icons"]},{"name":"Google Plus","icon":"google-plus","unicode":"f0d5","created":2,"categories":["Brand Icons"]},{"name":"Money","icon":"money","unicode":"f0d6","created":2,"categories":["Web Application Icons","Currency Icons"]},{"name":"Caret Down","icon":"caret-down","unicode":"f0d7","created":2,"categories":["Directional Icons"]},{"name":"Caret Up","icon":"caret-up","unicode":"f0d8","created":2,"categories":["Directional Icons"]},{"name":"Caret Left","icon":"caret-left","unicode":"f0d9","created":2,"categories":["Directional Icons"]},{"name":"Caret Right","icon":"caret-right","unicode":"f0da","created":2,"categories":["Directional Icons"]},{"name":"Columns","icon":"columns","unicode":"f0db","created":2,"categories":["Text Editor Icons"]},{"name":"Sort","icon":"sort","unicode":"f0dc","created":2,"aliases":["unsorted"],"categories":["Web Application Icons"]},{"name":"Sort Descending","icon":"sort-desc","unicode":"f0dd","created":2,"aliases":["sort-down"],"categories":["Web Application Icons"]},{"name":"Sort Ascending","icon":"sort-asc","unicode":"f0de","created":2,"aliases":["sort-up"],"categories":["Web Application Icons"]},{"name":"Envelope","icon":"envelope","unicode":"f0e0","created":2,"categories":["Web Application Icons"]},{"name":"LinkedIn","icon":"linkedin","unicode":"f0e1","created":2,"categories":["Brand Icons"]},{"name":"Undo","icon":"undo","unicode":"f0e2","created":2,"aliases":["rotate-left"],"categories":["Text Editor Icons"]},{"name":"Gavel","icon":"gavel","unicode":"f0e3","created":2,"aliases":["legal"],"categories":["Web Application Icons"]},{"name":"Tachometer","icon":"tachometer","unicode":"f0e4","created":2,"aliases":["dashboard"],"categories":["Web Application Icons"]},{"name":"comment-o","icon":"comment-o","unicode":"f0e5","created":2,"categories":["Web Application Icons"]},{"name":"comments-o","icon":"comments-o","unicode":"f0e6","created":2,"categories":["Web Application Icons"]},{"name":"Lightning Bolt","icon":"bolt","unicode":"f0e7","created":2,"aliases":["flash"],"categories":["Web Application Icons"]},{"name":"Sitemap","icon":"sitemap","unicode":"f0e8","created":2,"categories":["Web Application Icons"]},{"name":"Umbrella","icon":"umbrella","unicode":"f0e9","created":2,"categories":["Web Application Icons"]},{"name":"Clipboard","icon":"clipboard","unicode":"f0ea","created":2,"aliases":["paste"],"categories":["Text Editor Icons"]},{"name":"Lightbulb Outlined","icon":"lightbulb-o","unicode":"f0eb","created":3,"categories":["Web Application Icons"]},{"name":"Exchange","icon":"exchange","unicode":"f0ec","created":3,"categories":["Web Application Icons"]},{"name":"Cloud Download","icon":"cloud-download","unicode":"f0ed","created":3,"categories":["Web Application Icons"]},{"name":"Cloud Upload","icon":"cloud-upload","unicode":"f0ee","created":3,"categories":["Web Application Icons"]},{"name":"user-md","icon":"user-md","unicode":"f0f0","created":2,"categories":["Medical Icons"]},{"name":"Stethoscope","icon":"stethoscope","unicode":"f0f1","created":3,"categories":["Medical Icons"]},{"name":"Suitcase","icon":"suitcase","unicode":"f0f2","created":3,"categories":["Web Application Icons"]},{"name":"Bell Outlined","icon":"bell-o","unicode":"f0a2","created":3,"categories":["Web Application Icons"]},{"name":"Coffee","icon":"coffee","unicode":"f0f4","created":3,"categories":["Web Application Icons"]},{"name":"Cutlery","icon":"cutlery","unicode":"f0f5","created":3,"categories":["Web Application Icons"]},{"name":"File Text Outlined","icon":"file-text-o","unicode":"f0f6","created":3,"categories":["Text Editor Icons","File Type Icons"]},{"name":"Building Outlined","icon":"building-o","unicode":"f0f7","created":3,"categories":["Web Application Icons"]},{"name":"hospital Outlined","icon":"hospital-o","unicode":"f0f8","created":3,"categories":["Medical Icons"]},{"name":"ambulance","icon":"ambulance","unicode":"f0f9","created":3,"categories":["Medical Icons"]},{"name":"medkit","icon":"medkit","unicode":"f0fa","created":3,"categories":["Medical Icons"]},{"name":"fighter-jet","icon":"fighter-jet","unicode":"f0fb","created":3,"categories":["Web Application Icons"]},{"name":"beer","icon":"beer","unicode":"f0fc","created":3,"categories":["Web Application Icons"]},{"name":"H Square","icon":"h-square","unicode":"f0fd","created":3,"categories":["Medical Icons"]},{"name":"Plus Square","icon":"plus-square","unicode":"f0fe","created":3,"categories":["Medical Icons","Web Application Icons","Form Control Icons"]},{"name":"Angle Double Left","icon":"angle-double-left","unicode":"f100","created":3,"categories":["Directional Icons"]},{"name":"Angle Double Right","icon":"angle-double-right","unicode":"f101","created":3,"categories":["Directional Icons"]},{"name":"Angle Double Up","icon":"angle-double-up","unicode":"f102","created":3,"categories":["Directional Icons"]},{"name":"Angle Double Down","icon":"angle-double-down","unicode":"f103","created":3,"categories":["Directional Icons"]},{"name":"angle-left","icon":"angle-left","unicode":"f104","created":3,"categories":["Directional Icons"]},{"name":"angle-right","icon":"angle-right","unicode":"f105","created":3,"categories":["Directional Icons"]},{"name":"angle-up","icon":"angle-up","unicode":"f106","created":3,"categories":["Directional Icons"]},{"name":"angle-down","icon":"angle-down","unicode":"f107","created":3,"categories":["Directional Icons"]},{"name":"Desktop","icon":"desktop","unicode":"f108","created":3,"categories":["Web Application Icons"]},{"name":"Laptop","icon":"laptop","unicode":"f109","created":3,"categories":["Web Application Icons"]},{"name":"tablet","icon":"tablet","unicode":"f10a","created":3,"categories":["Web Application Icons"]},{"name":"Mobile Phone","icon":"mobile","unicode":"f10b","created":3,"aliases":["mobile-phone"],"categories":["Web Application Icons"]},{"name":"Circle Outlined","icon":"circle-o","unicode":"f10c","created":3,"categories":["Web Application Icons","Form Control Icons"]},{"name":"quote-left","icon":"quote-left","unicode":"f10d","created":3,"categories":["Web Application Icons"]},{"name":"quote-right","icon":"quote-right","unicode":"f10e","created":3,"categories":["Web Application Icons"]},{"name":"Spinner","icon":"spinner","unicode":"f110","created":3,"categories":["Web Application Icons","Spinner Icons"]},{"name":"Circle","icon":"circle","unicode":"f111","created":3,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Reply","icon":"reply","unicode":"f112","created":3,"aliases":["mail-reply"],"categories":["Web Application Icons"]},{"name":"GitHub Alt","icon":"github-alt","unicode":"f113","created":3,"categories":["Brand Icons"]},{"name":"Folder Outlined","icon":"folder-o","unicode":"f114","created":3,"categories":["Web Application Icons"]},{"name":"Folder Open Outlined","icon":"folder-open-o","unicode":"f115","created":3,"categories":["Web Application Icons"]},{"name":"Smile Outlined","icon":"smile-o","unicode":"f118","created":3.1,"categories":["Web Application Icons"]},{"name":"Frown Outlined","icon":"frown-o","unicode":"f119","created":3.1,"categories":["Web Application Icons"]},{"name":"Meh Outlined","icon":"meh-o","unicode":"f11a","created":3.1,"categories":["Web Application Icons"]},{"name":"Gamepad","icon":"gamepad","unicode":"f11b","created":3.1,"categories":["Web Application Icons"]},{"name":"Keyboard Outlined","icon":"keyboard-o","unicode":"f11c","created":3.1,"categories":["Web Application Icons"]},{"name":"Flag Outlined","icon":"flag-o","unicode":"f11d","created":3.1,"categories":["Web Application Icons"]},{"name":"flag-checkered","icon":"flag-checkered","unicode":"f11e","created":3.1,"categories":["Web Application Icons"]},{"name":"Terminal","icon":"terminal","unicode":"f120","created":3.1,"categories":["Web Application Icons"]},{"name":"Code","icon":"code","unicode":"f121","created":3.1,"categories":["Web Application Icons"]},{"name":"reply-all","icon":"reply-all","unicode":"f122","created":3.1,"aliases":["mail-reply-all"],"categories":["Web Application Icons"]},{"name":"Star Half Outlined","icon":"star-half-o","unicode":"f123","created":3.1,"aliases":["star-half-empty","star-half-full"],"categories":["Web Application Icons"]},{"name":"location-arrow","icon":"location-arrow","unicode":"f124","created":3.1,"categories":["Web Application Icons"]},{"name":"crop","icon":"crop","unicode":"f125","created":3.1,"categories":["Web Application Icons"]},{"name":"code-fork","icon":"code-fork","unicode":"f126","created":3.1,"categories":["Web Application Icons"]},{"name":"Chain Broken","icon":"chain-broken","unicode":"f127","created":3.1,"aliases":["unlink"],"categories":["Text Editor Icons"]},{"name":"Question","icon":"question","unicode":"f128","created":3.1,"categories":["Web Application Icons"]},{"name":"Info","icon":"info","unicode":"f129","created":3.1,"categories":["Web Application Icons"]},{"name":"exclamation","icon":"exclamation","unicode":"f12a","created":3.1,"categories":["Web Application Icons"]},{"name":"superscript","icon":"superscript","unicode":"f12b","created":3.1,"categories":["Text Editor Icons"]},{"name":"subscript","icon":"subscript","unicode":"f12c","created":3.1,"categories":["Text Editor Icons"]},{"name":"eraser","icon":"eraser","unicode":"f12d","created":3.1,"categories":["Text Editor Icons","Web Application Icons"]},{"name":"Puzzle Piece","icon":"puzzle-piece","unicode":"f12e","created":3.1,"categories":["Web Application Icons"]},{"name":"microphone","icon":"microphone","unicode":"f130","created":3.1,"categories":["Web Application Icons"]},{"name":"Microphone Slash","icon":"microphone-slash","unicode":"f131","created":3.1,"categories":["Web Application Icons"]},{"name":"shield","icon":"shield","unicode":"f132","created":3.1,"categories":["Web Application Icons"]},{"name":"calendar-o","icon":"calendar-o","unicode":"f133","created":3.1,"categories":["Web Application Icons"]},{"name":"fire-extinguisher","icon":"fire-extinguisher","unicode":"f134","created":3.1,"categories":["Web Application Icons"]},{"name":"rocket","icon":"rocket","unicode":"f135","created":3.1,"categories":["Web Application Icons"]},{"name":"MaxCDN","icon":"maxcdn","unicode":"f136","created":3.1,"categories":["Brand Icons"]},{"name":"Chevron Circle Left","icon":"chevron-circle-left","unicode":"f137","created":3.1,"categories":["Directional Icons"]},{"name":"Chevron Circle Right","icon":"chevron-circle-right","unicode":"f138","created":3.1,"categories":["Directional Icons"]},{"name":"Chevron Circle Up","icon":"chevron-circle-up","unicode":"f139","created":3.1,"categories":["Directional Icons"]},{"name":"Chevron Circle Down","icon":"chevron-circle-down","unicode":"f13a","created":3.1,"categories":["Directional Icons"]},{"name":"HTML 5 Logo","icon":"html5","unicode":"f13b","created":3.1,"categories":["Brand Icons"]},{"name":"CSS 3 Logo","icon":"css3","unicode":"f13c","created":3.1,"categories":["Brand Icons"]},{"name":"Anchor","icon":"anchor","unicode":"f13d","created":3.1,"categories":["Web Application Icons"]},{"name":"Unlock Alt","icon":"unlock-alt","unicode":"f13e","created":3.1,"categories":["Web Application Icons"]},{"name":"Bullseye","icon":"bullseye","unicode":"f140","created":3.1,"categories":["Web Application Icons"]},{"name":"Ellipsis Horizontal","icon":"ellipsis-h","unicode":"f141","created":3.1,"categories":["Web Application Icons"]},{"name":"Ellipsis Vertical","icon":"ellipsis-v","unicode":"f142","created":3.1,"categories":["Web Application Icons"]},{"name":"RSS Square","icon":"rss-square","unicode":"f143","created":3.1,"categories":["Web Application Icons"]},{"name":"Play Circle","icon":"play-circle","unicode":"f144","created":3.1,"categories":["Video Player Icons"]},{"name":"Ticket","icon":"ticket","unicode":"f145","created":3.1,"categories":["Web Application Icons"]},{"name":"Minus Square","icon":"minus-square","unicode":"f146","created":3.1,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Minus Square Outlined","icon":"minus-square-o","unicode":"f147","created":3.1,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Level Up","icon":"level-up","unicode":"f148","created":3.1,"categories":["Web Application Icons"]},{"name":"Level Down","icon":"level-down","unicode":"f149","created":3.1,"categories":["Web Application Icons"]},{"name":"Check Square","icon":"check-square","unicode":"f14a","created":3.1,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Pencil Square","icon":"pencil-square","unicode":"f14b","created":3.1,"categories":["Web Application Icons"]},{"name":"External Link Square","icon":"external-link-square","unicode":"f14c","created":3.1,"categories":["Web Application Icons"]},{"name":"Share Square","icon":"share-square","unicode":"f14d","created":3.1,"categories":["Web Application Icons"]},{"name":"Compass","icon":"compass","unicode":"f14e","created":3.2,"categories":["Web Application Icons"]},{"name":"Caret Square Outlined Down","icon":"caret-square-o-down","unicode":"f150","created":3.2,"aliases":["toggle-down"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Caret Square Outlined Up","icon":"caret-square-o-up","unicode":"f151","created":3.2,"aliases":["toggle-up"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Caret Square Outlined Right","icon":"caret-square-o-right","unicode":"f152","created":3.2,"aliases":["toggle-right"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Euro (EUR)","icon":"eur","unicode":"f153","created":3.2,"aliases":["euro"],"categories":["Currency Icons"]},{"name":"GBP","icon":"gbp","unicode":"f154","created":3.2,"categories":["Currency Icons"]},{"name":"US Dollar","icon":"usd","unicode":"f155","created":3.2,"aliases":["dollar"],"categories":["Currency Icons"]},{"name":"Indian Rupee (INR)","icon":"inr","unicode":"f156","created":3.2,"aliases":["rupee"],"categories":["Currency Icons"]},{"name":"Japanese Yen (JPY)","icon":"jpy","unicode":"f157","created":3.2,"aliases":["cny","rmb","yen"],"categories":["Currency Icons"]},{"name":"Russian Ruble (RUB)","icon":"rub","unicode":"f158","created":4,"aliases":["ruble","rouble"],"categories":["Currency Icons"]},{"name":"Korean Won (KRW)","icon":"krw","unicode":"f159","created":3.2,"aliases":["won"],"categories":["Currency Icons"]},{"name":"Bitcoin (BTC)","icon":"btc","unicode":"f15a","created":3.2,"aliases":["bitcoin"],"categories":["Currency Icons","Brand Icons"]},{"name":"File","icon":"file","unicode":"f15b","created":3.2,"categories":["Text Editor Icons","File Type Icons"]},{"name":"File Text","icon":"file-text","unicode":"f15c","created":3.2,"categories":["Text Editor Icons","File Type Icons"]},{"name":"Sort Alpha Ascending","icon":"sort-alpha-asc","unicode":"f15d","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Alpha Descending","icon":"sort-alpha-desc","unicode":"f15e","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Amount Ascending","icon":"sort-amount-asc","unicode":"f160","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Amount Descending","icon":"sort-amount-desc","unicode":"f161","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Numeric Ascending","icon":"sort-numeric-asc","unicode":"f162","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Numeric Descending","icon":"sort-numeric-desc","unicode":"f163","created":3.2,"categories":["Web Application Icons"]},{"name":"thumbs-up","icon":"thumbs-up","unicode":"f164","created":3.2,"categories":["Web Application Icons"]},{"name":"thumbs-down","icon":"thumbs-down","unicode":"f165","created":3.2,"categories":["Web Application Icons"]},{"name":"YouTube Square","icon":"youtube-square","unicode":"f166","created":3.2,"categories":["Brand Icons"]},{"name":"YouTube","icon":"youtube","unicode":"f167","created":3.2,"categories":["Brand Icons"]},{"name":"Xing","icon":"xing","unicode":"f168","created":3.2,"categories":["Brand Icons"]},{"name":"Xing Square","icon":"xing-square","unicode":"f169","created":3.2,"categories":["Brand Icons"]},{"name":"YouTube Play","icon":"youtube-play","unicode":"f16a","created":3.2,"categories":["Brand Icons","Video Player Icons"]},{"name":"Dropbox","icon":"dropbox","unicode":"f16b","created":3.2,"categories":["Brand Icons"]},{"name":"Stack Overflow","icon":"stack-overflow","unicode":"f16c","created":3.2,"categories":["Brand Icons"]},{"name":"Instagram","icon":"instagram","unicode":"f16d","created":3.2,"categories":["Brand Icons"]},{"name":"Flickr","icon":"flickr","unicode":"f16e","created":3.2,"categories":["Brand Icons"]},{"name":"App.net","icon":"adn","unicode":"f170","created":3.2,"categories":["Brand Icons"]},{"name":"Bitbucket","icon":"bitbucket","unicode":"f171","created":3.2,"categories":["Brand Icons"]},{"name":"Bitbucket Square","icon":"bitbucket-square","unicode":"f172","created":3.2,"categories":["Brand Icons"]},{"name":"Tumblr","icon":"tumblr","unicode":"f173","created":3.2,"categories":["Brand Icons"]},{"name":"Tumblr Square","icon":"tumblr-square","unicode":"f174","created":3.2,"categories":["Brand Icons"]},{"name":"Long Arrow Down","icon":"long-arrow-down","unicode":"f175","created":3.2,"categories":["Directional Icons"]},{"name":"Long Arrow Up","icon":"long-arrow-up","unicode":"f176","created":3.2,"categories":["Directional Icons"]},{"name":"Long Arrow Left","icon":"long-arrow-left","unicode":"f177","created":3.2,"categories":["Directional Icons"]},{"name":"Long Arrow Right","icon":"long-arrow-right","unicode":"f178","created":3.2,"categories":["Directional Icons"]},{"name":"Apple","icon":"apple","unicode":"f179","created":3.2,"categories":["Brand Icons"]},{"name":"Windows","icon":"windows","unicode":"f17a","created":3.2,"categories":["Brand Icons"]},{"name":"Android","icon":"android","unicode":"f17b","created":3.2,"categories":["Brand Icons"]},{"name":"Linux","icon":"linux","unicode":"f17c","created":3.2,"categories":["Brand Icons"]},{"name":"Dribbble","icon":"dribbble","unicode":"f17d","created":3.2,"categories":["Brand Icons"]},{"name":"Skype","icon":"skype","unicode":"f17e","created":3.2,"categories":["Brand Icons"]},{"name":"Foursquare","icon":"foursquare","unicode":"f180","created":3.2,"categories":["Brand Icons"]},{"name":"Trello","icon":"trello","unicode":"f181","created":3.2,"categories":["Brand Icons"]},{"name":"Female","icon":"female","unicode":"f182","created":3.2,"categories":["Web Application Icons"]},{"name":"Male","icon":"male","unicode":"f183","created":3.2,"categories":["Web Application Icons"]},{"name":"Gittip","icon":"gittip","unicode":"f184","created":3.2,"categories":["Brand Icons"]},{"name":"Sun Outlined","icon":"sun-o","unicode":"f185","created":3.2,"categories":["Web Application Icons"]},{"name":"Moon Outlined","icon":"moon-o","unicode":"f186","created":3.2,"categories":["Web Application Icons"]},{"name":"Archive","icon":"archive","unicode":"f187","created":3.2,"categories":["Web Application Icons"]},{"name":"Bug","icon":"bug","unicode":"f188","created":3.2,"categories":["Web Application Icons"]},{"name":"VK","icon":"vk","unicode":"f189","created":3.2,"categories":["Brand Icons"]},{"name":"Weibo","icon":"weibo","unicode":"f18a","created":3.2,"categories":["Brand Icons"]},{"name":"Renren","icon":"renren","unicode":"f18b","created":3.2,"categories":["Brand Icons"]},{"name":"Pagelines","icon":"pagelines","unicode":"f18c","created":4,"categories":["Brand Icons"]},{"name":"Stack Exchange","icon":"stack-exchange","unicode":"f18d","created":4,"categories":["Brand Icons"]},{"name":"Arrow Circle Outlined Right","icon":"arrow-circle-o-right","unicode":"f18e","created":4,"categories":["Directional Icons"]},{"name":"Arrow Circle Outlined Left","icon":"arrow-circle-o-left","unicode":"f190","created":4,"categories":["Directional Icons"]},{"name":"Caret Square Outlined Left","icon":"caret-square-o-left","unicode":"f191","created":4,"aliases":["toggle-left"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Dot Circle O","icon":"dot-circle-o","unicode":"f192","created":4,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Wheelchair","icon":"wheelchair","unicode":"f193","created":4,"categories":["Web Application Icons","Medical Icons"]},{"name":"Vimeo Square","icon":"vimeo-square","unicode":"f194","created":4,"categories":["Brand Icons"]},{"name":"Turkish Lira (TRY)","icon":"try","unicode":"f195","created":4,"aliases":["turkish-lira"],"categories":["Currency Icons"]},{"name":"Plus Square Outlined","icon":"plus-square-o","unicode":"f196","created":4,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Space Shuttle","icon":"space-shuttle","unicode":"f197","created":4.1,"categories":["Web Application Icons"]},{"name":"Slack Logo","icon":"slack","unicode":"f198","created":4.1,"categories":["Brand Icons"]},{"name":"Envelope Square","icon":"envelope-square","unicode":"f199","created":4.1,"categories":["Web Application Icons"]},{"name":"Wordpress Logo","icon":"wordpress","unicode":"f19a","created":4.1,"categories":["Brand Icons"]},{"name":"OpenID","icon":"openid","unicode":"f19b","created":4.1,"categories":["Brand Icons"]},{"name":"University","icon":"university","unicode":"f19c","created":4.1,"aliases":["institution","bank"],"categories":["Web Application Icons"]},{"name":"Graduation Cap","icon":"graduation-cap","unicode":"f19d","created":4.1,"aliases":["mortar-board"],"categories":["Web Application Icons"]},{"name":"Yahoo Logo","icon":"yahoo","unicode":"f19e","created":4.1,"categories":["Brand Icons"]},{"name":"Google Logo","icon":"google","unicode":"f1a0","created":4.1,"categories":["Brand Icons"]},{"name":"reddit Logo","icon":"reddit","unicode":"f1a1","created":4.1,"categories":["Brand Icons"]},{"name":"reddit Square","icon":"reddit-square","unicode":"f1a2","created":4.1,"categories":["Brand Icons"]},{"name":"StumbleUpon Circle","icon":"stumbleupon-circle","unicode":"f1a3","created":4.1,"categories":["Brand Icons"]},{"name":"StumbleUpon Logo","icon":"stumbleupon","unicode":"f1a4","created":4.1,"categories":["Brand Icons"]},{"name":"Delicious Logo","icon":"delicious","unicode":"f1a5","created":4.1,"categories":["Brand Icons"]},{"name":"Digg Logo","icon":"digg","unicode":"f1a6","created":4.1,"categories":["Brand Icons"]},{"name":"Pied Piper Logo","icon":"pied-piper","unicode":"f1a7","created":4.1,"categories":["Brand Icons"],"aliases":["pied-piper-square"]},{"name":"Pied Piper Alternate Logo","icon":"pied-piper-alt","unicode":"f1a8","created":4.1,"categories":["Brand Icons"]},{"name":"Drupal Logo","icon":"drupal","unicode":"f1a9","created":4.1,"categories":["Brand Icons"]},{"name":"Joomla Logo","icon":"joomla","unicode":"f1aa","created":4.1,"categories":["Brand Icons"]},{"name":"Language","icon":"language","unicode":"f1ab","created":4.1,"categories":["Web Application Icons"]},{"name":"Fax","icon":"fax","unicode":"f1ac","created":4.1,"categories":["Web Application Icons"]},{"name":"Building","icon":"building","unicode":"f1ad","created":4.1,"categories":["Web Application Icons"]},{"name":"Child","icon":"child","unicode":"f1ae","created":4.1,"categories":["Web Application Icons"]},{"name":"Paw","icon":"paw","unicode":"f1b0","created":4.1,"categories":["Web Application Icons"]},{"name":"spoon","icon":"spoon","unicode":"f1b1","created":4.1,"categories":["Web Application Icons"]},{"name":"Cube","icon":"cube","unicode":"f1b2","created":4.1,"categories":["Web Application Icons"]},{"name":"Cubes","icon":"cubes","unicode":"f1b3","created":4.1,"categories":["Web Application Icons"]},{"name":"Behance","icon":"behance","unicode":"f1b4","created":4.1,"categories":["Brand Icons"]},{"name":"Behance Square","icon":"behance-square","unicode":"f1b5","created":4.1,"categories":["Brand Icons"]},{"name":"Steam","icon":"steam","unicode":"f1b6","created":4.1,"categories":["Brand Icons"]},{"name":"Steam Square","icon":"steam-square","unicode":"f1b7","created":4.1,"categories":["Brand Icons"]},{"name":"Recycle","icon":"recycle","unicode":"f1b8","created":4.1,"categories":["Web Application Icons"]},{"name":"Car","icon":"car","unicode":"f1b9","created":4.1,"categories":["Web Application Icons"],"aliases":["automobile"]},{"name":"Taxi","icon":"taxi","unicode":"f1ba","created":4.1,"categories":["Web Application Icons"],"aliases":["cab"]},{"name":"Tree","icon":"tree","unicode":"f1bb","created":4.1,"categories":["Web Application Icons"]},{"name":"Spotify","icon":"spotify","unicode":"f1bc","created":4.1,"categories":["Brand Icons"]},{"name":"deviantART","icon":"deviantart","unicode":"f1bd","created":4.1,"categories":["Brand Icons"]},{"name":"SoundCloud","icon":"soundcloud","unicode":"f1be","created":4.1,"categories":["Brand Icons"]},{"name":"Database","icon":"database","unicode":"f1c0","created":4.1,"categories":["Web Application Icons"]},{"name":"PDF File Outlined","icon":"file-pdf-o","unicode":"f1c1","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Word File Outlined","icon":"file-word-o","unicode":"f1c2","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Excel File Outlined","icon":"file-excel-o","unicode":"f1c3","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Powerpoint File Outlined","icon":"file-powerpoint-o","unicode":"f1c4","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Image File Outlined","icon":"file-image-o","unicode":"f1c5","created":4.1,"aliases":["file-photo-o","file-picture-o"],"categories":["Web Application Icons","File Type Icons"]},{"name":"Archive File Outlined","icon":"file-archive-o","unicode":"f1c6","created":4.1,"aliases":["file-zip-o"],"categories":["Web Application Icons","File Type Icons"]},{"name":"Audio File Outlined","icon":"file-audio-o","unicode":"f1c7","created":4.1,"aliases":["file-sound-o"],"categories":["Web Application Icons","File Type Icons"]},{"name":"Video File Outlined","icon":"file-video-o","unicode":"f1c8","created":4.1,"aliases":["file-movie-o"],"categories":["Web Application Icons","File Type Icons"]},{"name":"Code File Outlined","icon":"file-code-o","unicode":"f1c9","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Vine","icon":"vine","unicode":"f1ca","created":4.1,"categories":["Brand Icons"]},{"name":"Codepen","icon":"codepen","unicode":"f1cb","created":4.1,"categories":["Brand Icons"]},{"name":"jsFiddle","icon":"jsfiddle","unicode":"f1cc","created":4.1,"categories":["Brand Icons"]},{"name":"Life Ring","icon":"life-ring","unicode":"f1cd","created":4.1,"aliases":["life-bouy","life-saver","support"],"categories":["Web Application Icons"]},{"name":"Circle Outlined Notched","icon":"circle-o-notch","unicode":"f1ce","created":4.1,"categories":["Web Application Icons","Spinner Icons"]},{"name":"Rebel Alliance","icon":"rebel","unicode":"f1d0","created":4.1,"aliases":["ra"],"categories":["Brand Icons"]},{"name":"Galactic Empire","icon":"empire","unicode":"f1d1","created":4.1,"aliases":["ge"],"categories":["Brand Icons"]},{"name":"Git Square","icon":"git-square","unicode":"f1d2","created":4.1,"categories":["Brand Icons"]},{"name":"Git","icon":"git","unicode":"f1d3","created":4.1,"categories":["Brand Icons"]},{"name":"Hacker News","icon":"hacker-news","unicode":"f1d4","created":4.1,"categories":["Brand Icons"]},{"name":"Tencent Weibo","icon":"tencent-weibo","unicode":"f1d5","created":4.1,"categories":["Brand Icons"]},{"name":"QQ","icon":"qq","unicode":"f1d6","created":4.1,"categories":["Brand Icons"]},{"name":"Weixin (WeChat)","icon":"weixin","unicode":"f1d7","created":4.1,"aliases":["wechat"],"categories":["Brand Icons"]},{"name":"Paper Plane","icon":"paper-plane","unicode":"f1d8","created":4.1,"aliases":["send"],"categories":["Web Application Icons"]},{"name":"Paper Plane Outlined","icon":"paper-plane-o","unicode":"f1d9","created":4.1,"aliases":["send-o"],"categories":["Web Application Icons"]},{"name":"History","icon":"history","unicode":"f1da","created":4.1,"categories":["Web Application Icons"]},{"name":"Circle Outlined Thin","icon":"circle-thin","unicode":"f1db","created":4.1,"categories":["Web Application Icons"]},{"name":"header","icon":"header","unicode":"f1dc","created":4.1,"categories":["Text Editor Icons"]},{"name":"paragraph","icon":"paragraph","unicode":"f1dd","created":4.1,"categories":["Text Editor Icons"]},{"name":"Sliders","icon":"sliders","unicode":"f1de","created":4.1,"categories":["Web Application Icons"]},{"name":"Share Alt","icon":"share-alt","unicode":"f1e0","created":4.1,"categories":["Web Application Icons","Brand Icons"]},{"name":"Share Alt Square","icon":"share-alt-square","unicode":"f1e1","created":4.1,"categories":["Web Application Icons","Brand Icons"]},{"name":"Bomb","icon":"bomb","unicode":"f1e2","created":4.1,"categories":["Web Application Icons"]}]}');function To(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 So(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)?So(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 So(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 xo=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M12 17.5c2.33 0 4.3-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5M8.5 11A1.5 1.5 0 0 0 10 9.5A1.5 1.5 0 0 0 8.5 8A1.5 1.5 0 0 0 7 9.5A1.5 1.5 0 0 0 8.5 11m7 0A1.5 1.5 0 0 0 17 9.5A1.5 1.5 0 0 0 15.5 8A1.5 1.5 0 0 0 14 9.5a1.5 1.5 0 0 0 1.5 1.5M12 20a8 8 0 0 1-8-8a8 8 0 0 1 8-8a8 8 0 0 1 8 8a8 8 0 0 1-8 8m0-18C6.47 2 2 6.5 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2Z"})),zo=null,Lo=function e(t){var o=To((0,Pe.useState)(!1),2),r=o[0],n=o[1],a=To((0,Pe.useState)(!1),2),l=a[0],c=a[1],i=To((0,Pe.useState)("fontawesome"),2),s=i[0],u=i[1],d=To((0,Pe.useState)([]),2),m=d[0],p=d[1],g=To((0,Pe.useState)(!1),2),f=g[0],b=g[1],y=To((0,Pe.useState)(""),2),_=y[0],h=y[1],R=To((0,Pe.useState)(null==m?void 0:m.length),2),w=R[0],E=R[1],v=To((0,Pe.useState)(1),2),O=v[0],P=v[1],C=(0,Ce.useInstanceId)(e,"iconControl"),B=null!==t.showReset?t.showReset:void 0!==t.value&&t.value!==t.defaultValue&&t.value!==t.placeholder,k=function(e,t,o){return e.slice((o-1)*t,o*t)};(0,Pe.useEffect)((function(){var e,t,o,r=(e=_,t=Wo[s],o=e.toLowerCase(),t.filter((function(e){return e.name.toLowerCase().indexOf(o)>=0})));E(null==r?void 0:r.length),p(k(r,25,O))}),[O,_]),(0,Pe.useEffect)((function(){P(1)}),[_]),(0,Pe.useEffect)((function(){return clearTimeout(zo),b(!0),zo=setTimeout((function(){var e;P(1),p(k(Wo[s],25,O)),E(null===(e=Wo[s])||void 0===e?void 0:e.length),b(!1)}),200),function(){clearTimeout(zo)}}),[s]);var A,W,T=function(e){P("prev"===e?O-1:O+1)},S="dashicon"===s?"dashicons":"fa";return React.createElement("div",{className:"woolentor-icon-control-area woolentor-icon-control-".concat(C)},React.createElement("div",{className:"woolentor-icon-control-wrapper"},React.createElement("div",{className:"woolentor-icon-control-button-wrapper"},React.createElement("div",{className:"woolentor-icon-label"},t.label),React.createElement("div",{className:"woolentor-icon-control-buttons"},React.createElement(ne.Button,{variant:"secondary",className:"woolentor-icon-control-icon-button",onClick:function(){l?(n(!1),c(!1)):n(!0)}},t.value&&React.createElement("span",{class:t.value}),!t.value&&React.createElement(ne.Icon,{icon:xo,style:{opacity:.3}})),t.allowReset&&B&&React.createElement(ne.Button,{className:"woolentor-inspector-control-reset-button",isSmall:!0,isTertiary:!0,"aria-label":(0,re.__)("Reset","woolentor"),onClick:function(){t.onReset?t.onReset():t.onChange(t.defaultValue)},icon:React.createElement(ne.Dashicon,{icon:"image-rotate"})})),r&&React.createElement(ne.Popover,{className:"woolentor-icon-popover",onClickOutside:function(e){e.target&&e.target.closest(".woolentor-icon-control-".concat(C))?c(!0):(n(!1),c(!1))},onClose:function(){return n(!1)},position:t.position},React.createElement(ne.PanelBody,null,React.createElement("div",{className:"woolentor-icon-filter-area"},React.createElement(ne.SelectControl,{value:s,options:[{label:(0,re.__)("FontAwesome","woolentor"),value:"fontawesome"},{label:(0,re.__)("Dashicon","woolentor"),value:"dashicon"}],onChange:function(e){return u(e)}}),React.createElement(ne.TextControl,{className:"woolentor-icon-popover-input",value:_,onChange:h,placeholder:(0,re.__)("Search for an icon","woolentor")})),React.createElement("div",{className:"woolentor-icon-popover-iconlist"},f&&React.createElement(ne.Spinner,null),!f&&m.length>0&&m.map((function(e,o){var r=e.name,a=e.icon,l="".concat(S," ").concat(S,"-").concat(a);return React.createElement(ne.Button,{key:o,onClick:function(){t.onChange(l!==t.value?l:t.value),n(!1)},label:r},React.createElement("span",{class:l}))})),!f&&!m.length&&React.createElement("p",{className:"components-base-control__help"},(0,re.__)("No Icons found !","woolentor"))),React.createElement("div",{className:"woolentor-icon-control-footer"},(A=w,W=Math.ceil(A/25),React.createElement(React.Fragment,null,React.createElement("span",{className:"woolentor-selector-pages"},"".concat(O," / ").concat(W," (").concat(A,")")),React.createElement("span",{className:"woolentor-next-prev-arrows"},1!==O&&React.createElement("span",{className:"woolentor-arrow-prev dashicons dashicons-arrow-left",onClick:function(){return T("prev")}}),W>O&&React.createElement("span",{className:"woolentor-arrow-next dashicons dashicons-arrow-right",onClick:function(){return T("next")}}))))))))))};Lo.defaultProps={label:(0,re.__)("Icon","woolentor"),value:"",defaultValue:"",onChange:function(){},allowReset:!0,showReset:null,position:"center"};const No=(0,Pe.memo)(Lo);function jo(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?jo(Object(o),!0).forEach((function(t){Mo(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):jo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Mo(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Ho(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 Fo=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 Ho(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)?Ho(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,Pe.useState)(e.value),2),o=t[0],r=t[1],n=o.type,a=o.color,l=o.width,c=function(e,t){var n=Io({},o);n.hasOwnProperty(t)?n[t]=e:n=Io(Io({},n),{},Mo({},t,e)),r(n)};return(0,Pe.useEffect)((function(){e.onChange(o)}),[o]),React.createElement(rr,{label:e.label,popoverLabel:e.popoverLabel},React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:n,options:[{label:(0,re.__)("None","woolentor"),value:""},{label:(0,re.__)("Solid","woolentor"),value:"solid"},{label:(0,re.__)("Double","woolentor"),value:"double"},{label:(0,re.__)("Dotted","woolentor"),value:"dotted"},{label:(0,re.__)("Dashed","woolentor"),value:"dashed"},{label:(0,re.__)("Groove","woolentor"),value:"groove"}],onChange:function(e){return c(e,"type")}}),void 0!==n&&""!=n&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:l,attributesKey:"width",setAttributes:function(e){r(Io(Io({},o),e))},responsive:e.responsive}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:a,onChange:function(e){return c(e,"color")}}))))};Fo.defaultProps={label:(0,re.__)("Border","woolentor"),popoverLabel:(0,re.__)("Border","woolentor"),value:[],onChange:function(){},responsive:!0};const Do=(0,Pe.memo)(Fo),Go=window.wp.hooks;function qo(e){return qo="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},qo(e)}function Ko(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 Uo(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ko(Object(o),!0).forEach((function(t){Qo(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ko(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Qo(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Vo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yo(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 Zo(e,t){return Zo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Zo(e,t)}function Jo(e,t){if(t&&("object"===qo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Xo(e)}function Xo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $o(e){return $o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},$o(e)}var er=1,tr={},or=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&&Zo(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=$o(r);if(n){var o=$o(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Jo(this,e)});function l(){var e;return Vo(this,l),(e=a.apply(this,arguments)).state={open:tr[e.props.label]||!1,isMouseOutside:!1,showResetPopover:!1},e.handleOpen=e.handleOpen.bind(Xo(e)),e.handleClose=e.handleClose.bind(Xo(e)),e.handleMouseLeave=e.handleMouseLeave.bind(Xo(e)),e.handleMouseEnter=e.handleMouseEnter.bind(Xo(e)),e.handleOnClickOutside=e.handleOnClickOutside.bind(Xo(e)),e.handleReset=e.handleReset.bind(Xo(e)),e.buttonRef=(0,Pe.createRef)(),e.instanceId=er++,e}return t=l,o=[{key:"checkIfAttributeShouldToggleOn",value:function(e,t){if(!this.props.onToggle||!this.props.toggleAttributeName||!this.props.toggleOnSetAttributes.length)return e;if(t.attributes[this.props.toggleAttributeName])return e;var o=!1;return this.props.toggleOnSetAttributes.some((function(t){return!(!Object.keys(e).includes(t)||""===e[t]||(o=!0,0))})),o?Uo(Uo({},e),{},Qo({},this.props.toggleAttributeName,!0)):e}},{key:"componentDidMount",value:function(){(0,Go.addFilter)("woolentor.setAttributes","woolentor/button-icon-popover-control-".concat(this.instanceId),this.checkIfAttributeShouldToggleOn.bind(this),9),document.addEventListener("mousedown",this.handleOnClickOutside)}},{key:"componentWillUnmount",value:function(){var e=this;tr[this.props.label]=this.state.open,setTimeout((function(){delete tr[e.props.label]}),500),(0,Go.removeFilter)("woolentor.setAttributes","woolentor/button-icon-popover-control-".concat(this.instanceId)),document.removeEventListener("mousedown",this.handleOnClickOutside)}},{key:"handleOpen",value:function(){this.setState({open:!this.state.open})}},{key:"handleClose",value:function(){this.setState({open:!1})}},{key:"handleMouseLeave",value:function(){this.setState({isMouseOutside:!0})}},{key:"handleMouseEnter",value:function(){this.setState({isMouseOutside:!1})}},{key:"handleReset",value:function(){this.props.resetPopoverTitle||this.props.resetPopoverDescription?this.setState({showResetPopover:!0}):this.props.onReset()}},{key:"handleOnClickOutside",value:function(e){var t,o,r,n;null!==(t=window.wp)&&void 0!==t&&null!==(o=t.media)&&void 0!==o&&null!==(r=o.frame)&&void 0!==r&&null!==(n=r.el)&&void 0!==n&&n.clientHeight||this.state.open&&(e.target.closest(".woolentor-button-icon-control__popover")||e.target.closest(".woolentor-button-icon-control__edit")||e.target.closest(".components-color-picker")||this.handleClose())}},{key:"render",value:function(){var e=this;!function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(this.props);var t=this.props.allowReset||!!this.props.onToggle&&this.props.checked;return React.createElement(ne.BaseControl,{help:this.props.help,label:!this.props.onToggle&&React.createElement("label",{htmlFor:"woolentor-button-icon-control__edit-".concat(this.instanceId)},this.props.label),id:"woolentor-button-icon-control",className:gt()("woolentor-button-icon-control",this.props.className)},this.props.onToggle&&React.createElement(ne.ToggleControl,{label:this.props.label,checked:this.props.checked,onChange:this.props.onToggle}),React.createElement("div",{className:"woolentor-button-icon-control__wrapper"},React.createElement(ne.Button,{onClick:this.handleOpen,className:"woolentor-button-icon-control__edit",label:(0,re.__)("Edit","woolentor"),variant:"secondary",icon:"edit",id:"woolentor-button-icon-control__edit-".concat(this.instanceId),ref:this.buttonRef}),this.state.open&&React.createElement(ne.Popover,{className:"woolentor-button-icon-control__popover",focusOnMount:"container",onMouseLeave:this.handleMouseLeave,onMouseEnter:this.handleMouseEnter},React.createElement("div",{className:"woolentor-popover-heading"},(void 0!==this.props.popoverLabel?this.props.popoverLabel:this.props.label)&&React.createElement("span",{className:"components-panel__body-title"},this.props.popoverLabel||this.props.label),this.props.allowReset&&t&&React.createElement(ne.Button,{className:"woolentor-inspector-control__reset-button",isSmall:!0,isTertiary:!0,"aria-label":(0,re.__)("Reset","woolentor"),onClick:function(){e.props.onReset?e.props.onReset():e.props.onChange(e.props.defaultValue)},icon:React.createElement(ne.Dashicon,{icon:"image-rotate"})})),React.createElement(ne.PanelBody,null,this.props.children))))}}],o&&Yo(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);or.defaultProps={help:"",label:"",popoverLabel:void 0,className:"",allowReset:!1,onReset:function(){},checked:!1,onToggle:void 0,toggleOnSetAttributes:[],toggleAttributeName:"",renderCustomPreview:null};const rr=or,nr=window.wp.apiFetch;var ar=o.n(nr);const lr=window.wp.url;function cr(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 ir(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)?ir(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 ir(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 sr=function(e){var t=cr((0,Pe.useState)([]),2),o=t[0],r=t[1],n=cr(qt(e.attribute,e.valueCallback,e.changeCallback),2),a=n[0],l=n[1],c=void 0===e.label?"":e.label,i=void 0===e.value?a:e.value,s=void 0===e.onChange?l:e.onChange;(0,Pe.useEffect)((function(){var e;e=(0,lr.addQueryArgs)("/woolentor/v1/imagesizes",{wpnonce:woolentorData.security}),ar()({path:e}).then((function(e){return r(e)}))}),[]);var u=function(){var e=[];return Object.keys(o).forEach((function(t){e.push({label:o[t],value:t})})),e};return u().length>0&&(0,Pe.createElement)(ne.SelectControl,{label:c,value:i,options:u(),onChange:s})};sr.defaultProps={attribute:"",label:void 0,value:void 0,onChange:void 0};const ur=(0,Pe.memo)(sr);function dr(e){return dr="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},dr(e)}function mr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pr(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 gr(e,t){return gr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},gr(e,t)}function fr(e,t){if(t&&("object"===dr(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 br(e){return br=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},br(e)}var yr=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&&gr(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=br(r);if(n){var o=br(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return fr(this,e)});function l(){return mr(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,c=t.productFilterType,i=t.perPage,s=t.customOrder,u=t.orderBy,d=t.order,m=t.selectedCategories,p=t.slitems,g=t.slarrows,f=t.sldots,b=t.slpauseOnHover,y=t.slautolay,_=t.slautoplaySpeed,h=t.slanimationSpeed,R=t.slscrollItem,w=t.sltabletDisplayColumns,E=t.sltabletScrollColumns,v=t.sltabletWidth,O=t.slMobileDisplayColumns,P=t.slMobileScrollColumns,C=t.slMobileWidth;return React.createElement(Pe.Fragment,null,React.createElement(at,null),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("Layout","woolentor"),initialOpen:!0},React.createElement(ne.SelectControl,{label:(0,re.__)("Product Style","woolentor"),value:r,options:[{label:(0,re.__)("Style One","woolentor"),value:"1"},{label:(0,re.__)("Style Two","woolentor"),value:"2"},{label:(0,re.__)("Style Three","woolentor"),value:"3"}],onChange:function(e){return o({style:e})}}),React.createElement(Ao,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(ne.RangeControl,{label:(0,re.__)("Rows","woolentor"),value:n,onChange:function(e){return o({rows:e})},min:1,step:1,max:20}),React.createElement(kt,{label:(0,re.__)("Tab","woolentor")},React.createElement(ne.ToggleControl,{checked:a,onChange:function(){return o({productTab:!a})}})),React.createElement(kt,{label:(0,re.__)("Slider","woolentor")},React.createElement(ne.ToggleControl,{checked:l,onChange:function(){return o({slider:!l})}}))),React.createElement(_t,{title:(0,re.__)("Query Options","woolentor")},React.createElement(ne.SelectControl,{label:(0,re.__)("Filter By","woolentor"),value:c,options:[{label:(0,re.__)("Recent Products","woolentor"),value:"recent"},{label:(0,re.__)("Featured Products","woolentor"),value:"featured"},{label:(0,re.__)("Best Selling Products","woolentor"),value:"best_selling"},{label:(0,re.__)("Sale Products","woolentor"),value:"sale"},{label:(0,re.__)("Top Rated Products","woolentor"),value:"top_rated"},{label:(0,re.__)("Mixed order Products","woolentor"),value:"mixed_order"}],onChange:function(e){return o({productFilterType:e})}}),React.createElement(ne.RangeControl,{label:(0,re.__)("Number Of Products","woolentor"),value:i,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(kt,{label:(0,re.__)("Custom Order","woolentor")},React.createElement(ne.ToggleControl,{checked:s,onChange:function(){return o({customOrder:!s})}})),React.createElement(Ie,{title:(0,re.__)("Product Categories","woolentor"),attributesKey:"selectedCategories",setAttributes:o,selectedTaxonomies:m,type:"multiple"}),s?React.createElement(React.Fragment,null,React.createElement(ne.SelectControl,{label:(0,re.__)("Order","woolentor"),value:d,options:[{label:(0,re.__)("Descending","woolentor"),value:"DESC"},{label:(0,re.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(ne.SelectControl,{label:(0,re.__)("Orderby","woolentor"),value:u,options:[{label:(0,re.__)("None","woolentor"),value:"none"},{label:(0,re.__)("ID","woolentor"),value:"ID"},{label:(0,re.__)("Date","woolentor"),value:"date"},{label:(0,re.__)("Name","woolentor"),value:"name"},{label:(0,re.__)("Title","woolentor"),value:"title"},{label:(0,re.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,re.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}})):""),1==l&&React.createElement(_t,{title:(0,re.__)("Slider Options","woolentor")},React.createElement(ne.RangeControl,{label:(0,re.__)("Slider Items","woolentor"),value:p,onChange:function(e){return o({slitems:e})},min:1,step:1,max:10}),React.createElement(kt,{label:(0,re.__)("Slider Arrow","woolentor")},React.createElement(ne.ToggleControl,{checked:g,onChange:function(){return o({slarrows:!g})}})),React.createElement(kt,{label:(0,re.__)("Slider dots","woolentor")},React.createElement(ne.ToggleControl,{checked:f,onChange:function(){return o({sldots:!f})}})),React.createElement(kt,{label:(0,re.__)("Pause on Hover?","woolentor")},React.createElement(ne.ToggleControl,{checked:b,onChange:function(){return o({slpauseOnHover:!b})}})),React.createElement(kt,{label:(0,re.__)("Slider auto play","woolentor")},React.createElement(ne.ToggleControl,{checked:y,onChange:function(){return o({slautolay:!y})}})),React.createElement(ne.RangeControl,{label:(0,re.__)("Autoplay speed","woolentor"),value:_,onChange:function(e){return o({slautoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(ne.RangeControl,{label:(0,re.__)("Autoplay animation speed","woolentor"),value:h,onChange:function(e){return o({slanimationSpeed:e})},min:1,step:1,max:1e5}),React.createElement(ne.RangeControl,{label:(0,re.__)("Slider item to scroll","woolentor"),value:R,onChange:function(e){return o({slscrollItem:e})},min:1,step:1,max:1e5}),React.createElement("h3",null,(0,re.__)("Tablet Screen options","woolentor")),React.createElement(ne.RangeControl,{label:(0,re.__)("Slider Items","woolentor"),value:w,onChange:function(e){return o({sltabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(ne.RangeControl,{label:(0,re.__)("Slider item to scroll","woolentor"),value:E,onChange:function(e){return o({sltabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(ne.RangeControl,{label:(0,re.__)("Tablet Screen Resolution","woolentor"),value:v,onChange:function(e){return o({sltabletWidth:e})},min:1,step:1,max:1500}),React.createElement("h3",null,(0,re.__)("Mobile Phone Screen options","woolentor")),React.createElement(ne.RangeControl,{label:(0,re.__)("Slider Items","woolentor"),value:O,onChange:function(e){return o({slMobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(ne.RangeControl,{label:(0,re.__)("Slider item to scroll","woolentor"),value:P,onChange:function(e){return o({slMobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(ne.RangeControl,{label:(0,re.__)("Mobile Screen Resolution","woolentor"),value:C,onChange:function(e){return o({slMobileWidth:e})},min:1,step:1,max:1500}))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Content","woolentor")},React.createElement(Co.InspectorControls,{label:(0,re.__)("Alignment","woolentor"),attribute:"contentAlign",justified:!0})),React.createElement(_t,{title:(0,re.__)("Title","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(kt,{label:(0,re.__)("Hover Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}})),React.createElement(Co.InspectorControls,{label:(0,re.__)("Alignment","woolentor"),attribute:"titleAlign",justified:!0})),React.createElement(_t,{title:(0,re.__)("Price","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}}))),React.createElement(_t,{title:(0,re.__)("Action Button","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.actionBtnColor,onChange:function(e){return o({actionBtnColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.actionBtnBgColor,onChange:function(e){return o({actionBtnBgColor:e})}})),React.createElement(kt,{label:(0,re.__)("Hover Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.actionBtnHoverColor,onChange:function(e){return o({actionBtnHoverColor:e})}})),React.createElement(kt,{label:(0,re.__)("Hover Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.actionBtnHoverBgColor,onChange:function(e){return o({actionBtnHoverBgColor:e})}})))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],o&&pr(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const _r=yr;function hr(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 Rr(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=hr(n,t,o);return""!=l?l:""}function wr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e||{},r="";return o.imageUrl&&(r+=hr("url("+o.imageUrl+")","background-image",t)),o.position&&(r+=hr(o.position,"background-position",t)),o.attachment&&(r+=hr(o.attachment,"background-attachment",t)),o.repeat&&(r+=hr(o.repeat,"background-repeat",t)),o.size&&(r+=hr(o.size,"background-size",t)),r}function Er(e){if(void 0!==e&&void 0!==(null==e?void 0:e.type)&&""!=(null==e?void 0:e.type)){var t=se(e),o="";return o="border-color: ".concat(e.color?e.color:"#f56640","; border-style: ").concat(e.type?e.type:"solid",";"),null!=t&&t.desktop?o+=t.desktop:o=null==t?void 0:t.simple.replace(/[{}]/g,""),o}return""}var vr=o(66),Or=o(864),Pr=o(196),Cr=o.n(Pr),Br=o(774),kr=o.n(Br);const Ar=function(e){function t(e,r,i,s,m){for(var p,g,f,b,R,E=0,v=0,O=0,P=0,C=0,S=0,z=f=p=0,N=0,j=0,I=0,M=0,H=i.length,F=H-1,D="",G="",q="",K="";N<H;){if(g=i.charCodeAt(N),N===F&&0!==v+P+O+E&&(0!==v&&(g=47===v?10:47),P=O=E=0,H++,F++),0===v+P+O+E){if(N===F&&(0<j&&(D=D.replace(d,"")),0<D.trim().length)){switch(g){case 32:case 9:case 59:case 13:case 10:break;default:D+=i.charAt(N)}g=59}switch(g){case 123:for(p=(D=D.trim()).charCodeAt(0),f=1,M=++N;N<H;){switch(g=i.charCodeAt(N)){case 123:f++;break;case 125:f--;break;case 47:switch(g=i.charCodeAt(N+1)){case 42:case 47:e:{for(z=N+1;z<F;++z)switch(i.charCodeAt(z)){case 47:if(42===g&&42===i.charCodeAt(z-1)&&N+2!==z){N=z+1;break e}break;case 10:if(47===g){N=z+1;break e}}N=z}}break;case 91:g++;case 40:g++;case 34:case 39:for(;N++<F&&i.charCodeAt(N)!==g;);}if(0===f)break;N++}if(f=i.substring(M,N),0===p&&(p=(D=D.replace(u,"").trim()).charCodeAt(0)),64===p){switch(0<j&&(D=D.replace(d,"")),g=D.charCodeAt(1)){case 100:case 109:case 115:case 45:j=r;break;default:j=T}if(M=(f=t(r,j,f,g,m+1)).length,0<x&&(R=c(3,f,j=o(T,D,I),r,k,B,M,g,m,s),D=j.join(""),void 0!==R&&0===(M=(f=R.trim()).length)&&(g=0,f="")),0<M)switch(g){case 115:D=D.replace(w,l);case 100:case 109:case 45:f=D+"{"+f+"}";break;case 107:f=(D=D.replace(y,"$1 $2"))+"{"+f+"}",f=1===W||2===W&&a("@"+f,3)?"@-webkit-"+f+"@"+f:"@"+f;break;default:f=D+f,112===s&&(G+=f,f="")}else f=""}else f=t(r,o(r,D,I),f,s,m+1);q+=f,f=I=j=z=p=0,D="",g=i.charCodeAt(++N);break;case 125:case 59:if(1<(M=(D=(0<j?D.replace(d,""):D).trim()).length))switch(0===z&&(p=D.charCodeAt(0),45===p||96<p&&123>p)&&(M=(D=D.replace(" ",":")).length),0<x&&void 0!==(R=c(1,D,r,e,k,B,G.length,s,m,s))&&0===(M=(D=R.trim()).length)&&(D="\0\0"),p=D.charCodeAt(0),g=D.charCodeAt(1),p){case 0:break;case 64:if(105===g||99===g){K+=D+i.charAt(N);break}default:58!==D.charCodeAt(M-1)&&(G+=n(D,p,g,D.charCodeAt(2)))}I=j=z=p=0,D="",g=i.charCodeAt(++N)}}switch(g){case 13:case 10:47===v?v=0:0===1+p&&107!==s&&0<D.length&&(j=1,D+="\0"),0<x*L&&c(0,D,r,e,k,B,G.length,s,m,s),B=1,k++;break;case 59:case 125:if(0===v+P+O+E){B++;break}default:switch(B++,b=i.charAt(N),g){case 9:case 32:if(0===P+E+v)switch(C){case 44:case 58:case 9:case 32:b="";break;default:32!==g&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===P+v+E&&(j=I=1,b="\f"+b);break;case 108:if(0===P+v+E+A&&0<z)switch(N-z){case 2:112===C&&58===i.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===g?0:0===P?g: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+f&&(f=1);break;case 42:case 47:if(!(0<P+E+O))switch(v){case 0:switch(2*g+3*i.charCodeAt(N+1)){case 235:v=47;break;case 220:M=N,v=42}break;case 42:47===g&&42===C&&M+2!==N&&(33===i.charCodeAt(M+2)&&(G+=i.substring(M,N+1)),b="",v=0)}}0===v&&(D+=b)}S=C,C=g,N++}if(0<(M=G.length)){if(j=r,0<x&&void 0!==(R=c(2,G,j,e,k,B,M,s,m,s))&&0===(G=R).length)return K+G+q;if(G=j.join(",")+"{"+G+"}",0!=W*A){switch(2!==W||a(G,2)||(A=0),A){case 111:G=G.replace(h,":-moz-$1")+G;break;case 112:G=G.replace(_,"::-webkit-input-$1")+G.replace(_,"::-moz-$1")+G.replace(_,":-ms-input-$1")+G}A=0}}return K+G+q}function o(e,t,o){var n=t.trim().split(f);t=n;var a=n.length,l=e.length;switch(l){case 0:case 1:var c=0;for(e=0===l?"":e[0]+" ";c<a;++c)t[c]=r(e,t[c],o).trim();break;default:var i=c=0;for(t=[];c<a;++c)for(var s=0;s<l;++s)t[i++]=r(e[s]+" ",n[c],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+";",c=2*t+3*o+4*r;if(944===c){e=l.indexOf(":",9)+1;var i=l.substring(e,l.length-1).trim();return i=l.substring(0,e).trim()+i+";",1===W||2===W&&a(i,1)?"-webkit-"+i+i:i}if(0===W||2===W&&!a(l,1))return l;switch(c){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"+(i=l.substring(l.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+l+"-ms-flex-pack"+i+l;case 1005:return p.test(l)?l.replace(m,":-webkit-")+l.replace(m,":-moz-")+l:l;case 1e3:switch(t=(i=l.substring(13).trim()).indexOf("-")+1,i.charCodeAt(0)+i.charCodeAt(t)){case 226:i=l.replace(R,"tb");break;case 232:i=l.replace(R,"tb-rl");break;case 220:i=l.replace(R,"lr");break;default:return l}return"-webkit-"+l+"-ms-"+i+l;case 1017:if(-1===l.indexOf("sticky",9))break;case 975:switch(t=(l=e).length-10,c=(i=(33===l.charCodeAt(t)?l.substring(0,t):l).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|i.charCodeAt(7))){case 203:if(111>i.charCodeAt(8))break;case 115:l=l.replace(i,"-webkit-"+i)+";"+l;break;case 207:case 102:l=l.replace(i,"-webkit-"+(102<c?"inline-":"")+"box")+";"+l.replace(i,"-webkit-"+i)+";"+l.replace(i,"-ms-"+i+"box")+";"+l}return l+";";case 938:if(45===l.charCodeAt(5))switch(l.charCodeAt(6)){case 105:return i=l.replace("-items",""),"-webkit-"+l+"-webkit-box-"+i+"-ms-flex-"+i+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===(i=e.substring(e.indexOf(":")+1)).charCodeAt(0)?n(e.replace("stretch","fill-available"),t,o,r).replace(":fill-available",":stretch"):l.replace(i,"-webkit-"+i)+l.replace(i,"-moz-"+i.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(g,"$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 c(e,t,o,r,n,a,l,c,i,u){for(var d,m=0,p=t;m<x;++m)switch(d=S[m].call(s,e,p,o,r,n,a,l,c,i,u)){case void 0:case!1:case!0:case null:break;default:p=d}if(p!==t)return p}function i(e){return void 0!==(e=e.prefix)&&(z=null,e?"function"!=typeof e?W=1:(W=2,z=e):W=0),i}function s(e,o){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<x){var n=c(-1,o,r,r,k,B,0,0,0,0);void 0!==n&&"string"==typeof n&&(o=n)}var a=t(T,r,o,0,0);return 0<x&&void 0!==(n=c(-2,a,r,r,k,B,a.length,0,0,0))&&(a=n),A=0,B=k=1,a}var u=/^\0+/g,d=/[\0\r\f]/g,m=/: */g,p=/zoo|gra/,g=/([,: ])(transform)/g,f=/,\r+?/g,b=/([\t\r\n ])*\f?&/g,y=/@(k\w+)\s*(\S*)\s*/,_=/::(place)/g,h=/:(read-only)/g,R=/[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,W=1,T=[],S=[],x=0,z=null,L=0;return s.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},s.set=i,void 0!==e&&i(e),s},Wr={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 Tr=/^((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 Sr=function(e){var t=Object.create(null);return function(e){return void 0===t[e]&&(t[e]=(o=e,Tr.test(o)||111===o.charCodeAt(0)&&110===o.charCodeAt(1)&&o.charCodeAt(2)<91)),t[e];var o}}();var xr=o(679),zr=o.n(xr);function Lr(){return(Lr=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 Nr=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},jr=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,Or.typeOf)(e)},Ir=Object.freeze([]),Mr=Object.freeze({});function Hr(e){return"function"==typeof e}function Fr(e){return e.displayName||e.name||"Component"}function Dr(e){return e&&"string"==typeof e.styledComponentId}var Gr="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",qr="undefined"!=typeof window&&"HTMLElement"in window,Kr=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 Ur(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 Qr=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&&Ur(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),c=0,i=t.length;c<i;c++)this.tag.insertRule(l,t[c])&&(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}(),Vr=new Map,Yr=new Map,Zr=1,Jr=function(e){if(Vr.has(e))return Vr.get(e);for(;Yr.has(Zr);)Zr++;var t=Zr++;return Vr.set(e,t),Yr.set(t,e),t},Xr=function(e){return Yr.get(e)},$r=function(e,t){t>=Zr&&(Zr=t+1),Vr.set(e,t),Yr.set(t,e)},en="style["+Gr+'][data-styled-version="5.3.5"]',tn=new RegExp("^"+Gr+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),on=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)},rn=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 c=l.match(tn);if(c){var i=0|parseInt(c[1],10),s=c[2];0!==i&&($r(s,i),on(e,s,c[3]),e.getTag().insertRules(i,r)),r.length=0}else r.push(l)}}},nn=function(){return"undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},an=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(Gr))return r}}(o),a=void 0!==n?n.nextSibling:null;r.setAttribute(Gr,"active"),r.setAttribute("data-styled-version","5.3.5");var l=nn();return l&&r.setAttribute("nonce",l),o.insertBefore(r,a),r},ln=function(){function e(e){var t=this.element=an(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}Ur(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}(),cn=function(){function e(e){var t=this.element=an(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}(),sn=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}(),un=qr,dn={isServer:!qr,useCSSOMInjection:!Kr},mn=function(){function e(e,t,o){void 0===e&&(e=Mr),void 0===t&&(t={}),this.options=Lr({},dn,{},e),this.gs=t,this.names=new Map(o),this.server=!!e.isServer,!this.server&&qr&&un&&(un=!1,function(e){for(var t=document.querySelectorAll(en),o=0,r=t.length;o<r;o++){var n=t[o];n&&"active"!==n.getAttribute(Gr)&&(rn(e,n),n.parentNode&&n.parentNode.removeChild(n))}}(this))}e.registerId=function(e){return Jr(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,o){return void 0===o&&(o=!0),new e(Lr({},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 sn(n):r?new ln(n):new cn(n),new Qr(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(Jr(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(Jr(e),o)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(Jr(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=Xr(n);if(void 0!==a){var l=e.names.get(a),c=t.getGroup(n);if(l&&c&&l.size){var i=Gr+".g"+n+'[id="'+a+'"]',s="";void 0!==l&&l.forEach((function(e){e.length>0&&(s+=e+",")})),r+=""+c+i+'{content:"'+s+'"}/*!sc*/\n'}}}return r}(this)},e}(),pn=/(a)(d)/gi,gn=function(e){return String.fromCharCode(e+(e>25?39:97))};function fn(e){var t,o="";for(t=Math.abs(e);t>52;t=t/52|0)o=gn(t%52)+o;return(gn(t%52)+o).replace(pn,"$1-$2")}var bn=function(e,t){for(var o=t.length;o;)e=33*e^t.charCodeAt(--o);return e},yn=function(e){return bn(5381,e)};function hn(e){for(var t=0;t<e.length;t+=1){var o=e[t];if(Hr(o)&&!Dr(o))return!1}return!0}var Rn=yn("5.3.5"),wn=function(){function e(e,t,o){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===o||o.isStatic)&&hn(e),this.componentId=t,this.baseHash=bn(Rn,t),this.baseStyle=o,mn.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=In(this.rules,e,t,o).join(""),l=fn(bn(this.baseHash,a)>>>0);if(!t.hasNameForId(r,l)){var c=o(a,"."+l,void 0,r);t.insertRules(r,l,c)}n.push(l),this.staticRulesId=l}else{for(var i=this.rules.length,s=bn(this.baseHash,o.hash),u="",d=0;d<i;d++){var m=this.rules[d];if("string"==typeof m)u+=m;else if(m){var p=In(m,e,t,o),g=Array.isArray(p)?p.join(""):p;s=bn(s,g+d),u+=g}}if(u){var f=fn(s>>>0);if(!t.hasNameForId(r,f)){var b=o(u,"."+f,void 0,r);t.insertRules(r,f,b)}n.push(f)}}return n.join(" ")},e}(),En=/^\s*\/\/.*$/gm,vn=[":","[",".","#"];function On(e){var t,o,r,n,a=void 0===e?Mr:e,l=a.options,c=void 0===l?Mr:l,i=a.plugins,s=void 0===i?Ir:i,u=new Ar(c),d=[],m=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(o,r,n,a,l,c,i,s,u,d){switch(o){case 1:if(0===u&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===s)return r+"/*|*/";break;case 3:switch(s){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!==vn.indexOf(a[o.length])||a.match(n)?e:"."+t};function g(e,a,l,c){void 0===c&&(c="&");var i=e.replace(En,""),s=a&&l?l+" "+a+" { "+i+" }":i;return t=c,o=a,r=new RegExp("\\"+o+"\\b","g"),n=new RegExp("(\\"+o+"\\b){2,}"),u(l||!a?"":a,s)}return u.use([].concat(s,[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}}])),g.hash=s.length?s.reduce((function(e,t){return t.name||Ur(15),bn(e,t.name)}),5381).toString():"",g}var Pn=Cr().createContext(),Cn=(Pn.Consumer,Cr().createContext()),Bn=(Cn.Consumer,new mn),kn=On();function An(){return(0,Pr.useContext)(Pn)||Bn}function Wn(e){var t=(0,Pr.useState)(e.stylisPlugins),o=t[0],r=t[1],n=An(),a=(0,Pr.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,Pr.useMemo)((function(){return On({options:{prefix:!e.disableVendorPrefixes},plugins:o})}),[e.disableVendorPrefixes,o]);return(0,Pr.useEffect)((function(){kr()(o,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]),Cr().createElement(Pn.Provider,{value:a},Cr().createElement(Cn.Provider,{value:l},e.children))}var Tn=function(){function e(e,t){var o=this;this.inject=function(e,t){void 0===t&&(t=kn);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 Ur(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=kn),this.name+e.hash},e}(),Sn=/([A-Z])/,xn=/([A-Z])/g,zn=/^ms-/,Ln=function(e){return"-"+e.toLowerCase()};function Nn(e){return Sn.test(e)?e.replace(xn,Ln).replace(zn,"-ms-"):e}var jn=function(e){return null==e||!1===e||""===e};function In(e,t,o,r){if(Array.isArray(e)){for(var n,a=[],l=0,c=e.length;l<c;l+=1)""!==(n=In(e[l],t,o,r))&&(Array.isArray(n)?a.push.apply(a,n):a.push(n));return a}return jn(e)?"":Dr(e)?"."+e.styledComponentId:Hr(e)?"function"!=typeof(i=e)||i.prototype&&i.prototype.isReactComponent||!t?e:In(e(t),t,o,r):e instanceof Tn?o?(e.inject(o,r),e.getName(r)):e:jr(e)?function e(t,o){var r,n,a=[];for(var l in t)t.hasOwnProperty(l)&&!jn(t[l])&&(Array.isArray(t[l])&&t[l].isCss||Hr(t[l])?a.push(Nn(l)+":",t[l],";"):jr(t[l])?a.push.apply(a,e(t[l],l)):a.push(Nn(l)+": "+(r=l,(null==(n=t[l])||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||r in Wr?String(n).trim():n+"px")+";")));return o?[o+" {"].concat(a,["}"]):a}(e):e.toString();var i}var Mn=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Hn(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 Hr(e)||jr(e)?Mn(In(Nr(Ir,[e].concat(o)))):0===o.length&&1===e.length&&"string"==typeof e[0]?e:Mn(In(Nr(e,o)))}new Set;var Fn=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Dn=/(^-|-$)/g;function Gn(e){return e.replace(Fn,"-").replace(Dn,"")}function qn(e){return"string"==typeof e&&!0}var Kn=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Un=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Qn(e,t,o){var r=e[o];Kn(t)&&Kn(r)?Vn(r,t):e[o]=t}function Vn(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(Kn(l))for(var c in l)Un(c)&&Qn(e,l[c],c)}return e}var Yn=Cr().createContext();Yn.Consumer;var Zn={};function Jn(e,t,o){var r=Dr(e),n=!qn(e),a=t.attrs,l=void 0===a?Ir:a,c=t.componentId,i=void 0===c?function(e,t){var o="string"!=typeof e?"sc":Gn(e);Zn[o]=(Zn[o]||0)+1;var r=o+"-"+function(e){return fn(yn(e)>>>0)}("5.3.5"+o+Zn[o]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):c,s=t.displayName,u=void 0===s?function(e){return qn(e)?"styled."+e:"Styled("+Fr(e)+")"}(e):s,d=t.displayName&&t.componentId?Gn(t.displayName)+"-"+t.componentId:t.componentId||i,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 g,f=new wn(o,d,r?e.componentStyle:void 0),b=f.isStatic&&0===l.length,y=function(e,t){return function(e,t,o,r){var n=e.attrs,a=e.componentStyle,l=e.defaultProps,c=e.foldedComponentIds,i=e.shouldForwardProp,s=e.styledComponentId,u=e.target,d=function(e,t,o){void 0===e&&(e=Mr);var r=Lr({},t,{theme:e}),n={};return o.forEach((function(e){var t,o,a,l=e;for(t in Hr(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=Mr),e.theme!==o.theme&&e.theme||t||o.theme}(t,(0,Pr.useContext)(Yn),l)||Mr,t,n),m=d[0],p=d[1],g=function(e,t,o,r){var n=An(),a=(0,Pr.useContext)(Cn)||kn;return t?e.generateAndInjectStyles(Mr,n,a):e.generateAndInjectStyles(o,n,a)}(a,r,m),f=o,b=p.$as||t.$as||p.as||t.as||u,y=qn(b),_=p!==t?Lr({},t,{},p):t,h={};for(var R in _)"$"!==R[0]&&"as"!==R&&("forwardedAs"===R?h.as=_[R]:(i?i(R,Sr,b):!y||Sr(R))&&(h[R]=_[R]));return t.style&&p.style!==t.style&&(h.style=Lr({},t.style,{},p.style)),h.className=Array.prototype.concat(c,s,g!==s?g:null,t.className,p.className).filter(Boolean).join(" "),h.ref=f,(0,Pr.createElement)(b,h)}(g,e,t,b)};return y.displayName=u,(g=Cr().forwardRef(y)).attrs=m,g.componentStyle=f,g.displayName=u,g.shouldForwardProp=p,g.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):Ir,g.styledComponentId=d,g.target=r?e.target:e,g.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+"-"+(qn(e)?e:Gn(Fr(e)));return Jn(e,Lr({},n,{attrs:m,componentId:a}),o)},Object.defineProperty(g,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?Vn({},e.defaultProps,t):t}}),g.toString=function(){return"."+g.styledComponentId},n&&zr()(g,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),g}var Xn,$n=function(e){return function e(t,o,r){if(void 0===r&&(r=Mr),!(0,Or.isValidElementType)(o))return Ur(1,String(o));var n=function(){return t(o,r,Hn.apply(void 0,arguments))};return n.withConfig=function(n){return e(t,o,Lr({},r,{},n))},n.attrs=function(n){return e(t,o,Lr({},r,{attrs:Array.prototype.concat(r.attrs,n).filter(Boolean)}))},n}(Jn,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){$n[e]=$n(e)})),Xn=function(e,t){this.rules=e,this.componentId=t,this.isStatic=hn(e),mn.registerId(this.componentId+1)}.prototype,Xn.createStyles=function(e,t,o,r){var n=r(In(this.rules,t,o,r).join(""),""),a=this.componentId+e;o.insertRules(a,a,n)},Xn.removeStyles=function(e,t){t.clearRules(this.componentId+e)},Xn.renderStyles=function(e,t,o,r){e>2&&mn.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=nn();return"<style "+[o&&'nonce="'+o+'"',Gr+'="true"','data-styled-version="5.3.5"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?Ur(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return Ur(2);var o=((t={})[Gr]="",t["data-styled-version"]="5.3.5",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=nn();return r&&(o.nonce=r),[Cr().createElement("style",Lr({},o,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new mn({isServer:!0}),this.sealed=!1}.prototype;e.collectStyles=function(e){return this.sealed?Ur(2):Cr().createElement(Wn,{sheet:this.instance},e)},e.interleaveWithNodeStream=function(e){return Ur(3)}}();const ea=$n;function ta(e){return ta="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},ta(e)}var oa,ra;function na(){return na=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},na.apply(this,arguments)}function aa(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function la(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function ca(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 ia(e,t){return ia=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ia(e,t)}function sa(e,t){if(t&&("object"===ta(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 ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ua(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&&ia(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=ua(r);if(n){var o=ua(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return sa(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,c=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==c||this.fetchProductsData(),e.attributes.selectedCategories!=c&&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,lr.addQueryArgs)("/woolentor/v1/products",o);ar()({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,lr.addQueryArgs)("/woolentor/v1/category",t);ar()({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,c=o.blockUniqId,i=o.areaBGProperty;function s(e){var t=e.className,o=e.onClick;return React.createElement(ne.Button,{className:t,onClick:o},React.createElement("i",{className:"fa fa-angle-right"}))}function u(e){var t=e.className,o=e.onClick;return React.createElement(ne.Button,{className:t,onClick:o},React.createElement("i",{className:"fa fa-angle-left"}))}""==c&&a({blockUniqId:l});var d,m={arrows:o.slarrows,prevArrow:React.createElement(u,null),nextArrow:React.createElement(s,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=gt()("woolentor-product-tab-area",la({},"woolentor-grid-columns-".concat(o.columns.desktop),o.columns.desktop),la({},"woolentor-grid-columns-laptop-".concat(o.columns.laptop),o.columns.laptop),la({},"woolentor-grid-columns-tablet-".concat(o.columns.tablet),o.columns.tablet),la({},"woolentor-grid-columns-mobile-".concat(o.columns.mobile),o.columns.mobile)),g=gt()(la({},"woolentor-grid",1!=o.slider),la({},"woolentor-grid-slider",1==o.slider)),f=gt()("product-item",la({},"product_style_three",3==o.style)),b=gt()(la({},"woolentor-grid-column",o.columns.desktop)),y=ea.div(oa||(oa=aa(["\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&&Rr(o.areaPadding,"padding"),wr(i),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),_=ea.div(ra||(ra=aa(["\n\t\t\n\t\t"]))),h=this.state,R=h.productData,w=h.categoryData,E=0,v=!1;R.length>0&&(d=R.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?f+" mb-30":f},React.createElement("div",{className:"product-inner"},React.createElement("div",{className:"image-wrap"},React.createElement(ne.Disabled,null,React.createElement("a",{href:e.permalink,className:"image"},(0,Pe.createElement)("div",{className:"woolentor-product-image",dangerouslySetInnerHTML:{__html:e.image.full.html}}),!0===e.on_sale&&React.createElement("span",{class:"onsale"},(0,re.__)("Sale!","woolentor")))),1==o.style&&!0===e.wishlist.status?(0,Pe.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,Pe.createElement)("span",{className:"woolentor-product-wishlist",dangerouslySetInnerHTML:{__html:e.wishlist.html}}):"",(0,Pe.createElement)("div",{className:"woolentor-product-btn"},(0,Pe.createElement)("a",null,(0,re.__)("Add to cart","woolentor")))),React.createElement("div",{className:"content"},React.createElement("h4",{className:"title"},React.createElement("a",{href:e.permalink},e.title)),(0,Pe.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,Pe.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,Pe.createElement)("span",{className:"woolentor-product-compare",dangerouslySetInnerHTML:{__html:e.compare.html}}):""))),React.createElement("div",{className:"content"},React.createElement("h4",{className:"title"},React.createElement(ne.Disabled,null,React.createElement("a",{href:e.permalink},e.title))),(0,Pe.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"+c+C,onClick:P,dataslug:e.slug},e.name)))}))),React.createElement(Pe.Fragment,null,n&&React.createElement(_r,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==R.length?React.createElement(ne.Spinner,null):React.createElement("div",{className:g},1==o.slider?React.createElement(vr.Z,na({},m,{className:"product-slider"}),d):d))))}}],o&&ca(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const ma=da,pa=React.createElement(ne.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"})))),ga=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 fa=ga.name,ba=ga.category,ya=ga.attributes,_a={title:(0,re.__)("WL : Product Tab","woolentor"),description:(0,re.__)("Display product.","woolentor"),icon:React.createElement(ne.Icon,{icon:pa}),keywords:["woolentor",(0,re.__)("product tab","woolentor"),(0,re.__)("woocommerce product","woolentor")],attributes:ya,edit:ma,save:function(){return null}};const ha=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(Pe.Fragment,null,React.createElement(at,null),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("Product Grid","woolentor"),initialOpen:!0},React.createElement(ne.SelectControl,{label:(0,re.__)("Grid Style","woolentor"),value:t.gridStyle,options:[{label:(0,re.__)("Style One","woolentor"),value:"1"},{label:(0,re.__)("Style Two","woolentor"),value:"2"},{label:(0,re.__)("Style Three","woolentor"),value:"3"},{label:(0,re.__)("Style Four","woolentor"),value:"4"},{label:(0,re.__)("Style Five","woolentor"),value:"5"}],onChange:function(e){return o({gridStyle:e})}}),React.createElement(kt,{label:(0,re.__)("Filterable","woolentor")},React.createElement(ne.ToggleControl,{checked:t.filterable,onChange:function(){return o({filterable:!t.filterable})}}))),React.createElement(_t,{title:(0,re.__)("Columns","woolentor")},React.createElement(Ao,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(ne.ToggleControl,{label:(0,re.__)("No Gutters","woolentor"),checked:t.noGutter,onChange:function(){return o({noGutter:!t.noGutter})}}),!t.noGutter&&React.createElement(React.Fragment,null,React.createElement(ne.RangeControl,{label:(0,re.__)("Column Spacing","woolentor"),value:t.columnSpace,onChange:function(e){return o({columnSpace:e})},min:0,step:1,max:200}),React.createElement(ne.RangeControl,{label:(0,re.__)("Row Spacing","woolentor"),value:t.rowSpace,onChange:function(e){return o({rowSpace:e})},min:0,step:1,max:200}))),React.createElement(_t,{title:(0,re.__)("Query Settings","woolentor")},React.createElement(ne.SelectControl,{label:(0,re.__)("Filter By","woolentor"),value:t.productType,options:[{label:(0,re.__)("Recent Products","woolentor"),value:"recent"},{label:(0,re.__)("Featured Products","woolentor"),value:"featured"},{label:(0,re.__)("Best Selling Products","woolentor"),value:"best_selling"},{label:(0,re.__)("Sale Products","woolentor"),value:"sale"},{label:(0,re.__)("Top Rated Products","woolentor"),value:"top_rated"},{label:(0,re.__)("Mixed order Products","woolentor"),value:"mixed_order"},{label:(0,re.__)("Add ID Manually","woolentor"),value:"show_byid_manually"}],onChange:function(e){return o({productType:e})}}),"show_byid_manually"===t.productType&&React.createElement(ne.TextControl,{label:(0,re.__)("Product IDs","woolentor"),value:t.productIdsManually,onChange:function(e){return o({productIdsManually:e})},help:(0,re.__)("Add Product ids separated with comma","woolentor")}),React.createElement(ne.RangeControl,{label:(0,re.__)("Number Of Products","woolentor"),value:t.perPage,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(Xt,{taxonomy:t.taxonomy,onChangeTaxonomy:function(e){return o({taxonomy:e})}}),""!==t.taxonomy&&React.createElement(ne.SelectControl,{label:(0,re.__)("Category Operator","woolentor"),value:t.catOperator,options:[{label:(0,re.__)("AND","woolentor"),value:"AND"},{label:(0,re.__)("IN","woolentor"),value:"IN"},{label:(0,re.__)("NOT IN","woolentor"),value:"NOT IN"}],onChange:function(e){return o({catOperator:e})}}),React.createElement(ne.ToggleControl,{label:(0,re.__)("Custom Order","woolentor"),checked:t.customOrder,onChange:function(){return o({customOrder:!t.customOrder})}}),t.customOrder?React.createElement(React.Fragment,null,React.createElement(ne.SelectControl,{label:(0,re.__)("Order","woolentor"),value:t.order,options:[{label:(0,re.__)("Descending","woolentor"),value:"DESC"},{label:(0,re.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(ne.SelectControl,{label:(0,re.__)("Orderby","woolentor"),value:t.orderBy,options:[{label:(0,re.__)("None","woolentor"),value:"none"},{label:(0,re.__)("ID","woolentor"),value:"ID"},{label:(0,re.__)("Date","woolentor"),value:"date"},{label:(0,re.__)("Name","woolentor"),value:"name"},{label:(0,re.__)("Title","woolentor"),value:"title"},{label:(0,re.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,re.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}})):""),React.createElement(_t,{title:(0,re.__)("Additional Options","woolentor")},React.createElement(ne.ToggleControl,{label:(0,re.__)("Pagination","woolentor"),checked:t.paginate,onChange:function(){return o({paginate:!t.paginate})}}),t.paginate&&React.createElement(React.Fragment,null,React.createElement(ne.ToggleControl,{label:(0,re.__)("Allow Order","woolentor"),checked:t.allowOrder,onChange:function(){return o({allowOrder:!t.allowOrder})}}),React.createElement(ne.ToggleControl,{label:(0,re.__)("Show Result Count","woolentor"),checked:t.showResultCount,onChange:function(){return o({showResultCount:!t.showResultCount})}})),React.createElement(xt,{label:(0,re.__)("Cart Button Settings","woolentor")}),React.createElement(No,{label:(0,re.__)("Add to Cart Button Icon","woolentor"),onReset:function(){return o({addToCartIcon:""})},value:t.addToCartIcon,onChange:function(e){return o({addToCartIcon:e})}}),("1"===t.gridStyle||"2"===t.gridStyle)&&React.createElement(React.Fragment,null,React.createElement(ne.TextControl,{label:(0,re.__)("Add to Cart Button Text","woolentor"),value:t.addToCartText,onChange:function(e){return o({addToCartText:e})},placeholder:(0,re.__)("Add to Cart","woolentor")}),t.addToCartIcon&&React.createElement(React.Fragment,null,React.createElement(ne.SelectControl,{label:(0,re.__)("Add to Cart Icon Position","woolentor"),value:t.buttonIconAlign,options:[{label:(0,re.__)("Left","woolentor"),value:"left"},{label:(0,re.__)("Right","woolentor"),value:"right"}],onChange:function(e){return o({buttonIconAlign:e})}}),React.createElement(ne.RangeControl,{label:(0,re.__)("Icon Spacing","woolentor"),value:t.iconSpecing,onChange:function(e){return o({iconSpecing:e})},min:1,step:1,max:200}))),React.createElement(xt,{label:(0,re.__)("Image Settings","woolentor")}),React.createElement(ne.SelectControl,{label:(0,re.__)("Image Style","woolentor"),value:t.imageLayoutType,options:[{label:(0,re.__)("Zoom Image","woolentor"),value:"zoom"},{label:(0,re.__)("Secondary Image","woolentor"),value:"secondary_img"}],onChange:function(e){return o({imageLayoutType:e})}}),React.createElement(xt,{label:(0,re.__)("Content Settings","woolentor")}),React.createElement(ne.ToggleControl,{label:(0,re.__)("Hide Category","woolentor"),checked:t.hideCategory,onChange:function(){return o({hideCategory:!t.hideCategory})}}),React.createElement(ne.ToggleControl,{label:(0,re.__)("Hide Rating","woolentor"),checked:t.hideRating,onChange:function(){return o({hideRating:!t.hideRating})}}))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Item Style","woolentor"),initialOpen:!0},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.itemPadding,attributesKey:"itemPadding",setAttributes:o,responsive:!0}),React.createElement(Do,{value:t.itemBorder,onChange:function(e){return o({itemBorder:e})}}),React.createElement(Do,{label:(0,re.__)("Hover Border","woolentor"),value:t.itemHoverBorder,onChange:function(e){return o({itemHoverBorder:e})}}),React.createElement(qe.PanelColorSettings,{title:(0,re.__)("Background Color Settings"),showTitle:!1,colorSettings:[{value:t.itemBGColor,onChange:function(e){return o({itemBGColor:e})},label:(0,re.__)("Background Color","woolentor")},{value:t.itemBGHoverColor,onChange:function(e){return o({itemBGHoverColor:e})},label:(0,re.__)("Background Hover Color","woolentor")}]})),React.createElement(_t,{title:(0,re.__)("Content Style","woolentor"),initialOpen:!1},React.createElement(xt,{label:(0,re.__)("Title","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(kt,{label:(0,re.__)("Hover Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o,responsive:!0}),React.createElement(xt,{label:(0,re.__)("Category","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.categoryColor,onChange:function(e){return o({categoryColor:e})}})),React.createElement(kt,{label:(0,re.__)("Hover Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.categoryHoverColor,onChange:function(e){return o({categoryHoverColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.categorySize,fallbackFontSize:t.categorySize,onChange:function(e){return o({categorySize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.categoryMargin,attributesKey:"categoryMargin",setAttributes:o,responsive:!0}),React.createElement(xt,{label:(0,re.__)("Price","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.priceSize,fallbackFontSize:t.priceSize,onChange:function(e){return o({priceSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.priceMargin,attributesKey:"priceMargin",setAttributes:o,responsive:!0}),React.createElement(xt,{label:(0,re.__)("Rating","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.ratingMargin,attributesKey:"ratingMargin",setAttributes:o,responsive:!0})),React.createElement(_t,{title:(0,re.__)("Action Button Style","woolentor"),initialOpen:!1},React.createElement(ne.RangeControl,{label:(0,re.__)("Size","woolentor"),value:t.actionBtnSize,onChange:function(e){return o({actionBtnSize:e})},min:0,step:1,max:1e3,allowReset:!0}),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.actionBtnBorderRadius,attributesKey:"actionBtnBorderRadius",setAttributes:o,responsive:!0}),React.createElement(mt,{name:"actionbutton"},React.createElement(bt,{name:"normal"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.actionBtnColor,onChange:function(e){return o({actionBtnColor:e})}})),React.createElement(Do,{label:(0,re.__)("Border","woolentor"),value:t.actionBtnBorder,onChange:function(e){return o({actionBtnBorder:e})}}),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.actionBtnBGColor,onChange:function(e){return o({actionBtnBGColor:e})}}))),React.createElement(bt,{name:"hover"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.actionBtnHoverColor,onChange:function(e){return o({actionBtnHoverColor:e})}})),React.createElement(Do,{label:(0,re.__)("Border","woolentor"),value:t.actionBtnHoverBorder,onChange:function(e){return o({actionBtnHoverBorder:e})}}),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.actionBtnBGHoverColor,onChange:function(e){return o({actionBtnBGHoverColor:e})}})))),("1"==t.gridStyle||"3"==t.gridStyle)&&React.createElement(React.Fragment,null,React.createElement(xt,{label:(0,re.__)("Add To Cart Button","woolentor")}),React.createElement(ne.RangeControl,{label:(0,re.__)("Size","woolentor"),value:t.actionCartBtnSize,onChange:function(e){return o({actionCartBtnSize:e})},min:0,step:1,max:1e3,allowReset:!0}),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.actionCartBtnBorderRadius,attributesKey:"actionCartBtnBorderRadius",setAttributes:o,responsive:!0}),React.createElement(ne.RangeControl,{label:(0,re.__)("Icon Size","woolentor"),value:t.actionCartBtnIconSize,onChange:function(e){return o({actionCartBtnIconSize:e})},min:0,step:1,max:1e3,allowReset:!0}),React.createElement(mt,{name:"actioncartbutton"},React.createElement(bt,{name:"normal"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.actionCartBtnColor,onChange:function(e){return o({actionCartBtnColor:e})}})),React.createElement(Do,{label:(0,re.__)("Border","woolentor"),value:t.actionCartBtnBorder,onChange:function(e){return o({actionCartBtnBorder:e})}}),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.actionCartBtnBGColor,onChange:function(e){return o({actionCartBtnBGColor:e})}}))),React.createElement(bt,{name:"hover"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.actionCartBtnHoverColor,onChange:function(e){return o({actionCartBtnHoverColor:e})}})),React.createElement(Do,{label:(0,re.__)("Border","woolentor"),value:t.actionCartBtnHoverBorder,onChange:function(e){return o({actionCartBtnHoverBorder:e})}}),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.actionCartBtnBGHoverColor,onChange:function(e){return o({actionCartBtnBGHoverColor:e})}}))))))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:!0}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:!0})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))},Ra=window.wp.serverSideRender;var wa=o.n(Ra);function Ea(e){return Ea="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},Ea(e)}function va(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oa(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 Pa(e,t){return Pa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Pa(e,t)}function Ca(e,t){if(t&&("object"===Ea(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 Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ba(e)}var 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&&Pa(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=Ba(r);if(n){var o=Ba(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Ca(this,e)});function l(){return va(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=e.name,c=t.blockUniqId,i=t.areaBGProperty;""==c&&n({blockUniqId:a});var s,u,d,m=gt()((d=o,(u=o)in(s={})?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s),"woocommerce","woolentorblock-product-grid-"+c),p=".woolentorblock-product-grid-"+c,g="\n ".concat(p," .woolentor-grid:not(.woolentor-no-gutters,.wlno-gutters) {\n ").concat(!t.noGutter&&hr(t.columnSpace,"column-gap","px"),"\n ").concat(!t.noGutter&&hr(t.rowSpace,"row-gap","px"),"\n }\n ")+"\n ".concat(p," .ht-product-2 {\n ").concat(t.itemPadding?Rr(t.itemPadding.desktop,"padding"):"","\n ").concat(hr(t.itemBGColor,"background-color"),"\n ").concat(Er(t.itemBorder),"\n }\n ").concat(p," .ht-product-2:hover {\n ").concat(hr(t.itemBGHoverColor,"background-color"),"\n ").concat(Er(t.itemHoverBorder),"\n }\n ").concat(p,' .ht-product-2 [class*="ht-product-content"] .ht-product-title-2 {\n ').concat(t.titleMargin?Rr(t.titleMargin.desktop,"margin"):"","\n }\n ").concat(p,' .ht-product-2 [class*="ht-product-content"] .ht-product-title-2 a {\n ').concat(hr(t.titleColor,"color"),"\n ").concat(hr(t.titleSize,"font-size"),"\n }\n ").concat(p,' .ht-product-2 [class*="ht-product-content"] .ht-product-title-2 a:hover {\n ').concat(hr(t.titleHoverColor,"color"),"\n }\n ").concat(p," .ht-product-2 [class*='ht-product-content'] .ht-product-categories-2 a {\n ").concat(hr(t.categoryColor,"color"),"\n ").concat(hr(t.categorySize,"font-size"),"\n }\n ").concat(p," .ht-product-2 [class*='ht-product-content'] .ht-product-categories-2 a:hover {\n ").concat(hr(t.categoryHoverColor,"color"),"\n }\n ").concat(p," .ht-product-2 [class*='ht-product-content'] .ht-product-categories-2 {\n ").concat(t.categoryMargin?Rr(t.categoryMargin.desktop,"margin"):"","\n }\n\n ").concat(p,' .ht-product-2 [class*="ht-product-content"] .ht-product-price-2 span,').concat(p,' .ht-product-2 [class*="ht-product-content"] .ht-product-price-2 {\n ').concat(hr(t.priceColor,"color"),"\n ").concat(hr(t.priceSize,"font-size"),"\n }\n ").concat(p,' .ht-product-2 [class*="ht-product-content"] .ht-product-price-2 {\n ').concat(t.priceMargin?Rr(t.priceMargin.desktop,"margin"):"","\n }\n ").concat(p," .ht-product-2 [class*='ht-product-content'] .ht-product-ratting-2 {\n ").concat(t.ratingMargin?Rr(t.ratingMargin.desktop,"margin"):"","\n }\n ").concat(p," .ht-product-2 [class*='ht-product-content'] .ht-product-ratting-2 i {\n ").concat(hr(t.ratingColor,"color"),"\n }\n ").concat(p," .ht-product-2 .ht-product-image-wrap-2 [class*='ht-product-action'] ul li a,").concat(p," .ht-product-2 .ht-product-content-2-wrap [class*='ht-product-action'] ul li a {\n ").concat(t.actionBtnBorderRadius?Rr(t.actionBtnBorderRadius.desktop,"border-radius"):"","\n ").concat(hr(t.actionBtnSize,"font-size","px"),"\n ").concat(hr(t.actionBtnColor,"color"),"\n ").concat(Er(t.actionBtnBorder),"\n ").concat(hr(t.actionBtnBGColor,"background-color"),"\n }\n\n ").concat(p," .ht-product-2 .ht-product-image-wrap-2 [class*='ht-product-action'] ul li a:hover,").concat(p," .ht-product-2 .ht-product-content-2-wrap [class*='ht-product-action'] ul li a:hover {\n ").concat(hr(t.actionBtnHoverColor,"color"),"\n ").concat(Er(t.actionBtnHoverBorder),"\n ").concat(hr(t.actionBtnBGHoverColor,"background-color"),"\n }\n ");return React.createElement(Pe.Fragment,null,r&&React.createElement(ha,this.props),React.createElement("div",{className:m},React.createElement(ne.Disabled,null,React.createElement(wa(),{block:l,attributes:{columns:t.columns,gridStyle:t.gridStyle,noGutter:t.noGutter,taxonomy:t.taxonomy,productType:t.productType,perPage:t.perPage,orderBy:t.orderBy,order:t.order,paginate:t.paginate,productIdsManually:t.productIdsManually,hideCategory:t.hideCategory,hideRating:t.hideRating,blockUniqId:c},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"}))),React.createElement("style",{type:"text/css"},"\n .woolentorblock-product-grid-".concat(c,"{\n ").concat(t.areaPadding&&Rr(t.areaPadding.desktop,"padding"),"\n ").concat(t.areaMargin&&Rr(t.areaMargin.desktop,"margin"),"\n ").concat(wr(i),"\n }\n ").concat(g,"\n ")))}}],o&&Oa(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const Aa=ka,Wa=JSON.parse('{"name":"woolentor/product-grid","category":"woolentor-blocks","title":"WL: Product Grid","description":"Display Product Grid.","keywords":["woolentor","product","Grid","woocommerce","shop product"],"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}}"}},"gridStyle":{"type":"string","default":"1"},"filterable":{"type":"boolean","default":false},"columns":{"type":"object","default":{"desktop":3}},"noGutter":{"type":"boolean","default":false},"columnSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{columnSpace}}px; }"}},"rowSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { row-gap: {{rowSpace}}px; }"}},"productType":{"type":"string","default":"recent"},"perPage":{"type":"number","default":3},"taxonomy":{"type":"string"},"catOperator":{"type":"string","default":"IN"},"productIdsManually":{"type":"string"},"customOrder":{"type":"boolean","default":false},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"paginate":{"type":"boolean","default":false},"allowOrder":{"type":"boolean","default":false},"showResultCount":{"type":"boolean","default":false},"addToCartText":{"type":"string","default":"Add To Cart"},"addToCartIcon":{"type":"string","default":"fa fa-plus"},"buttonIconAlign":{"type":"string","default":"left"},"iconSpecing":{"type":"number","default":5,"style":{"dependency":[[{"key":"addToCartIcon","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2 .ht-price-addtocart-wrap .ht-addtocart a.woolentor-button-icon-right i,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 .ht-product-action-3 ul li a.woolentor-button-icon-right i { margin-left: {{iconSpecing}}px; }{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2 .ht-price-addtocart-wrap .ht-addtocart a.woolentor-button-icon-left i,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 .ht-product-action-3 ul li a.woolentor-button-icon-right i { margin-right: {{iconSpecing}}px; }"}},"imageLayoutType":{"type":"string","default":"zoom"},"hideCategory":{"type":"boolean","default":false},"hideRating":{"type":"boolean","default":false},"itemBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2"}},"itemPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 { padding: {{itemPadding}}; }"}},"itemBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 { background-color: {{itemBGColor}}; }"}},"itemBGHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2:hover { background-color: {{itemBGHoverColor}}; }"}},"itemHoverBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2:hover"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-title-2 a { color: {{titleColor}}; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-title-2 a:hover { color: {{titleHoverColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-title-2 a { font-size: {{titleSize}}; }"}},"titleMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-title-2 { margin: {{titleMargin}}; }"}},"categoryColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-categories-2 a { color: {{categoryColor}}; }"}},"categoryHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-categories-2 a:hover { color: {{categoryHoverColor}}; }"}},"categorySize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-categories-2 a { font-size: {{categorySize}}; }"}},"categoryMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-categories-2 { margin: {{categoryMargin}}; }"}},"priceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-price-2,{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-price-2 span { color: {{priceColor}}; }"}},"priceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-price-2 span { font-size: {{priceSize}}; }"}},"priceMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-price-2 { margin: {{priceMargin}}; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-ratting-2 i { color: {{ratingColor}}; }"}},"ratingMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-ratting-2 { margin: {{ratingMargin}}; }"}},"actionBtnSize":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a{ font-size: {{actionBtnSize}}px; }"}},"actionBtnBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a{ border-radius: {{actionBtnBorderRadius}}; }"}},"actionBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a { color: {{actionBtnColor}}; }"}},"actionBtnBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a"}},"actionBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a { background-color: {{actionBtnBGColor}}; }"}},"actionBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a:hover,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a:hover { color: {{actionBtnHoverColor}}; }"}},"actionBtnBGHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a:hover,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a:hover { background-color: {{actionBtnBGHoverColor}}; }"}},"actionBtnHoverBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a:hover,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a:hover"}},"actionCartBtnSize":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a{ font-size: {{actionCartBtnSize}}px; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a{ border-radius: {{actionCartBtnBorderRadius}}; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnIconSize":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a i{ font-size: {{actionCartBtnIconSize}}px; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a { color: {{actionCartBtnColor}}; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a { background-color: {{actionCartBtnBGColor}}; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a:hover { color: {{actionCartBtnHoverColor}}; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnBGHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a:hover { background-color: {{actionCartBtnBGHoverColor}}; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnHoverBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a:hover","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}}}}'),Ta=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","fill-rule":"evenodd",d:"M3 3v8h8V3H3zm6 6H5V5h4v4zm-6 4v8h8v-8H3zm6 6H5v-4h4v4zm4-16v8h8V3h-8zm6 6h-4V5h4v4zm-6 4v8h8v-8h-8zm6 6h-4v-4h4v4z"}));var Sa=Wa.name,xa=Wa.title,za=Wa.description,La=Wa.category,Na=Wa.attributes,ja=Wa.keywords,Ia=Wa.supports,Ma={title:(0,re.__)(xa,"woolentor"),description:(0,re.__)(za,"woolentor"),icon:React.createElement(ne.Icon,{icon:Ta}),keywords:ja,supports:Ia,attributes:Na,edit:Aa,save:function(){return null}};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)}function Fa(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Da(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 qa(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 Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ka(e)}var Ua=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=Ka(r);if(n){var o=Ka(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return qa(this,e)});function l(){return Fa(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(Pe.Fragment,null,React.createElement(at,{tabs:["general","styles"]}),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("Settings","woolentor"),initialOpen:!0},React.createElement(ne.SelectControl,{label:(0,re.__)("Banner Style","woolentor"),value:r,options:[{label:(0,re.__)("Style One","woolentor"),value:"1"},{label:(0,re.__)("Style Two","woolentor"),value:"2"}],onChange:function(e){return o({style:e})}}),React.createElement(ne.SelectControl,{label:(0,re.__)("Content Alignment","woolentor"),value:n,options:[{label:(0,re.__)("Left","woolentor"),value:"left"},{label:(0,re.__)("Right","woolentor"),value:"right"},{label:(0,re.__)("Bottom","woolentor"),value:"bottom"}],onChange:function(e){return o({contentAlignment:e})}}),React.createElement(ne.TextControl,{label:(0,re.__)("Link","woolentor"),value:a,onChange:function(e){return o({buttonUrl:e})}}))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Title","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}})),React.createElement(_t,{title:(0,re.__)("Sub Title","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.subTitleColor,onChange:function(e){return o({subTitleColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.subTitleSize,fallbackFontSize:t.subTitleSize,onChange:function(e){return o({subTitleSize:e})}})),React.createElement(_t,{title:(0,re.__)("Button","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.buttonColor,onChange:function(e){return o({buttonColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.buttonSize,fallbackFontSize:t.buttonSize,onChange:function(e){return o({buttonSize:e})}}))))}}],o&&Da(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const Qa=Ua,Va=window.wp.primitives,Ya=(0,Pe.createElement)(Va.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Pe.createElement)(Va.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 Za(e){return Za="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},Za(e)}function Ja(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 Xa(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $a(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 el(e,t){return el=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},el(e,t)}function tl(e,t){if(t&&("object"===Za(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ol(e)}function ol(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rl(e){return rl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},rl(e)}var nl=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&&el(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=rl(r);if(n){var o=rl(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return tl(this,e)});function l(){var e;return Xa(this,l),(e=a.apply(this,arguments)).addImage=e.addImage.bind(ol(e)),e.onSelectImage=e.onSelectImage.bind(ol(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 Ja(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)?Ja(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,c=t.imgUrl,i=(t.imgId,t.style),s=t.contentAlignment,u=t.buttonText,d=t.buttonUrl,m=function(e){return n({imgUrl:e.url,imgId:e.id})};return ne.DropZone,this.addImage,(0,re.__)("Drop to upload as banner image","woolentor"),React.createElement(Pe.Fragment,null,r&&React.createElement(Qa,this.props),React.createElement("div",{className:o},React.createElement("div",{className:"woolentor-banner woolentor-banner-layout-"+i+" woolentor-content-align-"+s},React.createElement("div",{className:"woolentor-content"},React.createElement(qe.RichText,{tagName:"h3",className:"banner_subtitle",value:l,onChange:function(e){return n({subTitle:e})},placeholder:(0,re.__)("Banner sub title...","woolentor"),keepPlaceholderOnFocus:!0,style:{color:"".concat(t.subTitleColor),fontSize:"".concat(t.subTitleSize)}}),React.createElement(qe.RichText,{tagName:"h2",className:"banner_title",value:a,onChange:function(e){return n({title:e})},placeholder:(0,re.__)("Banner title...","woolentor"),keepPlaceholderOnFocus:!0,style:{color:"".concat(t.titleColor),fontSize:"".concat(t.titleSize)}}),React.createElement(qe.RichText,{tagName:"a",className:"banner_button",value:u,onChange:function(e){return n({buttonText:e})},placeholder:(0,re.__)("Shop Now ....","woolentor"),href:d,keepPlaceholderOnFocus:!0,style:{color:"".concat(t.buttonColor),fontSize:"".concat(t.buttonSize)}})),c?React.createElement("div",{class:"woolentor-banner-img"},React.createElement("img",{className:"wp-block-woolentor-banner-img",src:c,alt:"WooLentor Banner image"}),React.createElement("div",null,React.createElement(qe.MediaUploadCheck,null,React.createElement(qe.MediaUpload,{onSelect:m,allowedTypes:["image","png"],value:c,render:function(e){var t=e.open;return React.createElement(ne.Button,{onClick:t},c?(0,re.__)("Replace Image","woolentor"):React.createElement(qe.BlockIcon,{icon:Ya}))}})))):React.createElement("div",{class:"woolentor-banner-img"},React.createElement(qe.MediaUploadCheck,null,React.createElement(qe.MediaUpload,{onSelect:m,allowedTypes:["image","png"],value:c,render:function(e){var t=e.open;return React.createElement(ne.Button,{onClick:t},c?(0,re.__)("Replace Image","woolentor"):React.createElement(qe.BlockIcon,{icon:Ya}))}}))))))}}],o&&$a(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const al=nl,ll=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"}}}'),cl=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 il=ll.name,sl=ll.category,ul=ll.attributes,dl={title:(0,re.__)("WL : Promo Banner","woolentor"),description:(0,re.__)("Display promo banner.","woolentor"),icon:React.createElement(ne.Icon,{icon:cl}),keywords:["woolentor",(0,re.__)("product banner","woolentor"),(0,re.__)("woocommerce promo","woolentor"),(0,re.__)("promo banner","woolentor")],supports:{align:["wide","full"]},attributes:ul,edit:al,save:function(e){var t=e.className,o=e.attributes,r=o.title,n=o.subTitle,a=o.imgUrl,l=o.style,c=o.contentAlignment,i=o.buttonText,s=o.buttonUrl;return React.createElement("div",{className:t},React.createElement("div",{className:"woolentor-banner woolentor-banner-layout-"+l+" woolentor-content-align-"+c},React.createElement("div",{className:"woolentor-content"},React.createElement(qe.RichText.Content,{tagName:"h3",className:"banner_subtitle",value:n,style:{color:"".concat(o.subTitleColor),fontSize:"".concat(o.subTitleSize)}}),React.createElement(qe.RichText.Content,{tagName:"h2",className:"banner_title",value:r,style:{color:"".concat(o.titleColor),fontSize:"".concat(o.titleSize)}}),React.createElement(qe.RichText.Content,{tagName:"a",className:"banner_button",href:s,value:i,style:{color:"".concat(o.buttonColor),fontSize:"".concat(o.buttonSize)}})),a&&React.createElement("div",{className:"woolentor-banner-img"},s?React.createElement("a",{href:s},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 ml(e){return ml="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},ml(e)}function pl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gl(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 fl(e,t){return fl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},fl(e,t)}function bl(e,t){if(t&&("object"===ml(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 _l=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&&fl(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 bl(this,e)});function l(){return pl(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,c=t.badgeHorizontalPos,i=t.badgeVerticlePos;return React.createElement(React.Fragment,null,React.createElement(at,{tabs:["general","styles"]}),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("Content","woolentor"),initialOpen:!0},React.createElement(ne.SelectControl,{label:(0,re.__)("Content Position","woolentor"),value:n,options:[{label:(0,re.__)("Top","woolentor"),value:"top"},{label:(0,re.__)("Center","woolentor"),value:"center"},{label:(0,re.__)("Bottom","woolentor"),value:"bottom"},{label:(0,re.__)("Left","woolentor"),value:"left"},{label:(0,re.__)("Right","woolentor"),value:"right"}],onChange:function(e){return o({contentPosition:e})}}),React.createElement(no,{title:(0,re.__)("Banner image","woolentor"),ImageData:a,attribute:"bannerImage"}),React.createElement(no,{title:(0,re.__)("Badge image","woolentor"),ImageData:l,attribute:"badgeImage"}),l.id&&React.createElement(React.Fragment,null,React.createElement(ne.RangeControl,{label:(0,re.__)("Badge Horizontal Position","woolentor"),value:c,onChange:function(e){return o({badgeHorizontalPos:e})},min:-1e3,step:1,max:1e3}),React.createElement(ne.RangeControl,{label:(0,re.__)("Badge Vertical Position","woolentor"),value:i,onChange:function(e){return o({badgeVerticlePos:e})},min:-1e3,step:1,max:1e3})),React.createElement(ne.TextControl,{label:(0,re.__)("Title","woolentor"),value:r,placeholder:(0,re.__)("Banner Title","woolentor"),onChange:function(e){return o({title:e})}}),React.createElement(ne.TextControl,{label:(0,re.__)("Sub Title","woolentor"),placeholder:(0,re.__)("Banner Sub Title","woolentor"),value:t.subTitle,onChange:function(e){return o({subTitle:e})}}),React.createElement(ne.TextareaControl,{label:(0,re.__)("Description","woolentor"),help:(0,re.__)("Enter Banner description","woolentor"),value:t.bannerDescription,onChange:function(e){return o({bannerDescription:e})}}),React.createElement(ne.TextControl,{label:(0,re.__)("Offer Amount","woolentor"),placeholder:(0,re.__)("50%","woolentor"),value:t.offerAmount,onChange:function(e){return o({offerAmount:e})}}),React.createElement(ne.TextControl,{label:(0,re.__)("Offer Tag Line","woolentor"),value:t.offerTagLine,placeholder:(0,re.__)("off","woolentor"),onChange:function(e){return o({offerTagLine:e})}}),React.createElement(ne.TextControl,{label:(0,re.__)("Banner Link","woolentor"),value:t.bannerLink,placeholder:(0,re.__)("https://your-link.com","woolentor"),onChange:function(e){return o({bannerLink:e})}}),React.createElement(ne.TextControl,{label:(0,re.__)("Button Text","woolentor"),value:t.buttonText,placeholder:(0,re.__)("Shop Now","woolentor"),onChange:function(e){return o({buttonText:e})}}))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Content Area","woolentor")},React.createElement(Co.InspectorControls,{label:(0,re.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.contentAreaMargin,attributesKey:"contentAreaMargin",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.contentAreaPadding,attributesKey:"contentAreaPadding",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Title","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.titlePadding,attributesKey:"titlePadding",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Sub Title","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.titleSubColor,onChange:function(e){return o({titleSubColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSubSize,fallbackFontSize:t.titleSubSize,onChange:function(e){return o({titleSubSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.subTitleMargin,attributesKey:"subTitleMargin",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.subTitlePadding,attributesKey:"subTitlePadding",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Description","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.desColor,onChange:function(e){return o({desColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.desSize,fallbackFontSize:t.desSize,onChange:function(e){return o({desSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.desMargin,attributesKey:"desMargin",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.desPadding,attributesKey:"desPadding",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Offer Amount","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.offerColor,onChange:function(e){return o({offerColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.offerSize,fallbackFontSize:t.offerSize,onChange:function(e){return o({offerSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.offerMargin,attributesKey:"offerMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Offer Tag Line","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.offerTagColor,onChange:function(e){return o({offerTagColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.offerTagSize,fallbackFontSize:t.offerTagSize,onChange:function(e){return o({offerTagSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.offerTagMargin,attributesKey:"offerTagMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Button","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.buttonColor,onChange:function(e){return o({buttonColor:e})}})),React.createElement(kt,{label:(0,re.__)("Hover Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.buttonHoverColor,onChange:function(e){return o({buttonHoverColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.buttonSize,fallbackFontSize:t.buttonSize,onChange:function(e){return o({buttonSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.buttonMargin,attributesKey:"buttonMargin",setAttributes:o}))))}}],o&&gl(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const hl=_l;function Rl(e){return Rl="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},Rl(e)}var wl;function El(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vl(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 Ol(e,t){return Ol=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ol(e,t)}function Pl(e,t){if(t&&("object"===Rl(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 Cl(e){return Cl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Cl(e)}var Bl=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"}))),kl=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&&Ol(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=Cl(r);if(n){var o=Cl(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Pl(this,e)});function l(){return El(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,c,i,s,u,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=gt()("wlspcial-banner",(l={},c="woolentor-banner-content-pos-"+t.contentPosition,i=t.contentPosition,c in l?Object.defineProperty(l,c,{value:i,enumerable:!0,configurable:!0,writable:!0}):l[c]=i,l)),p=ea.div(wl||(s=["\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"],u||(u=s.slice(0)),wl=Object.freeze(Object.defineProperties(s,{raw:{value:Object.freeze(u)}}))),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(Pe.Fragment,null,r&&React.createElement(hl,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"},Bl))),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&&vl(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const Al=kl,Wl=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}}; }"}}}}'),Tl=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 Sl=Wl.name,xl=Wl.category,zl=Wl.attributes,Ll={title:(0,re.__)("WL : Special Day Offer","woolentor"),description:(0,re.__)("Display spesial day offer banner.","woolentor"),icon:React.createElement(ne.Icon,{icon:Tl}),keywords:["woolentor",(0,re.__)("shop banner","woolentor"),(0,re.__)("banner","woolentor"),(0,re.__)("special day","woolentor"),(0,re.__)("offer","woolentor"),(0,re.__)("special offer","woolentor")],attributes:zl,supports:{align:["wide","full"]},edit:Al,save:function(){return null}};function Nl(e){return Nl="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},Nl(e)}function jl(e){return function(e){if(Array.isArray(e))return Il(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 Il(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)?Il(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 Il(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 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 Hl(e,t){return Hl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Hl(e,t)}function Fl(e,t){if(t&&("object"===Nl(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 Dl(e){return Dl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Dl(e)}var Gl=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&&Hl(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=Dl(r);if(n){var o=Dl(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Fl(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,c=function(e,t,o){var a=jl(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(Pe.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(ne.Button,{className:"woolentor__remove-marker",icon:"no-alt",onClick:function(){return function(e){var t=jl(r.markerList);t.splice(e,1),n({markerList:t})}(o)}}))),React.createElement("div",{className:a+" woolentor_repeater-controls"},React.createElement(ne.TextControl,{label:(0,re.__)("Marker Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,re.__)("Marker Title","woolentor"),value:r.markerList[o].title,onChange:function(e){return c(e,"title",o)}}),React.createElement(ne.TextareaControl,{label:(0,re.__)("Marker Content","woolentor"),value:r.markerList[o].content,onChange:function(e){return c(e,"content",o)}}),React.createElement(ne.RangeControl,{label:(0,re.__)("Horizontal Postion","woolentor"),value:r.markerList[o].horizontal,onChange:function(e){return c(e,"horizontal",o)},min:-1e3,step:1,max:1e3}),React.createElement(ne.RangeControl,{label:(0,re.__)("Vertical Postion","woolentor"),value:r.markerList[o].verticle,onChange:function(e){return c(e,"verticle",o)},min:-1e3,step:1,max:1e3}))))}))),React.createElement(Pe.Fragment,null,React.createElement(at,{tabs:["general","styles"]}),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("Image","woolentor"),initialOpen:!0},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"bgProperty",setAttributes:n,bgProperty:l})),React.createElement(_t,{title:(0,re.__)("Marker","woolentor")},React.createElement(ne.SelectControl,{label:(0,re.__)("Style","woolentor"),value:a,options:[{label:(0,re.__)("Style One","woolentor"),value:"1"},{label:(0,re.__)("Style Two","woolentor"),value:"2"},{label:(0,re.__)("Style Three","woolentor"),value:"3"},{label:(0,re.__)("Style Four","woolentor"),value:"4"},{label:(0,re.__)("Style Five","woolentor"),value:"5"}],onChange:function(e){return n({style:e})}}),e,React.createElement(ne.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=jl(r.markerList);e.push({title:(0,re.__)("Marker Item #"+(r.markerList.length+1),"woolentor"),content:"",horizontal:"",verticle:""}),n({markerList:e}),t.setState({activeClass:r.markerList.length})}.bind(this)},(0,re.__)("Add Marker","woolentor")))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Marker","woolentor"),initialOpen:!0},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:r.markerColor,onChange:function(e){return n({markerColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:r.markerBGColor,onChange:function(e){return n({markerBGColor:e})}})),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:r.markerBorderColor,onChange:function(e){return n({markerBorderColor:e})}})),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:r.markerBorderRadius,attributesKey:"markerBorderRadius",setAttributes:n}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:r.markerPadding,attributesKey:"markerPadding",setAttributes:n})),React.createElement(_t,{title:(0,re.__)("Content Area","woolentor")},React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:r.markerContentBGColor,onChange:function(e){return n({markerContentBGColor:e})}})),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:r.markerContentBorderRadius,attributesKey:"markerContentBorderRadius",setAttributes:n}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:r.markerContentPadding,attributesKey:"markerContentPadding",setAttributes:n})),React.createElement(_t,{title:(0,re.__)("Marker Title","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:r.markerTitleColor,onChange:function(e){return n({markerTitleColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:r.markerTitleSize,fallbackFontSize:r.markerTitleSize,onChange:function(e){return n({markerTitleSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:r.markerTitleMargin,attributesKey:"markerTitleMargin",setAttributes:n})),React.createElement(_t,{title:(0,re.__)("Marker Description","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:r.markerDescriptionColor,onChange:function(e){return n({markerDescriptionColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:r.markerDescriptionSize,fallbackFontSize:r.markerDescriptionSize,onChange:function(e){return n({markerDescriptionSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:r.markerDescriptionMargin,attributesKey:"markerDescriptionMargin",setAttributes:n}))))}}],o&&Ml(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const ql=Gl;function Kl(e){return Kl="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},Kl(e)}var Ul,Ql,Vl;function Yl(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Zl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jl(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 Xl(e,t){return Xl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Xl(e,t)}function $l(e,t){if(t&&("object"===Kl(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 ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ec(e)}var tc=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&&Xl(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=ec(r);if(n){var o=ec(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return $l(this,e)});function l(){return Zl(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,c=t.bgProperty;""==l&&n({blockUniqId:a});var i,s,u,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=gt()((i={},s="wlb-marker-style-".concat(t.style),u=t.style,s in i?Object.defineProperty(i,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[s]=u,i)),p=ea.div(Ul||(Ul=Yl(["\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"])),c.imageUrl&&"background-image:url("+c.imageUrl+")",c.position&&"background-position:"+c.position,c.attachment&&"background-attachment:"+c.attachment,c.repeat&&"background-repeat:"+c.repeat,c.size&&"background-size:"+c.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")),g=ea.h4(Ql||(Ql=Yl(["\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")),f=ea.p(Vl||(Vl=Yl(["\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(g,null,e.title),e.content&&React.createElement(f,null,e.content)))}));return React.createElement(Pe.Fragment,null,r&&React.createElement(ql,this.props),React.createElement("div",{className:o},React.createElement(p,{className:m},b)))}}],o&&Jl(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const oc=tc,rc=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}}; }"}}}}'),nc=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 ac=rc.name,lc=rc.category,cc=rc.attributes,ic={title:(0,re.__)("WL : Image Marker","woolentor"),description:(0,re.__)("Display image marker.","woolentor"),icon:React.createElement(ne.Icon,{icon:nc}),keywords:["woolentor",(0,re.__)("shop idicator","woolentor"),(0,re.__)("image indicator","woolentor"),(0,re.__)("marker","woolentor"),(0,re.__)("image marker","woolentor")],supports:{align:["wide","full"]},attributes:cc,edit:oc,save:function(){return null}};const sc=function(e){var t=e.attributes,o=e.setAttributes,r=t.title,n=t.subTitle,a=t.layout,l=t.featureImage;return React.createElement(Pe.Fragment,null,React.createElement(at,{tabs:["general","styles"]}),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("Content","woolentor"),initialOpen:!0},React.createElement(ne.SelectControl,{label:(0,re.__)("Layout","woolentor"),value:a,options:[{label:(0,re.__)("Layout One","woolentor"),value:"1"},{label:(0,re.__)("Layout Two","woolentor"),value:"2"},{label:(0,re.__)("Layout Three","woolentor"),value:"3"},{label:(0,re.__)("Layout Four","woolentor"),value:"4"},{label:(0,re.__)("Layout Five","woolentor"),value:"5"}],onChange:function(e){return o({layout:e})}}),React.createElement(no,{title:(0,re.__)("Image","woolentor"),ImageData:l,attribute:"featureImage"}),React.createElement(ne.TextControl,{label:(0,re.__)("Title","woolentor"),value:r,onChange:function(e){return o({title:e})}}),React.createElement(ne.TextControl,{label:(0,re.__)("Sub Title","woolentor"),value:n,onChange:function(e){return o({subTitle:e})}}))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Area","woolentor")},React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.areaBorderColor,onChange:function(e){return o({areaBorderColor:e})}})),React.createElement(kt,{label:(0,re.__)("Hover Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.areaHoverBorderColor,onChange:function(e){return o({areaHoverBorderColor:e})}})),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.areaBackgroundColor,onChange:function(e){return o({areaBackgroundColor:e})}}))),React.createElement(_t,{title:(0,re.__)("Title","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}})),React.createElement(_t,{title:(0,re.__)("Sub Title","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.subTitleColor,onChange:function(e){return o({subTitleColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.subTitleSize,fallbackFontSize:t.subTitleSize,onChange:function(e){return o({subTitleSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.subTitleMargin,attributesKey:"subTitleMargin",setAttributes:o}))))};function uc(e){return uc="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},uc(e)}function dc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mc(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 pc(e,t){return pc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},pc(e,t)}function gc(e,t){if(t&&("object"===uc(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 fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},fc(e)}var bc=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&&pc(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=fc(r);if(n){var o=fc(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return gc(this,e)});function l(){return dc(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(Pe.Fragment,null,React.createElement(qe.BlockControls,null,React.createElement(qe.AlignmentToolbar,{value:t.textAlignment,onChange:function(e){return o({textAlignment:e})}})))}}],o&&mc(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const yc=bc;function _c(e){return _c="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},_c(e)}var hc;function Rc(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function wc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ec(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 vc(e,t){return vc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},vc(e,t)}function Oc(e,t){if(t&&("object"===_c(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 Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Pc(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&&vc(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=Pc(r);if(n){var o=Pc(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Oc(this,e)});function l(){return wc(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,c=o.featureImage;""==l&&n({blockUniqId:a});var i,s,u=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=gt()(t,Rc({},"woolentor-blocks ht-feature-wrap ht-feature-style-"+o.layout,o.layout),Rc({},"woolentor-text-align-"+o.textAlignment,o.textAlignment)),m=ea.div(hc||(i=["\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"],s||(s=i.slice(0)),hc=Object.freeze(Object.defineProperties(i,{raw:{value:Object.freeze(s)}}))),o.areaBorderColor&&"border-color:"+o.areaBorderColor,o.areaBackgroundColor&&"background-color:"+o.areaBackgroundColor,o.areaMargin&&"margin:"+u("areaMargin"),o.areaPadding&&"padding:"+u("areaPadding"),o.areaHoverBorderColor&&"border-color:"+o.areaHoverBorderColor,o.titleColor&&"color:"+o.titleColor,o.titleSize&&"font-size:"+o.titleSize,o.titleMargin&&"margin:"+u("titleMargin"),o.subTitleColor&&"color:"+o.subTitleColor,o.subTitleSize&&"font-size:"+o.subTitleSize,o.subTitleMargin&&"margin:"+u("subTitleMargin"));return React.createElement(Pe.Fragment,null,r&&React.createElement(sc,this.props),r&&React.createElement(yc,this.props),React.createElement("div",{className:d},React.createElement(m,{className:"ht-feature-inner"},c.url&&React.createElement("div",{className:"ht-feature-img"},React.createElement("img",{src:c.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&&Ec(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const Bc=Cc,kc=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}}; }"}}}}'),Ac=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 Wc=kc.name,Tc=kc.category,Sc=kc.attributes,xc={title:(0,re.__)("WL : Store Feature","woolentor"),description:(0,re.__)("Display store feature.","woolentor"),icon:React.createElement(ne.Icon,{icon:Ac}),keywords:["woolentor",(0,re.__)("shop feature","woolentor"),(0,re.__)("feature","woolentor"),(0,re.__)("store","woolentor")],example:{attributes:{style:"1"}},attributes:Sc,supports:{align:["wide","full"]},edit:Bc,save:function(){return null}},zc=[{label:(0,re.__)("H1","woolentor"),value:"h1"},{label:(0,re.__)("H2","woolentor"),value:"h2"},{label:(0,re.__)("H3","woolentor"),value:"h3"},{label:(0,re.__)("H4","woolentor"),value:"h4"},{label:(0,re.__)("H5","woolentor"),value:"h5"},{label:(0,re.__)("H6","woolentor"),value:"h6"},{label:(0,re.__)("P","woolentor"),value:"p"},{label:(0,re.__)("div","woolentor"),value:"div"},{label:(0,re.__)("span","woolentor"),value:"span"}],Lc=[{label:(0,re.__)("None","woolentor"),value:""},{label:(0,re.__)("Solid","woolentor"),value:"solid"},{label:(0,re.__)("Double","woolentor"),value:"double"},{label:(0,re.__)("Dotted","woolentor"),value:"dotted"},{label:(0,re.__)("Dashed","woolentor"),value:"dashed"},{label:(0,re.__)("Groove","woolentor"),value:"groove"},{label:(0,re.__)("Inset","woolentor"),value:"inset"},{label:(0,re.__)("Outset","woolentor"),value:"outset"},{label:(0,re.__)("Ridge","woolentor"),value:"ridge"}];function Nc(e){return function(e){if(Array.isArray(e))return Ic(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||jc(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 jc(e,t){if(e){if("string"==typeof e)return Ic(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)?Ic(e,t):void 0}}function Ic(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,re.__)("Recent Products","woolentor"),(0,re.__)("Featured Products","woolentor"),(0,re.__)("Best Selling Products","woolentor"),(0,re.__)("Sale Products","woolentor"),(0,re.__)("Top Rated Products","woolentor"),(0,re.__)("Mixed order Products","woolentor"),(0,re.__)("Descending","woolentor"),(0,re.__)("Ascending","woolentor"),(0,re.__)("None","woolentor"),(0,re.__)("ID","woolentor"),(0,re.__)("Date","woolentor"),(0,re.__)("Name","woolentor"),(0,re.__)("Title","woolentor"),(0,re.__)("Comment count","woolentor"),(0,re.__)("Random","woolentor"),(0,re.__)(React.createElement(ne.Dashicon,{icon:"editor-alignleft"})),(0,re.__)(React.createElement(ne.Dashicon,{icon:"editor-aligncenter"})),(0,re.__)(React.createElement(ne.Dashicon,{icon:"editor-alignright"})),(0,re.__)(React.createElement(ne.Dashicon,{icon:"editor-justify"})),(0,re.__)(React.createElement(ne.Dashicon,{icon:"desktop"})),(0,re.__)(React.createElement(ne.Dashicon,{icon:"laptop"})),(0,re.__)(React.createElement(ne.Dashicon,{icon:"tablet"})),(0,re.__)(React.createElement(ne.Dashicon,{icon:"smartphone"}));const Mc=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)||jc(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,Pe.useState)(!1),2),a=n[0],l=n[1],c=(o.columns,o.noGutter),i=function(e,t,n){var a=Nc(o.brandLogoList);a[n][t]=e,r({brandLogoList:a})};return o.brandLogoList.length>0&&(t=o.brandLogoList.map((function(e,t){var n=a===t?"woolentor_active_repeter":"";return React.createElement(Pe.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(ne.Button,{className:"woolentor__remove-marker",icon:"no-alt",label:(0,re.__)("Delete Brand","woolentor"),onClick:function(){return function(e){var t=Nc(o.brandLogoList);t.splice(e,1),r({brandLogoList:t})}(t)}}))),React.createElement("div",{className:n+" woolentor_repeater-controls"},React.createElement(ne.TextControl,{label:(0,re.__)("Brand Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,re.__)("Brand Title","woolentor"),value:o.brandLogoList[t].title,onChange:function(e){return i(e,"title",t)}}),React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement(no,{title:(0,re.__)("Choose Image","woolentor"),ImageData:o.brandLogoList[t].image,onChange:function(e){return i(e,"image",t)}})),React.createElement(ne.TextControl,{label:(0,re.__)("Brand Link","woolentor"),value:o.brandLogoList[t].link,placeholder:(0,re.__)("https://your-site.com","woolentor"),onChange:function(e){return i(e,"link",t)}}))))}))),React.createElement(Pe.Fragment,null,React.createElement(at,{tabs:["general","styles"]}),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("Brand Logo","woolentor"),initialOpen:!0},t,React.createElement(ne.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=Nc(o.brandLogoList);e.push({title:(0,re.__)("Brand Item #"+(o.brandLogoList.length+1),"woolentor"),image:{id:"",url:""},link:""}),r({brandLogoList:e}),l(o.brandLogoList.length)}.bind(void 0)},(0,re.__)("Add Brand","woolentor"))),React.createElement(_t,{title:(0,re.__)("Brand Option","woolentor")},React.createElement(Ao,{label:"Column",attribute:"columns",responsive:!0,max:10}),React.createElement(ne.ToggleControl,{label:(0,re.__)("No Gutters","woolentor"),checked:c,help:c?(0,re.__)("Enable No Gutters.","woolentor"):(0,re.__)("Toggle to show the Gutters.","woolentor"),onChange:function(){return r({noGutter:!c})}}),!c&&React.createElement(ne.RangeControl,{label:(0,re.__)("Gutter Spacing","woolentor"),value:o.itemSpace,onChange:function(e){return r({itemSpace:e})},min:0,step:1,max:200}))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Brand Item","woolentor")},React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:o.singleItemAreaBorderType,options:Lc,onChange:function(e){return r({singleItemAreaBorderType:e})}}),o.singleItemAreaBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:o.singleItemAreaBorderWidth,attributesKey:"singleItemAreaBorderWidth",setAttributes:r}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:o.singleItemAreaBorderColor,onChange:function(e){return r({singleItemAreaBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:o.singleItemAreaBorderRadius,attributesKey:"singleItemAreaBorderRadius",setAttributes:r}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:o.singleItemAreaMargin,attributesKey:"singleItemAreaMargin",setAttributes:r}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:o.singleItemAreaPadding,attributesKey:"singleItemAreaPadding",setAttributes:r}),React.createElement(Co.InspectorControls,{label:(0,re.__)("Alignment","woolentor"),attribute:"brandAlignment",justified:!0})),React.createElement(_t,{title:(0,re.__)("Brand Image","woolentor")},React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:o.brandImageBorderType,options:Lc,onChange:function(e){return r({brandImageBorderType:e})}}),o.brandImageBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:o.brandImageBorderWidth,attributesKey:"brandImageBorderWidth",setAttributes:r}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:o.brandImageBorderColor,onChange:function(e){return r({brandImageBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:o.brandImageBorderRadius,attributesKey:"brandImageBorderRadius",setAttributes:r}))))};function Hc(e){return Hc="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},Hc(e)}var Fc,Dc;function Gc(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function qc(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Kc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uc(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 Qc(e,t){return Qc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Qc(e,t)}function Vc(e,t){if(t&&("object"===Hc(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 Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Yc(e)}var Zc=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"})),Jc=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&&Qc(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=Yc(r);if(n){var o=Yc(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Vc(this,e)});function l(){return Kc(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=gt()(t,qc({},"woolentor-grid-columns-".concat(o.columns.desktop),o.columns.desktop),qc({},"woolentor-grid-columns-laptop-".concat(o.columns.laptop),o.columns.laptop),qc({},"woolentor-grid-columns-tablet-".concat(o.columns.tablet),o.columns.tablet),qc({},"woolentor-grid-columns-mobile-".concat(o.columns.mobile),o.columns.mobile)),c=ea.div(Fc||(Fc=Gc(["\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;"),i=ea.div(Dc||(Dc=Gc(["\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"])),hr(o.singleItemAreaBorderType,"border-style"),Rr(o.singleItemAreaBorderWidth,"border-width"),hr(o.singleItemAreaBorderColor,"border-color"),Rr(o.singleItemAreaBorderRadius,"border-radius"),Rr(o.singleItemAreaMargin,"margin"),Rr(o.singleItemAreaPadding,"padding"),hr(o.brandAlignment,"text-align"),hr(o.brandImageBorderType,"border-style"),Rr(o.brandImageBorderWidth,"border-width"),hr(o.brandImageBorderColor,"border-color"),Rr(o.brandImageBorderRadius,"border-radius")),s=o.brandLogoList.map((function(e,t){return React.createElement(i,{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"},Zc)))}));return React.createElement(Pe.Fragment,null,r&&React.createElement(Mc,this.props),React.createElement(c,{className:l},React.createElement("div",{className:!0===o.noGutter?"woolentor-grid woolentor-no-gutters":"woolentor-grid"},s)))}}],o&&Uc(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const Xc=Jc,$c=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=$c.name,oi=$c.category,ri=$c.attributes,ni={title:(0,re.__)("WL : Brand Logo","woolentor"),description:(0,re.__)("Display brand logo.","woolentor"),icon:React.createElement(ne.Icon,{icon:ei}),keywords:["woolentor",(0,re.__)("logo","woolentor"),(0,re.__)("brand","woolentor"),(0,re.__)("brand logo","woolentor")],supports:{align:["wide","full"]},attributes:ri,edit:Xc,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 ci(e,t){return ci=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ci(e,t)}function ii(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 si(e){return si=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},si(e)}var ui=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&&ci(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=si(r);if(n){var o=si(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return ii(this,e)});function l(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,e)}return t=l,o=[{key:"componentDidMount",value:function(){}},{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,c=t.order,i=t.displayLimit,s=t.showCount,u=t.sliderOn,d=(t.columns,t.noGutter),m=t.itemSpace;return React.createElement(Pe.Fragment,null,React.createElement(at,{tabs:["general","styles"]}),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("Settings","woolentor"),initialOpen:!0},React.createElement(ne.SelectControl,{label:(0,re.__)("Style","woolentor"),value:r,options:[{label:(0,re.__)("Style One","woolentor"),value:"1"},{label:(0,re.__)("Style Two","woolentor"),value:"2"},{label:(0,re.__)("Style Three","woolentor"),value:"3"},{label:(0,re.__)("Style Four","woolentor"),value:"4"},{label:(0,re.__)("Style Five","woolentor"),value:"5"}],onChange:function(e){return o({style:e})}}),React.createElement(ne.SelectControl,{label:(0,re.__)("Category Display Type","woolentor"),value:n,options:[{label:(0,re.__)("Single Category","woolentor"),value:"singleCat"},{label:(0,re.__)("Multiple Categories","woolentor"),value:"multipleCat"},{label:(0,re.__)("All Categories","woolentor"),value:"allCat"}],onChange:function(e){return o({displayType:e})}}),"singleCat"==n&&React.createElement(Ie,{title:(0,re.__)("Select category","woolentor"),attributesKey:"productCategory",setAttributes:o,selectedTaxonomies:a,type:"single"}),"multipleCat"==n&&React.createElement(Ie,{title:(0,re.__)("Select categories","woolentor"),attributesKey:"productCategories",setAttributes:o,selectedTaxonomies:l,type:"multiple"}),"singleCat"!=n&&React.createElement(ne.SelectControl,{label:(0,re.__)("Order","woolentor"),value:c,options:[{label:(0,re.__)("Ascending","woolentor"),value:"asc"},{label:(0,re.__)("Descending","woolentor"),value:"desc"}],onChange:function(e){return o({order:e})}}),"allCat"==n&&React.createElement(ne.RangeControl,{label:(0,re.__)("Limit","woolentor"),value:i,onChange:function(e){return o({displayLimit:e})},min:1,step:1,max:20}),("1"==r||"4"==r)&&React.createElement(ne.ToggleControl,{label:(0,re.__)("Show Count","woolentor"),checked:s,help:s?(0,re.__)("Enable show Count.","woolentor"):(0,re.__)("Toggle to show the count.","woolentor"),onChange:function(){return o({showCount:!s})}}),React.createElement(ur,{label:(0,re.__)("Image Size","woolentor"),attribute:"imageSize"}),React.createElement(ne.ToggleControl,{label:(0,re.__)("Slider On","woolentor"),checked:u,help:u?(0,re.__)("Enable slider.","woolentor"):(0,re.__)("Toggle to show the slider.","woolentor"),onChange:function(){return o({sliderOn:!u})}})),1==u&&React.createElement(_t,{title:(0,re.__)("Slider Options","woolentor")},React.createElement(ne.RangeControl,{label:(0,re.__)("Slider Items","woolentor"),value:t.slitems,onChange:function(e){return o({slitems:e})},min:1,step:1,max:10}),React.createElement(ne.ToggleControl,{label:(0,re.__)("Slider Arrow","woolentor"),checked:t.slarrows,help:t.slarrows?(0,re.__)("Enable slider arrow.","woolentor"):(0,re.__)("Toggle to show the slider arrow.","woolentor"),onChange:function(){return o({slarrows:!t.slarrows})}}),React.createElement(ne.ToggleControl,{label:(0,re.__)("Slider dots","woolentor"),checked:t.sldots,help:t.sldots?(0,re.__)("Enable slider pagination.","woolentor"):(0,re.__)("Toggle to show the slider pagination.","woolentor"),onChange:function(){return o({sldots:!t.sldots})}}),React.createElement(ne.ToggleControl,{label:(0,re.__)("Pause on Hover?","woolentor"),checked:t.slpauseOnHover,help:t.slpauseOnHover?(0,re.__)("Enable slider pagination.","woolentor"):(0,re.__)("Toggle to show the slider pagination.","woolentor"),onChange:function(){return o({slpauseOnHover:!t.slpauseOnHover})}}),React.createElement(ne.ToggleControl,{label:(0,re.__)("Is RTL","woolentor"),checked:t.slIsrtl,help:t.slIsrtl?(0,re.__)("Enable RTL.","woolentor"):(0,re.__)("Toggle to show the RTL direction.","woolentor"),onChange:function(){return o({slIsrtl:!t.slIsrtl})}}),React.createElement(ne.ToggleControl,{label:(0,re.__)("Slider auto play","woolentor"),checked:t.slautolay,help:t.slautolay?(0,re.__)("Enable slider auto play.","woolentor"):(0,re.__)("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(ne.RangeControl,{label:(0,re.__)("Autoplay speed","woolentor"),value:t.slautoplaySpeed,onChange:function(e){return o({slautoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(ne.RangeControl,{label:(0,re.__)("Autoplay animation speed","woolentor"),value:t.slanimationSpeed,onChange:function(e){return o({slanimationSpeed:e})},min:1,step:1,max:1e5})),React.createElement(ne.RangeControl,{label:(0,re.__)("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,re.__)("Tablet Screen options","woolentor")),React.createElement(ne.RangeControl,{label:(0,re.__)("Slider Items","woolentor"),value:t.sltabletDisplayColumns,onChange:function(e){return o({sltabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(ne.RangeControl,{label:(0,re.__)("Slider item to scroll","woolentor"),value:t.sltabletScrollColumns,onChange:function(e){return o({sltabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(ne.RangeControl,{label:(0,re.__)("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,re.__)("Mobile Phone Screen options","woolentor")),React.createElement(ne.RangeControl,{label:(0,re.__)("Slider Items","woolentor"),value:t.slMobileDisplayColumns,onChange:function(e){return o({slMobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(ne.RangeControl,{label:(0,re.__)("Slider item to scroll","woolentor"),value:t.slMobileScrollColumns,onChange:function(e){return o({slMobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(ne.RangeControl,{label:(0,re.__)("Mobile Screen Resolution","woolentor"),value:t.slMobileWidth,onChange:function(e){return o({slMobileWidth:e})},min:1,step:1,max:1500})),0==u&&React.createElement(_t,{title:(0,re.__)("Columns","woolentor")},React.createElement(Ao,{label:"Column",attribute:"columns",responsive:!0,max:10}),React.createElement(ne.ToggleControl,{label:(0,re.__)("No Gutters","woolentor"),checked:d,help:d?(0,re.__)("Enable No Gutters.","woolentor"):(0,re.__)("Toggle to show the Gutters.","woolentor"),onChange:function(){return o({noGutter:!d})}}),!d&&React.createElement(ne.RangeControl,{label:(0,re.__)("Gutter Spacing","woolentor"),value:m,onChange:function(e){return o({itemSpace:e})},min:0,step:1,max:200}))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Area","woolentor"),initialOpen:!0},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.areaBackgroundColor,onChange:function(e){return o({areaBackgroundColor:e})}}))),React.createElement(_t,{title:(0,re.__)("Image","woolentor")},React.createElement(kt,{label:(0,re.__)("Box Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.imageBoxColor,onChange:function(e){return o({imageBoxColor:e})}})),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Title","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(kt,{label:(0,re.__)("Hover Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}})),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Count","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.countColor,onChange:function(e){return o({countColor:e})}})),React.createElement(kt,{label:(0,re.__)("Before Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.countBeforeColor,onChange:function(e){return o({countBeforeColor:e})}})))))}}],o&&li(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const di=ui;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,gi;function fi(){return fi=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},fi.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 hi(e,t){return hi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},hi(e,t)}function Ri(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&&hi(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 Ri(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,lr.addQueryArgs)("/woolentor/v1/category",t);ar()({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,c=t.style;""==l&&n({blockUniqId:a});var i=this.state.categoryData,s=0;function u(e){var t=e.className,o=e.onClick;return React.createElement(ne.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(ne.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(u,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}}]},g=gt()(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)),f=gt()(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=gt()("woolentor-grid-column"),y=ea.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&&hr(t.itemSpace,"column-gap","px"),!t.noGutter&&hr(t.itemSpace,"row-gap","px")),_=ea.div(gi||(gi=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"])),hr(t.areaBackgroundColor,"background-color"),Rr(t.areaPadding,"padding"),Rr(t.imageMargin,"margin"),Rr(t.imageBorderRadius,"border-radius"),hr(t.imageBoxColor,"border-color"),hr(t.titleColor,"color"),Rr(t.titleMargin,"margin"),hr(t.titleHoverColor,"color"),hr(t.countColor,"color"),hr(t.countBeforeColor,"background-color"));return i.length>0&&(m=i.map((function(e,o){return 4===s&&(s=0),s++,React.createElement(React.Fragment,null,React.createElement(_,{className:b},"1"===c&&React.createElement("div",{className:"ht-category-wrap"},e.image&&React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(ne.Disabled,null,React.createElement("a",{className:"ht-category-border",href:e.link},(0,Pe.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image[t.imageSize].html}})))),React.createElement("div",{className:"ht-category-content"},React.createElement("h3",null,React.createElement(ne.Disabled,null,React.createElement("a",{href:e.link},e.name))),1==t.showCount&&React.createElement("span",null,e.count))),"2"===c&&React.createElement("div",{className:"ht-category-wrap-2"},React.createElement("div",{className:"ht-category-content-2"},React.createElement("h3",null,React.createElement(ne.Disabled,null,React.createElement("a",{href:e.link},e.name)))),e.image&&React.createElement("div",{className:"ht-category-image-2"},React.createElement(ne.Disabled,null,React.createElement("a",{href:e.link},(0,Pe.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}}))))),"3"===c&&React.createElement("div",{className:"ht-category-wrap"},e.image?React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(ne.Disabled,null,React.createElement("a",{className:"ht-category-border-2",href:e.link},(0,Pe.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}})))):React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(ne.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"+s},React.createElement("h3",null,React.createElement(ne.Disabled,null,React.createElement("a",{href:e.link},e.name))))),"4"===c&&React.createElement("div",{className:"ht-category-wrap"},e.image&&React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(ne.Disabled,null,React.createElement("a",{href:e.link},(0,Pe.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}})))),React.createElement("div",{className:"ht-category-content-4"},React.createElement("h3",null,React.createElement(ne.Disabled,null,React.createElement("a",{href:e.link},e.name)),1==t.showCount&&React.createElement("span",null,e.count)))),"5"===c&&React.createElement("div",{className:"ht-category-wrap"},e.image&&React.createElement("div",{className:"ht-category-image-3 ht-category-image-zoom"},React.createElement(ne.Disabled,null,React.createElement("a",{href:e.link},(0,Pe.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}})))),React.createElement("div",{className:"ht-category-content-5"},React.createElement("h3",null,React.createElement(ne.Disabled,null,React.createElement("a",{href:e.link},e.name)))))))}))),React.createElement(Pe.Fragment,null,r&&React.createElement(di,this.props),React.createElement(y,{className:g},React.createElement("div",{className:f},0==i.length?React.createElement(ne.Spinner,null):1==t.sliderOn?React.createElement(vr.Z,fi({},p,{className:"product-slider"}),m):m)))}}],o&&_i(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.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,re.__)("WL : Category Grid","woolentor"),description:(0,re.__)("Display product category grid.","woolentor"),icon:React.createElement(ne.Icon,{icon:Pi}),keywords:["woolentor",(0,re.__)("shop category","woolentor"),(0,re.__)("category grid","woolentor"),(0,re.__)("product category","woolentor"),(0,re.__)("woocommerce","woolentor")],supports:{align:["wide","full"]},attributes:ki,edit:vi,save:function(){return null}};function Wi(e){return Wi="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},Wi(e)}function Ti(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"===Wi(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=Ti(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(Pe.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(ne.Button,{className:"woolentor__remove-marker",icon:"no-alt",onClick:function(){return function(e){var t=Ti(r.faqList);t.splice(e,1),n({faqList:t})}(o)}}))),React.createElement("div",{className:a+" woolentor_repeater-controls"},React.createElement(ne.TextControl,{label:(0,re.__)("Faq Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,re.__)("Marker Title","woolentor"),value:r.faqList[o].title,onChange:function(e){return l(e,"title",o)}}),React.createElement(ne.TextareaControl,{label:(0,re.__)("Faq Content","woolentor"),value:r.faqList[o].content,onChange:function(e){return l(e,"content",o)}}))))}))),React.createElement(Pe.Fragment,null,React.createElement(at,{tabs:["general","styles"]}),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("FAQ","woolentor"),initialOpen:!0},e,React.createElement(ne.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=Ti(r.faqList);e.push({title:(0,re.__)("Faq Item #"+(r.faqList.length+1),"woolentor"),content:"",horizontal:"",verticle:""}),n({faqList:e}),t.setState({activeClass:r.faqList.length})}.bind(this)},(0,re.__)("Add FAQ","woolentor"))),React.createElement(_t,{title:(0,re.__)("Settings","woolentor")},React.createElement(ne.ToggleControl,{label:(0,re.__)("Show First Item","woolentor"),checked:a,help:a?(0,re.__)("Enable first item.","woolentor"):(0,re.__)("Toggle to show the first item.","woolentor"),onChange:function(){return n({showFirstItem:!a})}}),React.createElement(ne.SelectControl,{label:(0,re.__)("Icon Position","woolentor"),value:r.iconPosition,options:[{label:(0,re.__)("Left","woolentor"),value:"left"},{label:(0,re.__)("Right","woolentor"),value:"right"}],onChange:function(e){return n({iconPosition:e})}}))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Title","woolentor")},React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:r.titleBorderType,options:[{label:(0,re.__)("None","woolentor"),value:""},{label:(0,re.__)("Solid","woolentor"),value:"solid"},{label:(0,re.__)("Double","woolentor"),value:"double"},{label:(0,re.__)("Dotted","woolentor"),value:"dotted"},{label:(0,re.__)("Dashed","woolentor"),value:"dashed"},{label:(0,re.__)("Groove","woolentor"),value:"groove"}],onChange:function(e){return n({titleBorderType:e})}}),r.titleBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:r.titleBorderWidth,attributesKey:"titleBorderWidth",setAttributes:n}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:r.titleBorderColor,onChange:function(e){return n({titleBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:r.titleBorderRadius,attributesKey:"titleBorderRadius",setAttributes:n}),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:r.headBackgroundColor,onChange:function(e){return n({headBackgroundColor:e})}})),React.createElement(kt,{label:(0,re.__)("Active Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:r.activeHeadBackgroundColor,onChange:function(e){return n({activeHeadBackgroundColor:e})}})),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:r.faqTitleColor,onChange:function(e){return n({faqTitleColor:e})}})),React.createElement(kt,{label:(0,re.__)("Active Title Color","woolentor")},React.createElement(ne.ColorPalette,{value:r.activeFaqTitleColor,onChange:function(e){return n({activeFaqTitleColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:r.titleSize,fallbackFontSize:r.titleSize,onChange:function(e){return n({titleSize:e})}}),React.createElement(kt,{label:(0,re.__)("Icon Color","woolentor")},React.createElement(ne.ColorPalette,{value:r.iconColor,onChange:function(e){return n({iconColor:e})}})),React.createElement(kt,{label:(0,re.__)("Active Icon Color","woolentor")},React.createElement(ne.ColorPalette,{value:r.activeIconColor,onChange:function(e){return n({activeIconColor:e})}}))),React.createElement(_t,{title:(0,re.__)("Content","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:r.contentColor,onChange:function(e){return n({contentColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("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}(Pe.Component);const Ii=ji;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 Hi,Fi;function Di(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Gi(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"===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 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 Gi(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,c=o.blockUniqId;o.bgProperty,l!==c&&a({blockUniqId:l});var i,s,u,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=gt()("htwoolentor-faq","woolentorblock-faq-area-"+c,(i={},s="woolentorfaq-icon-pos-".concat(o.iconPosition),u=o.iconPosition,s in i?Object.defineProperty(i,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[s]=u,i)),p=ea.div(Hi||(Hi=Di(["\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),g=ea.div(Fi||(Fi=Di(["\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),f=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,f):React.createElement(p,{className:"htwoolentor-faq-head"},f,r),React.createElement("div",{className:"htwoolentor-faq-body"},React.createElement(g,{className:"htwoolentor-faq-content"},e.content&&React.createElement("p",null,e.content))))}));return React.createElement(Pe.Fragment,null,n&&React.createElement(Ii,this.props),React.createElement("div",{className:r},React.createElement("div",{className:m,id:"htwoolentor-faq-"+c+Math.random().toString(36).substr(2,9),ref:function(t){return e.el=t}},b.length>0?b:(0,re.__)("FAQ list does not exist.","woolentor")),React.createElement("style",{type:"text/css"},"\n\t\t\t\t\t\t\t.woolentorblock-faq-area-".concat(c," .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(c," .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(c," .is-active .htwoolentor-faq-head-indicator:before,.woolentorblock-faq-area-").concat(c," .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}(Pe.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,es=Zi.attributes,ts={title:(0,re.__)("WL : FAQ","woolentor"),description:(0,re.__)("Display faq.","woolentor"),icon:React.createElement(ne.Icon,{icon:Ji}),keywords:[(0,re.__)("WooLentor","woolentor"),(0,re.__)("faq","woolentor"),(0,re.__)("accordion","woolentor"),(0,re.__)("question","woolentor"),(0,re.__)("answer","woolentor")],supports:{align:["wide","full"]},attributes:es,edit:Yi,save:function(){return null}};function os(e){return os="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},os(e)}function rs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ns(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 as(e,t){return as=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},as(e,t)}function ls(e,t){if(t&&("object"===os(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 is=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&&as(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 ls(this,e)});function l(){return rs(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,c=t.order,i=t.selectedCategories;return React.createElement(Pe.Fragment,null,React.createElement(at,null),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("Layout","woolentor"),initialOpen:!0},React.createElement(ne.SelectControl,{label:(0,re.__)("Layout","woolentor"),value:t.layout,options:[{label:(0,re.__)("Layout One","woolentor"),value:"1"},{label:(0,re.__)("Layout Two","woolentor"),value:"2"},{label:(0,re.__)("Layout Three","woolentor"),value:"3"}],onChange:function(e){return o({layout:e})}}),React.createElement(Ao,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(ne.ToggleControl,{label:(0,re.__)("No Gutters","woolentor"),checked:t.noGutter,help:t.noGutter?(0,re.__)("Enable No Gutters.","woolentor"):(0,re.__)("Toggle to show the Gutters.","woolentor"),onChange:function(){return o({noGutter:!t.noGutter})}}),!t.noGutter&&React.createElement(ne.RangeControl,{label:(0,re.__)("Gutter Spacing","woolentor"),value:t.itemSpace,onChange:function(e){return o({itemSpace:e})},min:0,step:1,max:200}),React.createElement(ne.RangeControl,{label:(0,re.__)("Margin Bottom","woolentor"),value:t.itemMarginBottom,onChange:function(e){return o({itemMarginBottom:e})},min:0,step:1,max:1e3})),React.createElement(_t,{title:(0,re.__)("Query Options","woolentor")},React.createElement(ne.SelectControl,{label:(0,re.__)("Filter By","woolentor"),value:r,options:[{label:(0,re.__)("Recent Products","woolentor"),value:"recent"},{label:(0,re.__)("Featured Products","woolentor"),value:"featured"},{label:(0,re.__)("Best Selling Products","woolentor"),value:"best_selling"},{label:(0,re.__)("Sale Products","woolentor"),value:"sale"},{label:(0,re.__)("Top Rated Products","woolentor"),value:"top_rated"},{label:(0,re.__)("Mixed order Products","woolentor"),value:"mixed_order"}],onChange:function(e){return o({productFilterType:e})}}),React.createElement(ne.RangeControl,{label:(0,re.__)("Number Of Products","woolentor"),value:n,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(ne.ToggleControl,{label:(0,re.__)("Custom Order","woolentor"),checked:a,help:a?(0,re.__)("Enable custom order.","woolentor"):(0,re.__)("Toggle to show the custom order.","woolentor"),onChange:function(){return o({customOrder:!a})}}),React.createElement(Ie,{title:(0,re.__)("Product Categories","woolentor"),attributesKey:"selectedCategories",setAttributes:o,selectedTaxonomies:i,type:"multiple"}),a?React.createElement(React.Fragment,null,React.createElement(ne.SelectControl,{label:(0,re.__)("Order","woolentor"),value:c,options:[{label:(0,re.__)("Descending","woolentor"),value:"DESC"},{label:(0,re.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(ne.SelectControl,{label:(0,re.__)("Orderby","woolentor"),value:l,options:[{label:(0,re.__)("None","woolentor"),value:"none"},{label:(0,re.__)("ID","woolentor"),value:"ID"},{label:(0,re.__)("Date","woolentor"),value:"date"},{label:(0,re.__)("Name","woolentor"),value:"name"},{label:(0,re.__)("Title","woolentor"),value:"title"},{label:(0,re.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,re.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}})):""),React.createElement(_t,{title:(0,re.__)("Content Settings","woolentor")},React.createElement(ne.RangeControl,{label:(0,re.__)("Content Limit","woolentor"),value:t.contentLimit,onChange:function(e){return o({contentLimit:e})},min:1,step:1,max:1e3}),React.createElement(ne.ToggleControl,{label:(0,re.__)("Show Title","woolentor"),checked:t.showTitle,help:t.showTitle?(0,re.__)("Enable Title.","woolentor"):(0,re.__)("Toggle to show the title.","woolentor"),onChange:function(){return o({showTitle:!t.showTitle})}}),React.createElement(ne.ToggleControl,{label:(0,re.__)("Show Price","woolentor"),checked:t.showPrice,help:t.showPrice?(0,re.__)("Enable Price.","woolentor"):(0,re.__)("Toggle to show the price.","woolentor"),onChange:function(){return o({showPrice:!t.showPrice})}}),React.createElement(ne.ToggleControl,{label:(0,re.__)("Show Content","woolentor"),checked:t.showContent,help:t.showContent?(0,re.__)("Enable Content.","woolentor"):(0,re.__)("Toggle to show the content.","woolentor"),onChange:function(){return o({showContent:!t.showContent})}}),React.createElement(ne.ToggleControl,{label:(0,re.__)("Show Rating","woolentor"),checked:t.showRating,help:t.showRating?(0,re.__)("Enable Rating.","woolentor"):(0,re.__)("Toggle to show the rating.","woolentor"),onChange:function(){return o({showRating:!t.showRating})}}))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Item","woolentor")},React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.itemAreaBGColor,onChange:function(e){return o({itemAreaBGColor:e})}}))),React.createElement(_t,{title:(0,re.__)("Title","woolentor")},React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(mt,{name:"title"},React.createElement(bt,{name:"normal"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}}))),React.createElement(bt,{name:"hover"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))))),React.createElement(_t,{title:(0,re.__)("Price","woolentor")},React.createElement(xt,{label:(0,re.__)("Sale Price","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.salePriceColor,onChange:function(e){return o({salePriceColor:e})}})),React.createElement(xt,{label:(0,re.__)("Reguler Price","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.regulerPriceColor,onChange:function(e){return o({regulerPriceColor:e})}}))),React.createElement(_t,{title:(0,re.__)("Content","woolentor")},React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.contentSize,fallbackFontSize:t.contentSize,onChange:function(e){return o({contentSize:e})}}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.cotentColor,onChange:function(e){return o({cotentColor:e})}})),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.contentMargin,attributesKey:"contentMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Rating","woolentor")},React.createElement(kt,{label:(0,re.__)("Empty Rating Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.emptyRatingColor,onChange:function(e){return o({emptyRatingColor:e})}})),React.createElement(kt,{label:(0,re.__)("Rating Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.ratingMargin,attributesKey:"ratingMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Action Button","woolentor")},React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.actionBtnAreaBGColor,onChange:function(e){return o({actionBtnAreaBGColor:e})}})),React.createElement(mt,{name:"button"},React.createElement(bt,{name:"normal"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.actionBtnColor,onChange:function(e){return o({actionBtnColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.actionBtnBGColor,onChange:function(e){return o({actionBtnBGColor:e})}})),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.actionBtnBorderRadius,attributesKey:"actionBtnBorderRadius",setAttributes:o})),React.createElement(bt,{name:"hover"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.actionBtnHoverColor,onChange:function(e){return o({actionBtnHoverColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.actionBtnBgHoverColor,onChange:function(e){return o({actionBtnBgHoverColor:e})}}))))),React.createElement(_t,{title:(0,re.__)("Image","woolentor")},React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}})))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],o&&ns(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const ss=is;function us(e){return us="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},us(e)}var ds,ms;function ps(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function gs(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function fs(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 bs(e,t){return bs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},bs(e,t)}function ys(e,t){if(t&&("object"===us(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 _s(e){return _s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_s(e)}var hs=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&&bs(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=_s(r);if(n){var o=_s(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return ys(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,c=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==c||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,lr.addQueryArgs)("/woolentor/v1/products",t);ar()({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,c=t.areaBGProperty;""==l&&n({blockUniqId:a});var i,s=gt()("woocommerce","woolentor-product-curvy",gs({},"woolentor-grid-columns-".concat(t.columns.desktop),t.columns.desktop),gs({},"woolentor-grid-columns-laptop-".concat(t.columns.laptop),t.columns.laptop),gs({},"woolentor-grid-columns-tablet-".concat(t.columns.tablet),t.columns.tablet),gs({},"woolentor-grid-columns-mobile-".concat(t.columns.mobile),t.columns.mobile)),u=gt()("wl_single-product-item",gs({},"wl_left-item",2==t.layout),gs({},"wl_dark-item",3==t.layout)),d=ea.div(ds||(ds=ps(["\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"])),Rr(t.areaMargin,"margin"),Rr(t.areaPadding,"padding"),wr(c),!t.noGutter&&hr(t.itemSpace,"column-gap","px"),hr(t.itemMarginBottom,"row-gap","px")),m=ea.div(ms||(ms=ps(["\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"])),hr(t.itemAreaBGColor,"background-color"),hr(t.itemAreaBGColor,"background-color"),hr(t.titleSize,"font-size","!important"),Rr(t.titleMargin,"margin","!important"),hr(t.titleColor,"color","!important"),hr(t.titleHoverColor,"color","!important"),hr(t.salePriceColor,"color","!important"),hr(t.regulerPriceColor,"color","!important"),hr(t.cotentColor,"color"),hr(t.contentSize,"font-size"),Rr(t.contentMargin,"margin"),hr(t.emptyRatingColor,"color"),hr(t.emptyRatingColor,"color"),hr(t.ratingColor,"color"),Rr(t.ratingMargin,"margin"),hr(t.actionBtnAreaBGColor,"background-color","!important"),hr(t.actionBtnColor,"color","!important"),hr(t.actionBtnBGColor,"background-color","!important"),Rr(t.actionBtnBorderRadius,"border-radius","!important"),hr(t.actionBtnHoverColor,"color","!important"),hr(t.actionBtnBgHoverColor,"background-color","!important"),hr(t.imageBorderColor,"border-color","!important")),p=this.state.productData;return p.length>0&&(i=p.map((function(e,o){return React.createElement("div",{className:"woolentor-grid-column"},React.createElement(m,{className:u},React.createElement(ne.Disabled,null,React.createElement("a",{href:e.permalink,className:"product-thumbnail"},(0,Pe.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,Pe.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,Pe.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,Pe.createElement)("li",{dangerouslySetInnerHTML:{__html:e.wishlist.html}}),e.compare.status&&(0,Pe.createElement)("li",{dangerouslySetInnerHTML:{__html:e.compare.html2}})))))}))),React.createElement(Pe.Fragment,null,r&&React.createElement(ss,this.props),React.createElement(d,{className:o},React.createElement("div",{className:s},0==p.length?React.createElement(ne.Spinner,null):React.createElement("div",{className:!0===t.noGutter?"woolentor-grid woolentor-no-gutters":"woolentor-grid"},i))))}}],o&&fs(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const Rs=hs,ws=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; }"}}}}'),Es=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 vs=ws.name,Os=ws.category,Ps=ws.attributes,Cs={title:(0,re.__)("WL : Product Curvy","woolentor"),description:(0,re.__)("Product Curvy.","woolentor"),icon:React.createElement(ne.Icon,{icon:Es}),keywords:[(0,re.__)("WooLentor","woolentor"),(0,re.__)("product","woolentor"),(0,re.__)("curvy","woolentor"),(0,re.__)("woocommerce","woolentor"),(0,re.__)("display product","woolentor")],supports:{align:["wide","full"]},attributes:Ps,edit:Rs,save:function(){return null}};const Bs=function(e){var t=e.attributes,o=e.setAttributes,r=t.titleTag;return React.createElement(Pe.Fragment,null,React.createElement(at,null),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("Settings","woolentor"),initialOpen:!0},React.createElement(ne.SelectControl,{label:(0,re.__)("Title Tag","woolentor"),value:r,options:zc,onChange:function(e){return o({titleTag:e})}}),React.createElement("hr",null),React.createElement(kt,{label:(0,re.__)("Show Title","woolentor")},React.createElement(ne.ToggleControl,{checked:t.showTitle,onChange:function(){return o({showTitle:!t.showTitle})}})),React.createElement(kt,{label:(0,re.__)("Show Description","woolentor")},React.createElement(ne.ToggleControl,{checked:t.showDescription,onChange:function(){return o({showDescription:!t.showDescription})}})),React.createElement(kt,{label:(0,re.__)("Show Image","woolentor")},React.createElement(ne.ToggleControl,{checked:t.showImage,onChange:function(){return o({showImage:!t.showImage})}})))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Style","woolentor"),initialOpen:!0},React.createElement(Co.InspectorControls,{label:(0,re.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}),React.createElement(xt,{label:(0,re.__)("Title","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(xt,{label:(0,re.__)("Description","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.descColor,onChange:function(e){return o({descColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.descSize,fallbackFontSize:t.descSize,onChange:function(e){return o({descSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.descMargin,attributesKey:"descMargin",setAttributes:o}))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function ks(e){return ks="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},ks(e)}var As,Ws,Ts,Ss;function xs(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function zs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ls(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 Ns(e,t){return Ns=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ns(e,t)}function js(e,t){if(t&&("object"===ks(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 Is(e){return Is=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Is(e)}var Ms=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&&Ns(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=Is(r);if(n){var o=Is(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return js(this,e)});function l(){return zs(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,c=t.areaBGProperty;""==l&&n({blockUniqId:a});var i,s,u,d=gt()((u=o,(s=o)in(i={})?Object.defineProperty(i,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[s]=u,i),"woolentor-archive-data-area"),m=ea.div(As||(As=xs(["\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"])),t.areaPadding&&Rr(t.areaPadding,"padding"),wr(c),hr(t.contentAlignment,"text-align")),p=ea.div(Ws||(Ws=xs(["\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"])),hr(t.titleColor,"color","!important"),hr(t.titleSize,"font-size","!important"),t.titleMargin&&Rr(t.titleMargin,"margin","!important")),g=ea.div(Ts||(Ts=xs(["\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"])),hr(t.descColor,"color"),hr(t.descSize,"font-size"),t.descMargin&&Rr(t.descMargin,"margin")),f=ea.div(Ss||(Ss=xs(["\n\t\t\t\n\t\t"]))),b={title:(0,re.__)("Archive Title","woolentor"),desc:(0,re.__)("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(Pe.Fragment,null,r&&React.createElement(Bs,this.props),React.createElement(m,{className:d},t.showImage&&React.createElement(f,{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(g,{className:"woolentor-archive-desc"},b.desc)))}}],o&&Ls(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const Hs=Ms,Fs=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; }"}}}}'),Ds=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 Gs=Fs.name,qs=Fs.category,Ks=Fs.attributes,Us={title:(0,re.__)("WL : Archive Title","woolentor"),description:(0,re.__)("Display archive title.","woolentor"),icon:React.createElement(ne.Icon,{icon:Ds}),keywords:["woolentor",(0,re.__)("archive","woolentor"),(0,re.__)("title","woolentor"),(0,re.__)("category title","woolentor")],example:{attributes:{title_tag:"h2"}},attributes:Ks,edit:Hs,save:function(){return null}};const Qs=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t),React.createElement(Pe.Fragment,null,React.createElement(at,null),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("Settings","woolentor"),initialOpen:!0},React.createElement(ne.TextControl,{label:(0,re.__)("Separator","woolentor"),placeholder:(0,re.__)("/","woolentor"),value:t.separator,onChange:function(e){return o({separator:e})}}))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Style","woolentor"),initialOpen:!0},React.createElement(Co.InspectorControls,{label:(0,re.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}),React.createElement(kt,{label:(0,re.__)("Text Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(kt,{label:(0,re.__)("Link Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.linkColor,onChange:function(e){return o({linkColor:e})}})),React.createElement(kt,{label:(0,re.__)("Link Hover Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.linkHoverColor,onChange:function(e){return o({linkHoverColor:e})}})),React.createElement(ne.RangeControl,{label:(0,re.__)("Space","woolentor"),value:t.space,onChange:function(e){return o({space:e})},min:0,step:1,max:500}),React.createElement(xt,{label:(0,re.__)("Separator","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.separateColor,onChange:function(e){return o({separateColor:e})}})),React.createElement(ne.RangeControl,{label:(0,re.__)("Size","woolentor"),value:t.separateSize,onChange:function(e){return o({separateSize:e})},min:0,step:1,max:500}))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Vs(e){return Vs="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},Vs(e)}var Ys;function Zs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Js(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 Xs(e,t){return Xs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Xs(e,t)}function $s(e,t){if(t&&("object"===Vs(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&&Xs(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 $s(this,e)});function l(){return Zs(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,c=t.areaBGProperty;""==l&&n({blockUniqId:a});var i,s,u,d,m,p=gt()((u=o,(s=o)in(i={})?Object.defineProperty(i,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[s]=u,i),"woolentor-breadcrumb"),g=ea.div(Ys||(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)),Ys=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.areaPadding&&Rr(t.areaPadding,"padding"),wr(c),hr(t.contentAlignment,"text-align"),hr(t.textColor,"color"),hr(t.linkColor,"color","!important"),hr(t.linkHoverColor,"color","!important"),t.space,hr(t.separateColor,"color"),hr(t.separateSize,"font-size","px")),f=""!=t.separator?React.createElement("span",{className:"breadcrumb-separator"},t.separator):React.createElement("span",{className:"breadcrumb-separator"}," / ");return React.createElement(Pe.Fragment,null,r&&React.createElement(Qs,this.props),React.createElement(g,{className:p},React.createElement("nav",{className:"woocommerce-breadcrumb"},React.createElement("a",{href:"#"},(0,re.__)("Home","woolentor")),f,React.createElement("a",{href:"#"},(0,re.__)("Shop","woolentor")),f,(0,re.__)("Sample Product","woolentor"))))}}],o&&Js(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.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,cu=ru.attributes,iu={title:(0,re.__)("WL : Breadcrumbs","woolentor"),description:(0,re.__)("Display breadcrumbs.","woolentor"),icon:React.createElement(ne.Icon,{icon:nu}),keywords:["woolentor",(0,re.__)("breadcrumbs","woolentor"),(0,re.__)("navigation","woolentor"),(0,re.__)("breadcrumb","woolentor"),(0,re.__)("breadcrumbs menu","woolentor")],example:{attributes:{separator:"/"}},attributes:cu,edit:ou,save:function(){return null}};function su(e){return function(e){if(Array.isArray(e))return du(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||uu(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 uu(e,t){if(e){if("string"==typeof e)return du(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)?du(e,t):void 0}}function du(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 mu=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)||uu(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,Pe.useState)(!1),2),a=n[0],l=n[1],c=function(e,t,n){var a=su(o.customerReviewList);a[n][t]=e,r({customerReviewList:a})};return o.customerReviewList.length>0&&(t=o.customerReviewList.map((function(e,t){var n=a===t?"woolentor_active_repeter":"";return React.createElement(Pe.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.customerReviewList[t].name),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(ne.Button,{className:"woolentor__remove-marker",icon:"no-alt",label:(0,re.__)("Delete Review","woolentor"),onClick:function(){return function(e){var t=su(o.customerReviewList);t.splice(e,1),r({customerReviewList:t})}(t)}}))),React.createElement("div",{className:n+" woolentor_repeater-controls"},React.createElement(ne.TextControl,{label:(0,re.__)("Name","woolentor"),className:"woolentor__marker-title",placeholder:(0,re.__)("Customer Name","woolentor"),value:o.customerReviewList[t].name,onChange:function(e){return c(e,"name",t)}}),React.createElement(ne.TextControl,{label:(0,re.__)("Designation","woolentor"),value:o.customerReviewList[t].designation,placeholder:(0,re.__)("Designation","woolentor"),onChange:function(e){return c(e,"designation",t)}}),React.createElement(ne.TextControl,{label:(0,re.__)("Rating","woolentor"),value:o.customerReviewList[t].rating,placeholder:(0,re.__)("5","woolentor"),onChange:function(e){return c(e,"rating",t)}}),React.createElement(ne.TextareaControl,{label:(0,re.__)("Message","woolentor"),value:o.customerReviewList[t].message,placeholder:(0,re.__)("Review Message","woolentor"),onChange:function(e){return c(e,"message",t)}}),React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement(no,{title:(0,re.__)("Choose Image","woolentor"),instructions:(0,re.__)("To edit the customer thumbnail image, you need permission to upload media.","woolentor"),ImageData:o.customerReviewList[t].image,onChange:function(e){return c(e,"image",t)}})))))}))),React.createElement(Pe.Fragment,null,React.createElement(at,null),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("Review","woolentor"),initialOpen:!0},React.createElement(ne.SelectControl,{label:(0,re.__)("Style","woolentor"),value:o.reviewStyle,options:[{label:(0,re.__)("Style One","woolentor"),value:"1"},{label:(0,re.__)("Style Two","woolentor"),value:"2"},{label:(0,re.__)("Style Three","woolentor"),value:"3"},{label:(0,re.__)("Style Four","woolentor"),value:"4"}],onChange:function(e){return r({reviewStyle:e})}}),React.createElement(ne.SelectControl,{label:(0,re.__)("Review Type","woolentor"),value:o.reviewType,options:[{label:(0,re.__)("Custom","woolentor"),value:"custom"},{label:(0,re.__)("All Products","woolentor"),value:"allproduct"},{label:(0,re.__)("Single Product","woolentor"),value:"productwise"},{label:(0,re.__)("Dynamic","woolentor"),value:"dynamic"}],onChange:function(e){return r({reviewType:e})}}),"custom"==o.reviewType&&React.createElement(React.Fragment,null,t,React.createElement(ne.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=su(o.customerReviewList);e.push({name:(0,re.__)("Customer Name #"+(o.customerReviewList.length+1),"woolentor"),designation:"",rating:"",message:"",image:{id:"",url:""}}),r({customerReviewList:e}),l(o.customerReviewList.length)}.bind(void 0)},(0,re.__)("Add Review","woolentor"))),"allproduct"==o.reviewType&&React.createElement(React.Fragment,null,React.createElement(ne.__experimentalNumberControl,{label:(0,re.__)("Number of Review","woolentor"),className:"woolentor-number-control",onChange:function(e){return r({limit:e})},value:o.limit,isShiftStepEnabled:!0,hiftStep:10,min:1}),React.createElement(ne.__experimentalNumberControl,{label:(0,re.__)("Offset","woolentor"),className:"woolentor-number-control",onChange:function(e){return r({offset:e})},value:o.offset,isShiftStepEnabled:!0,hiftStep:10,min:0})),"productwise"==o.reviewType&&React.createElement(ne.TextControl,{label:(0,re.__)("Product ID","woolentor"),placeholder:(0,re.__)("Product ID","woolentor"),value:o.productIds,onChange:function(e){return r({productIds:e})}}),"dynamic"==o.reviewType&&React.createElement(ne.Notice,{status:"success",isDismissible:!1},(0,re.__)('If you select "Dynamic", it will work on the single product page only.',"woolentor")),"custom"==o.reviewType&&React.createElement(ur,{label:(0,re.__)("Image Size","woolentor"),attribute:"imageSize"}),"custom"!=o.reviewType&&React.createElement(ne.ToggleControl,{label:(0,re.__)("Show Image","woolentor"),checked:o.showImage,onChange:function(){return r({showImage:!o.showImage})}})),React.createElement(_t,{title:(0,re.__)("Columns","woolentor")},React.createElement(Ao,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(ne.ToggleControl,{label:(0,re.__)("No Gutters","woolentor"),checked:o.noGutter,onChange:function(){return r({noGutter:!o.noGutter})}}),!o.noGutter&&React.createElement(React.Fragment,null,React.createElement(ne.RangeControl,{label:(0,re.__)("Column Spacing","woolentor"),value:o.columnSpace,onChange:function(e){return r({columnSpace:e})},min:0,step:1,max:200}),React.createElement(ne.RangeControl,{label:(0,re.__)("Row Spacing","woolentor"),value:o.rowSpace,onChange:function(e){return r({rowSpace:e})},min:0,step:1,max:200})))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Area","woolentor"),initialOpen:!0},React.createElement(Co.InspectorControls,{label:(0,re.__)("Alignment","woolentor"),attribute:"contentAlign"}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:o.contentMargin,attributesKey:"contentMargin",setAttributes:r,responsive:!0}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:o.contentPadding,attributesKey:"contentPadding",setAttributes:r,responsive:!0}),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:o.contentBGColor,onChange:function(e){return r({contentBGColor:e})}})),React.createElement(Do,{value:o.contentBorder,onChange:function(e){return r({contentBorder:e})}}),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:o.contentBorderRadius,attributesKey:"contentBorderRadius",setAttributes:r,responsive:!0})),o.showImage&&React.createElement(_t,{title:(0,re.__)("Image","woolentor")},React.createElement(Do,{value:o.imageBorder,onChange:function(e){return r({imageBorder:e})}}),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:o.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:r,responsive:!0})),React.createElement(_t,{title:(0,re.__)("Name","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:o.nameColor,onChange:function(e){return r({nameColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.nameSize,fallbackFontSize:o.nameSize,onChange:function(e){return r({nameSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:o.namePadding,attributesKey:"namePadding",setAttributes:r,responsive:!0}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:o.nameMargin,attributesKey:"nameMargin",setAttributes:r,responsive:!0})),React.createElement(_t,{title:(0,re.__)("Designation","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:o.designationColor,onChange:function(e){return r({designationColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.designationSize,fallbackFontSize:o.designationSize,onChange:function(e){return r({designationSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:o.designationPadding,attributesKey:"designationPadding",setAttributes:r,responsive:!0}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:o.designationMargin,attributesKey:"designationMargin",setAttributes:r,responsive:!0})),React.createElement(_t,{title:(0,re.__)("Message","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:o.messageColor,onChange:function(e){return r({messageColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.messageSize,fallbackFontSize:o.messageSize,onChange:function(e){return r({messageSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:o.messagePadding,attributesKey:"messagePadding",setAttributes:r,responsive:!0}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:o.messageMargin,attributesKey:"messageMargin",setAttributes:r,responsive:!0})),React.createElement(_t,{title:(0,re.__)("Rating","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:o.ratingColor,onChange:function(e){return r({ratingColor:e})}})))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:o.areaPadding,attributesKey:"areaPadding",setAttributes:r,responsive:!0}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:o.areaMargin,attributesKey:"areaMargin",setAttributes:r,responsive:!0})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:r,bgProperty:o.areaBGProperty}))))},pu=function(e){return e.attributes,e.setAttributes,React.createElement(Pe.Fragment,null,React.createElement(qe.BlockControls,null,React.createElement(Co.BlockControls,{label:(0,re.__)("Alignment","woolentor"),attribute:"contentAlign"})))};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)}function fu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bu(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 yu(e,t){return yu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},yu(e,t)}function _u(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 hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},hu(e)}var Ru=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&&yu(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=hu(r);if(n){var o=hu(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return _u(this,e)});function l(){return fu(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=e.name,c=t.blockUniqId,i=t.areaBGProperty;""==c&&n({blockUniqId:a});var s,u,d,m=gt()((d=o,(u=o)in(s={})?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s),"woolentorblock-customer-review-"+c),p=".woolentorblock-customer-review-"+c,g="\n ".concat(p," .woolentor-grid:not(.woolentor-no-gutters,.wlno-gutters) {\n ").concat(!t.noGutter&&hr(t.columnSpace,"column-gap","px"),"\n ").concat(!t.noGutter&&hr(t.rowSpace,"row-gap","px"),"\n }\n ")+"\n ".concat(p," .wl-customer-testimonal {\n ").concat(hr(t.contentAlign,"text-align"),"\n ").concat(t.contentPadding?Rr(t.contentPadding.desktop,"padding"):"","\n ").concat(t.contentMargin?Rr(t.contentMargin.desktop,"margin"):"","\n ").concat(hr(t.contentBGColor,"background-color"),"\n ").concat(Er(t.contentBorder),"\n ").concat(t.contentBorderRadius?Rr(t.contentBorderRadius.desktop,"border-radius"):"","\n }\n\n ").concat(p," .wl-customer-testimonal img {\n ").concat(Er(t.imageBorder),"\n ").concat(t.imageBorderRadius?Rr(t.imageBorderRadius.desktop,"border-radius"):"","\n }\n\n ").concat(p," .wl-customer-testimonal .clint-info h4 {\n ").concat(hr(t.nameColor,"color","!important"),"\n ").concat(hr(t.nameSize,"font-size","!important"),"\n ").concat(t.namePadding?Rr(t.namePadding.desktop,"padding","!important"):"","\n ").concat(t.nameMargin?Rr(t.nameMargin.desktop,"margin","!important"):"","\n }\n ").concat(p," .wlb-review-style-2 .wl-customer-testimonal .clint-info h4:before {\n ").concat(hr(t.nameColor,"background-color","!important"),"\n }\n\n ").concat(p," .wl-customer-testimonal .clint-info span {\n ").concat(hr(t.designationColor,"color","!important"),"\n ").concat(hr(t.designationSize,"font-size","!important"),"\n ").concat(t.designationPadding?Rr(t.designationPadding.desktop,"padding","!important"):"","\n ").concat(t.designationMargin?Rr(t.designationMargin.desktop,"margin","!important"):"","\n }\n ").concat(p," .wl-customer-testimonal p {\n ").concat(hr(t.messageColor,"color","!important"),"\n ").concat(hr(t.messageSize,"font-size","!important"),"\n ").concat(t.messagePadding?Rr(t.messagePadding.desktop,"padding","!important"):"","\n ").concat(t.messageMargin?Rr(t.messageMargin.desktop,"margin","!important"):"","\n }\n ").concat(p," .wl-customer-testimonal .clint-info .rating {\n ").concat(hr(t.ratingColor,"color","!important"),"\n }\n ");return React.createElement(Pe.Fragment,null,r&&React.createElement(mu,this.props),r&&React.createElement(pu,this.props),React.createElement("div",{className:m},React.createElement(ne.Disabled,null,React.createElement(wa(),{block:l,attributes:{blockUniqId:c,reviewStyle:t.reviewStyle,reviewType:t.reviewType,limit:""!==(null==t?void 0:t.limit)?t.limit:10,offset:""!==(null==t?void 0:t.offset)?t.offset:0,productIds:t.productIds,columns:t.columns,noGutter:t.noGutter,imageSize:t.imageSize,showImage:t.showImage,customerReviewList:t.customerReviewList},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"}))),React.createElement("style",{type:"text/css"},"\n .woolentorblock-customer-review-".concat(c,"{\n ").concat(t.areaPadding&&Rr(t.areaPadding.desktop,"padding"),"\n ").concat(t.areaMargin&&Rr(t.areaMargin.desktop,"margin"),"\n ").concat(wr(i),"\n }\n ").concat(g,"\n ")))}}],o&&bu(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const wu=Ru,Eu=JSON.parse('{"name":"woolentor/customer-review","category":"woolentor-blocks","title":"WL: Customer Review","description":"Display Product Customer Review.","keywords":["woolentor","product","review","woocommerce","customer","customer review"],"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}}"}},"reviewStyle":{"type":"string","default":"1"},"reviewType":{"type":"string","default":"custom"},"customerReviewList":{"type":"array","default":[{"name":"Carolina Monntoya","designation":"Managing Director","rating":"5","message":"Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","image":{"id":"","url":""}},{"name":"Peter Rose","designation":"Manager","rating":"5","message":"Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","image":{"id":"","url":""}},{"name":"Gerald Gilbert","designation":"Developer","rating":"5","message":"Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","image":{"id":"","url":""}}]},"limit":{"type":"number"},"offset":{"type":"number"},"productIds":{"type":"string"},"imageSize":{"type":"string","default":"full"},"showImage":{"type":"boolean","default":true},"columns":{"type":"object","default":{"desktop":3}},"noGutter":{"type":"boolean","default":false},"columnSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{columnSpace}}px; }"}},"rowSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { row-gap: {{rowSpace}}px; }"}},"contentAlign":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal { text-align: {{contentAlign}}; }"}},"contentPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal { padding: {{contentPadding}}; }"}},"contentMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal { margin: {{contentMargin}}; }"}},"contentBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal { background-color: {{contentBGColor}}; }"}},"contentBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal"}},"contentBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal { border-radius: {{contentBorderRadius}}; }"}},"imageBorder":{"type":"object","style":{"dependency":[[{"key":"showImage","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal img"}},"imageBorderRadius":{"type":"object","style":{"dependency":[[{"key":"showImage","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal img { border-radius: {{imageBorderRadius}} !important; }"}},"nameColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info h4 { color: {{nameColor}}!important; }{{WOOLENTOR_WRAPPER}} .wlb-review-style-2 .wl-customer-testimonal .clint-info h4:before{ background-color: {{nameColor}}!important; }"}},"nameSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info h4 { font-size: {{nameSize}}!important; }"}},"namePadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info h4 { padding: {{namePadding}}!important; }"}},"nameMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info h4 { margin: {{nameMargin}}!important; }"}},"designationColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info span { color: {{designationColor}}!important; }"}},"designationSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info span { font-size: {{designationSize}}!important; }"}},"designationPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info span { padding: {{designationPadding}}!important; }"}},"designationMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info span { margin: {{designationMargin}}!important; }"}},"messageColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal p { color: {{messageColor}}!important; }"}},"messageSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal p { font-size: {{messageSize}}!important; }"}},"messagePadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal p { padding: {{messagePadding}}!important; }"}},"messageMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal p { margin: {{messageMargin}}!important; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info .rating { color: {{ratingColor}}!important; }"}}}}'),vu=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","fill-rule":"evenodd",d:"M3 3v8h8V3H3zm6 6H5V5h4v4zm-6 4v8h8v-8H3zm6 6H5v-4h4v4zm4-16v8h8V3h-8zm6 6h-4V5h4v4zm-6 4v8h8v-8h-8zm6 6h-4v-4h4v4z"}));var Ou=Eu.name,Pu=Eu.title,Cu=Eu.description,Bu=Eu.category,ku=Eu.attributes,Au=Eu.keywords,Wu=Eu.supports,Tu={title:(0,re.__)(Pu,"woolentor"),description:(0,re.__)(Cu,"woolentor"),icon:React.createElement(ne.Icon,{icon:vu}),keywords:Au,supports:Wu,attributes:ku,edit:wu,save:function(){return null}};const Su=function(e){var t=e.attributes,o=e.setAttributes,r=t.titleTag;return React.createElement(Pe.Fragment,null,React.createElement(at,null),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("Settings","woolentor"),initialOpen:!0},React.createElement(ne.SelectControl,{label:(0,re.__)("Title Tag","woolentor"),value:r,options:zc,onChange:function(e){return o({titleTag:e})}}))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Title","woolentor"),initialOpen:!0},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("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,re.__)("Alignment","woolentor"),attribute:"titleAlignment",justified:!0}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function xu(e){return xu="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},xu(e)}var zu;function Lu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nu(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 ju(e,t){return ju=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ju(e,t)}function Iu(e,t){if(t&&("object"===xu(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 Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Mu(e)}var Hu=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&&ju(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=Mu(r);if(n){var o=Mu(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Iu(this,e)});function l(){return Lu(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,c=t.areaBGProperty;""==l&&n({blockUniqId:a});var i,s,u,d,m,p=gt()((u=o,(s=o)in(i={})?Object.defineProperty(i,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[s]=u,i),"product"),g=gt()("woolentor-product-title","product_title"),f=ea.div(zu||(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)),zu=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.titleColor&&hr(t.titleColor,"color","!important"),t.titleSize&&hr(t.titleSize,"font-size","!important"),t.titleAlignment&&hr(t.titleAlignment,"text-align","!important"),t.titleMargin&&Rr(t.titleMargin,"margin","!important"),t.areaPadding&&Rr(t.areaPadding.desktop,"padding"),wr(c));return React.createElement(Pe.Fragment,null,r&&React.createElement(Su,this.props),React.createElement("div",{className:p},React.createElement(f,{className:g,as:t.titleTag},woolentorData.sampledata.title)))}}],o&&Nu(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const Fu=Hu,Du=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; }"}}}}'),Gu=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 qu=Du.name,Ku=Du.category,Uu=Du.attributes,Qu={title:(0,re.__)("WL : Product Title","woolentor"),description:(0,re.__)("Display product title.","woolentor"),icon:React.createElement(ne.Icon,{icon:Gu}),keywords:["woolentor",(0,re.__)("product","woolentor"),(0,re.__)("title","woolentor"),(0,re.__)("product title","woolentor")],example:{attributes:{title_tag:"h2"}},attributes:Uu,edit:Fu,save:function(){return null}};const Vu=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(Pe.Fragment,null,React.createElement(at,{tabs:["styles","advanced"]}),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Price","woolentor"),initialOpen:!0},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.priceSize,fallbackFontSize:t.priceSize,onChange:function(e){return o({priceSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.priceMargin,attributesKey:"priceMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Reguler Price","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.oldPriceColor,onChange:function(e){return o({oldPriceColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.oldPriceSize,fallbackFontSize:t.oldPriceSize,onChange:function(e){return o({oldPriceSize:e})}}))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Yu(e){return Yu="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},Yu(e)}var Zu;function Ju(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xu(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 $u(e,t){return $u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$u(e,t)}function ed(e,t){if(t&&("object"===Yu(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 td(e){return td=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},td(e)}var od=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&&$u(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=td(r);if(n){var o=td(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return ed(this,e)});function l(){return Ju(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,c=t.areaBGProperty;""==l&&n({blockUniqId:a});var i,s,u,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},g=gt()((u=o,(s=o)in(i={})?Object.defineProperty(i,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[s]=u,i),"woolentor-product-price","product"),f=ea.div(Zu||(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)),Zu=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.areaPadding&&"padding:"+p("areaPadding"),c.imageUrl&&"background-image:url("+c.imageUrl+")",c.position&&"background-position:"+c.position,c.attachment&&"background-attachment:"+c.attachment,c.repeat&&"background-repeat:"+c.repeat,c.size&&"background-size:"+c.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(Pe.Fragment,null,r&&React.createElement(Vu,this.props),React.createElement(f,{className:g},(0,Pe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.price_html}})))}}],o&&Xu(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const rd=od,nd=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; }"}}}}'),ad=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 ld=nd.name,cd=nd.category,id=nd.attributes,sd={title:(0,re.__)("WL : Product Price","woolentor"),description:(0,re.__)("Display product price.","woolentor"),icon:React.createElement(ne.Icon,{icon:ad}),keywords:["woolentor",(0,re.__)("product","woolentor"),(0,re.__)("price","woolentor"),(0,re.__)("product price","woolentor")],example:{attributes:{priceColor:"#000"}},attributes:id,edit:rd,save:function(){return null}};const ud=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(Pe.Fragment,null,React.createElement(at,{tabs:["styles","advanced"]}),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Button","woolentor"),initialOpen:!0},React.createElement(mt,{name:"button"},React.createElement(bt,{name:"normal"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.buttonPadding,attributesKey:"buttonPadding",setAttributes:o}),React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.buttonBorderType,options:Lc,onChange:function(e){return o({buttonBorderType:e})}}),t.buttonBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.buttonBorderWidth,attributesKey:"buttonBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.buttonBorderColor,onChange:function(e){return o({buttonBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.buttonBorderRadius,attributesKey:"buttonBorderRadius",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.buttonBackgroundColor,onChange:function(e){return o({buttonBackgroundColor:e})}}))),React.createElement(bt,{name:"hover"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.hoverTextColor,onChange:function(e){return o({hoverTextColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.hoverButtonBackgroundColor,onChange:function(e){return o({hoverButtonBackgroundColor:e})}})),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.hoverButtonBorderColor,onChange:function(e){return o({hoverButtonBorderColor:e})}})))))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function dd(e){return dd="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},dd(e)}var md;function pd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gd(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 fd(e,t){return fd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},fd(e,t)}function bd(e,t){if(t&&("object"===dd(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 yd(e){return yd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},yd(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&&fd(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=yd(r);if(n){var o=yd(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return bd(this,e)});function l(){return pd(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,c=t.areaBGProperty;""==l&&n({blockUniqId:a});var i,s,u,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},g=gt()((u=o,(s=o)in(i={})?Object.defineProperty(i,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[s]=u,i),"woocommerce"),f=gt()("woolentor-product-addtocart","product"),b=ea.div(md||(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)),md=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.areaPadding&&"padding:"+p("areaPadding"),t.areaMargin&&"margin:"+p("areaMargin"),c.imageUrl&&"background-image:url("+c.imageUrl+")",c.position&&"background-position:"+c.position,c.attachment&&"background-attachment:"+c.attachment,c.repeat&&"background-repeat:"+c.repeat,c.size&&"background-size:"+c.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(Pe.Fragment,null,r&&React.createElement(ud,this.props),React.createElement("div",{className:g},React.createElement(b,{className:f},React.createElement(ne.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&&gd(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const hd=_d,Rd=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; }"}}}}'),wd=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 Ed=Rd.name,vd=Rd.category,Od=Rd.attributes,Pd={title:(0,re.__)("WL : Add To Cart","woolentor"),description:(0,re.__)("Display product cart button.","woolentor"),icon:React.createElement(ne.Icon,{icon:wd}),keywords:["woolentor",(0,re.__)("product add to cart","woolentor"),(0,re.__)("cart button","woolentor"),(0,re.__)("add to cart","woolentor")],example:{attributes:{textColor:"#fff"}},attributes:Od,edit:hd,save:function(){return null}};const Cd=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(Pe.Fragment,null,React.createElement(at,{tabs:["styles","advanced"]}),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Short Description","woolentor"),initialOpen:!0},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("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,re.__)("Alignment","woolentor"),attribute:"textAlignment",justified:!0}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.textMargin,attributesKey:"textMargin",setAttributes:o}))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Bd(e){return Bd="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},Bd(e)}var kd;function Ad(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wd(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 Td(e,t){return Td=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Td(e,t)}function Sd(e,t){if(t&&("object"===Bd(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 zd=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&&Td(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 Sd(this,e)});function l(){return Ad(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,c=t.areaBGProperty;""==l&&n({blockUniqId:a});var i,s,u,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},g=gt()((u=o,(s=o)in(i={})?Object.defineProperty(i,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[s]=u,i),"woocommerce"),f=gt()("woolentor-product-short-description","product"),b=ea.div(kd||(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)),kd=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.areaPadding&&"padding:"+p("areaPadding"),t.areaMargin&&"margin:"+p("areaMargin"),c.imageUrl&&"background-image:url("+c.imageUrl+")",c.position&&"background-position:"+c.position,c.attachment&&"background-attachment:"+c.attachment,c.repeat&&"background-repeat:"+c.repeat,c.size&&"background-size:"+c.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(Pe.Fragment,null,r&&React.createElement(Cd,this.props),React.createElement("div",{className:g},React.createElement(b,{className:f},(0,Pe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.short_description}}))))}}],o&&Wd(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const Ld=zd,Nd=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}}; }"}}}}'),jd=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 Id=Nd.name,Md=Nd.category,Hd=Nd.attributes,Fd={title:(0,re.__)("WL : Short Description","woolentor"),description:(0,re.__)("Display product short description.","woolentor"),icon:React.createElement(ne.Icon,{icon:jd}),keywords:["woolentor",(0,re.__)("product description","woolentor"),(0,re.__)("short description","woolentor"),(0,re.__)("description","woolentor")],example:{attributes:{textColor:"#000"}},attributes:Hd,edit:Ld,save:function(){return null}};const Dd=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(Pe.Fragment,null,React.createElement(at,{tabs:["styles","advanced"]}),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Short Description","woolentor"),initialOpen:!0},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("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,re.__)("Alignment","woolentor"),attribute:"textAlignment",justified:!0}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.textMargin,attributesKey:"textMargin",setAttributes:o}))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Gd(e){return Gd="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},Gd(e)}var qd;function Kd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ud(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 Qd(e,t){return Qd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Qd(e,t)}function Vd(e,t){if(t&&("object"===Gd(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 Yd(e){return Yd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Yd(e)}var Zd=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&&Qd(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=Yd(r);if(n){var o=Yd(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Vd(this,e)});function l(){return Kd(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,c=t.areaBGProperty;""==l&&n({blockUniqId:a});var i,s,u,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},g=gt()((u=o,(s=o)in(i={})?Object.defineProperty(i,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[s]=u,i),"woocommerce"),f=gt()("woolentor-product-description","product"),b=ea.div(qd||(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)),qd=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.areaPadding&&"padding:"+p("areaPadding"),t.areaMargin&&"margin:"+p("areaMargin"),c.imageUrl&&"background-image:url("+c.imageUrl+")",c.position&&"background-position:"+c.position,c.attachment&&"background-attachment:"+c.attachment,c.repeat&&"background-repeat:"+c.repeat,c.size&&"background-size:"+c.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(Pe.Fragment,null,r&&React.createElement(Dd,this.props),React.createElement("div",{className:g},React.createElement(b,{className:f},(0,Pe.createElement)("div",{className:"woocommerce_product_description",dangerouslySetInnerHTML:{__html:"<p>"+woolentorData.sampledata.description+"</p>"}}))))}}],o&&Ud(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const Jd=Zd,Xd=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}}; }"}}}}'),$d=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 em=Xd.name,tm=Xd.category,om=Xd.attributes,rm={title:(0,re.__)("WL : Description","woolentor"),description:(0,re.__)("Display product description.","woolentor"),icon:React.createElement(ne.Icon,{icon:$d}),keywords:["woolentor",(0,re.__)("description","woolentor"),(0,re.__)("product description","woolentor"),(0,re.__)("description","woolentor")],example:{attributes:{textColor:"#000"}},attributes:om,edit:Jd,save:function(){return null}};const nm=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(Pe.Fragment,null,React.createElement(at,{tabs:["styles","advanced"]}),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Rating","woolentor"),initialOpen:!0},React.createElement(kt,{label:(0,re.__)("Star Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(kt,{label:(0,re.__)("Link Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.linkColor,onChange:function(e){return o({linkColor:e})}})),React.createElement("h3",null,(0,re.__)("Link font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.linkSize,fallbackFontSize:t.linkSize,onChange:function(e){return o({linkSize:e})}}))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function am(e){return am="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},am(e)}var lm;function cm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function im(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 sm(e,t){return sm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},sm(e,t)}function um(e,t){if(t&&("object"===am(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 dm(e){return dm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},dm(e)}var mm=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&&sm(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=dm(r);if(n){var o=dm(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return um(this,e)});function l(){return cm(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,c=t.areaBGProperty;""==l&&n({blockUniqId:a});var i,s,u,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},g=gt()((u=o,(s=o)in(i={})?Object.defineProperty(i,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[s]=u,i),"woocommerce"),f=gt()("woolentor-product-rating","product"),b=ea.div(lm||(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)),lm=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.areaPadding&&"padding:"+p("areaPadding"),t.areaMargin&&"margin:"+p("areaMargin"),c.imageUrl&&"background-image:url("+c.imageUrl+")",c.position&&"background-position:"+c.position,c.attachment&&"background-attachment:"+c.attachment,c.repeat&&"background-repeat:"+c.repeat,c.size&&"background-size:"+c.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(Pe.Fragment,null,r&&React.createElement(nm,this.props),React.createElement("div",{className:g},React.createElement(b,{className:f},(0,Pe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.rating}}))))}}],o&&im(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const pm=mm,gm=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; }"}}}}'),fm=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 bm=gm.name,ym=gm.category,_m=gm.attributes,hm={title:(0,re.__)("WL : Rating","woolentor"),description:(0,re.__)("Display product rating.","woolentor"),icon:React.createElement(ne.Icon,{icon:fm}),keywords:["woolentor",(0,re.__)("rating","woolentor"),(0,re.__)("product review","woolentor"),(0,re.__)("product rating","woolentor")],example:{attributes:{ratingColor:"inherit"}},attributes:_m,edit:pm,save:function(){return null}};const Rm=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(Pe.Fragment,null,React.createElement(at,{tabs:["styles","advanced"]}),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Image","woolentor"),initialOpen:!0},React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.imageBorderType,options:Lc,onChange:function(e){return o({imageBorderType:e})}}),t.imageBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.imageBorderWidth,attributesKey:"imageBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Thumbnails","woolentor")},React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.thumbBorderType,options:Lc,onChange:function(e){return o({thumbBorderType:e})}}),t.thumbBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.thumbBorderWidth,attributesKey:"thumbBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.thumbBorderColor,onChange:function(e){return o({thumbBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.thumbBorderRadius,attributesKey:"thumbBorderRadius",setAttributes:o}),React.createElement(ne.RangeControl,{label:(0,re.__)("Spacing","woolentor"),value:t.thumbSpacing,onChange:function(e){return o({thumbSpacing:e})},min:1,step:1,max:1e3,allowReset:!0}))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function wm(e){return wm="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},wm(e)}var Em;function vm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Om(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 Pm(e,t){return Pm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Pm(e,t)}function Cm(e,t){if(t&&("object"===wm(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 Bm(e){return Bm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Bm(e)}var km=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&&Pm(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=Bm(r);if(n){var o=Bm(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Cm(this,e)});function l(){return vm(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,c=t.areaBGProperty;""==l&&n({blockUniqId:a});var i,s,u,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},g=gt()((u=o,(s=o)in(i={})?Object.defineProperty(i,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[s]=u,i),"woocommerce"),f=gt()("woolentor-product-image"),b=ea.div(Em||(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)),Em=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.areaPadding&&"padding:"+p("areaPadding"),t.areaMargin&&"margin:"+p("areaMargin"),c.imageUrl&&"background-image:url("+c.imageUrl+")",c.position&&"background-position:"+c.position,c.attachment&&"background-attachment:"+c.attachment,c.repeat&&"background-repeat:"+c.repeat,c.size&&"background-size:"+c.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(Pe.Fragment,null,r&&React.createElement(Rm,this.props),React.createElement("div",{className:g},React.createElement(b,{className:f},React.createElement(ne.Disabled,null,(0,Pe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.image}})))))}}],o&&Om(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const Am=km,Wm=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; }"}}}}'),Tm=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 Sm=Wm.name,xm=Wm.category,zm=Wm.attributes,Lm={title:(0,re.__)("WL : Product Image","woolentor"),description:(0,re.__)("Display product image.","woolentor"),icon:React.createElement(ne.Icon,{icon:Tm}),keywords:["woolentor",(0,re.__)("image","woolentor"),(0,re.__)("product image","woolentor")],attributes:zm,edit:Am,save:function(){return null}};const Nm=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(Pe.Fragment,null,React.createElement(at,{tabs:["styles","advanced"]}),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Product Meta","woolentor"),initialOpen:!0},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(kt,{label:(0,re.__)("Link Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.linkColor,onChange:function(e){return o({linkColor:e})}})),React.createElement(kt,{label:(0,re.__)("Link Hover Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.linkHoverColor,onChange:function(e){return o({linkHoverColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.textMargin,attributesKey:"textMargin",setAttributes:o}))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function jm(e){return jm="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},jm(e)}var Im;function Mm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hm(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 Fm(e,t){return Fm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Fm(e,t)}function Dm(e,t){if(t&&("object"===jm(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 Gm(e){return Gm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Gm(e)}var qm=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&&Fm(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=Gm(r);if(n){var o=Gm(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Dm(this,e)});function l(){return Mm(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,c=t.areaBGProperty;""==l&&n({blockUniqId:a});var i,s,u,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},g=gt()((u=o,(s=o)in(i={})?Object.defineProperty(i,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[s]=u,i),"woocommerce"),f=gt()("woolentor-product-meta"),b=ea.div(Im||(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)),Im=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.areaPadding&&"padding:"+p("areaPadding"),t.areaMargin&&"margin:"+p("areaMargin"),c.imageUrl&&"background-image:url("+c.imageUrl+")",c.position&&"background-position:"+c.position,c.attachment&&"background-attachment:"+c.attachment,c.repeat&&"background-repeat:"+c.repeat,c.size&&"background-size:"+c.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(Pe.Fragment,null,r&&React.createElement(Nm,this.props),React.createElement("div",{className:g},React.createElement(b,{className:f},(0,Pe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.meta_info}}))))}}],o&&Hm(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const Km=qm,Um=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}}; }"}}}}'),Qm=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 Vm=Um.name,Ym=Um.category,Zm=Um.attributes,Jm={title:(0,re.__)("WL : Product Meta","woolentor"),description:(0,re.__)("Display product meta info.","woolentor"),icon:React.createElement(ne.Icon,{icon:Qm}),keywords:["woolentor",(0,re.__)("product meta","woolentor"),(0,re.__)("meta info","woolentor"),(0,re.__)("product info","woolentor")],example:{attributes:{textColor:"#000"}},attributes:Zm,edit:Km,save:function(){return null}};const Xm=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(Pe.Fragment,null,React.createElement(at,null),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("Settings","woolentor"),initialOpen:!0},React.createElement(kt,{label:(0,re.__)("Show Heading","woolentor")},React.createElement(ne.ToggleControl,{checked:t.showHeading,onChange:function(){return o({showHeading:!t.showHeading})}})))),React.createElement(ot,null,!0===t.showHeading&&React.createElement(_t,{title:(0,re.__)("Heading","woolentor"),initialOpen:!0},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Content Table","woolentor")},React.createElement(xt,{label:(0,re.__)("Heading","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.tableHeadingColor,onChange:function(e){return o({tableHeadingColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableHeadingSize,fallbackFontSize:t.tableHeadingSize,onChange:function(e){return o({tableHeadingSize:e})}}),React.createElement(xt,{label:(0,re.__)("Content","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.tableContentColor,onChange:function(e){return o({tableContentColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableContentSize,fallbackFontSize:t.tableContentSize,onChange:function(e){return o({tableContentSize:e})}}))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function $m(e){return $m="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},$m(e)}var ep;function tp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function op(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 rp(e,t){return rp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},rp(e,t)}function np(e,t){if(t&&("object"===$m(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 ap(e){return ap=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ap(e)}var lp=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&&rp(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=ap(r);if(n){var o=ap(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return np(this,e)});function l(){return tp(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,c=t.areaBGProperty;""==l&&n({blockUniqId:a});var i,s,u,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},g=gt()((u=o,(s=o)in(i={})?Object.defineProperty(i,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[s]=u,i),"woocommerce"),f=gt()("woolentor-product-additional-info"),b=ea.div(ep||(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)),ep=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.areaPadding&&"padding:"+p("areaPadding")+";",t.areaMargin&&"margin:"+p("areaMargin")+";",c.imageUrl&&"background-image:url("+c.imageUrl+");",c.position&&"background-position:"+c.position+";",c.attachment&&"background-attachment:"+c.attachment+";",c.repeat&&"background-repeat:"+c.repeat+";",c.size&&"background-size:"+c.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(Pe.Fragment,null,r&&React.createElement(Xm,this.props),React.createElement("div",{className:g},React.createElement(b,{className:f},(0,Pe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.additional_info}}))))}}],o&&op(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const cp=lp,ip=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}}; }"}}}}'),sp=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 up=ip.name,dp=ip.category,mp=ip.attributes,pp={title:(0,re.__)("WL : Product Additional Info","woolentor"),description:(0,re.__)("Display product additional information.","woolentor"),icon:React.createElement(ne.Icon,{icon:sp}),keywords:["woolentor",(0,re.__)("additional info","woolentor"),(0,re.__)("information","woolentor"),(0,re.__)("product information","woolentor")],example:{attributes:{showHeading:!0}},attributes:mp,edit:cp,save:function(){return null}};const gp=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(Pe.Fragment,null,React.createElement(at,{tabs:["styles","advanced"]}),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Tab Menu","woolentor"),initialOpen:!0},React.createElement(mt,{name:"menu",tabs:["normal","active"]},React.createElement(bt,{name:"normal"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.tabMenuColor,onChange:function(e){return o({tabMenuColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.tabMenuBGColor,onChange:function(e){return o({tabMenuBGColor:e})}})),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.tabMenuBorderColor,onChange:function(e){return o({tabMenuBorderColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tabMenuSize,fallbackFontSize:t.tabMenuSize,onChange:function(e){return o({tabMenuSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.tabMenuBorderRadius,attributesKey:"tabMenuBorderRadius",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,re.__)("Alignment","woolentor"),attribute:"tabMenuAlignment",justified:!0})),React.createElement(bt,{name:"active"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.tabMenuActiveColor,onChange:function(e){return o({tabMenuActiveColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.tabMenuBGActiveColor,onChange:function(e){return o({tabMenuBGActiveColor:e})}})),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.tabMenuActiveBorderColor,onChange:function(e){return o({tabMenuActiveBorderColor:e})}}))))),React.createElement(_t,{title:(0,re.__)("Content","woolentor")},React.createElement(xt,{label:(0,re.__)("Heading","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.tabContentHeadingColor,onChange:function(e){return o({tabContentHeadingColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tabContentHeadingSize,fallbackFontSize:t.tabContentHeadingSize,onChange:function(e){return o({tabContentHeadingSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.tabContentHeadingMargin,attributesKey:"tabContentHeadingMargin",setAttributes:o}),React.createElement(xt,{label:(0,re.__)("Description","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.tabContentColor,onChange:function(e){return o({tabContentColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tabContentSize,fallbackFontSize:t.tabContentSize,onChange:function(e){return o({tabContentSize:e})}}))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function fp(e){return fp="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},fp(e)}var bp;function yp(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 hp(e,t){return hp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},hp(e,t)}function Rp(e,t){if(t&&("object"===fp(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 Ep(e){return Ep=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ep(e)}var vp=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&&hp(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=Ep(r);if(n){var o=Ep(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Rp(this,e)});function l(){return yp(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,c=t.areaBGProperty;""==l&&n({blockUniqId:a});var i,s,u,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},g=gt()((u=o,(s=o)in(i={})?Object.defineProperty(i,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[s]=u,i),"woocommerce"),f=gt()("woolentor-product-tabs","product"),b=ea.div(bp||(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)),bp=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.areaPadding&&"padding:"+p("areaPadding")+";",t.areaMargin&&"margin:"+p("areaMargin")+";",c.imageUrl&&"background-image:url("+c.imageUrl+");",c.position&&"background-position:"+c.position+";",c.attachment&&"background-attachment:"+c.attachment+";",c.repeat&&"background-repeat:"+c.repeat+";",c.size&&"background-size:"+c.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(Pe.Fragment,null,r&&React.createElement(gp,this.props),React.createElement("div",{className:g},React.createElement(b,{className:f},(0,Pe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.product_tabs}}))))}}],o&&_p(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const Op=vp,Pp=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; }"}}}}'),Cp=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 Bp=Pp.name,kp=Pp.category,Ap=Pp.attributes,Wp={title:(0,re.__)("WL : Product Tabs","woolentor"),description:(0,re.__)("Display product tabs.","woolentor"),icon:React.createElement(ne.Icon,{icon:Cp}),keywords:["woolentor",(0,re.__)("tabs","woolentor"),(0,re.__)("product","woolentor"),(0,re.__)("product tabs","woolentor")],example:{attributes:{tabMenuColor:"#000"}},attributes:Ap,edit:Op,save:function(){return null}};const Tp=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(Pe.Fragment,null,React.createElement(at,{tabs:["styles","advanced"]}),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Text","woolentor"),initialOpen:!0},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};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)}var xp;function zp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lp(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 Np(e,t){return Np=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Np(e,t)}function jp(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 Ip(e){return Ip=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ip(e)}var Mp=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&&Np(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=Ip(r);if(n){var o=Ip(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return jp(this,e)});function l(){return zp(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,c=t.areaBGProperty;""==l&&n({blockUniqId:a});var i,s,u,d,m,p=gt()((u=o,(s=o)in(i={})?Object.defineProperty(i,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[s]=u,i),"product"),g=gt()("woolentor-product-stock-status"),f=ea.div(xp||(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)),xp=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"),c.imageUrl&&"background-image:url("+c.imageUrl+")",c.position&&"background-position:"+c.position,c.attachment&&"background-attachment:"+c.attachment,c.repeat&&"background-repeat:"+c.repeat,c.size&&"background-size:"+c.size);return React.createElement(Pe.Fragment,null,r&&React.createElement(Tp,this.props),React.createElement("div",{className:p},React.createElement(f,{className:g},(0,Pe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.product_stock}}))))}}],o&&Lp(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const Hp=Mp,Fp=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; }"}}}}'),Dp=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 Gp=Fp.name,qp=Fp.category,Kp=Fp.attributes,Up={title:(0,re.__)("WL: Product Stock","woolentor"),description:(0,re.__)("Display product stock.","woolentor"),icon:React.createElement(ne.Icon,{icon:Dp}),keywords:["woolentor",(0,re.__)("product","woolentor"),(0,re.__)("status","woolentor"),(0,re.__)("stock status","woolentor")],example:{attributes:{}},attributes:Kp,edit:Hp,save:function(){return null}};const Qp=function(e){var t=e.attributes,o=e.setAttributes,r=t.addCartUrl,n=t.quantity,a=t.size;return React.createElement(Pe.Fragment,null,React.createElement(at,null),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("QR Code","woolentor"),initialOpen:!0},React.createElement(ne.RangeControl,{label:(0,re.__)("Size","woolentor"),value:a,onChange:function(e){return o({size:e})},min:1,step:1,max:1e3}),React.createElement(kt,{label:(0,re.__)("Enable Add to Cart URL","woolentor")},React.createElement(ne.ToggleControl,{checked:r,onChange:function(){return o({addCartUrl:!r})}})),r&&React.createElement(ne.RangeControl,{label:(0,re.__)("Quantity","woolentor"),value:n,onChange:function(e){return o({quantity:e})},min:1,step:1,max:1e3}))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Style","woolentor"),initialOpen:!0},React.createElement(Co.InspectorControls,{label:(0,re.__)("Alignment","woolentor"),attribute:"codeAlign",justified:!0}))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Vp(e){return Vp="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},Vp(e)}function Yp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zp(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 Jp(e,t){return Jp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Jp(e,t)}function Xp(e,t){if(t&&("object"===Vp(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 $p(e){return $p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},$p(e)}var eg=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&&Jp(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=$p(r);if(n){var o=$p(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Xp(this,e)});function l(){return Yp(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,c=o.blockUniqId,i=o.areaBGProperty;""==c&&a({blockUniqId:l});var s,u,d,m=gt()((d=r,(u=r)in(s={})?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s),"woolentorblock-qrcode-"+c);return React.createElement(Pe.Fragment,null,n&&React.createElement(Qp,this.props),React.createElement("div",{className:m},React.createElement(wa(),{block:t,attributes:{size:o.size}}),React.createElement("style",{type:"text/css"},"\n\t\t\t\t\t\t\t.woolentorblock-qrcode-".concat(c,"{\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(i.imageUrl&&"background-image:url("+i.imageUrl+");","\n\t\t\t\t\t\t\t\t").concat(i.position&&"background-position:"+i.position+";","\n\t\t\t\t\t\t\t\t").concat(i.attachment&&"background-attachment:"+i.attachment+";","\n\t\t\t\t\t\t\t\t").concat(i.repeat&&"background-repeat:"+i.repeat+";","\n\t\t\t\t\t\t\t\t").concat(i.size&&"background-size:"+i.size+";","\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t").concat(o.codeAlign&&".woolentorblock-qrcode-".concat(c," .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&&Zp(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const tg=eg,og=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; }"}}}}'),rg=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 ng=og.name,ag=og.category,lg=og.attributes,cg={title:(0,re.__)("WL: QR Code","woolentor"),description:(0,re.__)("Display product QR Code.","woolentor"),icon:React.createElement(ne.Icon,{icon:rg}),keywords:["woolentor",(0,re.__)("code","woolentor"),(0,re.__)("qrcode","woolentor"),(0,re.__)("qrcode generate","woolentor"),(0,re.__)("product qr code","woolentor"),(0,re.__)("qr code for product","woolentor")],example:{attributes:{}},attributes:lg,edit:tg,save:function(){return null}};function ig(e){return ig="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},ig(e)}function sg(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 dg(e,t){return dg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},dg(e,t)}function mg(e,t){if(t&&("object"===ig(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 pg(e){return pg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},pg(e)}var gg=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&&dg(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=pg(r);if(n){var o=pg(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return mg(this,e)});function l(){return sg(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(Pe.Fragment,null,React.createElement(at,null),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("Related Product","woolentor"),initialOpen:!0},React.createElement(Ao,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(kt,{label:(0,re.__)("Heading","woolentor")},React.createElement(ne.ToggleControl,{checked:l,onChange:function(){return o({hideTitle:!l})}}))),React.createElement(_t,{title:(0,re.__)("Query Options","woolentor")},React.createElement(ne.RangeControl,{label:(0,re.__)("Products Per Page","woolentor"),value:r,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(ne.SelectControl,{label:(0,re.__)("Order","woolentor"),value:n,options:[{label:(0,re.__)("Descending","woolentor"),value:"DESC"},{label:(0,re.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(ne.SelectControl,{label:(0,re.__)("Orderby","woolentor"),value:a,options:[{label:(0,re.__)("None","woolentor"),value:"none"},{label:(0,re.__)("ID","woolentor"),value:"ID"},{label:(0,re.__)("Date","woolentor"),value:"date"},{label:(0,re.__)("Name","woolentor"),value:"name"},{label:(0,re.__)("Title","woolentor"),value:"title"},{label:(0,re.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,re.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}}),React.createElement("hr",null),React.createElement("p",null,(0,re.__)("These options does not effect on editor mode, please check the product details page.","woolentor")))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Heading","woolentor"),initialOpen:!0},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,re.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],o&&ug(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const fg=gg;function bg(e){return bg="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},bg(e)}var yg;function _g(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function hg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rg(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 wg(e,t){return wg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},wg(e,t)}function Eg(e,t){if(t&&("object"===bg(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 vg(e){return vg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},vg(e)}var Og=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&&wg(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=vg(r);if(n){var o=vg(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Eg(this,e)});function l(){return hg(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,c=t.areaBGProperty;""==l&&n({blockUniqId:a});var i,s,u=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=gt()(_g({},o,o),"woocommerce","product"),m=gt()("woolentor-product-related",_g({},"woolentor-products-columns-".concat(t.columns.desktop),t.columns.desktop),_g({},"woolentor-products-columns-laptop-".concat(t.columns.laptop),t.columns.laptop),_g({},"woolentor-products-columns-tablet-".concat(t.columns.tablet),t.columns.tablet),_g({},"woolentor-products-columns-mobile-".concat(t.columns.mobile),t.columns.mobile)),p=ea.div(yg||(i=["\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"],s||(s=i.slice(0)),yg=Object.freeze(Object.defineProperties(i,{raw:{value:Object.freeze(s)}}))),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:"+u("headingMargin")+";",t.areaPadding&&"padding:"+u("areaPadding")+";",c.imageUrl&&"background-image:url("+c.imageUrl+");",c.position&&"background-position:"+c.position+";",c.attachment&&"background-attachment:"+c.attachment+";",c.repeat&&"background-repeat:"+c.repeat+";",c.size&&"background-size:"+c.size+";");return React.createElement(Pe.Fragment,null,r&&React.createElement(fg,this.props),React.createElement("div",{className:d},React.createElement(ne.Disabled,null,React.createElement(p,{className:m},(0,Pe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.product_related}})))))}}],o&&Rg(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const Pg=Og,Cg=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; }"}}}}'),Bg=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 kg=Cg.name,Ag=Cg.category,Wg=Cg.attributes,Tg={title:(0,re.__)("WL: Related Product","woolentor"),description:(0,re.__)("Display related product.","woolentor"),icon:React.createElement(ne.Icon,{icon:Bg}),keywords:["woolentor",(0,re.__)("product","woolentor"),(0,re.__)("related","woolentor"),(0,re.__)("product related","woolentor")],attributes:Wg,edit:Pg,save:function(){return null}};function Sg(e){return Sg="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},Sg(e)}function xg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zg(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 Lg(e,t){return Lg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Lg(e,t)}function Ng(e,t){if(t&&("object"===Sg(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 jg(e){return jg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},jg(e)}var Ig=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&&Lg(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=jg(r);if(n){var o=jg(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Ng(this,e)});function l(){return xg(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(Pe.Fragment,null,React.createElement(at,null),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("Upsell Product","woolentor"),initialOpen:!0},React.createElement(Ao,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(kt,{label:(0,re.__)("Heading","woolentor")},React.createElement(ne.ToggleControl,{checked:l,onChange:function(){return o({hideTitle:!l})}}))),React.createElement(_t,{title:(0,re.__)("Query Options","woolentor")},React.createElement(ne.RangeControl,{label:(0,re.__)("Products Per Page","woolentor"),value:r,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(ne.SelectControl,{label:(0,re.__)("Order","woolentor"),value:n,options:[{label:(0,re.__)("Descending","woolentor"),value:"DESC"},{label:(0,re.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(ne.SelectControl,{label:(0,re.__)("Orderby","woolentor"),value:a,options:[{label:(0,re.__)("None","woolentor"),value:"none"},{label:(0,re.__)("ID","woolentor"),value:"ID"},{label:(0,re.__)("Date","woolentor"),value:"date"},{label:(0,re.__)("Name","woolentor"),value:"name"},{label:(0,re.__)("Title","woolentor"),value:"title"},{label:(0,re.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,re.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}}),React.createElement("hr",null),React.createElement("p",null,(0,re.__)("These options does not effect on editor mode, please check the product details page.","woolentor")))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Heading","woolentor"),initialOpen:!0},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,re.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],o&&zg(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const Mg=Ig;function Hg(e){return Hg="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},Hg(e)}var Fg;function Dg(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Gg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qg(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 Kg(e,t){return Kg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Kg(e,t)}function Ug(e,t){if(t&&("object"===Hg(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 Qg(e){return Qg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Qg(e)}var Vg=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&&Kg(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=Qg(r);if(n){var o=Qg(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Ug(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,e.className),r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,c=t.areaBGProperty;""==l&&n({blockUniqId:a});var i,s,u=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=gt()(Dg({},o,o),"woocommerce","product"),m=gt()("woolentor-product-upsell",Dg({},"woolentor-products-columns-".concat(t.columns.desktop),t.columns.desktop),Dg({},"woolentor-products-columns-laptop-".concat(t.columns.laptop),t.columns.laptop),Dg({},"woolentor-products-columns-tablet-".concat(t.columns.tablet),t.columns.tablet),Dg({},"woolentor-products-columns-mobile-".concat(t.columns.mobile),t.columns.mobile)),p=ea.div(Fg||(i=["\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"],s||(s=i.slice(0)),Fg=Object.freeze(Object.defineProperties(i,{raw:{value:Object.freeze(s)}}))),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:"+u("headingMargin")+";",t.areaPadding&&"padding:"+u("areaPadding")+";",c.imageUrl&&"background-image:url("+c.imageUrl+");",c.position&&"background-position:"+c.position+";",c.attachment&&"background-attachment:"+c.attachment+";",c.repeat&&"background-repeat:"+c.repeat+";",c.size&&"background-size:"+c.size+";");return React.createElement(Pe.Fragment,null,r&&React.createElement(Mg,this.props),React.createElement("div",{className:d},React.createElement(ne.Disabled,null,React.createElement(p,{className:m},(0,Pe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.product_upsell}})))))}}],o&&qg(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const Yg=Vg,Zg=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; }"}}}}'),Jg=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 Xg=Zg.name,$g=Zg.category,ef=Zg.attributes,tf={title:(0,re.__)("WL: Product Upsell","woolentor"),description:(0,re.__)("Display upsell product.","woolentor"),icon:React.createElement(ne.Icon,{icon:Jg}),keywords:["woolentor",(0,re.__)("product","woolentor"),(0,re.__)("upsell","woolentor"),(0,re.__)("product upsell","woolentor")],attributes:ef,edit:Yg,save:function(){return null}};function of(e){return of="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},of(e)}function rf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nf(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 af(e,t){return af=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},af(e,t)}function lf(e,t){if(t&&("object"===of(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 cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},cf(e)}var sf=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&&af(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=cf(r);if(n){var o=cf(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return lf(this,e)});function l(){return rf(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,c=t.order,i=t.orderBy,s=t.itemBorderType,u=t.itemBorderWidth,d=t.itemBorderColor,m=t.itemBorderRadius,p=t.itemPadding,g=t.saleTagShow;return React.createElement(Pe.Fragment,null,React.createElement(at,null),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("Archive Product","woolentor"),initialOpen:!0},React.createElement(Ao,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(ne.RangeControl,{label:(0,re.__)("Rows","woolentor"),value:r,onChange:function(e){return o({rows:e})},min:1,step:1,max:20}),React.createElement(kt,{label:(0,re.__)("Pagination","woolentor")},React.createElement(ne.ToggleControl,{checked:n,onChange:function(){return o({paginate:!n})}})),1==n?React.createElement(React.Fragment,null,React.createElement(kt,{label:(0,re.__)("Allow Order","woolentor")},React.createElement(ne.ToggleControl,{checked:a,onChange:function(){return o({allowOrder:!a})}})),React.createElement(kt,{label:(0,re.__)("Show Result Count","woolentor")},React.createElement(ne.ToggleControl,{checked:l,onChange:function(){return o({showResultCount:!l})}}))):React.createElement(React.Fragment,null,React.createElement(ne.SelectControl,{label:(0,re.__)("Order","woolentor"),value:c,options:[{label:(0,re.__)("Descending","woolentor"),value:"DESC"},{label:(0,re.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(ne.SelectControl,{label:(0,re.__)("Orderby","woolentor"),value:i,options:[{label:(0,re.__)("None","woolentor"),value:"none"},{label:(0,re.__)("ID","woolentor"),value:"ID"},{label:(0,re.__)("Date","woolentor"),value:"date"},{label:(0,re.__)("Name","woolentor"),value:"name"},{label:(0,re.__)("Title","woolentor"),value:"title"},{label:(0,re.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,re.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}})))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Item","woolentor"),initialOpen:!0},React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:s,options:Lc,onChange:function(e){return o({itemBorderType:e})}}),s&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:u,attributesKey:"itemBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:d,onChange:function(e){return o({itemBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:m,attributesKey:"itemBorderRadius",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:p,attributesKey:"itemPadding",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,re.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0})),React.createElement(_t,{title:(0,re.__)("Image","woolentor")},React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.imageBorderType,options:Lc,onChange:function(e){return o({imageBorderType:e})}}),t.imageBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.imageBorderWidth,attributesKey:"imageBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Title","woolentor")},React.createElement(mt,{name:"title"},React.createElement(bt,{name:"normal"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o})),React.createElement(bt,{name:"hover"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))))),React.createElement(_t,{title:(0,re.__)("Price","woolentor")},React.createElement(xt,{label:(0,re.__)("Sale Price","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.salePriceColor,onChange:function(e){return o({salePriceColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.salePriceSize,fallbackFontSize:t.salePriceSize,onChange:function(e){return o({salePriceSize:e})}}),React.createElement(xt,{label:(0,re.__)("Regular Price","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.regularPriceColor,onChange:function(e){return o({regularPriceColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.regularPriceSize,fallbackFontSize:t.regularPriceSize,onChange:function(e){return o({regularPriceSize:e})}})),React.createElement(_t,{title:(0,re.__)("Rating","woolentor")},React.createElement(kt,{label:(0,re.__)("Rating Star Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(kt,{label:(0,re.__)("Empty Rating Star Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.emptyRatingColor,onChange:function(e){return o({emptyRatingColor:e})}})),React.createElement("h3",null,(0,re.__)("Start size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.ratingSize,fallbackFontSize:t.ratingSize,onChange:function(e){return o({ratingSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.ratingMargin,attributesKey:"ratingMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Add To Cart Button","woolentor")},React.createElement(mt,{name:"addtocartbutton"},React.createElement(bt,{name:"normal"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.cartBtnColor,onChange:function(e){return o({cartBtnColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.cartBtnBGColor,onChange:function(e){return o({cartBtnBGColor:e})}})),React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.cartBtnBorderType,options:Lc,onChange:function(e){return o({cartBtnBorderType:e})}}),t.cartBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.cartBtnBorderWidth,attributesKey:"cartBtnBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.cartBtnBorderColor,onChange:function(e){return o({cartBtnBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.cartBtnBorderRadius,attributesKey:"cartBtnBorderRadius",setAttributes:o}),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.cartBtnSize,fallbackFontSize:t.cartBtnSize,onChange:function(e){return o({cartBtnSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.cartBtnPadding,attributesKey:"cartBtnPadding",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.cartBtnMargin,attributesKey:"cartBtnMargin",setAttributes:o})),React.createElement(bt,{name:"hover"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.cartBtnHoverColor,onChange:function(e){return o({cartBtnHoverColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.cartBtnHoverBGColor,onChange:function(e){return o({cartBtnHoverBGColor:e})}})),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.cartBtnHoverBorderColor,onChange:function(e){return o({cartBtnHoverBorderColor:e})}}))))),React.createElement(_t,{title:(0,re.__)("Pagination","woolentor")},React.createElement(xt,{label:(0,re.__)("Normal","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.paginationColor,onChange:function(e){return o({paginationColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.paginationBGColor,onChange:function(e){return o({paginationBGColor:e})}})),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.paginationBorderColor,onChange:function(e){return o({paginationBorderColor:e})}})),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.PaginationPadding,attributesKey:"PaginationPadding",setAttributes:o}),React.createElement(xt,{label:(0,re.__)("Active","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.paginationHoverColor,onChange:function(e){return o({paginationHoverColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.paginationHoverBGColor,onChange:function(e){return o({paginationHoverBGColor:e})}}))),React.createElement(_t,{title:(0,re.__)("Sale Tag","woolentor")},React.createElement(kt,{label:(0,re.__)("Sale Flash","woolentor")},React.createElement(ne.ToggleControl,{checked:g,onChange:function(){return o({saleTagShow:!g})}})),g&&React.createElement(React.Fragment,null,React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.saleTextColor,onChange:function(e){return o({saleTextColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.saleTagBGColor,onChange:function(e){return o({saleTagBGColor:e})}})),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.saleTagPadding,attributesKey:"saleTagPadding",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.saleTagBorderRadius,attributesKey:"saleTagBorderRadius",setAttributes:o}),React.createElement(ne.SelectControl,{label:(0,re.__)("Position","woolentor"),value:t.saleTagPosition,options:[{label:(0,re.__)("Default","woolentor"),value:""},{label:(0,re.__)("Left","woolentor"),value:"left"},{label:(0,re.__)("Right","woolentor"),value:"right"}],onChange:function(e){return o({saleTagPosition:e})}})))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],o&&nf(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const uf=sf;function df(e){return df="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},df(e)}function mf(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 gf(e,t){return gf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},gf(e,t)}function ff(e,t){if(t&&("object"===df(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 bf(e){return bf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},bf(e)}var yf=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&&gf(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=bf(r);if(n){var o=bf(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return ff(this,e)});function l(){return mf(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,c=t.blockUniqId,i=t.areaBGProperty;""==c&&a({blockUniqId:l});var s,u,d,m=gt()((d=r,(u=r)in(s={})?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s),"woocommerce","woolentorblock-shop-archive-"+c),p=".woolentorblock-shop-archive-"+c,g="\n\t\t\t".concat(p," ul.products li.product{\n\t\t\t\t").concat(hr(t.itemBorderType,"border-style"),"\n\t\t\t\t").concat(Rr(t.itemBorderWidth,"border-width"),"\n\t\t\t\t").concat(hr(t.itemBorderColor,"border-color"),"\n\t\t\t\t").concat(Rr(t.itemBorderRadius,"border-radius"),"\n\t\t\t\t").concat(Rr(t.itemPadding,"padding"),"\n\t\t\t\t").concat(hr(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(hr(t.imageBorderType,"border-style"),"\n\t\t\t\t").concat(Rr(t.imageBorderWidth,"border-width"),"\n\t\t\t\t").concat(hr(t.imageBorderColor,"border-color"),"\n\t\t\t\t").concat(Rr(t.imageBorderRadius,"border-radius"),"\n\t\t\t\t").concat(Rr(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(hr(t.titleColor,"color","!important"),"\n\t\t\t\t").concat(hr(t.titleSize,"font-size","!important"),"\n\t\t\t\t").concat(Rr(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(hr(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(hr(t.salePriceColor,"color"),"\n\t\t\t}\n\t\t\t").concat(p," ul.products li.product .price{\n\t\t\t\t").concat(hr(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(hr(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(hr(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(hr(t.ratingColor,"color"),"\n\t\t\t\t").concat(hr(t.ratingSize,"font-size"),"\n\t\t\t\t").concat(Rr(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(hr(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(hr(t.cartBtnColor,"color"),"\n\t\t\t\t").concat(hr(t.cartBtnBGColor,"background-color"),"\n\t\t\t\t").concat(hr(t.cartBtnBorderType,"border-style"),"\n\t\t\t\t").concat(Rr(t.cartBtnBorderWidth,"border-width"),"\n\t\t\t\t").concat(hr(t.cartBtnBorderColor,"border-color"),"\n\t\t\t\t").concat(Rr(t.cartBtnBorderRadius,"border-radius"),"\n\t\t\t\t").concat(hr(t.cartBtnSize,"font-size"),"\n\t\t\t\t").concat(Rr(t.cartBtnPadding,"padding"),"\n\t\t\t\t").concat(Rr(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(hr(t.cartBtnHoverColor,"color"),"\n\t\t\t\t").concat(hr(t.cartBtnHoverBGColor,"background-color"),"\n\t\t\t\t").concat(hr(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(hr(t.paginationColor,"color"),"\n\t\t\t\t").concat(hr(t.paginationBGColor,"background-color"),"\n\t\t\t}\n\t\t\t").concat(p," nav.woocommerce-pagination ul{\n\t\t\t\t").concat(hr(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(hr(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(Rr(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(hr(t.paginationHoverColor,"color"),"\n\t\t\t\t").concat(hr(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(hr(t.saleTextColor,"color"),"\n\t\t\t\t").concat(hr(t.saleTagBGColor,"background-color"),"\n\t\t\t\t").concat(Rr(t.saleTagPadding,"padding"),"\n\t\t\t\t").concat(Rr(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(Pe.Fragment,null,n&&React.createElement(uf,this.props),React.createElement("div",{className:m},React.createElement(ne.Disabled,null,React.createElement(wa(),{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(c,"{\n\t\t\t\t\t\t\t\t").concat(t.areaPadding&&Rr(t.areaPadding,"padding"),"\n\t\t\t\t\t\t\t\t").concat(wr(i),"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t.woolentorblock-shop-archive-").concat(c," .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(g,"\n\n\t\t\t\t\t\t"))))}}],o&&pf(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const _f=yf,hf=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":""}}}'),Rf=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 wf=hf.name,Ef=hf.category,vf=hf.attributes,Of={title:(0,re.__)("WL: Product Archive Layout (Default)","woolentor"),description:(0,re.__)("Display product grid on shop / archive page.","woolentor"),icon:React.createElement(ne.Icon,{icon:Rf}),keywords:["woolentor",(0,re.__)("shop","woolentor"),(0,re.__)("archive","woolentor"),(0,re.__)("product shop","woolentor")],attributes:vf,edit:_f,save:function(){return null}};function Pf(e){return function(e){if(Array.isArray(e))return Bf(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Cf(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 Cf(e,t){if(e){if("string"==typeof e)return Bf(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)?Bf(e,t):void 0}}function Bf(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 kf=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)||Cf(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,Pe.useState)(!1),2),a=n[0],l=n[1],c=function(e,r,n){var a=Pf(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(Pe.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(ne.Button,{className:"woolentor__remove-marker",icon:"no-alt",onClick:function(){return function(e){var r=Pf(t.tableItemList);r.splice(e,1),o({tableItemList:r})}(r)}}))),React.createElement("div",{className:n+" woolentor_repeater-controls"},React.createElement(ne.SelectControl,{label:(0,re.__)("Title Tag","woolentor"),value:t.tableItemList[r].fieldkey,options:[{label:(0,re.__)("Remove","woolentor"),value:"remove"},{label:(0,re.__)("Image","woolentor"),value:"thumbnail"},{label:(0,re.__)("Product Title","woolentor"),value:"name"},{label:(0,re.__)("Price","woolentor"),value:"price"},{label:(0,re.__)("Quantity","woolentor"),value:"quantity"},{label:(0,re.__)("Total","woolentor"),value:"subtotal"},{label:(0,re.__)("Custom","woolentor"),value:"customadd"}],onChange:function(e){return c(e,"fieldkey",r)}}),React.createElement(ne.TextControl,{label:(0,re.__)("Heading Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,re.__)("Remove","woolentor"),value:t.tableItemList[r].heading,onChange:function(e){return c(e,"heading",r)}}),React.createElement(ne.RangeControl,{label:(0,re.__)("Width (PX)","woolentor"),value:t.tableItemList[r].width,allowReset:!0,onChange:function(e){return c(e,"width",r)},min:0,step:1,max:500}))))}))),React.createElement(Pe.Fragment,null,React.createElement(at,null),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("Table Row","woolentor"),initialOpen:!0},r,React.createElement(ne.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=Pf(t.tableItemList);e.push({fieldkey:"remove",heading:(0,re.__)("Cart Item #"+(t.tableItemList.length+1),"woolentor"),width:""}),o({tableItemList:e}),l(t.tableItemList.length)}.bind(void 0)},(0,re.__)("Add Item","woolentor"))),React.createElement(_t,{title:(0,re.__)("Table Action","woolentor")},React.createElement(ne.ToggleControl,{label:(0,re.__)("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(ne.TextControl,{label:(0,re.__)("Update cart button text","woolentor"),value:t.update_cart_button_txt,placeholder:(0,re.__)("Update Cart","woolentor"),onChange:function(e){return o({update_cart_button_txt:e})}}),React.createElement(ne.ToggleControl,{label:(0,re.__)("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(ne.TextControl,{label:(0,re.__)("Continue Shopping","woolentor"),value:t.continue_button_txt,placeholder:(0,re.__)("Continue Shopping","woolentor"),onChange:function(e){return o({continue_button_txt:e})}}),React.createElement(ne.ToggleControl,{label:(0,re.__)("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(ne.TextControl,{label:(0,re.__)("Coupon form button text","woolentor"),value:t.coupon_form_button_txt,placeholder:(0,re.__)("Apply Coupon","woolentor"),onChange:function(e){return o({coupon_form_button_txt:e})}}),React.createElement(ne.TextControl,{label:(0,re.__)("Placeholder text","woolentor"),value:t.coupon_form_pl_txt,placeholder:(0,re.__)("Coupon code","woolentor"),onChange:function(e){return o({coupon_form_pl_txt:e})}}))),React.createElement(_t,{title:(0,re.__)("Extra Options","woolentor")},React.createElement(ne.ToggleControl,{label:(0,re.__)("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(ne.ToggleControl,{label:(0,re.__)("Remove Product link","woolentor"),checked:t.remove_product_link,onChange:function(){return o({remove_product_link:!t.remove_product_link})}}),React.createElement(ne.ToggleControl,{label:(0,re.__)("Show Product Categories","woolentor"),checked:t.show_product_category,onChange:function(){return o({show_product_category:!t.show_product_category})}}),React.createElement(ne.ToggleControl,{label:(0,re.__)("Show Product Stock","woolentor"),checked:t.show_product_stock,onChange:function(){return o({show_product_stock:!t.show_product_stock})}}))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Heading","woolentor"),initialOpen:!0},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.headingBorderType,options:Lc,onChange:function(e){return o({headingBorderType:e})}}),t.headingBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.headingBorderWidth,attributesKey:"headingBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.headingBorderColor,onChange:function(e){return o({headingBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,re.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.headingBackgroundColor,onChange:function(e){return o({headingBackgroundColor:e})}}))),React.createElement(_t,{title:(0,re.__)("Table","woolentor")},React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.tableBorderType,options:Lc,onChange:function(e){return o({tableBorderType:e})}}),t.tableBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.tableBorderWidth,attributesKey:"tableBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.tableBorderColor,onChange:function(e){return o({tableBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.tablePadding,attributesKey:"tablePadding",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Table Cell","woolentor")},React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.tableCellBorderType,options:Lc,onChange:function(e){return o({tableCellBorderType:e})}}),t.tableCellBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.tableCellBorderWidth,attributesKey:"tableCellBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.tableCellBorderColor,onChange:function(e){return o({tableCellBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.tableCellPadding,attributesKey:"tableCellPadding",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,re.__)("Alignment","woolentor"),attribute:"tableCellAlignment",justified:!0}),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.tableCellBackgroundColor,onChange:function(e){return o({tableCellBackgroundColor:e})}}))),React.createElement(_t,{title:(0,re.__)("Remove Icon","woolentor")},React.createElement(mt,{name:"removeicon"},React.createElement(bt,{name:"normal"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.removeIconColor,onChange:function(e){return o({removeIconColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.removeIconBackgroundColor,onChange:function(e){return o({removeIconBackgroundColor:e})}})),React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.removeIconBorderType,options:Lc,onChange:function(e){return o({removeIconBorderType:e})}}),t.removeIconBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.removeIconBorderWidth,attributesKey:"removeIconBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.removeIconBorderColor,onChange:function(e){return o({removeIconBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.removeIconBorderRadius,attributesKey:"removeIconBorderRadius",setAttributes:o})),React.createElement(bt,{name:"hover"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.removeHoverIconColor,onChange:function(e){return o({removeHoverIconColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.removeIconHoverBackgroundColor,onChange:function(e){return o({removeIconHoverBackgroundColor:e})}})),React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.removeIconHoverBorderType,options:Lc,onChange:function(e){return o({removeIconHoverBorderType:e})}}),t.removeIconHoverBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.removeIconHoverBorderWidth,attributesKey:"removeIconHoverBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.removeIconHoverBorderColor,onChange:function(e){return o({removeIconHoverBorderColor:e})}})))))),React.createElement(_t,{title:(0,re.__)("Product Image","woolentor")},React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.imageBorderType,options:Lc,onChange:function(e){return o({imageBorderType:e})}}),t.imageBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.imageBorderWidth,attributesKey:"imageBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.imagePadding,attributesKey:"imagePadding",setAttributes:o}),React.createElement(ne.RangeControl,{label:(0,re.__)("Width (PX)","woolentor"),value:t.imageWidth,onChange:function(e){return o({imageWidth:e})},min:0,step:1,max:500})),React.createElement(_t,{title:(0,re.__)("Product Title","woolentor")},React.createElement(mt,{name:"title"},React.createElement(bt,{name:"normal"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}})),React.createElement(bt,{name:"hover"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))))),React.createElement(_t,{title:(0,re.__)("Price","woolentor")},React.createElement(xt,{label:(0,re.__)("Unit Price","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.priceSize,fallbackFontSize:t.priceSize,onChange:function(e){return o({priceSize:e})}}),React.createElement(xt,{label:(0,re.__)("Total Price","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.totalPriceColor,onChange:function(e){return o({totalPriceColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.totalPriceSize,fallbackFontSize:t.totalPriceSize,onChange:function(e){return o({totalPriceSize:e})}})),React.createElement(_t,{title:(0,re.__)("Quantity Field","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.quantityColor,onChange:function(e){return o({quantityColor:e})}})),React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.quantityBorderType,options:Lc,onChange:function(e){return o({quantityBorderType:e})}}),t.quantityBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.quantityBorderWidth,attributesKey:"quantityBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.quantityBorderColor,onChange:function(e){return o({quantityBorderColor:e})}})))),React.createElement(_t,{title:(0,re.__)("Buttons","woolentor")},React.createElement(mt,{name:"buttons"},React.createElement(bt,{name:"normal"},!0===t.show_update_button&&React.createElement(React.Fragment,null,React.createElement(xt,{label:(0,re.__)("Update Cart Button","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.updateCartBtnColor,onChange:function(e){return o({updateCartBtnColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.updateCartBtnBGColor,onChange:function(e){return o({updateCartBtnBGColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.updateCartBtnSize,fallbackFontSize:t.updateCartBtnSize,onChange:function(e){return o({updateCartBtnSize:e})}}),React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.updateCartBtnBorderType,options:Lc,onChange:function(e){return o({updateCartBtnBorderType:e})}}),t.updateCartBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.updateCartBtnBorderWidth,attributesKey:"updateCartBtnBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.updateCartBtnBorderColor,onChange:function(e){return o({updateCartBtnBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.updateCartBtnBorderRadius,attributesKey:"updateCartBtnBorderRadius",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.updateCartBtnPadding,attributesKey:"updateCartBtnPadding",setAttributes:o})),!0===t.show_continue_button&&React.createElement(React.Fragment,null,React.createElement(xt,{label:(0,re.__)("Continue Shop Button","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.continueShopBtnColor,onChange:function(e){return o({continueShopBtnColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.continueShopBtnBGColor,onChange:function(e){return o({continueShopBtnBGColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.continueShopBtnSize,fallbackFontSize:t.continueShopBtnSize,onChange:function(e){return o({continueShopBtnSize:e})}}),React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.continueShopBtnBorderType,options:Lc,onChange:function(e){return o({continueShopBtnBorderType:e})}}),t.continueShopBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.continueShopBtnBorderWidth,attributesKey:"continueShopBtnBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.continueShopBtnBorderColor,onChange:function(e){return o({continueShopBtnBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.continueShopBtnBorderRadius,attributesKey:"continueShopBtnBorderRadius",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.continueShopBtnPadding,attributesKey:"continueShopBtnPadding",setAttributes:o}))),React.createElement(bt,{name:"hover"},!0===t.show_update_button&&React.createElement(React.Fragment,null,React.createElement(xt,{label:(0,re.__)("Update Cart Button","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.updateCartBtnHoverColor,onChange:function(e){return o({updateCartBtnHoverColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.updateCartBtnHoverBGColor,onChange:function(e){return o({updateCartBtnHoverBGColor:e})}})),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.updateCartBtnHoverBorderColor,onChange:function(e){return o({updateCartBtnHoverBorderColor:e})}}))),!0===t.show_continue_button&&React.createElement(React.Fragment,null,React.createElement(xt,{label:(0,re.__)("Continue Shop Button","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.continueShopBtnHoverColor,onChange:function(e){return o({continueShopBtnHoverColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.continueShopBtnHoverBGColor,onChange:function(e){return o({continueShopBtnHoverBGColor:e})}})),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.continueShopBtnHoverBorderColor,onChange:function(e){return o({continueShopBtnHoverBorderColor:e})}})))))),React.createElement(_t,{title:(0,re.__)("Apply coupon","woolentor")},React.createElement(xt,{label:(0,re.__)("Apply Button","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.couponBtnColor,onChange:function(e){return o({couponBtnColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.couponBtnBGColor,onChange:function(e){return o({couponBtnBGColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.couponBtnSize,fallbackFontSize:t.couponBtnSize,onChange:function(e){return o({couponBtnSize:e})}}),React.createElement(kt,{label:(0,re.__)("Hover Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.couponBtnHoverColor,onChange:function(e){return o({couponBtnHoverColor:e})}})),React.createElement(kt,{label:(0,re.__)("Hover Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.couponBtnHoverBGColor,onChange:function(e){return o({couponBtnHoverBGColor:e})}})),React.createElement(xt,{label:(0,re.__)("Input Box","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.couponFormColor,onChange:function(e){return o({couponFormColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.couponFormFontSize,fallbackFontSize:t.couponFormFontSize,onChange:function(e){return o({couponFormFontSize:e})}}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.couponFormBorderColor,onChange:function(e){return o({couponFormBorderColor:e})}})))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Af(e){return Af="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},Af(e)}function Wf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tf(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 Sf(e,t){return Sf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Sf(e,t)}function xf(e,t){if(t&&("object"===Af(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 zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},zf(e)}var Lf=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&&Sf(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=zf(r);if(n){var o=zf(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return xf(this,e)});function l(){return Wf(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,c=t.blockUniqId,i=t.areaBGProperty;""==c&&a({blockUniqId:l});var s,u,d,m=gt()((d=r,(u=r)in(s={})?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s),"woolentor-block-cart","woolentorblock-cart-table-"+c),p=".woolentorblock-cart-table-"+c,g="\n\t\t\t".concat(p," .shop_table.cart th{\n\t\t\t\t").concat(hr(t.headingTextColor,"color"),"\n\t\t\t\t").concat(hr(t.headingSize,"font-size"),"\n\t\t\t\t").concat(""!=t.headingBorderType?hr(t.headingBorderType,"border-style"):"","\n ").concat(""!=t.headingBorderType?Rr(t.headingBorderWidth,"border-width"):"","\n ").concat(""!=t.headingBorderType?hr(t.headingBorderColor,"border-color"):"","\n ").concat(Rr(t.headingPadding,"padding"),"\n ").concat(hr(t.headingAlignment,"text-align"),"\n ").concat(hr(t.headingBackgroundColor,"background-color"),"\n\t\t\t}\n\t\t")+"\n ".concat(p," .shop_table.cart{\n ").concat(""!=t.tableBorderType?hr(t.tableBorderType,"border-style"):"","\n ").concat(""!=t.tableBorderType?Rr(t.tableBorderWidth,"border-width"):"","\n ").concat(""!=t.tableBorderType?hr(t.tableBorderColor,"border-color"):"","\n ").concat(Rr(t.tablePadding,"padding"),"\n }\n ")+"\n ".concat(p," .shop_table.cart tr.cart_item td{\n ").concat(""!=t.tableCellBorderType?hr(t.tableCellBorderType,"border-style"):"","\n ").concat(""!=t.tableCellBorderType?Rr(t.tableCellBorderWidth,"border-width"):"","\n ").concat(""!=t.tableCellBorderType?hr(t.tableCellBorderColor,"border-color"):"","\n ").concat(Rr(t.tableCellPadding,"padding"),"\n ").concat(hr(t.tableCellAlignment,"text-align"),"\n }\n ").concat(p," .shop_table.cart{\n ").concat(hr(t.tableCellBackgroundColor,"background-color"),"\n }\n ")+"\n ".concat(p," .shop_table.cart tr.cart_item td.product-remove a.remove{\n ").concat(hr(t.removeIconColor,"color","!important"),"\n ").concat(hr(t.removeIconBackgroundColor,"background-color","!important"),"\n ").concat(""!=t.removeIconBorderType?hr(t.removeIconBorderType,"border-style","!important"):"","\n ").concat(""!=t.removeIconBorderType?Rr(t.removeIconBorderWidth,"border-width","!important"):"","\n ").concat(""!=t.removeIconBorderType?hr(t.removeIconBorderColor,"border-color","!important"):"","\n ").concat(Rr(t.removeIconBorderRadius,"border-radius"),"\n }\n ").concat(p," .shop_table.cart tr.cart_item td.product-remove a.remove:hover{\n ").concat(hr(t.removeHoverIconColor,"color","!important"),"\n ").concat(hr(t.removeIconHoverBackgroundColor,"background-color","!important"),"\n ").concat(""!=t.removeIconHoverBorderType?hr(t.removeIconHoverBorderType,"border-style","!important"):"","\n ").concat(""!=t.removeIconHoverBorderType?Rr(t.removeIconHoverBorderWidth,"border-width","!important"):"","\n ").concat(""!=t.removeIconHoverBorderType?hr(t.removeIconHoverBorderColor,"border-color","!important"):"","\n }\n ")+"\n ".concat(p," .shop_table.cart tr.cart_item td.product-thumbnail img{\n ").concat(""!=t.imageBorderType?hr(t.imageBorderType,"border-style"):"","\n ").concat(""!=t.imageBorderType?Rr(t.imageBorderWidth,"border-width"):"","\n ").concat(""!=t.imageBorderType?hr(t.imageBorderColor,"border-color"):"","\n ").concat(Rr(t.imageBorderRadius,"border-radius"),"\n ").concat(Rr(t.imagePadding,"padding"),"\n ").concat(hr(t.imageWidth,"width","px"),"\n ").concat(hr(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(hr(t.titleColor,"color"),"\n }\n ").concat(p," .shop_table.cart tr.cart_item td.product-name{\n ").concat(hr(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(hr(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(hr(t.priceColor,"color"),"\n ").concat(hr(t.priceSize,"font-size"),"\n }\n ").concat(p," .shop_table.cart tr.cart_item td.product-subtotal{\n ").concat(hr(t.totalPriceColor,"color"),"\n ").concat(hr(t.totalPriceSize,"font-size"),"\n }\n ")+"\n ".concat(p," .shop_table.cart tr.cart_item td.product-quantity input[type=number]{\n ").concat(hr(t.quantityColor,"color"),"\n ").concat(""!=t.quantityBorderType?hr(t.quantityBorderType,"border-style"):"","\n ").concat(""!=t.quantityBorderType?Rr(t.quantityBorderWidth,"border-width"):"","\n ").concat(""!=t.quantityBorderType?hr(t.quantityBorderColor,"border-color"):"","\n }\n ")+"\n ".concat(p," .shop_table.cart td.actions .wl_update_cart_shop input.button{\n ").concat(hr(t.updateCartBtnColor,"color"),"\n ").concat(hr(t.updateCartBtnBGColor,"background-color"),"\n ").concat(hr(t.updateCartBtnSize,"font-size"),"\n ").concat(""!=t.updateCartBtnBorderType?hr(t.updateCartBtnBorderType,"border-style","!important"):"","\n ").concat(""!=t.updateCartBtnBorderType?Rr(t.updateCartBtnBorderWidth,"border-width","!important"):"","\n ").concat(""!=t.updateCartBtnBorderType?hr(t.updateCartBtnBorderColor,"border-color","!important"):"","\n ").concat(Rr(t.updateCartBtnBorderRadius,"border-radius"),"\n ").concat(Rr(t.updateCartBtnPadding,"padding"),"\n }\n ").concat(p," .shop_table.cart td.actions .wl_update_cart_shop input.button:hover{\n ").concat(hr(t.updateCartBtnHoverColor,"color"),"\n ").concat(hr(t.updateCartBtnHoverBGColor,"background-color"),"\n ").concat(hr(t.updateCartBtnHoverColor,"border-color","!important"),"\n }\n ")+"\n ".concat(p," .shop_table.cart td.actions a.wlbutton-continue-shopping{\n ").concat(hr(t.continueShopBtnColor,"color"),"\n ").concat(hr(t.continueShopBtnBGColor,"background-color"),"\n ").concat(hr(t.continueShopBtnSize,"font-size"),"\n ").concat(""!=t.continueShopBtnBorderType?hr(t.continueShopBtnBorderType,"border-style"):"","\n ").concat(""!=t.continueShopBtnBorderType?Rr(t.continueShopBtnBorderWidth,"border-width"):"","\n ").concat(""!=t.continueShopBtnBorderType?hr(t.continueShopBtnBorderColor,"border-color"):"","\n ").concat(Rr(t.continueShopBtnBorderRadius,"border-radius"),"\n ").concat(Rr(t.continueShopBtnPadding,"padding"),"\n }\n ").concat(p," .shop_table.cart td.actions a.wlbutton-continue-shopping:hover{\n ").concat(hr(t.continueShopBtnHoverColor,"color"),"\n ").concat(hr(t.continueShopBtnHoverBGColor,"background-color"),"\n ").concat(hr(t.continueShopBtnHoverBorderColor,"border-color"),"\n }\n ")+"\n ".concat(p," .shop_table.cart td.actions .coupon .button{\n ").concat(hr(t.couponBtnColor,"color"),"\n ").concat(hr(t.couponBtnBGColor,"background-color"),"\n ").concat(hr(t.couponBtnSize,"font-size"),"\n }\n ").concat(p," .shop_table.cart td.actions .coupon .button:hover{\n ").concat(hr(t.couponBtnHoverColor,"color"),"\n ").concat(hr(t.couponBtnHoverBGColor,"background-color"),"\n }\n ").concat(p," .shop_table.cart td.actions .coupon input.input-text{\n ").concat(hr(t.couponFormColor,"color"),"\n ").concat(hr(t.couponFormFontSize,"font-size"),"\n ").concat(hr(t.couponFormBorderColor,"border-color"),"\n }\n ");return React.createElement(Pe.Fragment,null,n&&React.createElement(kf,this.props),React.createElement("div",{className:m},React.createElement(wa(),{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(Rr(t.areaPadding.desktop,"padding"),"\n ").concat(wr(i),"\n }\n ").concat(g,"\n ")))}}],o&&Tf(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const Nf=Lf,jf=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}}; }"}}}}'),If=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 Mf=jf.name,Hf=jf.category,Ff=jf.attributes,Df={title:(0,re.__)("WL : Cart Table","woolentor"),description:(0,re.__)("Display cart table.","woolentor"),icon:React.createElement(ne.Icon,{icon:If}),keywords:["woolentor",(0,re.__)("shop table","woolentor"),(0,re.__)("cart table","woolentor"),(0,re.__)("table","woolentor"),(0,re.__)("woocommerce table","woolentor")],supports:{align:["wide","full"]},attributes:Ff,edit:Nf,save:function(){return null}};const Gf=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t),React.createElement(Pe.Fragment,null,React.createElement(at,{tabs:["styles","advanced"]}),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Heading","woolentor"),initialOpen:!0},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,re.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0})),React.createElement(_t,{title:(0,re.__)("Table Cell","woolentor")},React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.tableCellBorderType,options:Lc,onChange:function(e){return o({tableCellBorderType:e})}}),t.tableCellBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.tableCellBorderWidth,attributesKey:"tableCellBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.tableCellBorderColor,onChange:function(e){return o({tableCellBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.tableCellPadding,attributesKey:"tableCellPadding",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,re.__)("Alignment","woolentor"),attribute:"tableCellAlignment",justified:!0}),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.tableCellBackgroundColor,onChange:function(e){return o({tableCellBackgroundColor:e})}}))),React.createElement(_t,{title:(0,re.__)("Table Content","woolentor")},React.createElement(xt,{label:(0,re.__)("Heading","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.tableHeadingColor,onChange:function(e){return o({tableHeadingColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableHeadingSize,fallbackFontSize:t.tableHeadingSize,onChange:function(e){return o({tableHeadingSize:e})}}),React.createElement(xt,{label:(0,re.__)("Subtotal Price","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.tableSubtotalColor,onChange:function(e){return o({tableSubtotalColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableSubtotalSize,fallbackFontSize:t.tableSubtotalSize,onChange:function(e){return o({tableSubtotalSize:e})}}),React.createElement(xt,{label:(0,re.__)("Total Price","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.tableTotalColor,onChange:function(e){return o({tableTotalColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableTotalSize,fallbackFontSize:t.tableTotalSize,onChange:function(e){return o({tableTotalSize:e})}})),React.createElement(_t,{title:(0,re.__)("Checkout Button","woolentor")},React.createElement(mt,{name:"button"},React.createElement(bt,{name:"normal"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.checkoutBtnColor,onChange:function(e){return o({checkoutBtnColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.checkoutBtnBGColor,onChange:function(e){return o({checkoutBtnBGColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.checkoutBtnSize,fallbackFontSize:t.checkoutBtnSize,onChange:function(e){return o({checkoutBtnSize:e})}}),React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.checkoutBtnBorderType,options:Lc,onChange:function(e){return o({checkoutBtnBorderType:e})}}),t.checkoutBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.checkoutBtnBorderWidth,attributesKey:"checkoutBtnBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.checkoutBtnBorderColor,onChange:function(e){return o({checkoutBtnBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.checkoutBtnBorderRadius,attributesKey:"checkoutBtnBorderRadius",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.checkoutBtnPadding,attributesKey:"checkoutBtnPadding",setAttributes:o})),React.createElement(bt,{name:"hover"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.checkoutBtnHoverColor,onChange:function(e){return o({checkoutBtnHoverColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.checkoutBtnHoverBGColor,onChange:function(e){return o({checkoutBtnHoverBGColor:e})}})),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.checkoutBtnHoverBorderColor,onChange:function(e){return o({checkoutBtnHoverBorderColor:e})}})))))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function qf(e){return qf="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},qf(e)}function Kf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uf(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 Qf(e,t){return Qf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Qf(e,t)}function Vf(e,t){if(t&&("object"===qf(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 Yf(e){return Yf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Yf(e)}var Zf=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&&Qf(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=Yf(r);if(n){var o=Yf(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Vf(this,e)});function l(){return Kf(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,c=t.blockUniqId,i=t.areaBGProperty;""==c&&a({blockUniqId:l});var s,u,d,m=gt()((d=r,(u=r)in(s={})?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s),"woolentor-block-cart-total","woolentorblock-cart-total-"+c),p=".woolentorblock-cart-total-"+c,g="\n\t\t\t".concat(p," .cart_totals > h2{\n\t\t\t\t").concat(hr(t.headingTextColor,"color"),"\n\t\t\t\t").concat(hr(t.headingSize,"font-size"),"\n ").concat(Rr(t.headingMargin,"margin"),"\n ").concat(hr(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?hr(t.tableCellBorderType,"border-style"):"","\n ").concat(""!=t.tableCellBorderType?Rr(t.tableCellBorderWidth,"border-width"):"","\n ").concat(""!=t.tableCellBorderType?hr(t.tableCellBorderColor,"border-color"):"","\n ").concat(Rr(t.tableCellPadding,"padding"),"\n ").concat(hr(t.tableCellAlignment,"text-align"),"\n }\n ").concat(p," .cart_totals .shop_table{\n ").concat(hr(t.tableCellBackgroundColor,"background-color"),"\n }\n ")+"\n ".concat(p," .cart_totals .shop_table tr th{\n ").concat(hr(t.tableHeadingColor,"color"),"\n\t\t\t\t").concat(hr(t.tableHeadingSize,"font-size"),"\n }\n ").concat(p," .cart_totals .shop_table tr.cart-subtotal td{\n ").concat(hr(t.tableSubtotalColor,"color"),"\n\t\t\t\t").concat(hr(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(hr(t.tableTotalColor,"color"),"\n\t\t\t\t").concat(hr(t.tableTotalSize,"font-size"),"\n }\n ")+"\n ".concat(p," .wc-proceed-to-checkout .button.checkout-button{\n ").concat(hr(t.checkoutBtnColor,"color"),"\n ").concat(hr(t.checkoutBtnBGColor,"background-color"),"\n ").concat(hr(t.checkoutBtnSize,"font-size"),"\n ").concat(""!=t.checkoutBtnBorderType?hr(t.checkoutBtnBorderType,"border-style"):"","\n ").concat(""!=t.checkoutBtnBorderType?Rr(t.checkoutBtnBorderWidth,"border-width"):"","\n ").concat(""!=t.checkoutBtnBorderType?hr(t.checkoutBtnBorderColor,"border-color"):"","\n ").concat(Rr(t.checkoutBtnBorderRadius,"border-radius"),"\n ").concat(Rr(t.checkoutBtnPadding,"padding"),"\n }\n ").concat(p," .wc-proceed-to-checkout .button.checkout-button:hover{\n ").concat(hr(t.checkoutBtnHoverColor,"color"),"\n ").concat(hr(t.checkoutBtnHoverBGColor,"background-color"),"\n ").concat(hr(t.checkoutBtnHoverBorderColor,"border-color"),"\n }\n ");return React.createElement(Pe.Fragment,null,n&&React.createElement(Gf,this.props),React.createElement("div",{className:m},React.createElement(wa(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n ".concat(p,"{\n ").concat(Rr(t.areaPadding.desktop,"padding"),"\n ").concat(wr(i),"\n }\n ").concat(g,"\n ")))}}],o&&Uf(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const Jf=Zf,Xf=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}}; }"}}}}'),$f=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 eb=Xf.name,tb=Xf.category,ob=Xf.attributes,rb={title:(0,re.__)("WL : Cart Total","woolentor"),description:(0,re.__)("Display cart total.","woolentor"),icon:React.createElement(ne.Icon,{icon:$f}),keywords:["woolentor",(0,re.__)("shop total","woolentor"),(0,re.__)("cart total table","woolentor"),(0,re.__)("table","woolentor"),(0,re.__)("total table","woolentor")],supports:{align:["wide","full"]},attributes:ob,edit:Jf,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(Pe.Fragment,null,React.createElement(at,null),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("Cross Sell","woolentor"),initialOpen:!0},React.createElement(ne.RangeControl,{label:(0,re.__)("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(ne.SelectControl,{label:(0,re.__)("Order","woolentor"),value:t.order,options:[{label:(0,re.__)("Descending","woolentor"),value:"DESC"},{label:(0,re.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(ne.SelectControl,{label:(0,re.__)("Orderby","woolentor"),value:t.orderBy,options:[{label:(0,re.__)("Random","woolentor"),value:"rand"},{label:(0,re.__)("Publish Date","woolentor"),value:"date"},{label:(0,re.__)("Modified Date","woolentor"),value:"modified"},{label:(0,re.__)("Alphabetic","woolentor"),value:"title"},{label:(0,re.__)("Popularity","woolentor"),value:"popularity"},{label:(0,re.__)("Rating","woolentor"),value:"rating"},{label:(0,re.__)("Price","woolentor"),value:"price"}],onChange:function(e){return o({orderBy:e})}}))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Heading","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,re.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0})),React.createElement(_t,{title:(0,re.__)("Item","woolentor"),initialOpen:!0},React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.itemBorderType,options:Lc,onChange:function(e){return o({itemBorderType:e})}}),t.itemBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.itemBorderWidth,attributesKey:"itemBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.itemBorderColor,onChange:function(e){return o({itemBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.itemBorderRadius,attributesKey:"itemBorderRadius",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.itemPadding,attributesKey:"itemPadding",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,re.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0})),React.createElement(_t,{title:(0,re.__)("Image","woolentor")},React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.imageBorderType,options:Lc,onChange:function(e){return o({imageBorderType:e})}}),t.imageBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.imageBorderWidth,attributesKey:"imageBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Title","woolentor")},React.createElement(mt,{name:"title"},React.createElement(bt,{name:"normal"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o})),React.createElement(bt,{name:"hover"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))))),React.createElement(_t,{title:(0,re.__)("Price","woolentor")},React.createElement(xt,{label:(0,re.__)("Sale Price","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.salePriceColor,onChange:function(e){return o({salePriceColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.salePriceSize,fallbackFontSize:t.salePriceSize,onChange:function(e){return o({salePriceSize:e})}}),React.createElement(xt,{label:(0,re.__)("Regular Price","woolentor")}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.regularPriceColor,onChange:function(e){return o({regularPriceColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.regularPriceSize,fallbackFontSize:t.regularPriceSize,onChange:function(e){return o({regularPriceSize:e})}})),React.createElement(_t,{title:(0,re.__)("Rating","woolentor")},React.createElement(kt,{label:(0,re.__)("Rating Star Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(kt,{label:(0,re.__)("Empty Rating Star Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.emptyRatingColor,onChange:function(e){return o({emptyRatingColor:e})}})),React.createElement("h3",null,(0,re.__)("Start size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.ratingSize,fallbackFontSize:t.ratingSize,onChange:function(e){return o({ratingSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.ratingMargin,attributesKey:"ratingMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Add To Cart Button","woolentor")},React.createElement(mt,{name:"addToCartButton"},React.createElement(bt,{name:"normal"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.cartBtnColor,onChange:function(e){return o({cartBtnColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.cartBtnBGColor,onChange:function(e){return o({cartBtnBGColor:e})}})),React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.cartBtnBorderType,options:Lc,onChange:function(e){return o({cartBtnBorderType:e})}}),t.cartBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.cartBtnBorderWidth,attributesKey:"cartBtnBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.cartBtnBorderColor,onChange:function(e){return o({cartBtnBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.cartBtnBorderRadius,attributesKey:"cartBtnBorderRadius",setAttributes:o}),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.cartBtnSize,fallbackFontSize:t.cartBtnSize,onChange:function(e){return o({cartBtnSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.cartBtnPadding,attributesKey:"cartBtnPadding",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.cartBtnMargin,attributesKey:"cartBtnMargin",setAttributes:o})),React.createElement(bt,{name:"hover"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.cartBtnHoverColor,onChange:function(e){return o({cartBtnHoverColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.cartBtnHoverBGColor,onChange:function(e){return o({cartBtnHoverBGColor:e})}})),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.cartBtnHoverBorderColor,onChange:function(e){return o({cartBtnHoverBorderColor:e})}}))))),React.createElement(_t,{title:(0,re.__)("Sale Tag","woolentor")},React.createElement(kt,{label:(0,re.__)("Sale Flash","woolentor")},React.createElement(ne.ToggleControl,{checked:t.saleTagShow,onChange:function(){return o({saleTagShow:!t.saleTagShow})}})),t.saleTagShow&&React.createElement(React.Fragment,null,React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.saleTextColor,onChange:function(e){return o({saleTextColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.saleTagBGColor,onChange:function(e){return o({saleTagBGColor:e})}})),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.saleTagPadding,attributesKey:"saleTagPadding",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.saleTagBorderRadius,attributesKey:"saleTagBorderRadius",setAttributes:o}),React.createElement(ne.SelectControl,{label:(0,re.__)("Position","woolentor"),value:t.saleTagPosition,options:[{label:(0,re.__)("Default","woolentor"),value:""},{label:(0,re.__)("Left","woolentor"),value:"left"},{label:(0,re.__)("Right","woolentor"),value:"right"}],onChange:function(e){return o({saleTagPosition:e})}})))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("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 cb(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 ib(e,t){return ib=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ib(e,t)}function sb(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 ub(e){return ub=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ub(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&&ib(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=ub(r);if(n){var o=ub(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return sb(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,c=t.blockUniqId,i=t.areaBGProperty;""==c&&a({blockUniqId:l});var s,u,d,m=gt()((d=r,(u=r)in(s={})?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s),"woolentor-block-cross-sell","woolentorblock-cross-sell-"+c),p=".woolentorblock-cross-sell-"+c,g="\n\t\t\t".concat(p," .cross-sells > h2{\n\t\t\t\t").concat(hr(t.headingTextColor,"color"),"\n\t\t\t\t").concat(hr(t.headingSize,"font-size"),"\n ").concat(Rr(t.headingMargin,"margin"),"\n ").concat(hr(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(hr(t.itemBorderType,"border-style"),"\n\t\t\t\t").concat(Rr(t.itemBorderWidth,"border-width"),"\n\t\t\t\t").concat(hr(t.itemBorderColor,"border-color"),"\n\t\t\t\t").concat(Rr(t.itemBorderRadius,"border-radius"),"\n\t\t\t\t").concat(Rr(t.itemPadding,"padding"),"\n\t\t\t\t").concat(hr(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(hr(t.imageBorderType,"border-style"),"\n\t\t\t\t").concat(Rr(t.imageBorderWidth,"border-width"),"\n\t\t\t\t").concat(hr(t.imageBorderColor,"border-color"),"\n\t\t\t\t").concat(Rr(t.imageBorderRadius,"border-radius"),"\n\t\t\t\t").concat(Rr(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(hr(t.titleColor,"color","!important"),"\n\t\t\t\t").concat(hr(t.titleSize,"font-size","!important"),"\n\t\t\t\t").concat(Rr(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(hr(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(hr(t.salePriceColor,"color"),"\n\t\t\t}\n\t\t\t").concat(p," ul.products li.product .price{\n\t\t\t\t").concat(hr(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(hr(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(hr(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(hr(t.ratingColor,"color"),"\n\t\t\t\t").concat(hr(t.ratingSize,"font-size"),"\n\t\t\t\t").concat(Rr(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(hr(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(hr(t.cartBtnColor,"color"),"\n\t\t\t\t").concat(hr(t.cartBtnBGColor,"background-color"),"\n\t\t\t\t").concat(hr(t.cartBtnBorderType,"border-style"),"\n\t\t\t\t").concat(Rr(t.cartBtnBorderWidth,"border-width"),"\n\t\t\t\t").concat(hr(t.cartBtnBorderColor,"border-color"),"\n\t\t\t\t").concat(Rr(t.cartBtnBorderRadius,"border-radius"),"\n\t\t\t\t").concat(hr(t.cartBtnSize,"font-size"),"\n\t\t\t\t").concat(Rr(t.cartBtnPadding,"padding"),"\n\t\t\t\t").concat(Rr(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(hr(t.cartBtnHoverColor,"color"),"\n\t\t\t\t").concat(hr(t.cartBtnHoverBGColor,"background-color"),"\n\t\t\t\t").concat(hr(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(hr(t.saleTextColor,"color"),"\n\t\t\t\t").concat(hr(t.saleTagBGColor,"background-color"),"\n\t\t\t\t").concat(Rr(t.saleTagPadding,"padding"),"\n\t\t\t\t").concat(Rr(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(Pe.Fragment,null,n&&React.createElement(nb,this.props),React.createElement("div",{className:m},React.createElement(wa(),{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(Rr(t.areaPadding.desktop,"padding"),"\n ").concat(wr(i),"\n }\n ").concat(g,"\n ")))}}],o&&cb(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const mb=db,pb=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":""}}}'),gb=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 fb=pb.name,bb=pb.category,yb=pb.attributes,_b={title:(0,re.__)("WL : Cross Sell","woolentor"),description:(0,re.__)("Display cross sell Product.","woolentor"),icon:React.createElement(ne.Icon,{icon:gb}),keywords:["woolentor",(0,re.__)("cross sell","woolentor"),(0,re.__)("cross sell product","woolentor"),(0,re.__)("cart","woolentor"),(0,re.__)("cart table","woolentor")],supports:{align:["wide","full"]},attributes:yb,edit:mb,save:function(){return null}};const hb=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t),React.createElement(Pe.Fragment,null,React.createElement(at,null),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("Return To Shop","woolentor"),initialOpen:!0},React.createElement(ne.TextControl,{label:(0,re.__)("Button Text","woolentor"),value:t.buttonText,placeholder:(0,re.__)("Button Text","woolentor"),onChange:function(e){return o({buttonText:e})}}),React.createElement(ne.TextControl,{label:(0,re.__)("Button Custom URL","woolentor"),value:t.buttonLink,placeholder:(0,re.__)("Button Custom URL","woolentor"),onChange:function(e){return o({buttonLink:e})}}))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Button","woolentor")},React.createElement(mt,{name:"button"},React.createElement(bt,{name:"normal"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.returnBtnColor,onChange:function(e){return o({returnBtnColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.returnBtnBGColor,onChange:function(e){return o({returnBtnBGColor:e})}})),React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.returnBtnBorderType,options:Lc,onChange:function(e){return o({returnBtnBorderType:e})}}),t.returnBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.returnBtnBorderWidth,attributesKey:"returnBtnBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.returnBtnBorderColor,onChange:function(e){return o({returnBtnBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.returnBtnBorderRadius,attributesKey:"returnBtnBorderRadius",setAttributes:o}),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.returnBtnSize,fallbackFontSize:t.returnBtnSize,onChange:function(e){return o({returnBtnSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.returnBtnPadding,attributesKey:"returnBtnPadding",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.returnBtnMargin,attributesKey:"returnBtnMargin",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,re.__)("Alignment","woolentor"),attribute:"buttonAlignment",justified:!0})),React.createElement(bt,{name:"hover"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.returnBtnHoverColor,onChange:function(e){return o({returnBtnHoverColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.returnBtnHoverBGColor,onChange:function(e){return o({returnBtnHoverBGColor:e})}})),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.returnBtnHoverBorderColor,onChange:function(e){return o({returnBtnHoverBorderColor:e})}})))))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Rb(e){return Rb="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},Rb(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"===Rb(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,c=t.blockUniqId,i=t.areaBGProperty;""==c&&a({blockUniqId:l});var s,u,d,m=gt()((d=r,(u=r)in(s={})?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s),"woolentor-block-return-to-shop","woolentorblock-return-to-shop-"+c),p=".woolentorblock-return-to-shop-"+c,g="\n ".concat(p," .return-to-shop{\n ").concat(hr(t.buttonAlignment,"text-align"),"\n }\n\t\t\t").concat(p," a.button.wc-backward{\n\t\t\t\t").concat(hr(t.returnBtnColor,"color"),"\n\t\t\t\t").concat(hr(t.returnBtnBGColor,"background-color"),"\n\t\t\t\t").concat(hr(t.returnBtnBorderType,"border-style"),"\n\t\t\t\t").concat(Rr(t.returnBtnBorderWidth,"border-width"),"\n\t\t\t\t").concat(hr(t.returnBtnBorderColor,"border-color"),"\n\t\t\t\t").concat(Rr(t.returnBtnBorderRadius,"border-radius"),"\n\t\t\t\t").concat(hr(t.returnBtnSize,"font-size"),"\n\t\t\t\t").concat(Rr(t.returnBtnPadding,"padding"),"\n\t\t\t\t").concat(Rr(t.returnBtnMargin,"margin"),"\n\t\t\t}\n\t\t\t").concat(p," a.button.wc-backward:hover{\n\t\t\t\t").concat(hr(t.returnBtnHoverColor,"color"),"\n\t\t\t\t").concat(hr(t.returnBtnHoverBGColor,"background-color"),"\n\t\t\t\t").concat(hr(t.returnBtnHoverBorderColor,"border-color"),"\n\t\t\t}\n\t\t");return React.createElement(Pe.Fragment,null,n&&React.createElement(hb,this.props),React.createElement("div",{className:m},React.createElement(wa(),{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(Rr(t.areaPadding.desktop,"padding"),"\n ").concat(wr(i),"\n }\n ").concat(g,"\n ")))}}],o&&Eb(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const Bb=Cb,kb=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}}; }"}}}}'),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 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 Wb=kb.name,Tb=kb.category,Sb=kb.attributes,xb={title:(0,re.__)("WL : Return To Shop","woolentor"),description:(0,re.__)("Display return to shop page button.","woolentor"),icon:React.createElement(ne.Icon,{icon:Ab}),keywords:["woolentor",(0,re.__)("return to shop","woolentor"),(0,re.__)("back shop","woolentor"),(0,re.__)("redirect to shop","woolentor"),(0,re.__)("redirect button","woolentor"),(0,re.__)("cart","woolentor")],supports:{align:["wide","full"]},attributes:Sb,edit:Bb,save:function(){return null}};const zb=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t),React.createElement(Pe.Fragment,null,React.createElement(at,null),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("Content","woolentor"),initialOpen:!0},React.createElement(ne.TextareaControl,{label:(0,re.__)("Custom Message","woolentor"),help:(0,re.__)("Enter your custom message","woolentor"),value:t.customMessage,onChange:function(e){return o({customMessage:e})}}))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Message","woolentor"),initialOpen:!0},React.createElement(kt,{label:(0,re.__)("Text Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.borderColor,onChange:function(e){return o({borderColor:e})}})),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.messagePadding,attributesKey:"messagePadding",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.messageMargin,attributesKey:"messageMargin",setAttributes:o}))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Lb(e){return Lb="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},Lb(e)}function Nb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jb(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 Ib(e,t){return Ib=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ib(e,t)}function Mb(e,t){if(t&&("object"===Lb(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 Hb(e){return Hb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Hb(e)}var Fb=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&&Ib(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=Hb(r);if(n){var o=Hb(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Mb(this,e)});function l(){return Nb(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,c=t.blockUniqId,i=t.areaBGProperty;""==c&&a({blockUniqId:l});var s,u,d,m=gt()((d=r,(u=r)in(s={})?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s),"woolentorblock-cart-empty-message","woolentorblock-cart-empty-message-"+c),p=".woolentorblock-cart-empty-message-"+c,g="\n\t\t\t".concat(p," .woocommerce-info{\n\t\t\t\t").concat(hr(t.textColor,"color"),"\n\t\t\t\t").concat(hr(t.borderColor,"border-color"),"\n ").concat(Rr(t.messagePadding,"padding"),"\n ").concat(Rr(t.messageMargin,"margin"),"\n\t\t\t}\n ").concat(p," .woocommerce-info::before{\n ").concat(hr(t.borderColor,"color"),"\n }\n\t\t");return React.createElement(Pe.Fragment,null,n&&React.createElement(zb,this.props),React.createElement("div",{className:m},React.createElement(wa(),{block:o,attributes:{customMessage:t.customMessage},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n ".concat(p,"{\n ").concat(Rr(t.areaPadding.desktop,"padding"),"\n ").concat(wr(i),"\n }\n ").concat(g,"\n ")))}}],o&&jb(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const Db=Fb,Gb=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}}; }"}}}}'),qb=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 Kb=Gb.name,Ub=Gb.category,Qb=Gb.attributes,Vb={title:(0,re.__)("WL : Empty Cart Message","woolentor"),description:(0,re.__)("Display empty cart message.","woolentor"),icon:React.createElement(ne.Icon,{icon:qb}),keywords:["woolentor",(0,re.__)("shop table","woolentor"),(0,re.__)("cart table","woolentor"),(0,re.__)("table","woolentor"),(0,re.__)("woocommerce table","woolentor"),(0,re.__)("empty message","woolentor"),(0,re.__)("message","woolentor")],supports:{align:["wide","full"]},attributes:Qb,edit:Db,save:function(){return null}};const Yb=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t),React.createElement(Pe.Fragment,null,React.createElement(at,null),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("Billing Form","woolentor"),initialOpen:!0},React.createElement(ne.TextControl,{label:(0,re.__)("Title","woolentor"),placeholder:(0,re.__)("Form Title","woolentor"),value:t.formTitle,onChange:function(e){return o({formTitle:e})}}),React.createElement(ne.TextControl,{label:(0,re.__)("Create an account label","woolentor"),placeholder:(0,re.__)("Create an account?","woolentor"),value:t.createfieldLabel,onChange:function(e){return o({createfieldLabel:e})}}))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Heading","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("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,re.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Label","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(kt,{label:(0,re.__)("Required Start Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("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,re.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Input Box","woolentor")},React.createElement(mt,{name:"inputbox",tabs:["normal","focus"]},React.createElement(bt,{name:"normal"},React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(ne.RangeControl,{label:(0,re.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:Lc,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(bt,{name:"focus"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}})))))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Zb(e){return Zb="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},Zb(e)}function Jb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xb(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 $b(e,t){return $b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$b(e,t)}function ey(e,t){if(t&&("object"===Zb(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 ty(e){return ty=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ty(e)}var oy=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&&$b(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=ty(r);if(n){var o=ty(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return ey(this,e)});function l(){return Jb(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,c=t.blockUniqId,i=t.areaBGProperty;""==c&&a({blockUniqId:l});var s,u,d,m=gt()((d=r,(u=r)in(s={})?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s),"woolentorblock-checkout-billing-form","woolentorblock-checkout-billing-form-"+c),p=".woolentorblock-checkout-billing-form-"+c,g="\n\t\t\t".concat(p," .woocommerce-billing-fields > h3,").concat(p," .woocommerce-billing-fields .woolentor-field-heading *{\n\t\t\t\t").concat(hr(t.headingColor,"color"),"\n\t\t\t\t").concat(hr(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(hr(t.headingColor,"border-color"),"\n ").concat(hr(t.headingAlignment,"text-align"),"\n ").concat(Rr(t.headingMargin,"margin"),"\n }\n\t\t")+"\n ".concat(p," :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label{\n ").concat(hr(t.labelColor,"color"),"\n ").concat(hr(t.labelSize,"font-size"),"\n ").concat(hr(t.labelAlignment,"text-align"),"\n ").concat(Rr(t.labelMargin,"margin"),"\n }\n ").concat(p," :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label abbr{\n ").concat(hr(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(hr(t.inputBoxBGColor,"background-color"),"\n ").concat(hr(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(hr(t.inputBoxSize,"font-size"),"\n ").concat(""!=t.inputBoxHeight?hr(t.inputBoxHeight,"height","px"):"","\n ").concat(""!=t.inputBoxBorderType?hr(t.inputBoxBorderType,"border-style","!important"):"","\n ").concat(""!=t.inputBoxBorderType?Rr(t.inputBoxBorderWidth,"border-width","!important"):"","\n ").concat(""!=t.inputBoxBorderType?hr(t.inputBoxBorderColor,"border-color","!important"):"","\n ").concat(Rr(t.inputBoxBorderRadius,"border-radius","!important"),"\n ").concat(Rr(t.inputBoxPadding,"padding","!important"),"\n }\n ").concat(p," :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row{\n ").concat(Rr(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(hr(t.inputBoxFocusBorderColor,"border-color"),"\n ").concat(hr(t.inputBoxFocusColor,"color"),"\n }\n ");return React.createElement(Pe.Fragment,null,n&&React.createElement(Yb,this.props),React.createElement("div",{className:m},React.createElement(wa(),{block:o,attributes:{formTitle:t.formTitle},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n ".concat(p,"{\n ").concat(Rr(t.areaPadding.desktop,"padding"),"\n ").concat(wr(i),"\n }\n ").concat(g,"\n ")))}}],o&&Xb(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const ry=oy,ny=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}}; }"}}}}'),ay=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 ly=ny.name,cy=ny.category,iy=ny.attributes,sy={title:(0,re.__)("WL : Checkout Billing Form","woolentor"),description:(0,re.__)("Display Checkout Billing Form.","woolentor"),icon:React.createElement(ne.Icon,{icon:ay}),keywords:["woolentor",(0,re.__)("checkout form"),(0,re.__)("billing form"),(0,re.__)("billing field"),(0,re.__)("checkout")],supports:{align:["wide","full"]},attributes:iy,edit:ry,save:function(){return null}};const uy=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t),React.createElement(Pe.Fragment,null,React.createElement(at,null),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("Shipping Form","woolentor"),initialOpen:!0},React.createElement(ne.TextControl,{label:(0,re.__)("Title","woolentor"),placeholder:(0,re.__)("Form Title","woolentor"),value:t.formTitle,onChange:function(e){return o({formTitle:e})}}))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Heading","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("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,re.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Label","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("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,re.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Input Box","woolentor")},React.createElement(mt,{name:"inputbox",tabs:["normal","focus"]},React.createElement(bt,{name:"normal"},React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(ne.RangeControl,{label:(0,re.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:Lc,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(bt,{name:"focus"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}})))))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function dy(e){return dy="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},dy(e)}function my(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 gy(e,t){return gy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},gy(e,t)}function fy(e,t){if(t&&("object"===dy(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 by(e){return by=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},by(e)}var yy=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&&gy(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=by(r);if(n){var o=by(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return fy(this,e)});function l(){return my(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,c=t.blockUniqId,i=t.areaBGProperty;""==c&&a({blockUniqId:l});var s,u,d,m=gt()((d=r,(u=r)in(s={})?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s),"woolentorblock-checkout-shipping-form","woolentorblock-checkout-shipping-form-"+c),p=".woolentorblock-checkout-shipping-form-"+c,g="\n\t\t\t".concat(p," .woocommerce-shipping-fields > h3,").concat(p," .woocommerce-shipping-fields .woolentor-field-heading *{\n\t\t\t\t").concat(hr(t.headingColor,"color"),"\n\t\t\t\t").concat(hr(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(hr(t.headingColor,"border-color"),"\n ").concat(hr(t.headingAlignment,"text-align"),"\n ").concat(Rr(t.headingMargin,"margin"),"\n }\n\t\t")+"\n ".concat(p," :is(.woocommerce-shipping-fields) .form-row label{\n ").concat(hr(t.labelColor,"color"),"\n ").concat(hr(t.labelSize,"font-size"),"\n ").concat(hr(t.labelAlignment,"text-align"),"\n ").concat(Rr(t.labelMargin,"margin"),"\n }\n ").concat(p," :is(.woocommerce-shipping-fields) .form-row label abbr{\n ").concat(hr(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(hr(t.inputBoxBGColor,"background-color"),"\n ").concat(hr(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(hr(t.inputBoxSize,"font-size"),"\n ").concat(""!=t.inputBoxHeight?hr(t.inputBoxHeight,"height","px"):"","\n ").concat(""!=t.inputBoxBorderType?hr(t.inputBoxBorderType,"border-style","!important"):"","\n ").concat(""!=t.inputBoxBorderType?Rr(t.inputBoxBorderWidth,"border-width","!important"):"","\n ").concat(""!=t.inputBoxBorderType?hr(t.inputBoxBorderColor,"border-color","!important"):"","\n ").concat(Rr(t.inputBoxBorderRadius,"border-radius","!important"),"\n ").concat(Rr(t.inputBoxPadding,"padding","!important"),"\n }\n ").concat(p," :is(.woocommerce-shipping-fields) .form-row{\n ").concat(Rr(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(hr(t.inputBoxFocusBorderColor,"border-color"),"\n ").concat(hr(t.inputBoxFocusColor,"color"),"\n }\n ");return React.createElement(Pe.Fragment,null,n&&React.createElement(uy,this.props),React.createElement("div",{className:m},React.createElement(wa(),{block:o,attributes:{formTitle:t.formTitle},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n ".concat(p,"{\n ").concat(Rr(t.areaPadding.desktop,"padding"),"\n ").concat(wr(i),"\n }\n ").concat(g,"\n ")))}}],o&&py(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const _y=yy,hy=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}}; }"}}}}'),Ry=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 wy=hy.name,Ey=hy.category,vy=hy.attributes,Oy={title:(0,re.__)("WL : Checkout Shipping Form","woolentor"),description:(0,re.__)("Display Checkout Shipping Form.","woolentor"),icon:React.createElement(ne.Icon,{icon:Ry}),keywords:["woolentor",(0,re.__)("checkout form"),(0,re.__)("Shipping form"),(0,re.__)("Shipping field"),(0,re.__)("checkout")],supports:{align:["wide","full"]},attributes:vy,edit:_y,save:function(){return null}};const Py=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t),React.createElement(Pe.Fragment,null,React.createElement(at,null),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("Additional Form","woolentor"),initialOpen:!0},React.createElement(ne.TextControl,{label:(0,re.__)("Title","woolentor"),placeholder:(0,re.__)("Form Title","woolentor"),value:t.formTitle,onChange:function(e){return o({formTitle:e})}}))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Heading","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("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,re.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Label","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(kt,{label:(0,re.__)("Required Start Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("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,re.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Input Box","woolentor")},React.createElement(mt,{name:"inputbox",tabs:["normal","focus"]},React.createElement(bt,{name:"normal"},React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(ne.RangeControl,{label:(0,re.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:Lc,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(bt,{name:"focus"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}})))))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Cy(e){return Cy="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},Cy(e)}function By(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ky(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 Ay(e,t){return Ay=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ay(e,t)}function Wy(e,t){if(t&&("object"===Cy(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 Ty(e){return Ty=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ty(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&&Ay(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=Ty(r);if(n){var o=Ty(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return Wy(this,e)});function l(){return By(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,c=t.blockUniqId,i=t.areaBGProperty;""==c&&a({blockUniqId:l});var s,u,d,m=gt()((d=r,(u=r)in(s={})?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s),"woolentorblock-checkout-additional-form","woolentorblock-checkout-additional-form-"+c),p=".woolentorblock-checkout-additional-form-"+c,g="\n\t\t\t".concat(p," .woocommerce-additional-fields > h3,").concat(p," .woocommerce-additional-fields .woolentor-field-heading *{\n\t\t\t\t").concat(hr(t.headingColor,"color"),"\n\t\t\t\t").concat(hr(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(hr(t.headingColor,"border-color"),"\n ").concat(hr(t.headingAlignment,"text-align"),"\n ").concat(Rr(t.headingMargin,"margin"),"\n }\n\t\t")+"\n ".concat(p," :is(.woocommerce-additional-fields) .form-row label{\n ").concat(hr(t.labelColor,"color"),"\n ").concat(hr(t.labelSize,"font-size"),"\n ").concat(hr(t.labelAlignment,"text-align"),"\n ").concat(Rr(t.labelMargin,"margin"),"\n }\n ").concat(p," :is(.woocommerce-additional-fields) .form-row label abbr{\n ").concat(hr(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(hr(t.inputBoxBGColor,"background-color"),"\n ").concat(hr(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(hr(t.inputBoxSize,"font-size"),"\n ").concat(""!=t.inputBoxHeight?hr(t.inputBoxHeight,"height","px"):"","\n ").concat(""!=t.inputBoxBorderType?hr(t.inputBoxBorderType,"border-style","!important"):"","\n ").concat(""!=t.inputBoxBorderType?Rr(t.inputBoxBorderWidth,"border-width","!important"):"","\n ").concat(""!=t.inputBoxBorderType?hr(t.inputBoxBorderColor,"border-color","!important"):"","\n ").concat(Rr(t.inputBoxBorderRadius,"border-radius","!important"),"\n ").concat(Rr(t.inputBoxPadding,"padding","!important"),"\n }\n ").concat(p," :is(.woocommerce-additional-fields) .form-row{\n ").concat(Rr(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(hr(t.inputBoxFocusBorderColor,"border-color"),"\n ").concat(hr(t.inputBoxFocusColor,"color"),"\n }\n ");return React.createElement(Pe.Fragment,null,n&&React.createElement(Py,this.props),React.createElement("div",{className:m},React.createElement(wa(),{block:o,attributes:{formTitle:t.formTitle},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n ".concat(p,"{\n ").concat(Rr(t.areaPadding.desktop,"padding"),"\n ").concat(wr(i),"\n }\n ").concat(g,"\n ")))}}],o&&ky(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const xy=Sy,zy=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}}; }"}}}}'),Ly=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 Ny=zy.name,jy=zy.category,Iy=zy.attributes,My={title:(0,re.__)("WL : Checkout Additional Form","woolentor"),description:(0,re.__)("Display Checkout Additional Form.","woolentor"),icon:React.createElement(ne.Icon,{icon:Ly}),keywords:["woolentor",(0,re.__)("checkout form"),(0,re.__)("Additional form"),(0,re.__)("Additional field"),(0,re.__)("checkout")],supports:{align:["wide","full"]},attributes:Iy,edit:xy,save:function(){return null}};const Hy=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(t),React.createElement(Pe.Fragment,null,React.createElement(at,null),React.createElement(tt,null,React.createElement(_t,{title:(0,re.__)("Coupon Form","woolentor"),initialOpen:!0},React.createElement(ne.TextControl,{label:(0,re.__)("Apply Button Text","woolentor"),placeholder:(0,re.__)("Apply coupon","woolentor"),value:t.formApplyButton,onChange:function(e){return o({formApplyButton:e})}}),React.createElement(ne.TextareaControl,{label:(0,re.__)("Description","woolentor"),placeholder:(0,re.__)("If you have a coupon code, please apply it below.","woolentor"),value:t.formDescription,onChange:function(e){return o({formDescription:e})}}))),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Form Toggler","woolentor")},React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.togglerSize,fallbackFontSize:t.togglerSize,onChange:function(e){return o({togglerSize:e})}}),React.createElement(kt,{label:(0,re.__)("Text Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.togglerTextColor,onChange:function(e){return o({togglerTextColor:e})}})),React.createElement(kt,{label:(0,re.__)("Link Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.togglerLinkColor,onChange:function(e){return o({togglerLinkColor:e})}})),React.createElement(kt,{label:(0,re.__)("Link Hover Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.togglerLinkHoverColor,onChange:function(e){return o({togglerLinkHoverColor:e})}})),React.createElement(kt,{label:(0,re.__)("Left Icon Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.togglerLeftIconColor,onChange:function(e){return o({togglerLeftIconColor:e})}})),React.createElement(kt,{label:(0,re.__)("Top Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.togglerTopBorderColor,onChange:function(e){return o({togglerTopBorderColor:e})}})),React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.togglerBorderType,options:Lc,onChange:function(e){return o({togglerBorderType:e})}}),t.togglerBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.togglerBorderWidth,attributesKey:"togglerBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.togglerBorderColor,onChange:function(e){return o({togglerBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.togglerBorderRadius,attributesKey:"togglerBorderRadius",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.togglerPadding,attributesKey:"togglerPadding",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.togglerMargin,attributesKey:"togglerMargin",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,re.__)("Alignment","woolentor"),attribute:"togglerAlignment",justified:!0}),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.togglerBackgroundColor,onChange:function(e){return o({togglerBackgroundColor:e})}}))),React.createElement(_t,{title:(0,re.__)("Description","woolentor")},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.descriptionColor,onChange:function(e){return o({descriptionColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.descriptionSize,fallbackFontSize:t.descriptionSize,onChange:function(e){return o({descriptionSize:e})}}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.descriptionMargin,attributesKey:"descriptionMargin",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,re.__)("Alignment","woolentor"),attribute:"descriptionAlignment",justified:!0})),React.createElement(_t,{title:(0,re.__)("Form Area","woolentor")},React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.formBorderType,options:Lc,onChange:function(e){return o({formBorderType:e})}}),t.formBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.formBorderWidth,attributesKey:"formBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.formBorderColor,onChange:function(e){return o({formBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.formBorderRadius,attributesKey:"formBorderRadius",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.formPadding,attributesKey:"formPadding",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.formMargin,attributesKey:"formMargin",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Input Box","woolentor")},React.createElement(mt,{name:"inputbox",tabs:["normal","focus"]},React.createElement(bt,{name:"normal"},React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(ne.RangeControl,{label:(0,re.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(ne.RangeControl,{label:(0,re.__)("Field Width (PX)","woolentor"),value:t.inputBoxWidth,allowReset:!0,onChange:function(e){return o({inputBoxWidth:e})},min:0,step:1,max:1e3}),React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:Lc,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(bt,{name:"focus"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}}))))),React.createElement(_t,{title:(0,re.__)("Submit Button","woolentor")},React.createElement(mt,{name:"button"},React.createElement(bt,{name:"normal"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:Lc,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o})),React.createElement(bt,{name:"hover"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Fy(e){return Fy="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},Fy(e)}function Dy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gy(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 qy(e,t){return qy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},qy(e,t)}function Ky(e,t){if(t&&("object"===Fy(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 Qy=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&&qy(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 Ky(this,e)});function l(){return Dy(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,c=t.blockUniqId,i=t.areaBGProperty;""==c&&a({blockUniqId:l});var s,u,d,m=gt()((d=r,(u=r)in(s={})?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s),"woolentorblock-checkout-coupon-form","woolentorblock-checkout-coupon-form-"+c),p=".woolentorblock-checkout-coupon-form-"+c,g="\n ".concat(p," .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info{\n ").concat(hr(t.togglerSize,"font-size"),"\n ").concat(hr(t.togglerTextColor,"color"),"\n }\n ").concat(p," .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info a{\n ").concat(hr(t.togglerLinkColor,"color"),"\n }\n ").concat(p," .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info a:hover{\n ").concat(hr(t.togglerLinkHoverColor,"color"),"\n }\n ").concat(p," .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info::before{\n ").concat(hr(t.togglerLeftIconColor,"color"),"\n }\n ").concat(p," .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info{\n ").concat(hr(t.togglerTopBorderColor,"border-top-color"),"\n ").concat(""!=t.togglerBorderType?hr(t.togglerBorderType,"border-style"):"","\n ").concat(""!=t.togglerBorderType?Rr(t.togglerBorderWidth,"border-width"):"","\n ").concat(""!=t.togglerBorderType?hr(t.togglerBorderColor,"border-color"):"","\n ").concat(Rr(t.togglerBorderRadius,"border-radius"),"\n ").concat(Rr(t.togglerPadding,"padding"),"\n ").concat(Rr(t.togglerMargin,"margin"),"\n ").concat(hr(t.togglerAlignment,"text-align"),"\n ").concat(hr(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(Pe.Fragment,null,n&&React.createElement(Hy,this.props),React.createElement("div",{className:m},React.createElement(wa(),{block:o,attributes:{formDescription:t.formDescription},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},"\n ".concat(p,"{\n ").concat(Rr(t.areaPadding.desktop,"padding"),"\n ").concat(wr(i),"\n }\n ").concat(g,"\n ")))}}],o&&Gy(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(Pe.Component);const Vy=Qy,Yy=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; }"}}}}'),Zy=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 Jy=Yy.name,Xy=Yy.title,$y=Yy.description,e_=Yy.category,t_=Yy.attributes,o_=Yy.keywords,r_=Yy.supports,n_={title:(0,re.__)(Xy,"woolentor"),description:(0,re.__)($y,"woolentor"),icon:React.createElement(ne.Icon,{icon:Zy}),keywords:o_,supports:r_,attributes:t_,edit:Vy,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(Pe.Fragment,null,React.createElement(at,{tabs:["styles","advanced"]}),React.createElement(ot,null,React.createElement(_t,{title:(0,re.__)("Area","woolentor")},React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.areaContentSize,fallbackFontSize:t.areaContentSize,onChange:function(e){return o({areaContentSize:e})}}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.areaContentColor,onChange:function(e){return o({areaContentColor:e})}})),React.createElement(kt,{label:(0,re.__)("Link Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.areaContentLinkColor,onChange:function(e){return o({areaContentLinkColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.areaContentBGColor,onChange:function(e){return o({areaContentBGColor:e})}})),React.createElement(Co.InspectorControls,{label:(0,re.__)("Alignment","woolentor"),attribute:"areaContentAlignment",justified:!0}),React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.areaContentBorderType,options:Lc,onChange:function(e){return o({areaContentBorderType:e})}}),t.areaContentBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.areaContentBorderWidth,attributesKey:"areaContentBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.areaContentBorderColor,onChange:function(e){return o({areaContentBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.areaContentBorderRadius,attributesKey:"areaContentBorderRadius",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaContentPadding,attributesKey:"areaContentPadding",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Heading","woolentor")},React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.headingBorderType,options:Lc,onChange:function(e){return o({headingBorderType:e})}}),t.headingBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.headingBorderWidth,attributesKey:"headingBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.headingBorderColor,onChange:function(e){return o({headingBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.headingBorderRadius,attributesKey:"headingBorderRadius",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(Co.InspectorControls,{label:(0,re.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.headingBackgroundColor,onChange:function(e){return o({headingBackgroundColor:e})}}))),React.createElement(_t,{title:(0,re.__)("Content","woolentor")},React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.contentSize,fallbackFontSize:t.contentSize,onChange:function(e){return o({contentSize:e})}}),React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.contentColor,onChange:function(e){return o({contentColor:e})}})),React.createElement(Co.InspectorControls,{label:(0,re.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}),React.createElement(It,{lavel:(0,re.__)("Margin","woolentor"),dimensions:t.contentMargin,attributesKey:"contentMargin",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.contentBGColor,onChange:function(e){return o({contentBGColor:e})}})),React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.contentBorderType,options:Lc,onChange:function(e){return o({contentBorderType:e})}}),t.contentBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.contentBorderWidth,attributesKey:"contentBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.contentBorderColor,onChange:function(e){return o({contentBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.contentBorderRadius,attributesKey:"contentBorderRadius",setAttributes:o})),React.createElement(_t,{title:(0,re.__)("Place Order Button","woolentor")},React.createElement(mt,{name:"button"},React.createElement(bt,{name:"normal"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.placeOrderBtnColor,onChange:function(e){return o({placeOrderBtnColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.placeOrderBtnBGColor,onChange:function(e){return o({placeOrderBtnBGColor:e})}})),React.createElement("h3",null,(0,re.__)("Font size","woolentor")),React.createElement(ne.FontSizePicker,{fontSizes:[{name:(0,re.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,re.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,re.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.placeOrderBtnSize,fallbackFontSize:t.placeOrderBtnSize,onChange:function(e){return o({placeOrderBtnSize:e})}}),React.createElement(ne.SelectControl,{label:(0,re.__)("Border Type","woolentor"),value:t.placeOrderBtnBorderType,options:Lc,onChange:function(e){return o({placeOrderBtnBorderType:e})}}),t.placeOrderBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(It,{lavel:(0,re.__)("Border Width","woolentor"),dimensions:t.placeOrderBtnBorderWidth,attributesKey:"placeOrderBtnBorderWidth",setAttributes:o}),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.placeOrderBtnBorderColor,onChange:function(e){return o({placeOrderBtnBorderColor:e})}}))),React.createElement(It,{lavel:(0,re.__)("Border Radius","woolentor"),dimensions:t.placeOrderBtnBorderRadius,attributesKey:"placeOrderBtnBorderRadius",setAttributes:o}),React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.placeOrderBtnPadding,attributesKey:"placeOrderBtnPadding",setAttributes:o})),React.createElement(bt,{name:"hover"},React.createElement(kt,{label:(0,re.__)("Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.placeOrderBtnHoverColor,onChange:function(e){return o({placeOrderBtnHoverColor:e})}})),React.createElement(kt,{label:(0,re.__)("Background Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.placeOrderBtnHoverBGColor,onChange:function(e){return o({placeOrderBtnHoverBGColor:e})}})),React.createElement(kt,{label:(0,re.__)("Border Color","woolentor")},React.createElement(ne.ColorPalette,{value:t.placeOrderBtnHoverBorderColor,onChange:function(e){return o({placeOrderBtnHoverBorderColor:e})}})))))),React.createElement(rt,null,React.createElement(_t,{title:(0,re.__)("Dimension","woolentor")},React.createElement(It,{lavel:(0,re.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(_t,{title:(0,re.__)("Background","woolentor")},React.createElement(bo,{title:(0,re.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};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)}function c_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 s_(e,t){return s_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s_(e,t)}function u_(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 d_(e){return d_=Object.setPrototypeOf?Object.getPrototypeOf.bi