Advanced AJAX Product Filters - Version 1.5

Version Description

  • Enhancement - New styles for filters: Checkbox, Select, Slider, Color, Image
  • Enhancement - New slider styles
  • Enhancement - New buttons styles
  • Enhancement - Selected filters area horizontal styles
  • Enhancement - Single selection for check
  • Enhancement - Select and Select2 can be displayed on same time
  • Enhancement - Collapse widget option with different settings
  • Enhancement - Less JavaScript and HTML code for same result.
  • Enhancement - More compatibility with themes and plugins
  • Enhancement - Better compatibility with Divi Builder, Beaver Builder, Elementor Builder
  • Enhancement - Relevanssi compatibility
  • Enhancement - More ways to customize filters and add additional functionality
  • Enhancement - Option to set how hierarchical attribute must be displayed
  • Enhancement - Separate admin title and frontend title
  • Enhancement - Back button in browser on AJAX
  • Enhancement - All JavaScript in one minified file
  • Enhancement - All CSS Styles in one minified file
  • Enhancement - Checked style for image element style
  • Fix - Incompatibility with some themes
  • Fix - Some incompatibility with Windows server
  • Fix - Some incompatibility with MariaDB
  • Fix - Some issues with Nested Filters
  • Fix - A lot of small fixes
Download this release

Release Info

Developer RazyRx
Plugin Icon wp plugin Advanced AJAX Product Filters
Version 1.5
Comparing to
See all releases

Code changes from version 1.5beta to 1.5

Files changed (99) hide show
  1. addons/additional_tables/additional_tables.php +45 -14
  2. addons/deprecated_compat/deprecated_compat.php +2 -0
  3. addons/deprecated_filters/deprecated_filters.php +32 -8
  4. addons/deprecated_filters/display_widget.php +91 -1
  5. addons/deprecated_filters/filter_post.php +22 -22
  6. addons/deprecated_filters/widget.min.js +0 -1
  7. assets/admin/css/admin.css +109 -0
  8. assets/admin/css/single_filter_edit.css +29 -3
  9. assets/admin/js/admin.js +38 -1
  10. assets/admin/js/javascript_hide.js +0 -1
  11. assets/admin/js/single_filter_edit.js +1 -1
  12. assets/frontend/css/fullmain.min.css +1 -1
  13. assets/frontend/css/main.css +30 -0
  14. assets/frontend/css/main.min.css +1 -1
  15. assets/frontend/js/fullmain.min.js +2 -2
  16. assets/frontend/js/main.js +165 -43
  17. assets/frontend/js/main.min.js +2 -2
  18. berocket/assets/js/admin.js +9 -2
  19. berocket/assets/popup/br_popup.css +0 -6
  20. berocket/framework.php +1 -1
  21. berocket/framework_version.php +1 -1
  22. berocket/includes/conditions.php +13 -3
  23. berocket/libraries/popup.php +6 -5
  24. berocket/libraries/tippy.php +2 -2
  25. images/attention.png +0 -0
  26. images/themes/sidebar-button/1.png +0 -0
  27. images/themes/sidebar-button/10.png +0 -0
  28. images/themes/sidebar-button/2.png +0 -0
  29. images/themes/sidebar-button/3.png +0 -0
  30. images/themes/sidebar-button/4.png +0 -0
  31. images/themes/sidebar-button/5.png +0 -0
  32. images/themes/sidebar-button/6.png +0 -0
  33. images/themes/sidebar-button/7.png +0 -0
  34. images/themes/sidebar-button/8.png +0 -0
  35. images/themes/sidebar-button/9.png +0 -0
  36. images/themes/sidebar-shadow/1.png +0 -0
  37. images/themes/sidebar-shadow/2.png +0 -0
  38. images/themes/sidebar-shadow/b1.png +0 -0
  39. images/themes/sidebar-shadow/b2.png +0 -0
  40. images/themes/sidebar-shadow/bdefault.png +0 -0
  41. images/themes/sidebar-shadow/default.png +0 -0
  42. images/without-preview.png +0 -0
  43. includes/addons/seo_meta_title.php +13 -3
  44. includes/admin/admin_bar.php +114 -0
  45. includes/compatibility/beaver-builder.php +40 -0
  46. includes/compatibility/product-table.php +11 -4
  47. includes/compatibility/rank_math_seo.php +45 -0
  48. includes/custom_post.php +57 -27
  49. includes/divi-builder.php +8 -2
  50. includes/faster_recount.php +22 -8
  51. includes/filters/display_widget.php +15 -6
  52. includes/filters/dynamic_data_template.php +14 -8
  53. includes/filters/get_terms.php +9 -1
  54. includes/filters/get_terms_additional.php +6 -3
  55. includes/functions.php +57 -25
  56. includes/new_widget.php +26 -1
  57. includes/template_style.php +3 -2
  58. languages/BeRocket_AJAX_domain-ru_RU.mo +0 -0
  59. languages/BeRocket_AJAX_domain-ru_RU.po +2542 -1859
  60. languages/BeRocket_AJAX_domain.pot +1919 -1299
  61. main.php +208 -61
  62. readme.txt +54 -25
  63. template_styles/checkbox.php +28 -0
  64. template_styles/color.php +19 -0
  65. template_styles/images/button_default.png +0 -0
  66. template_styles/images/checkbox-hide.png +0 -0
  67. template_styles/images/checkbox.png +0 -0
  68. template_styles/images/color.png +0 -0
  69. template_styles/images/color_woborder.png +0 -0
  70. template_styles/images/image.png +0 -0
  71. template_styles/images/image_woborder.png +0 -0
  72. template_styles/images/new-slider-big.png +0 -0
  73. template_styles/images/new-slider-modern.png +0 -0
  74. template_styles/images/new-slider-round.png +0 -0
  75. template_styles/images/new-slider-sharp.png +0 -0
  76. template_styles/images/new-slider-square.png +0 -0
  77. template_styles/images/new-slider.png +0 -0
  78. template_styles/images/radio.png +0 -0
  79. template_styles/images/select.png +0 -0
  80. template_styles/images/select2.png +0 -0
  81. template_styles/images/select2classic.png +0 -0
  82. template_styles/images/selected_filters_area-inline.png +0 -0
  83. template_styles/images/selected_filters_area.png +0 -0
  84. template_styles/images/slider-after.png +0 -0
  85. template_styles/images/slider.png +0 -0
  86. template_styles/images/square.png +0 -0
  87. template_styles/select.php +5 -0
  88. template_styles/square.php +3 -1
  89. templates/color_ajax.php +1 -1
  90. templates/filter_post_simple.php +1 -23
  91. templates/filters/checkbox.php +3 -1
  92. templates/filters_group.php +0 -129
  93. templates/filters_information.php +37 -16
  94. templates/settings/design.php +4 -4
  95. templates/single_filter/single_settings_elements.php +34 -21
  96. templates/single_filter/widget_type.php +18 -4
  97. wizard/main.php +2 -2
  98. wizard/wizard.js +1 -1
  99. woocommerce-filters.php +3 -3
addons/additional_tables/additional_tables.php CHANGED
@@ -42,7 +42,12 @@ class BeRocket_aapf_variations_tables_addon extends BeRocket_framework_addon_lib
42
  $this->activate();
43
  $create_position = $this->get_current_create_position();
44
  if( $create_position < $this->last_postion ) {
45
- $this->activate_hooks();
 
 
 
 
 
46
  }
47
  }
48
  } else {
@@ -82,17 +87,17 @@ class BeRocket_aapf_variations_tables_addon extends BeRocket_framework_addon_lib
82
  if( $current_position == -1 ) {
83
  $current_position = $this->get_current_create_position();
84
  }
85
- if( empty($current_position) ) {
86
  $this->create_table_braapf_term_taxonomy_hierarchical();
87
- } elseif( $current_position == 2 ) {
88
  $this->create_table_braapf_product_stock_status_parent();
89
  } elseif( $current_position == 3 && $brajax ) {
90
  $this->insert_table_braapf_product_stock_status_parent();
91
- } elseif( $current_position == 4 ) {
92
  $this->create_table_braapf_product_variation_attributes();
93
  } elseif( $current_position == 5 && $brajax ) {
94
  $this->insert_table_braapf_product_variation_attributes();
95
- } elseif( $current_position == 6 ) {
96
  $this->create_table_braapf_variation_attributes();
97
  } elseif( $current_position == 7 && $brajax ) {
98
  $this->insert_table_braapf_variation_attributes();
@@ -116,22 +121,41 @@ class BeRocket_aapf_variations_tables_addon extends BeRocket_framework_addon_lib
116
  }
117
  }
118
  function activate_hooks() {
119
- add_action('berocket_create_table_braapf_product_stock_status_parent', array($this, 'insert_table_braapf_product_stock_status_parent'), 10, 3);
120
- add_action('berocket_create_table_braapf_product_variation_attributes', array($this, 'insert_table_braapf_product_variation_attributes'), 10, 3);
121
- add_action('berocket_create_table_braapf_variation_attributes', array($this, 'insert_table_braapf_variation_attributes'), 10);
122
- //Notices
 
 
 
 
 
123
  add_filter('berocket_display_additional_notices', array($this, 'status_notice'));
124
- add_action( "wp_ajax_braapf_additional_table_status", array( $this, 'get_global_status_ajax' ) );
125
- add_action( "wp_footer", array( $this, 'script_update' ) );
126
- add_action( "admin_footer", array( $this, 'script_update' ) );
127
  }
128
  function status_notice($notices) {
129
- $current_status = $this->get_current_global_status();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
130
  $notices[] = array(
131
  'start' => 0,
132
  'end' => 0,
133
  'name' => $this->plugin_name.'_additional_table_status',
134
- 'html' => '<strong>BeRocket AJAX Product Filters</strong> '.sprintf(__('Additional tables are generating. They will be used after generation is completed. Current status is <strong><span class="braapf_additional_table_status">%d</span>%s</strong>', 'BeRocket_AJAX_domain'), $current_status, '%'),
135
  'righthtml' => '',
136
  'rightwidth' => 0,
137
  'nothankswidth' => 0,
@@ -545,5 +569,12 @@ class BeRocket_aapf_variations_tables_addon extends BeRocket_framework_addon_lib
545
  'run' => false,
546
  ));
547
  }
 
 
 
 
 
 
 
548
  }
549
  new BeRocket_aapf_variations_tables_addon();
42
  $this->activate();
43
  $create_position = $this->get_current_create_position();
44
  if( $create_position < $this->last_postion ) {
45
+ add_action('admin_init', array($this, 'activate_hooks'));
46
+ }
47
+ add_action( "admin_footer", array( $this, 'destroy_table_wc_regeneration' ) );
48
+ } elseif(is_admin()) {
49
+ if( ! empty($create_position) ) {
50
+ add_action( "admin_footer", array( $this, 'destroy_table_wc_regeneration' ) );
51
  }
52
  }
53
  } else {
87
  if( $current_position == -1 ) {
88
  $current_position = $this->get_current_create_position();
89
  }
90
+ if( empty($current_position) && $brajax ) {
91
  $this->create_table_braapf_term_taxonomy_hierarchical();
92
+ } elseif( $current_position == 2 && $brajax ) {
93
  $this->create_table_braapf_product_stock_status_parent();
94
  } elseif( $current_position == 3 && $brajax ) {
95
  $this->insert_table_braapf_product_stock_status_parent();
96
+ } elseif( $current_position == 4 && $brajax ) {
97
  $this->create_table_braapf_product_variation_attributes();
98
  } elseif( $current_position == 5 && $brajax ) {
99
  $this->insert_table_braapf_product_variation_attributes();
100
+ } elseif( $current_position == 6 && $brajax ) {
101
  $this->create_table_braapf_variation_attributes();
102
  } elseif( $current_position == 7 && $brajax ) {
103
  $this->insert_table_braapf_variation_attributes();
121
  }
122
  }
123
  function activate_hooks() {
124
+ if( ! wc_update_product_lookup_tables_is_running() ) {
125
+ add_action('berocket_create_table_braapf_product_stock_status_parent', array($this, 'insert_table_braapf_product_stock_status_parent'), 10, 3);
126
+ add_action('berocket_create_table_braapf_product_variation_attributes', array($this, 'insert_table_braapf_product_variation_attributes'), 10, 3);
127
+ add_action('berocket_create_table_braapf_variation_attributes', array($this, 'insert_table_braapf_variation_attributes'), 10);
128
+ //Notices
129
+ add_action( "wp_ajax_braapf_additional_table_status", array( $this, 'get_global_status_ajax' ) );
130
+ add_action( "wp_footer", array( $this, 'script_update' ) );
131
+ add_action( "admin_footer", array( $this, 'script_update' ) );
132
+ }
133
  add_filter('berocket_display_additional_notices', array($this, 'status_notice'));
 
 
 
134
  }
135
  function status_notice($notices) {
136
+ if( ! function_exists('wc_update_product_lookup_tables_is_running') ) {
137
+ $text = __('WooCommerce do not have needed table for Additional Table add-on. Add-on required WooCommerce 3.6 or newer', 'BeRocket_AJAX_domain');
138
+ } elseif( wc_update_product_lookup_tables_is_running() ) {
139
+ $text = __('WooCommerce <strong>Product lookup tables</strong> right now regenerating', 'BeRocket_AJAX_domain');
140
+ } else {
141
+ $current_status = $this->get_current_global_status();
142
+ $text = sprintf(__('Additional tables are generating. They will be used after generation is completed. Current status is <strong><span class="braapf_additional_table_status">%d</span>%s</strong>', 'BeRocket_AJAX_domain'), $current_status, '%');
143
+ $current_position = $this->get_current_create_position();
144
+ if( $current_position == 3 ) {
145
+ $run_data = $this->get_current_create_position_data();
146
+ if ( ! empty($run_data) && is_array($run_data) && isset($run_data['min_id']) && isset($run_data['max_id'])
147
+ && ( intval($run_data['max_id']) - intval($run_data['min_id']) ) > 1000000 ) {
148
+ $url = admin_url('admin.php?page=wc-status&tab=tools');
149
+ global $wpdb;
150
+ $text .= '<p>' . __('Seems you have some issue with Product lookup tables. Please try to remove all data from table', 'BeRocket_AJAX_domain') . ' <strong>'.$wpdb->prefix.'wc_product_meta_lookup</strong> ' . __('and regenerate it in ', 'BeRocket_AJAX_domain'). '<a href="'.$url.'">WooCommerce -> Status -> Tools</a></p>';
151
+ }
152
+ }
153
+ }
154
  $notices[] = array(
155
  'start' => 0,
156
  'end' => 0,
157
  'name' => $this->plugin_name.'_additional_table_status',
158
+ 'html' => '<strong>BeRocket AJAX Product Filters</strong> '.$text,
159
  'righthtml' => '',
160
  'rightwidth' => 0,
161
  'nothankswidth' => 0,
569
  'run' => false,
570
  ));
571
  }
572
+ function destroy_table_wc_regeneration() {
573
+ if ( wc_update_product_lookup_tables_is_running() ) {
574
+ delete_option('BeRocket_aapf_additional_tables_addon_position');
575
+ delete_option('BeRocket_aapf_additional_tables_addon_position_data');
576
+ $this->deactivate();
577
+ }
578
+ }
579
  }
580
  new BeRocket_aapf_variations_tables_addon();
addons/deprecated_compat/deprecated_compat.php ADDED
@@ -0,0 +1,2 @@
 
 
1
+ <?php
2
+ //fix fatal errors for replace method
addons/deprecated_filters/deprecated_filters.php CHANGED
@@ -28,6 +28,7 @@ class BeRocket_aapf_deprecated_compat_addon extends BeRocket_framework_addon_lib
28
  add_filter( 'berocket_filter_filter_type_array', array($this, 'filter_filter_type_array'), 20 );
29
  add_filter( 'brfr_data_ajax_filters', array($this, 'plugin_settings_page'), 50) ;
30
  add_filter( 'brfr_ajax_filters_old_design', array($this, 'section_old_design'), 50, 3) ;
 
31
  update_option('braapf_new_filters_converted', false);
32
  }
33
  function wp() {
@@ -45,7 +46,20 @@ class BeRocket_aapf_deprecated_compat_addon extends BeRocket_framework_addon_lib
45
  wp_register_script( 'berocket_aapf_widget-tag_cloud', plugins_url( 'j.doe.cloud.min.js', __FILE__ ), array( 'jquery-ui-core' ), BeRocket_AJAX_filters_version );
46
  }
47
  function enqueue_scripts($enqueue) {
48
- BeRocket_AAPF::wp_enqueue_script('braapf-deprecated-admin-js', plugins_url( '/assets/admin/js/admin.js', __FILE__ ), array('jquery') );
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  return false;
50
  }
51
  function settings_meta($isuse, $clthis, $post) {
@@ -90,23 +104,23 @@ class BeRocket_aapf_deprecated_compat_addon extends BeRocket_framework_addon_lib
90
  }
91
  });
92
  </script>';
93
- $popup_text = '<h2>'. __('ATTENTION! After disabling this addon all filters will be converted to new version and there is no way to convert it back', 'BeRocket_AJAX_domain') . '</h2>'
94
- . '<p><strong>' . __('Please try to do it on some staging/local/development site before doing it on live site', 'BeRocket_AJAX_domain') . '</strong></p>'
95
- . __('Please check those things after addon disabling (it will be disabled after settings save)', 'BeRocket_AJAX_domain')
96
  . '<ol>'
97
- . '<li>' . __('Filters on Frontend, how it looks and how it works. Some styles can be different from what it was before', 'BeRocket_AJAX_domain') . '</li>';
98
  if( ! empty($options['user_custom_css']) ) {
99
- $popup_text .= '<li>' . __('You have some Custom CSS. It can do not work at all, because all classes new, but maybe you can now doing same things with our new styles', 'BeRocket_AJAX_domain') . '</li>';
100
  }
101
  if( ! empty($options['javascript']) && (
102
  ! empty($options['javascript']['berocket_ajax_filtering_start'])
103
  || ! empty($options['javascript']['berocket_ajax_filtering_start'])
104
  || ! empty($options['javascript']['berocket_ajax_filtering_start'])
105
  ) ) {
106
- $popup_text .= '<li>' . __('You have some Custom JavaScript. In most cases it will work correct, because it is some fix for your theme or other plugins, but if you changed something inside filters, then it can break your page at all. Please check that it is correct', 'BeRocket_AJAX_domain') . '</li>';
107
  }
108
  $popup_text .= '</ol>'
109
- . '<p><strong>' . __('Are you ready to disable it?... It can break your site... Or maybe not, whos know it.', 'BeRocket_AJAX_domain') . '</strong></p>';
110
 
111
  BeRocket_popup_display::add_popup(
112
  array(
@@ -416,5 +430,15 @@ class BeRocket_aapf_deprecated_compat_addon extends BeRocket_framework_addon_lib
416
  echo '<style type="text/css">' . $result_css . '</style>';
417
  }
418
  }
 
 
 
 
 
 
 
 
 
 
419
  }
420
  new BeRocket_aapf_deprecated_compat_addon();
28
  add_filter( 'berocket_filter_filter_type_array', array($this, 'filter_filter_type_array'), 20 );
29
  add_filter( 'brfr_data_ajax_filters', array($this, 'plugin_settings_page'), 50) ;
30
  add_filter( 'brfr_ajax_filters_old_design', array($this, 'section_old_design'), 50, 3) ;
31
+ add_filter( 'ajax_filters_get_template_part', array($this, 'deprecated_template_get'), 10, 2 );
32
  update_option('braapf_new_filters_converted', false);
33
  }
34
  function wp() {
46
  wp_register_script( 'berocket_aapf_widget-tag_cloud', plugins_url( 'j.doe.cloud.min.js', __FILE__ ), array( 'jquery-ui-core' ), BeRocket_AJAX_filters_version );
47
  }
48
  function enqueue_scripts($enqueue) {
49
+ BeRocket_AAPF::wp_enqueue_script('braapf-deprecated-admin-js', plugins_url( '/admin.js', __FILE__ ), array('jquery') );
50
+ wp_localize_script(
51
+ 'braapf-deprecated-admin-js',
52
+ 'aapf_admin_text',
53
+ array(
54
+ 'checkbox_text' => __('Checkbox', 'BeRocket_AJAX_domain'),
55
+ 'radio_text' => __('Radio', 'BeRocket_AJAX_domain'),
56
+ 'select_text' => __('Select', 'BeRocket_AJAX_domain'),
57
+ 'color_text' => __('Color', 'BeRocket_AJAX_domain'),
58
+ 'image_text' => __('Image', 'BeRocket_AJAX_domain'),
59
+ 'slider_text' => __('Slider', 'BeRocket_AJAX_domain'),
60
+ 'tag_cloud_text' => __('Tag cloud', 'BeRocket_AJAX_domain'),
61
+ )
62
+ );
63
  return false;
64
  }
65
  function settings_meta($isuse, $clthis, $post) {
104
  }
105
  });
106
  </script>';
107
+ $popup_text = '<h2>'. __('ATTENTION! After disabling this addon all filters will be converted to new version and there is no way to convert them back automatically.', 'BeRocket_AJAX_domain') . '</h2>'
108
+ . '<p><strong>' . __('We recommend you to try it on a staging/dev/local site first.', 'BeRocket_AJAX_domain') . '</strong></p>'
109
+ . __('Please check this on addon deactivation (it will be deactivated when settings saved).', 'BeRocket_AJAX_domain')
110
  . '<ol>'
111
+ . '<li>' . __('Filters on Front-end, how they looks and works. Some styles can differ in new version.', 'BeRocket_AJAX_domain') . '</li>';
112
  if( ! empty($options['user_custom_css']) ) {
113
+ $popup_text .= '<li>' . __('You have Custom CSS. Most likely it won\'t work without this addon. You will need to update it as CSS classes were changed.', 'BeRocket_AJAX_domain') . '</li>';
114
  }
115
  if( ! empty($options['javascript']) && (
116
  ! empty($options['javascript']['berocket_ajax_filtering_start'])
117
  || ! empty($options['javascript']['berocket_ajax_filtering_start'])
118
  || ! empty($options['javascript']['berocket_ajax_filtering_start'])
119
  ) ) {
120
+ $popup_text .= '<li>' . __('You have Custom Javascript. You need to check it after turning off this addon. It can work correctly same as stop working.', 'BeRocket_AJAX_domain') . '</li>';
121
  }
122
  $popup_text .= '</ol>'
123
+ . '<p><strong>' . __('Do you want to disable it anyway?', 'BeRocket_AJAX_domain') . '</strong></p>';
124
 
125
  BeRocket_popup_display::add_popup(
126
  array(
430
  echo '<style type="text/css">' . $result_css . '</style>';
431
  }
432
  }
433
+ function deprecated_template_get($template, $name) {
434
+ if( strpos($name, 'old_templates/') !== FALSE ) {
435
+ $new_name = str_replace('old_templates/', '', $name);
436
+ $new_template = locate_template( "woocommerce-ajax_filters/{$new_name}.php" );
437
+ if( $new_template ) {
438
+ $template = $new_template;
439
+ }
440
+ }
441
+ return $template;
442
+ }
443
  }
444
  new BeRocket_aapf_deprecated_compat_addon();
addons/deprecated_filters/display_widget.php CHANGED
@@ -554,7 +554,97 @@ class BeRocket_AAPF_Widget {
554
  } elseif( $type == 'select' ) {
555
  $set_query_var_title['select_multiple'] = ! empty($select_multiple);
556
  }
557
- $set_query_var_title = apply_filters('berocket_query_var_title_before_widget', $set_query_var_title, $type, $instance, $args, $terms);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
558
  set_query_var( 'berocket_query_var_title', $set_query_var_title);
559
  br_get_template_part( 'old_templates/'.apply_filters('berocket_widget_load_template_name', $type, $instance, (empty($terms) ? '' : $terms)) );
560
 
554
  } elseif( $type == 'select' ) {
555
  $set_query_var_title['select_multiple'] = ! empty($select_multiple);
556
  }
557
+ $slider_with_string = false;
558
+ $stringed_is_numeric = true;
559
+ $slider_step = 1;
560
+ if ( $filter_type == 'attribute' && $attribute == 'price' && $type == 'slider' ) {
561
+ $min = $max = false;
562
+ $main_class = 'slider';
563
+ $slider_class = 'berocket_filter_slider';
564
+
565
+ wp_localize_script(
566
+ 'berocket_aapf_widget-script',
567
+ 'br_price_text',
568
+ array(
569
+ 'before' => (isset($text_before_price) ? $text_before_price : ''),
570
+ 'after' => (isset($text_after_price) ? $text_after_price : ''),
571
+ )
572
+ );
573
+ if ( ! empty($price_values) ) {
574
+ $price_range = explode( ",", $price_values );
575
+ } else {
576
+ $price_range = BeRocket_AAPF_Widget_functions::get_price_range( ( isset($cat_value_limit) ? $cat_value_limit : null ) );
577
+ }
578
+ if ( ! empty($price_values) ) {
579
+ $all_terms_name = $price_range;
580
+ $all_terms_slug = $price_range;
581
+ $stringed_is_numeric = true;
582
+ $min = 0;
583
+ $max = count( $all_terms_name ) - 1;
584
+ $slider_with_string = true;
585
+ } else {
586
+ if( $price_range ) {
587
+ foreach ( $price_range as $price ) {
588
+ if ( $min === false or $min > (int) $price ) {
589
+ $min = $price;
590
+ }
591
+ if ( $max === false or $max < (int) $price ) {
592
+ $max = $price;
593
+ }
594
+ }
595
+ }
596
+ if( $use_min_price ) {
597
+ $min = $min_price;
598
+ }
599
+ if ( $use_max_price ) {
600
+ $max = $max_price;
601
+ }
602
+ }
603
+ if( ! empty($_POST['price']) ) {
604
+ if ( ! empty($price_values) ) {
605
+ $slider_value1 = array_search( $_POST['price'][0], $all_terms_name );
606
+ $slider_value2 = array_search( $_POST['price'][1], $all_terms_name );
607
+ } else {
608
+ $slider_value1 = apply_filters('berocket_price_filter_widget_min_amount', apply_filters('berocket_price_slider_widget_min_amount', apply_filters('woocommerce_price_filter_widget_min_amount', $_POST['price'][0])), $_POST['price'][0]);
609
+ $slider_value2 = apply_filters('berocket_price_filter_widget_max_amount', apply_filters('berocket_price_slider_widget_max_amount', apply_filters('woocommerce_price_filter_widget_max_amount', $_POST['price'][1])), $_POST['price'][1]);
610
+ }
611
+ } else {
612
+ $slider_value1 = $min;
613
+ $slider_value2 = $max;
614
+ }
615
+ $id = 'br_price';
616
+ $slider_class .= ' berocket_filter_price_slider';
617
+ $main_class .= ' price';
618
+
619
+ $min = floor( $min );
620
+ $max = ceil( $max );
621
+
622
+ $wpml_id = preg_replace( '#^pa_#', '', $id );
623
+ $wpml_id = 'pa_'.berocket_wpml_attribute_translate($wpml_id);
624
+ $set_query_var_title['slider_value1'] = $slider_value1;
625
+ $set_query_var_title['slider_value2'] = $slider_value2;
626
+ $set_query_var_title['filter_slider_id'] = $wpml_id;
627
+ $set_query_var_title['main_class'] = $main_class;
628
+ $set_query_var_title['slider_class'] = $slider_class;
629
+ $set_query_var_title['min'] = $min;
630
+ $set_query_var_title['max'] = $max;
631
+ $set_query_var_title['step'] = $slider_step;
632
+ $set_query_var_title['slider_with_string'] = $slider_with_string;
633
+ $set_query_var_title['all_terms_name'] = ( empty($all_terms_name) ? null : $all_terms_name );
634
+ $set_query_var_title['all_terms_slug'] = ( empty($all_terms_slug) ? null : $all_terms_slug );
635
+ $set_query_var_title['text_before_price'] = (isset($text_before_price) ? $text_before_price : null);
636
+ $set_query_var_title['text_after_price'] = (isset($text_after_price) ? $text_after_price : null);
637
+ $set_query_var_title['enable_slider_inputs'] = (isset($enable_slider_inputs) ? $enable_slider_inputs : null);
638
+ if( ! empty($number_style) ) {
639
+ $set_query_var_title['number_style'] = array(
640
+ ( empty($number_style_thousand_separate) ? '' : $number_style_thousand_separate ),
641
+ ( empty($number_style_decimal_separate) ? '' : $number_style_decimal_separate ),
642
+ ( empty($number_style_decimal_number) ? '' : $number_style_decimal_number )
643
+ );
644
+ } else {
645
+ $set_query_var_title['number_style'] = '';
646
+ }
647
+ }
648
  set_query_var( 'berocket_query_var_title', $set_query_var_title);
649
  br_get_template_part( 'old_templates/'.apply_filters('berocket_widget_load_template_name', $type, $instance, (empty($terms) ? '' : $terms)) );
650
 
addons/deprecated_filters/filter_post.php CHANGED
@@ -12,12 +12,12 @@ if( empty($instance['attribute']) ) {
12
  $instance['attribute'] = 'price';
13
  }
14
  if( ! empty($instance['version']) ) {
15
- $popup_text = '<h2>' . __('ATTENTION! This filter was created with new styles and settings', 'BeRocket_AJAX_domain') . '</h2>'
16
- . '<p>' . __('Plugin do not have feature to meve it back to old(DEPRECATED) version.', 'BeRocket_AJAX_domain') . '</p>'
17
- . '<p>' . __('If you enable old(DEPRECATED) filters, because you have some issue with it, then please ', 'BeRocket_AJAX_domain')
18
- . '<a target="_blank" href="https://berocket.com/contact">' . __('CONTACT US', 'BeRocket_AJAX_domain') . '</a>' . '</p>'
19
- . '<p>' . __('When you save it as old(DEPRECATED) filter ALL data will be losed', 'BeRocket_AJAX_domain') . '</p>'
20
- . '<p><strong>' . __('Are you want edit it anyway?', 'BeRocket_AJAX_domain') . '</strong></p>';
21
  BeRocket_popup_display::add_popup(
22
  array(
23
  'yes_no_buttons' => array(
@@ -284,7 +284,7 @@ if( ! empty($instance['version']) ) {
284
  <br />
285
  <label>
286
  <input class="braapf_show_last_to_infinity" type="checkbox" name="<?php echo $post_name.'[show_last_to_infinity]'; ?>" <?php if ( ! empty($instance['show_last_to_infinity']) ) echo 'checked'; ?> value="1" />
287
- <?php _e('Show last range to the infinity', 'BeRocket_AJAX_domain') ?>
288
  </label>
289
  <br />
290
  <label class="braapf_to_infinity_text"<?php if ( empty($instance['show_last_to_infinity']) ) echo 'style="display:none;"'; ?>>
@@ -320,7 +320,7 @@ if( ! empty($instance['version']) ) {
320
  <span>%cur_symbol% will be replaced with currency symbol($)<br/>%cur_slug% will be replaced with currency code(USD)</span><br>
321
  <div class="berocket_aapf_widget_admin_ranges_hide" style="<?php echo ($instance['type'] == 'ranges' ? 'display: none;' : '' ) ?>">
322
  <input id="<?php echo 'enable_slider_inputs'; ?>" type="checkbox" name="<?php echo $post_name.'[enable_slider_inputs]'; ?>" value="1"<?php if( ! empty($instance['enable_slider_inputs']) ) echo ' checked'; ?>/>
323
- <label for="<?php echo 'enable_slider_inputs'; ?>"><?php _e('Enable Slider Inputs', 'BeRocket_AJAX_domain') ?> </label>
324
  </div>
325
  </div>
326
  <div <?php if ( $instance['filter_type'] != 'attribute' || $instance['attribute'] != 'price' ) echo " style='display: none;'"; ?> class="berocket_aapf_widget_admin_price_attribute" >
@@ -378,7 +378,7 @@ if( ! empty($instance['version']) ) {
378
  </div>
379
  <div class="berocket_options_for_select"<?php if( ( $instance['filter_type'] != 'tag' and $instance['filter_type'] != 'custom_taxonomy' and $instance['filter_type'] != 'attribute' and $instance['filter_type'] != 'product_cat' ) or $instance['type'] != 'select' ) echo ' style="display:none;"'; ?>>
380
  <div>
381
- <label for="<?php echo 'select_first_element_text'; ?>"><?php _e('First Element Text', 'BeRocket_AJAX_domain') ?> </label>
382
  <input placeholder="<?php _e('Any', 'BeRocket_AJAX_domain'); ?>" id="<?php echo 'select_first_element_text'; ?>" type="text" name="<?php echo $post_name.'[select_first_element_text]'; ?>" value="<?php echo $instance['select_first_element_text']; ?>" />
383
  </div>
384
  <div>
@@ -395,7 +395,7 @@ if( ! empty($instance['version']) ) {
395
  'attribute_count' => '
396
  <div class="berocket_attributes_checkbox_radio_data"'
397
  .( ( ( $instance['filter_type'] != 'custom_taxonomy' and $instance['filter_type'] != 'attribute' ) or ( $instance['type'] != 'checkbox' and $instance['type'] != 'radio' and $instance['type'] != 'color' and $instance['type'] != 'image' )) ? ' style="display:none;"' : '' ).'>
398
- <label for="attribute_count">'.__('Attribute Values count', 'BeRocket_AJAX_domain').'</label>
399
  <input id="attribute_count" type="number" name="'.$post_name.'[attribute_count]" placeholder="'.__('From settings', 'BeRocket_AJAX_domain').'" value="'.$instance['attribute_count'].'" />
400
  <div>'.__('Show/Hide button', 'BeRocket_AJAX_domain').'
401
  <select name="'.$post_name.'[attribute_count_show_hide]">
@@ -413,15 +413,15 @@ if( ! empty($instance['version']) ) {
413
  </div>
414
  <div class="berocket_attributes_number_styles"'.( empty($instance['number_style']) ? ' style="display:none;"' : '' ).'>
415
  <div>
416
- <label for="number_style_thousand_separate">'.__('Thousand Separator', 'BeRocket_AJAX_domain').'</label>
417
  <input id="number_style_thousand_separate" type="text" name="'.$post_name.'[number_style_thousand_separate]" value="'.$instance['number_style_thousand_separate'].'" />
418
  </div>
419
  <div>
420
- <label for="number_style_decimal_separate">'.__('Decimal Separator', 'BeRocket_AJAX_domain').'</label>
421
  <input id="number_style_decimal_separate" type="text" name="'.$post_name.'[number_style_decimal_separate]" value="'.$instance['number_style_decimal_separate'].'" />
422
  </div>
423
  <div>
424
- <label for="number_style_decimal_number">'.__('Number Of Decimal', 'BeRocket_AJAX_domain').'</label>
425
  <input id="number_style_decimal_number" type="number" name="'.$post_name.'[number_style_decimal_number]" value="'.$instance['number_style_decimal_number'].'" />
426
  </div>
427
  </div>
@@ -436,19 +436,19 @@ if( ! empty($instance['version']) ) {
436
  'widget_collapse_enable' => '
437
  <div>
438
  <input id="widget_collapse_enable" type="checkbox" name="'.$post_name.'[widget_collapse_enable]"'.( empty($instance['widget_collapse_enable']) ? '' : ' checked' ).' value="1" />
439
- <label for="widget_collapse_enable">'.__('Enable collapse option', 'BeRocket_AJAX_domain').'</label>
440
  </div>
441
  ',
442
  'widget_is_hide' =>'
443
  <div class="berocket_aapf_widget_is_hide">
444
  <input id="widget_is_hide" type="checkbox" name="'.$post_name.'[widget_is_hide]"'.( empty($instance['widget_is_hide']) ? '' : ' checked' ).' value="1" />
445
- <label for="widget_is_hide">'.__('Collapse this widget on load?', 'BeRocket_AJAX_domain').'</label>
446
  </div>
447
  ',
448
  'hide_collapse_arrow' => '
449
  <div class="berocket_aapf_hide_collapse_arrow">
450
  <input id="hide_collapse_arrow" type="checkbox" name="'.$post_name.'[hide_collapse_arrow]"'.( empty($instance['hide_collapse_arrow']) ? '' : ' checked' ).' value="1" />
451
- <label for="hide_collapse_arrow">'.__('Hide collapse arrow?', 'BeRocket_AJAX_domain').'</label>
452
  </div>
453
  ',
454
  'hide_child_attributes' => '
@@ -465,7 +465,7 @@ if( ! empty($instance['version']) ) {
465
  <div class="berocket_aapf_advanced_color_pick_settings"<?php if ( $instance['type'] != 'color' && $instance['type'] != 'image' ) echo " style='display: none;'"; ?>>
466
  <div>
467
  <input id="<?php echo 'use_value_with_color'; ?>" type="checkbox" name="<?php echo $post_name.'[use_value_with_color]'; ?>" <?php if ( $instance['use_value_with_color'] ) echo 'checked'; ?> value="1" />
468
- <label for="<?php echo 'use_value_with_color'; ?>"><?php _e('Display value with color/image box?', 'BeRocket_AJAX_domain') ?></label>
469
  </div>
470
  <div>
471
  <input id="<?php echo 'disable_multiple'; ?>" type="checkbox" name="<?php echo $post_name.'[disable_multiple]'; ?>" <?php if ( ! empty( $instance['disable_multiple'] ) ) echo 'checked'; ?> value="1" />
@@ -502,7 +502,7 @@ if( ! empty($instance['version']) ) {
502
  </div>
503
  </div>
504
  <div>
505
- <label for="color_image_checked"><?php _e('Checked type', 'BeRocket_AJAX_domain') ?></label>
506
  <select id="color_image_checked" name="<?php echo $post_name; ?>[color_image_checked]">
507
  <?php
508
  $color_image_sizes = array(
@@ -591,11 +591,11 @@ if( ! empty($instance['version']) ) {
591
  <div class="br_clearfix"></div>
592
  </div>
593
  <div>
594
- <label for="<?php echo 'height'; ?>"><?php _e('Filter Box Height:', 'BeRocket_AJAX_domain') ?> </label>
595
  <input id="<?php echo 'height'; ?>" type="text" name="<?php echo $post_name.'[height]'; ?>" value="<?php echo $instance['height']; ?>" class="berocket_aapf_widget_admin_height_input" />px
596
  </div>
597
  <div>
598
- <label for="<?php echo 'scroll_theme'; ?>"><?php _e('Scroll Theme:', 'BeRocket_AJAX_domain') ?> </label>
599
  <select id="<?php echo 'scroll_theme'; ?>" name="<?php echo $post_name.'[scroll_theme]'; ?>" class="berocket_aapf_widget_admin_scroll_theme_select br_select_menu_left">
600
  <?php
601
  $scroll_themes = array("light", "dark", "minimal", "minimal-dark", "light-2", "dark-2", "light-3", "dark-3", "light-thick", "dark-thick", "light-thin",
@@ -620,13 +620,13 @@ if( ! empty($instance['version']) ) {
620
  <div>
621
  <label>
622
  <input type="checkbox" name="<?php echo $post_name.'[hide_selected_arrow]'; ?>" <?php if ( $instance['hide_selected_arrow'] ) echo 'checked'; ?> value="1" />
623
- <?php _e('Hide collapse arrow?', 'BeRocket_AJAX_domain') ?>
624
  </label>
625
  </div>
626
  <div>
627
  <label>
628
  <input type="checkbox" name="<?php echo $post_name.'[selected_is_hide]'; ?>" <?php if ( $instance['selected_is_hide'] ) echo 'checked'; ?> value="1" />
629
- <?php _e('Hide this widget on load?', 'BeRocket_AJAX_domain') ?>
630
  </label>
631
  </div>
632
  </div>
12
  $instance['attribute'] = 'price';
13
  }
14
  if( ! empty($instance['version']) ) {
15
+ $popup_text = '<h2>' . __('ATTENTION! This filter was created with new styles and settings.', 'BeRocket_AJAX_domain') . '</h2>'
16
+ . '<p>' . __('Plugin do not have feature to move it back to old(DEPRECATED) version automatically.', 'BeRocket_AJAX_domain') . '</p>'
17
+ . '<p>' . __('If you enabled old(DEPRECATED) filters addon because you have some issues with new version, then please ', 'BeRocket_AJAX_domain')
18
+ . '<a target="_blank" href="https://berocket.com/contact?step=issue&plugin=1">' . __('CONTACT US', 'BeRocket_AJAX_domain') . '.</a>' . '</p>'
19
+ . '<p>' . __('You will need to re-create the filter while moving from new to old version.', 'BeRocket_AJAX_domain') . '</p>'
20
+ . '<p><strong>' . __('Do you want to edit anyway?', 'BeRocket_AJAX_domain') . '</strong></p>';
21
  BeRocket_popup_display::add_popup(
22
  array(
23
  'yes_no_buttons' => array(
284
  <br />
285
  <label>
286
  <input class="braapf_show_last_to_infinity" type="checkbox" name="<?php echo $post_name.'[show_last_to_infinity]'; ?>" <?php if ( ! empty($instance['show_last_to_infinity']) ) echo 'checked'; ?> value="1" />
287
+ <?php _e('Replace the last range value with an infinity symbol', 'BeRocket_AJAX_domain') ?>
288
  </label>
289
  <br />
290
  <label class="braapf_to_infinity_text"<?php if ( empty($instance['show_last_to_infinity']) ) echo 'style="display:none;"'; ?>>
320
  <span>%cur_symbol% will be replaced with currency symbol($)<br/>%cur_slug% will be replaced with currency code(USD)</span><br>
321
  <div class="berocket_aapf_widget_admin_ranges_hide" style="<?php echo ($instance['type'] == 'ranges' ? 'display: none;' : '' ) ?>">
322
  <input id="<?php echo 'enable_slider_inputs'; ?>" type="checkbox" name="<?php echo $post_name.'[enable_slider_inputs]'; ?>" value="1"<?php if( ! empty($instance['enable_slider_inputs']) ) echo ' checked'; ?>/>
323
+ <label for="<?php echo 'enable_slider_inputs'; ?>"><?php _e('Enable Slider input fields', 'BeRocket_AJAX_domain') ?> </label>
324
  </div>
325
  </div>
326
  <div <?php if ( $instance['filter_type'] != 'attribute' || $instance['attribute'] != 'price' ) echo " style='display: none;'"; ?> class="berocket_aapf_widget_admin_price_attribute" >
378
  </div>
379
  <div class="berocket_options_for_select"<?php if( ( $instance['filter_type'] != 'tag' and $instance['filter_type'] != 'custom_taxonomy' and $instance['filter_type'] != 'attribute' and $instance['filter_type'] != 'product_cat' ) or $instance['type'] != 'select' ) echo ' style="display:none;"'; ?>>
380
  <div>
381
+ <label for="<?php echo 'select_first_element_text'; ?>"><?php _e('Text of the first element', 'BeRocket_AJAX_domain') ?> </label>
382
  <input placeholder="<?php _e('Any', 'BeRocket_AJAX_domain'); ?>" id="<?php echo 'select_first_element_text'; ?>" type="text" name="<?php echo $post_name.'[select_first_element_text]'; ?>" value="<?php echo $instance['select_first_element_text']; ?>" />
383
  </div>
384
  <div>
395
  'attribute_count' => '
396
  <div class="berocket_attributes_checkbox_radio_data"'
397
  .( ( ( $instance['filter_type'] != 'custom_taxonomy' and $instance['filter_type'] != 'attribute' ) or ( $instance['type'] != 'checkbox' and $instance['type'] != 'radio' and $instance['type'] != 'color' and $instance['type'] != 'image' )) ? ' style="display:none;"' : '' ).'>
398
+ <label for="attribute_count">'.__('Number of Attribute values', 'BeRocket_AJAX_domain').'</label>
399
  <input id="attribute_count" type="number" name="'.$post_name.'[attribute_count]" placeholder="'.__('From settings', 'BeRocket_AJAX_domain').'" value="'.$instance['attribute_count'].'" />
400
  <div>'.__('Show/Hide button', 'BeRocket_AJAX_domain').'
401
  <select name="'.$post_name.'[attribute_count_show_hide]">
413
  </div>
414
  <div class="berocket_attributes_number_styles"'.( empty($instance['number_style']) ? ' style="display:none;"' : '' ).'>
415
  <div>
416
+ <label for="number_style_thousand_separate">'.__('Thousands separator', 'BeRocket_AJAX_domain').'</label>
417
  <input id="number_style_thousand_separate" type="text" name="'.$post_name.'[number_style_thousand_separate]" value="'.$instance['number_style_thousand_separate'].'" />
418
  </div>
419
  <div>
420
+ <label for="number_style_decimal_separate">'.__('Decimal separator', 'BeRocket_AJAX_domain').'</label>
421
  <input id="number_style_decimal_separate" type="text" name="'.$post_name.'[number_style_decimal_separate]" value="'.$instance['number_style_decimal_separate'].'" />
422
  </div>
423
  <div>
424
+ <label for="number_style_decimal_number">'.__('Number of digits after decimal point', 'BeRocket_AJAX_domain').'</label>
425
  <input id="number_style_decimal_number" type="number" name="'.$post_name.'[number_style_decimal_number]" value="'.$instance['number_style_decimal_number'].'" />
426
  </div>
427
  </div>
436
  'widget_collapse_enable' => '
437
  <div>
438
  <input id="widget_collapse_enable" type="checkbox" name="'.$post_name.'[widget_collapse_enable]"'.( empty($instance['widget_collapse_enable']) ? '' : ' checked' ).' value="1" />
439
+ <label for="widget_collapse_enable">'.__('Enable minimization option', 'BeRocket_AJAX_domain').'</label>
440
  </div>
441
  ',
442
  'widget_is_hide' =>'
443
  <div class="berocket_aapf_widget_is_hide">
444
  <input id="widget_is_hide" type="checkbox" name="'.$post_name.'[widget_is_hide]"'.( empty($instance['widget_is_hide']) ? '' : ' checked' ).' value="1" />
445
+ <label for="widget_is_hide">'.__('Minimize the widget on load?', 'BeRocket_AJAX_domain').'</label>
446
  </div>
447
  ',
448
  'hide_collapse_arrow' => '
449
  <div class="berocket_aapf_hide_collapse_arrow">
450
  <input id="hide_collapse_arrow" type="checkbox" name="'.$post_name.'[hide_collapse_arrow]"'.( empty($instance['hide_collapse_arrow']) ? '' : ' checked' ).' value="1" />
451
+ <label for="hide_collapse_arrow">'.__('Hide minimization arrow?', 'BeRocket_AJAX_domain').'</label>
452
  </div>
453
  ',
454
  'hide_child_attributes' => '
465
  <div class="berocket_aapf_advanced_color_pick_settings"<?php if ( $instance['type'] != 'color' && $instance['type'] != 'image' ) echo " style='display: none;'"; ?>>
466
  <div>
467
  <input id="<?php echo 'use_value_with_color'; ?>" type="checkbox" name="<?php echo $post_name.'[use_value_with_color]'; ?>" <?php if ( $instance['use_value_with_color'] ) echo 'checked'; ?> value="1" />
468
+ <label for="<?php echo 'use_value_with_color'; ?>"><?php _e('Display value next to color/image?', 'BeRocket_AJAX_domain') ?></label>
469
  </div>
470
  <div>
471
  <input id="<?php echo 'disable_multiple'; ?>" type="checkbox" name="<?php echo $post_name.'[disable_multiple]'; ?>" <?php if ( ! empty( $instance['disable_multiple'] ) ) echo 'checked'; ?> value="1" />
502
  </div>
503
  </div>
504
  <div>
505
+ <label for="color_image_checked"><?php _e('Selected value style', 'BeRocket_AJAX_domain') ?></label>
506
  <select id="color_image_checked" name="<?php echo $post_name; ?>[color_image_checked]">
507
  <?php
508
  $color_image_sizes = array(
591
  <div class="br_clearfix"></div>
592
  </div>
593
  <div>
594
+ <label for="<?php echo 'height'; ?>"><?php _e('Height of the Filter Block:', 'BeRocket_AJAX_domain') ?> </label>
595
  <input id="<?php echo 'height'; ?>" type="text" name="<?php echo $post_name.'[height]'; ?>" value="<?php echo $instance['height']; ?>" class="berocket_aapf_widget_admin_height_input" />px
596
  </div>
597
  <div>
598
+ <label for="<?php echo 'scroll_theme'; ?>"><?php _e('Scrollbar theme:', 'BeRocket_AJAX_domain') ?> </label>
599
  <select id="<?php echo 'scroll_theme'; ?>" name="<?php echo $post_name.'[scroll_theme]'; ?>" class="berocket_aapf_widget_admin_scroll_theme_select br_select_menu_left">
600
  <?php
601
  $scroll_themes = array("light", "dark", "minimal", "minimal-dark", "light-2", "dark-2", "light-3", "dark-3", "light-thick", "dark-thick", "light-thin",
620
  <div>
621
  <label>
622
  <input type="checkbox" name="<?php echo $post_name.'[hide_selected_arrow]'; ?>" <?php if ( $instance['hide_selected_arrow'] ) echo 'checked'; ?> value="1" />
623
+ <?php _e('Hide minimization arrow?', 'BeRocket_AJAX_domain') ?>
624
  </label>
625
  </div>
626
  <div>
627
  <label>
628
  <input type="checkbox" name="<?php echo $post_name.'[selected_is_hide]'; ?>" <?php if ( $instance['selected_is_hide'] ) echo 'checked'; ?> value="1" />
629
+ <?php _e('Minimize the widget on load?', 'BeRocket_AJAX_domain') ?>
630
  </label>
631
  </div>
632
  </div>
addons/deprecated_filters/widget.min.js CHANGED
@@ -67,7 +67,6 @@ var berocket_aapf_widget_product_filters = [],
67
  }
68
 
69
  var berocket_unselect_all = false;
70
- the_ajax_script.woocommerce_removes = JSON.parse(the_ajax_script.woocommerce_removes);
71
 
72
  function berocket_fire( func ){
73
  if ( typeof the_ajax_script.user_func != 'undefined'
67
  }
68
 
69
  var berocket_unselect_all = false;
 
70
 
71
  function berocket_fire( func ){
72
  if ( typeof the_ajax_script.user_func != 'undefined'
assets/admin/css/admin.css CHANGED
@@ -197,6 +197,7 @@ td.br_colorpicker_field.colorpicker_removed:after {
197
  width: 50px;
198
  display: inline-block;
199
  text-align: center;
 
200
  }
201
 
202
  .br_aapf_settings_fa .berocket_select_fontawesome .berocket_selected_image.berocket_selected_fa img {
@@ -509,3 +510,111 @@ td.br_colorpicker_field.colorpicker_removed:after {
509
  .berocket_group_is_hide_theme_option_slider.slider_shadow div label img{
510
  mac-height: 151px;
511
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
197
  width: 50px;
198
  display: inline-block;
199
  text-align: center;
200
+ padding: 0 5px;
201
  }
202
 
203
  .br_aapf_settings_fa .berocket_select_fontawesome .berocket_selected_image.berocket_selected_fa img {
510
  .berocket_group_is_hide_theme_option_slider.slider_shadow div label img{
511
  mac-height: 151px;
512
  }
513
+ /*Filters Group*/
514
+ .button.berocket_add_filter_to_group {
515
+ margin-right: 8px;
516
+ margin-left: 5px;
517
+ }
518
+ .berocket_filter_added_list li {
519
+ font-size: 2em;
520
+ border: 1px solid #2c3b48;
521
+ padding: 0;
522
+ line-height: 40px;
523
+ height: 40px;
524
+ border-right-width: 3px;
525
+ background-color: rgb(238, 238, 238);
526
+ }
527
+ .berocket_filter_added_list li .fa-bars {
528
+ margin-right: 0.5em;
529
+ cursor: move;
530
+ background-color: #2c3b48;
531
+ line-height: 41px;
532
+ padding: 0 5px;
533
+ color: white;
534
+ font-size: 16px;
535
+ position: relative;
536
+ top: -3px;
537
+ }
538
+ .berocket_filter_added_list small {
539
+ font-size: 0.5em;
540
+ vertical-align: middle;
541
+ }
542
+ .berocket_filter_added_list li .fa-times {
543
+ margin-left: 0.5em;
544
+ margin-right: 0.5em;
545
+ cursor: pointer;
546
+ float: right;
547
+ line-height: 40px;
548
+ font-size: 16px;
549
+ position: relative;
550
+ top: 1px;
551
+ }
552
+ .berocket_filter_added_list .berocket_edit_filter {
553
+ vertical-align: middle;
554
+ font-size: 0.6em;
555
+ float: right;
556
+ line-height: 40px;
557
+ display: inline-block;
558
+ color: #2c3b48;
559
+ margin-left: 0.5em;
560
+ margin-right: 0.5em;
561
+ }
562
+ .berocket_filter_added_list li .fa-times:hover,
563
+ .berocket_filter_added_list .berocket_edit_filter:hover {
564
+ color: black;
565
+ }
566
+ .berocket_filter_added_list .berocket_sortable_space {
567
+ border: 2px dashed #aaa;
568
+ background: white;
569
+ font-size: 2em;
570
+ height: 1.1em;
571
+ box-sizing: content-box;
572
+ padding: 5px;
573
+ }
574
+ .berocket_filter_groups {
575
+ margin-top: 20px;
576
+ }
577
+ .berocket_filter_added_list .berocket_hidden_clickable_options {
578
+ font-size: 12px;
579
+ float: right;
580
+ margin-right: 10px;
581
+ display: none;
582
+ }
583
+ .berocket_hidden_clickable_options input{
584
+ width: 100px;
585
+ }
586
+ .berocket_filter_added_list.berocket_hidden_clickable_enabled .berocket_hidden_clickable_options {
587
+ display: inline-block;
588
+ }
589
+ /*Conditions*/
590
+ #conditions .section_conditions_hide_this_on {
591
+ margin-left: -13px;
592
+ margin-right: -13px;
593
+ border-top: 1px solid #ccc;
594
+ padding: 5px 12px 1px;
595
+ margin-top: 8px;
596
+ }
597
+ #poststuff #conditions .inside {
598
+ padding-bottom: 6px;
599
+ }
600
+ @media screen and (max-width: 600px) {
601
+ .berocket_filter_added_list small,
602
+ .berocket_filter_added_list .berocket_edit_filter {
603
+ display: none;
604
+ }
605
+ .berocket_filter_added_list li {
606
+ position: relative;
607
+ }
608
+ .berocket_filter_added_list li .fa-times {
609
+ position: absolute;
610
+ top: 1px;
611
+ right: 0;
612
+ background-color: rgb(238, 238, 238);
613
+ margin: 0;
614
+ padding: 0 10px;
615
+ line-height: 38px;
616
+ }
617
+ }
618
+ .tr_out_of_stock_variable td label{
619
+ display: block;
620
+ }
assets/admin/css/single_filter_edit.css CHANGED
@@ -5,6 +5,17 @@
5
  .post-type-br_product_filter #settings .inside .berocket_sbs {
6
  margin-left: 0;
7
  }
 
 
 
 
 
 
 
 
 
 
 
8
  /*Settings styles*/
9
  .berocket_sbs .berocket_sbs_header {
10
  margin-bottom: 20px;
@@ -155,11 +166,24 @@
155
  margin-left: auto;
156
  margin-right: auto;
157
  }
158
- .braapf_parent_product_cat.braapf_half_select_full {
 
 
 
 
 
 
159
  margin-left: 5%;
160
  flex-basis: 43%;
161
  }
162
- .braapf_depth_count.braapf_half_select_full {
 
 
 
 
 
 
 
163
  margin-right: 5%;
164
  flex-basis: 43%;
165
  }
@@ -181,7 +205,9 @@
181
  }
182
  .braapf_attribute_setup_flex .braapf_full_select_full.braapf_price_values,
183
  .braapf_attribute_setup_flex .braapf_full_select_full.braapf_slider_numeric,
184
- .braapf_attribute_setup_flex .braapf_full_select_full.braapf_show_product_count_per_attr {
 
 
185
  flex-basis: 100%;
186
  }
187
  .braapf_attribute_setup_flex .braapf_half_select_full.braapf_height,
5
  .post-type-br_product_filter #settings .inside .berocket_sbs {
6
  margin-left: 0;
7
  }
8
+ /*Conditions*/
9
+ #conditions .section_conditions_hide_this_on {
10
+ margin-left: -13px;
11
+ margin-right: -13px;
12
+ border-top: 1px solid #ccc;
13
+ padding: 5px 12px 1px;
14
+ margin-top: 8px;
15
+ }
16
+ #poststuff #conditions .inside {
17
+ padding-bottom: 6px;
18
+ }
19
  /*Settings styles*/
20
  .berocket_sbs .berocket_sbs_header {
21
  margin-bottom: 20px;
166
  margin-left: auto;
167
  margin-right: auto;
168
  }
169
+ .braapf_parent_product_cat.braapf_half_select_full,
170
+ .braapf_child_parent.braapf_half_select_full,
171
+ .braapf_child_parent_depth_1.braapf_half_select_full,
172
+ .braapf_child_parent_depth_3.braapf_half_select_full,
173
+ .braapf_child_parent_depth_5.braapf_half_select_full,
174
+ .braapf_child_parent_depth_7.braapf_half_select_full,
175
+ .braapf_child_parent_depth_9.braapf_half_select_full {
176
  margin-left: 5%;
177
  flex-basis: 43%;
178
  }
179
+ .braapf_depth_count.braapf_half_select_full,
180
+ .braapf_child_parent_depth.braapf_half_select_full,
181
+ .braapf_child_parent_depth_2.braapf_half_select_full,
182
+ .braapf_child_parent_depth_4.braapf_half_select_full,
183
+ .braapf_child_parent_depth_6.braapf_half_select_full,
184
+ .braapf_child_parent_depth_8.braapf_half_select_full,
185
+ .braapf_child_parent_depth_10.braapf_half_select_full,
186
+ .braapf_child_onew_count.braapf_half_select_full {
187
  margin-right: 5%;
188
  flex-basis: 43%;
189
  }
205
  }
206
  .braapf_attribute_setup_flex .braapf_full_select_full.braapf_price_values,
207
  .braapf_attribute_setup_flex .braapf_full_select_full.braapf_slider_numeric,
208
+ .braapf_attribute_setup_flex .braapf_full_select_full.braapf_show_product_count_per_attr,
209
+ .braapf_attribute_setup_flex .braapf_full_select_full.braapf_hide_child_attributes,
210
+ .braapf_attribute_setup_flex .braapf_full_select_full.braapf_enable_slider_inputs {
211
  flex-basis: 100%;
212
  }
213
  .braapf_attribute_setup_flex .braapf_half_select_full.braapf_height,
assets/admin/js/admin.js CHANGED
@@ -212,7 +212,9 @@ var berocket_admin_filter_types_by_attr = {
212
  if ( changed != 'type' && changed != 'child_parent' ) {
213
  var select_options = '';
214
  var select_options_variants = [];
215
- if ( filter_type == 'tag' ) {
 
 
216
  select_options_variants = berocket_admin_filter_types.tag;
217
  } else if ( filter_type == 'product_cat' || ( filter_type == 'custom_taxonomy' && ( custom_taxonomy == 'product_tag' || custom_taxonomy == 'product_cat' ) ) ) {
218
  select_options_variants = berocket_admin_filter_types.product_cat;
@@ -896,3 +898,38 @@ function berocket_semple_creation_group_return($this, data) {
896
  $widget.find('.berocket_new_widget_selectbox.group').val(data.value).trigger('change');
897
  $this.remove();
898
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
212
  if ( changed != 'type' && changed != 'child_parent' ) {
213
  var select_options = '';
214
  var select_options_variants = [];
215
+ if ( filter_type == 'price' ) {
216
+ select_options_variants = berocket_admin_filter_types.price;
217
+ } else if ( filter_type == 'tag' ) {
218
  select_options_variants = berocket_admin_filter_types.tag;
219
  } else if ( filter_type == 'product_cat' || ( filter_type == 'custom_taxonomy' && ( custom_taxonomy == 'product_tag' || custom_taxonomy == 'product_cat' ) ) ) {
220
  select_options_variants = berocket_admin_filter_types.product_cat;
898
  $widget.find('.berocket_new_widget_selectbox.group').val(data.value).trigger('change');
899
  $this.remove();
900
  }
901
+ //Filters Group
902
+ (function ($){
903
+ $(document).ready( function () {
904
+ jQuery(document).on('click', '.berocket_add_filter_to_group', function(event) {
905
+ event.preventDefault();
906
+ if( ! jQuery('.berocket_filter_added_'+jQuery('.berocket_filter_list').val()).length ) {
907
+ var html = '<li class="berocket_filter_added_'+jQuery('.berocket_filter_list').val()+'"><i class="fa fa-bars"></i> ';
908
+ html += '<input type="hidden" name="'+jQuery('.berocket_filter_added_list').data('name')+'" value="'+jQuery('.berocket_filter_list').val()+'">';
909
+ html += jQuery('.berocket_filter_list').find(':selected').data('name');
910
+ html += ' <small>ID:'+jQuery('.berocket_filter_list').val()+'</small>';
911
+ html += '<i class="fa fa-times"></i>';
912
+ html += ' <a class="berocket_edit_filter fas fa-pencil-alt" target="_blank" href="'+jQuery('.berocket_filter_added_list').data('url')+'?post='+jQuery('.berocket_filter_list').val()+'&action=edit"></a>';
913
+ html += '<div class="berocket_hidden_clickable_options">';
914
+ html += 'Width<input type="text" name="br_filters_group[filters_data]['+jQuery('.berocket_filter_list').val()+'][width]" placeholder="100%" value="">';
915
+ html += '</div>';
916
+ html += '</li>';
917
+ jQuery('.berocket_filter_added_list').append(jQuery(html));
918
+ } else {
919
+ jQuery('.berocket_filter_added_'+jQuery('.berocket_filter_list').val()).css('background-color', '#ee3333').clearQueue().animate({backgroundColor:'#eeeeee'}, 1000);
920
+ }
921
+ });
922
+ jQuery(document).on('click', '.berocket_filter_added_list .fa-times', function(event) {
923
+ jQuery(this).parents('li').first().remove();
924
+ });
925
+ jQuery('#post').on('submit', function(e) {
926
+ if( jQuery('.berocket_add_filter_to_group').length && jQuery('.berocket_filter_added_list input[name="br_filters_group[filters][]"]').length == 0 ) {
927
+ e.preventDefault();
928
+ jQuery(document).trigger('braapf_group_required_filters');
929
+ }
930
+ });
931
+ if(jQuery( ".berocket_filter_added_list" ).length && typeof(jQuery( ".berocket_filter_added_list" ).sortable) == 'function') {
932
+ jQuery( ".berocket_filter_added_list" ).sortable({axis:"y", handle:".fa-bars", placeholder: "berocket_sortable_space"});
933
+ }
934
+ });
935
+ })(jQuery);
assets/admin/js/javascript_hide.js CHANGED
@@ -17,7 +17,6 @@ function berocket_show_element(element, data_string, init, callback) {
17
  clearTimeout(braapf_test_interval);
18
  }
19
  braapf_test_interval = setTimeout(function() {
20
- console.log('Hide function called '+braapf_test_recount_it+' times');
21
  braapf_test_recount_it = 0;
22
  braapf_test_interval = false;
23
  }, 500);
17
  clearTimeout(braapf_test_interval);
18
  }
19
  braapf_test_interval = setTimeout(function() {
 
20
  braapf_test_recount_it = 0;
21
  braapf_test_interval = false;
22
  }, 500);
assets/admin/js/single_filter_edit.js CHANGED
@@ -293,7 +293,7 @@ braapf_checked_style_parent;
293
  berocket_show_element('.braapf_custom_taxonomy', '{#braapf_filter_type} == "custom_taxonomy"');
294
  berocket_show_element('.braapf_order_values_by, .braapf_order_values_type, .braapf_parent_product_cat', '{#braapf_filter_type} == !braapf_all_sameas_custom_taxonomy! || {#braapf_filter_type} == !braapf_all_sameas_attribute!');
295
  //REQUIRED
296
- berocket_show_element('.brsbs_required', '{.braapf_widget_type input[type=radio]} == "filter" && (({#braapf_filter_type} == "price" && (!braapf_current_template! == "select" || !braapf_current_template! == "checkbox")) || !braapf_current_specific! == "color" || !braapf_current_specific! == "image")');
297
  berocket_show_element('.braapf_widget_color_pick', '!braapf_load_color_image_pick! == true');
298
  //ADDITIONAL
299
  berocket_show_element('.brsbs_additional', '!braapf_any_style_checked! == true');
293
  berocket_show_element('.braapf_custom_taxonomy', '{#braapf_filter_type} == "custom_taxonomy"');
294
  berocket_show_element('.braapf_order_values_by, .braapf_order_values_type, .braapf_parent_product_cat', '{#braapf_filter_type} == !braapf_all_sameas_custom_taxonomy! || {#braapf_filter_type} == !braapf_all_sameas_attribute!');
295
  //REQUIRED
296
+ berocket_show_element('.brsbs_required', '{.braapf_widget_type input[type=radio]} == "filter" && (({#braapf_filter_type} == "price" && (!braapf_current_template! == "select" || !braapf_current_template! == "checkbox")) || !braapf_current_specific! == "color" || !braapf_current_specific! == "image" || ( ({#braapf_filter_type} == !braapf_all_sameas_custom_taxonomy! || {#braapf_filter_type} == !braapf_all_sameas_attribute!) && !braapf_current_template! == "datepicker" ) )');
297
  berocket_show_element('.braapf_widget_color_pick', '!braapf_load_color_image_pick! == true');
298
  //ADDITIONAL
299
  berocket_show_element('.brsbs_additional', '!braapf_any_style_checked! == true');
assets/frontend/css/fullmain.min.css CHANGED
@@ -1,4 +1,4 @@
1
- .bapf_sfilter .bapf_button,.bapf_sfilter label{cursor:pointer;display:inline-block!important}.bapf_sfilter ul li{list-style:none!important;margin:0!important;padding:0!important;max-width:100%}.bapf_slidr_main.ui-widget-content,.berocket_filter_price_slider.ui-widget-content{background:#b0b5b9;border:0;border-radius:0;height:4px;padding:0}.bapf_slidr_main.ui-widget-content .ui-slider-range,.berocket_filter_price_slider.ui-widget-content .ui-slider-range{background:#000}.slide.default .bapf_slidr_main.ui-widget-content .ui-slider-range,.slide.default .berocket_filter_price_slider.ui-widget-content .ui-slider-range{background:#222}.slide.default .bapf_slidr_main.ui-widget-content,.slide.default .berocket_filter_price_slider.ui-widget-content{height:4px;border:1px solid #555;font-size:10px}.bapf_slidr_main.ui-widget-content .ui-slider-handle,.berocket_filter_price_slider.ui-widget-content .ui-slider-handle,.slide.default .bapf_slidr_main .ui-state-default,.slide.default .bapf_slidr_main .ui-widget-header .ui-state-default,.slide.default .bapf_slidr_main.ui-widget-content .ui-state-default,.slide.default .berocket_filter_price_slider .ui-state-default,.slide.default .berocket_filter_price_slider .ui-widget-header .ui-state-default,.slide.default .berocket_filter_price_slider.ui-widget-content .ui-state-default{background:#ddd;font-size:14px;width:1em;height:1em;border:1px solid #555;top:-6px;border-radius:2em}.berocket_aapf_widget li.slider div.slide{clear:both;height:auto;text-align:right;line-height:0}.bapf_slidr_jqrui .bapf_from,.ui-slider{text-align:left}.ui-slider{position:relative}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:pointer;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.bapf_slidr_main>a:last-child{margin-left:-12px}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.slide .ui-corner-all,.slide .ui-corner-bottom,.slide .ui-corner-br,.slide .ui-corner-right{border-bottom-right-radius:4px}.slide .ui-corner-all,.slide .ui-corner-bl,.slide .ui-corner-bottom,.slide .ui-corner-left{border-bottom-left-radius:4px}.slide .ui-corner-all,.slide .ui-corner-right,.slide .ui-corner-top,.slide .ui-corner-tr{border-top-right-radius:4px}.slide .ui-corner-all,.slide .ui-corner-left,.slide .ui-corner-tl,.slide .ui-corner-top{border-top-left-radius:4px}ul.berocket_aapf_widget li.slider>span{cursor:initial}ul.berocket_aapf_widget li.slider .bapf_slidr_main{cursor:pointer}.slide .ui-widget-content{background:#fff;border:1px solid #aaa;color:#222}.slide .ui-state-default,.slide .ui-widget-content .ui-state-default,.slide .ui-widget-header .ui-state-default{background:#e6e6e6;border:1px solid #d3d3d3;color:#555;font-weight:400}.ui-widget.ui-datepicker{font-size:14px;z-index:9000!important}.bapf_sfilter .ui-button,.bapf_sfilter .ui-state-default,.bapf_sfilter .ui-widget-content .ui-state-default,.bapf_sfilter .ui-widget-header .ui-state-default,.bapf_sfilter .ui-widget.ui-widget-content,html .bapf_sfilter .ui-button.ui-state-disabled:active,html .bapf_sfilter .ui-button.ui-state-disabled:hover{border:0}.bapf_slidr_jqrui .bapf_slidr_all:after{content:"";display:block;clear:both}.bapf_slidr_jqrui .bapf_slidr_main{margin-bottom:10px}.bapf_slidr_jqrui .bapf_from,.bapf_slidr_jqrui .bapf_to{width:49%;display:inline-block;margin-bottom:10px;vertical-align:middle}.bapf_slidr_jqrui .bapf_from input,.bapf_slidr_jqrui .bapf_to input{width:50%;vertical-align:middle;font-size:1em;padding:0;margin:0;line-height:1em}.bapf_slidr_jqrui .bapf_to{text-align:right}.bapf_sfilter{margin-bottom:20px}.berocket_single_filter_widget.berocket_inline_clickable,.berocket_single_filter_widget.berocket_inline_filters{float:left!important;padding-right:15px!important}.berocket_single_filter_widget.berocket_inline_filters{width:12.5%!important}#berocket-ajax-filters-sidebar .berocket_single_filter_widget.berocket_hidden_clickable .berocket_aapf_widget-title_div,.berocket_single_filter_widget.berocket_hidden_clickable .berocket_aapf_widget-title_div{border:2px solid #333!important;background-color:#333!important;color:#ccc!important;padding:5px 35px 5px 5px!important;border-radius:5px!important}.berocket_single_filter_widget.berocket_hidden_clickable .berocket_aapf_widget-title_div h3{margin:0!important;padding:0!important;font-size:inherit!important;color:inherit!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget-title_div{border:2px solid #ccc!important;color:#000!important;background-color:#ccc!important;border-radius:5px 5px 0 0!important;padding-bottom:10px!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget-wrapper{padding-bottom:0!important}.berocket_single_filter_widget.berocket_hidden_clickable .berocket_aapf_widget{position:absolute!important;top:100%!important;width:100%!important;background-color:#fff!important;z-index:800!important;margin:0!important;border:2px solid #ccc!important;padding:5px!important;display:none}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget{z-index:900!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_hidden_clickable_left .berocket_aapf_widget{left:0!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_hidden_clickable_right .berocket_aapf_widget{right:0!important}.berocket_element_above_products{clear:both!important;overflow:visible!important}.berocket_single_filter_widget.bapf_mt_none{display:none!important}div.berocket_single_filter_widget div.berocket_aapf_widget-wrapper *{opacity:1}@media screen and (max-width:767px){.bapf_sngl_hd_mobile{display:none!important}}@media screen and (min-width:768px) and (max-width:1024px){.bapf_sngl_hd_tablet{display:none!important}}@media screen and (min-width:1025px){.bapf_sngl_hd_desktop{display:none!important}}.berocket_aapf_widget select{overflow:auto!important}.berocket_element_above_products_after{clear:both}ul.berocket_aapf_widget li>span>input+.berocket_label_widgets::before{margin-right:6px}.berocket_element_above_products_is_hide{overflow:visible!important}.berocket_element_above_products_is_hide:after{content:"";display:block;clear:both}.berocket_ajax_filters_sidebar_toggle,.berocket_element_above_products_is_hide_toggle{width:200px!important;display:inline-block;padding-left:25px;font-size:16px;position:relative;font-weight:600;outline:0!important}.berocket_element_above_products_is_hide.br_is_hidden{opacity:0;max-height:1px;position:relative}.berocket_element_above_products_is_hide_toggle{height:20px;margin:40px 0;color:#2a2a2a}body{transition:margin-left .2s}body.berocket_ajax_filters_sidebar_active{margin-left:200px}.berocket_ajax_filters_sidebar_toggle{height:26px;margin:40px 0;text-decoration:none!important;box-sizing:border-box!important}#berocket-ajax-filters-sidebar{display:block;position:fixed;top:0;left:-350px;bottom:0;width:350px;max-width:100%;background:#fff;transition:all .2s;z-index:100000;box-sizing:border-box;overflow:auto!important}#berocket-ajax-filters-sidebar-shadow{content:"";display:none;position:fixed;top:0;left:0;bottom:0;right:0;z-index:99999;background:#000;opacity:.7}.admin-bar #berocket-ajax-filters-sidebar{top:32px}#berocket-ajax-filters-sidebar.active,#berocket-ajax-filters-sidebar.active+#berocket-ajax-filters-sidebar-shadow{left:0;display:block}#berocket-ajax-filters-sidebar .berocket_ajax_group_filter_title{padding:15px 88px 15px 15px!important;font-weight:500!important;font-size:24px!important;color:#333!important;border-bottom:1px solid #ccc!important}#berocket-ajax-filters-sidebar>div{padding:15px!important}#berocket-ajax-filters-sidebar .berocket_aapf_widget-title_div{color:#333!important;font-size:19px!important;font-weight:600!important}#berocket-ajax-filters-sidebar .berocket_aapf_widget,#berocket-ajax-filters-sidebar .berocket_aapf_widget li{margin:0!important}#berocket-ajax-filters-sidebar .berocket_aapf_widget .berocket_checkbox_color .berocket_label_widgets{margin:0 .6em .6em 0!important}#berocket-ajax-filters-sidebar-close{position:absolute!important;right:0!important;line-height:39px;padding:17px 15px 13px!important;font-family:Arial,serif!important;color:#a2a2a2}#berocket-ajax-filters-sidebar-close+*{margin-top:70px!important}#berocket-ajax-filters-sidebar-close+.berocket_ajax_group_filter_title{margin-top:0!important}@media screen and (max-width:782px){.admin-bar #berocket-ajax-filters-sidebar{top:46px}}@media screen and (max-width:600px){.admin-bar #berocket-ajax-filters-sidebar{top:0}}.berocket_aapf_widget-wrapper .slider:not(.flickity-enabled){overflow:initial;white-space:initial}.select2-container{z-index:999}.bapf_sfilter .bapf_body>ul{margin-left:0}.bapf_sfilter.bapf_vpr_1 .bapf_body ul,.bapf_sfilter.bapf_vpr_2 .bapf_body ul,.bapf_sfilter.bapf_vpr_3 .bapf_body ul,.bapf_sfilter.bapf_vpr_4 .bapf_body ul{display:flex;flex-wrap:wrap}.bapf_sfilter.bapf_vpr_1 .bapf_body ul>li,.bapf_sfilter.bapf_vpr_2 .bapf_body ul>li,.bapf_sfilter.bapf_vpr_3 .bapf_body ul>li,.bapf_sfilter.bapf_vpr_4 .bapf_body ul>li{white-space:nowrap}.bapf_sfilter.bapf_vpr_1 .bapf_body ul>li{flex-basis:100%}.bapf_sfilter.bapf_vpr_2 .bapf_body ul>li{flex-basis:50%}.bapf_sfilter.bapf_vpr_3 .bapf_body ul>li{flex-basis:33%}.bapf_sfilter.bapf_vpr_4 .bapf_body ul>li{flex-basis:25%}.bapf_sfilter.bapf_vpr_1 .bapf_body ul>li label,.bapf_sfilter.bapf_vpr_2 .bapf_body ul>li label,.bapf_sfilter.bapf_vpr_3 .bapf_body ul>li label,.bapf_sfilter.bapf_vpr_4 .bapf_body ul>li label{white-space:initial}.bapf_sfilter.bapf_fhide .bapf_body ul li.bapf_hide,.bapf_sfilter.bapf_fhide.bapf_filter_hide{display:none!important}.bapf_sfilter .bapf_hascolarr,.bapf_sfilter .bapf_hasdesc{position:relative;padding-right:25px}.bapf_sfilter .bapf_colaps_smb,.bapf_sfilter .bapf_desci{position:absolute;right:0;top:0}.bapf_sfilter .bapf_hasdesc .bapf_colaps_smb{right:25px}#berocket-ajax-filters-sidebar .berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter .bapf_head,.berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter .bapf_head{border:2px solid #333!important;background-color:#333!important;color:#ccc!important;padding:5px!important;border-radius:5px!important}.berocket_single_filter_widget.berocket_hidden_clickable .berocket_widget_has_description .berocket_aapf_widget-title_div{padding-right:55px!important}.berocket_single_filter_widget.berocket_hidden_clickable .berocket_aapf_widget-wrapper{padding-bottom:5px!important}.berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter .bapf_head h3{margin:0;font-size:inherit!important;color:inherit!important}.berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter{position:relative!important}.berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter.bapf_ccolaps .bapf_head{border:2px solid #ccc!important;color:#000!important;background-color:#ccc!important;border-radius:5px 5px 0 0!important;padding-bottom:5px!important}.berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter .bapf_body{position:absolute!important;top:100%!important;width:100%!important;background-color:#fff!important;z-index:800!important;margin:0!important;border:2px solid #ccc!important;padding:5px!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_hidden_clickable_left .bapf_sfilter.bapf_ccolaps .bapf_body{left:0!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_hidden_clickable_right .bapf_sfilter.bapf_ccolaps .bapf_body{right:0!important}@media screen and (max-width:767px){.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible{position:fixed!important;top:0!important;left:0!important;bottom:0!important;right:0!important;z-index:9000000000!important;background-color:#fff!important;overflow:auto!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget{border:0!important;width:100%!important;max-width:100%!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget_show.mobile_hide{display:block!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget_show.mobile_hide .fa-angle-left:before,.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget_show.mobile_hide .fa-angle-right:before{content:"\f00d"!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_description{display:none!important}body .select2-container,body .ui-widget.ui-datepicker{z-index:9000000009!important}}@keyframes bapf_loader{from{transform:rotate(0)}to{transform:rotate(360deg)}}.bapf_loader_page{position:fixed;top:0;left:0;bottom:0;right:0;background-color:rgba(255,255,255,.5);z-index:9999}.bapf_loader_page .bapf_lcontainer{position:absolute;top:50%;margin:-20px 0 0 -20px;left:50%;width:30px;height:30px;padding:0}.bapf_lcontainer .bapf_loader{width:100%;height:100%;display:block;transform:rotate(0);animation:1s linear 0s infinite bapf_loader;position:relative}.bapf_lcontainer .bapf_loader .bapf_lfirst,.bapf_lcontainer .bapf_loader .bapf_lsecond{position:absolute;width:10px;height:10px;background:#000;background:linear-gradient(45deg,#000,transparent);display:block;border-radius:6px}.bapf_lcontainer .bapf_loader .bapf_lfirst{bottom:0;right:0}.bapf_lcontainer .bapf_loader .bapf_lsecond{top:0;left:0;transform:rotate(180deg)}.bapf_lcontainer .bapf_labove,.bapf_lcontainer .bapf_lbelow{position:absolute;display:block;text-align:center;width:80vw;left:calc(15px - 40vw)}.bapf_lcontainer .bapf_labove{bottom:120%}.bapf_lcontainer .bapf_lbelow{top:120%}.bapf_lcontainer .bapf_lafter,.bapf_lcontainer .bapf_lbefore{position:absolute;top:50%;margin-top:-15px;height:30px;line-height:30px;vertical-align:middle;white-space:nowrap}.bapf_lcontainer .bapf_lbefore{right:120%}.bapf_lcontainer .bapf_lafter{left:120%}.bapf_lcontainer .bapf_limg{width:100%;height:100%}.berocket_single_filter_widget .tippy-tooltip,.berocket_single_filter_widget .tippy-tooltip .tippy-content{font-size:1em}@media only screen and (max-device-width:767px){.bapf_hide_mobile{display:none!important}}.bapf_sfilter .bapf_button{font-size:1em}.bapf_sfilter .rightpcs{float:right}.bapf_sfilter .right2empcs{padding-left:10px}#bapf_footer_clrimg>div,#bapf_footer_count_before>div,#bapf_footer_description>div{z-index:999999999999!important}.bapf_sfilter.bapf_ckbox input[type=checkbox]{margin-right:5px}.bapf_sfilter.bapf_ckbox input[type=checkbox],.bapf_sfilter.bapf_ckbox label{vertical-align:middle}.select2-container--classic input[type=search],.select2-container--classic input[type=search]:focus{background-color:initial}.berocket_search_box_block{position:relative;padding:.5em}.berocket_search_box_block .berocket_search_box_background_all{position:relative;z-index:200}.berocket_search_box_block .berocket_search_box_background{z-index:100;position:absolute;top:0;bottom:0;left:0;right:0}.berocket_search_box_block select{min-width:100%}.berocket_search_box_button{cursor:pointer;display:block;text-align:center;padding:5px 0}.berocket_search_box_block .berocket_aapf_widget-wrapper ul{margin:0}.berocket_search_box_block .berocket_aapf_widget-wrapper{margin:1em 0}.bapf_sfilter.bapf_button_berocket .bapf_button{font-size:20px;padding:8px 30px;border:0;line-height:28px;font-weight:600;display:inline-block;color:#fff;text-transform:uppercase;text-align:center;text-decoration:none;background-color:#f16543}.bapf_sfilter.bapf_button_berocket .bapf_button:hover{background-color:#d94825}.bapf_sfilter.bapf_colorinline li{display:inline-block!important}.bapf_sfilter .bapf_clr_span,.bapf_sfilter .bapf_img_span{display:inline-block!important;position:relative;overflow:hidden;margin:5px;height:2em;width:2em;line-height:2em;border:2px solid #000;text-align:center;vertical-align:middle;color:#222!important;text-shadow:0 0 3px #FFF,1px 0 2px #FFF,0 1px 2px #FFF,-1px 0 2px #FFF,0 -1px 2px #FFF,1px 1px 2px #FFF,1px -1px 2px #FFF,-1px 1px 2px #FFF,-1px -1px 2px #FFF;-webkit-transition:all .2s ease-out .1s;-moz-transition:all .2s ease-out .1s;-o-transition:all .2s ease-out .1s;transition:all .2s ease-out .1s}.bapf_sfilter .bapf_clr_span.h1em,.bapf_sfilter .bapf_img_span.h1em{height:1em;line-height:1em}.bapf_sfilter .bapf_clr_span.h2em,.bapf_sfilter .bapf_img_span.h2em{height:2em;line-height:2em}.bapf_sfilter .bapf_clr_span.h3em,.bapf_sfilter .bapf_img_span.h3em{height:3em;line-height:3em}.bapf_sfilter .bapf_clr_span.h4em,.bapf_sfilter .bapf_img_span.h4em{height:4em;line-height:4em}.bapf_sfilter .bapf_clr_span.h5em,.bapf_sfilter .bapf_img_span.h5em{height:5em;line-height:5em}.bapf_sfilter .bapf_clr_span.w1em,.bapf_sfilter .bapf_img_span.w1em{width:1em}.bapf_sfilter .bapf_clr_span.w2em,.bapf_sfilter .bapf_img_span.w2em{width:2em}.bapf_sfilter .bapf_clr_span.w3em,.bapf_sfilter .bapf_img_span.w3em{width:3em}.bapf_sfilter .bapf_clr_span.w4em,.bapf_sfilter .bapf_img_span.w4em{width:4em}.bapf_sfilter .bapf_clr_span.w5em,.bapf_sfilter .bapf_img_span.w5em{width:5em}.bapf_sfilter .bapf_img_span.w1em.h1em .fa,.bapf_sfilter .bapf_img_span.w1em.h2em .fa,.bapf_sfilter .bapf_img_span.w1em.h3em .fa,.bapf_sfilter .bapf_img_span.w1em.h4em .fa,.bapf_sfilter .bapf_img_span.w1em.h5em .fa,.bapf_sfilter .bapf_img_span.w2em.h1em .fa,.bapf_sfilter .bapf_img_span.w3em.h1em .fa,.bapf_sfilter .bapf_img_span.w4em.h1em .fa,.bapf_sfilter .bapf_img_span.w5em.h1em .fa{font-size:.8em}.bapf_sfilter .bapf_img_span.w2em.h2em .fa,.bapf_sfilter .bapf_img_span.w2em.h3em .fa,.bapf_sfilter .bapf_img_span.w2em.h4em .fa,.bapf_sfilter .bapf_img_span.w2em.h5em .fa,.bapf_sfilter .bapf_img_span.w3em.h2em .fa,.bapf_sfilter .bapf_img_span.w4em.h2em .fa,.bapf_sfilter .bapf_img_span.w5em.h2em .fa{font-size:1.6em}.bapf_sfilter .bapf_img_span.w3em.h3em .fa,.bapf_sfilter .bapf_img_span.w3em.h4em .fa,.bapf_sfilter .bapf_img_span.w3em.h5em .fa,.bapf_sfilter .bapf_img_span.w4em.h3em .fa,.bapf_sfilter .bapf_img_span.w5em.h3em .fa{font-size:2.4em}.bapf_sfilter .bapf_img_span.w4em.h4em .fa,.bapf_sfilter .bapf_img_span.w4em.h5em .fa,.bapf_sfilter .bapf_img_span.w5em.h4em .fa{font-size:3.2em}.bapf_sfilter .bapf_img_span.w5em.h5em .fa{font-size:4em}.bapf_sfilter .bapf_clr_span .bapf_clr_span_abslt{position:relative;z-index:100}.bapf_sfilter.brchecked_default input:checked+label .bapf_clr_span,.bapf_sfilter.brchecked_default input:checked+label .bapf_img_span,.bapf_sfilter.brchecked_rotate input:checked+label .bapf_clr_span,.bapf_sfilter.brchecked_rotate input:checked+label .bapf_img_span{-webkit-transform:rotate(15deg);-moz-transform:rotate(15deg);-ms-transform:rotate(15deg);-o-transform:rotate(15deg);transform:rotate(15deg)}.bapf_sfilter.brchecked_scale input:checked+label .bapf_clr_span,.bapf_sfilter.brchecked_scale input:checked+label .bapf_img_span{transform:scale(1.1)}.bapf_sfilter.brchecked_image_shadow input:checked+label .bapf_clr_span,.bapf_sfilter.brchecked_shadow input:checked+label .bapf_clr_span,.bapf_sfilter.brchecked_shadow input:checked+label .bapf_img_span{box-shadow:0 0 1px 3px #88F}.bapf_sfilter.brchecked_image_shadow input:checked+label .bapf_img_span{-webkit-filter:drop-shadow(0 0 2px);-moz-filter:drop-shadow(0 0 2px);-o-filter:drop-shadow(0 0 2px);filter:drop-shadow(0 0 2px)}.bapf_sfilter.brchecked_hue_rotate input:checked+label .bapf_clr_span,.bapf_sfilter.brchecked_hue_rotate input:checked+label .bapf_img_span{-webkit-filter:hue-rotate(90deg);-moz-filter:hue-rotate(90deg);-o-filter:hue-rotate(90deg);filter:hue-rotate(90deg)}.bapf_sfilter .bapf_clr_multi{position:absolute;top:0;bottom:0;left:0;right:0;z-index:2;transform:rotateZ(45deg);padding:0;margin:-2em 0;box-sizing:border-box}.bapf_sfilter .bapf_clr_multi .bapf_clr_multi_singl{position:absolute;top:-50%;bottom:-50%;padding:0;margin:0;box-shadow:none;box-sizing:border-box;border:0}.bapf_sfilter .bapf_clr_multi_2 .bapf_clr_multi_singl,.bapf_sfilter .bapf_clr_multi_3 .bapf_clr_multi_singl{width:100%}.bapf_sfilter .bapf_clr_multi_3 .bapf_clr_multi_singl_1{width:34%}.bapf_sfilter .bapf_clr_multi_3 .bapf_clr_multi_singl_0,.bapf_sfilter .bapf_clr_multi_3 .bapf_clr_multi_singl_2{width:83%}.bapf_sfilter .bapf_clr_multi_4 .bapf_clr_multi_singl{width:25%}.bapf_sfilter .bapf_clr_multi_4 .bapf_clr_multi_singl_0,.bapf_sfilter .bapf_clr_multi_4 .bapf_clr_multi_singl_3{width:75%}.bapf_sfilter .bapf_clr_multi .bapf_clr_multi_singl_0{left:-50%}.bapf_sfilter .bapf_clr_multi_2 .bapf_clr_multi_singl_1{left:50%}.bapf_sfilter .bapf_clr_multi_3 .bapf_clr_multi_singl_1{left:33%}.bapf_sfilter .bapf_clr_multi_4 .bapf_clr_multi_singl_1{left:25%}.bapf_sfilter .bapf_clr_multi_3 .bapf_clr_multi_singl_2{left:67%}.bapf_sfilter .bapf_clr_multi_4 .bapf_clr_multi_singl_2{left:50%}.bapf_sfilter .bapf_clr_multi_4 .bapf_clr_multi_singl_3{left:75%}.bapf_sfilter.bapf_clr_txt_left .bapf_img_span{margin:5px 0 5px 10px}.bapf_sfilter.bapf_clr_txt_right .bapf_img_span{margin:5px 10px 5px 0}.bapf_sfilter.bapf_clr_txt_bottom .bapf_img_span,.bapf_sfilter.bapf_clr_txt_top .bapf_img_span{margin:5px 10px}.bapf_sfilter.bapf_colorinline.bapf_clr_txt_bottom li label,.bapf_sfilter.bapf_colorinline.bapf_clr_txt_top li label{display:inline-block!important;text-align:center}.bapf_sfilter.bapf_clr_txt_bottom .bapf_clr_text,.bapf_sfilter.bapf_clr_txt_top .bapf_clr_text{display:block;margin-right:10px;margin-left:10px}.bapf_colorinline .bapf_body li{text-align:center}.bapf_img_woborder.bapf_sfilter .bapf_img_span{border:none;overflow:visible}.bapf_asradio2 ul li input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;display:inline-block;vertical-align:middle;border:2px solid #555;width:15px;height:15px;outline:0;border-radius:10px;padding:2px;margin-right:5px}.bapf_asradio2 ul li input[type=checkbox]:checked{background:#555;background-clip:content-box}.bapf_slct select{width:100%;font-size:1em}.bapf_slct .select2 .select2-search__field{width:auto!important}.bapf_sfa_inline .berocket_aapf_widget_selected_area ul li{display:inline-block;margin-left:3px!important;margin-right:3px!important}.bapf_ckbox_square input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;display:inline-block;vertical-align:middle;border:2px solid #555;width:20px;height:20px;outline:0;padding:4px;margin-right:5px}.bapf_ckbox_square input[type=checkbox]:checked{background:#555;background-clip:content-box}.ui-datepicker .ui-icon,.ui-icon{text-indent:-99999px;background-repeat:no-repeat}/*! jQuery UI - v1.12.0 - 2016-07-28
2
  * http://jqueryui.com
3
  * Includes: core.css, datepicker.css, theme.css
4
  * To view and modify this theme, visit http://jqueryui.com/themeroller/?scope=&folderName=flick&cornerRadiusShadow=0px&offsetLeftShadow=-4px&offsetTopShadow=-4px&thicknessShadow=4px&opacityShadow=60&bgImgOpacityShadow=0&bgTextureShadow=flat&bgColorShadow=aaaaaa&opacityOverlay=80&bgImgOpacityOverlay=0&bgTextureOverlay=flat&bgColorOverlay=eeeeee&iconColorError=ff0084&fcError=222222&borderColorError=ff0084&bgImgOpacityError=55&bgTextureError=flat&bgColorError=ffffff&iconColorHighlight=0073ea&fcHighlight=444444&borderColorHighlight=cccccc&bgImgOpacityHighlight=55&bgTextureHighlight=flat&bgColorHighlight=ffffff&iconColorActive=454545&fcActive=ff0084&borderColorActive=dddddd&bgImgOpacityActive=65&bgTextureActive=glass&bgColorActive=ffffff&iconColorHover=ffffff&fcHover=ffffff&borderColorHover=0073ea&bgImgOpacityHover=25&bgTextureHover=highlight_soft&bgColorHover=0073ea&iconColorDefault=666666&fcDefault=0073ea&borderColorDefault=dddddd&bgImgOpacityDefault=100&bgTextureDefault=highlight_soft&bgColorDefault=f6f6f6&iconColorContent=ff0084&fcContent=444444&borderColorContent=dddddd&bgImgOpacityContent=75&bgTextureContent=flat&bgColorContent=ffffff&iconColorHeader=0073ea&fcHeader=444444&borderColorHeader=dddddd&bgImgOpacityHeader=50&bgTextureHeader=highlight_soft&bgColorHeader=dddddd&cornerRadius=2px&fsDefault=1.1em&fwDefault=bold&ffDefault=Helvetica%2CArial%2Csans-serif
1
+ .bapf_sfilter .bapf_button,.bapf_sfilter label{cursor:pointer;display:inline-block!important}.bapf_sfilter ul li{list-style:none!important;margin:0!important;padding:0!important;max-width:100%}.bapf_slidr_main.ui-widget-content,.berocket_filter_price_slider.ui-widget-content{background:#b0b5b9;border:0;border-radius:0;height:4px;padding:0}.bapf_slidr_main.ui-widget-content .ui-slider-range,.berocket_filter_price_slider.ui-widget-content .ui-slider-range{background:#000}.slide.default .bapf_slidr_main.ui-widget-content .ui-slider-range,.slide.default .berocket_filter_price_slider.ui-widget-content .ui-slider-range{background:#222}.slide.default .bapf_slidr_main.ui-widget-content,.slide.default .berocket_filter_price_slider.ui-widget-content{height:4px;border:1px solid #555;font-size:10px}.bapf_slidr_main.ui-widget-content .ui-slider-handle,.berocket_filter_price_slider.ui-widget-content .ui-slider-handle,.slide.default .bapf_slidr_main .ui-state-default,.slide.default .bapf_slidr_main .ui-widget-header .ui-state-default,.slide.default .bapf_slidr_main.ui-widget-content .ui-state-default,.slide.default .berocket_filter_price_slider .ui-state-default,.slide.default .berocket_filter_price_slider .ui-widget-header .ui-state-default,.slide.default .berocket_filter_price_slider.ui-widget-content .ui-state-default{background:#ddd;font-size:14px;width:1em;height:1em;border:1px solid #555;top:-6px;border-radius:2em}.berocket_aapf_widget li.slider div.slide{clear:both;height:auto;text-align:right;line-height:0}.bapf_slidr_jqrui .bapf_from,.ui-slider{text-align:left}.ui-slider{position:relative}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:pointer;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.bapf_slidr_main>a:last-child{margin-left:-12px}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_hidden_clickable_left .bapf_sfilter.bapf_ccolaps .bapf_body,.berocket_single_filter_widget.berocket_hidden_clickable.berocket_hidden_clickable_left .berocket_aapf_widget{left:0!important}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.slide .ui-corner-all,.slide .ui-corner-bottom,.slide .ui-corner-br,.slide .ui-corner-right{border-bottom-right-radius:4px}.slide .ui-corner-all,.slide .ui-corner-bl,.slide .ui-corner-bottom,.slide .ui-corner-left{border-bottom-left-radius:4px}.slide .ui-corner-all,.slide .ui-corner-right,.slide .ui-corner-top,.slide .ui-corner-tr{border-top-right-radius:4px}.slide .ui-corner-all,.slide .ui-corner-left,.slide .ui-corner-tl,.slide .ui-corner-top{border-top-left-radius:4px}ul.berocket_aapf_widget li.slider>span{cursor:initial}.bapf_show_hide,.berocket_search_box_button,ul.berocket_aapf_widget li.slider .bapf_slidr_main{cursor:pointer}.slide .ui-widget-content{background:#fff;border:1px solid #aaa;color:#222}.slide .ui-state-default,.slide .ui-widget-content .ui-state-default,.slide .ui-widget-header .ui-state-default{background:#e6e6e6;border:1px solid #d3d3d3;color:#555;font-weight:400}.ui-widget.ui-datepicker{font-size:14px;z-index:9000!important}.bapf_sfilter .ui-button,.bapf_sfilter .ui-state-default,.bapf_sfilter .ui-widget-content .ui-state-default,.bapf_sfilter .ui-widget-header .ui-state-default,.bapf_sfilter .ui-widget.ui-widget-content,html .bapf_sfilter .ui-button.ui-state-disabled:active,html .bapf_sfilter .ui-button.ui-state-disabled:hover{border:0}.bapf_slidr_jqrui .bapf_slidr_all:after{content:"";display:block;clear:both}.bapf_slidr_jqrui .bapf_slidr_main{margin-bottom:10px}.bapf_slidr_jqrui .bapf_from,.bapf_slidr_jqrui .bapf_to{width:49%;display:inline-block;margin-bottom:10px;vertical-align:middle}.bapf_slidr_jqrui .bapf_from input,.bapf_slidr_jqrui .bapf_to input{width:50%;vertical-align:middle;font-size:1em;padding:0;margin:0;line-height:1em}.bapf_slidr_jqrui .bapf_to{text-align:right}.bapf_sfilter{margin-bottom:20px}.berocket_single_filter_widget.berocket_inline_clickable,.berocket_single_filter_widget.berocket_inline_filters{float:left!important;padding-right:15px!important}.berocket_single_filter_widget.berocket_inline_filters{width:12.5%!important}#berocket-ajax-filters-sidebar .berocket_single_filter_widget.berocket_hidden_clickable .berocket_aapf_widget-title_div,.berocket_single_filter_widget.berocket_hidden_clickable .berocket_aapf_widget-title_div{border:2px solid #333!important;background-color:#333!important;color:#ccc!important;padding:5px 35px 5px 5px!important;border-radius:5px!important}.berocket_single_filter_widget.berocket_hidden_clickable .berocket_aapf_widget-title_div h3{margin:0!important;padding:0!important;font-size:inherit!important;color:inherit!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget-title_div{border:2px solid #ccc!important;color:#000!important;background-color:#ccc!important;border-radius:5px 5px 0 0!important;padding-bottom:10px!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget-wrapper{padding-bottom:0!important}.berocket_single_filter_widget.berocket_hidden_clickable .berocket_aapf_widget{position:absolute!important;top:100%!important;width:100%!important;background-color:#fff!important;z-index:800!important;margin:0!important;border:2px solid #ccc!important;padding:5px!important;display:none}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget{z-index:900!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_hidden_clickable_right .berocket_aapf_widget{right:0!important}.berocket_element_above_products{clear:both!important;overflow:visible!important}.berocket_single_filter_widget.bapf_mt_none{display:none!important}div.berocket_single_filter_widget div.berocket_aapf_widget-wrapper *{opacity:1}@media screen and (max-width:767px){.bapf_sngl_hd_mobile{display:none!important}}@media screen and (min-width:768px) and (max-width:1024px){.bapf_sngl_hd_tablet{display:none!important}}@media screen and (min-width:1025px){.bapf_sngl_hd_desktop{display:none!important}}.berocket_aapf_widget select{overflow:auto!important}.berocket_element_above_products_after{clear:both}ul.berocket_aapf_widget li>span>input+.berocket_label_widgets::before{margin-right:6px}.berocket_element_above_products_is_hide{overflow:visible!important}.berocket_element_above_products_is_hide:after{content:"";display:block;clear:both}.berocket_ajax_filters_sidebar_toggle,.berocket_element_above_products_is_hide_toggle{width:200px!important;display:inline-block;padding-left:25px;font-size:16px;position:relative;font-weight:600;outline:0!important}.berocket_element_above_products_is_hide.br_is_hidden{opacity:0;max-height:1px;position:relative}.berocket_element_above_products_is_hide_toggle{height:20px;margin:40px 0;color:#2a2a2a}body{transition:margin-left .2s}body.berocket_ajax_filters_sidebar_active{margin-left:200px}.berocket_ajax_filters_sidebar_toggle{height:26px;margin:40px 0;text-decoration:none!important;box-sizing:border-box!important}#berocket-ajax-filters-sidebar{display:block;position:fixed;top:0;left:-350px;bottom:0;width:350px;max-width:100%;background:#fff;transition:all .2s;z-index:100000;box-sizing:border-box;overflow:auto!important}#berocket-ajax-filters-sidebar-shadow{content:"";display:none;position:fixed;top:0;left:0;bottom:0;right:0;z-index:99999;background:#000;opacity:.7}.admin-bar #berocket-ajax-filters-sidebar{top:32px}#berocket-ajax-filters-sidebar.active,#berocket-ajax-filters-sidebar.active+#berocket-ajax-filters-sidebar-shadow{left:0;display:block}#berocket-ajax-filters-sidebar .berocket_ajax_group_filter_title{padding:15px 88px 15px 15px!important;font-weight:500!important;font-size:24px!important;color:#333!important;border-bottom:1px solid #ccc!important}#berocket-ajax-filters-sidebar>div{padding:15px!important}#berocket-ajax-filters-sidebar .berocket_aapf_widget-title_div{color:#333!important;font-size:19px!important;font-weight:600!important}#berocket-ajax-filters-sidebar .berocket_aapf_widget,#berocket-ajax-filters-sidebar .berocket_aapf_widget li{margin:0!important}#berocket-ajax-filters-sidebar .berocket_aapf_widget .berocket_checkbox_color .berocket_label_widgets{margin:0 .6em .6em 0!important}#berocket-ajax-filters-sidebar-close{position:absolute!important;right:0!important;line-height:39px;padding:17px 15px 13px!important;font-family:Arial,serif!important;color:#a2a2a2}#berocket-ajax-filters-sidebar-close+*{margin-top:70px!important}#berocket-ajax-filters-sidebar-close+.berocket_ajax_group_filter_title{margin-top:0!important}@media screen and (max-width:782px){.admin-bar #berocket-ajax-filters-sidebar{top:46px}}@media screen and (max-width:600px){.admin-bar #berocket-ajax-filters-sidebar{top:0}}.berocket_aapf_widget-wrapper .slider:not(.flickity-enabled){overflow:initial;white-space:initial}.select2-container{z-index:999}.bapf_sfilter .bapf_body .mCSB_container>ul,.bapf_sfilter .bapf_body>ul{margin-left:0}.bapf_sfilter.bapf_vpr_1 .bapf_body ul,.bapf_sfilter.bapf_vpr_2 .bapf_body ul,.bapf_sfilter.bapf_vpr_3 .bapf_body ul,.bapf_sfilter.bapf_vpr_4 .bapf_body ul{display:flex;flex-wrap:wrap}.bapf_sfilter.bapf_vpr_1 .bapf_body ul>li,.bapf_sfilter.bapf_vpr_2 .bapf_body ul>li,.bapf_sfilter.bapf_vpr_3 .bapf_body ul>li,.bapf_sfilter.bapf_vpr_4 .bapf_body ul>li{white-space:nowrap}.bapf_sfilter.bapf_vpr_1 .bapf_body ul>li{flex-basis:100%}.bapf_sfilter.bapf_vpr_2 .bapf_body ul>li{flex-basis:50%}.bapf_sfilter.bapf_vpr_3 .bapf_body ul>li{flex-basis:33%}.bapf_sfilter.bapf_vpr_4 .bapf_body ul>li{flex-basis:25%}.bapf_sfilter.bapf_vpr_1 .bapf_body ul>li label,.bapf_sfilter.bapf_vpr_2 .bapf_body ul>li label,.bapf_sfilter.bapf_vpr_3 .bapf_body ul>li label,.bapf_sfilter.bapf_vpr_4 .bapf_body ul>li label{white-space:initial}.bapf_sfilter.bapf_fhide .bapf_body ul li.bapf_hide,.bapf_sfilter.bapf_fhide.bapf_filter_hide{display:none!important}.bapf_sfilter .bapf_hascolarr,.bapf_sfilter .bapf_hasdesc{position:relative;padding-right:25px}.bapf_sfilter .bapf_colaps_smb,.bapf_sfilter .bapf_desci{position:absolute;right:0;top:0;line-height:inherit}.bapf_sfilter .bapf_hasdesc .bapf_colaps_smb{right:25px}#berocket-ajax-filters-sidebar .berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter .bapf_head,.berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter .bapf_head{border:2px solid #333!important;background-color:#333!important;color:#ccc!important;padding:5px!important;border-radius:5px!important}.berocket_single_filter_widget.berocket_hidden_clickable .berocket_widget_has_description .berocket_aapf_widget-title_div{padding-right:55px!important}.berocket_single_filter_widget.berocket_hidden_clickable .berocket_aapf_widget-wrapper{padding-bottom:5px!important}.berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter .bapf_head h3{margin:0;font-size:inherit!important;color:inherit!important}.berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter{position:relative!important}.berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter.bapf_ccolaps .bapf_head{border:2px solid #ccc!important;color:#000!important;background-color:#ccc!important;border-radius:5px 5px 0 0!important;padding-bottom:5px!important}.berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter .bapf_body{position:absolute!important;top:100%!important;width:100%!important;background-color:#fff!important;z-index:800!important;margin:0!important;border:2px solid #ccc!important;padding:5px!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_hidden_clickable_right .bapf_sfilter.bapf_ccolaps .bapf_body{right:0!important}@media screen and (max-width:767px){.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible{position:fixed!important;top:0!important;left:0!important;bottom:0!important;right:0!important;z-index:9000000000!important;background-color:#fff!important;overflow:auto!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget{border:0!important;width:100%!important;max-width:100%!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget_show.mobile_hide{display:block!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget_show.mobile_hide .fa-angle-left:before,.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget_show.mobile_hide .fa-angle-right:before{content:"\f00d"!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_description{display:none!important}body .select2-container,body .ui-widget.ui-datepicker{z-index:9000000009!important}}@keyframes bapf_loader{from{transform:rotate(0)}to{transform:rotate(360deg)}}.bapf_loader_page{position:fixed;top:0;left:0;bottom:0;right:0;background-color:rgba(255,255,255,.5);z-index:9999}.bapf_loader_page .bapf_lcontainer{position:absolute;top:50%;margin:-20px 0 0 -20px;left:50%;width:30px;height:30px;padding:0}.bapf_lcontainer .bapf_loader{width:100%;height:100%;display:block;transform:rotate(0);animation:1s linear 0s infinite bapf_loader;position:relative}.bapf_lcontainer .bapf_loader .bapf_lfirst,.bapf_lcontainer .bapf_loader .bapf_lsecond{position:absolute;width:10px;height:10px;background:#000;background:linear-gradient(45deg,#000,transparent);display:block;border-radius:6px}.bapf_lcontainer .bapf_loader .bapf_lfirst{bottom:0;right:0}.bapf_lcontainer .bapf_loader .bapf_lsecond{top:0;left:0;transform:rotate(180deg)}.bapf_lcontainer .bapf_labove,.bapf_lcontainer .bapf_lbelow{position:absolute;display:block;text-align:center;width:80vw;left:calc(15px - 40vw)}.bapf_lcontainer .bapf_labove{bottom:120%}.bapf_lcontainer .bapf_lbelow{top:120%}.bapf_lcontainer .bapf_lafter,.bapf_lcontainer .bapf_lbefore{position:absolute;top:50%;margin-top:-15px;height:30px;line-height:30px;vertical-align:middle;white-space:nowrap}.bapf_lcontainer .bapf_lbefore{right:120%}.bapf_lcontainer .bapf_lafter{left:120%}.bapf_lcontainer .bapf_limg{width:100%;height:100%}.berocket_single_filter_widget .tippy-tooltip,.berocket_single_filter_widget .tippy-tooltip .tippy-content{font-size:1em}@media only screen and (max-device-width:767px){.bapf_hide_mobile{display:none!important}}.bapf_sfilter .bapf_button{font-size:1em}.bapf_sfilter .rightpcs{float:right}.bapf_sfilter .right2empcs{padding-left:10px}#bapf_footer_clrimg>div,#bapf_footer_count_before>div,#bapf_footer_description>div{z-index:999999999999!important}.bapf_sfilter.bapf_ckbox input[type=checkbox]{margin-right:5px}.bapf_sfilter.bapf_ckbox input[type=checkbox],.bapf_sfilter.bapf_ckbox label{vertical-align:middle}.select2-container--classic input[type=search],.select2-container--classic input[type=search]:focus{background-color:initial}.berocket_search_box_block{position:relative;padding:.5em}.berocket_search_box_block .berocket_search_box_background_all{position:relative;z-index:200}.berocket_search_box_block .berocket_search_box_background{z-index:100;position:absolute;top:0;bottom:0;left:0;right:0}.berocket_search_box_block select{min-width:100%}.berocket_search_box_button{display:block;text-align:center;padding:5px 0}.berocket_search_box_block .berocket_aapf_widget-wrapper ul{margin:0}.berocket_search_box_block .berocket_aapf_widget-wrapper{margin:1em 0}.bapf_hideckbox li input[type=checkbox],.bapf_hideckbox li input[type=checkbox]:after,.bapf_hideckbox li input[type=checkbox]:before{display:none!important}.bapf_hideckbox li label,.bapf_hideckbox li label a{color:#428bca}.bapf_hideckbox li input:checked+label:hover,.bapf_hideckbox li input:checked+label:hover a,.bapf_hideckbox li label:hover,.bapf_hideckbox li label:hover a{color:#2a6496}.bapf_hideckbox li input:checked+label,.bapf_hideckbox li input:checked+label a{color:#222}.bapf_sfilter.bapf_button_berocket .bapf_button{font-size:20px;padding:8px 30px;border:0;line-height:28px;font-weight:600;display:inline-block;color:#fff;text-transform:uppercase;text-align:center;text-decoration:none;background-color:#f16543}.bapf_sfilter.bapf_button_berocket .bapf_button:hover{background-color:#d94825}.bapf_sfilter.bapf_colorinline li{display:inline-block!important}.bapf_sfilter .bapf_clr_span,.bapf_sfilter .bapf_img_span{display:inline-block!important;position:relative;overflow:hidden;margin:5px;height:2em;width:2em;line-height:2em;border:2px solid #000;text-align:center;vertical-align:middle;color:#222!important;text-shadow:0 0 3px #FFF,1px 0 2px #FFF,0 1px 2px #FFF,-1px 0 2px #FFF,0 -1px 2px #FFF,1px 1px 2px #FFF,1px -1px 2px #FFF,-1px 1px 2px #FFF,-1px -1px 2px #FFF;-webkit-transition:all .2s ease-out .1s;-moz-transition:all .2s ease-out .1s;-o-transition:all .2s ease-out .1s;transition:all .2s ease-out .1s}.bapf_sfilter .bapf_clr_span.h1em,.bapf_sfilter .bapf_img_span.h1em{height:1em;line-height:1em}.bapf_sfilter .bapf_clr_span.h2em,.bapf_sfilter .bapf_img_span.h2em{height:2em;line-height:2em}.bapf_sfilter .bapf_clr_span.h3em,.bapf_sfilter .bapf_img_span.h3em{height:3em;line-height:3em}.bapf_sfilter .bapf_clr_span.h4em,.bapf_sfilter .bapf_img_span.h4em{height:4em;line-height:4em}.bapf_sfilter .bapf_clr_span.h5em,.bapf_sfilter .bapf_img_span.h5em{height:5em;line-height:5em}.bapf_sfilter .bapf_clr_span.w1em,.bapf_sfilter .bapf_img_span.w1em{width:1em}.bapf_sfilter .bapf_clr_span.w2em,.bapf_sfilter .bapf_img_span.w2em{width:2em}.bapf_sfilter .bapf_clr_span.w3em,.bapf_sfilter .bapf_img_span.w3em{width:3em}.bapf_sfilter .bapf_clr_span.w4em,.bapf_sfilter .bapf_img_span.w4em{width:4em}.bapf_sfilter .bapf_clr_span.w5em,.bapf_sfilter .bapf_img_span.w5em{width:5em}.bapf_sfilter .bapf_img_span.w1em.h1em .fa,.bapf_sfilter .bapf_img_span.w1em.h2em .fa,.bapf_sfilter .bapf_img_span.w1em.h3em .fa,.bapf_sfilter .bapf_img_span.w1em.h4em .fa,.bapf_sfilter .bapf_img_span.w1em.h5em .fa,.bapf_sfilter .bapf_img_span.w2em.h1em .fa,.bapf_sfilter .bapf_img_span.w3em.h1em .fa,.bapf_sfilter .bapf_img_span.w4em.h1em .fa,.bapf_sfilter .bapf_img_span.w5em.h1em .fa{font-size:.8em}.bapf_sfilter .bapf_img_span.w2em.h2em .fa,.bapf_sfilter .bapf_img_span.w2em.h3em .fa,.bapf_sfilter .bapf_img_span.w2em.h4em .fa,.bapf_sfilter .bapf_img_span.w2em.h5em .fa,.bapf_sfilter .bapf_img_span.w3em.h2em .fa,.bapf_sfilter .bapf_img_span.w4em.h2em .fa,.bapf_sfilter .bapf_img_span.w5em.h2em .fa{font-size:1.6em}.bapf_sfilter .bapf_img_span.w3em.h3em .fa,.bapf_sfilter .bapf_img_span.w3em.h4em .fa,.bapf_sfilter .bapf_img_span.w3em.h5em .fa,.bapf_sfilter .bapf_img_span.w4em.h3em .fa,.bapf_sfilter .bapf_img_span.w5em.h3em .fa{font-size:2.4em}.bapf_sfilter .bapf_img_span.w4em.h4em .fa,.bapf_sfilter .bapf_img_span.w4em.h5em .fa,.bapf_sfilter .bapf_img_span.w5em.h4em .fa{font-size:3.2em}.bapf_sfilter .bapf_img_span.w5em.h5em .fa{font-size:4em}.bapf_sfilter .bapf_clr_span .bapf_clr_span_abslt{position:relative;z-index:100}.bapf_sfilter.brchecked_default input:checked+label .bapf_clr_span,.bapf_sfilter.brchecked_default input:checked+label .bapf_img_span,.bapf_sfilter.brchecked_rotate input:checked+label .bapf_clr_span,.bapf_sfilter.brchecked_rotate input:checked+label .bapf_img_span{-webkit-transform:rotate(15deg);-moz-transform:rotate(15deg);-ms-transform:rotate(15deg);-o-transform:rotate(15deg);transform:rotate(15deg)}.bapf_sfilter.brchecked_scale input:checked+label .bapf_clr_span,.bapf_sfilter.brchecked_scale input:checked+label .bapf_img_span{transform:scale(1.1)}.bapf_sfilter.brchecked_image_shadow input:checked+label .bapf_clr_span,.bapf_sfilter.brchecked_shadow input:checked+label .bapf_clr_span,.bapf_sfilter.brchecked_shadow input:checked+label .bapf_img_span{box-shadow:0 0 1px 3px #88F}.bapf_sfilter.brchecked_image_shadow input:checked+label .bapf_img_span{-webkit-filter:drop-shadow(0 0 2px);-moz-filter:drop-shadow(0 0 2px);-o-filter:drop-shadow(0 0 2px);filter:drop-shadow(0 0 2px)}.bapf_sfilter.brchecked_hue_rotate input:checked+label .bapf_clr_span,.bapf_sfilter.brchecked_hue_rotate input:checked+label .bapf_img_span{-webkit-filter:hue-rotate(90deg);-moz-filter:hue-rotate(90deg);-o-filter:hue-rotate(90deg);filter:hue-rotate(90deg)}.bapf_sfilter .bapf_clr_multi{position:absolute;top:0;bottom:0;left:0;right:0;z-index:2;transform:rotateZ(45deg);padding:0;margin:-2em 0;box-sizing:border-box}.bapf_sfilter .bapf_clr_multi .bapf_clr_multi_singl{position:absolute;top:-50%;bottom:-50%;padding:0;margin:0;box-shadow:none;box-sizing:border-box;border:0}.bapf_sfilter .bapf_clr_multi_2 .bapf_clr_multi_singl,.bapf_sfilter .bapf_clr_multi_3 .bapf_clr_multi_singl{width:100%}.bapf_sfilter .bapf_clr_multi_3 .bapf_clr_multi_singl_1{width:34%}.bapf_sfilter .bapf_clr_multi_3 .bapf_clr_multi_singl_0,.bapf_sfilter .bapf_clr_multi_3 .bapf_clr_multi_singl_2{width:83%}.bapf_sfilter .bapf_clr_multi_4 .bapf_clr_multi_singl{width:25%}.bapf_sfilter .bapf_clr_multi_4 .bapf_clr_multi_singl_0,.bapf_sfilter .bapf_clr_multi_4 .bapf_clr_multi_singl_3{width:75%}.bapf_sfilter .bapf_clr_multi .bapf_clr_multi_singl_0{left:-50%}.bapf_sfilter .bapf_clr_multi_2 .bapf_clr_multi_singl_1{left:50%}.bapf_sfilter .bapf_clr_multi_3 .bapf_clr_multi_singl_1{left:33%}.bapf_sfilter .bapf_clr_multi_4 .bapf_clr_multi_singl_1{left:25%}.bapf_sfilter .bapf_clr_multi_3 .bapf_clr_multi_singl_2{left:67%}.bapf_sfilter .bapf_clr_multi_4 .bapf_clr_multi_singl_2{left:50%}.bapf_sfilter .bapf_clr_multi_4 .bapf_clr_multi_singl_3{left:75%}.bapf_sfilter.bapf_clr_txt_left .bapf_img_span{margin:5px 0 5px 10px}.bapf_sfilter.bapf_clr_txt_right .bapf_img_span{margin:5px 10px 5px 0}.bapf_sfilter.bapf_clr_txt_bottom .bapf_img_span,.bapf_sfilter.bapf_clr_txt_top .bapf_img_span{margin:5px 10px}.bapf_sfilter.bapf_colorinline.bapf_clr_txt_bottom li label,.bapf_sfilter.bapf_colorinline.bapf_clr_txt_top li label{display:inline-block!important;text-align:center}.bapf_sfilter.bapf_clr_txt_bottom .bapf_clr_text,.bapf_sfilter.bapf_clr_txt_top .bapf_clr_text{display:block;margin-right:10px;margin-left:10px}.bapf_colorinline .bapf_body li{text-align:center}.bapf_img_woborder.bapf_sfilter .bapf_img_span{border:none;overflow:visible}.bapf_clr_woborder.bapf_sfilter .bapf_clr_span{border:none}.bapf_asradio2 ul li input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;display:inline-block;vertical-align:middle;border:2px solid #555;width:15px;height:15px;outline:0;border-radius:10px;padding:2px;margin-right:5px}.bapf_asradio2 ul li input[type=checkbox]:checked{background:#555;background-clip:content-box}.bapf_slct select{width:100%;font-size:1em}.bapf_slct .select2 .select2-search__field{width:auto!important}#bapf-select2-high-zindex .select2-container{z-index:999999999!important}.bapf_sfa_inline .berocket_aapf_widget_selected_area ul li{display:inline-block;margin-left:3px!important;margin-right:3px!important}.bapf_ckbox_square input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;display:inline-block;vertical-align:middle;border:2px solid #555;width:20px;height:20px;outline:0;padding:4px;margin-right:5px}.bapf_ckbox_square input[type=checkbox]:checked{background:#555;background-clip:content-box}.ui-datepicker .ui-icon,.ui-icon{text-indent:-99999px;background-repeat:no-repeat}/*! jQuery UI - v1.12.0 - 2016-07-28
2
  * http://jqueryui.com
3
  * Includes: core.css, datepicker.css, theme.css
4
  * To view and modify this theme, visit http://jqueryui.com/themeroller/?scope=&folderName=flick&cornerRadiusShadow=0px&offsetLeftShadow=-4px&offsetTopShadow=-4px&thicknessShadow=4px&opacityShadow=60&bgImgOpacityShadow=0&bgTextureShadow=flat&bgColorShadow=aaaaaa&opacityOverlay=80&bgImgOpacityOverlay=0&bgTextureOverlay=flat&bgColorOverlay=eeeeee&iconColorError=ff0084&fcError=222222&borderColorError=ff0084&bgImgOpacityError=55&bgTextureError=flat&bgColorError=ffffff&iconColorHighlight=0073ea&fcHighlight=444444&borderColorHighlight=cccccc&bgImgOpacityHighlight=55&bgTextureHighlight=flat&bgColorHighlight=ffffff&iconColorActive=454545&fcActive=ff0084&borderColorActive=dddddd&bgImgOpacityActive=65&bgTextureActive=glass&bgColorActive=ffffff&iconColorHover=ffffff&fcHover=ffffff&borderColorHover=0073ea&bgImgOpacityHover=25&bgTextureHover=highlight_soft&bgColorHover=0073ea&iconColorDefault=666666&fcDefault=0073ea&borderColorDefault=dddddd&bgImgOpacityDefault=100&bgTextureDefault=highlight_soft&bgColorDefault=f6f6f6&iconColorContent=ff0084&fcContent=444444&borderColorContent=dddddd&bgImgOpacityContent=75&bgTextureContent=flat&bgColorContent=ffffff&iconColorHeader=0073ea&fcHeader=444444&borderColorHeader=dddddd&bgImgOpacityHeader=50&bgTextureHeader=highlight_soft&bgColorHeader=dddddd&cornerRadius=2px&fsDefault=1.1em&fwDefault=bold&ffDefault=Helvetica%2CArial%2Csans-serif
assets/frontend/css/main.css CHANGED
@@ -488,6 +488,7 @@ body.berocket_ajax_filters_sidebar_active {
488
 
489
 
490
  /*NEW TEMPLATES STYLE*/
 
491
  .bapf_sfilter .bapf_body > ul {
492
  margin-left: 0;
493
  }
@@ -537,6 +538,7 @@ body.berocket_ajax_filters_sidebar_active {
537
  position: absolute;
538
  right: 0;
539
  top: 0;
 
540
  }
541
  .bapf_sfilter .bapf_hasdesc .bapf_colaps_smb {
542
  right: 25px;
@@ -773,6 +775,28 @@ body.berocket_ajax_filters_sidebar_active {
773
  .berocket_search_box_block .berocket_aapf_widget-wrapper {
774
  margin: 1em 0;
775
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
776
  .bapf_sfilter.bapf_button_berocket .bapf_button {
777
  font-size: 20px;
778
  padding: 8px 30px;
@@ -1054,6 +1078,9 @@ body.berocket_ajax_filters_sidebar_active {
1054
  border:none;
1055
  overflow: visible;
1056
  }
 
 
 
1057
  .bapf_asradio2 ul li input[type=checkbox] {
1058
  -webkit-appearance: none;
1059
  -moz-appearance: none;
@@ -1081,6 +1108,9 @@ body.berocket_ajax_filters_sidebar_active {
1081
  .bapf_slct .select2 .select2-search__field {
1082
  width: auto!important;
1083
  }
 
 
 
1084
  .bapf_sfa_inline .berocket_aapf_widget_selected_area ul li{
1085
  display: inline-block;
1086
  margin-left: 3px!important;
488
 
489
 
490
  /*NEW TEMPLATES STYLE*/
491
+ .bapf_sfilter .bapf_body .mCSB_container > ul,
492
  .bapf_sfilter .bapf_body > ul {
493
  margin-left: 0;
494
  }
538
  position: absolute;
539
  right: 0;
540
  top: 0;
541
+ line-height: inherit;
542
  }
543
  .bapf_sfilter .bapf_hasdesc .bapf_colaps_smb {
544
  right: 25px;
775
  .berocket_search_box_block .berocket_aapf_widget-wrapper {
776
  margin: 1em 0;
777
  }
778
+ .bapf_show_hide {
779
+ cursor: pointer;
780
+ }
781
+ .bapf_hideckbox li input[type=checkbox],
782
+ .bapf_hideckbox li input[type=checkbox]:before,
783
+ .bapf_hideckbox li input[type=checkbox]:after {
784
+ display: none!important;
785
+ }
786
+ .bapf_hideckbox li label a,
787
+ .bapf_hideckbox li label {
788
+ color: #428bca;
789
+ }
790
+ .bapf_hideckbox li input:checked + label:hover a,
791
+ .bapf_hideckbox li label:hover a,
792
+ .bapf_hideckbox li input:checked + label:hover,
793
+ .bapf_hideckbox li label:hover {
794
+ color: #2a6496;
795
+ }
796
+ .bapf_hideckbox li input:checked + label a,
797
+ .bapf_hideckbox li input:checked + label {
798
+ color: #222;
799
+ }
800
  .bapf_sfilter.bapf_button_berocket .bapf_button {
801
  font-size: 20px;
802
  padding: 8px 30px;
1078
  border:none;
1079
  overflow: visible;
1080
  }
1081
+ .bapf_clr_woborder.bapf_sfilter .bapf_clr_span {
1082
+ border:none;
1083
+ }
1084
  .bapf_asradio2 ul li input[type=checkbox] {
1085
  -webkit-appearance: none;
1086
  -moz-appearance: none;
1108
  .bapf_slct .select2 .select2-search__field {
1109
  width: auto!important;
1110
  }
1111
+ #bapf-select2-high-zindex .select2-container{
1112
+ z-index: 999999999!important;
1113
+ }
1114
  .bapf_sfa_inline .berocket_aapf_widget_selected_area ul li{
1115
  display: inline-block;
1116
  margin-left: 3px!important;
assets/frontend/css/main.min.css CHANGED
@@ -1 +1 @@
1
- .bapf_sfilter .bapf_button,.bapf_sfilter label{cursor:pointer;display:inline-block!important}.bapf_sfilter ul li{list-style:none!important;margin:0!important;padding:0!important;max-width:100%}.bapf_slidr_main.ui-widget-content,.berocket_filter_price_slider.ui-widget-content{background:#b0b5b9;border:0;border-radius:0;height:4px;padding:0}.bapf_slidr_main.ui-widget-content .ui-slider-range,.berocket_filter_price_slider.ui-widget-content .ui-slider-range{background:#000}.slide.default .bapf_slidr_main.ui-widget-content .ui-slider-range,.slide.default .berocket_filter_price_slider.ui-widget-content .ui-slider-range{background:#222}.slide.default .bapf_slidr_main.ui-widget-content,.slide.default .berocket_filter_price_slider.ui-widget-content{height:4px;border:1px solid #555;font-size:10px}.bapf_slidr_main.ui-widget-content .ui-slider-handle,.berocket_filter_price_slider.ui-widget-content .ui-slider-handle,.slide.default .bapf_slidr_main .ui-state-default,.slide.default .bapf_slidr_main .ui-widget-header .ui-state-default,.slide.default .bapf_slidr_main.ui-widget-content .ui-state-default,.slide.default .berocket_filter_price_slider .ui-state-default,.slide.default .berocket_filter_price_slider .ui-widget-header .ui-state-default,.slide.default .berocket_filter_price_slider.ui-widget-content .ui-state-default{background:#ddd;font-size:14px;width:1em;height:1em;border:1px solid #555;top:-6px;border-radius:2em}.berocket_aapf_widget li.slider div.slide{clear:both;height:auto;text-align:right;line-height:0}.bapf_slidr_jqrui .bapf_from,.ui-slider{text-align:left}.ui-slider{position:relative}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:pointer;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.bapf_slidr_main>a:last-child{margin-left:-12px}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_hidden_clickable_left .bapf_sfilter.bapf_ccolaps .bapf_body,.berocket_single_filter_widget.berocket_hidden_clickable.berocket_hidden_clickable_left .berocket_aapf_widget{left:0!important}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.slide .ui-corner-all,.slide .ui-corner-bottom,.slide .ui-corner-br,.slide .ui-corner-right{border-bottom-right-radius:4px}.slide .ui-corner-all,.slide .ui-corner-bl,.slide .ui-corner-bottom,.slide .ui-corner-left{border-bottom-left-radius:4px}.slide .ui-corner-all,.slide .ui-corner-right,.slide .ui-corner-top,.slide .ui-corner-tr{border-top-right-radius:4px}.slide .ui-corner-all,.slide .ui-corner-left,.slide .ui-corner-tl,.slide .ui-corner-top{border-top-left-radius:4px}ul.berocket_aapf_widget li.slider>span{cursor:initial}ul.berocket_aapf_widget li.slider .bapf_slidr_main{cursor:pointer}.slide .ui-widget-content{background:#fff;border:1px solid #aaa;color:#222}.slide .ui-state-default,.slide .ui-widget-content .ui-state-default,.slide .ui-widget-header .ui-state-default{background:#e6e6e6;border:1px solid #d3d3d3;color:#555;font-weight:400}.ui-widget.ui-datepicker{font-size:14px;z-index:9000!important}.bapf_sfilter .ui-button,.bapf_sfilter .ui-state-default,.bapf_sfilter .ui-widget-content .ui-state-default,.bapf_sfilter .ui-widget-header .ui-state-default,.bapf_sfilter .ui-widget.ui-widget-content,html .bapf_sfilter .ui-button.ui-state-disabled:active,html .bapf_sfilter .ui-button.ui-state-disabled:hover{border:0}.bapf_slidr_jqrui .bapf_slidr_all:after{content:"";display:block;clear:both}.bapf_slidr_jqrui .bapf_slidr_main{margin-bottom:10px}.bapf_slidr_jqrui .bapf_from,.bapf_slidr_jqrui .bapf_to{width:49%;display:inline-block;margin-bottom:10px;vertical-align:middle}.bapf_slidr_jqrui .bapf_from input,.bapf_slidr_jqrui .bapf_to input{width:50%;vertical-align:middle;font-size:1em;padding:0;margin:0;line-height:1em}.bapf_slidr_jqrui .bapf_to{text-align:right}.bapf_sfilter{margin-bottom:20px}.berocket_single_filter_widget.berocket_inline_clickable,.berocket_single_filter_widget.berocket_inline_filters{float:left!important;padding-right:15px!important}.berocket_single_filter_widget.berocket_inline_filters{width:12.5%!important}#berocket-ajax-filters-sidebar .berocket_single_filter_widget.berocket_hidden_clickable .berocket_aapf_widget-title_div,.berocket_single_filter_widget.berocket_hidden_clickable .berocket_aapf_widget-title_div{border:2px solid #333!important;background-color:#333!important;color:#ccc!important;padding:5px 35px 5px 5px!important;border-radius:5px!important}.berocket_single_filter_widget.berocket_hidden_clickable .berocket_aapf_widget-title_div h3{margin:0!important;padding:0!important;font-size:inherit!important;color:inherit!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget-title_div{border:2px solid #ccc!important;color:#000!important;background-color:#ccc!important;border-radius:5px 5px 0 0!important;padding-bottom:10px!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget-wrapper{padding-bottom:0!important}.berocket_single_filter_widget.berocket_hidden_clickable .berocket_aapf_widget{position:absolute!important;top:100%!important;width:100%!important;background-color:#fff!important;z-index:800!important;margin:0!important;border:2px solid #ccc!important;padding:5px!important;display:none}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget{z-index:900!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_hidden_clickable_right .berocket_aapf_widget{right:0!important}.berocket_ajax_filters_sidebar_toggle,.berocket_element_above_products_is_hide_toggle{width:200px!important;padding-left:25px;outline:0!important;font-size:16px;position:relative;font-weight:600}.berocket_element_above_products{clear:both!important;overflow:visible!important}.berocket_single_filter_widget.bapf_mt_none{display:none!important}div.berocket_single_filter_widget div.berocket_aapf_widget-wrapper *{opacity:1}@media screen and (max-width:767px){.bapf_sngl_hd_mobile{display:none!important}}@media screen and (min-width:768px) and (max-width:1024px){.bapf_sngl_hd_tablet{display:none!important}}@media screen and (min-width:1025px){.bapf_sngl_hd_desktop{display:none!important}}.berocket_aapf_widget select{overflow:auto!important}.berocket_element_above_products_after{clear:both}ul.berocket_aapf_widget li>span>input+.berocket_label_widgets::before{margin-right:6px}.berocket_element_above_products_is_hide{overflow:visible!important}.berocket_element_above_products_is_hide:after{content:"";display:block;clear:both}.berocket_element_above_products_is_hide.br_is_hidden{opacity:0;max-height:1px;position:relative}.berocket_element_above_products_is_hide_toggle{height:20px;margin:40px 0;display:inline-block;color:#2a2a2a}body{transition:margin-left .2s}body.berocket_ajax_filters_sidebar_active{margin-left:200px}.berocket_ajax_filters_sidebar_toggle{height:26px;margin:40px 0;display:inline-block;text-decoration:none!important;box-sizing:border-box!important}#berocket-ajax-filters-sidebar{display:block;position:fixed;top:0;left:-350px;bottom:0;width:350px;max-width:100%;background:#fff;transition:all .2s;z-index:100000;box-sizing:border-box;overflow:auto!important}#berocket-ajax-filters-sidebar-shadow{content:"";display:none;position:fixed;top:0;left:0;bottom:0;right:0;z-index:99999;background:#000;opacity:.7}.admin-bar #berocket-ajax-filters-sidebar{top:32px}#berocket-ajax-filters-sidebar.active,#berocket-ajax-filters-sidebar.active+#berocket-ajax-filters-sidebar-shadow{left:0;display:block}#berocket-ajax-filters-sidebar .berocket_ajax_group_filter_title{padding:15px 88px 15px 15px!important;font-weight:500!important;font-size:24px!important;color:#333!important;border-bottom:1px solid #ccc!important}#berocket-ajax-filters-sidebar>div{padding:15px!important}#berocket-ajax-filters-sidebar .berocket_aapf_widget-title_div{color:#333!important;font-size:19px!important;font-weight:600!important}#berocket-ajax-filters-sidebar .berocket_aapf_widget,#berocket-ajax-filters-sidebar .berocket_aapf_widget li{margin:0!important}#berocket-ajax-filters-sidebar .berocket_aapf_widget .berocket_checkbox_color .berocket_label_widgets{margin:0 .6em .6em 0!important}#berocket-ajax-filters-sidebar-close{position:absolute!important;right:0!important;line-height:39px;padding:17px 15px 13px!important;font-family:Arial,serif!important;color:#a2a2a2}#berocket-ajax-filters-sidebar-close+*{margin-top:70px!important}#berocket-ajax-filters-sidebar-close+.berocket_ajax_group_filter_title{margin-top:0!important}@media screen and (max-width:782px){.admin-bar #berocket-ajax-filters-sidebar{top:46px}}@media screen and (max-width:600px){.admin-bar #berocket-ajax-filters-sidebar{top:0}}.berocket_aapf_widget-wrapper .slider:not(.flickity-enabled){overflow:initial;white-space:initial}.select2-container{z-index:999}.bapf_sfilter .bapf_body>ul{margin-left:0}.bapf_sfilter.bapf_vpr_1 .bapf_body ul,.bapf_sfilter.bapf_vpr_2 .bapf_body ul,.bapf_sfilter.bapf_vpr_3 .bapf_body ul,.bapf_sfilter.bapf_vpr_4 .bapf_body ul{display:flex;flex-wrap:wrap}.bapf_sfilter.bapf_vpr_1 .bapf_body ul>li,.bapf_sfilter.bapf_vpr_2 .bapf_body ul>li,.bapf_sfilter.bapf_vpr_3 .bapf_body ul>li,.bapf_sfilter.bapf_vpr_4 .bapf_body ul>li{white-space:nowrap}.bapf_sfilter.bapf_vpr_1 .bapf_body ul>li{flex-basis:100%}.bapf_sfilter.bapf_vpr_2 .bapf_body ul>li{flex-basis:50%}.bapf_sfilter.bapf_vpr_3 .bapf_body ul>li{flex-basis:33%}.bapf_sfilter.bapf_vpr_4 .bapf_body ul>li{flex-basis:25%}.bapf_sfilter.bapf_vpr_1 .bapf_body ul>li label,.bapf_sfilter.bapf_vpr_2 .bapf_body ul>li label,.bapf_sfilter.bapf_vpr_3 .bapf_body ul>li label,.bapf_sfilter.bapf_vpr_4 .bapf_body ul>li label{white-space:initial}.bapf_sfilter.bapf_fhide .bapf_body ul li.bapf_hide,.bapf_sfilter.bapf_fhide.bapf_filter_hide{display:none!important}.bapf_sfilter .bapf_hascolarr,.bapf_sfilter .bapf_hasdesc{position:relative;padding-right:25px}.bapf_sfilter .bapf_colaps_smb,.bapf_sfilter .bapf_desci{position:absolute;right:0;top:0}.bapf_sfilter .bapf_hasdesc .bapf_colaps_smb{right:25px}#berocket-ajax-filters-sidebar .berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter .bapf_head,.berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter .bapf_head{border:2px solid #333!important;background-color:#333!important;color:#ccc!important;padding:5px!important;border-radius:5px!important}.berocket_single_filter_widget.berocket_hidden_clickable .berocket_widget_has_description .berocket_aapf_widget-title_div{padding-right:55px!important}.berocket_single_filter_widget.berocket_hidden_clickable .berocket_aapf_widget-wrapper{padding-bottom:5px!important}.berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter .bapf_head h3{margin:0;font-size:inherit!important;color:inherit!important}.berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter{position:relative!important}.berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter.bapf_ccolaps .bapf_head{border:2px solid #ccc!important;color:#000!important;background-color:#ccc!important;border-radius:5px 5px 0 0!important;padding-bottom:5px!important}.berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter .bapf_body{position:absolute!important;top:100%!important;width:100%!important;background-color:#fff!important;z-index:800!important;margin:0!important;border:2px solid #ccc!important;padding:5px!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_hidden_clickable_right .bapf_sfilter.bapf_ccolaps .bapf_body{right:0!important}@media screen and (max-width:767px){.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible{position:fixed!important;top:0!important;left:0!important;bottom:0!important;right:0!important;z-index:9000000000!important;background-color:#fff!important;overflow:auto!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget{border:0!important;width:100%!important;max-width:100%!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget_show.mobile_hide{display:block!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget_show.mobile_hide .fa-angle-left:before,.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget_show.mobile_hide .fa-angle-right:before{content:"\f00d"!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_description{display:none!important}body .select2-container,body .ui-widget.ui-datepicker{z-index:9000000009!important}}@keyframes bapf_loader{from{transform:rotate(0)}to{transform:rotate(360deg)}}.bapf_loader_page{position:fixed;top:0;left:0;bottom:0;right:0;background-color:rgba(255,255,255,.5);z-index:9999}.bapf_loader_page .bapf_lcontainer{position:absolute;top:50%;margin:-20px 0 0 -20px;left:50%;width:30px;height:30px;padding:0}.bapf_lcontainer .bapf_loader{width:100%;height:100%;display:block;transform:rotate(0);animation:1s linear 0s infinite bapf_loader;position:relative}.bapf_lcontainer .bapf_loader .bapf_lfirst,.bapf_lcontainer .bapf_loader .bapf_lsecond{position:absolute;width:10px;height:10px;background:#000;background:linear-gradient(45deg,#000,transparent);display:block;border-radius:6px}.bapf_lcontainer .bapf_loader .bapf_lfirst{bottom:0;right:0}.bapf_lcontainer .bapf_loader .bapf_lsecond{top:0;left:0;transform:rotate(180deg)}.bapf_lcontainer .bapf_labove,.bapf_lcontainer .bapf_lbelow{position:absolute;display:block;text-align:center;width:80vw;left:calc(15px - 40vw)}.bapf_lcontainer .bapf_labove{bottom:120%}.bapf_lcontainer .bapf_lbelow{top:120%}.bapf_lcontainer .bapf_lafter,.bapf_lcontainer .bapf_lbefore{position:absolute;top:50%;margin-top:-15px;height:30px;line-height:30px;vertical-align:middle;white-space:nowrap}.bapf_lcontainer .bapf_lbefore{right:120%}.bapf_lcontainer .bapf_lafter{left:120%}.bapf_lcontainer .bapf_limg{width:100%;height:100%}.berocket_single_filter_widget .tippy-tooltip,.berocket_single_filter_widget .tippy-tooltip .tippy-content{font-size:1em}@media only screen and (max-device-width:767px){.bapf_hide_mobile{display:none!important}}.bapf_sfilter .bapf_button{font-size:1em}.bapf_sfilter .rightpcs{float:right}.bapf_sfilter .right2empcs{padding-left:10px}#bapf_footer_clrimg>div,#bapf_footer_count_before>div,#bapf_footer_description>div{z-index:999999999999!important}.bapf_sfilter.bapf_ckbox input[type=checkbox]{margin-right:5px}.bapf_sfilter.bapf_ckbox input[type=checkbox],.bapf_sfilter.bapf_ckbox label{vertical-align:middle}.select2-container--classic input[type=search],.select2-container--classic input[type=search]:focus{background-color:initial}.berocket_search_box_block{position:relative;padding:.5em}.berocket_search_box_block .berocket_search_box_background_all{position:relative;z-index:200}.berocket_search_box_block .berocket_search_box_background{z-index:100;position:absolute;top:0;bottom:0;left:0;right:0}.berocket_search_box_block select{min-width:100%}.berocket_search_box_button{cursor:pointer;display:block;text-align:center;padding:5px 0}.berocket_search_box_block .berocket_aapf_widget-wrapper ul{margin:0}.berocket_search_box_block .berocket_aapf_widget-wrapper{margin:1em 0}.bapf_sfilter.bapf_button_berocket .bapf_button{font-size:20px;padding:8px 30px;border:0;line-height:28px;font-weight:600;display:inline-block;color:#fff;text-transform:uppercase;text-align:center;text-decoration:none;background-color:#f16543}.bapf_sfilter.bapf_button_berocket .bapf_button:hover{background-color:#d94825}.bapf_sfilter.bapf_colorinline li{display:inline-block!important}.bapf_sfilter .bapf_clr_span,.bapf_sfilter .bapf_img_span{display:inline-block!important;position:relative;overflow:hidden;margin:5px;height:2em;width:2em;line-height:2em;border:2px solid #000;text-align:center;vertical-align:middle;color:#222!important;text-shadow:0 0 3px #FFF,1px 0 2px #FFF,0 1px 2px #FFF,-1px 0 2px #FFF,0 -1px 2px #FFF,1px 1px 2px #FFF,1px -1px 2px #FFF,-1px 1px 2px #FFF,-1px -1px 2px #FFF;-webkit-transition:all .2s ease-out .1s;-moz-transition:all .2s ease-out .1s;-o-transition:all .2s ease-out .1s;transition:all .2s ease-out .1s}.bapf_sfilter .bapf_clr_span.h1em,.bapf_sfilter .bapf_img_span.h1em{height:1em;line-height:1em}.bapf_sfilter .bapf_clr_span.h2em,.bapf_sfilter .bapf_img_span.h2em{height:2em;line-height:2em}.bapf_sfilter .bapf_clr_span.h3em,.bapf_sfilter .bapf_img_span.h3em{height:3em;line-height:3em}.bapf_sfilter .bapf_clr_span.h4em,.bapf_sfilter .bapf_img_span.h4em{height:4em;line-height:4em}.bapf_sfilter .bapf_clr_span.h5em,.bapf_sfilter .bapf_img_span.h5em{height:5em;line-height:5em}.bapf_sfilter .bapf_clr_span.w1em,.bapf_sfilter .bapf_img_span.w1em{width:1em}.bapf_sfilter .bapf_clr_span.w2em,.bapf_sfilter .bapf_img_span.w2em{width:2em}.bapf_sfilter .bapf_clr_span.w3em,.bapf_sfilter .bapf_img_span.w3em{width:3em}.bapf_sfilter .bapf_clr_span.w4em,.bapf_sfilter .bapf_img_span.w4em{width:4em}.bapf_sfilter .bapf_clr_span.w5em,.bapf_sfilter .bapf_img_span.w5em{width:5em}.bapf_sfilter .bapf_img_span.w1em.h1em .fa,.bapf_sfilter .bapf_img_span.w1em.h2em .fa,.bapf_sfilter .bapf_img_span.w1em.h3em .fa,.bapf_sfilter .bapf_img_span.w1em.h4em .fa,.bapf_sfilter .bapf_img_span.w1em.h5em .fa,.bapf_sfilter .bapf_img_span.w2em.h1em .fa,.bapf_sfilter .bapf_img_span.w3em.h1em .fa,.bapf_sfilter .bapf_img_span.w4em.h1em .fa,.bapf_sfilter .bapf_img_span.w5em.h1em .fa{font-size:.8em}.bapf_sfilter .bapf_img_span.w2em.h2em .fa,.bapf_sfilter .bapf_img_span.w2em.h3em .fa,.bapf_sfilter .bapf_img_span.w2em.h4em .fa,.bapf_sfilter .bapf_img_span.w2em.h5em .fa,.bapf_sfilter .bapf_img_span.w3em.h2em .fa,.bapf_sfilter .bapf_img_span.w4em.h2em .fa,.bapf_sfilter .bapf_img_span.w5em.h2em .fa{font-size:1.6em}.bapf_sfilter .bapf_img_span.w3em.h3em .fa,.bapf_sfilter .bapf_img_span.w3em.h4em .fa,.bapf_sfilter .bapf_img_span.w3em.h5em .fa,.bapf_sfilter .bapf_img_span.w4em.h3em .fa,.bapf_sfilter .bapf_img_span.w5em.h3em .fa{font-size:2.4em}.bapf_sfilter .bapf_img_span.w4em.h4em .fa,.bapf_sfilter .bapf_img_span.w4em.h5em .fa,.bapf_sfilter .bapf_img_span.w5em.h4em .fa{font-size:3.2em}.bapf_sfilter .bapf_img_span.w5em.h5em .fa{font-size:4em}.bapf_sfilter .bapf_clr_span .bapf_clr_span_abslt{position:relative;z-index:100}.bapf_sfilter.brchecked_default input:checked+label .bapf_clr_span,.bapf_sfilter.brchecked_default input:checked+label .bapf_img_span,.bapf_sfilter.brchecked_rotate input:checked+label .bapf_clr_span,.bapf_sfilter.brchecked_rotate input:checked+label .bapf_img_span{-webkit-transform:rotate(15deg);-moz-transform:rotate(15deg);-ms-transform:rotate(15deg);-o-transform:rotate(15deg);transform:rotate(15deg)}.bapf_sfilter.brchecked_scale input:checked+label .bapf_clr_span,.bapf_sfilter.brchecked_scale input:checked+label .bapf_img_span{transform:scale(1.1)}.bapf_sfilter.brchecked_image_shadow input:checked+label .bapf_clr_span,.bapf_sfilter.brchecked_shadow input:checked+label .bapf_clr_span,.bapf_sfilter.brchecked_shadow input:checked+label .bapf_img_span{box-shadow:0 0 1px 3px #88F}.bapf_sfilter.brchecked_image_shadow input:checked+label .bapf_img_span{-webkit-filter:drop-shadow(0 0 2px);-moz-filter:drop-shadow(0 0 2px);-o-filter:drop-shadow(0 0 2px);filter:drop-shadow(0 0 2px)}.bapf_sfilter.brchecked_hue_rotate input:checked+label .bapf_clr_span,.bapf_sfilter.brchecked_hue_rotate input:checked+label .bapf_img_span{-webkit-filter:hue-rotate(90deg);-moz-filter:hue-rotate(90deg);-o-filter:hue-rotate(90deg);filter:hue-rotate(90deg)}.bapf_sfilter .bapf_clr_multi{position:absolute;top:0;bottom:0;left:0;right:0;z-index:2;transform:rotateZ(45deg);padding:0;margin:-2em 0;box-sizing:border-box}.bapf_sfilter .bapf_clr_multi .bapf_clr_multi_singl{position:absolute;top:-50%;bottom:-50%;padding:0;margin:0;box-shadow:none;box-sizing:border-box;border:0}.bapf_sfilter .bapf_clr_multi_2 .bapf_clr_multi_singl,.bapf_sfilter .bapf_clr_multi_3 .bapf_clr_multi_singl{width:100%}.bapf_sfilter .bapf_clr_multi_3 .bapf_clr_multi_singl_1{width:34%}.bapf_sfilter .bapf_clr_multi_3 .bapf_clr_multi_singl_0,.bapf_sfilter .bapf_clr_multi_3 .bapf_clr_multi_singl_2{width:83%}.bapf_sfilter .bapf_clr_multi_4 .bapf_clr_multi_singl{width:25%}.bapf_sfilter .bapf_clr_multi_4 .bapf_clr_multi_singl_0,.bapf_sfilter .bapf_clr_multi_4 .bapf_clr_multi_singl_3{width:75%}.bapf_sfilter .bapf_clr_multi .bapf_clr_multi_singl_0{left:-50%}.bapf_sfilter .bapf_clr_multi_2 .bapf_clr_multi_singl_1{left:50%}.bapf_sfilter .bapf_clr_multi_3 .bapf_clr_multi_singl_1{left:33%}.bapf_sfilter .bapf_clr_multi_4 .bapf_clr_multi_singl_1{left:25%}.bapf_sfilter .bapf_clr_multi_3 .bapf_clr_multi_singl_2{left:67%}.bapf_sfilter .bapf_clr_multi_4 .bapf_clr_multi_singl_2{left:50%}.bapf_sfilter .bapf_clr_multi_4 .bapf_clr_multi_singl_3{left:75%}.bapf_sfilter.bapf_clr_txt_left .bapf_img_span{margin:5px 0 5px 10px}.bapf_sfilter.bapf_clr_txt_right .bapf_img_span{margin:5px 10px 5px 0}.bapf_sfilter.bapf_clr_txt_bottom .bapf_img_span,.bapf_sfilter.bapf_clr_txt_top .bapf_img_span{margin:5px 10px}.bapf_sfilter.bapf_colorinline.bapf_clr_txt_bottom li label,.bapf_sfilter.bapf_colorinline.bapf_clr_txt_top li label{display:inline-block!important;text-align:center}.bapf_sfilter.bapf_clr_txt_bottom .bapf_clr_text,.bapf_sfilter.bapf_clr_txt_top .bapf_clr_text{display:block;margin-right:10px;margin-left:10px}.bapf_colorinline .bapf_body li{text-align:center}.bapf_img_woborder.bapf_sfilter .bapf_img_span{border:none;overflow:visible}.bapf_asradio2 ul li input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;display:inline-block;vertical-align:middle;border:2px solid #555;width:15px;height:15px;outline:0;border-radius:10px;padding:2px;margin-right:5px}.bapf_asradio2 ul li input[type=checkbox]:checked{background:#555;background-clip:content-box}.bapf_slct select{width:100%;font-size:1em}.bapf_slct .select2 .select2-search__field{width:auto!important}.bapf_sfa_inline .berocket_aapf_widget_selected_area ul li{display:inline-block;margin-left:3px!important;margin-right:3px!important}.bapf_ckbox_square input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;display:inline-block;vertical-align:middle;border:2px solid #555;width:20px;height:20px;outline:0;padding:4px;margin-right:5px}.bapf_ckbox_square input[type=checkbox]:checked{background:#555;background-clip:content-box}
1
+ .bapf_sfilter .bapf_button,.bapf_sfilter label{cursor:pointer;display:inline-block!important}.bapf_sfilter ul li{list-style:none!important;margin:0!important;padding:0!important;max-width:100%}.bapf_slidr_main.ui-widget-content,.berocket_filter_price_slider.ui-widget-content{background:#b0b5b9;border:0;border-radius:0;height:4px;padding:0}.bapf_slidr_main.ui-widget-content .ui-slider-range,.berocket_filter_price_slider.ui-widget-content .ui-slider-range{background:#000}.slide.default .bapf_slidr_main.ui-widget-content .ui-slider-range,.slide.default .berocket_filter_price_slider.ui-widget-content .ui-slider-range{background:#222}.slide.default .bapf_slidr_main.ui-widget-content,.slide.default .berocket_filter_price_slider.ui-widget-content{height:4px;border:1px solid #555;font-size:10px}.bapf_slidr_main.ui-widget-content .ui-slider-handle,.berocket_filter_price_slider.ui-widget-content .ui-slider-handle,.slide.default .bapf_slidr_main .ui-state-default,.slide.default .bapf_slidr_main .ui-widget-header .ui-state-default,.slide.default .bapf_slidr_main.ui-widget-content .ui-state-default,.slide.default .berocket_filter_price_slider .ui-state-default,.slide.default .berocket_filter_price_slider .ui-widget-header .ui-state-default,.slide.default .berocket_filter_price_slider.ui-widget-content .ui-state-default{background:#ddd;font-size:14px;width:1em;height:1em;border:1px solid #555;top:-6px;border-radius:2em}.berocket_aapf_widget li.slider div.slide{clear:both;height:auto;text-align:right;line-height:0}.bapf_slidr_jqrui .bapf_from,.ui-slider{text-align:left}.ui-slider{position:relative}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:pointer;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.bapf_slidr_main>a:last-child{margin-left:-12px}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_hidden_clickable_left .bapf_sfilter.bapf_ccolaps .bapf_body,.berocket_single_filter_widget.berocket_hidden_clickable.berocket_hidden_clickable_left .berocket_aapf_widget{left:0!important}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.slide .ui-corner-all,.slide .ui-corner-bottom,.slide .ui-corner-br,.slide .ui-corner-right{border-bottom-right-radius:4px}.slide .ui-corner-all,.slide .ui-corner-bl,.slide .ui-corner-bottom,.slide .ui-corner-left{border-bottom-left-radius:4px}.slide .ui-corner-all,.slide .ui-corner-right,.slide .ui-corner-top,.slide .ui-corner-tr{border-top-right-radius:4px}.slide .ui-corner-all,.slide .ui-corner-left,.slide .ui-corner-tl,.slide .ui-corner-top{border-top-left-radius:4px}ul.berocket_aapf_widget li.slider>span{cursor:initial}.bapf_show_hide,.berocket_search_box_button,ul.berocket_aapf_widget li.slider .bapf_slidr_main{cursor:pointer}.slide .ui-widget-content{background:#fff;border:1px solid #aaa;color:#222}.slide .ui-state-default,.slide .ui-widget-content .ui-state-default,.slide .ui-widget-header .ui-state-default{background:#e6e6e6;border:1px solid #d3d3d3;color:#555;font-weight:400}.ui-widget.ui-datepicker{font-size:14px;z-index:9000!important}.bapf_sfilter .ui-button,.bapf_sfilter .ui-state-default,.bapf_sfilter .ui-widget-content .ui-state-default,.bapf_sfilter .ui-widget-header .ui-state-default,.bapf_sfilter .ui-widget.ui-widget-content,html .bapf_sfilter .ui-button.ui-state-disabled:active,html .bapf_sfilter .ui-button.ui-state-disabled:hover{border:0}.bapf_slidr_jqrui .bapf_slidr_all:after{content:"";display:block;clear:both}.bapf_slidr_jqrui .bapf_slidr_main{margin-bottom:10px}.bapf_slidr_jqrui .bapf_from,.bapf_slidr_jqrui .bapf_to{width:49%;display:inline-block;margin-bottom:10px;vertical-align:middle}.bapf_slidr_jqrui .bapf_from input,.bapf_slidr_jqrui .bapf_to input{width:50%;vertical-align:middle;font-size:1em;padding:0;margin:0;line-height:1em}.bapf_slidr_jqrui .bapf_to{text-align:right}.bapf_sfilter{margin-bottom:20px}.berocket_single_filter_widget.berocket_inline_clickable,.berocket_single_filter_widget.berocket_inline_filters{float:left!important;padding-right:15px!important}.berocket_single_filter_widget.berocket_inline_filters{width:12.5%!important}#berocket-ajax-filters-sidebar .berocket_single_filter_widget.berocket_hidden_clickable .berocket_aapf_widget-title_div,.berocket_single_filter_widget.berocket_hidden_clickable .berocket_aapf_widget-title_div{border:2px solid #333!important;background-color:#333!important;color:#ccc!important;padding:5px 35px 5px 5px!important;border-radius:5px!important}.berocket_single_filter_widget.berocket_hidden_clickable .berocket_aapf_widget-title_div h3{margin:0!important;padding:0!important;font-size:inherit!important;color:inherit!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget-title_div{border:2px solid #ccc!important;color:#000!important;background-color:#ccc!important;border-radius:5px 5px 0 0!important;padding-bottom:10px!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget-wrapper{padding-bottom:0!important}.berocket_single_filter_widget.berocket_hidden_clickable .berocket_aapf_widget{position:absolute!important;top:100%!important;width:100%!important;background-color:#fff!important;z-index:800!important;margin:0!important;border:2px solid #ccc!important;padding:5px!important;display:none}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget{z-index:900!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_hidden_clickable_right .berocket_aapf_widget{right:0!important}.berocket_ajax_filters_sidebar_toggle,.berocket_element_above_products_is_hide_toggle{width:200px!important;padding-left:25px;font-size:16px;position:relative;font-weight:600}.berocket_element_above_products{clear:both!important;overflow:visible!important}.berocket_single_filter_widget.bapf_mt_none{display:none!important}div.berocket_single_filter_widget div.berocket_aapf_widget-wrapper *{opacity:1}@media screen and (max-width:767px){.bapf_sngl_hd_mobile{display:none!important}}@media screen and (min-width:768px) and (max-width:1024px){.bapf_sngl_hd_tablet{display:none!important}}@media screen and (min-width:1025px){.bapf_sngl_hd_desktop{display:none!important}}.berocket_aapf_widget select{overflow:auto!important}.berocket_element_above_products_after{clear:both}ul.berocket_aapf_widget li>span>input+.berocket_label_widgets::before{margin-right:6px}.berocket_element_above_products_is_hide{overflow:visible!important}.berocket_element_above_products_is_hide:after{content:"";display:block;clear:both}.berocket_element_above_products_is_hide.br_is_hidden{opacity:0;max-height:1px;position:relative}.berocket_element_above_products_is_hide_toggle{height:20px;margin:40px 0;display:inline-block;outline:0!important;color:#2a2a2a}body{transition:margin-left .2s}body.berocket_ajax_filters_sidebar_active{margin-left:200px}.berocket_ajax_filters_sidebar_toggle{height:26px;margin:40px 0;display:inline-block;outline:0!important;text-decoration:none!important;box-sizing:border-box!important}#berocket-ajax-filters-sidebar{display:block;position:fixed;top:0;left:-350px;bottom:0;width:350px;max-width:100%;background:#fff;transition:all .2s;z-index:100000;box-sizing:border-box;overflow:auto!important}#berocket-ajax-filters-sidebar-shadow{content:"";display:none;position:fixed;top:0;left:0;bottom:0;right:0;z-index:99999;background:#000;opacity:.7}.admin-bar #berocket-ajax-filters-sidebar{top:32px}#berocket-ajax-filters-sidebar.active,#berocket-ajax-filters-sidebar.active+#berocket-ajax-filters-sidebar-shadow{left:0;display:block}#berocket-ajax-filters-sidebar .berocket_ajax_group_filter_title{padding:15px 88px 15px 15px!important;font-weight:500!important;font-size:24px!important;color:#333!important;border-bottom:1px solid #ccc!important}#berocket-ajax-filters-sidebar>div{padding:15px!important}#berocket-ajax-filters-sidebar .berocket_aapf_widget-title_div{color:#333!important;font-size:19px!important;font-weight:600!important}#berocket-ajax-filters-sidebar .berocket_aapf_widget,#berocket-ajax-filters-sidebar .berocket_aapf_widget li{margin:0!important}#berocket-ajax-filters-sidebar .berocket_aapf_widget .berocket_checkbox_color .berocket_label_widgets{margin:0 .6em .6em 0!important}#berocket-ajax-filters-sidebar-close{position:absolute!important;right:0!important;line-height:39px;padding:17px 15px 13px!important;font-family:Arial,serif!important;color:#a2a2a2}#berocket-ajax-filters-sidebar-close+*{margin-top:70px!important}#berocket-ajax-filters-sidebar-close+.berocket_ajax_group_filter_title{margin-top:0!important}@media screen and (max-width:782px){.admin-bar #berocket-ajax-filters-sidebar{top:46px}}@media screen and (max-width:600px){.admin-bar #berocket-ajax-filters-sidebar{top:0}}.berocket_aapf_widget-wrapper .slider:not(.flickity-enabled){overflow:initial;white-space:initial}.select2-container{z-index:999}.bapf_sfilter .bapf_body .mCSB_container>ul,.bapf_sfilter .bapf_body>ul{margin-left:0}.bapf_sfilter.bapf_vpr_1 .bapf_body ul,.bapf_sfilter.bapf_vpr_2 .bapf_body ul,.bapf_sfilter.bapf_vpr_3 .bapf_body ul,.bapf_sfilter.bapf_vpr_4 .bapf_body ul{display:flex;flex-wrap:wrap}.bapf_sfilter.bapf_vpr_1 .bapf_body ul>li,.bapf_sfilter.bapf_vpr_2 .bapf_body ul>li,.bapf_sfilter.bapf_vpr_3 .bapf_body ul>li,.bapf_sfilter.bapf_vpr_4 .bapf_body ul>li{white-space:nowrap}.bapf_sfilter.bapf_vpr_1 .bapf_body ul>li{flex-basis:100%}.bapf_sfilter.bapf_vpr_2 .bapf_body ul>li{flex-basis:50%}.bapf_sfilter.bapf_vpr_3 .bapf_body ul>li{flex-basis:33%}.bapf_sfilter.bapf_vpr_4 .bapf_body ul>li{flex-basis:25%}.bapf_sfilter.bapf_vpr_1 .bapf_body ul>li label,.bapf_sfilter.bapf_vpr_2 .bapf_body ul>li label,.bapf_sfilter.bapf_vpr_3 .bapf_body ul>li label,.bapf_sfilter.bapf_vpr_4 .bapf_body ul>li label{white-space:initial}.bapf_sfilter.bapf_fhide .bapf_body ul li.bapf_hide,.bapf_sfilter.bapf_fhide.bapf_filter_hide{display:none!important}.bapf_sfilter .bapf_hascolarr,.bapf_sfilter .bapf_hasdesc{position:relative;padding-right:25px}.bapf_sfilter .bapf_colaps_smb,.bapf_sfilter .bapf_desci{position:absolute;right:0;top:0;line-height:inherit}.bapf_sfilter .bapf_hasdesc .bapf_colaps_smb{right:25px}#berocket-ajax-filters-sidebar .berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter .bapf_head,.berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter .bapf_head{border:2px solid #333!important;background-color:#333!important;color:#ccc!important;padding:5px!important;border-radius:5px!important}.berocket_single_filter_widget.berocket_hidden_clickable .berocket_widget_has_description .berocket_aapf_widget-title_div{padding-right:55px!important}.berocket_single_filter_widget.berocket_hidden_clickable .berocket_aapf_widget-wrapper{padding-bottom:5px!important}.berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter .bapf_head h3{margin:0;font-size:inherit!important;color:inherit!important}.berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter{position:relative!important}.berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter.bapf_ccolaps .bapf_head{border:2px solid #ccc!important;color:#000!important;background-color:#ccc!important;border-radius:5px 5px 0 0!important;padding-bottom:5px!important}.berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter .bapf_body{position:absolute!important;top:100%!important;width:100%!important;background-color:#fff!important;z-index:800!important;margin:0!important;border:2px solid #ccc!important;padding:5px!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_hidden_clickable_right .bapf_sfilter.bapf_ccolaps .bapf_body{right:0!important}@media screen and (max-width:767px){.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible{position:fixed!important;top:0!important;left:0!important;bottom:0!important;right:0!important;z-index:9000000000!important;background-color:#fff!important;overflow:auto!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget{border:0!important;width:100%!important;max-width:100%!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget_show.mobile_hide{display:block!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget_show.mobile_hide .fa-angle-left:before,.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_widget_show.mobile_hide .fa-angle-right:before{content:"\f00d"!important}.berocket_single_filter_widget.berocket_hidden_clickable.berocket_single_filter_visible .berocket_aapf_description{display:none!important}body .select2-container,body .ui-widget.ui-datepicker{z-index:9000000009!important}}@keyframes bapf_loader{from{transform:rotate(0)}to{transform:rotate(360deg)}}.bapf_loader_page{position:fixed;top:0;left:0;bottom:0;right:0;background-color:rgba(255,255,255,.5);z-index:9999}.bapf_loader_page .bapf_lcontainer{position:absolute;top:50%;margin:-20px 0 0 -20px;left:50%;width:30px;height:30px;padding:0}.bapf_lcontainer .bapf_loader{width:100%;height:100%;display:block;transform:rotate(0);animation:1s linear 0s infinite bapf_loader;position:relative}.bapf_lcontainer .bapf_loader .bapf_lfirst,.bapf_lcontainer .bapf_loader .bapf_lsecond{position:absolute;width:10px;height:10px;background:#000;background:linear-gradient(45deg,#000,transparent);display:block;border-radius:6px}.bapf_lcontainer .bapf_loader .bapf_lfirst{bottom:0;right:0}.bapf_lcontainer .bapf_loader .bapf_lsecond{top:0;left:0;transform:rotate(180deg)}.bapf_lcontainer .bapf_labove,.bapf_lcontainer .bapf_lbelow{position:absolute;display:block;text-align:center;width:80vw;left:calc(15px - 40vw)}.bapf_lcontainer .bapf_labove{bottom:120%}.bapf_lcontainer .bapf_lbelow{top:120%}.bapf_lcontainer .bapf_lafter,.bapf_lcontainer .bapf_lbefore{position:absolute;top:50%;margin-top:-15px;height:30px;line-height:30px;vertical-align:middle;white-space:nowrap}.bapf_lcontainer .bapf_lbefore{right:120%}.bapf_lcontainer .bapf_lafter{left:120%}.bapf_lcontainer .bapf_limg{width:100%;height:100%}.berocket_single_filter_widget .tippy-tooltip,.berocket_single_filter_widget .tippy-tooltip .tippy-content{font-size:1em}@media only screen and (max-device-width:767px){.bapf_hide_mobile{display:none!important}}.bapf_sfilter .bapf_button{font-size:1em}.bapf_sfilter .rightpcs{float:right}.bapf_sfilter .right2empcs{padding-left:10px}#bapf_footer_clrimg>div,#bapf_footer_count_before>div,#bapf_footer_description>div{z-index:999999999999!important}.bapf_sfilter.bapf_ckbox input[type=checkbox]{margin-right:5px}.bapf_sfilter.bapf_ckbox input[type=checkbox],.bapf_sfilter.bapf_ckbox label{vertical-align:middle}.select2-container--classic input[type=search],.select2-container--classic input[type=search]:focus{background-color:initial}.berocket_search_box_block{position:relative;padding:.5em}.berocket_search_box_block .berocket_search_box_background_all{position:relative;z-index:200}.berocket_search_box_block .berocket_search_box_background{z-index:100;position:absolute;top:0;bottom:0;left:0;right:0}.berocket_search_box_block select{min-width:100%}.berocket_search_box_button{display:block;text-align:center;padding:5px 0}.berocket_search_box_block .berocket_aapf_widget-wrapper ul{margin:0}.berocket_search_box_block .berocket_aapf_widget-wrapper{margin:1em 0}.bapf_hideckbox li input[type=checkbox],.bapf_hideckbox li input[type=checkbox]:after,.bapf_hideckbox li input[type=checkbox]:before{display:none!important}.bapf_hideckbox li label,.bapf_hideckbox li label a{color:#428bca}.bapf_hideckbox li input:checked+label:hover,.bapf_hideckbox li input:checked+label:hover a,.bapf_hideckbox li label:hover,.bapf_hideckbox li label:hover a{color:#2a6496}.bapf_hideckbox li input:checked+label,.bapf_hideckbox li input:checked+label a{color:#222}.bapf_sfilter.bapf_button_berocket .bapf_button{font-size:20px;padding:8px 30px;border:0;line-height:28px;font-weight:600;display:inline-block;color:#fff;text-transform:uppercase;text-align:center;text-decoration:none;background-color:#f16543}.bapf_sfilter.bapf_button_berocket .bapf_button:hover{background-color:#d94825}.bapf_sfilter.bapf_colorinline li{display:inline-block!important}.bapf_sfilter .bapf_clr_span,.bapf_sfilter .bapf_img_span{display:inline-block!important;position:relative;overflow:hidden;margin:5px;height:2em;width:2em;line-height:2em;border:2px solid #000;text-align:center;vertical-align:middle;color:#222!important;text-shadow:0 0 3px #FFF,1px 0 2px #FFF,0 1px 2px #FFF,-1px 0 2px #FFF,0 -1px 2px #FFF,1px 1px 2px #FFF,1px -1px 2px #FFF,-1px 1px 2px #FFF,-1px -1px 2px #FFF;-webkit-transition:all .2s ease-out .1s;-moz-transition:all .2s ease-out .1s;-o-transition:all .2s ease-out .1s;transition:all .2s ease-out .1s}.bapf_sfilter .bapf_clr_span.h1em,.bapf_sfilter .bapf_img_span.h1em{height:1em;line-height:1em}.bapf_sfilter .bapf_clr_span.h2em,.bapf_sfilter .bapf_img_span.h2em{height:2em;line-height:2em}.bapf_sfilter .bapf_clr_span.h3em,.bapf_sfilter .bapf_img_span.h3em{height:3em;line-height:3em}.bapf_sfilter .bapf_clr_span.h4em,.bapf_sfilter .bapf_img_span.h4em{height:4em;line-height:4em}.bapf_sfilter .bapf_clr_span.h5em,.bapf_sfilter .bapf_img_span.h5em{height:5em;line-height:5em}.bapf_sfilter .bapf_clr_span.w1em,.bapf_sfilter .bapf_img_span.w1em{width:1em}.bapf_sfilter .bapf_clr_span.w2em,.bapf_sfilter .bapf_img_span.w2em{width:2em}.bapf_sfilter .bapf_clr_span.w3em,.bapf_sfilter .bapf_img_span.w3em{width:3em}.bapf_sfilter .bapf_clr_span.w4em,.bapf_sfilter .bapf_img_span.w4em{width:4em}.bapf_sfilter .bapf_clr_span.w5em,.bapf_sfilter .bapf_img_span.w5em{width:5em}.bapf_sfilter .bapf_img_span.w1em.h1em .fa,.bapf_sfilter .bapf_img_span.w1em.h2em .fa,.bapf_sfilter .bapf_img_span.w1em.h3em .fa,.bapf_sfilter .bapf_img_span.w1em.h4em .fa,.bapf_sfilter .bapf_img_span.w1em.h5em .fa,.bapf_sfilter .bapf_img_span.w2em.h1em .fa,.bapf_sfilter .bapf_img_span.w3em.h1em .fa,.bapf_sfilter .bapf_img_span.w4em.h1em .fa,.bapf_sfilter .bapf_img_span.w5em.h1em .fa{font-size:.8em}.bapf_sfilter .bapf_img_span.w2em.h2em .fa,.bapf_sfilter .bapf_img_span.w2em.h3em .fa,.bapf_sfilter .bapf_img_span.w2em.h4em .fa,.bapf_sfilter .bapf_img_span.w2em.h5em .fa,.bapf_sfilter .bapf_img_span.w3em.h2em .fa,.bapf_sfilter .bapf_img_span.w4em.h2em .fa,.bapf_sfilter .bapf_img_span.w5em.h2em .fa{font-size:1.6em}.bapf_sfilter .bapf_img_span.w3em.h3em .fa,.bapf_sfilter .bapf_img_span.w3em.h4em .fa,.bapf_sfilter .bapf_img_span.w3em.h5em .fa,.bapf_sfilter .bapf_img_span.w4em.h3em .fa,.bapf_sfilter .bapf_img_span.w5em.h3em .fa{font-size:2.4em}.bapf_sfilter .bapf_img_span.w4em.h4em .fa,.bapf_sfilter .bapf_img_span.w4em.h5em .fa,.bapf_sfilter .bapf_img_span.w5em.h4em .fa{font-size:3.2em}.bapf_sfilter .bapf_img_span.w5em.h5em .fa{font-size:4em}.bapf_sfilter .bapf_clr_span .bapf_clr_span_abslt{position:relative;z-index:100}.bapf_sfilter.brchecked_default input:checked+label .bapf_clr_span,.bapf_sfilter.brchecked_default input:checked+label .bapf_img_span,.bapf_sfilter.brchecked_rotate input:checked+label .bapf_clr_span,.bapf_sfilter.brchecked_rotate input:checked+label .bapf_img_span{-webkit-transform:rotate(15deg);-moz-transform:rotate(15deg);-ms-transform:rotate(15deg);-o-transform:rotate(15deg);transform:rotate(15deg)}.bapf_sfilter.brchecked_scale input:checked+label .bapf_clr_span,.bapf_sfilter.brchecked_scale input:checked+label .bapf_img_span{transform:scale(1.1)}.bapf_sfilter.brchecked_image_shadow input:checked+label .bapf_clr_span,.bapf_sfilter.brchecked_shadow input:checked+label .bapf_clr_span,.bapf_sfilter.brchecked_shadow input:checked+label .bapf_img_span{box-shadow:0 0 1px 3px #88F}.bapf_sfilter.brchecked_image_shadow input:checked+label .bapf_img_span{-webkit-filter:drop-shadow(0 0 2px);-moz-filter:drop-shadow(0 0 2px);-o-filter:drop-shadow(0 0 2px);filter:drop-shadow(0 0 2px)}.bapf_sfilter.brchecked_hue_rotate input:checked+label .bapf_clr_span,.bapf_sfilter.brchecked_hue_rotate input:checked+label .bapf_img_span{-webkit-filter:hue-rotate(90deg);-moz-filter:hue-rotate(90deg);-o-filter:hue-rotate(90deg);filter:hue-rotate(90deg)}.bapf_sfilter .bapf_clr_multi{position:absolute;top:0;bottom:0;left:0;right:0;z-index:2;transform:rotateZ(45deg);padding:0;margin:-2em 0;box-sizing:border-box}.bapf_sfilter .bapf_clr_multi .bapf_clr_multi_singl{position:absolute;top:-50%;bottom:-50%;padding:0;margin:0;box-shadow:none;box-sizing:border-box;border:0}.bapf_sfilter .bapf_clr_multi_2 .bapf_clr_multi_singl,.bapf_sfilter .bapf_clr_multi_3 .bapf_clr_multi_singl{width:100%}.bapf_sfilter .bapf_clr_multi_3 .bapf_clr_multi_singl_1{width:34%}.bapf_sfilter .bapf_clr_multi_3 .bapf_clr_multi_singl_0,.bapf_sfilter .bapf_clr_multi_3 .bapf_clr_multi_singl_2{width:83%}.bapf_sfilter .bapf_clr_multi_4 .bapf_clr_multi_singl{width:25%}.bapf_sfilter .bapf_clr_multi_4 .bapf_clr_multi_singl_0,.bapf_sfilter .bapf_clr_multi_4 .bapf_clr_multi_singl_3{width:75%}.bapf_sfilter .bapf_clr_multi .bapf_clr_multi_singl_0{left:-50%}.bapf_sfilter .bapf_clr_multi_2 .bapf_clr_multi_singl_1{left:50%}.bapf_sfilter .bapf_clr_multi_3 .bapf_clr_multi_singl_1{left:33%}.bapf_sfilter .bapf_clr_multi_4 .bapf_clr_multi_singl_1{left:25%}.bapf_sfilter .bapf_clr_multi_3 .bapf_clr_multi_singl_2{left:67%}.bapf_sfilter .bapf_clr_multi_4 .bapf_clr_multi_singl_2{left:50%}.bapf_sfilter .bapf_clr_multi_4 .bapf_clr_multi_singl_3{left:75%}.bapf_sfilter.bapf_clr_txt_left .bapf_img_span{margin:5px 0 5px 10px}.bapf_sfilter.bapf_clr_txt_right .bapf_img_span{margin:5px 10px 5px 0}.bapf_sfilter.bapf_clr_txt_bottom .bapf_img_span,.bapf_sfilter.bapf_clr_txt_top .bapf_img_span{margin:5px 10px}.bapf_sfilter.bapf_colorinline.bapf_clr_txt_bottom li label,.bapf_sfilter.bapf_colorinline.bapf_clr_txt_top li label{display:inline-block!important;text-align:center}.bapf_sfilter.bapf_clr_txt_bottom .bapf_clr_text,.bapf_sfilter.bapf_clr_txt_top .bapf_clr_text{display:block;margin-right:10px;margin-left:10px}.bapf_colorinline .bapf_body li{text-align:center}.bapf_img_woborder.bapf_sfilter .bapf_img_span{border:none;overflow:visible}.bapf_clr_woborder.bapf_sfilter .bapf_clr_span{border:none}.bapf_asradio2 ul li input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;display:inline-block;vertical-align:middle;border:2px solid #555;width:15px;height:15px;outline:0;border-radius:10px;padding:2px;margin-right:5px}.bapf_asradio2 ul li input[type=checkbox]:checked{background:#555;background-clip:content-box}.bapf_slct select{width:100%;font-size:1em}.bapf_slct .select2 .select2-search__field{width:auto!important}#bapf-select2-high-zindex .select2-container{z-index:999999999!important}.bapf_sfa_inline .berocket_aapf_widget_selected_area ul li{display:inline-block;margin-left:3px!important;margin-right:3px!important}.bapf_ckbox_square input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;display:inline-block;vertical-align:middle;border:2px solid #555;width:20px;height:20px;outline:0;padding:4px;margin-right:5px}.bapf_ckbox_square input[type=checkbox]:checked{background:#555;background-clip:content-box}
assets/frontend/js/fullmain.min.js CHANGED
@@ -6,5 +6,5 @@ f.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}})}),!function(a){f
6
  return this.options.get("escapeMarkup")(c(a,b))},e.prototype.selectionContainer=function(){return a("<span></span>")},e.prototype.update=function(a){if(0!==a.length){var b=a[0],c=this.$selection.find(".select2-selection__rendered"),d=this.display(b,c);c.empty().append(d);var e=b.title||b.text;e?c.attr("title",e):c.removeAttr("title")}else this.clear()},e}),i.define("select2/selection/multiple",["jquery","./base","../utils"],function(a,b,c){function d(a,b){d.__super__.constructor.apply(this,arguments)}return c.Extend(d,b),d.prototype.render=function(){var a=d.__super__.render.call(this);return a.addClass("select2-selection--multiple"),a.html('<ul class="select2-selection__rendered"></ul>'),a},d.prototype.bind=function(b,e){var f=this;d.__super__.bind.apply(this,arguments),this.$selection.on("click",function(a){f.trigger("toggle",{originalEvent:a})}),this.$selection.on("click",".select2-selection__choice__remove",function(b){if(!f.isDisabled()){var d=a(this).parent(),e=c.GetData(d[0],"data");f.trigger("unselect",{originalEvent:b,data:e})}})},d.prototype.clear=function(){var a=this.$selection.find(".select2-selection__rendered");a.empty(),a.removeAttr("title")},d.prototype.display=function(a,b){var c=this.options.get("templateSelection");return this.options.get("escapeMarkup")(c(a,b))},d.prototype.selectionContainer=function(){return a('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},d.prototype.update=function(a){if(this.clear(),0!==a.length){for(var b=[],d=0;d<a.length;d++){var e=a[d],f=this.selectionContainer(),g=this.display(e,f);f.append(g);var h=e.title||e.text;h&&f.attr("title",h),c.StoreData(f[0],"data",e),b.push(f)}var i=this.$selection.find(".select2-selection__rendered");c.appendMany(i,b)}},d}),i.define("select2/selection/placeholder",["../utils"],function(a){function b(a,b,c){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c)}return b.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},b.prototype.createPlaceholder=function(a,b){var c=this.selectionContainer();return c.html(this.display(b)),c.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),c},b.prototype.update=function(a,b){var c=1==b.length&&b[0].id!=this.placeholder.id;if(1<b.length||c)return a.call(this,b);this.clear();var d=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(d)},b}),i.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(a,b,c){function d(){}return d.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(a){d._handleClear(a)}),b.on("keypress",function(a){d._handleKeyboardClear(a,b)})},d.prototype._handleClear=function(a,b){if(!this.isDisabled()){var d=this.$selection.find(".select2-selection__clear");if(0!==d.length){b.stopPropagation();var e=c.GetData(d[0],"data"),f=this.$element.val();this.$element.val(this.placeholder.id);var g={data:e};if(this.trigger("clear",g),g.prevented)this.$element.val(f);else{for(var h=0;h<e.length;h++)if(g={data:e[h]},this.trigger("unselect",g),g.prevented)return void this.$element.val(f);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},d.prototype._handleKeyboardClear=function(a,c,d){d.isOpen()||c.which!=b.DELETE&&c.which!=b.BACKSPACE||this._handleClear(c)},d.prototype.update=function(b,d){if(b.call(this,d),!(0<this.$selection.find(".select2-selection__placeholder").length||0===d.length)){var e=this.options.get("translations").get("removeAllItems"),f=a('<span class="select2-selection__clear" title="'+e()+'">&times;</span>');c.StoreData(f[0],"data",d),this.$selection.find(".select2-selection__rendered").prepend(f)}},d}),i.define("select2/selection/search",["jquery","../utils","../keys"],function(a,b,c){function d(a,b,c){a.call(this,b,c)}return d.prototype.render=function(b){var c=a('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>');this.$searchContainer=c,this.$search=c.find("input");var d=b.call(this);return this._transferTabIndex(),d},d.prototype.bind=function(a,d,e){var f=this,g=d.id+"-results";a.call(this,d,e),d.on("open",function(){f.$search.attr("aria-controls",g),f.$search.trigger("focus")}),d.on("close",function(){f.$search.val(""),f.$search.removeAttr("aria-controls"),f.$search.removeAttr("aria-activedescendant"),f.$search.trigger("focus")}),d.on("enable",function(){f.$search.prop("disabled",!1),f._transferTabIndex()}),d.on("disable",function(){f.$search.prop("disabled",!0)}),d.on("focus",function(a){f.$search.trigger("focus")}),d.on("results:focus",function(a){a.data._resultId?f.$search.attr("aria-activedescendant",a.data._resultId):f.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(a){f.trigger("focus",a)}),this.$selection.on("focusout",".select2-search--inline",function(a){f._handleBlur(a)}),this.$selection.on("keydown",".select2-search--inline",function(a){if(a.stopPropagation(),f.trigger("keypress",a),f._keyUpPrevented=a.isDefaultPrevented(),a.which===c.BACKSPACE&&""===f.$search.val()){var d=f.$searchContainer.prev(".select2-selection__choice");if(0<d.length){var e=b.GetData(d[0],"data");f.searchRemoveChoice(e),a.preventDefault()}}}),this.$selection.on("click",".select2-search--inline",function(a){f.$search.val()&&a.stopPropagation()});var h=document.documentMode,i=h&&h<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(a){i?f.$selection.off("input.search input.searchcheck"):f.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(a){if(i&&"input"===a.type)f.$selection.off("input.search input.searchcheck");else{var b=a.which;b!=c.SHIFT&&b!=c.CTRL&&b!=c.ALT&&b!=c.TAB&&f.handleSearch(a)}})},d.prototype._transferTabIndex=function(a){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},d.prototype.createPlaceholder=function(a,b){this.$search.attr("placeholder",b.text)},d.prototype.update=function(a,b){var c=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),a.call(this,b),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),c&&this.$search.trigger("focus")},d.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var a=this.$search.val();this.trigger("query",{term:a})}this._keyUpPrevented=!1},d.prototype.searchRemoveChoice=function(a,b){this.trigger("unselect",{data:b}),this.$search.val(b.text),this.handleSearch()},d.prototype.resizeSearch=function(){this.$search.css("width","25px");var a="";a=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").width():.75*(this.$search.val().length+1)+"em",this.$search.css("width",a)},d}),i.define("select2/selection/eventRelay",["jquery"],function(a){function b(){}return b.prototype.bind=function(b,c,d){var e=this,f=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],g=["opening","closing","selecting","unselecting","clearing"];b.call(this,c,d),c.on("*",function(b,c){if(-1!==a.inArray(b,f)){c=c||{};var d=a.Event("select2:"+b,{params:c});e.$element.trigger(d),-1!==a.inArray(b,g)&&(c.prevented=d.isDefaultPrevented())}})},b}),i.define("select2/translation",["jquery","require"],function(a,b){function c(a){this.dict=a||{}}return c.prototype.all=function(){return this.dict},c.prototype.get=function(a){return this.dict[a]},c.prototype.extend=function(b){this.dict=a.extend({},b.all(),this.dict)},c._cache={},c.loadPath=function(a){if(!(a in c._cache)){var d=b(a);c._cache[a]=d}return new c(c._cache[a])},c}),i.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}}),i.define("select2/data/base",["../utils"],function(a){function b(a,c){b.__super__.constructor.call(this)}return a.Extend(b,a.Observable),b.prototype.current=function(a){throw new Error("The `current` method must be defined in child classes.")},b.prototype.query=function(a,b){throw new Error("The `query` method must be defined in child classes.")},b.prototype.bind=function(a,b){},b.prototype.destroy=function(){},b.prototype.generateResultId=function(b,c){var d=b.id+"-result-";return d+=a.generateChars(4),d+=null!=c.id?"-"+c.id.toString():"-"+a.generateChars(4)},b}),i.define("select2/data/select",["./base","../utils","jquery"],function(a,b,c){function d(a,b){this.$element=a,this.options=b,d.__super__.constructor.call(this)}return b.Extend(d,a),d.prototype.current=function(a){var b=[],d=this;this.$element.find(":selected").each(function(){var a=c(this),e=d.item(a);b.push(e)}),a(b)},d.prototype.select=function(a){var b=this;if(a.selected=!0,c(a.element).is("option"))return a.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current(function(d){var e=[];(a=[a]).push.apply(a,d);for(var f=0;f<a.length;f++){var g=a[f].id;-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("input").trigger("change")});else{var d=a.id;this.$element.val(d),this.$element.trigger("input").trigger("change")}},d.prototype.unselect=function(a){var b=this;if(this.$element.prop("multiple")){if(a.selected=!1,c(a.element).is("option"))return a.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current(function(d){for(var e=[],f=0;f<d.length;f++){var g=d[f].id;g!==a.id&&-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("input").trigger("change")})}},d.prototype.bind=function(a,b){var c=this;(this.container=a).on("select",function(a){c.select(a.data)}),a.on("unselect",function(a){c.unselect(a.data)})},d.prototype.destroy=function(){this.$element.find("*").each(function(){b.RemoveData(this)})},d.prototype.query=function(a,b){var d=[],e=this;this.$element.children().each(function(){var b=c(this);if(b.is("option")||b.is("optgroup")){var f=e.item(b),g=e.matches(a,f);null!==g&&d.push(g)}}),b({results:d})},d.prototype.addOptions=function(a){b.appendMany(this.$element,a)},d.prototype.option=function(a){var d;a.children?(d=document.createElement("optgroup")).label=a.text:void 0!==(d=document.createElement("option")).textContent?d.textContent=a.text:d.innerText=a.text,void 0!==a.id&&(d.value=a.id),a.disabled&&(d.disabled=!0),a.selected&&(d.selected=!0),a.title&&(d.title=a.title);var e=c(d),f=this._normalizeItem(a);return f.element=d,b.StoreData(d,"data",f),e},d.prototype.item=function(a){var d={};if(null!=(d=b.GetData(a[0],"data")))return d;if(a.is("option"))d={id:a.val(),text:a.text(),disabled:a.prop("disabled"),selected:a.prop("selected"),title:a.prop("title")};else if(a.is("optgroup")){d={text:a.prop("label"),children:[],title:a.prop("title")};for(var e=a.children("option"),f=[],g=0;g<e.length;g++){var h=c(e[g]),i=this.item(h);f.push(i)}d.children=f}return(d=this._normalizeItem(d)).element=a[0],b.StoreData(a[0],"data",d),d},d.prototype._normalizeItem=function(a){return a!==Object(a)&&(a={id:a,text:a}),null!=(a=c.extend({},{text:""},a)).id&&(a.id=a.id.toString()),null!=a.text&&(a.text=a.text.toString()),null==a._resultId&&a.id&&null!=this.container&&(a._resultId=this.generateResultId(this.container,a)),c.extend({},{selected:!1,disabled:!1},a)},d.prototype.matches=function(a,b){return this.options.get("matcher")(a,b)},d}),i.define("select2/data/array",["./select","../utils","jquery"],function(a,b,c){function d(a,b){this._dataToConvert=b.get("data")||[],d.__super__.constructor.call(this,a,b)}return b.Extend(d,a),d.prototype.bind=function(a,b){d.__super__.bind.call(this,a,b),this.addOptions(this.convertToOptions(this._dataToConvert))},d.prototype.select=function(a){var b=this.$element.find("option").filter(function(b,c){return c.value==a.id.toString()});0===b.length&&(b=this.option(a),this.addOptions(b)),d.__super__.select.call(this,a)},d.prototype.convertToOptions=function(a){function d(a){return function(){return c(this).val()==a.id}}for(var e=this,f=this.$element.find("option"),g=f.map(function(){return e.item(c(this)).id}).get(),h=[],i=0;i<a.length;i++){var j=this._normalizeItem(a[i]);if(0<=c.inArray(j.id,g)){var k=f.filter(d(j)),l=this.item(k),m=c.extend(!0,{},j,l),n=this.option(m);k.replaceWith(n)}else{var o=this.option(j);if(j.children){var p=this.convertToOptions(j.children);b.appendMany(o,p)}h.push(o)}}return h},d}),i.define("select2/data/ajax",["./array","../utils","jquery"],function(a,b,c){function d(a,b){this.ajaxOptions=this._applyDefaults(b.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),d.__super__.constructor.call(this,a,b)}return b.Extend(d,a),d.prototype._applyDefaults=function(a){var b={data:function(a){return c.extend({},a,{q:a.term})},transport:function(a,b,d){var e=c.ajax(a);return e.then(b),e.fail(d),e}};return c.extend({},b,a,!0)},d.prototype.processResults=function(a){return a},d.prototype.query=function(a,b){function d(){var d=f.transport(f,function(d){var f=e.processResults(d,a);e.options.get("debug")&&window.console&&console.error&&(f&&f.results&&c.isArray(f.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),b(f)},function(){"status"in d&&(0===d.status||"0"===d.status)||e.trigger("results:message",{message:"errorLoading"})});e._request=d}var e=this;null!=this._request&&(c.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var f=c.extend({type:"GET"},this.ajaxOptions);"function"==typeof f.url&&(f.url=f.url.call(this.$element,a)),"function"==typeof f.data&&(f.data=f.data.call(this.$element,a)),this.ajaxOptions.delay&&null!=a.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(d,this.ajaxOptions.delay)):d()},d}),i.define("select2/data/tags",["jquery"],function(a){function b(b,c,d){var e=d.get("tags"),f=d.get("createTag");void 0!==f&&(this.createTag=f);var g=d.get("insertTag");if(void 0!==g&&(this.insertTag=g),b.call(this,c,d),a.isArray(e))for(var h=0;h<e.length;h++){var i=e[h],j=this._normalizeItem(i),k=this.option(j);this.$element.append(k)}}return b.prototype.query=function(a,b,c){var d=this;this._removeOldTags(),null!=b.term&&null==b.page?a.call(this,b,function a(e,f){for(var g=e.results,h=0;h<g.length;h++){var i=g[h],j=null!=i.children&&!a({results:i.children},!0);if((i.text||"").toUpperCase()===(b.term||"").toUpperCase()||j)return!f&&(e.data=g,void c(e))}if(f)return!0;var k=d.createTag(b);if(null!=k){var l=d.option(k);l.attr("data-select2-tag",!0),d.addOptions([l]),d.insertTag(g,k)}e.results=g,c(e)}):a.call(this,b,c)},b.prototype.createTag=function(b,c){var d=a.trim(c.term);return""===d?null:{id:d,text:d}},b.prototype.insertTag=function(a,b,c){b.unshift(c)},b.prototype._removeOldTags=function(b){this.$element.find("option[data-select2-tag]").each(function(){this.selected||a(this).remove()})},b}),i.define("select2/data/tokenizer",["jquery"],function(a){function b(a,b,c){var d=c.get("tokenizer");void 0!==d&&(this.tokenizer=d),a.call(this,b,c)}return b.prototype.bind=function(a,b,c){a.call(this,b,c),this.$search=b.dropdown.$search||b.selection.$search||c.find(".select2-search__field")},b.prototype.query=function(b,c,d){var e=this;c.term=c.term||"";var f=this.tokenizer(c,this.options,function(b){var c,d=e._normalizeItem(b);if(!e.$element.find("option").filter(function(){return a(this).val()===d.id}).length){var f=e.option(d);f.attr("data-select2-tag",!0),e._removeOldTags(),e.addOptions([f])}c=d,e.trigger("select",{data:c})});f.term!==c.term&&(this.$search.length&&(this.$search.val(f.term),this.$search.trigger("focus")),c.term=f.term),b.call(this,c,d)},b.prototype.tokenizer=function(b,c,d,e){for(var f=d.get("tokenSeparators")||[],g=c.term,h=0,i=this.createTag||function(a){return{id:a.term,text:a.term}};h<g.length;){var j=g[h];if(-1!==a.inArray(j,f)){var k=g.substr(0,h),l=i(a.extend({},c,{term:k}));null!=l?(e(l),g=g.substr(h+1)||"",h=0):h++}else h++}return{term:g}},b}),i.define("select2/data/minimumInputLength",[],function(){function a(a,b,c){this.minimumInputLength=c.get("minimumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){b.term=b.term||"",b.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:b.term,params:b}}):a.call(this,b,c)},a}),i.define("select2/data/maximumInputLength",[],function(){function a(a,b,c){this.maximumInputLength=c.get("maximumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){b.term=b.term||"",0<this.maximumInputLength&&b.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:b.term,params:b}}):a.call(this,b,c)},a}),i.define("select2/data/maximumSelectionLength",[],function(){function a(a,b,c){this.maximumSelectionLength=c.get("maximumSelectionLength"),a.call(this,b,c)}return a.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("select",function(){d._checkIfMaximumSelected()})},a.prototype.query=function(a,b,c){var d=this;this._checkIfMaximumSelected(function(){a.call(d,b,c)})},a.prototype._checkIfMaximumSelected=function(a,b){var c=this;this.current(function(a){var d=null!=a?a.length:0;0<c.maximumSelectionLength&&d>=c.maximumSelectionLength?c.trigger("results:message",{message:"maximumSelected",args:{maximum:c.maximumSelectionLength}}):b&&b()})},a}),i.define("select2/dropdown",["jquery","./utils"],function(a,b){function c(a,b){this.$element=a,this.options=b,c.__super__.constructor.call(this)}return b.Extend(c,b.Observable),c.prototype.render=function(){var b=a('<span class="select2-dropdown"><span class="select2-results"></span></span>');return b.attr("dir",this.options.get("dir")),this.$dropdown=b},c.prototype.bind=function(){},c.prototype.position=function(a,b){},c.prototype.destroy=function(){this.$dropdown.remove()},c}),i.define("select2/dropdown/search",["jquery","../utils"],function(a,b){function c(){}return c.prototype.render=function(b){var c=b.call(this),d=a('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=d,this.$search=d.find("input"),c.prepend(d),c},c.prototype.bind=function(b,c,d){var e=this,f=c.id+"-results";b.call(this,c,d),this.$search.on("keydown",function(a){e.trigger("keypress",a),e._keyUpPrevented=a.isDefaultPrevented()}),this.$search.on("input",function(b){a(this).off("keyup")}),this.$search.on("keyup input",function(a){e.handleSearch(a)}),c.on("open",function(){e.$search.attr("tabindex",0),e.$search.attr("aria-controls",f),e.$search.trigger("focus"),window.setTimeout(function(){e.$search.trigger("focus")},0)}),c.on("close",function(){e.$search.attr("tabindex",-1),e.$search.removeAttr("aria-controls"),e.$search.removeAttr("aria-activedescendant"),e.$search.val(""),e.$search.trigger("blur")}),c.on("focus",function(){c.isOpen()||e.$search.trigger("focus")}),c.on("results:all",function(a){null!=a.query.term&&""!==a.query.term||(e.showSearch(a)?e.$searchContainer.removeClass("select2-search--hide"):e.$searchContainer.addClass("select2-search--hide"))}),c.on("results:focus",function(a){a.data._resultId?e.$search.attr("aria-activedescendant",a.data._resultId):e.$search.removeAttr("aria-activedescendant")})},c.prototype.handleSearch=function(a){if(!this._keyUpPrevented){var b=this.$search.val();this.trigger("query",{term:b})}this._keyUpPrevented=!1},c.prototype.showSearch=function(a,b){return!0},c}),i.define("select2/dropdown/hidePlaceholder",[],function(){function a(a,b,c,d){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c,d)}return a.prototype.append=function(a,b){b.results=this.removePlaceholder(b.results),a.call(this,b)},a.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},a.prototype.removePlaceholder=function(a,b){for(var c=b.slice(0),d=b.length-1;0<=d;d--){var e=b[d];this.placeholder.id===e.id&&c.splice(d,1)}return c},a}),i.define("select2/dropdown/infiniteScroll",["jquery"],function(a){function b(a,b,c,d){this.lastParams={},a.call(this,b,c,d),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return b.prototype.append=function(a,b){this.$loadingMore.remove(),this.loading=!1,a.call(this,b),this.showLoadingMore(b)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},b.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("query",function(a){d.lastParams=a,d.loading=!0}),b.on("query:append",function(a){d.lastParams=a,d.loading=!0}),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},b.prototype.loadMoreIfNeeded=function(){var b=a.contains(document.documentElement,this.$loadingMore[0]);if(!this.loading&&b){var c=this.$results.offset().top+this.$results.outerHeight(!1);this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)<=c+50&&this.loadMore()}},b.prototype.loadMore=function(){this.loading=!0;var b=a.extend({},{page:1},this.lastParams);b.page++,this.trigger("query:append",b)},b.prototype.showLoadingMore=function(a,b){return b.pagination&&b.pagination.more},b.prototype.createLoadingMore=function(){var b=a('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),c=this.options.get("translations").get("loadingMore");return b.html(c(this.lastParams)),b},b}),i.define("select2/dropdown/attachBody",["jquery","../utils"],function(a,b){function c(b,c,d){this.$dropdownParent=a(d.get("dropdownParent")||document.body),b.call(this,c,d)}return c.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("open",function(){d._showDropdown(),d._attachPositioningHandler(b),d._bindContainerResultHandlers(b)}),b.on("close",function(){d._hideDropdown(),d._detachPositioningHandler(b)}),this.$dropdownContainer.on("mousedown",function(a){a.stopPropagation()})},c.prototype.destroy=function(a){a.call(this),this.$dropdownContainer.remove()},c.prototype.position=function(a,b,c){b.attr("class",c.attr("class")),b.removeClass("select2"),b.addClass("select2-container--open"),b.css({position:"absolute",top:-999999}),this.$container=c},c.prototype.render=function(b){var c=a("<span></span>"),d=b.call(this);return c.append(d),this.$dropdownContainer=c},c.prototype._hideDropdown=function(a){this.$dropdownContainer.detach()},c.prototype._bindContainerResultHandlers=function(a,b){if(!this._containerResultsHandlersBound){var c=this;b.on("results:all",function(){c._positionDropdown(),c._resizeDropdown()}),b.on("results:append",function(){c._positionDropdown(),c._resizeDropdown()}),b.on("results:message",function(){c._positionDropdown(),c._resizeDropdown()}),b.on("select",function(){c._positionDropdown(),c._resizeDropdown()}),b.on("unselect",function(){c._positionDropdown(),c._resizeDropdown()}),this._containerResultsHandlersBound=!0}},c.prototype._attachPositioningHandler=function(c,d){var e=this,f="scroll.select2."+d.id,g="resize.select2."+d.id,h="orientationchange.select2."+d.id,i=this.$container.parents().filter(b.hasScroll);i.each(function(){b.StoreData(this,"select2-scroll-position",{x:a(this).scrollLeft(),y:a(this).scrollTop()})}),i.on(f,function(c){var d=b.GetData(this,"select2-scroll-position");a(this).scrollTop(d.y)}),a(window).on(f+" "+g+" "+h,function(a){e._positionDropdown(),e._resizeDropdown()})},c.prototype._detachPositioningHandler=function(c,d){var e="scroll.select2."+d.id,f="resize.select2."+d.id,g="orientationchange.select2."+d.id;this.$container.parents().filter(b.hasScroll).off(e),a(window).off(e+" "+f+" "+g)},c.prototype._positionDropdown=function(){var b=a(window),c=this.$dropdown.hasClass("select2-dropdown--above"),d=this.$dropdown.hasClass("select2-dropdown--below"),e=null,f=this.$container.offset();f.bottom=f.top+this.$container.outerHeight(!1);var g={height:this.$container.outerHeight(!1)};g.top=f.top,g.bottom=f.top+g.height;var h=this.$dropdown.outerHeight(!1),i=b.scrollTop(),j=b.scrollTop()+b.height(),k=i<f.top-h,l=j>f.bottom+h,m={left:f.left,top:g.bottom},n=this.$dropdownParent;"static"===n.css("position")&&(n=n.offsetParent());var o={top:0,left:0};(a.contains(document.body,n[0])||n[0].isConnected)&&(o=n.offset()),m.top-=o.top,m.left-=o.left,c||d||(e="below"),l||!k||c?!k&&l&&c&&(e="below"):e="above",("above"==e||c&&"below"!==e)&&(m.top=g.top-o.top-h),null!=e&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+e),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+e)),
7
  this.$dropdownContainer.css(m)},c.prototype._resizeDropdown=function(){var a={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(a.minWidth=a.width,a.position="relative",a.width="auto"),this.$dropdown.css(a)},c.prototype._showDropdown=function(a){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},c}),i.define("select2/dropdown/minimumResultsForSearch",[],function(){function a(a,b,c,d){this.minimumResultsForSearch=c.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),a.call(this,b,c,d)}return a.prototype.showSearch=function(a,b){return!(function a(b){for(var c=0,d=0;d<b.length;d++){var e=b[d];e.children?c+=a(e.children):c++}return c}(b.data.results)<this.minimumResultsForSearch)&&a.call(this,b)},a}),i.define("select2/dropdown/selectOnClose",["../utils"],function(a){function b(){}return b.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("close",function(a){d._handleSelectOnClose(a)})},b.prototype._handleSelectOnClose=function(b,c){if(c&&null!=c.originalSelect2Event){var d=c.originalSelect2Event;if("select"===d._type||"unselect"===d._type)return}var e=this.getHighlightedResults();if(!(e.length<1)){var f=a.GetData(e[0],"data");null!=f.element&&f.element.selected||null==f.element&&f.selected||this.trigger("select",{data:f})}},b}),i.define("select2/dropdown/closeOnSelect",[],function(){function a(){}return a.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("select",function(a){d._selectTriggered(a)}),b.on("unselect",function(a){d._selectTriggered(a)})},a.prototype._selectTriggered=function(a,b){var c=b.originalEvent;c&&(c.ctrlKey||c.metaKey)||this.trigger("close",{originalEvent:c,originalSelect2Event:b})},a}),i.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(a){var b=a.input.length-a.maximum,c="Please delete "+b+" character";return 1!=b&&(c+="s"),c},inputTooShort:function(a){return"Please enter "+(a.minimum-a.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(a){var b="You can only select "+a.maximum+" item";return 1!=a.maximum&&(b+="s"),b},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}}),i.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C){function D(){this.reset()}return D.prototype.apply=function(k){if(null==(k=a.extend(!0,{},this.defaults,k)).dataAdapter){if(null!=k.ajax?k.dataAdapter=o:null!=k.data?k.dataAdapter=n:k.dataAdapter=m,0<k.minimumInputLength&&(k.dataAdapter=j.Decorate(k.dataAdapter,r)),0<k.maximumInputLength&&(k.dataAdapter=j.Decorate(k.dataAdapter,s)),0<k.maximumSelectionLength&&(k.dataAdapter=j.Decorate(k.dataAdapter,t)),k.tags&&(k.dataAdapter=j.Decorate(k.dataAdapter,p)),null==k.tokenSeparators&&null==k.tokenizer||(k.dataAdapter=j.Decorate(k.dataAdapter,q)),null!=k.query){var l=b(k.amdBase+"compat/query");k.dataAdapter=j.Decorate(k.dataAdapter,l)}if(null!=k.initSelection){var C=b(k.amdBase+"compat/initSelection");k.dataAdapter=j.Decorate(k.dataAdapter,C)}}if(null==k.resultsAdapter&&(k.resultsAdapter=c,null!=k.ajax&&(k.resultsAdapter=j.Decorate(k.resultsAdapter,x)),null!=k.placeholder&&(k.resultsAdapter=j.Decorate(k.resultsAdapter,w)),k.selectOnClose&&(k.resultsAdapter=j.Decorate(k.resultsAdapter,A))),null==k.dropdownAdapter){if(k.multiple)k.dropdownAdapter=u;else{var D=j.Decorate(u,v);k.dropdownAdapter=D}if(0!==k.minimumResultsForSearch&&(k.dropdownAdapter=j.Decorate(k.dropdownAdapter,z)),k.closeOnSelect&&(k.dropdownAdapter=j.Decorate(k.dropdownAdapter,B)),null!=k.dropdownCssClass||null!=k.dropdownCss||null!=k.adaptDropdownCssClass){var E=b(k.amdBase+"compat/dropdownCss");k.dropdownAdapter=j.Decorate(k.dropdownAdapter,E)}k.dropdownAdapter=j.Decorate(k.dropdownAdapter,y)}if(null==k.selectionAdapter){if(k.multiple?k.selectionAdapter=e:k.selectionAdapter=d,null!=k.placeholder&&(k.selectionAdapter=j.Decorate(k.selectionAdapter,f)),k.allowClear&&(k.selectionAdapter=j.Decorate(k.selectionAdapter,g)),k.multiple&&(k.selectionAdapter=j.Decorate(k.selectionAdapter,h)),null!=k.containerCssClass||null!=k.containerCss||null!=k.adaptContainerCssClass){var F=b(k.amdBase+"compat/containerCss");k.selectionAdapter=j.Decorate(k.selectionAdapter,F)}k.selectionAdapter=j.Decorate(k.selectionAdapter,i)}k.language=this._resolveLanguage(k.language),k.language.push("en");for(var G=[],H=0;H<k.language.length;H++){var I=k.language[H];-1===G.indexOf(I)&&G.push(I)}return k.language=G,k.translations=this._processTranslations(k.language,k.debug),k},D.prototype.reset=function(){function b(a){return a.replace(/[^\u0000-\u007E]/g,function(a){return l[a]||a})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:j.escapeMarkup,language:{},matcher:function c(d,e){if(""===a.trim(d.term))return e;if(e.children&&0<e.children.length){for(var f=a.extend(!0,{},e),g=e.children.length-1;0<=g;g--)null==c(d,e.children[g])&&f.children.splice(g,1);return 0<f.children.length?f:c(d,f)}var h=b(e.text).toUpperCase(),i=b(d.term).toUpperCase();return-1<h.indexOf(i)?e:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(a){return a},templateResult:function(a){return a.text},templateSelection:function(a){return a.text},theme:"default",width:"resolve"}},D.prototype.applyFromElement=function(a,b){var c=a.language,d=this.defaults.language,e=b.prop("lang"),f=b.closest("[lang]").prop("lang"),g=Array.prototype.concat.call(this._resolveLanguage(e),this._resolveLanguage(c),this._resolveLanguage(d),this._resolveLanguage(f));return a.language=g,a},D.prototype._resolveLanguage=function(b){if(!b)return[];if(a.isEmptyObject(b))return[];if(a.isPlainObject(b))return[b];var c;c=a.isArray(b)?b:[b];for(var d=[],e=0;e<c.length;e++)if(d.push(c[e]),"string"==typeof c[e]&&0<c[e].indexOf("-")){var f=c[e].split("-")[0];d.push(f)}return d},D.prototype._processTranslations=function(b,c){for(var d=new k,e=0;e<b.length;e++){var f=new k,g=b[e];if("string"==typeof g)try{f=k.loadPath(g)}catch(a){try{g=this.defaults.amdLanguageBase+g,f=k.loadPath(g)}catch(a){c&&window.console&&console.warn&&console.warn('Select2: The language file for "'+g+'" could not be automatically loaded. A fallback will be used instead.')}}else f=a.isPlainObject(g)?new k(g):g;d.extend(f)}return d},D.prototype.set=function(b,c){var d={};d[a.camelCase(b)]=c;var e=j._convertData(d);a.extend(!0,this.defaults,e)},new D}),i.define("select2/options",["require","jquery","./defaults","./utils"],function(a,b,c,d){function e(b,e){if(this.options=b,null!=e&&this.fromElement(e),null!=e&&(this.options=c.applyFromElement(this.options,e)),this.options=c.apply(this.options),e&&e.is("input")){var f=a(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=d.Decorate(this.options.dataAdapter,f)}}return e.prototype.fromElement=function(a){function c(a,b){return b.toUpperCase()}var e=["select2"];null==this.options.multiple&&(this.options.multiple=a.prop("multiple")),null==this.options.disabled&&(this.options.disabled=a.prop("disabled")),null==this.options.dir&&(a.prop("dir")?this.options.dir=a.prop("dir"):a.closest("[dir]").prop("dir")?this.options.dir=a.closest("[dir]").prop("dir"):this.options.dir="ltr"),a.prop("disabled",this.options.disabled),a.prop("multiple",this.options.multiple),d.GetData(a[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),d.StoreData(a[0],"data",d.GetData(a[0],"select2Tags")),d.StoreData(a[0],"tags",!0)),d.GetData(a[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),a.attr("ajax--url",d.GetData(a[0],"ajaxUrl")),d.StoreData(a[0],"ajax-Url",d.GetData(a[0],"ajaxUrl")));for(var f={},g=0;g<a[0].attributes.length;g++){var h=a[0].attributes[g].name,i="data-";if(h.substr(0,i.length)==i){var j=h.substring(i.length),k=d.GetData(a[0],j);f[j.replace(/-([a-z])/g,c)]=k}}b.fn.jquery&&"1."==b.fn.jquery.substr(0,2)&&a[0].dataset&&(f=b.extend(!0,{},a[0].dataset,f));var l=b.extend(!0,{},d.GetData(a[0]),f);for(var m in l=d._convertData(l))-1<b.inArray(m,e)||(b.isPlainObject(this.options[m])?b.extend(this.options[m],l[m]):this.options[m]=l[m]);return this},e.prototype.get=function(a){return this.options[a]},e.prototype.set=function(a,b){this.options[a]=b},e}),i.define("select2/core",["jquery","./options","./utils","./keys"],function(a,b,c,d){var e=function(a,d){null!=c.GetData(a[0],"select2")&&c.GetData(a[0],"select2").destroy(),this.$element=a,this.id=this._generateId(a),d=d||{},this.options=new b(d,a),e.__super__.constructor.call(this);var f=a.attr("tabindex")||0;c.StoreData(a[0],"old-tabindex",f),a.attr("tabindex","-1");var g=this.options.get("dataAdapter");this.dataAdapter=new g(a,this.options);var h=this.render();this._placeContainer(h);var i=this.options.get("selectionAdapter");this.selection=new i(a,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,h);var j=this.options.get("dropdownAdapter");this.dropdown=new j(a,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,h);var k=this.options.get("resultsAdapter");this.results=new k(a,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var l=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(a){l.trigger("selection:update",{data:a})}),a.addClass("select2-hidden-accessible"),a.attr("aria-hidden","true"),this._syncAttributes(),c.StoreData(a[0],"select2",this),a.data("select2",this)};return c.Extend(e,c.Observable),e.prototype._generateId=function(a){return"select2-"+(null!=a.attr("id")?a.attr("id"):null!=a.attr("name")?a.attr("name")+"-"+c.generateChars(2):c.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},e.prototype._placeContainer=function(a){a.insertAfter(this.$element);var b=this._resolveWidth(this.$element,this.options.get("width"));null!=b&&a.css("width",b)},e.prototype._resolveWidth=function(a,b){var c=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==b){var d=this._resolveWidth(a,"style");return null!=d?d:this._resolveWidth(a,"element")}if("element"==b){var e=a.outerWidth(!1);return e<=0?"auto":e+"px"}if("style"!=b)return"computedstyle"!=b?b:window.getComputedStyle(a[0]).width;var f=a.attr("style");if("string"!=typeof f)return null;for(var g=f.split(";"),h=0,i=g.length;h<i;h+=1){var j=g[h].replace(/\s/g,"").match(c);if(null!==j&&1<=j.length)return j[1]}return null},e.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},e.prototype._registerDomEvents=function(){var a=this;this.$element.on("change.select2",function(){a.dataAdapter.current(function(b){a.trigger("selection:update",{data:b})})}),this.$element.on("focus.select2",function(b){a.trigger("focus",b)}),this._syncA=c.bind(this._syncAttributes,this),this._syncS=c.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var b=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=b?(this._observer=new b(function(b){a._syncA(),a._syncS(null,b)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",a._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",a._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",a._syncS,!1))},e.prototype._registerDataEvents=function(){var a=this;this.dataAdapter.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerSelectionEvents=function(){var b=this,c=["toggle","focus"];this.selection.on("toggle",function(){b.toggleDropdown()}),this.selection.on("focus",function(a){b.focus(a)}),this.selection.on("*",function(d,e){-1===a.inArray(d,c)&&b.trigger(d,e)})},e.prototype._registerDropdownEvents=function(){var a=this;this.dropdown.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerResultsEvents=function(){var a=this;this.results.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerEvents=function(){var a=this;this.on("open",function(){a.$container.addClass("select2-container--open")}),this.on("close",function(){a.$container.removeClass("select2-container--open")}),this.on("enable",function(){a.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){a.$container.addClass("select2-container--disabled")}),this.on("blur",function(){a.$container.removeClass("select2-container--focus")}),this.on("query",function(b){a.isOpen()||a.trigger("open",{}),this.dataAdapter.query(b,function(c){a.trigger("results:all",{data:c,query:b})})}),this.on("query:append",function(b){this.dataAdapter.query(b,function(c){a.trigger("results:append",{data:c,query:b})})}),this.on("keypress",function(b){var c=b.which;a.isOpen()?c===d.ESC||c===d.TAB||c===d.UP&&b.altKey?(a.close(b),b.preventDefault()):c===d.ENTER?(a.trigger("results:select",{}),b.preventDefault()):c===d.SPACE&&b.ctrlKey?(a.trigger("results:toggle",{}),b.preventDefault()):c===d.UP?(a.trigger("results:previous",{}),b.preventDefault()):c===d.DOWN&&(a.trigger("results:next",{}),b.preventDefault()):(c===d.ENTER||c===d.SPACE||c===d.DOWN&&b.altKey)&&(a.open(),b.preventDefault())})},e.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},e.prototype._isChangeMutation=function(b,c){var d=!1,e=this;if(!b||!b.target||"OPTION"===b.target.nodeName||"OPTGROUP"===b.target.nodeName){if(c)if(c.addedNodes&&0<c.addedNodes.length)for(var f=0;f<c.addedNodes.length;f++)c.addedNodes[f].selected&&(d=!0);else c.removedNodes&&0<c.removedNodes.length?d=!0:a.isArray(c)&&a.each(c,function(a,b){if(e._isChangeMutation(a,b))return!(d=!0)});else d=!0;return d}},e.prototype._syncSubtree=function(a,b){var c=this._isChangeMutation(a,b),d=this;c&&this.dataAdapter.current(function(a){d.trigger("selection:update",{data:a})})},e.prototype.trigger=function(a,b){var c=e.__super__.trigger,d={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===b&&(b={}),a in d){var f=d[a],g={prevented:!1,name:a,args:b};if(c.call(this,f,g),g.prevented)return void(b.prevented=!0)}c.call(this,a,b)},e.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},e.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},e.prototype.close=function(a){this.isOpen()&&this.trigger("close",{originalEvent:a})},e.prototype.isEnabled=function(){return!this.isDisabled()},e.prototype.isDisabled=function(){return this.options.get("disabled")},e.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},e.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},e.prototype.focus=function(a){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},e.prototype.enable=function(a){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=a&&0!==a.length||(a=[!0]);var b=!a[0];this.$element.prop("disabled",b)},e.prototype.data=function(){this.options.get("debug")&&0<arguments.length&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var a=[];return this.dataAdapter.current(function(b){a=b}),a},e.prototype.val=function(b){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==b||0===b.length)return this.$element.val();var c=b[0];a.isArray(c)&&(c=a.map(c,function(a){return a.toString()})),this.$element.val(c).trigger("input").trigger("change")},e.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",c.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),c.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},e.prototype.render=function(){var b=a('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return b.attr("dir",this.options.get("dir")),this.$container=b,this.$container.addClass("select2-container--"+this.options.get("theme")),c.StoreData(b[0],"element",this.$element),b},e}),i.define("select2/compat/utils",["jquery"],function(a){return{syncCssClasses:function(b,c,d){var e,f,g=[];(e=a.trim(b.attr("class")))&&a((e=""+e).split(/\s+/)).each(function(){0===this.indexOf("select2-")&&g.push(this)}),(e=a.trim(c.attr("class")))&&a((e=""+e).split(/\s+/)).each(function(){0!==this.indexOf("select2-")&&null!=(f=d(this))&&g.push(f)}),b.attr("class",g.join(" "))}}}),i.define("select2/compat/containerCss",["jquery","./utils"],function(a,b){function c(a){return null}function d(){}return d.prototype.render=function(d){var e=d.call(this),f=this.options.get("containerCssClass")||"";a.isFunction(f)&&(f=f(this.$element));var g=this.options.get("adaptContainerCssClass");if(g=g||c,-1!==f.indexOf(":all:")){f=f.replace(":all:","");var h=g;g=function(a){var b=h(a);return null!=b?b+" "+a:a}}var i=this.options.get("containerCss")||{};return a.isFunction(i)&&(i=i(this.$element)),b.syncCssClasses(e,this.$element,g),e.css(i),e.addClass(f),e},d}),i.define("select2/compat/dropdownCss",["jquery","./utils"],function(a,b){function c(a){return null}function d(){}return d.prototype.render=function(d){var e=d.call(this),f=this.options.get("dropdownCssClass")||"";a.isFunction(f)&&(f=f(this.$element));var g=this.options.get("adaptDropdownCssClass");if(g=g||c,-1!==f.indexOf(":all:")){f=f.replace(":all:","");var h=g;g=function(a){var b=h(a);return null!=b?b+" "+a:a}}var i=this.options.get("dropdownCss")||{};return a.isFunction(i)&&(i=i(this.$element)),b.syncCssClasses(e,this.$element,g),e.css(i),e.addClass(f),e},d}),i.define("select2/compat/initSelection",["jquery"],function(a){function b(a,b,c){c.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=c.get("initSelection"),this._isInitialized=!1,a.call(this,b,c)}return b.prototype.current=function(b,c){var d=this;this._isInitialized?b.call(this,c):this.initSelection.call(null,this.$element,function(b){d._isInitialized=!0,a.isArray(b)||(b=[b]),c(b)})},b}),i.define("select2/compat/inputData",["jquery","../utils"],function(a,b){function c(a,b,c){this._currentData=[],this._valueSeparator=c.get("valueSeparator")||",","hidden"===b.prop("type")&&c.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),a.call(this,b,c)}return c.prototype.current=function(b,c){function d(b,c){var e=[];return b.selected||-1!==a.inArray(b.id,c)?(b.selected=!0,e.push(b)):b.selected=!1,b.children&&e.push.apply(e,d(b.children,c)),e}for(var e=[],f=0;f<this._currentData.length;f++){var g=this._currentData[f];e.push.apply(e,d(g,this.$element.val().split(this._valueSeparator)))}c(e)},c.prototype.select=function(b,c){if(this.options.get("multiple")){var d=this.$element.val();d+=this._valueSeparator+c.id,this.$element.val(d),this.$element.trigger("input").trigger("change")}else this.current(function(b){a.map(b,function(a){a.selected=!1})}),this.$element.val(c.id),this.$element.trigger("input").trigger("change")},c.prototype.unselect=function(a,b){var c=this;b.selected=!1,this.current(function(a){for(var d=[],e=0;e<a.length;e++){var f=a[e];b.id!=f.id&&d.push(f.id)}c.$element.val(d.join(c._valueSeparator)),c.$element.trigger("input").trigger("change")})},c.prototype.query=function(a,b,c){for(var d=[],e=0;e<this._currentData.length;e++){var f=this._currentData[e],g=this.matches(b,f);null!==g&&d.push(g)}c({results:d})},c.prototype.addOptions=function(c,d){var e=a.map(d,function(a){return b.GetData(a[0],"data")});this._currentData.push.apply(this._currentData,e)},c}),i.define("select2/compat/matcher",["jquery"],function(a){return function(b){return function(c,d){var e=a.extend(!0,{},d);if(null==c.term||""===a.trim(c.term))return e;if(d.children){for(var f=d.children.length-1;0<=f;f--){var g=d.children[f];b(c.term,g.text,g)||e.children.splice(f,1)}if(0<e.children.length)return e}return b(c.term,d.text,d)?e:null}}}),i.define("select2/compat/query",[],function(){function a(a,b,c){c.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),a.call(this,b,c)}return a.prototype.query=function(a,b,c){b.callback=c,this.options.get("query").call(null,b)},a}),i.define("select2/dropdown/attachContainer",[],function(){function a(a,b,c){a.call(this,b,c)}return a.prototype.position=function(a,b,c){c.find(".dropdown-wrapper").append(b),b.addClass("select2-dropdown--below"),c.addClass("select2-container--below")},a}),i.define("select2/dropdown/stopPropagation",[],function(){function a(){}return a.prototype.bind=function(a,b,c){a.call(this,b,c),this.$dropdown.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(a){a.stopPropagation()})},a}),i.define("select2/selection/stopPropagation",[],function(){function a(){}return a.prototype.bind=function(a,b,c){a.call(this,b,c),this.$selection.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(a){a.stopPropagation()})},a}),y=function(a){function b(b){var g,h=b||window.event,j=i.call(arguments,1),l=0,m=0,n=0,o=0,p=0;if((b=a.event.fix(h)).type="mousewheel","detail"in h&&(n=-1*h.detail),"wheelDelta"in h&&(n=h.wheelDelta),"wheelDeltaY"in h&&(n=h.wheelDeltaY),"wheelDeltaX"in h&&(m=-1*h.wheelDeltaX),"axis"in h&&h.axis===h.HORIZONTAL_AXIS&&(m=-1*n,n=0),l=0===n?m:n,"deltaY"in h&&(l=n=-1*h.deltaY),"deltaX"in h&&(m=h.deltaX,0===n&&(l=-1*m)),0!==n||0!==m){if(1===h.deltaMode){var q=a.data(this,"mousewheel-line-height");l*=q,n*=q,m*=q}else if(2===h.deltaMode){var r=a.data(this,"mousewheel-page-height");l*=r,n*=r,m*=r}if(g=Math.max(Math.abs(n),Math.abs(m)),(!f||g<f)&&d(h,f=g)&&(f/=40),d(h,g)&&(l/=40,m/=40,n/=40),l=Math[1<=l?"floor":"ceil"](l/f),m=Math[1<=m?"floor":"ceil"](m/f),n=Math[1<=n?"floor":"ceil"](n/f),k.settings.normalizeOffset&&this.getBoundingClientRect){var s=this.getBoundingClientRect();o=b.clientX-s.left,p=b.clientY-s.top}return b.deltaX=m,b.deltaY=n,b.deltaFactor=f,b.offsetX=o,b.offsetY=p,b.deltaMode=0,j.unshift(b,l,m,n),e&&clearTimeout(e),e=setTimeout(c,200),(a.event.dispatch||a.event.handle).apply(this,j)}}function c(){f=null}function d(a,b){return k.settings.adjustOldDeltas&&"mousewheel"===a.type&&b%120==0}var e,f,g=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],h="onwheel"in document||9<=document.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],i=Array.prototype.slice;if(a.event.fixHooks)for(var j=g.length;j;)a.event.fixHooks[g[--j]]=a.event.mouseHooks;var k=a.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var c=h.length;c;)this.addEventListener(h[--c],b,!1);else this.onmousewheel=b;a.data(this,"mousewheel-line-height",k.getLineHeight(this)),a.data(this,"mousewheel-page-height",k.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var c=h.length;c;)this.removeEventListener(h[--c],b,!1);else this.onmousewheel=null;a.removeData(this,"mousewheel-line-height"),a.removeData(this,"mousewheel-page-height")},getLineHeight:function(b){var c=a(b),d=c["offsetParent"in a.fn?"offsetParent":"parent"]();return d.length||(d=a("body")),parseInt(d.css("fontSize"),10)||parseInt(c.css("fontSize"),10)||16},getPageHeight:function(b){return a(b).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})},"function"==typeof i.define&&i.define.amd?i.define("jquery-mousewheel",["jquery"],y):"object"==typeof exports?module.exports=y:y(a),i.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(a,b,c,d,e){if(null==a.fn.select2){var f=["open","close","destroy"];a.fn.select2=function(b){if("object"==typeof(b=b||{}))return this.each(function(){var d=a.extend(!0,{},b);new c(a(this),d)}),this;if("string"!=typeof b)throw new Error("Invalid arguments for Select2: "+b);var d,g=Array.prototype.slice.call(arguments,1);return this.each(function(){var a=e.GetData(this,"select2");null==a&&window.console&&console.error&&console.error("The select2('"+b+"') method was called on an element that is not using Select2."),d=a[b].apply(a,g)}),-1<a.inArray(b,f)?this:d}}return null==a.fn.select2.defaults&&(a.fn.select2.defaults=d),c}),{define:i.define,require:i.require}}(),c=b.require("jquery.select2");return a.fn.select2.amd=b,c}),!function(a){"undefined"!=typeof jQuery&&jQuery||"function"!=typeof define||!define.amd?"undefined"!=typeof jQuery&&jQuery||"object"!=typeof exports?a(jQuery,document,window,navigator):a(require("jquery"),document,window,navigator):define(["jquery"],function(b){return a(b,document,window,navigator)})}(function(a,b,c,d,e){"use strict";function f(d,f,g){this.VERSION="2.3.1",this.input=d,this.plugin_count=g,this.current_plugin=0,this.calc_count=0,this.update_tm=0,this.old_from=0,this.old_to=0,this.old_min_interval=null,this.raf_id=null,this.dragging=!1,this.force_redraw=!1,this.no_diapason=!1,this.has_tab_index=!0,this.is_key=!1,this.is_update=!1,this.is_start=!0,this.is_finish=!1,this.is_active=!1,this.is_resize=!1,this.is_click=!1,f=f||{},this.$cache={win:a(c),body:a(b.body),input:a(d),cont:null,rs:null,min:null,max:null,from:null,to:null,single:null,bar:null,line:null,s_single:null,s_from:null,s_to:null,shad_single:null,shad_from:null,shad_to:null,edge:null,grid:null,grid_labels:[]},this.coords={x_gap:0,x_pointer:0,w_rs:0,w_rs_old:0,w_handle:0,p_gap:0,p_gap_left:0,p_gap_right:0,p_step:0,p_pointer:0,p_handle:0,p_single_fake:0,p_single_real:0,p_from_fake:0,p_from_real:0,p_to_fake:0,p_to_real:0,p_bar_x:0,p_bar_w:0,grid_gap:0,big_num:0,big:[],big_w:[],big_p:[],big_x:[]},this.labels={w_min:0,w_max:0,w_from:0,w_to:0,w_single:0,p_min:0,p_max:0,p_from_fake:0,p_from_left:0,p_to_fake:0,p_to_left:0,p_single_fake:0,p_single_left:0};var h,i,j,k=this.$cache.input,l=k.prop("value");for(j in h={skin:"flat",type:"single",min:10,max:100,from:null,to:null,step:1,min_interval:0,max_interval:0,drag_interval:!1,values:[],p_values:[],from_fixed:!1,from_min:null,from_max:null,from_shadow:!1,to_fixed:!1,to_min:null,to_max:null,to_shadow:!1,prettify_enabled:!0,prettify_separator:" ",prettify:null,force_edges:!1,keyboard:!0,grid:!1,grid_margin:!0,grid_num:4,grid_snap:!1,hide_min_max:!1,hide_from_to:!1,prefix:"",postfix:"",max_postfix:"",decorate_both:!0,values_separator:" — ",input_values_separator:";",disable:!1,block:!1,extra_classes:"",scope:null,onStart:null,onChange:null,onFinish:null,onUpdate:null},"INPUT"!==k[0].nodeName&&console&&console.warn&&console.warn("Base element should be <input>!",k[0]),(i={skin:k.data("skin"),type:k.data("type"),min:k.data("min"),max:k.data("max"),from:k.data("from"),to:k.data("to"),step:k.data("step"),min_interval:k.data("minInterval"),max_interval:k.data("maxInterval"),drag_interval:k.data("dragInterval"),values:k.data("values"),from_fixed:k.data("fromFixed"),from_min:k.data("fromMin"),from_max:k.data("fromMax"),from_shadow:k.data("fromShadow"),to_fixed:k.data("toFixed"),to_min:k.data("toMin"),to_max:k.data("toMax"),to_shadow:k.data("toShadow"),prettify_enabled:k.data("prettifyEnabled"),prettify_separator:k.data("prettifySeparator"),force_edges:k.data("forceEdges"),keyboard:k.data("keyboard"),grid:k.data("grid"),grid_margin:k.data("gridMargin"),grid_num:k.data("gridNum"),grid_snap:k.data("gridSnap"),hide_min_max:k.data("hideMinMax"),hide_from_to:k.data("hideFromTo"),prefix:k.data("prefix"),postfix:k.data("postfix"),max_postfix:k.data("maxPostfix"),decorate_both:k.data("decorateBoth"),values_separator:k.data("valuesSeparator"),input_values_separator:k.data("inputValuesSeparator"),disable:k.data("disable"),block:k.data("block"),extra_classes:k.data("extraClasses")}).values=i.values&&i.values.split(","),i)i.hasOwnProperty(j)&&(i[j]!==e&&""!==i[j]||delete i[j]);l!==e&&""!==l&&((l=l.split(i.input_values_separator||f.input_values_separator||";"))[0]&&l[0]==+l[0]&&(l[0]=+l[0]),l[1]&&l[1]==+l[1]&&(l[1]=+l[1]),f&&f.values&&f.values.length?(h.from=l[0]&&f.values.indexOf(l[0]),h.to=l[1]&&f.values.indexOf(l[1])):(h.from=l[0]&&+l[0],h.to=l[1]&&+l[1])),a.extend(h,f),a.extend(h,i),this.options=h,this.update_check={},this.validate(),this.result={input:this.$cache.input,slider:null,min:this.options.min,
8
  max:this.options.max,from:this.options.from,from_percent:0,from_value:null,to:this.options.to,to_percent:0,to_value:null},this.init()}var g,h,i=0,j=(g=d.userAgent,h=/msie\s\d+/i,0<g.search(h)&&h.exec(g).toString().split(" ")[1]<9&&(a("html").addClass("lt-ie9"),!0));Function.prototype.bind||(Function.prototype.bind=function(a){var b=this,c=[].slice;if("function"!=typeof b)throw new TypeError;var d=c.call(arguments,1),e=function(){if(this instanceof e){var f=function(){};f.prototype=b.prototype;var g=new f,h=b.apply(g,d.concat(c.call(arguments)));return Object(h)===h?h:g}return b.apply(a,d.concat(c.call(arguments)))};return e}),Array.prototype.indexOf||(Array.prototype.indexOf=function(a,b){var c;if(null==this)throw new TypeError('"this" is null or not defined');var d=Object(this),e=d.length>>>0;if(0==e)return-1;var f=+b||0;if(Math.abs(f)===1/0&&(f=0),e<=f)return-1;for(c=Math.max(0<=f?f:e-Math.abs(f),0);c<e;){if(c in d&&d[c]===a)return c;c++}return-1}),f.prototype={init:function(a){this.no_diapason=!1,this.coords.p_step=this.convertToPercent(this.options.step,!0),this.target="base",this.toggleInput(),this.append(),this.setMinMax(),a?(this.force_redraw=!0,this.calc(!0),this.callOnUpdate()):(this.force_redraw=!0,this.calc(!0),this.callOnStart()),this.updateScene()},append:function(){var a='<span class="irs irs--'+this.options.skin+" js-irs-"+this.plugin_count+" "+this.options.extra_classes+'"></span>';this.$cache.input.before(a),this.$cache.input.prop("readonly",!0),this.$cache.cont=this.$cache.input.prev(),this.result.slider=this.$cache.cont,this.$cache.cont.html('<span class="irs"><span class="irs-line" tabindex="0"></span><span class="irs-min">0</span><span class="irs-max">1</span><span class="irs-from">0</span><span class="irs-to">0</span><span class="irs-single">0</span></span><span class="irs-grid"></span>'),this.$cache.rs=this.$cache.cont.find(".irs"),this.$cache.min=this.$cache.cont.find(".irs-min"),this.$cache.max=this.$cache.cont.find(".irs-max"),this.$cache.from=this.$cache.cont.find(".irs-from"),this.$cache.to=this.$cache.cont.find(".irs-to"),this.$cache.single=this.$cache.cont.find(".irs-single"),this.$cache.line=this.$cache.cont.find(".irs-line"),this.$cache.grid=this.$cache.cont.find(".irs-grid"),"single"===this.options.type?(this.$cache.cont.append('<span class="irs-bar irs-bar--single"></span><span class="irs-shadow shadow-single"></span><span class="irs-handle single"><i></i><i></i><i></i></span>'),this.$cache.bar=this.$cache.cont.find(".irs-bar"),this.$cache.edge=this.$cache.cont.find(".irs-bar-edge"),this.$cache.s_single=this.$cache.cont.find(".single"),this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.shad_single=this.$cache.cont.find(".shadow-single")):(this.$cache.cont.append('<span class="irs-bar"></span><span class="irs-shadow shadow-from"></span><span class="irs-shadow shadow-to"></span><span class="irs-handle from"><i></i><i></i><i></i></span><span class="irs-handle to"><i></i><i></i><i></i></span>'),this.$cache.bar=this.$cache.cont.find(".irs-bar"),this.$cache.s_from=this.$cache.cont.find(".from"),this.$cache.s_to=this.$cache.cont.find(".to"),this.$cache.shad_from=this.$cache.cont.find(".shadow-from"),this.$cache.shad_to=this.$cache.cont.find(".shadow-to"),this.setTopHandler()),this.options.hide_from_to&&(this.$cache.from[0].style.display="none",this.$cache.to[0].style.display="none",this.$cache.single[0].style.display="none"),this.appendGrid(),this.options.disable?(this.appendDisableMask(),this.$cache.input[0].disabled=!0):(this.$cache.input[0].disabled=!1,this.removeDisableMask(),this.bindEvents()),this.options.disable||(this.options.block?this.appendDisableMask():this.removeDisableMask()),this.options.drag_interval&&(this.$cache.bar[0].style.cursor="ew-resize")},setTopHandler:function(){var a=this.options.min,b=this.options.max,c=this.options.from,d=this.options.to;a<c&&d===b?this.$cache.s_from.addClass("type_last"):d<b&&this.$cache.s_to.addClass("type_last")},changeLevel:function(a){switch(a){case"single":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_single_fake),this.$cache.s_single.addClass("state_hover");break;case"from":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_from_fake),this.$cache.s_from.addClass("state_hover"),this.$cache.s_from.addClass("type_last"),this.$cache.s_to.removeClass("type_last");break;case"to":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_to_fake),this.$cache.s_to.addClass("state_hover"),this.$cache.s_to.addClass("type_last"),this.$cache.s_from.removeClass("type_last");break;case"both":this.coords.p_gap_left=this.toFixed(this.coords.p_pointer-this.coords.p_from_fake),this.coords.p_gap_right=this.toFixed(this.coords.p_to_fake-this.coords.p_pointer),this.$cache.s_to.removeClass("type_last"),this.$cache.s_from.removeClass("type_last")}},appendDisableMask:function(){this.$cache.cont.append('<span class="irs-disable-mask"></span>'),this.$cache.cont.addClass("irs-disabled")},removeDisableMask:function(){this.$cache.cont.remove(".irs-disable-mask"),this.$cache.cont.removeClass("irs-disabled")},remove:function(){this.$cache.cont.remove(),this.$cache.cont=null,this.$cache.line.off("keydown.irs_"+this.plugin_count),this.$cache.body.off("touchmove.irs_"+this.plugin_count),this.$cache.body.off("mousemove.irs_"+this.plugin_count),this.$cache.win.off("touchend.irs_"+this.plugin_count),this.$cache.win.off("mouseup.irs_"+this.plugin_count),j&&(this.$cache.body.off("mouseup.irs_"+this.plugin_count),this.$cache.body.off("mouseleave.irs_"+this.plugin_count)),this.$cache.grid_labels=[],this.coords.big=[],this.coords.big_w=[],this.coords.big_p=[],this.coords.big_x=[],cancelAnimationFrame(this.raf_id)},bindEvents:function(){this.no_diapason||(this.$cache.body.on("touchmove.irs_"+this.plugin_count,this.pointerMove.bind(this)),this.$cache.body.on("mousemove.irs_"+this.plugin_count,this.pointerMove.bind(this)),this.$cache.win.on("touchend.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.win.on("mouseup.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.line.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.line.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.line.on("focus.irs_"+this.plugin_count,this.pointerFocus.bind(this)),this.options.drag_interval&&"double"===this.options.type?(this.$cache.bar.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"both")),this.$cache.bar.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"both"))):(this.$cache.bar.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.bar.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))),"single"===this.options.type?(this.$cache.single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.s_single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.shad_single.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.s_single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.edge.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_single.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))):(this.$cache.single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,null)),this.$cache.single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,null)),this.$cache.from.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.s_from.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.to.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.s_to.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.shad_from.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_to.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.from.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.s_from.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.to.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.s_to.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.shad_from.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_to.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))),this.options.keyboard&&this.$cache.line.on("keydown.irs_"+this.plugin_count,this.key.bind(this,"keyboard")),j&&(this.$cache.body.on("mouseup.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.body.on("mouseleave.irs_"+this.plugin_count,this.pointerUp.bind(this))))},pointerFocus:function(a){var b,c;this.target||(b=(c="single"===this.options.type?this.$cache.single:this.$cache.from).offset().left,b+=c.width()/2-1,this.pointerClick("single",{preventDefault:function(){},pageX:b}))},pointerMove:function(a){if(this.dragging){var b=a.pageX||a.originalEvent.touches&&a.originalEvent.touches[0].pageX;this.coords.x_pointer=b-this.coords.x_gap,this.calc()}},pointerUp:function(b){this.current_plugin===this.plugin_count&&this.is_active&&(this.is_active=!1,this.$cache.cont.find(".state_hover").removeClass("state_hover"),this.force_redraw=!0,j&&a("*").prop("unselectable",!1),this.updateScene(),this.restoreOriginalMinInterval(),(a.contains(this.$cache.cont[0],b.target)||this.dragging)&&this.callOnFinish(),this.dragging=!1)},pointerDown:function(b,c){c.preventDefault();var d=c.pageX||c.originalEvent.touches&&c.originalEvent.touches[0].pageX;2!==c.button&&("both"===b&&this.setTempMinInterval(),b=b||this.target||"from",this.current_plugin=this.plugin_count,this.target=b,this.is_active=!0,this.dragging=!0,this.coords.x_gap=this.$cache.rs.offset().left,this.coords.x_pointer=d-this.coords.x_gap,this.calcPointerPercent(),this.changeLevel(b),j&&a("*").prop("unselectable",!0),this.$cache.line.trigger("focus"),this.updateScene())},pointerClick:function(a,b){b.preventDefault();var c=b.pageX||b.originalEvent.touches&&b.originalEvent.touches[0].pageX;2!==b.button&&(this.current_plugin=this.plugin_count,this.target=a,this.is_click=!0,this.coords.x_gap=this.$cache.rs.offset().left,this.coords.x_pointer=+(c-this.coords.x_gap).toFixed(),this.force_redraw=!0,this.calc(),this.$cache.line.trigger("focus"))},key:function(a,b){if(!(this.current_plugin!==this.plugin_count||b.altKey||b.ctrlKey||b.shiftKey||b.metaKey)){switch(b.which){case 83:case 65:case 40:case 37:b.preventDefault(),this.moveByKey(!1);break;case 87:case 68:case 38:case 39:b.preventDefault(),this.moveByKey(!0)}return!0}},moveByKey:function(a){var b=this.coords.p_pointer,c=(this.options.max-this.options.min)/100;c=this.options.step/c,a?b+=c:b-=c,this.coords.x_pointer=this.toFixed(this.coords.w_rs/100*b),this.is_key=!0,this.calc()},setMinMax:function(){if(this.options){if(this.options.hide_min_max)return this.$cache.min[0].style.display="none",void(this.$cache.max[0].style.display="none");if(this.options.values.length)this.$cache.min.html(this.decorate(this.options.p_values[this.options.min])),this.$cache.max.html(this.decorate(this.options.p_values[this.options.max]));else{var a=this._prettify(this.options.min),b=this._prettify(this.options.max);this.result.min_pretty=a,this.result.max_pretty=b,this.$cache.min.html(this.decorate(a,this.options.min)),this.$cache.max.html(this.decorate(b,this.options.max))}this.labels.w_min=this.$cache.min.outerWidth(!1),this.labels.w_max=this.$cache.max.outerWidth(!1)}},setTempMinInterval:function(){var a=this.result.to-this.result.from;null===this.old_min_interval&&(this.old_min_interval=this.options.min_interval),this.options.min_interval=a},restoreOriginalMinInterval:function(){null!==this.old_min_interval&&(this.options.min_interval=this.old_min_interval,this.old_min_interval=null)},calc:function(a){if(this.options&&(this.calc_count++,10!==this.calc_count&&!a||(this.calc_count=0,this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.calcHandlePercent()),this.coords.w_rs)){this.calcPointerPercent();var b=this.getHandleX();switch("both"===this.target&&(this.coords.p_gap=0,b=this.getHandleX()),"click"===this.target&&(this.coords.p_gap=this.coords.p_handle/2,b=this.getHandleX(),this.options.drag_interval?this.target="both_one":this.target=this.chooseHandle(b)),this.target){case"base":var c=(this.options.max-this.options.min)/100,d=(this.result.from-this.options.min)/c,e=(this.result.to-this.options.min)/c;this.coords.p_single_real=this.toFixed(d),this.coords.p_from_real=this.toFixed(d),this.coords.p_to_real=this.toFixed(e),this.coords.p_single_real=this.checkDiapason(this.coords.p_single_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_single_fake=this.convertToFakePercent(this.coords.p_single_real),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real),this.target=null;break;case"single":if(this.options.from_fixed)break;this.coords.p_single_real=this.convertToRealPercent(b),this.coords.p_single_real=this.calcWithStep(this.coords.p_single_real),this.coords.p_single_real=this.checkDiapason(this.coords.p_single_real,this.options.from_min,this.options.from_max),this.coords.p_single_fake=this.convertToFakePercent(this.coords.p_single_real);break;case"from":if(this.options.from_fixed)break;this.coords.p_from_real=this.convertToRealPercent(b),this.coords.p_from_real=this.calcWithStep(this.coords.p_from_real),this.coords.p_from_real>this.coords.p_to_real&&(this.coords.p_from_real=this.coords.p_to_real),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkMinInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_real=this.checkMaxInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real);break;case"to":if(this.options.to_fixed)break;this.coords.p_to_real=this.convertToRealPercent(b),this.coords.p_to_real=this.calcWithStep(this.coords.p_to_real),this.coords.p_to_real<this.coords.p_from_real&&(this.coords.p_to_real=this.coords.p_from_real),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_real=this.checkMinInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_real=this.checkMaxInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real);break;case"both":if(this.options.from_fixed||this.options.to_fixed)break;b=this.toFixed(b+.001*this.coords.p_handle),this.coords.p_from_real=this.convertToRealPercent(b)-this.coords.p_gap_left,this.coords.p_from_real=this.calcWithStep(this.coords.p_from_real),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkMinInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_real=this.convertToRealPercent(b)+this.coords.p_gap_right,this.coords.p_to_real=this.calcWithStep(this.coords.p_to_real),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_real=this.checkMinInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real);break;case"both_one":if(this.options.from_fixed||this.options.to_fixed)break;var f=this.convertToRealPercent(b),g=this.result.from_percent,h=this.result.to_percent-g,i=h/2,j=f-i,k=f+i;j<0&&(k=(j=0)+h),100<k&&(j=(k=100)-h),this.coords.p_from_real=this.calcWithStep(j),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_real=this.calcWithStep(k),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real)}"single"===this.options.type?(this.coords.p_bar_x=this.coords.p_handle/2,this.coords.p_bar_w=this.coords.p_single_fake,this.result.from_percent=this.coords.p_single_real,this.result.from=this.convertToValue(this.coords.p_single_real),this.result.from_pretty=this._prettify(this.result.from),this.options.values.length&&(this.result.from_value=this.options.values[this.result.from])):(this.coords.p_bar_x=this.toFixed(this.coords.p_from_fake+this.coords.p_handle/2),this.coords.p_bar_w=this.toFixed(this.coords.p_to_fake-this.coords.p_from_fake),this.result.from_percent=this.coords.p_from_real,this.result.from=this.convertToValue(this.coords.p_from_real),this.result.from_pretty=this._prettify(this.result.from),this.result.to_percent=this.coords.p_to_real,this.result.to=this.convertToValue(this.coords.p_to_real),this.result.to_pretty=this._prettify(this.result.to),this.options.values.length&&(this.result.from_value=this.options.values[this.result.from],this.result.to_value=this.options.values[this.result.to])),this.calcMinMax(),this.calcLabels()}},calcPointerPercent:function(){this.coords.w_rs?(this.coords.x_pointer<0||isNaN(this.coords.x_pointer)?this.coords.x_pointer=0:this.coords.x_pointer>this.coords.w_rs&&(this.coords.x_pointer=this.coords.w_rs),this.coords.p_pointer=this.toFixed(this.coords.x_pointer/this.coords.w_rs*100)):this.coords.p_pointer=0},convertToRealPercent:function(a){return a/(100-this.coords.p_handle)*100},convertToFakePercent:function(a){return a/100*(100-this.coords.p_handle)},getHandleX:function(){var a=100-this.coords.p_handle,b=this.toFixed(this.coords.p_pointer-this.coords.p_gap);return b<0?b=0:a<b&&(b=a),b},calcHandlePercent:function(){"single"===this.options.type?this.coords.w_handle=this.$cache.s_single.outerWidth(!1):this.coords.w_handle=this.$cache.s_from.outerWidth(!1),this.coords.p_handle=this.toFixed(this.coords.w_handle/this.coords.w_rs*100)},chooseHandle:function(a){return"single"===this.options.type?"single":this.coords.p_from_real+(this.coords.p_to_real-this.coords.p_from_real)/2<=a?this.options.to_fixed?"from":"to":this.options.from_fixed?"to":"from"},calcMinMax:function(){this.coords.w_rs&&(this.labels.p_min=this.labels.w_min/this.coords.w_rs*100,this.labels.p_max=this.labels.w_max/this.coords.w_rs*100)},calcLabels:function(){this.coords.w_rs&&!this.options.hide_from_to&&("single"===this.options.type?(this.labels.w_single=this.$cache.single.outerWidth(!1),this.labels.p_single_fake=this.labels.w_single/this.coords.w_rs*100,this.labels.p_single_left=this.coords.p_single_fake+this.coords.p_handle/2-this.labels.p_single_fake/2):(this.labels.w_from=this.$cache.from.outerWidth(!1),this.labels.p_from_fake=this.labels.w_from/this.coords.w_rs*100,this.labels.p_from_left=this.coords.p_from_fake+this.coords.p_handle/2-this.labels.p_from_fake/2,this.labels.p_from_left=this.toFixed(this.labels.p_from_left),this.labels.p_from_left=this.checkEdges(this.labels.p_from_left,this.labels.p_from_fake),this.labels.w_to=this.$cache.to.outerWidth(!1),this.labels.p_to_fake=this.labels.w_to/this.coords.w_rs*100,this.labels.p_to_left=this.coords.p_to_fake+this.coords.p_handle/2-this.labels.p_to_fake/2,this.labels.p_to_left=this.toFixed(this.labels.p_to_left),this.labels.p_to_left=this.checkEdges(this.labels.p_to_left,this.labels.p_to_fake),this.labels.w_single=this.$cache.single.outerWidth(!1),this.labels.p_single_fake=this.labels.w_single/this.coords.w_rs*100,this.labels.p_single_left=(this.labels.p_from_left+this.labels.p_to_left+this.labels.p_to_fake)/2-this.labels.p_single_fake/2,this.labels.p_single_left=this.toFixed(this.labels.p_single_left)),this.labels.p_single_left=this.checkEdges(this.labels.p_single_left,this.labels.p_single_fake))},updateScene:function(){this.raf_id&&(cancelAnimationFrame(this.raf_id),this.raf_id=null),clearTimeout(this.update_tm),this.update_tm=null,this.options&&(this.drawHandles(),this.is_active?this.raf_id=requestAnimationFrame(this.updateScene.bind(this)):this.update_tm=setTimeout(this.updateScene.bind(this),300))},drawHandles:function(){this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.coords.w_rs&&(this.coords.w_rs!==this.coords.w_rs_old&&(this.target="base",this.is_resize=!0),this.coords.w_rs===this.coords.w_rs_old&&!this.force_redraw||(this.setMinMax(),this.calc(!0),this.drawLabels(),this.options.grid&&(this.calcGridMargin(),this.calcGridLabels()),this.force_redraw=!0,this.coords.w_rs_old=this.coords.w_rs,this.drawShadow()),this.coords.w_rs&&(this.dragging||this.force_redraw||this.is_key)&&((this.old_from!==this.result.from||this.old_to!==this.result.to||this.force_redraw||this.is_key)&&(this.drawLabels(),this.$cache.bar[0].style.left=this.coords.p_bar_x+"%",this.$cache.bar[0].style.width=this.coords.p_bar_w+"%","single"===this.options.type?(this.$cache.bar[0].style.left=0,this.$cache.bar[0].style.width=this.coords.p_bar_w+this.coords.p_bar_x+"%",this.$cache.s_single[0].style.left=this.coords.p_single_fake+"%"):(this.$cache.s_from[0].style.left=this.coords.p_from_fake+"%",this.$cache.s_to[0].style.left=this.coords.p_to_fake+"%",this.old_from===this.result.from&&!this.force_redraw||(this.$cache.from[0].style.left=this.labels.p_from_left+"%"),this.old_to===this.result.to&&!this.force_redraw||(this.$cache.to[0].style.left=this.labels.p_to_left+"%")),this.$cache.single[0].style.left=this.labels.p_single_left+"%",this.writeToInput(),this.old_from===this.result.from&&this.old_to===this.result.to||this.is_start||(this.$cache.input.trigger("change"),this.$cache.input.trigger("input")),this.old_from=this.result.from,this.old_to=this.result.to,this.is_resize||this.is_update||this.is_start||this.is_finish||this.callOnChange(),(this.is_key||this.is_click)&&(this.is_key=!1,this.is_click=!1,this.callOnFinish()),this.is_update=!1,this.is_resize=!1,this.is_finish=!1),this.is_start=!1,this.is_key=!1,this.is_click=!1,this.force_redraw=!1))},drawLabels:function(){if(this.options){var a,b,c,d,e,f=this.options.values.length,g=this.options.p_values;if(!this.options.hide_from_to)if("single"===this.options.type)a=f?this.decorate(g[this.result.from]):(d=this._prettify(this.result.from),this.decorate(d,this.result.from)),this.$cache.single.html(a),this.calcLabels(),this.labels.p_single_left<this.labels.p_min+1?this.$cache.min[0].style.visibility="hidden":this.$cache.min[0].style.visibility="visible",this.labels.p_single_left+this.labels.p_single_fake>100-this.labels.p_max-1?this.$cache.max[0].style.visibility="hidden":this.$cache.max[0].style.visibility="visible";else{c=f?(this.options.decorate_both?(a=this.decorate(g[this.result.from]),a+=this.options.values_separator,a+=this.decorate(g[this.result.to])):a=this.decorate(g[this.result.from]+this.options.values_separator+g[this.result.to]),b=this.decorate(g[this.result.from]),this.decorate(g[this.result.to])):(d=this._prettify(this.result.from),e=this._prettify(this.result.to),this.options.decorate_both?(a=this.decorate(d,this.result.from),a+=this.options.values_separator,a+=this.decorate(e,this.result.to)):a=this.decorate(d+this.options.values_separator+e,this.result.to),b=this.decorate(d,this.result.from),this.decorate(e,this.result.to)),this.$cache.single.html(a),this.$cache.from.html(b),this.$cache.to.html(c),this.calcLabels();var h=Math.min(this.labels.p_single_left,this.labels.p_from_left),i=this.labels.p_single_left+this.labels.p_single_fake,j=this.labels.p_to_left+this.labels.p_to_fake,k=Math.max(i,j);this.labels.p_from_left+this.labels.p_from_fake>=this.labels.p_to_left?(this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.single[0].style.visibility="visible",k=this.result.from===this.result.to?("from"===this.target?this.$cache.from[0].style.visibility="visible":"to"===this.target?this.$cache.to[0].style.visibility="visible":this.target||(this.$cache.from[0].style.visibility="visible"),this.$cache.single[0].style.visibility="hidden",j):(this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.single[0].style.visibility="visible",Math.max(i,j))):(this.$cache.from[0].style.visibility="visible",this.$cache.to[0].style.visibility="visible",this.$cache.single[0].style.visibility="hidden"),h<this.labels.p_min+1?this.$cache.min[0].style.visibility="hidden":this.$cache.min[0].style.visibility="visible",k>100-this.labels.p_max-1?this.$cache.max[0].style.visibility="hidden":this.$cache.max[0].style.visibility="visible"}}},drawShadow:function(){var a,b,c,d,e=this.options,f=this.$cache,g="number"==typeof e.from_min&&!isNaN(e.from_min),h="number"==typeof e.from_max&&!isNaN(e.from_max),i="number"==typeof e.to_min&&!isNaN(e.to_min),j="number"==typeof e.to_max&&!isNaN(e.to_max);"single"===e.type?e.from_shadow&&(g||h)?(a=this.convertToPercent(g?e.from_min:e.min),b=this.convertToPercent(h?e.from_max:e.max)-a,a=this.toFixed(a-this.coords.p_handle/100*a),b=this.toFixed(b-this.coords.p_handle/100*b),a+=this.coords.p_handle/2,f.shad_single[0].style.display="block",f.shad_single[0].style.left=a+"%",f.shad_single[0].style.width=b+"%"):f.shad_single[0].style.display="none":(e.from_shadow&&(g||h)?(a=this.convertToPercent(g?e.from_min:e.min),b=this.convertToPercent(h?e.from_max:e.max)-a,a=this.toFixed(a-this.coords.p_handle/100*a),b=this.toFixed(b-this.coords.p_handle/100*b),a+=this.coords.p_handle/2,f.shad_from[0].style.display="block",f.shad_from[0].style.left=a+"%",f.shad_from[0].style.width=b+"%"):f.shad_from[0].style.display="none",e.to_shadow&&(i||j)?(c=this.convertToPercent(i?e.to_min:e.min),d=this.convertToPercent(j?e.to_max:e.max)-c,c=this.toFixed(c-this.coords.p_handle/100*c),d=this.toFixed(d-this.coords.p_handle/100*d),c+=this.coords.p_handle/2,f.shad_to[0].style.display="block",f.shad_to[0].style.left=c+"%",f.shad_to[0].style.width=d+"%"):f.shad_to[0].style.display="none")},writeToInput:function(){"single"===this.options.type?(this.options.values.length?this.$cache.input.prop("value",this.result.from_value):this.$cache.input.prop("value",this.result.from),this.$cache.input.data("from",this.result.from)):(this.options.values.length?this.$cache.input.prop("value",this.result.from_value+this.options.input_values_separator+this.result.to_value):this.$cache.input.prop("value",this.result.from+this.options.input_values_separator+this.result.to),this.$cache.input.data("from",this.result.from),this.$cache.input.data("to",this.result.to))},callOnStart:function(){this.writeToInput(),this.options.onStart&&"function"==typeof this.options.onStart&&(this.options.scope?this.options.onStart.call(this.options.scope,this.result):this.options.onStart(this.result))},callOnChange:function(){this.writeToInput(),this.options.onChange&&"function"==typeof this.options.onChange&&(this.options.scope?this.options.onChange.call(this.options.scope,this.result):this.options.onChange(this.result))},callOnFinish:function(){this.writeToInput(),this.options.onFinish&&"function"==typeof this.options.onFinish&&(this.options.scope?this.options.onFinish.call(this.options.scope,this.result):this.options.onFinish(this.result))},callOnUpdate:function(){this.writeToInput(),this.options.onUpdate&&"function"==typeof this.options.onUpdate&&(this.options.scope?this.options.onUpdate.call(this.options.scope,this.result):this.options.onUpdate(this.result))},toggleInput:function(){this.$cache.input.toggleClass("irs-hidden-input"),this.has_tab_index?this.$cache.input.prop("tabindex",-1):this.$cache.input.removeProp("tabindex"),this.has_tab_index=!this.has_tab_index},convertToPercent:function(a,b){var c,d=this.options.max-this.options.min,e=d/100;return d?(c=(b?a:a-this.options.min)/e,this.toFixed(c)):(this.no_diapason=!0,0)},convertToValue:function(a){var b,c,d=this.options.min,e=this.options.max,f=d.toString().split(".")[1],g=e.toString().split(".")[1],h=0,i=0;if(0===a)return this.options.min;if(100===a)return this.options.max;f&&(h=b=f.length),g&&(h=c=g.length),b&&c&&(h=c<=b?b:c),d<0&&(d=+(d+(i=Math.abs(d))).toFixed(h),e=+(e+i).toFixed(h));var j,k=(e-d)/100*a+d,l=this.options.step.toString().split(".")[1];return k=l?+k.toFixed(l.length):(k/=this.options.step,+(k*=this.options.step).toFixed(0)),i&&(k-=i),(j=l?+k.toFixed(l.length):this.toFixed(k))<this.options.min?j=this.options.min:j>this.options.max&&(j=this.options.max),j},calcWithStep:function(a){var b=Math.round(a/this.coords.p_step)*this.coords.p_step;return 100<b&&(b=100),100===a&&(b=100),this.toFixed(b)},checkMinInterval:function(a,b,c){var d,e,f=this.options;return f.min_interval?(d=this.convertToValue(a),e=this.convertToValue(b),"from"===c?e-d<f.min_interval&&(d=e-f.min_interval):d-e<f.min_interval&&(d=e+f.min_interval),this.convertToPercent(d)):a},checkMaxInterval:function(a,b,c){var d,e,f=this.options;return f.max_interval?(d=this.convertToValue(a),e=this.convertToValue(b),"from"===c?e-d>f.max_interval&&(d=e-f.max_interval):d-e>f.max_interval&&(d=e+f.max_interval),this.convertToPercent(d)):a},checkDiapason:function(a,b,c){var d=this.convertToValue(a),e=this.options;return"number"!=typeof b&&(b=e.min),"number"!=typeof c&&(c=e.max),d<b&&(d=b),c<d&&(d=c),this.convertToPercent(d)},toFixed:function(a){return+(a=a.toFixed(20))},_prettify:function(a){return this.options.prettify_enabled?this.options.prettify&&"function"==typeof this.options.prettify?this.options.prettify(a):this.prettify(a):a},prettify:function(a){return a.toString().replace(/(\d{1,3}(?=(?:\d\d\d)+(?!\d)))/g,"$1"+this.options.prettify_separator)},checkEdges:function(a,b){return this.options.force_edges&&(a<0?a=0:100-b<a&&(a=100-b)),this.toFixed(a)},validate:function(){var a,b,c=this.options,d=this.result,e=c.values,f=e.length;if("string"==typeof c.min&&(c.min=+c.min),"string"==typeof c.max&&(c.max=+c.max),"string"==typeof c.from&&(c.from=+c.from),"string"==typeof c.to&&(c.to=+c.to),"string"==typeof c.step&&(c.step=+c.step),"string"==typeof c.from_min&&(c.from_min=+c.from_min),"string"==typeof c.from_max&&(c.from_max=+c.from_max),"string"==typeof c.to_min&&(c.to_min=+c.to_min),"string"==typeof c.to_max&&(c.to_max=+c.to_max),"string"==typeof c.grid_num&&(c.grid_num=+c.grid_num),c.max<c.min&&(c.max=c.min),f)for(c.p_values=[],c.min=0,c.max=f-1,c.step=1,c.grid_num=c.max,c.grid_snap=!0,b=0;b<f;b++)a=+e[b],a=isNaN(a)?e[b]:(e[b]=a,this._prettify(a)),c.p_values.push(a);"number"==typeof c.from&&!isNaN(c.from)||(c.from=c.min),"number"==typeof c.to&&!isNaN(c.to)||(c.to=c.max),"single"===c.type?(c.from<c.min&&(c.from=c.min),c.from>c.max&&(c.from=c.max)):(c.from<c.min&&(c.from=c.min),c.from>c.max&&(c.from=c.max),c.to<c.min&&(c.to=c.min),c.to>c.max&&(c.to=c.max),this.update_check.from&&(this.update_check.from!==c.from&&c.from>c.to&&(c.from=c.to),this.update_check.to!==c.to&&c.to<c.from&&(c.to=c.from)),c.from>c.to&&(c.from=c.to),c.to<c.from&&(c.to=c.from)),("number"!=typeof c.step||isNaN(c.step)||!c.step||c.step<0)&&(c.step=1),"number"==typeof c.from_min&&c.from<c.from_min&&(c.from=c.from_min),"number"==typeof c.from_max&&c.from>c.from_max&&(c.from=c.from_max),"number"==typeof c.to_min&&c.to<c.to_min&&(c.to=c.to_min),"number"==typeof c.to_max&&c.from>c.to_max&&(c.to=c.to_max),d&&(d.min!==c.min&&(d.min=c.min),d.max!==c.max&&(d.max=c.max),(d.from<d.min||d.from>d.max)&&(d.from=c.from),
9
- (d.to<d.min||d.to>d.max)&&(d.to=c.to)),("number"!=typeof c.min_interval||isNaN(c.min_interval)||!c.min_interval||c.min_interval<0)&&(c.min_interval=0),("number"!=typeof c.max_interval||isNaN(c.max_interval)||!c.max_interval||c.max_interval<0)&&(c.max_interval=0),c.min_interval&&c.min_interval>c.max-c.min&&(c.min_interval=c.max-c.min),c.max_interval&&c.max_interval>c.max-c.min&&(c.max_interval=c.max-c.min)},decorate:function(a,b){var c="",d=this.options;return d.prefix&&(c+=d.prefix),c+=a,d.max_postfix&&(d.values.length&&a===d.p_values[d.max]?(c+=d.max_postfix,d.postfix&&(c+=" ")):b===d.max&&(c+=d.max_postfix,d.postfix&&(c+=" "))),d.postfix&&(c+=d.postfix),c},updateFrom:function(){this.result.from=this.options.from,this.result.from_percent=this.convertToPercent(this.result.from),this.result.from_pretty=this._prettify(this.result.from),this.options.values&&(this.result.from_value=this.options.values[this.result.from])},updateTo:function(){this.result.to=this.options.to,this.result.to_percent=this.convertToPercent(this.result.to),this.result.to_pretty=this._prettify(this.result.to),this.options.values&&(this.result.to_value=this.options.values[this.result.to])},updateResult:function(){this.result.min=this.options.min,this.result.max=this.options.max,this.updateFrom(),this.updateTo()},appendGrid:function(){if(this.options.grid){var a,b,c,d,e,f,g=this.options,h=g.max-g.min,i=g.grid_num,j=0,k=4,l="";for(this.calcGridMargin(),g.grid_snap&&(i=h/g.step),50<i&&(i=50),c=this.toFixed(100/i),4<i&&(k=3),7<i&&(k=2),14<i&&(k=1),28<i&&(k=0),a=0;a<i+1;a++){for(d=k,100<(j=this.toFixed(c*a))&&(j=100),e=((this.coords.big[a]=j)-c*(a-1))/(d+1),b=1;b<=d&&0!==j;b++)l+='<span class="irs-grid-pol small" style="left: '+this.toFixed(j-e*b)+'%"></span>';l+='<span class="irs-grid-pol" style="left: '+j+'%"></span>',f=this.convertToValue(j),l+='<span class="irs-grid-text js-grid-text-'+a+'" style="left: '+j+'%">'+(f=g.values.length?g.p_values[f]:this._prettify(f))+"</span>"}this.coords.big_num=Math.ceil(i+1),this.$cache.cont.addClass("irs-with-grid"),this.$cache.grid.html(l),this.cacheGridLabels()}},cacheGridLabels:function(){var a,b,c=this.coords.big_num;for(b=0;b<c;b++)a=this.$cache.grid.find(".js-grid-text-"+b),this.$cache.grid_labels.push(a);this.calcGridLabels()},calcGridLabels:function(){var a,b,c=[],d=[],e=this.coords.big_num;for(a=0;a<e;a++)this.coords.big_w[a]=this.$cache.grid_labels[a].outerWidth(!1),this.coords.big_p[a]=this.toFixed(this.coords.big_w[a]/this.coords.w_rs*100),this.coords.big_x[a]=this.toFixed(this.coords.big_p[a]/2),c[a]=this.toFixed(this.coords.big[a]-this.coords.big_x[a]),d[a]=this.toFixed(c[a]+this.coords.big_p[a]);for(this.options.force_edges&&(c[0]<-this.coords.grid_gap&&(c[0]=-this.coords.grid_gap,d[0]=this.toFixed(c[0]+this.coords.big_p[0]),this.coords.big_x[0]=this.coords.grid_gap),d[e-1]>100+this.coords.grid_gap&&(d[e-1]=100+this.coords.grid_gap,c[e-1]=this.toFixed(d[e-1]-this.coords.big_p[e-1]),this.coords.big_x[e-1]=this.toFixed(this.coords.big_p[e-1]-this.coords.grid_gap))),this.calcGridCollision(2,c,d),this.calcGridCollision(4,c,d),a=0;a<e;a++)b=this.$cache.grid_labels[a][0],this.coords.big_x[a]!==Number.POSITIVE_INFINITY&&(b.style.marginLeft=-this.coords.big_x[a]+"%")},calcGridCollision:function(a,b,c){var d,e,f,g=this.coords.big_num;for(d=0;d<g&&!(g<=(e=d+a/2));d+=a)f=this.$cache.grid_labels[e][0],c[d]<=b[e]?f.style.visibility="visible":f.style.visibility="hidden"},calcGridMargin:function(){this.options.grid_margin&&(this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.coords.w_rs&&("single"===this.options.type?this.coords.w_handle=this.$cache.s_single.outerWidth(!1):this.coords.w_handle=this.$cache.s_from.outerWidth(!1),this.coords.p_handle=this.toFixed(this.coords.w_handle/this.coords.w_rs*100),this.coords.grid_gap=this.toFixed(this.coords.p_handle/2-.1),this.$cache.grid[0].style.width=this.toFixed(100-this.coords.p_handle)+"%",this.$cache.grid[0].style.left=this.coords.grid_gap+"%"))},update:function(b){this.input&&(this.is_update=!0,this.options.from=this.result.from,this.options.to=this.result.to,this.update_check.from=this.result.from,this.update_check.to=this.result.to,this.options=a.extend(this.options,b),this.validate(),this.updateResult(b),this.toggleInput(),this.remove(),this.init(!0))},reset:function(){this.input&&(this.updateResult(),this.update())},destroy:function(){this.input&&(this.toggleInput(),this.$cache.input.prop("readonly",!1),a.data(this.input,"ionRangeSlider",null),this.remove(),this.input=null,this.options=null)}},a.fn.ionRangeSlider=function(b){return this.each(function(){a.data(this,"ionRangeSlider")||a.data(this,"ionRangeSlider",new f(this,b,i++))})},function(){for(var a=0,b=["ms","moz","webkit","o"],d=0;d<b.length&&!c.requestAnimationFrame;++d)c.requestAnimationFrame=c[b[d]+"RequestAnimationFrame"],c.cancelAnimationFrame=c[b[d]+"CancelAnimationFrame"]||c[b[d]+"CancelRequestAnimationFrame"];c.requestAnimationFrame||(c.requestAnimationFrame=function(b,d){var e=(new Date).getTime(),f=Math.max(0,16-(e-a)),g=c.setTimeout(function(){b(e+f)},f);return a=e+f,g}),c.cancelAnimationFrame||(c.cancelAnimationFrame=function(a){clearTimeout(a)})}()});var berocket_filters={};berocket_add_filter("compat_filters_result_single",function(a){return"object"==typeof a&&"string"==typeof a.taxonomy&&"pa_"==a.taxonomy.substr(0,3)&&(a.taxonomy=a.taxonomy.substr(3)),a});var braapf_filter_blocked=!1,braapf_selected_filters=[],braapf_filtered_filters=[],braapf_filters_var,braapf_ajax_request,braapf_checkbox_same,braapf_update_products,braapf_grab_all,braapf_grab_single,braapf_compact_filters,braapf_compat_filters_to_string,braapf_build_url_from_urldata,braapf_glue_by_operator,braapf_ajax_load_from_url,braapf_ajax_load_from_url_request,braapf_init_load,braapf_remove_pages_from_url_data,braapf_filter_products_by_url,braapf_get_current_url_data,braapf_reset_buttons_hide;!function(a){function b(a){return berocket_remove_filter("ajax_load_from_url_beforeSend",b),a.setRequestHeader("X-Braapfdisable","1"),a}function c(a){return a.setRequestHeader("X-Braapf","1"),a}a(document).on("change",".bapf_sfilter.bapf_ckbox input[type=checkbox]",function(){var b=a(this).val(),c=a(this).parents(".bapf_sfilter").data("taxonomy"),d=a(this).prop("checked");braapf_checkbox_same(c,b,d),berocket_apply_filters("input_ckbox_changed",this,c,b,d);var e={element:"#"+a(this).attr("id"),parent:1,find:!1};berocket_apply_filters("filter_changed_element",e,a(this)),berocket_do_action("update_products","filter",a(this))}),braapf_checkbox_same=function(b,c,d){a('.bapf_sfilter[data-taxonomy="'+b+'"] input[value="'+c+'"]').prop("checked",d),a('.bapf_sfilter[data-taxonomy="'+b+'"]').length<a('.bapf_sfilter.bapf_ckbox[data-taxonomy="'+b+'"]').length&&berocket_throw_error("multiple_filters_for_same_taxonomy",b)},a(document).on("braapf_unselect",".bapf_ckbox",function(b,c){if("undefined"==typeof c&&(c=!1),0==c)var d=a(this).find("input[type=checkbox]");else var d=a(this).find('input[value="'+c.value+'"]');if(d.length>0){var e=d.val(),f=a(this).data("taxonomy");d.prop("checked",!1),braapf_checkbox_same(f,e,!1)}}),a(document).on("braapf_unselect_all",".bapf_ckbox",function(b,c){a(this).trigger("braapf_unselect",!1)}),a(document).on("click",".berocket_aapf_widget_update_button, .bapf_update",function(b){b.preventDefault(),berocket_do_action("update_products","update",a(this))}),a(document).on("click",".berocket_aapf_reset_button, .bapf_reset",function(b){b.preventDefault(),braapf_unselect_all(),berocket_do_action("update_products","reset_all",a(this))}),braapf_reset_buttons_hide=function(){"undefined"==typeof braapf_filtered_filters||braapf_filtered_filters.length<=0?a(".bapf_rst_nofltr").hide():a(".bapf_rst_nofltr").show();var b=!1;"undefined"!=typeof braapf_filtered_filters&&braapf_filtered_filters.length>0&&a.each(braapf_filtered_filters,function(a,c){if(c.values.length>0)return b=!0,!1}),b?a(".bapf_rst_sel").show():a(".bapf_rst_sel").hide()},berocket_add_filter("braapf_init",braapf_reset_buttons_hide,1500),berocket_add_filter("braapf_init_filtered_set",braapf_reset_buttons_hide,1500);var d=the_ajax_script.pagination_class;d=d.replace(","," a,"),d+=" a",a(document).on("click",d,function(c){c.preventDefault();var d=a(this).attr("href");d=decodeURI(d),braapf_change_url_history_api(d,{replace:the_ajax_script.seo_friendly_urls}),berocket_add_filter("ajax_load_from_url_beforeSend",b),braapf_ajax_load_from_url(d,{},berocket_apply_filters("ajax_load_from_pagination",{done:[braapf_replace_products,braapf_replace_pagination,braapf_replace_result_count,braapf_init_load]},d))}),the_ajax_script.control_sorting&&a(document).on("submit",the_ajax_script.ordering_class,function(b){b.preventDefault();var c=braapf_get_current_url_data();if(c=braapf_remove_pages_from_url_data(c),Array.isArray(c.queryargs)){var d=[];a.each(c.queryargs,function(a,b){"orderby"!=b.name&&d.push(b)}),c.queryargs=d}else c.queryargs=[];var e=a(this).serializeArray();Array.isArray(e)&&a.each(e,function(a,b){"paged"==b.name?c.page=parseInt(b.value):"orderby"==b.name?the_ajax_script.default_sorting!=b.value&&c.queryargs.push(b):c.queryargs.push(b)});var f=braapf_build_url_from_urldata(c);braapf_filter_products_by_url(f)}),braapf_get_url_with_filters_selected=function(){braapf_grab_all();var a=braapf_compact_filters(),b=berocket_apply_filters("braapf_filters_mask",the_ajax_script.url_mask),c=braapf_compat_filters_to_string(a,b,the_ajax_script.url_split),d=braapf_get_current_url_data();d.filter=c,d=braapf_remove_pages_from_url_data(d);var e=braapf_build_url_from_urldata(d);return e},braapf_update_products=function(b,c){"undefined"==typeof b&&(b="filter"),"undefined"==typeof c&&(c=!1),b=berocket_apply_filters("before_update_products_context",b,c);var d=braapf_get_url_with_filters_selected();berocket_apply_filters("apply_filters_to_page",0==a(".berocket_aapf_widget_update_button:visible, .bapf_update:visible").length||"filter"!=b,b,c,d)?(braapf_selected_filters_area_set(),braapf_filter_products_by_url(d)):berocket_apply_filters("apply_filters_to_page_partial",!1,b,c,d)&&braapf_ajax_load_from_url(d,{},berocket_apply_filters("ajax_load_from_filters_partial",{done:[braapf_replace_each_filter,braapf_init_load]},d,"partial"),"partial")},braapf_filter_products_by_url=function(b){berocket_apply_filters("page_has_products_holder",!a(the_ajax_script.products_holder_id).length,b)?location.href=b:(braapf_change_url_history_api(b,{replace:the_ajax_script.seo_friendly_urls}),braapf_ajax_load_from_url(b,{},berocket_apply_filters("ajax_load_from_filters",{done:[braapf_replace_products,braapf_replace_pagination,braapf_replace_result_count,braapf_replace_orderby,braapf_replace_each_filter,braapf_init_load,braapf_filtered_filters_set,braapf_update_url_history_api_from_current]},b,"default")))},braapf_update_url_history_api_from_current=function(){the_ajax_script.seo_friendly_urls&&(url_filtered=braapf_get_url_with_filters_selected(),history.replaceState(history.state,"BeRocket Rules",url_filtered))},braapf_grab_all=function(b){"undefined"==typeof b&&(b=!1);var c=[];if(b===!1)var d=a(".bapf_sfilter");else var d=a(b).find(".bapf_sfilter");return d.each(function(){var a=braapf_grab_single(this,c);a!==!1&&c.push(a)}),c=berocket_apply_filters("grab_all_filters",c,b),b===!1&&(braapf_selected_filters=c),c},braapf_grab_single=function(b,c){b=a(b);var d=!1,e=!1,f=b.data("taxonomy");if("undefined"==typeof f||!f)return berocket_apply_filters("grab_single_filter_taxonomy_undefined",d,b,c);if(a.each(c,function(a,b){b.taxonomy==f&&(e=!0)}),!berocket_apply_filters("grab_single_filter_exist",e,b,c)){if(d=berocket_apply_filters("grab_single_filter",d,b,c),d!==!1)return d;var g=b.data("op"),h=b.data("name");"undefined"==typeof h&&(h="");var i=braapf_glue_by_operator(g),j=[],k=[],l=a(".bapf_sfilter[data-taxonomy="+f+"]");l.find("input:checked:not(:disabled)").each(function(b,c){k.indexOf(a(this).val())==-1&&(j.push({value:a(this).val(),html:a(this).data("name")}),k.push(a(this).val()))}),d={name:h,taxonomy:f,values:j,glue:i,operator:g}}return berocket_apply_filters("grab_single_filter_default",d,b,c)},braapf_glue_by_operator=function(a){"string"!=typeof a&&(a="");var b="-";return"and"==a.toLowerCase()&&(b="+"),berocket_apply_filters("glue_by_operator",b,a)},braapf_compact_filters=function(b){"undefined"==typeof b&&(b=braapf_selected_filters);var c=[];return a.each(b,function(b,d){var e="";"undefined"!=typeof d.customValuesLine?e=d.customValuesLine:a.each(d.values,function(a,b){e.length&&(e+=d.glue),e+=b.value}),e.length&&c.push(berocket_apply_filters("compat_filters_result_single",{taxonomy:d.taxonomy,values:e},d))}),berocket_apply_filters("compat_filters_result",c,b)},braapf_compat_filters_to_string=function(b,c,d){var e="";return a.each(b,function(a,f){e.length&&(e+=d);var g=c;g=g.replace("%t%",f.taxonomy),g=g.replace("%v%",f.values),e+=berocket_apply_filters("compat_filters_to_string_single",g,f,b,c,d)}),berocket_apply_filters("compat_filters_to_string",e,b,c,d)},braapf_get_current_url_data=function(b){if("undefined"==typeof b)var c=location.href.split("#")[0].split("?")[0],d=location.search.substring(1);else{var c=b.split("#")[0].split("?")[0];if(b.split("#")[0].split("?").length>1)var d=b.split("#")[0].split("?")[1];else var d=""}var e=[],f=1,g=c.match(/\/page\/(\d+)/);return g&&"string"==typeof g[1]&&(f=parseInt(g[1]),c=c.replace(/\/page\/(\d+)/,"")),d=d.split("&"),a.each(d,function(a,b){b.length&&(d[a]=b.split("="),"paged"==d[a][0]?f=parseInt(d[a][1]):e.push({name:d[a][0],value:d[a][1]}))}),berocket_apply_filters("get_current_url_data",{baselink:c,queryargs:e,filter:"",page:f})},braapf_remove_pages_from_url_data=function(b){if(b.page=1,Array.isArray(b.queryargs)){var c=[];a.each(b.queryargs,function(a,b){"product-page"!=b.name&&c.push(b)}),b.queryargs=c}return b},braapf_build_url_from_urldata=function(b,c){"undefined"==typeof c&&(c=braapf_build_url_parameters_default());var d=berocket_apply_filters("url_from_urldata_baselink",b.baselink,b,c),e="";return b.queryargs.length&&a.each(b.queryargs,function(a,b){e.length&&(e+="&"),b.name.length&&(e+=b.name+"="+b.value)}),b.page&&b.page>1&&(e.length&&(e+="&"),e+="paged="+b.page),e.length&&(e="?"+e),d=berocket_apply_filters("url_from_urldata_linkget",d+e,b,c,d,e)},braapf_build_url_parameters_default=function(){return berocket_apply_filters("build_url_parameters_default",{})},braapf_replace_current_with_new=function(b,c,d){"undefined"==typeof d&&(d={}),args={replace:!1},jQuery.extend(args,d);var e=a("<div><div>"+b+"</div></div>"),f=e.find(c),g=a(c);0!=g.length&&(f.length!=g.length&&0!=f.length&&berocket_throw_error("error_notsame_block_qty",c,f.length,g.length),0==f.length?(g.html("").addClass("braapfNotReplaced"),g.hide()):(g.each(function(b,c){"undefined"!=typeof f[b]?args.replace?a(c).replaceWith(a(f[b])):a(c).html(a(f[b]).html()).removeClass("braapfNotReplaced"):a(c).html("").addClass("braapfNotReplaced")}),g.show()))},braapf_replace_products=function(b){var c=the_ajax_script.products_holder_id;a("<div><div>"+b+"</div></div>");a(".bapf_no_products").remove(),braapf_replace_current_with_new(b,c),a(".braapfNotReplaced").filter(c).length&&a(".braapfNotReplaced").filter(c).before(a(the_ajax_script.no_products))},braapf_replace_pagination=function(b){var c=the_ajax_script.pagination_class;if(0==a(c).length){var d=the_ajax_script.products_holder_id,e=a("<div><div>"+b+"</div></div>"),f=e.find(c).last();f.length&&a(d).last().after(f)}else braapf_replace_current_with_new(b,c)},braapf_replace_result_count=function(a){var b=the_ajax_script.result_count_class;braapf_replace_current_with_new(a,b)},braapf_replace_orderby=function(a){var b=the_ajax_script.ordering_class;braapf_replace_current_with_new(a,b)},braapf_replace_each_filter=function(b){var c=a("<div><div>"+b+"</div></div>");a(".berocket_single_filter_widget").each(function(){var b=a(this).data("id");a(".berocket_single_filter_widget_"+b).html(c.find(".berocket_single_filter_widget_"+b).last().html()),c.find(".berocket_single_filter_widget_"+b).is(".bapf_mt_none")?a(".berocket_single_filter_widget_"+b).addClass("bapf_mt_none"):a(".berocket_single_filter_widget_"+b).removeClass("bapf_mt_none")})},braapf_change_url_history_api=function(a,b){if("undefined"!=typeof b&&b.replace){var c={BeRocket:"Rules"};history.replaceState(c,""),history.pushState(c,"",a),history.pathname=a}},berocket_apply_filters("load_products_ajax_on_popstate",!0)&&(window.onpopstate=function(b){if(null!=b.state&&"Rules"==b.state.BeRocket){var c=location.href;berocket_apply_filters("page_has_products_holder",!a(the_ajax_script.products_holder_id).length,c)?location.href=c:braapf_ajax_load_from_url(c,{},berocket_apply_filters("ajax_load_from_filters",{done:[braapf_replace_products,braapf_replace_pagination,braapf_replace_result_count,braapf_replace_orderby,braapf_replace_each_filter,braapf_init_load,braapf_filtered_filters_set,braapf_update_url_history_api_from_current]},c,"default"))}}),braapf_ajax_load_from_url=function(a,b,c,d){"undefined"==typeof d&&(d="default"),"object"!=typeof b&&(b={}),"object"!=typeof c&&(c={done:[],fail:[],always:[]}),"undefined"!=typeof c.done&&Array.isArray(c.done)||(c.done=[]),"undefined"!=typeof c.fail&&Array.isArray(c.fail)||(c.fail=[]),"undefined"!=typeof c.always&&Array.isArray(c.always)||(c.always=[]),a=berocket_apply_filters("ajax_load_from_url_url",a,b,c,d),b=berocket_apply_filters("ajax_load_from_url_data",b,a,c,d),c=berocket_apply_filters("ajax_load_from_url_callback",c,a,b,d),braapf_ajax_load_from_url_request(a,b,c,d)},braapf_ajax_load_from_url_request=function(b,c,d,e){a(document).trigger("berocket_ajax_filtering_start"),"object"==typeof braapf_ajax_request&&"undefined"!=typeof braapf_ajax_request.abort&&braapf_ajax_request.abort(),braapf_ajax_request=a.ajax({method:"GET",url:b,data:c,beforeSend:function(a){a=berocket_apply_filters("ajax_load_from_url_beforeSend",a,b,c,d,e)}}).done(function(f,g,h){a(document).trigger("berocket_ajax_filtering_on_update"),f=berocket_apply_filters("ajax_load_from_url_done",f,b,c,d,e),a.each(d.done,function(a,b){b(f,g,h)}),f=berocket_apply_filters("ajax_load_from_url_done_after",f,b,c,d,e),a(document).trigger("berocket_ajax_products_loaded")}).fail(function(f,g,h){if("abort"==g)return!1;if(a(document).trigger("berocket_ajax_products_not_loaded"),f=berocket_apply_filters("ajax_load_from_url_fail",f,b,c,d,e),a.each(d.fail,function(a,b){b(f,g,h)}),f=berocket_apply_filters("ajax_load_from_url_fail_after",f,b,c,d,e),"default"==e){var i=jQuery.param(c);i&&(b=b.split("?").length>1?b+"&"+i:b+"?"+i),location.href=b}}).always(function(f,g,h){f=berocket_apply_filters("ajax_load_from_url_always",f,b,c,d,e),a.each(d.always,function(a,b){b(f,g,h)}),f=berocket_apply_filters("ajax_load_from_url_always_after",f,b,c,d,e),a(document).trigger("berocket_ajax_filtering_end")})},braapf_init_load=function(){a(window).width()<=767&&a(".bapf_sngl_hd_mobile").remove(),a(window).width()>767&&a(window).width()<=1024&&a(".bapf_sngl_hd_tablet").remove(),a(window).width()>1024&&a(".bapf_sngl_hd_desktop").remove(),a(".bapf_sfilter .bapf_body.bapf_mcs:not(.bapf_mcs_ready)").each(function(){a(this).mCustomScrollbar({setHeight:a(this).data("mcs-h"),scrollInertia:300}).addClass("bapf_mcs_ready")}),a(".berocket_single_filter_widget").each(function(){var b=a(this).data("id");a(".berocket_single_filter_widget_"+b).length>1&&a(".berocket_single_filter_widget_"+b).not(a(".berocket_single_filter_widget_"+b).first()).remove()}),a(".bapf_desci").on("click hover",function(a){a.stopPropagation()}),berocket_do_action("braapf_init",braapf_selected_filters),a(document).trigger("berocket_filters_first_load")},braapf_update_page_on_error=function(){location.reload()},braapf_selected_filters_area_set=function(){if("undefined"!=typeof braapf_filtered_filters&&braapf_filtered_filters.length>0){var b="";a.each(braapf_filtered_filters,function(c,d){d.values.length>0&&(b+="<span>"+d.name+"</span>",b+="<ul>",a.each(d.values,function(a,c){b+='<li><a href="#unselect_'+c.value+'" class="braapf_unselect" data-taxonomy="'+d.taxonomy+'" data-value="'+c.value+'"><i class="fa fa-times"></i>'+c.html+"</a></li>"}),b+="</ul>")}),b?(a(".bapf_sfa_mt_hide").show().parent().removeClass("bapf_mt_none"),b='<div class="berocket_aapf_widget_selected_filter">'+b+'<ul><li><a href="#Unselect_all" class="braapf_unselect_all"><i class="fa fa-times"></i> '+the_ajax_script.translate.unselect_all+"</a></li></ul>"):(b=the_ajax_script.translate.nothing_selected,a(".bapf_sfa_mt_hide").hide().parent().addClass("bapf_mt_none")),a(".berocket_aapf_widget_selected_area").html(b)}},a(document).on("click",".berocket_aapf_widget_selected_area .braapf_unselect",function(b){b.preventDefault(),a(".bapf_sfilter[data-taxonomy="+a(this).data("taxonomy")+"]").trigger("braapf_unselect",a(this).data()),berocket_do_action("update_products","reset_single",a(this))}),braapf_unselect_all=function(){braapf_grab_all(),"undefined"!=typeof braapf_selected_filters&&braapf_selected_filters.length>0&&a.each(braapf_selected_filters,function(b,c){c.values.length>0&&a(".bapf_sfilter[data-taxonomy="+c.taxonomy+"]").trigger("braapf_unselect_all",c)})},a(document).on("click",".berocket_aapf_widget_selected_area .braapf_unselect_all",function(b){b.preventDefault(),braapf_unselect_all(),berocket_do_action("update_products","reset_all",a(this))}),berocket_add_filter("braapf_init",braapf_grab_all_init,1e3),berocket_add_filter("braapf_init",braapf_selected_filters_area_set_init,1100),berocket_add_filter("braapf_init_filtered_set",braapf_selected_filters_area_set_init,1100),braapf_reload_page_for_products_error=function(a,b){return b==the_ajax_script.products_holder_id&&braapf_update_page_on_error(),a},berocket_add_filter("ajax_load_from_url_beforeSend",c),berocket_add_filter("update_products",braapf_update_products),berocket_add_filter("error_notsame_block_qty",braapf_reload_page_for_products_error),a(document).ready(function(){a(".berocket_wc_shortcode_fix").length&&(braapf_replace_each_filter(a(".berocket_wc_shortcode_fix").html()),a(".berocket_wc_shortcode_fix").html("")),braapf_init_load(),braapf_filtered_filters_set(),a(document).trigger("berocket_filters_document_ready")})}(jQuery);var braapf_get_current_filters,braapf_scroll_shop_to_top;!function(a){function b(){a(".berocket_ajax_filters_sidebar_toggle").removeClass("active"),a("#berocket-ajax-filters-sidebar").removeClass("active"),a("body").removeClass("berocket_ajax_filters_sidebar_active")}function c(){a(".berocket_ajax_filters_sidebar_toggle").addClass("active"),a("#berocket-ajax-filters-sidebar").addClass("active"),a("body").addClass("berocket_ajax_filters_sidebar_active")}function d(){jQuery(".berocket_product_table_compat .dataTables_length select").length&&jQuery(".berocket_product_table_compat .wc-product-table").dataTable()._fnSaveState();var a=jQuery(".berocket_product_table_compat .wc-product-table").attr("id");if("undefined"!=typeof window["config_"+a]&&window["config_"+a].serverSide){jQuery(".berocket_product_table_compat .wc-product-table").DataTable().destroy();var b=jQuery(".berocket_product_table_compat").html();jQuery(".berocket_product_table_compat").html(""),jQuery(".berocket_product_table_compat").html(b),jQuery(".berocket_product_table_compat .blockUI.blockOverlay").remove(),jQuery(".berocket_product_table_compat .wc-product-table").productTable()}}braapf_get_current_filters=function(b){if(b.queryargs.length){var c=[];a.each(b.queryargs,function(a,d){d.name==the_ajax_script.url_variable?b.filter=d.value:c.push(d)}),b.queryargs=c}return b},braapf_set_filters_to_link=function(a,b,c,d,e){return"string"==typeof b.filter&&b.filter.length&&(a+=e.length?"&":"?",a+=the_ajax_script.url_variable+"="+b.filter),a},braapf_convert_ckbox_to_radio=function(b,c,d,e){var f=(a(b),a(b).closest(".bapf_sfilter.bapf_ckbox"));f.is(".bapf_asradio")&&f.find("input[type=checkbox]:checked:not(:disabled)").each(function(){var b=a(this).val();b!=d&&braapf_checkbox_same(c,b,!1)})},berocket_add_filter("input_ckbox_changed",braapf_convert_ckbox_to_radio),a(document).on("click",".bapf_ochild, .bapf_cchild",function(b){b.preventDefault,a(this).is(".bapf_ochild")?a(this).trigger("bapf_ochild"):a(this).trigger("bapf_cchild")}),a(document).on("bapf_ochild",".bapf_sfilter.bapf_ckbox ul li",function(b){b.stopPropagation(),a(this).find(".bapf_ochild, .bapf_cchild").first().removeClass("bapf_ochild").removeClass("fa-plus").addClass("bapf_cchild").addClass("fa-minus"),a(this).find("ul").first().show()}),a(document).on("bapf_cchild",".bapf_sfilter.bapf_ckbox ul li",function(b){b.stopPropagation(),a(this).find(".bapf_ochild, .bapf_cchild").first().addClass("bapf_ochild").addClass("fa-plus").removeClass("bapf_cchild").removeClass("fa-minus"),a(this).find("ul").first().hide()});var e=[];braapf_hierarhical_save=function(b){return e=[],a(".bapf_cchild").each(function(){e.push(a(this).parent().children("input[type=checkbox]").attr("id"))}),b},braapf_hierarhical_set=function(b){return a.each(e,function(b,c){a("#"+c).trigger("bapf_ochild")}),b},berocket_add_filter("ajax_load_from_url_done",braapf_hierarhical_save,1),berocket_add_filter("ajax_load_from_url_done_after",braapf_hierarhical_set,1e3),a(document).on("click",".bapf_ocolaps .bapf_colaps_togl, .bapf_ccolaps .bapf_colaps_togl",function(b){b.preventDefault,a(this).closest(".bapf_ocolaps, .bapf_ccolaps").is(".bapf_ocolaps")?a(this).closest(".bapf_ocolaps, .bapf_ccolaps").trigger("bapf_ocolaps"):a(this).closest(".bapf_ocolaps, .bapf_ccolaps").trigger("bapf_ccolaps")}),a(document).on("bapf_ocolaps",".bapf_sfilter.bapf_ocolaps, .bapf_sfilter.bapf_ccolaps",function(b){a(this).find(".bapf_body").first().show(),a(this).removeClass("bapf_ocolaps").addClass("bapf_ccolaps"),a(this).find(".bapf_colaps_smb").length&&a(this).find(".bapf_colaps_smb").removeClass("fa-chevron-down").addClass("fa-chevron-up")}),a(document).on("bapf_ccolaps",".bapf_sfilter.bapf_ocolaps, .bapf_sfilter.bapf_ccolaps",function(b){a(this).find(".bapf_body").first().hide(),a(this).addClass("bapf_ocolaps").removeClass("bapf_ccolaps"),a(this).find(".bapf_colaps_smb").length&&a(this).find(".bapf_colaps_smb").addClass("fa-chevron-down").removeClass("fa-chevron-up")});var f={open:[],close:[]};braapf_collapse_status_save=function(b){return f={open:[],close:[]},a(".bapf_ocolaps, .bapf_ccolaps").each(function(){a(this).is(".bapf_ocolaps")?f.open.push(a(this).attr("id")):f.close.push(a(this).attr("id"))}),b},braapf_collapse_status_set=function(b){return a.each(f.open,function(b,c){a("#"+c).trigger("bapf_ccolaps")}),a.each(f.close,function(b,c){a("#"+c).trigger("bapf_ocolaps")}),b},berocket_add_filter("ajax_load_from_url_done",braapf_collapse_status_save,1),berocket_add_filter("ajax_load_from_url_done_after",braapf_collapse_status_set,1e3),a(document).on("click",".bapf_show_hide",function(){a(this).closest(".bapf_sfilter").toggleClass("bapf_fhide"),a(this).closest(".bapf_sfilter").is(".bapf_fhide")?a(this).text(a(this).data("show")):a(this).text(a(this).data("hide"))});var g={open:[],close:[]};braapf_show_hide_values_save=function(b){return g={open:[],close:[]},a(".bapf_sfilter").each(function(){a(this).is(".bapf_fhide")?g.close.push(a(this).attr("id")):g.open.push(a(this).attr("id"))}),b},braapf_show_hide_values_set=function(b){return a.each(g.open,function(b,c){a("#"+c).removeClass("bapf_fhide"),a("#"+c).find(".bapf_show_hide").text(a("#"+c).find(".bapf_show_hide").data("hide"))}),a.each(g.close,function(b,c){a("#"+c).addClass("bapf_fhide"),a("#"+c).find(".bapf_show_hide").text(a("#"+c).find(".bapf_show_hide").data("show"))}),b},berocket_add_filter("ajax_load_from_url_done",braapf_show_hide_values_save,1),berocket_add_filter("ajax_load_from_url_done_after",braapf_show_hide_values_set,1e3),braapf_scroll_shop_to_top=function(b,c,d,e,f){if("default"==f&&(1==the_ajax_script.scroll_shop_top||2==the_ajax_script.scroll_shop_top&&a(window).width()<=768||3==the_ajax_script.scroll_shop_top&&a(window).width()>768)){var g=0;a(the_ajax_script.products_holder_id).length?(g=a(the_ajax_script.products_holder_id).offset().top+parseInt(the_ajax_script.scroll_shop_top_px),g<0&&(g=0)):a(".bapf_no_products").length&&(g=a(".bapf_no_products").offset().top+parseInt(the_ajax_script.scroll_shop_top_px),g<0&&(g=0)),a("html, body").animate({scrollTop:g},"slow")}return b},berocket_add_filter("ajax_load_from_url_beforeSend",braapf_scroll_shop_to_top),a(document).on("mousedown",".wc-product-table-reset a",function(){a(this).remove(),br_reset_all_filters()}),a(document).on("click",".berocket_element_above_products_is_hide_toggle",function(b){b.preventDefault(),a(this).toggleClass("active").next().slideToggle(200,"linear");var c="inactive";a(this).is(".active")&&(c="active"),a(document).trigger("berocket_element_above_products_"+c)}),a(document).on("berocket_custom_sidebar_close",b),a(document).on("berocket_custom_sidebar_open",c),a(document).on("click",".berocket_ajax_filters_sidebar_toggle",function(d){d.preventDefault(),a(this).is(".active")&&a("#berocket-ajax-filters-sidebar").is(".active")?b():c()}),a(document).on("click","#berocket-ajax-filters-sidebar-shadow, #berocket-ajax-filters-sidebar-close",function(a){a.preventDefault(),b()}),a(document).on("berocket_ajax_filtering_start",function(){jQuery(".berocket_product_table_compat").length&&d()})}(jQuery),berocket_add_filter("get_current_url_data",braapf_get_current_filters),berocket_add_filter("url_from_urldata_linkget",braapf_set_filters_to_link);var braapf_child_parent_grab_single,braapf_child_parent_fix_selected,braapf_child_parent_load_with_update_button,braapf_add_loader_element,braapf_remove_loader_element;!function(a){braapf_child_parent_grab_single=function(b,c,d){var e=c.data("child");if("undefined"!=typeof e&&e>0&&"object"==typeof b&&"undefined"!=typeof b.values&&Array.isArray(b.values)&&b.values.length>0){e++;var f=c.data("taxonomy"),g=a(".bapf_sfilter.bapf_child_"+e+"[data-taxonomy="+f+"]");if(g.length){var h=braapf_grab_single(g,[]);"object"==typeof h&&"undefined"!=typeof h.values&&Array.isArray(h.values)&&h.values.length>0&&(b=h)}}return b},braapf_child_parent_fix_selected=function(b,c){if(0!=c){var d=c.closest(".bapf_sfilter");if(d.length){var e=d.data("child"),f=d.data("taxonomy");if("undefined"!=typeof e&&e>0)for(i=e+1;a(".bapf_sfilter.bapf_child_"+i+"[data-taxonomy="+f+"]").length;i++)a(".bapf_sfilter.bapf_child_"+i+"[data-taxonomy="+f+"]").trigger("braapf_unselect",!1)}}return b},braapf_child_parent_load_with_update_button=function(a,b,c){if(0!=c){var d=c.closest(".bapf_sfilter");if(d.length){var e=d.data("child");d.data("taxonomy");"undefined"!=typeof e&&e>0&&(a=!0)}}return a},berocket_add_filter("grab_single_filter_default",braapf_child_parent_grab_single),berocket_add_filter("before_update_products_context",braapf_child_parent_fix_selected),berocket_add_filter("apply_filters_to_page_partial",braapf_child_parent_load_with_update_button);var b;braapf_add_loader_element=function(c,d,e,f,g){return"default"==g&&("undefined"!=typeof b&&"function"==typeof b.remove&&b.remove(),b=a(the_ajax_script.load_image),a("body").append(b)),c},braapf_remove_loader_element=function(a){return"undefined"!=typeof b&&"function"==typeof b.remove&&b.remove(),a},berocket_add_filter("ajax_load_from_url_beforeSend",braapf_add_loader_element),berocket_add_filter("ajax_load_from_url_always_after",braapf_remove_loader_element),a(document).on("click",".bapf_sfilter.bapf_ckbox .bapf_body li label a",function(b){b.preventDefault(),a(this).parent().trigger("click")})}(jQuery);var braapf_init_ion_slidr,braapf_ion_slidr_same,braapf_jqrui_slidr_ion_value_wc_price,braapf_jqrui_slidr_ion_value_arr_attr,braapf_init_ion_slidr_for_parent;!function(a){function b(a,b){var c=b.data("number_style");return c||(c=the_ajax_script.number_style),a=berocket_format_number(parseFloat(a),c)}braapf_init_ion_slidr=function(){braapf_init_ion_slidr_for_parent(a(document))},braapf_init_ion_slidr_for_parent=function(b){b.find(".bapf_slidr_ion:not(.bapf_slidr_ready)").each(function(){
10
- var b=a(this).find(".bapf_slidr_all .bapf_slidr_main"),c=function(a){if(!b.is(".bapf_ion_blocked")){b.addClass("bapf_ion_blocked");var c=b.closest(".bapf_sfilter").data("taxonomy");braapf_ion_slidr_same(c,a);var d={element:"#"+b.closest(".bapf_sfilter").attr("id"),parent:0,find:".bapf_body"};berocket_apply_filters("filter_changed_element",d,b),berocket_do_action("update_products","filter",b),b.removeClass("bapf_ion_blocked")}},d=berocket_apply_filters("jqrui_data_slidr_ion",{type:"double",from:b.data("start"),to:b.data("end"),grid:!1,force_edges:!0,onFinish:c,onUpdate:c,prettify:function(a){return a=berocket_apply_filters("jqrui_slidr_ion_"+b.data("display"),a,b)}},b);b.ionRangeSlider(d),a(this).addClass("bapf_slidr_ready")})},braapf_ion_slidr_same=function(b,c){a(".bapf_slidr_ion.bapf_slidr_ready[data-taxonomy="+b+"]").each(function(){var b=a(this).find(".bapf_slidr_main");b.addClass("bapf_ion_blocked");var d=b.data("ionRangeSlider");d.update({from:c.from,to:c.to}),b.removeClass("bapf_ion_blocked")})},braapf_jqrui_slidr_ion_value_arr_attr=function(a,b){var c=b.data("attr");return a=c[a].n},braapf_grab_single_ion=function(a,b){if(b.is(".bapf_slidr_ion.bapf_slidr_ready")&&0!=a){var c=b.find(".bapf_slidr_main").data("ionRangeSlider"),d=b.find(".bapf_slidr_main"),e=[c.options.from,c.options.to],f=[berocket_apply_filters("jqrui_slidr_ion_"+d.data("display"),c.options.from,d),berocket_apply_filters("jqrui_slidr_ion_"+d.data("display"),c.options.to,d)];if(e[0]!=d.data("min")||e[1]!=d.data("max")){var g={value:e[0]+"_"+e[1],html:f[0]+" - "+f[1]};g=berocket_apply_filters("jqrui_slidr_ion_link_"+d.data("display"),g,e,f,d,a),a.values=[g]}}return a},braapf_jqrui_slidr_ion_values_link_arr_attr=function(a,b,c,d,e){var f=d.data("attr");return a.value=f[b[0]].v+"_"+f[b[1]].v,a},a(document).on("braapf_unselect braapf_unselect_all",".bapf_slidr_ion",function(b,c){var d=a(this).find(".bapf_slidr_main"),e=d.data("ionRangeSlider");d.addClass("bapf_ion_blocked"),e.update({from:e.options.min,to:e.options.max}),d.removeClass("bapf_ion_blocked")}),berocket_add_filter("braapf_init",braapf_init_ion_slidr),berocket_add_filter("braapf_init_for_parent",braapf_init_ion_slidr_for_parent),berocket_add_filter("grab_single_filter_default",braapf_grab_single_ion),berocket_add_filter("jqrui_slidr_ion_link_arr_attr",braapf_jqrui_slidr_ion_values_link_arr_attr),berocket_add_filter("jqrui_slidr_ion_wc_price",b),berocket_add_filter("jqrui_slidr_ion_arr_attr",braapf_jqrui_slidr_ion_value_arr_attr)}(jQuery);var braapf_init_jqrui_slidr,braapf_jqrui_slidr_same,braapf_jqrui_slidr_values_wc_price;!function(a){a(document).on("change",".bapf_slct .bapf_body select",function(){var b={element:"#"+a(this).closest(".bapf_sfilter").attr("id"),parent:0,find:".bapf_body"};berocket_apply_filters("filter_changed_element",b,a(this)),berocket_do_action("update_products","filter",a(this))}),braapf_grab_single_select=function(b,c){if(c.is(".bapf_slct")&&0!=b){var d=c.find(".bapf_body select:not(:disabled)");d.find("option:selected:not(:disabled)").each(function(){var c=a(this).val();c&&b.values.push({value:c,html:a(this).data("name")})})}return b},a(document).on("braapf_unselect braapf_unselect_all",".bapf_slct",function(b,c){a(this).find(".bapf_body select:not(:disabled) option:selected:not(:disabled)").each(function(){"undefined"!=typeof c.value&&c.value!=a(this).val()||a(this).prop("selected",!1)})}),berocket_add_filter("grab_single_filter_default",braapf_grab_single_select)}(jQuery);var bapf_select2_init,bapf_select2_init_for_parent,bapf_select2_disable_for_parent;jQuery(document).ready(function(){bapf_select2_init=function(){bapf_select2_init_for_parent(jQuery(document))},bapf_select2_init_for_parent=function(a){a.find(".bapf_select2").length&&"undefined"!=typeof a.find(".bapf_select2").select2&&a.find(".bapf_select2").each(function(){if(!jQuery(this).data("select2")){var a={width:"100%",theme:"default"};jQuery(this).prop("multiple")&&(a.placeholder=jQuery(this).data("placeholder")),jQuery(this).parents("#berocket-ajax-filters-sidebar").length&&(a.dropdownParent=$("#berocket-ajax-filters-sidebar")),a=berocket_apply_filters("jqrui_data_select2",a,jQuery(this)),jQuery(this).select2(a)}})},bapf_select2_disable_for_parent=function(a){a.find(".bapf_select2").length&&"undefined"!=typeof a.find(".bapf_select2").select2&&a.find(".bapf_select2").each(function(){jQuery(this).data("select2")&&jQuery(this).select2("destroy")})},jQuery(document).on("berocket_ajax_filtering_on_update",function(){bapf_select2_disable_for_parent(jQuery(document))}),bapf_select2_init(),berocket_add_filter("braapf_init",bapf_select2_init,2e3),berocket_add_filter("braapf_init_for_parent",bapf_select2_init_for_parent)});var braapf_init_jqrui_slidr,braapf_jqrui_slidr_same,braapf_jqrui_slidr_values_wc_price,braapf_init_jqrui_slidr_for_parent;!function(a){function b(b,c){var d=a(b).closest(".bapf_slidr_jqrui.bapf_slidr_ready").find(".bapf_slidr_main"),e=d.slider("values");a(b).val(e[c]),a(b).data("val",e[c])}function c(b,c,d){var e=a(b).closest(".bapf_slidr_jqrui.bapf_slidr_ready").find(".bapf_slidr_main");if("focusout"==d){if(a(b).val()==a(b).data("val")){var f=e.slider("values");e.trigger("braapf_change_jqrui_slidr",[f])}}else{var g=parseInt(a(b).val());e.slider("values",c,g)}}a.each([{position:0,className:"bapf_from"},{position:1,className:"bapf_to"}],function(d,e){a(document).on("focusin",".bapf_slidr_jqrui.bapf_slidr_ready ."+e.className+" input[type=text]",function(){b(this,e.position)}),a(document).on("change focusout",".bapf_slidr_jqrui.bapf_slidr_ready ."+e.className+" input[type=text]",function(a){c(this,e.position,a.type)}),a(document).on("change",".bapf_slidr_jqrui.bapf_slidr_ready ."+e.className+" select",function(a){c(this,e.position,a.type)})}),a(document).on("braapf_change_jqrui_slidr",".bapf_slidr_jqrui .bapf_slidr_main",function(b,c){var d=a(this),e=[c[0],c[1]];e=berocket_apply_filters("jqrui_slidr_"+d.data("display"),e,d),d.closest(".bapf_slidr_jqrui").find(".bapf_from span.bapf_val").length&&d.closest(".bapf_slidr_jqrui").find(".bapf_from span.bapf_val").text(e[0]),d.closest(".bapf_slidr_jqrui").find(".bapf_to span.bapf_val").length&&d.closest(".bapf_slidr_jqrui").find(".bapf_to span.bapf_val").text(e[1])}),a(document).on("braapf_change_jqrui_slidr",".bapf_slidr_jqrui .bapf_slidr_main",function(b,c){var d=a(this),e=[c[0],c[1]];e=berocket_apply_filters("jqrui_slidr_"+d.data("display"),e,d),d.closest(".bapf_slidr_jqrui").find(".bapf_from input[type=text]").length&&d.closest(".bapf_slidr_jqrui").find(".bapf_from input[type=text]").val(e[0]),d.closest(".bapf_slidr_jqrui").find(".bapf_to input[type=text]").length&&d.closest(".bapf_slidr_jqrui").find(".bapf_to input[type=text]").val(e[1])}),a(document).on("braapf_change_jqrui_slidr",".bapf_slidr_jqrui .bapf_slidr_main",function(b,c){var d=a(this),e=d.data("attr");if(d.closest(".bapf_slidr_jqrui").find(".bapf_from select").length||d.closest(".bapf_slidr_jqrui").find(".bapf_to select").length){var e=d.data("attr"),f=[],g=[],h=!1,i=!1;a.each(e,function(a,b){a==c[0]&&(i=!0),h||f.push({v:b.v,n:b.n,ov:a}),i&&g.push({v:b.v,n:b.n,ov:a}),a==c[1]&&(h=!0)})}d.closest(".bapf_slidr_jqrui").find(".bapf_from select").length&&(d.closest(".bapf_slidr_jqrui").find(".bapf_from select option").remove(),a.each(f,function(b,e){var f="";e.ov==c[0]&&(f=" selected"),d.closest(".bapf_slidr_jqrui").find(".bapf_from select").append(a('<option value="'+e.ov+'"'+f+">"+e.n+"</option>"))})),d.closest(".bapf_slidr_jqrui").find(".bapf_to select").length&&(d.closest(".bapf_slidr_jqrui").find(".bapf_to select option").remove(),a.each(g,function(b,e){var f="";e.ov==c[1]&&(f=" selected"),d.closest(".bapf_slidr_jqrui").find(".bapf_to select").append(a('<option value="'+e.ov+'"'+f+">"+e.n+"</option>"))}))}),braapf_init_jqrui_slidr=function(){braapf_init_jqrui_slidr_for_parent(a(document))},braapf_init_jqrui_slidr_for_parent=function(b){b.find(".bapf_slidr_jqrui:not(.bapf_slidr_ready)").each(function(){var b=a(this).find(".bapf_slidr_main"),c=berocket_apply_filters("jqrui_data_slidr_jqrui",{range:!0,min:b.data("min"),max:b.data("max"),values:[b.data("start"),b.data("end")],step:b.data("step"),create:function(b,c){var d=a(this).slider("values");a(this).trigger("braapf_change_jqrui_slidr",[d])},slide:function(b,c){a(this).trigger("braapf_change_jqrui_slidr",[c.values])},change:function(b,c){var d=a(this).slider("values");if(a(this).trigger("braapf_change_jqrui_slidr",[d]),!a(this).is(".bapf_jqrui_blocked")){var d=a(this).slider("values"),e=a(this).parents(".bapf_sfilter").data("taxonomy");braapf_jqrui_slidr_same(e,d);var f={element:"#"+a(this).closest(".bapf_sfilter").attr("id"),parent:0,find:".bapf_body"};berocket_apply_filters("filter_changed_element",f,a(this)),berocket_do_action("update_products","filter",a(this))}}},b);b.slider(c),a(this).addClass("bapf_slidr_ready")})},braapf_jqrui_slidr_same=function(b,c){a(".bapf_slidr_jqrui.bapf_slidr_ready[data-taxonomy="+b+"]").each(function(){var b=a(this).find(".bapf_slidr_main");b.addClass("bapf_jqrui_blocked"),b.slider("values",c),b.removeClass("bapf_jqrui_blocked")})},braapf_jqrui_slidr_values_wc_price=function(a,b){var c=b.data("number_style");return c||(c=the_ajax_script.number_style),a[0]=berocket_format_number(a[0],c),a[1]=berocket_format_number(a[1],c),a},braapf_grab_single_jqrui=function(a,b){if(b.is(".bapf_slidr_jqrui.bapf_slidr_ready")&&0!=a){var c=b.find(".bapf_slidr_main"),d=c.slider("values"),e=c.slider("values");if(d[0]!=c.data("min")||d[1]!=c.data("max")){e=berocket_apply_filters("jqrui_slidr_"+c.data("display"),e,c);var f={value:d[0]+"_"+d[1],html:e[0]+" - "+e[1]};f=berocket_apply_filters("jqrui_slidr_link_"+c.data("display"),f,d,e,c,a),a.values=[f]}}return a},braapf_jqrui_slidr_values_arr_attr=function(a,b){var c=b.data("attr");return Array.isArray(a)&&2==a.length?(a[0]=c[a[0]].n,a[1]=c[a[1]].n):(a=["",""],a[0]=c[0].n,a[1]=c[c.length-1].n),a},braapf_jqrui_slidr_values_link_arr_attr=function(a,b,c,d,e){var f=d.data("attr");return a.value=f[b[0]].v+"_"+f[b[1]].v,a},a(document).on("braapf_unselect braapf_unselect_all",".bapf_slidr_jqrui",function(b,c){var d=a(this).find(".bapf_slidr_main"),e=d.data("min"),f=d.data("max");d.addClass("bapf_jqrui_blocked"),d.slider("values",[e,f]),d.removeClass("bapf_jqrui_blocked")}),berocket_add_filter("jqrui_slidr_wc_price",braapf_jqrui_slidr_values_wc_price),berocket_add_filter("jqrui_slidr_arr_attr",braapf_jqrui_slidr_values_arr_attr),berocket_add_filter("jqrui_slidr_link_arr_attr",braapf_jqrui_slidr_values_link_arr_attr),berocket_add_filter("grab_single_filter_default",braapf_grab_single_jqrui),berocket_add_filter("braapf_init",braapf_init_jqrui_slidr),berocket_add_filter("braapf_init_for_parent",braapf_init_jqrui_slidr_for_parent)}(jQuery);
6
  return this.options.get("escapeMarkup")(c(a,b))},e.prototype.selectionContainer=function(){return a("<span></span>")},e.prototype.update=function(a){if(0!==a.length){var b=a[0],c=this.$selection.find(".select2-selection__rendered"),d=this.display(b,c);c.empty().append(d);var e=b.title||b.text;e?c.attr("title",e):c.removeAttr("title")}else this.clear()},e}),i.define("select2/selection/multiple",["jquery","./base","../utils"],function(a,b,c){function d(a,b){d.__super__.constructor.apply(this,arguments)}return c.Extend(d,b),d.prototype.render=function(){var a=d.__super__.render.call(this);return a.addClass("select2-selection--multiple"),a.html('<ul class="select2-selection__rendered"></ul>'),a},d.prototype.bind=function(b,e){var f=this;d.__super__.bind.apply(this,arguments),this.$selection.on("click",function(a){f.trigger("toggle",{originalEvent:a})}),this.$selection.on("click",".select2-selection__choice__remove",function(b){if(!f.isDisabled()){var d=a(this).parent(),e=c.GetData(d[0],"data");f.trigger("unselect",{originalEvent:b,data:e})}})},d.prototype.clear=function(){var a=this.$selection.find(".select2-selection__rendered");a.empty(),a.removeAttr("title")},d.prototype.display=function(a,b){var c=this.options.get("templateSelection");return this.options.get("escapeMarkup")(c(a,b))},d.prototype.selectionContainer=function(){return a('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},d.prototype.update=function(a){if(this.clear(),0!==a.length){for(var b=[],d=0;d<a.length;d++){var e=a[d],f=this.selectionContainer(),g=this.display(e,f);f.append(g);var h=e.title||e.text;h&&f.attr("title",h),c.StoreData(f[0],"data",e),b.push(f)}var i=this.$selection.find(".select2-selection__rendered");c.appendMany(i,b)}},d}),i.define("select2/selection/placeholder",["../utils"],function(a){function b(a,b,c){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c)}return b.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},b.prototype.createPlaceholder=function(a,b){var c=this.selectionContainer();return c.html(this.display(b)),c.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),c},b.prototype.update=function(a,b){var c=1==b.length&&b[0].id!=this.placeholder.id;if(1<b.length||c)return a.call(this,b);this.clear();var d=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(d)},b}),i.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(a,b,c){function d(){}return d.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(a){d._handleClear(a)}),b.on("keypress",function(a){d._handleKeyboardClear(a,b)})},d.prototype._handleClear=function(a,b){if(!this.isDisabled()){var d=this.$selection.find(".select2-selection__clear");if(0!==d.length){b.stopPropagation();var e=c.GetData(d[0],"data"),f=this.$element.val();this.$element.val(this.placeholder.id);var g={data:e};if(this.trigger("clear",g),g.prevented)this.$element.val(f);else{for(var h=0;h<e.length;h++)if(g={data:e[h]},this.trigger("unselect",g),g.prevented)return void this.$element.val(f);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},d.prototype._handleKeyboardClear=function(a,c,d){d.isOpen()||c.which!=b.DELETE&&c.which!=b.BACKSPACE||this._handleClear(c)},d.prototype.update=function(b,d){if(b.call(this,d),!(0<this.$selection.find(".select2-selection__placeholder").length||0===d.length)){var e=this.options.get("translations").get("removeAllItems"),f=a('<span class="select2-selection__clear" title="'+e()+'">&times;</span>');c.StoreData(f[0],"data",d),this.$selection.find(".select2-selection__rendered").prepend(f)}},d}),i.define("select2/selection/search",["jquery","../utils","../keys"],function(a,b,c){function d(a,b,c){a.call(this,b,c)}return d.prototype.render=function(b){var c=a('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>');this.$searchContainer=c,this.$search=c.find("input");var d=b.call(this);return this._transferTabIndex(),d},d.prototype.bind=function(a,d,e){var f=this,g=d.id+"-results";a.call(this,d,e),d.on("open",function(){f.$search.attr("aria-controls",g),f.$search.trigger("focus")}),d.on("close",function(){f.$search.val(""),f.$search.removeAttr("aria-controls"),f.$search.removeAttr("aria-activedescendant"),f.$search.trigger("focus")}),d.on("enable",function(){f.$search.prop("disabled",!1),f._transferTabIndex()}),d.on("disable",function(){f.$search.prop("disabled",!0)}),d.on("focus",function(a){f.$search.trigger("focus")}),d.on("results:focus",function(a){a.data._resultId?f.$search.attr("aria-activedescendant",a.data._resultId):f.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(a){f.trigger("focus",a)}),this.$selection.on("focusout",".select2-search--inline",function(a){f._handleBlur(a)}),this.$selection.on("keydown",".select2-search--inline",function(a){if(a.stopPropagation(),f.trigger("keypress",a),f._keyUpPrevented=a.isDefaultPrevented(),a.which===c.BACKSPACE&&""===f.$search.val()){var d=f.$searchContainer.prev(".select2-selection__choice");if(0<d.length){var e=b.GetData(d[0],"data");f.searchRemoveChoice(e),a.preventDefault()}}}),this.$selection.on("click",".select2-search--inline",function(a){f.$search.val()&&a.stopPropagation()});var h=document.documentMode,i=h&&h<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(a){i?f.$selection.off("input.search input.searchcheck"):f.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(a){if(i&&"input"===a.type)f.$selection.off("input.search input.searchcheck");else{var b=a.which;b!=c.SHIFT&&b!=c.CTRL&&b!=c.ALT&&b!=c.TAB&&f.handleSearch(a)}})},d.prototype._transferTabIndex=function(a){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},d.prototype.createPlaceholder=function(a,b){this.$search.attr("placeholder",b.text)},d.prototype.update=function(a,b){var c=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),a.call(this,b),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),c&&this.$search.trigger("focus")},d.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var a=this.$search.val();this.trigger("query",{term:a})}this._keyUpPrevented=!1},d.prototype.searchRemoveChoice=function(a,b){this.trigger("unselect",{data:b}),this.$search.val(b.text),this.handleSearch()},d.prototype.resizeSearch=function(){this.$search.css("width","25px");var a="";a=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").width():.75*(this.$search.val().length+1)+"em",this.$search.css("width",a)},d}),i.define("select2/selection/eventRelay",["jquery"],function(a){function b(){}return b.prototype.bind=function(b,c,d){var e=this,f=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],g=["opening","closing","selecting","unselecting","clearing"];b.call(this,c,d),c.on("*",function(b,c){if(-1!==a.inArray(b,f)){c=c||{};var d=a.Event("select2:"+b,{params:c});e.$element.trigger(d),-1!==a.inArray(b,g)&&(c.prevented=d.isDefaultPrevented())}})},b}),i.define("select2/translation",["jquery","require"],function(a,b){function c(a){this.dict=a||{}}return c.prototype.all=function(){return this.dict},c.prototype.get=function(a){return this.dict[a]},c.prototype.extend=function(b){this.dict=a.extend({},b.all(),this.dict)},c._cache={},c.loadPath=function(a){if(!(a in c._cache)){var d=b(a);c._cache[a]=d}return new c(c._cache[a])},c}),i.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}}),i.define("select2/data/base",["../utils"],function(a){function b(a,c){b.__super__.constructor.call(this)}return a.Extend(b,a.Observable),b.prototype.current=function(a){throw new Error("The `current` method must be defined in child classes.")},b.prototype.query=function(a,b){throw new Error("The `query` method must be defined in child classes.")},b.prototype.bind=function(a,b){},b.prototype.destroy=function(){},b.prototype.generateResultId=function(b,c){var d=b.id+"-result-";return d+=a.generateChars(4),d+=null!=c.id?"-"+c.id.toString():"-"+a.generateChars(4)},b}),i.define("select2/data/select",["./base","../utils","jquery"],function(a,b,c){function d(a,b){this.$element=a,this.options=b,d.__super__.constructor.call(this)}return b.Extend(d,a),d.prototype.current=function(a){var b=[],d=this;this.$element.find(":selected").each(function(){var a=c(this),e=d.item(a);b.push(e)}),a(b)},d.prototype.select=function(a){var b=this;if(a.selected=!0,c(a.element).is("option"))return a.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current(function(d){var e=[];(a=[a]).push.apply(a,d);for(var f=0;f<a.length;f++){var g=a[f].id;-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("input").trigger("change")});else{var d=a.id;this.$element.val(d),this.$element.trigger("input").trigger("change")}},d.prototype.unselect=function(a){var b=this;if(this.$element.prop("multiple")){if(a.selected=!1,c(a.element).is("option"))return a.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current(function(d){for(var e=[],f=0;f<d.length;f++){var g=d[f].id;g!==a.id&&-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("input").trigger("change")})}},d.prototype.bind=function(a,b){var c=this;(this.container=a).on("select",function(a){c.select(a.data)}),a.on("unselect",function(a){c.unselect(a.data)})},d.prototype.destroy=function(){this.$element.find("*").each(function(){b.RemoveData(this)})},d.prototype.query=function(a,b){var d=[],e=this;this.$element.children().each(function(){var b=c(this);if(b.is("option")||b.is("optgroup")){var f=e.item(b),g=e.matches(a,f);null!==g&&d.push(g)}}),b({results:d})},d.prototype.addOptions=function(a){b.appendMany(this.$element,a)},d.prototype.option=function(a){var d;a.children?(d=document.createElement("optgroup")).label=a.text:void 0!==(d=document.createElement("option")).textContent?d.textContent=a.text:d.innerText=a.text,void 0!==a.id&&(d.value=a.id),a.disabled&&(d.disabled=!0),a.selected&&(d.selected=!0),a.title&&(d.title=a.title);var e=c(d),f=this._normalizeItem(a);return f.element=d,b.StoreData(d,"data",f),e},d.prototype.item=function(a){var d={};if(null!=(d=b.GetData(a[0],"data")))return d;if(a.is("option"))d={id:a.val(),text:a.text(),disabled:a.prop("disabled"),selected:a.prop("selected"),title:a.prop("title")};else if(a.is("optgroup")){d={text:a.prop("label"),children:[],title:a.prop("title")};for(var e=a.children("option"),f=[],g=0;g<e.length;g++){var h=c(e[g]),i=this.item(h);f.push(i)}d.children=f}return(d=this._normalizeItem(d)).element=a[0],b.StoreData(a[0],"data",d),d},d.prototype._normalizeItem=function(a){return a!==Object(a)&&(a={id:a,text:a}),null!=(a=c.extend({},{text:""},a)).id&&(a.id=a.id.toString()),null!=a.text&&(a.text=a.text.toString()),null==a._resultId&&a.id&&null!=this.container&&(a._resultId=this.generateResultId(this.container,a)),c.extend({},{selected:!1,disabled:!1},a)},d.prototype.matches=function(a,b){return this.options.get("matcher")(a,b)},d}),i.define("select2/data/array",["./select","../utils","jquery"],function(a,b,c){function d(a,b){this._dataToConvert=b.get("data")||[],d.__super__.constructor.call(this,a,b)}return b.Extend(d,a),d.prototype.bind=function(a,b){d.__super__.bind.call(this,a,b),this.addOptions(this.convertToOptions(this._dataToConvert))},d.prototype.select=function(a){var b=this.$element.find("option").filter(function(b,c){return c.value==a.id.toString()});0===b.length&&(b=this.option(a),this.addOptions(b)),d.__super__.select.call(this,a)},d.prototype.convertToOptions=function(a){function d(a){return function(){return c(this).val()==a.id}}for(var e=this,f=this.$element.find("option"),g=f.map(function(){return e.item(c(this)).id}).get(),h=[],i=0;i<a.length;i++){var j=this._normalizeItem(a[i]);if(0<=c.inArray(j.id,g)){var k=f.filter(d(j)),l=this.item(k),m=c.extend(!0,{},j,l),n=this.option(m);k.replaceWith(n)}else{var o=this.option(j);if(j.children){var p=this.convertToOptions(j.children);b.appendMany(o,p)}h.push(o)}}return h},d}),i.define("select2/data/ajax",["./array","../utils","jquery"],function(a,b,c){function d(a,b){this.ajaxOptions=this._applyDefaults(b.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),d.__super__.constructor.call(this,a,b)}return b.Extend(d,a),d.prototype._applyDefaults=function(a){var b={data:function(a){return c.extend({},a,{q:a.term})},transport:function(a,b,d){var e=c.ajax(a);return e.then(b),e.fail(d),e}};return c.extend({},b,a,!0)},d.prototype.processResults=function(a){return a},d.prototype.query=function(a,b){function d(){var d=f.transport(f,function(d){var f=e.processResults(d,a);e.options.get("debug")&&window.console&&console.error&&(f&&f.results&&c.isArray(f.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),b(f)},function(){"status"in d&&(0===d.status||"0"===d.status)||e.trigger("results:message",{message:"errorLoading"})});e._request=d}var e=this;null!=this._request&&(c.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var f=c.extend({type:"GET"},this.ajaxOptions);"function"==typeof f.url&&(f.url=f.url.call(this.$element,a)),"function"==typeof f.data&&(f.data=f.data.call(this.$element,a)),this.ajaxOptions.delay&&null!=a.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(d,this.ajaxOptions.delay)):d()},d}),i.define("select2/data/tags",["jquery"],function(a){function b(b,c,d){var e=d.get("tags"),f=d.get("createTag");void 0!==f&&(this.createTag=f);var g=d.get("insertTag");if(void 0!==g&&(this.insertTag=g),b.call(this,c,d),a.isArray(e))for(var h=0;h<e.length;h++){var i=e[h],j=this._normalizeItem(i),k=this.option(j);this.$element.append(k)}}return b.prototype.query=function(a,b,c){var d=this;this._removeOldTags(),null!=b.term&&null==b.page?a.call(this,b,function a(e,f){for(var g=e.results,h=0;h<g.length;h++){var i=g[h],j=null!=i.children&&!a({results:i.children},!0);if((i.text||"").toUpperCase()===(b.term||"").toUpperCase()||j)return!f&&(e.data=g,void c(e))}if(f)return!0;var k=d.createTag(b);if(null!=k){var l=d.option(k);l.attr("data-select2-tag",!0),d.addOptions([l]),d.insertTag(g,k)}e.results=g,c(e)}):a.call(this,b,c)},b.prototype.createTag=function(b,c){var d=a.trim(c.term);return""===d?null:{id:d,text:d}},b.prototype.insertTag=function(a,b,c){b.unshift(c)},b.prototype._removeOldTags=function(b){this.$element.find("option[data-select2-tag]").each(function(){this.selected||a(this).remove()})},b}),i.define("select2/data/tokenizer",["jquery"],function(a){function b(a,b,c){var d=c.get("tokenizer");void 0!==d&&(this.tokenizer=d),a.call(this,b,c)}return b.prototype.bind=function(a,b,c){a.call(this,b,c),this.$search=b.dropdown.$search||b.selection.$search||c.find(".select2-search__field")},b.prototype.query=function(b,c,d){var e=this;c.term=c.term||"";var f=this.tokenizer(c,this.options,function(b){var c,d=e._normalizeItem(b);if(!e.$element.find("option").filter(function(){return a(this).val()===d.id}).length){var f=e.option(d);f.attr("data-select2-tag",!0),e._removeOldTags(),e.addOptions([f])}c=d,e.trigger("select",{data:c})});f.term!==c.term&&(this.$search.length&&(this.$search.val(f.term),this.$search.trigger("focus")),c.term=f.term),b.call(this,c,d)},b.prototype.tokenizer=function(b,c,d,e){for(var f=d.get("tokenSeparators")||[],g=c.term,h=0,i=this.createTag||function(a){return{id:a.term,text:a.term}};h<g.length;){var j=g[h];if(-1!==a.inArray(j,f)){var k=g.substr(0,h),l=i(a.extend({},c,{term:k}));null!=l?(e(l),g=g.substr(h+1)||"",h=0):h++}else h++}return{term:g}},b}),i.define("select2/data/minimumInputLength",[],function(){function a(a,b,c){this.minimumInputLength=c.get("minimumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){b.term=b.term||"",b.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:b.term,params:b}}):a.call(this,b,c)},a}),i.define("select2/data/maximumInputLength",[],function(){function a(a,b,c){this.maximumInputLength=c.get("maximumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){b.term=b.term||"",0<this.maximumInputLength&&b.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:b.term,params:b}}):a.call(this,b,c)},a}),i.define("select2/data/maximumSelectionLength",[],function(){function a(a,b,c){this.maximumSelectionLength=c.get("maximumSelectionLength"),a.call(this,b,c)}return a.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("select",function(){d._checkIfMaximumSelected()})},a.prototype.query=function(a,b,c){var d=this;this._checkIfMaximumSelected(function(){a.call(d,b,c)})},a.prototype._checkIfMaximumSelected=function(a,b){var c=this;this.current(function(a){var d=null!=a?a.length:0;0<c.maximumSelectionLength&&d>=c.maximumSelectionLength?c.trigger("results:message",{message:"maximumSelected",args:{maximum:c.maximumSelectionLength}}):b&&b()})},a}),i.define("select2/dropdown",["jquery","./utils"],function(a,b){function c(a,b){this.$element=a,this.options=b,c.__super__.constructor.call(this)}return b.Extend(c,b.Observable),c.prototype.render=function(){var b=a('<span class="select2-dropdown"><span class="select2-results"></span></span>');return b.attr("dir",this.options.get("dir")),this.$dropdown=b},c.prototype.bind=function(){},c.prototype.position=function(a,b){},c.prototype.destroy=function(){this.$dropdown.remove()},c}),i.define("select2/dropdown/search",["jquery","../utils"],function(a,b){function c(){}return c.prototype.render=function(b){var c=b.call(this),d=a('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=d,this.$search=d.find("input"),c.prepend(d),c},c.prototype.bind=function(b,c,d){var e=this,f=c.id+"-results";b.call(this,c,d),this.$search.on("keydown",function(a){e.trigger("keypress",a),e._keyUpPrevented=a.isDefaultPrevented()}),this.$search.on("input",function(b){a(this).off("keyup")}),this.$search.on("keyup input",function(a){e.handleSearch(a)}),c.on("open",function(){e.$search.attr("tabindex",0),e.$search.attr("aria-controls",f),e.$search.trigger("focus"),window.setTimeout(function(){e.$search.trigger("focus")},0)}),c.on("close",function(){e.$search.attr("tabindex",-1),e.$search.removeAttr("aria-controls"),e.$search.removeAttr("aria-activedescendant"),e.$search.val(""),e.$search.trigger("blur")}),c.on("focus",function(){c.isOpen()||e.$search.trigger("focus")}),c.on("results:all",function(a){null!=a.query.term&&""!==a.query.term||(e.showSearch(a)?e.$searchContainer.removeClass("select2-search--hide"):e.$searchContainer.addClass("select2-search--hide"))}),c.on("results:focus",function(a){a.data._resultId?e.$search.attr("aria-activedescendant",a.data._resultId):e.$search.removeAttr("aria-activedescendant")})},c.prototype.handleSearch=function(a){if(!this._keyUpPrevented){var b=this.$search.val();this.trigger("query",{term:b})}this._keyUpPrevented=!1},c.prototype.showSearch=function(a,b){return!0},c}),i.define("select2/dropdown/hidePlaceholder",[],function(){function a(a,b,c,d){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c,d)}return a.prototype.append=function(a,b){b.results=this.removePlaceholder(b.results),a.call(this,b)},a.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},a.prototype.removePlaceholder=function(a,b){for(var c=b.slice(0),d=b.length-1;0<=d;d--){var e=b[d];this.placeholder.id===e.id&&c.splice(d,1)}return c},a}),i.define("select2/dropdown/infiniteScroll",["jquery"],function(a){function b(a,b,c,d){this.lastParams={},a.call(this,b,c,d),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return b.prototype.append=function(a,b){this.$loadingMore.remove(),this.loading=!1,a.call(this,b),this.showLoadingMore(b)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},b.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("query",function(a){d.lastParams=a,d.loading=!0}),b.on("query:append",function(a){d.lastParams=a,d.loading=!0}),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},b.prototype.loadMoreIfNeeded=function(){var b=a.contains(document.documentElement,this.$loadingMore[0]);if(!this.loading&&b){var c=this.$results.offset().top+this.$results.outerHeight(!1);this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)<=c+50&&this.loadMore()}},b.prototype.loadMore=function(){this.loading=!0;var b=a.extend({},{page:1},this.lastParams);b.page++,this.trigger("query:append",b)},b.prototype.showLoadingMore=function(a,b){return b.pagination&&b.pagination.more},b.prototype.createLoadingMore=function(){var b=a('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),c=this.options.get("translations").get("loadingMore");return b.html(c(this.lastParams)),b},b}),i.define("select2/dropdown/attachBody",["jquery","../utils"],function(a,b){function c(b,c,d){this.$dropdownParent=a(d.get("dropdownParent")||document.body),b.call(this,c,d)}return c.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("open",function(){d._showDropdown(),d._attachPositioningHandler(b),d._bindContainerResultHandlers(b)}),b.on("close",function(){d._hideDropdown(),d._detachPositioningHandler(b)}),this.$dropdownContainer.on("mousedown",function(a){a.stopPropagation()})},c.prototype.destroy=function(a){a.call(this),this.$dropdownContainer.remove()},c.prototype.position=function(a,b,c){b.attr("class",c.attr("class")),b.removeClass("select2"),b.addClass("select2-container--open"),b.css({position:"absolute",top:-999999}),this.$container=c},c.prototype.render=function(b){var c=a("<span></span>"),d=b.call(this);return c.append(d),this.$dropdownContainer=c},c.prototype._hideDropdown=function(a){this.$dropdownContainer.detach()},c.prototype._bindContainerResultHandlers=function(a,b){if(!this._containerResultsHandlersBound){var c=this;b.on("results:all",function(){c._positionDropdown(),c._resizeDropdown()}),b.on("results:append",function(){c._positionDropdown(),c._resizeDropdown()}),b.on("results:message",function(){c._positionDropdown(),c._resizeDropdown()}),b.on("select",function(){c._positionDropdown(),c._resizeDropdown()}),b.on("unselect",function(){c._positionDropdown(),c._resizeDropdown()}),this._containerResultsHandlersBound=!0}},c.prototype._attachPositioningHandler=function(c,d){var e=this,f="scroll.select2."+d.id,g="resize.select2."+d.id,h="orientationchange.select2."+d.id,i=this.$container.parents().filter(b.hasScroll);i.each(function(){b.StoreData(this,"select2-scroll-position",{x:a(this).scrollLeft(),y:a(this).scrollTop()})}),i.on(f,function(c){var d=b.GetData(this,"select2-scroll-position");a(this).scrollTop(d.y)}),a(window).on(f+" "+g+" "+h,function(a){e._positionDropdown(),e._resizeDropdown()})},c.prototype._detachPositioningHandler=function(c,d){var e="scroll.select2."+d.id,f="resize.select2."+d.id,g="orientationchange.select2."+d.id;this.$container.parents().filter(b.hasScroll).off(e),a(window).off(e+" "+f+" "+g)},c.prototype._positionDropdown=function(){var b=a(window),c=this.$dropdown.hasClass("select2-dropdown--above"),d=this.$dropdown.hasClass("select2-dropdown--below"),e=null,f=this.$container.offset();f.bottom=f.top+this.$container.outerHeight(!1);var g={height:this.$container.outerHeight(!1)};g.top=f.top,g.bottom=f.top+g.height;var h=this.$dropdown.outerHeight(!1),i=b.scrollTop(),j=b.scrollTop()+b.height(),k=i<f.top-h,l=j>f.bottom+h,m={left:f.left,top:g.bottom},n=this.$dropdownParent;"static"===n.css("position")&&(n=n.offsetParent());var o={top:0,left:0};(a.contains(document.body,n[0])||n[0].isConnected)&&(o=n.offset()),m.top-=o.top,m.left-=o.left,c||d||(e="below"),l||!k||c?!k&&l&&c&&(e="below"):e="above",("above"==e||c&&"below"!==e)&&(m.top=g.top-o.top-h),null!=e&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+e),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+e)),
7
  this.$dropdownContainer.css(m)},c.prototype._resizeDropdown=function(){var a={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(a.minWidth=a.width,a.position="relative",a.width="auto"),this.$dropdown.css(a)},c.prototype._showDropdown=function(a){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},c}),i.define("select2/dropdown/minimumResultsForSearch",[],function(){function a(a,b,c,d){this.minimumResultsForSearch=c.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),a.call(this,b,c,d)}return a.prototype.showSearch=function(a,b){return!(function a(b){for(var c=0,d=0;d<b.length;d++){var e=b[d];e.children?c+=a(e.children):c++}return c}(b.data.results)<this.minimumResultsForSearch)&&a.call(this,b)},a}),i.define("select2/dropdown/selectOnClose",["../utils"],function(a){function b(){}return b.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("close",function(a){d._handleSelectOnClose(a)})},b.prototype._handleSelectOnClose=function(b,c){if(c&&null!=c.originalSelect2Event){var d=c.originalSelect2Event;if("select"===d._type||"unselect"===d._type)return}var e=this.getHighlightedResults();if(!(e.length<1)){var f=a.GetData(e[0],"data");null!=f.element&&f.element.selected||null==f.element&&f.selected||this.trigger("select",{data:f})}},b}),i.define("select2/dropdown/closeOnSelect",[],function(){function a(){}return a.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("select",function(a){d._selectTriggered(a)}),b.on("unselect",function(a){d._selectTriggered(a)})},a.prototype._selectTriggered=function(a,b){var c=b.originalEvent;c&&(c.ctrlKey||c.metaKey)||this.trigger("close",{originalEvent:c,originalSelect2Event:b})},a}),i.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(a){var b=a.input.length-a.maximum,c="Please delete "+b+" character";return 1!=b&&(c+="s"),c},inputTooShort:function(a){return"Please enter "+(a.minimum-a.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(a){var b="You can only select "+a.maximum+" item";return 1!=a.maximum&&(b+="s"),b},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}}),i.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C){function D(){this.reset()}return D.prototype.apply=function(k){if(null==(k=a.extend(!0,{},this.defaults,k)).dataAdapter){if(null!=k.ajax?k.dataAdapter=o:null!=k.data?k.dataAdapter=n:k.dataAdapter=m,0<k.minimumInputLength&&(k.dataAdapter=j.Decorate(k.dataAdapter,r)),0<k.maximumInputLength&&(k.dataAdapter=j.Decorate(k.dataAdapter,s)),0<k.maximumSelectionLength&&(k.dataAdapter=j.Decorate(k.dataAdapter,t)),k.tags&&(k.dataAdapter=j.Decorate(k.dataAdapter,p)),null==k.tokenSeparators&&null==k.tokenizer||(k.dataAdapter=j.Decorate(k.dataAdapter,q)),null!=k.query){var l=b(k.amdBase+"compat/query");k.dataAdapter=j.Decorate(k.dataAdapter,l)}if(null!=k.initSelection){var C=b(k.amdBase+"compat/initSelection");k.dataAdapter=j.Decorate(k.dataAdapter,C)}}if(null==k.resultsAdapter&&(k.resultsAdapter=c,null!=k.ajax&&(k.resultsAdapter=j.Decorate(k.resultsAdapter,x)),null!=k.placeholder&&(k.resultsAdapter=j.Decorate(k.resultsAdapter,w)),k.selectOnClose&&(k.resultsAdapter=j.Decorate(k.resultsAdapter,A))),null==k.dropdownAdapter){if(k.multiple)k.dropdownAdapter=u;else{var D=j.Decorate(u,v);k.dropdownAdapter=D}if(0!==k.minimumResultsForSearch&&(k.dropdownAdapter=j.Decorate(k.dropdownAdapter,z)),k.closeOnSelect&&(k.dropdownAdapter=j.Decorate(k.dropdownAdapter,B)),null!=k.dropdownCssClass||null!=k.dropdownCss||null!=k.adaptDropdownCssClass){var E=b(k.amdBase+"compat/dropdownCss");k.dropdownAdapter=j.Decorate(k.dropdownAdapter,E)}k.dropdownAdapter=j.Decorate(k.dropdownAdapter,y)}if(null==k.selectionAdapter){if(k.multiple?k.selectionAdapter=e:k.selectionAdapter=d,null!=k.placeholder&&(k.selectionAdapter=j.Decorate(k.selectionAdapter,f)),k.allowClear&&(k.selectionAdapter=j.Decorate(k.selectionAdapter,g)),k.multiple&&(k.selectionAdapter=j.Decorate(k.selectionAdapter,h)),null!=k.containerCssClass||null!=k.containerCss||null!=k.adaptContainerCssClass){var F=b(k.amdBase+"compat/containerCss");k.selectionAdapter=j.Decorate(k.selectionAdapter,F)}k.selectionAdapter=j.Decorate(k.selectionAdapter,i)}k.language=this._resolveLanguage(k.language),k.language.push("en");for(var G=[],H=0;H<k.language.length;H++){var I=k.language[H];-1===G.indexOf(I)&&G.push(I)}return k.language=G,k.translations=this._processTranslations(k.language,k.debug),k},D.prototype.reset=function(){function b(a){return a.replace(/[^\u0000-\u007E]/g,function(a){return l[a]||a})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:j.escapeMarkup,language:{},matcher:function c(d,e){if(""===a.trim(d.term))return e;if(e.children&&0<e.children.length){for(var f=a.extend(!0,{},e),g=e.children.length-1;0<=g;g--)null==c(d,e.children[g])&&f.children.splice(g,1);return 0<f.children.length?f:c(d,f)}var h=b(e.text).toUpperCase(),i=b(d.term).toUpperCase();return-1<h.indexOf(i)?e:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(a){return a},templateResult:function(a){return a.text},templateSelection:function(a){return a.text},theme:"default",width:"resolve"}},D.prototype.applyFromElement=function(a,b){var c=a.language,d=this.defaults.language,e=b.prop("lang"),f=b.closest("[lang]").prop("lang"),g=Array.prototype.concat.call(this._resolveLanguage(e),this._resolveLanguage(c),this._resolveLanguage(d),this._resolveLanguage(f));return a.language=g,a},D.prototype._resolveLanguage=function(b){if(!b)return[];if(a.isEmptyObject(b))return[];if(a.isPlainObject(b))return[b];var c;c=a.isArray(b)?b:[b];for(var d=[],e=0;e<c.length;e++)if(d.push(c[e]),"string"==typeof c[e]&&0<c[e].indexOf("-")){var f=c[e].split("-")[0];d.push(f)}return d},D.prototype._processTranslations=function(b,c){for(var d=new k,e=0;e<b.length;e++){var f=new k,g=b[e];if("string"==typeof g)try{f=k.loadPath(g)}catch(a){try{g=this.defaults.amdLanguageBase+g,f=k.loadPath(g)}catch(a){c&&window.console&&console.warn&&console.warn('Select2: The language file for "'+g+'" could not be automatically loaded. A fallback will be used instead.')}}else f=a.isPlainObject(g)?new k(g):g;d.extend(f)}return d},D.prototype.set=function(b,c){var d={};d[a.camelCase(b)]=c;var e=j._convertData(d);a.extend(!0,this.defaults,e)},new D}),i.define("select2/options",["require","jquery","./defaults","./utils"],function(a,b,c,d){function e(b,e){if(this.options=b,null!=e&&this.fromElement(e),null!=e&&(this.options=c.applyFromElement(this.options,e)),this.options=c.apply(this.options),e&&e.is("input")){var f=a(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=d.Decorate(this.options.dataAdapter,f)}}return e.prototype.fromElement=function(a){function c(a,b){return b.toUpperCase()}var e=["select2"];null==this.options.multiple&&(this.options.multiple=a.prop("multiple")),null==this.options.disabled&&(this.options.disabled=a.prop("disabled")),null==this.options.dir&&(a.prop("dir")?this.options.dir=a.prop("dir"):a.closest("[dir]").prop("dir")?this.options.dir=a.closest("[dir]").prop("dir"):this.options.dir="ltr"),a.prop("disabled",this.options.disabled),a.prop("multiple",this.options.multiple),d.GetData(a[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),d.StoreData(a[0],"data",d.GetData(a[0],"select2Tags")),d.StoreData(a[0],"tags",!0)),d.GetData(a[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),a.attr("ajax--url",d.GetData(a[0],"ajaxUrl")),d.StoreData(a[0],"ajax-Url",d.GetData(a[0],"ajaxUrl")));for(var f={},g=0;g<a[0].attributes.length;g++){var h=a[0].attributes[g].name,i="data-";if(h.substr(0,i.length)==i){var j=h.substring(i.length),k=d.GetData(a[0],j);f[j.replace(/-([a-z])/g,c)]=k}}b.fn.jquery&&"1."==b.fn.jquery.substr(0,2)&&a[0].dataset&&(f=b.extend(!0,{},a[0].dataset,f));var l=b.extend(!0,{},d.GetData(a[0]),f);for(var m in l=d._convertData(l))-1<b.inArray(m,e)||(b.isPlainObject(this.options[m])?b.extend(this.options[m],l[m]):this.options[m]=l[m]);return this},e.prototype.get=function(a){return this.options[a]},e.prototype.set=function(a,b){this.options[a]=b},e}),i.define("select2/core",["jquery","./options","./utils","./keys"],function(a,b,c,d){var e=function(a,d){null!=c.GetData(a[0],"select2")&&c.GetData(a[0],"select2").destroy(),this.$element=a,this.id=this._generateId(a),d=d||{},this.options=new b(d,a),e.__super__.constructor.call(this);var f=a.attr("tabindex")||0;c.StoreData(a[0],"old-tabindex",f),a.attr("tabindex","-1");var g=this.options.get("dataAdapter");this.dataAdapter=new g(a,this.options);var h=this.render();this._placeContainer(h);var i=this.options.get("selectionAdapter");this.selection=new i(a,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,h);var j=this.options.get("dropdownAdapter");this.dropdown=new j(a,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,h);var k=this.options.get("resultsAdapter");this.results=new k(a,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var l=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(a){l.trigger("selection:update",{data:a})}),a.addClass("select2-hidden-accessible"),a.attr("aria-hidden","true"),this._syncAttributes(),c.StoreData(a[0],"select2",this),a.data("select2",this)};return c.Extend(e,c.Observable),e.prototype._generateId=function(a){return"select2-"+(null!=a.attr("id")?a.attr("id"):null!=a.attr("name")?a.attr("name")+"-"+c.generateChars(2):c.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},e.prototype._placeContainer=function(a){a.insertAfter(this.$element);var b=this._resolveWidth(this.$element,this.options.get("width"));null!=b&&a.css("width",b)},e.prototype._resolveWidth=function(a,b){var c=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==b){var d=this._resolveWidth(a,"style");return null!=d?d:this._resolveWidth(a,"element")}if("element"==b){var e=a.outerWidth(!1);return e<=0?"auto":e+"px"}if("style"!=b)return"computedstyle"!=b?b:window.getComputedStyle(a[0]).width;var f=a.attr("style");if("string"!=typeof f)return null;for(var g=f.split(";"),h=0,i=g.length;h<i;h+=1){var j=g[h].replace(/\s/g,"").match(c);if(null!==j&&1<=j.length)return j[1]}return null},e.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},e.prototype._registerDomEvents=function(){var a=this;this.$element.on("change.select2",function(){a.dataAdapter.current(function(b){a.trigger("selection:update",{data:b})})}),this.$element.on("focus.select2",function(b){a.trigger("focus",b)}),this._syncA=c.bind(this._syncAttributes,this),this._syncS=c.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var b=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=b?(this._observer=new b(function(b){a._syncA(),a._syncS(null,b)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",a._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",a._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",a._syncS,!1))},e.prototype._registerDataEvents=function(){var a=this;this.dataAdapter.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerSelectionEvents=function(){var b=this,c=["toggle","focus"];this.selection.on("toggle",function(){b.toggleDropdown()}),this.selection.on("focus",function(a){b.focus(a)}),this.selection.on("*",function(d,e){-1===a.inArray(d,c)&&b.trigger(d,e)})},e.prototype._registerDropdownEvents=function(){var a=this;this.dropdown.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerResultsEvents=function(){var a=this;this.results.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerEvents=function(){var a=this;this.on("open",function(){a.$container.addClass("select2-container--open")}),this.on("close",function(){a.$container.removeClass("select2-container--open")}),this.on("enable",function(){a.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){a.$container.addClass("select2-container--disabled")}),this.on("blur",function(){a.$container.removeClass("select2-container--focus")}),this.on("query",function(b){a.isOpen()||a.trigger("open",{}),this.dataAdapter.query(b,function(c){a.trigger("results:all",{data:c,query:b})})}),this.on("query:append",function(b){this.dataAdapter.query(b,function(c){a.trigger("results:append",{data:c,query:b})})}),this.on("keypress",function(b){var c=b.which;a.isOpen()?c===d.ESC||c===d.TAB||c===d.UP&&b.altKey?(a.close(b),b.preventDefault()):c===d.ENTER?(a.trigger("results:select",{}),b.preventDefault()):c===d.SPACE&&b.ctrlKey?(a.trigger("results:toggle",{}),b.preventDefault()):c===d.UP?(a.trigger("results:previous",{}),b.preventDefault()):c===d.DOWN&&(a.trigger("results:next",{}),b.preventDefault()):(c===d.ENTER||c===d.SPACE||c===d.DOWN&&b.altKey)&&(a.open(),b.preventDefault())})},e.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},e.prototype._isChangeMutation=function(b,c){var d=!1,e=this;if(!b||!b.target||"OPTION"===b.target.nodeName||"OPTGROUP"===b.target.nodeName){if(c)if(c.addedNodes&&0<c.addedNodes.length)for(var f=0;f<c.addedNodes.length;f++)c.addedNodes[f].selected&&(d=!0);else c.removedNodes&&0<c.removedNodes.length?d=!0:a.isArray(c)&&a.each(c,function(a,b){if(e._isChangeMutation(a,b))return!(d=!0)});else d=!0;return d}},e.prototype._syncSubtree=function(a,b){var c=this._isChangeMutation(a,b),d=this;c&&this.dataAdapter.current(function(a){d.trigger("selection:update",{data:a})})},e.prototype.trigger=function(a,b){var c=e.__super__.trigger,d={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===b&&(b={}),a in d){var f=d[a],g={prevented:!1,name:a,args:b};if(c.call(this,f,g),g.prevented)return void(b.prevented=!0)}c.call(this,a,b)},e.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},e.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},e.prototype.close=function(a){this.isOpen()&&this.trigger("close",{originalEvent:a})},e.prototype.isEnabled=function(){return!this.isDisabled()},e.prototype.isDisabled=function(){return this.options.get("disabled")},e.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},e.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},e.prototype.focus=function(a){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},e.prototype.enable=function(a){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=a&&0!==a.length||(a=[!0]);var b=!a[0];this.$element.prop("disabled",b)},e.prototype.data=function(){this.options.get("debug")&&0<arguments.length&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var a=[];return this.dataAdapter.current(function(b){a=b}),a},e.prototype.val=function(b){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==b||0===b.length)return this.$element.val();var c=b[0];a.isArray(c)&&(c=a.map(c,function(a){return a.toString()})),this.$element.val(c).trigger("input").trigger("change")},e.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",c.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),c.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},e.prototype.render=function(){var b=a('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return b.attr("dir",this.options.get("dir")),this.$container=b,this.$container.addClass("select2-container--"+this.options.get("theme")),c.StoreData(b[0],"element",this.$element),b},e}),i.define("select2/compat/utils",["jquery"],function(a){return{syncCssClasses:function(b,c,d){var e,f,g=[];(e=a.trim(b.attr("class")))&&a((e=""+e).split(/\s+/)).each(function(){0===this.indexOf("select2-")&&g.push(this)}),(e=a.trim(c.attr("class")))&&a((e=""+e).split(/\s+/)).each(function(){0!==this.indexOf("select2-")&&null!=(f=d(this))&&g.push(f)}),b.attr("class",g.join(" "))}}}),i.define("select2/compat/containerCss",["jquery","./utils"],function(a,b){function c(a){return null}function d(){}return d.prototype.render=function(d){var e=d.call(this),f=this.options.get("containerCssClass")||"";a.isFunction(f)&&(f=f(this.$element));var g=this.options.get("adaptContainerCssClass");if(g=g||c,-1!==f.indexOf(":all:")){f=f.replace(":all:","");var h=g;g=function(a){var b=h(a);return null!=b?b+" "+a:a}}var i=this.options.get("containerCss")||{};return a.isFunction(i)&&(i=i(this.$element)),b.syncCssClasses(e,this.$element,g),e.css(i),e.addClass(f),e},d}),i.define("select2/compat/dropdownCss",["jquery","./utils"],function(a,b){function c(a){return null}function d(){}return d.prototype.render=function(d){var e=d.call(this),f=this.options.get("dropdownCssClass")||"";a.isFunction(f)&&(f=f(this.$element));var g=this.options.get("adaptDropdownCssClass");if(g=g||c,-1!==f.indexOf(":all:")){f=f.replace(":all:","");var h=g;g=function(a){var b=h(a);return null!=b?b+" "+a:a}}var i=this.options.get("dropdownCss")||{};return a.isFunction(i)&&(i=i(this.$element)),b.syncCssClasses(e,this.$element,g),e.css(i),e.addClass(f),e},d}),i.define("select2/compat/initSelection",["jquery"],function(a){function b(a,b,c){c.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=c.get("initSelection"),this._isInitialized=!1,a.call(this,b,c)}return b.prototype.current=function(b,c){var d=this;this._isInitialized?b.call(this,c):this.initSelection.call(null,this.$element,function(b){d._isInitialized=!0,a.isArray(b)||(b=[b]),c(b)})},b}),i.define("select2/compat/inputData",["jquery","../utils"],function(a,b){function c(a,b,c){this._currentData=[],this._valueSeparator=c.get("valueSeparator")||",","hidden"===b.prop("type")&&c.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),a.call(this,b,c)}return c.prototype.current=function(b,c){function d(b,c){var e=[];return b.selected||-1!==a.inArray(b.id,c)?(b.selected=!0,e.push(b)):b.selected=!1,b.children&&e.push.apply(e,d(b.children,c)),e}for(var e=[],f=0;f<this._currentData.length;f++){var g=this._currentData[f];e.push.apply(e,d(g,this.$element.val().split(this._valueSeparator)))}c(e)},c.prototype.select=function(b,c){if(this.options.get("multiple")){var d=this.$element.val();d+=this._valueSeparator+c.id,this.$element.val(d),this.$element.trigger("input").trigger("change")}else this.current(function(b){a.map(b,function(a){a.selected=!1})}),this.$element.val(c.id),this.$element.trigger("input").trigger("change")},c.prototype.unselect=function(a,b){var c=this;b.selected=!1,this.current(function(a){for(var d=[],e=0;e<a.length;e++){var f=a[e];b.id!=f.id&&d.push(f.id)}c.$element.val(d.join(c._valueSeparator)),c.$element.trigger("input").trigger("change")})},c.prototype.query=function(a,b,c){for(var d=[],e=0;e<this._currentData.length;e++){var f=this._currentData[e],g=this.matches(b,f);null!==g&&d.push(g)}c({results:d})},c.prototype.addOptions=function(c,d){var e=a.map(d,function(a){return b.GetData(a[0],"data")});this._currentData.push.apply(this._currentData,e)},c}),i.define("select2/compat/matcher",["jquery"],function(a){return function(b){return function(c,d){var e=a.extend(!0,{},d);if(null==c.term||""===a.trim(c.term))return e;if(d.children){for(var f=d.children.length-1;0<=f;f--){var g=d.children[f];b(c.term,g.text,g)||e.children.splice(f,1)}if(0<e.children.length)return e}return b(c.term,d.text,d)?e:null}}}),i.define("select2/compat/query",[],function(){function a(a,b,c){c.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),a.call(this,b,c)}return a.prototype.query=function(a,b,c){b.callback=c,this.options.get("query").call(null,b)},a}),i.define("select2/dropdown/attachContainer",[],function(){function a(a,b,c){a.call(this,b,c)}return a.prototype.position=function(a,b,c){c.find(".dropdown-wrapper").append(b),b.addClass("select2-dropdown--below"),c.addClass("select2-container--below")},a}),i.define("select2/dropdown/stopPropagation",[],function(){function a(){}return a.prototype.bind=function(a,b,c){a.call(this,b,c),this.$dropdown.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(a){a.stopPropagation()})},a}),i.define("select2/selection/stopPropagation",[],function(){function a(){}return a.prototype.bind=function(a,b,c){a.call(this,b,c),this.$selection.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(a){a.stopPropagation()})},a}),y=function(a){function b(b){var g,h=b||window.event,j=i.call(arguments,1),l=0,m=0,n=0,o=0,p=0;if((b=a.event.fix(h)).type="mousewheel","detail"in h&&(n=-1*h.detail),"wheelDelta"in h&&(n=h.wheelDelta),"wheelDeltaY"in h&&(n=h.wheelDeltaY),"wheelDeltaX"in h&&(m=-1*h.wheelDeltaX),"axis"in h&&h.axis===h.HORIZONTAL_AXIS&&(m=-1*n,n=0),l=0===n?m:n,"deltaY"in h&&(l=n=-1*h.deltaY),"deltaX"in h&&(m=h.deltaX,0===n&&(l=-1*m)),0!==n||0!==m){if(1===h.deltaMode){var q=a.data(this,"mousewheel-line-height");l*=q,n*=q,m*=q}else if(2===h.deltaMode){var r=a.data(this,"mousewheel-page-height");l*=r,n*=r,m*=r}if(g=Math.max(Math.abs(n),Math.abs(m)),(!f||g<f)&&d(h,f=g)&&(f/=40),d(h,g)&&(l/=40,m/=40,n/=40),l=Math[1<=l?"floor":"ceil"](l/f),m=Math[1<=m?"floor":"ceil"](m/f),n=Math[1<=n?"floor":"ceil"](n/f),k.settings.normalizeOffset&&this.getBoundingClientRect){var s=this.getBoundingClientRect();o=b.clientX-s.left,p=b.clientY-s.top}return b.deltaX=m,b.deltaY=n,b.deltaFactor=f,b.offsetX=o,b.offsetY=p,b.deltaMode=0,j.unshift(b,l,m,n),e&&clearTimeout(e),e=setTimeout(c,200),(a.event.dispatch||a.event.handle).apply(this,j)}}function c(){f=null}function d(a,b){return k.settings.adjustOldDeltas&&"mousewheel"===a.type&&b%120==0}var e,f,g=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],h="onwheel"in document||9<=document.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],i=Array.prototype.slice;if(a.event.fixHooks)for(var j=g.length;j;)a.event.fixHooks[g[--j]]=a.event.mouseHooks;var k=a.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var c=h.length;c;)this.addEventListener(h[--c],b,!1);else this.onmousewheel=b;a.data(this,"mousewheel-line-height",k.getLineHeight(this)),a.data(this,"mousewheel-page-height",k.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var c=h.length;c;)this.removeEventListener(h[--c],b,!1);else this.onmousewheel=null;a.removeData(this,"mousewheel-line-height"),a.removeData(this,"mousewheel-page-height")},getLineHeight:function(b){var c=a(b),d=c["offsetParent"in a.fn?"offsetParent":"parent"]();return d.length||(d=a("body")),parseInt(d.css("fontSize"),10)||parseInt(c.css("fontSize"),10)||16},getPageHeight:function(b){return a(b).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})},"function"==typeof i.define&&i.define.amd?i.define("jquery-mousewheel",["jquery"],y):"object"==typeof exports?module.exports=y:y(a),i.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(a,b,c,d,e){if(null==a.fn.select2){var f=["open","close","destroy"];a.fn.select2=function(b){if("object"==typeof(b=b||{}))return this.each(function(){var d=a.extend(!0,{},b);new c(a(this),d)}),this;if("string"!=typeof b)throw new Error("Invalid arguments for Select2: "+b);var d,g=Array.prototype.slice.call(arguments,1);return this.each(function(){var a=e.GetData(this,"select2");null==a&&window.console&&console.error&&console.error("The select2('"+b+"') method was called on an element that is not using Select2."),d=a[b].apply(a,g)}),-1<a.inArray(b,f)?this:d}}return null==a.fn.select2.defaults&&(a.fn.select2.defaults=d),c}),{define:i.define,require:i.require}}(),c=b.require("jquery.select2");return a.fn.select2.amd=b,c}),!function(a){"undefined"!=typeof jQuery&&jQuery||"function"!=typeof define||!define.amd?"undefined"!=typeof jQuery&&jQuery||"object"!=typeof exports?a(jQuery,document,window,navigator):a(require("jquery"),document,window,navigator):define(["jquery"],function(b){return a(b,document,window,navigator)})}(function(a,b,c,d,e){"use strict";function f(d,f,g){this.VERSION="2.3.1",this.input=d,this.plugin_count=g,this.current_plugin=0,this.calc_count=0,this.update_tm=0,this.old_from=0,this.old_to=0,this.old_min_interval=null,this.raf_id=null,this.dragging=!1,this.force_redraw=!1,this.no_diapason=!1,this.has_tab_index=!0,this.is_key=!1,this.is_update=!1,this.is_start=!0,this.is_finish=!1,this.is_active=!1,this.is_resize=!1,this.is_click=!1,f=f||{},this.$cache={win:a(c),body:a(b.body),input:a(d),cont:null,rs:null,min:null,max:null,from:null,to:null,single:null,bar:null,line:null,s_single:null,s_from:null,s_to:null,shad_single:null,shad_from:null,shad_to:null,edge:null,grid:null,grid_labels:[]},this.coords={x_gap:0,x_pointer:0,w_rs:0,w_rs_old:0,w_handle:0,p_gap:0,p_gap_left:0,p_gap_right:0,p_step:0,p_pointer:0,p_handle:0,p_single_fake:0,p_single_real:0,p_from_fake:0,p_from_real:0,p_to_fake:0,p_to_real:0,p_bar_x:0,p_bar_w:0,grid_gap:0,big_num:0,big:[],big_w:[],big_p:[],big_x:[]},this.labels={w_min:0,w_max:0,w_from:0,w_to:0,w_single:0,p_min:0,p_max:0,p_from_fake:0,p_from_left:0,p_to_fake:0,p_to_left:0,p_single_fake:0,p_single_left:0};var h,i,j,k=this.$cache.input,l=k.prop("value");for(j in h={skin:"flat",type:"single",min:10,max:100,from:null,to:null,step:1,min_interval:0,max_interval:0,drag_interval:!1,values:[],p_values:[],from_fixed:!1,from_min:null,from_max:null,from_shadow:!1,to_fixed:!1,to_min:null,to_max:null,to_shadow:!1,prettify_enabled:!0,prettify_separator:" ",prettify:null,force_edges:!1,keyboard:!0,grid:!1,grid_margin:!0,grid_num:4,grid_snap:!1,hide_min_max:!1,hide_from_to:!1,prefix:"",postfix:"",max_postfix:"",decorate_both:!0,values_separator:" — ",input_values_separator:";",disable:!1,block:!1,extra_classes:"",scope:null,onStart:null,onChange:null,onFinish:null,onUpdate:null},"INPUT"!==k[0].nodeName&&console&&console.warn&&console.warn("Base element should be <input>!",k[0]),(i={skin:k.data("skin"),type:k.data("type"),min:k.data("min"),max:k.data("max"),from:k.data("from"),to:k.data("to"),step:k.data("step"),min_interval:k.data("minInterval"),max_interval:k.data("maxInterval"),drag_interval:k.data("dragInterval"),values:k.data("values"),from_fixed:k.data("fromFixed"),from_min:k.data("fromMin"),from_max:k.data("fromMax"),from_shadow:k.data("fromShadow"),to_fixed:k.data("toFixed"),to_min:k.data("toMin"),to_max:k.data("toMax"),to_shadow:k.data("toShadow"),prettify_enabled:k.data("prettifyEnabled"),prettify_separator:k.data("prettifySeparator"),force_edges:k.data("forceEdges"),keyboard:k.data("keyboard"),grid:k.data("grid"),grid_margin:k.data("gridMargin"),grid_num:k.data("gridNum"),grid_snap:k.data("gridSnap"),hide_min_max:k.data("hideMinMax"),hide_from_to:k.data("hideFromTo"),prefix:k.data("prefix"),postfix:k.data("postfix"),max_postfix:k.data("maxPostfix"),decorate_both:k.data("decorateBoth"),values_separator:k.data("valuesSeparator"),input_values_separator:k.data("inputValuesSeparator"),disable:k.data("disable"),block:k.data("block"),extra_classes:k.data("extraClasses")}).values=i.values&&i.values.split(","),i)i.hasOwnProperty(j)&&(i[j]!==e&&""!==i[j]||delete i[j]);l!==e&&""!==l&&((l=l.split(i.input_values_separator||f.input_values_separator||";"))[0]&&l[0]==+l[0]&&(l[0]=+l[0]),l[1]&&l[1]==+l[1]&&(l[1]=+l[1]),f&&f.values&&f.values.length?(h.from=l[0]&&f.values.indexOf(l[0]),h.to=l[1]&&f.values.indexOf(l[1])):(h.from=l[0]&&+l[0],h.to=l[1]&&+l[1])),a.extend(h,f),a.extend(h,i),this.options=h,this.update_check={},this.validate(),this.result={input:this.$cache.input,slider:null,min:this.options.min,
8
  max:this.options.max,from:this.options.from,from_percent:0,from_value:null,to:this.options.to,to_percent:0,to_value:null},this.init()}var g,h,i=0,j=(g=d.userAgent,h=/msie\s\d+/i,0<g.search(h)&&h.exec(g).toString().split(" ")[1]<9&&(a("html").addClass("lt-ie9"),!0));Function.prototype.bind||(Function.prototype.bind=function(a){var b=this,c=[].slice;if("function"!=typeof b)throw new TypeError;var d=c.call(arguments,1),e=function(){if(this instanceof e){var f=function(){};f.prototype=b.prototype;var g=new f,h=b.apply(g,d.concat(c.call(arguments)));return Object(h)===h?h:g}return b.apply(a,d.concat(c.call(arguments)))};return e}),Array.prototype.indexOf||(Array.prototype.indexOf=function(a,b){var c;if(null==this)throw new TypeError('"this" is null or not defined');var d=Object(this),e=d.length>>>0;if(0==e)return-1;var f=+b||0;if(Math.abs(f)===1/0&&(f=0),e<=f)return-1;for(c=Math.max(0<=f?f:e-Math.abs(f),0);c<e;){if(c in d&&d[c]===a)return c;c++}return-1}),f.prototype={init:function(a){this.no_diapason=!1,this.coords.p_step=this.convertToPercent(this.options.step,!0),this.target="base",this.toggleInput(),this.append(),this.setMinMax(),a?(this.force_redraw=!0,this.calc(!0),this.callOnUpdate()):(this.force_redraw=!0,this.calc(!0),this.callOnStart()),this.updateScene()},append:function(){var a='<span class="irs irs--'+this.options.skin+" js-irs-"+this.plugin_count+" "+this.options.extra_classes+'"></span>';this.$cache.input.before(a),this.$cache.input.prop("readonly",!0),this.$cache.cont=this.$cache.input.prev(),this.result.slider=this.$cache.cont,this.$cache.cont.html('<span class="irs"><span class="irs-line" tabindex="0"></span><span class="irs-min">0</span><span class="irs-max">1</span><span class="irs-from">0</span><span class="irs-to">0</span><span class="irs-single">0</span></span><span class="irs-grid"></span>'),this.$cache.rs=this.$cache.cont.find(".irs"),this.$cache.min=this.$cache.cont.find(".irs-min"),this.$cache.max=this.$cache.cont.find(".irs-max"),this.$cache.from=this.$cache.cont.find(".irs-from"),this.$cache.to=this.$cache.cont.find(".irs-to"),this.$cache.single=this.$cache.cont.find(".irs-single"),this.$cache.line=this.$cache.cont.find(".irs-line"),this.$cache.grid=this.$cache.cont.find(".irs-grid"),"single"===this.options.type?(this.$cache.cont.append('<span class="irs-bar irs-bar--single"></span><span class="irs-shadow shadow-single"></span><span class="irs-handle single"><i></i><i></i><i></i></span>'),this.$cache.bar=this.$cache.cont.find(".irs-bar"),this.$cache.edge=this.$cache.cont.find(".irs-bar-edge"),this.$cache.s_single=this.$cache.cont.find(".single"),this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.shad_single=this.$cache.cont.find(".shadow-single")):(this.$cache.cont.append('<span class="irs-bar"></span><span class="irs-shadow shadow-from"></span><span class="irs-shadow shadow-to"></span><span class="irs-handle from"><i></i><i></i><i></i></span><span class="irs-handle to"><i></i><i></i><i></i></span>'),this.$cache.bar=this.$cache.cont.find(".irs-bar"),this.$cache.s_from=this.$cache.cont.find(".from"),this.$cache.s_to=this.$cache.cont.find(".to"),this.$cache.shad_from=this.$cache.cont.find(".shadow-from"),this.$cache.shad_to=this.$cache.cont.find(".shadow-to"),this.setTopHandler()),this.options.hide_from_to&&(this.$cache.from[0].style.display="none",this.$cache.to[0].style.display="none",this.$cache.single[0].style.display="none"),this.appendGrid(),this.options.disable?(this.appendDisableMask(),this.$cache.input[0].disabled=!0):(this.$cache.input[0].disabled=!1,this.removeDisableMask(),this.bindEvents()),this.options.disable||(this.options.block?this.appendDisableMask():this.removeDisableMask()),this.options.drag_interval&&(this.$cache.bar[0].style.cursor="ew-resize")},setTopHandler:function(){var a=this.options.min,b=this.options.max,c=this.options.from,d=this.options.to;a<c&&d===b?this.$cache.s_from.addClass("type_last"):d<b&&this.$cache.s_to.addClass("type_last")},changeLevel:function(a){switch(a){case"single":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_single_fake),this.$cache.s_single.addClass("state_hover");break;case"from":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_from_fake),this.$cache.s_from.addClass("state_hover"),this.$cache.s_from.addClass("type_last"),this.$cache.s_to.removeClass("type_last");break;case"to":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_to_fake),this.$cache.s_to.addClass("state_hover"),this.$cache.s_to.addClass("type_last"),this.$cache.s_from.removeClass("type_last");break;case"both":this.coords.p_gap_left=this.toFixed(this.coords.p_pointer-this.coords.p_from_fake),this.coords.p_gap_right=this.toFixed(this.coords.p_to_fake-this.coords.p_pointer),this.$cache.s_to.removeClass("type_last"),this.$cache.s_from.removeClass("type_last")}},appendDisableMask:function(){this.$cache.cont.append('<span class="irs-disable-mask"></span>'),this.$cache.cont.addClass("irs-disabled")},removeDisableMask:function(){this.$cache.cont.remove(".irs-disable-mask"),this.$cache.cont.removeClass("irs-disabled")},remove:function(){this.$cache.cont.remove(),this.$cache.cont=null,this.$cache.line.off("keydown.irs_"+this.plugin_count),this.$cache.body.off("touchmove.irs_"+this.plugin_count),this.$cache.body.off("mousemove.irs_"+this.plugin_count),this.$cache.win.off("touchend.irs_"+this.plugin_count),this.$cache.win.off("mouseup.irs_"+this.plugin_count),j&&(this.$cache.body.off("mouseup.irs_"+this.plugin_count),this.$cache.body.off("mouseleave.irs_"+this.plugin_count)),this.$cache.grid_labels=[],this.coords.big=[],this.coords.big_w=[],this.coords.big_p=[],this.coords.big_x=[],cancelAnimationFrame(this.raf_id)},bindEvents:function(){this.no_diapason||(this.$cache.body.on("touchmove.irs_"+this.plugin_count,this.pointerMove.bind(this)),this.$cache.body.on("mousemove.irs_"+this.plugin_count,this.pointerMove.bind(this)),this.$cache.win.on("touchend.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.win.on("mouseup.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.line.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.line.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.line.on("focus.irs_"+this.plugin_count,this.pointerFocus.bind(this)),this.options.drag_interval&&"double"===this.options.type?(this.$cache.bar.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"both")),this.$cache.bar.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"both"))):(this.$cache.bar.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.bar.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))),"single"===this.options.type?(this.$cache.single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.s_single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.shad_single.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.s_single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.edge.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_single.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))):(this.$cache.single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,null)),this.$cache.single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,null)),this.$cache.from.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.s_from.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.to.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.s_to.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.shad_from.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_to.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.from.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.s_from.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.to.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.s_to.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.shad_from.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_to.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))),this.options.keyboard&&this.$cache.line.on("keydown.irs_"+this.plugin_count,this.key.bind(this,"keyboard")),j&&(this.$cache.body.on("mouseup.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.body.on("mouseleave.irs_"+this.plugin_count,this.pointerUp.bind(this))))},pointerFocus:function(a){var b,c;this.target||(b=(c="single"===this.options.type?this.$cache.single:this.$cache.from).offset().left,b+=c.width()/2-1,this.pointerClick("single",{preventDefault:function(){},pageX:b}))},pointerMove:function(a){if(this.dragging){var b=a.pageX||a.originalEvent.touches&&a.originalEvent.touches[0].pageX;this.coords.x_pointer=b-this.coords.x_gap,this.calc()}},pointerUp:function(b){this.current_plugin===this.plugin_count&&this.is_active&&(this.is_active=!1,this.$cache.cont.find(".state_hover").removeClass("state_hover"),this.force_redraw=!0,j&&a("*").prop("unselectable",!1),this.updateScene(),this.restoreOriginalMinInterval(),(a.contains(this.$cache.cont[0],b.target)||this.dragging)&&this.callOnFinish(),this.dragging=!1)},pointerDown:function(b,c){c.preventDefault();var d=c.pageX||c.originalEvent.touches&&c.originalEvent.touches[0].pageX;2!==c.button&&("both"===b&&this.setTempMinInterval(),b=b||this.target||"from",this.current_plugin=this.plugin_count,this.target=b,this.is_active=!0,this.dragging=!0,this.coords.x_gap=this.$cache.rs.offset().left,this.coords.x_pointer=d-this.coords.x_gap,this.calcPointerPercent(),this.changeLevel(b),j&&a("*").prop("unselectable",!0),this.$cache.line.trigger("focus"),this.updateScene())},pointerClick:function(a,b){b.preventDefault();var c=b.pageX||b.originalEvent.touches&&b.originalEvent.touches[0].pageX;2!==b.button&&(this.current_plugin=this.plugin_count,this.target=a,this.is_click=!0,this.coords.x_gap=this.$cache.rs.offset().left,this.coords.x_pointer=+(c-this.coords.x_gap).toFixed(),this.force_redraw=!0,this.calc(),this.$cache.line.trigger("focus"))},key:function(a,b){if(!(this.current_plugin!==this.plugin_count||b.altKey||b.ctrlKey||b.shiftKey||b.metaKey)){switch(b.which){case 83:case 65:case 40:case 37:b.preventDefault(),this.moveByKey(!1);break;case 87:case 68:case 38:case 39:b.preventDefault(),this.moveByKey(!0)}return!0}},moveByKey:function(a){var b=this.coords.p_pointer,c=(this.options.max-this.options.min)/100;c=this.options.step/c,a?b+=c:b-=c,this.coords.x_pointer=this.toFixed(this.coords.w_rs/100*b),this.is_key=!0,this.calc()},setMinMax:function(){if(this.options){if(this.options.hide_min_max)return this.$cache.min[0].style.display="none",void(this.$cache.max[0].style.display="none");if(this.options.values.length)this.$cache.min.html(this.decorate(this.options.p_values[this.options.min])),this.$cache.max.html(this.decorate(this.options.p_values[this.options.max]));else{var a=this._prettify(this.options.min),b=this._prettify(this.options.max);this.result.min_pretty=a,this.result.max_pretty=b,this.$cache.min.html(this.decorate(a,this.options.min)),this.$cache.max.html(this.decorate(b,this.options.max))}this.labels.w_min=this.$cache.min.outerWidth(!1),this.labels.w_max=this.$cache.max.outerWidth(!1)}},setTempMinInterval:function(){var a=this.result.to-this.result.from;null===this.old_min_interval&&(this.old_min_interval=this.options.min_interval),this.options.min_interval=a},restoreOriginalMinInterval:function(){null!==this.old_min_interval&&(this.options.min_interval=this.old_min_interval,this.old_min_interval=null)},calc:function(a){if(this.options&&(this.calc_count++,10!==this.calc_count&&!a||(this.calc_count=0,this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.calcHandlePercent()),this.coords.w_rs)){this.calcPointerPercent();var b=this.getHandleX();switch("both"===this.target&&(this.coords.p_gap=0,b=this.getHandleX()),"click"===this.target&&(this.coords.p_gap=this.coords.p_handle/2,b=this.getHandleX(),this.options.drag_interval?this.target="both_one":this.target=this.chooseHandle(b)),this.target){case"base":var c=(this.options.max-this.options.min)/100,d=(this.result.from-this.options.min)/c,e=(this.result.to-this.options.min)/c;this.coords.p_single_real=this.toFixed(d),this.coords.p_from_real=this.toFixed(d),this.coords.p_to_real=this.toFixed(e),this.coords.p_single_real=this.checkDiapason(this.coords.p_single_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_single_fake=this.convertToFakePercent(this.coords.p_single_real),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real),this.target=null;break;case"single":if(this.options.from_fixed)break;this.coords.p_single_real=this.convertToRealPercent(b),this.coords.p_single_real=this.calcWithStep(this.coords.p_single_real),this.coords.p_single_real=this.checkDiapason(this.coords.p_single_real,this.options.from_min,this.options.from_max),this.coords.p_single_fake=this.convertToFakePercent(this.coords.p_single_real);break;case"from":if(this.options.from_fixed)break;this.coords.p_from_real=this.convertToRealPercent(b),this.coords.p_from_real=this.calcWithStep(this.coords.p_from_real),this.coords.p_from_real>this.coords.p_to_real&&(this.coords.p_from_real=this.coords.p_to_real),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkMinInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_real=this.checkMaxInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real);break;case"to":if(this.options.to_fixed)break;this.coords.p_to_real=this.convertToRealPercent(b),this.coords.p_to_real=this.calcWithStep(this.coords.p_to_real),this.coords.p_to_real<this.coords.p_from_real&&(this.coords.p_to_real=this.coords.p_from_real),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_real=this.checkMinInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_real=this.checkMaxInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real);break;case"both":if(this.options.from_fixed||this.options.to_fixed)break;b=this.toFixed(b+.001*this.coords.p_handle),this.coords.p_from_real=this.convertToRealPercent(b)-this.coords.p_gap_left,this.coords.p_from_real=this.calcWithStep(this.coords.p_from_real),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkMinInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_real=this.convertToRealPercent(b)+this.coords.p_gap_right,this.coords.p_to_real=this.calcWithStep(this.coords.p_to_real),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_real=this.checkMinInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real);break;case"both_one":if(this.options.from_fixed||this.options.to_fixed)break;var f=this.convertToRealPercent(b),g=this.result.from_percent,h=this.result.to_percent-g,i=h/2,j=f-i,k=f+i;j<0&&(k=(j=0)+h),100<k&&(j=(k=100)-h),this.coords.p_from_real=this.calcWithStep(j),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_real=this.calcWithStep(k),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real)}"single"===this.options.type?(this.coords.p_bar_x=this.coords.p_handle/2,this.coords.p_bar_w=this.coords.p_single_fake,this.result.from_percent=this.coords.p_single_real,this.result.from=this.convertToValue(this.coords.p_single_real),this.result.from_pretty=this._prettify(this.result.from),this.options.values.length&&(this.result.from_value=this.options.values[this.result.from])):(this.coords.p_bar_x=this.toFixed(this.coords.p_from_fake+this.coords.p_handle/2),this.coords.p_bar_w=this.toFixed(this.coords.p_to_fake-this.coords.p_from_fake),this.result.from_percent=this.coords.p_from_real,this.result.from=this.convertToValue(this.coords.p_from_real),this.result.from_pretty=this._prettify(this.result.from),this.result.to_percent=this.coords.p_to_real,this.result.to=this.convertToValue(this.coords.p_to_real),this.result.to_pretty=this._prettify(this.result.to),this.options.values.length&&(this.result.from_value=this.options.values[this.result.from],this.result.to_value=this.options.values[this.result.to])),this.calcMinMax(),this.calcLabels()}},calcPointerPercent:function(){this.coords.w_rs?(this.coords.x_pointer<0||isNaN(this.coords.x_pointer)?this.coords.x_pointer=0:this.coords.x_pointer>this.coords.w_rs&&(this.coords.x_pointer=this.coords.w_rs),this.coords.p_pointer=this.toFixed(this.coords.x_pointer/this.coords.w_rs*100)):this.coords.p_pointer=0},convertToRealPercent:function(a){return a/(100-this.coords.p_handle)*100},convertToFakePercent:function(a){return a/100*(100-this.coords.p_handle)},getHandleX:function(){var a=100-this.coords.p_handle,b=this.toFixed(this.coords.p_pointer-this.coords.p_gap);return b<0?b=0:a<b&&(b=a),b},calcHandlePercent:function(){"single"===this.options.type?this.coords.w_handle=this.$cache.s_single.outerWidth(!1):this.coords.w_handle=this.$cache.s_from.outerWidth(!1),this.coords.p_handle=this.toFixed(this.coords.w_handle/this.coords.w_rs*100)},chooseHandle:function(a){return"single"===this.options.type?"single":this.coords.p_from_real+(this.coords.p_to_real-this.coords.p_from_real)/2<=a?this.options.to_fixed?"from":"to":this.options.from_fixed?"to":"from"},calcMinMax:function(){this.coords.w_rs&&(this.labels.p_min=this.labels.w_min/this.coords.w_rs*100,this.labels.p_max=this.labels.w_max/this.coords.w_rs*100)},calcLabels:function(){this.coords.w_rs&&!this.options.hide_from_to&&("single"===this.options.type?(this.labels.w_single=this.$cache.single.outerWidth(!1),this.labels.p_single_fake=this.labels.w_single/this.coords.w_rs*100,this.labels.p_single_left=this.coords.p_single_fake+this.coords.p_handle/2-this.labels.p_single_fake/2):(this.labels.w_from=this.$cache.from.outerWidth(!1),this.labels.p_from_fake=this.labels.w_from/this.coords.w_rs*100,this.labels.p_from_left=this.coords.p_from_fake+this.coords.p_handle/2-this.labels.p_from_fake/2,this.labels.p_from_left=this.toFixed(this.labels.p_from_left),this.labels.p_from_left=this.checkEdges(this.labels.p_from_left,this.labels.p_from_fake),this.labels.w_to=this.$cache.to.outerWidth(!1),this.labels.p_to_fake=this.labels.w_to/this.coords.w_rs*100,this.labels.p_to_left=this.coords.p_to_fake+this.coords.p_handle/2-this.labels.p_to_fake/2,this.labels.p_to_left=this.toFixed(this.labels.p_to_left),this.labels.p_to_left=this.checkEdges(this.labels.p_to_left,this.labels.p_to_fake),this.labels.w_single=this.$cache.single.outerWidth(!1),this.labels.p_single_fake=this.labels.w_single/this.coords.w_rs*100,this.labels.p_single_left=(this.labels.p_from_left+this.labels.p_to_left+this.labels.p_to_fake)/2-this.labels.p_single_fake/2,this.labels.p_single_left=this.toFixed(this.labels.p_single_left)),this.labels.p_single_left=this.checkEdges(this.labels.p_single_left,this.labels.p_single_fake))},updateScene:function(){this.raf_id&&(cancelAnimationFrame(this.raf_id),this.raf_id=null),clearTimeout(this.update_tm),this.update_tm=null,this.options&&(this.drawHandles(),this.is_active?this.raf_id=requestAnimationFrame(this.updateScene.bind(this)):this.update_tm=setTimeout(this.updateScene.bind(this),300))},drawHandles:function(){this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.coords.w_rs&&(this.coords.w_rs!==this.coords.w_rs_old&&(this.target="base",this.is_resize=!0),this.coords.w_rs===this.coords.w_rs_old&&!this.force_redraw||(this.setMinMax(),this.calc(!0),this.drawLabels(),this.options.grid&&(this.calcGridMargin(),this.calcGridLabels()),this.force_redraw=!0,this.coords.w_rs_old=this.coords.w_rs,this.drawShadow()),this.coords.w_rs&&(this.dragging||this.force_redraw||this.is_key)&&((this.old_from!==this.result.from||this.old_to!==this.result.to||this.force_redraw||this.is_key)&&(this.drawLabels(),this.$cache.bar[0].style.left=this.coords.p_bar_x+"%",this.$cache.bar[0].style.width=this.coords.p_bar_w+"%","single"===this.options.type?(this.$cache.bar[0].style.left=0,this.$cache.bar[0].style.width=this.coords.p_bar_w+this.coords.p_bar_x+"%",this.$cache.s_single[0].style.left=this.coords.p_single_fake+"%"):(this.$cache.s_from[0].style.left=this.coords.p_from_fake+"%",this.$cache.s_to[0].style.left=this.coords.p_to_fake+"%",this.old_from===this.result.from&&!this.force_redraw||(this.$cache.from[0].style.left=this.labels.p_from_left+"%"),this.old_to===this.result.to&&!this.force_redraw||(this.$cache.to[0].style.left=this.labels.p_to_left+"%")),this.$cache.single[0].style.left=this.labels.p_single_left+"%",this.writeToInput(),this.old_from===this.result.from&&this.old_to===this.result.to||this.is_start||(this.$cache.input.trigger("change"),this.$cache.input.trigger("input")),this.old_from=this.result.from,this.old_to=this.result.to,this.is_resize||this.is_update||this.is_start||this.is_finish||this.callOnChange(),(this.is_key||this.is_click)&&(this.is_key=!1,this.is_click=!1,this.callOnFinish()),this.is_update=!1,this.is_resize=!1,this.is_finish=!1),this.is_start=!1,this.is_key=!1,this.is_click=!1,this.force_redraw=!1))},drawLabels:function(){if(this.options){var a,b,c,d,e,f=this.options.values.length,g=this.options.p_values;if(!this.options.hide_from_to)if("single"===this.options.type)a=f?this.decorate(g[this.result.from]):(d=this._prettify(this.result.from),this.decorate(d,this.result.from)),this.$cache.single.html(a),this.calcLabels(),this.labels.p_single_left<this.labels.p_min+1?this.$cache.min[0].style.visibility="hidden":this.$cache.min[0].style.visibility="visible",this.labels.p_single_left+this.labels.p_single_fake>100-this.labels.p_max-1?this.$cache.max[0].style.visibility="hidden":this.$cache.max[0].style.visibility="visible";else{c=f?(this.options.decorate_both?(a=this.decorate(g[this.result.from]),a+=this.options.values_separator,a+=this.decorate(g[this.result.to])):a=this.decorate(g[this.result.from]+this.options.values_separator+g[this.result.to]),b=this.decorate(g[this.result.from]),this.decorate(g[this.result.to])):(d=this._prettify(this.result.from),e=this._prettify(this.result.to),this.options.decorate_both?(a=this.decorate(d,this.result.from),a+=this.options.values_separator,a+=this.decorate(e,this.result.to)):a=this.decorate(d+this.options.values_separator+e,this.result.to),b=this.decorate(d,this.result.from),this.decorate(e,this.result.to)),this.$cache.single.html(a),this.$cache.from.html(b),this.$cache.to.html(c),this.calcLabels();var h=Math.min(this.labels.p_single_left,this.labels.p_from_left),i=this.labels.p_single_left+this.labels.p_single_fake,j=this.labels.p_to_left+this.labels.p_to_fake,k=Math.max(i,j);this.labels.p_from_left+this.labels.p_from_fake>=this.labels.p_to_left?(this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.single[0].style.visibility="visible",k=this.result.from===this.result.to?("from"===this.target?this.$cache.from[0].style.visibility="visible":"to"===this.target?this.$cache.to[0].style.visibility="visible":this.target||(this.$cache.from[0].style.visibility="visible"),this.$cache.single[0].style.visibility="hidden",j):(this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.single[0].style.visibility="visible",Math.max(i,j))):(this.$cache.from[0].style.visibility="visible",this.$cache.to[0].style.visibility="visible",this.$cache.single[0].style.visibility="hidden"),h<this.labels.p_min+1?this.$cache.min[0].style.visibility="hidden":this.$cache.min[0].style.visibility="visible",k>100-this.labels.p_max-1?this.$cache.max[0].style.visibility="hidden":this.$cache.max[0].style.visibility="visible"}}},drawShadow:function(){var a,b,c,d,e=this.options,f=this.$cache,g="number"==typeof e.from_min&&!isNaN(e.from_min),h="number"==typeof e.from_max&&!isNaN(e.from_max),i="number"==typeof e.to_min&&!isNaN(e.to_min),j="number"==typeof e.to_max&&!isNaN(e.to_max);"single"===e.type?e.from_shadow&&(g||h)?(a=this.convertToPercent(g?e.from_min:e.min),b=this.convertToPercent(h?e.from_max:e.max)-a,a=this.toFixed(a-this.coords.p_handle/100*a),b=this.toFixed(b-this.coords.p_handle/100*b),a+=this.coords.p_handle/2,f.shad_single[0].style.display="block",f.shad_single[0].style.left=a+"%",f.shad_single[0].style.width=b+"%"):f.shad_single[0].style.display="none":(e.from_shadow&&(g||h)?(a=this.convertToPercent(g?e.from_min:e.min),b=this.convertToPercent(h?e.from_max:e.max)-a,a=this.toFixed(a-this.coords.p_handle/100*a),b=this.toFixed(b-this.coords.p_handle/100*b),a+=this.coords.p_handle/2,f.shad_from[0].style.display="block",f.shad_from[0].style.left=a+"%",f.shad_from[0].style.width=b+"%"):f.shad_from[0].style.display="none",e.to_shadow&&(i||j)?(c=this.convertToPercent(i?e.to_min:e.min),d=this.convertToPercent(j?e.to_max:e.max)-c,c=this.toFixed(c-this.coords.p_handle/100*c),d=this.toFixed(d-this.coords.p_handle/100*d),c+=this.coords.p_handle/2,f.shad_to[0].style.display="block",f.shad_to[0].style.left=c+"%",f.shad_to[0].style.width=d+"%"):f.shad_to[0].style.display="none")},writeToInput:function(){"single"===this.options.type?(this.options.values.length?this.$cache.input.prop("value",this.result.from_value):this.$cache.input.prop("value",this.result.from),this.$cache.input.data("from",this.result.from)):(this.options.values.length?this.$cache.input.prop("value",this.result.from_value+this.options.input_values_separator+this.result.to_value):this.$cache.input.prop("value",this.result.from+this.options.input_values_separator+this.result.to),this.$cache.input.data("from",this.result.from),this.$cache.input.data("to",this.result.to))},callOnStart:function(){this.writeToInput(),this.options.onStart&&"function"==typeof this.options.onStart&&(this.options.scope?this.options.onStart.call(this.options.scope,this.result):this.options.onStart(this.result))},callOnChange:function(){this.writeToInput(),this.options.onChange&&"function"==typeof this.options.onChange&&(this.options.scope?this.options.onChange.call(this.options.scope,this.result):this.options.onChange(this.result))},callOnFinish:function(){this.writeToInput(),this.options.onFinish&&"function"==typeof this.options.onFinish&&(this.options.scope?this.options.onFinish.call(this.options.scope,this.result):this.options.onFinish(this.result))},callOnUpdate:function(){this.writeToInput(),this.options.onUpdate&&"function"==typeof this.options.onUpdate&&(this.options.scope?this.options.onUpdate.call(this.options.scope,this.result):this.options.onUpdate(this.result))},toggleInput:function(){this.$cache.input.toggleClass("irs-hidden-input"),this.has_tab_index?this.$cache.input.prop("tabindex",-1):this.$cache.input.removeProp("tabindex"),this.has_tab_index=!this.has_tab_index},convertToPercent:function(a,b){var c,d=this.options.max-this.options.min,e=d/100;return d?(c=(b?a:a-this.options.min)/e,this.toFixed(c)):(this.no_diapason=!0,0)},convertToValue:function(a){var b,c,d=this.options.min,e=this.options.max,f=d.toString().split(".")[1],g=e.toString().split(".")[1],h=0,i=0;if(0===a)return this.options.min;if(100===a)return this.options.max;f&&(h=b=f.length),g&&(h=c=g.length),b&&c&&(h=c<=b?b:c),d<0&&(d=+(d+(i=Math.abs(d))).toFixed(h),e=+(e+i).toFixed(h));var j,k=(e-d)/100*a+d,l=this.options.step.toString().split(".")[1];return k=l?+k.toFixed(l.length):(k/=this.options.step,+(k*=this.options.step).toFixed(0)),i&&(k-=i),(j=l?+k.toFixed(l.length):this.toFixed(k))<this.options.min?j=this.options.min:j>this.options.max&&(j=this.options.max),j},calcWithStep:function(a){var b=Math.round(a/this.coords.p_step)*this.coords.p_step;return 100<b&&(b=100),100===a&&(b=100),this.toFixed(b)},checkMinInterval:function(a,b,c){var d,e,f=this.options;return f.min_interval?(d=this.convertToValue(a),e=this.convertToValue(b),"from"===c?e-d<f.min_interval&&(d=e-f.min_interval):d-e<f.min_interval&&(d=e+f.min_interval),this.convertToPercent(d)):a},checkMaxInterval:function(a,b,c){var d,e,f=this.options;return f.max_interval?(d=this.convertToValue(a),e=this.convertToValue(b),"from"===c?e-d>f.max_interval&&(d=e-f.max_interval):d-e>f.max_interval&&(d=e+f.max_interval),this.convertToPercent(d)):a},checkDiapason:function(a,b,c){var d=this.convertToValue(a),e=this.options;return"number"!=typeof b&&(b=e.min),"number"!=typeof c&&(c=e.max),d<b&&(d=b),c<d&&(d=c),this.convertToPercent(d)},toFixed:function(a){return+(a=a.toFixed(20))},_prettify:function(a){return this.options.prettify_enabled?this.options.prettify&&"function"==typeof this.options.prettify?this.options.prettify(a):this.prettify(a):a},prettify:function(a){return a.toString().replace(/(\d{1,3}(?=(?:\d\d\d)+(?!\d)))/g,"$1"+this.options.prettify_separator)},checkEdges:function(a,b){return this.options.force_edges&&(a<0?a=0:100-b<a&&(a=100-b)),this.toFixed(a)},validate:function(){var a,b,c=this.options,d=this.result,e=c.values,f=e.length;if("string"==typeof c.min&&(c.min=+c.min),"string"==typeof c.max&&(c.max=+c.max),"string"==typeof c.from&&(c.from=+c.from),"string"==typeof c.to&&(c.to=+c.to),"string"==typeof c.step&&(c.step=+c.step),"string"==typeof c.from_min&&(c.from_min=+c.from_min),"string"==typeof c.from_max&&(c.from_max=+c.from_max),"string"==typeof c.to_min&&(c.to_min=+c.to_min),"string"==typeof c.to_max&&(c.to_max=+c.to_max),"string"==typeof c.grid_num&&(c.grid_num=+c.grid_num),c.max<c.min&&(c.max=c.min),f)for(c.p_values=[],c.min=0,c.max=f-1,c.step=1,c.grid_num=c.max,c.grid_snap=!0,b=0;b<f;b++)a=+e[b],a=isNaN(a)?e[b]:(e[b]=a,this._prettify(a)),c.p_values.push(a);"number"==typeof c.from&&!isNaN(c.from)||(c.from=c.min),"number"==typeof c.to&&!isNaN(c.to)||(c.to=c.max),"single"===c.type?(c.from<c.min&&(c.from=c.min),c.from>c.max&&(c.from=c.max)):(c.from<c.min&&(c.from=c.min),c.from>c.max&&(c.from=c.max),c.to<c.min&&(c.to=c.min),c.to>c.max&&(c.to=c.max),this.update_check.from&&(this.update_check.from!==c.from&&c.from>c.to&&(c.from=c.to),this.update_check.to!==c.to&&c.to<c.from&&(c.to=c.from)),c.from>c.to&&(c.from=c.to),c.to<c.from&&(c.to=c.from)),("number"!=typeof c.step||isNaN(c.step)||!c.step||c.step<0)&&(c.step=1),"number"==typeof c.from_min&&c.from<c.from_min&&(c.from=c.from_min),"number"==typeof c.from_max&&c.from>c.from_max&&(c.from=c.from_max),"number"==typeof c.to_min&&c.to<c.to_min&&(c.to=c.to_min),"number"==typeof c.to_max&&c.from>c.to_max&&(c.to=c.to_max),d&&(d.min!==c.min&&(d.min=c.min),d.max!==c.max&&(d.max=c.max),(d.from<d.min||d.from>d.max)&&(d.from=c.from),
9
+ (d.to<d.min||d.to>d.max)&&(d.to=c.to)),("number"!=typeof c.min_interval||isNaN(c.min_interval)||!c.min_interval||c.min_interval<0)&&(c.min_interval=0),("number"!=typeof c.max_interval||isNaN(c.max_interval)||!c.max_interval||c.max_interval<0)&&(c.max_interval=0),c.min_interval&&c.min_interval>c.max-c.min&&(c.min_interval=c.max-c.min),c.max_interval&&c.max_interval>c.max-c.min&&(c.max_interval=c.max-c.min)},decorate:function(a,b){var c="",d=this.options;return d.prefix&&(c+=d.prefix),c+=a,d.max_postfix&&(d.values.length&&a===d.p_values[d.max]?(c+=d.max_postfix,d.postfix&&(c+=" ")):b===d.max&&(c+=d.max_postfix,d.postfix&&(c+=" "))),d.postfix&&(c+=d.postfix),c},updateFrom:function(){this.result.from=this.options.from,this.result.from_percent=this.convertToPercent(this.result.from),this.result.from_pretty=this._prettify(this.result.from),this.options.values&&(this.result.from_value=this.options.values[this.result.from])},updateTo:function(){this.result.to=this.options.to,this.result.to_percent=this.convertToPercent(this.result.to),this.result.to_pretty=this._prettify(this.result.to),this.options.values&&(this.result.to_value=this.options.values[this.result.to])},updateResult:function(){this.result.min=this.options.min,this.result.max=this.options.max,this.updateFrom(),this.updateTo()},appendGrid:function(){if(this.options.grid){var a,b,c,d,e,f,g=this.options,h=g.max-g.min,i=g.grid_num,j=0,k=4,l="";for(this.calcGridMargin(),g.grid_snap&&(i=h/g.step),50<i&&(i=50),c=this.toFixed(100/i),4<i&&(k=3),7<i&&(k=2),14<i&&(k=1),28<i&&(k=0),a=0;a<i+1;a++){for(d=k,100<(j=this.toFixed(c*a))&&(j=100),e=((this.coords.big[a]=j)-c*(a-1))/(d+1),b=1;b<=d&&0!==j;b++)l+='<span class="irs-grid-pol small" style="left: '+this.toFixed(j-e*b)+'%"></span>';l+='<span class="irs-grid-pol" style="left: '+j+'%"></span>',f=this.convertToValue(j),l+='<span class="irs-grid-text js-grid-text-'+a+'" style="left: '+j+'%">'+(f=g.values.length?g.p_values[f]:this._prettify(f))+"</span>"}this.coords.big_num=Math.ceil(i+1),this.$cache.cont.addClass("irs-with-grid"),this.$cache.grid.html(l),this.cacheGridLabels()}},cacheGridLabels:function(){var a,b,c=this.coords.big_num;for(b=0;b<c;b++)a=this.$cache.grid.find(".js-grid-text-"+b),this.$cache.grid_labels.push(a);this.calcGridLabels()},calcGridLabels:function(){var a,b,c=[],d=[],e=this.coords.big_num;for(a=0;a<e;a++)this.coords.big_w[a]=this.$cache.grid_labels[a].outerWidth(!1),this.coords.big_p[a]=this.toFixed(this.coords.big_w[a]/this.coords.w_rs*100),this.coords.big_x[a]=this.toFixed(this.coords.big_p[a]/2),c[a]=this.toFixed(this.coords.big[a]-this.coords.big_x[a]),d[a]=this.toFixed(c[a]+this.coords.big_p[a]);for(this.options.force_edges&&(c[0]<-this.coords.grid_gap&&(c[0]=-this.coords.grid_gap,d[0]=this.toFixed(c[0]+this.coords.big_p[0]),this.coords.big_x[0]=this.coords.grid_gap),d[e-1]>100+this.coords.grid_gap&&(d[e-1]=100+this.coords.grid_gap,c[e-1]=this.toFixed(d[e-1]-this.coords.big_p[e-1]),this.coords.big_x[e-1]=this.toFixed(this.coords.big_p[e-1]-this.coords.grid_gap))),this.calcGridCollision(2,c,d),this.calcGridCollision(4,c,d),a=0;a<e;a++)b=this.$cache.grid_labels[a][0],this.coords.big_x[a]!==Number.POSITIVE_INFINITY&&(b.style.marginLeft=-this.coords.big_x[a]+"%")},calcGridCollision:function(a,b,c){var d,e,f,g=this.coords.big_num;for(d=0;d<g&&!(g<=(e=d+a/2));d+=a)f=this.$cache.grid_labels[e][0],c[d]<=b[e]?f.style.visibility="visible":f.style.visibility="hidden"},calcGridMargin:function(){this.options.grid_margin&&(this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.coords.w_rs&&("single"===this.options.type?this.coords.w_handle=this.$cache.s_single.outerWidth(!1):this.coords.w_handle=this.$cache.s_from.outerWidth(!1),this.coords.p_handle=this.toFixed(this.coords.w_handle/this.coords.w_rs*100),this.coords.grid_gap=this.toFixed(this.coords.p_handle/2-.1),this.$cache.grid[0].style.width=this.toFixed(100-this.coords.p_handle)+"%",this.$cache.grid[0].style.left=this.coords.grid_gap+"%"))},update:function(b){this.input&&(this.is_update=!0,this.options.from=this.result.from,this.options.to=this.result.to,this.update_check.from=this.result.from,this.update_check.to=this.result.to,this.options=a.extend(this.options,b),this.validate(),this.updateResult(b),this.toggleInput(),this.remove(),this.init(!0))},reset:function(){this.input&&(this.updateResult(),this.update())},destroy:function(){this.input&&(this.toggleInput(),this.$cache.input.prop("readonly",!1),a.data(this.input,"ionRangeSlider",null),this.remove(),this.input=null,this.options=null)}},a.fn.ionRangeSlider=function(b){return this.each(function(){a.data(this,"ionRangeSlider")||a.data(this,"ionRangeSlider",new f(this,b,i++))})},function(){for(var a=0,b=["ms","moz","webkit","o"],d=0;d<b.length&&!c.requestAnimationFrame;++d)c.requestAnimationFrame=c[b[d]+"RequestAnimationFrame"],c.cancelAnimationFrame=c[b[d]+"CancelAnimationFrame"]||c[b[d]+"CancelRequestAnimationFrame"];c.requestAnimationFrame||(c.requestAnimationFrame=function(b,d){var e=(new Date).getTime(),f=Math.max(0,16-(e-a)),g=c.setTimeout(function(){b(e+f)},f);return a=e+f,g}),c.cancelAnimationFrame||(c.cancelAnimationFrame=function(a){clearTimeout(a)})}()});var berocket_filters={};berocket_add_filter("compat_filters_result_single",function(a){return"object"==typeof a&&"string"==typeof a.taxonomy&&"pa_"==a.taxonomy.substr(0,3)&&(a.taxonomy=a.taxonomy.substr(3)),a});var braapf_filter_blocked=!1,braapf_selected_filters=[],braapf_filtered_filters=[],braapf_filters_var,braapf_ajax_request,braapf_checkbox_same,braapf_update_products,braapf_grab_all,braapf_grab_single,braapf_compact_filters,braapf_compat_filters_to_string,braapf_build_url_from_urldata,braapf_glue_by_operator,braapf_ajax_load_from_url,braapf_ajax_load_from_url_request,braapf_init_load,braapf_remove_pages_from_url_data,braapf_filter_products_by_url,braapf_get_current_url_data,braapf_reset_buttons_hide,bapf_universal_theme_compatibility,braapf_disable_ajax_loading,braapf_close_tippy;!function(a){function b(a){return berocket_remove_filter("ajax_load_from_url_beforeSend",b),a.setRequestHeader("X-Braapfdisable","1"),a}function c(a){return a.setRequestHeader("X-Braapf","1"),a}a(document).on("change",".bapf_sfilter.bapf_ckbox input[type=checkbox]",function(){var b=a(this).val(),c=a(this).parents(".bapf_sfilter").data("taxonomy"),d=a(this).prop("checked");braapf_checkbox_same(c,b,d),berocket_apply_filters("input_ckbox_changed",this,c,b,d);var e={element:"#"+a(this).attr("id"),parent:1,find:!1};berocket_apply_filters("filter_changed_element",e,a(this)),berocket_do_action("update_products","filter",a(this))}),braapf_checkbox_same=function(b,c,d){a('.bapf_sfilter[data-taxonomy="'+b+'"] input[value="'+c+'"]').prop("checked",d),a('.bapf_sfilter[data-taxonomy="'+b+'"]').length<a('.bapf_sfilter.bapf_ckbox[data-taxonomy="'+b+'"]').length&&berocket_throw_error("multiple_filters_for_same_taxonomy",b)},a(document).on("braapf_unselect",".bapf_ckbox",function(b,c){if("undefined"==typeof c&&(c=!1),0==c)var d=a(this).find("input[type=checkbox]");else var d=a(this).find('input[value="'+c.value+'"]');if(d.length>0){var e=d.val(),f=a(this).data("taxonomy");d.prop("checked",!1),braapf_checkbox_same(f,e,!1)}}),a(document).on("braapf_unselect_all",".bapf_ckbox",function(b,c){a(this).trigger("braapf_unselect",!1)}),a(document).on("click",".berocket_aapf_widget_update_button, .bapf_update",function(b){b.preventDefault(),berocket_do_action("update_products","update",a(this))}),a(document).on("click",".berocket_aapf_reset_button, .bapf_reset",function(b){b.preventDefault(),braapf_unselect_all(),berocket_do_action("update_products","reset_all",a(this))}),braapf_reset_buttons_hide=function(){berocket_apply_filters("bapf_rst_nofltr_hide","undefined"==typeof braapf_filtered_filters||braapf_filtered_filters.length<=0)?a(".bapf_rst_nofltr").hide():a(".bapf_rst_nofltr").show();var b=!1;"undefined"!=typeof braapf_filtered_filters&&braapf_filtered_filters.length>0&&a.each(braapf_filtered_filters,function(a,c){if(c.values.length>0)return b=!0,!1}),berocket_apply_filters("bapf_rst_sel_show",b)?a(".bapf_rst_sel").show():a(".bapf_rst_sel").hide()},berocket_add_filter("braapf_init",braapf_reset_buttons_hide,1500),berocket_add_filter("braapf_init_filtered_set",braapf_reset_buttons_hide,1500);var d=the_ajax_script.pagination_class;d=d.replace(","," a,"),d=berocket_apply_filters("pagination_links_a_tags",d+" a",the_ajax_script.pagination_class),!the_ajax_script.disable_ajax_loading&&the_ajax_script.woocommerce_removes.pagination_ajax&&a(document).on("click",d,function(c){c.preventDefault();var d=a(this).attr("href");d=berocket_apply_filters("pagination_href_from_clicked_a",decodeURI(d),a(this)),braapf_change_url_history_api(d,{replace:the_ajax_script.seo_friendly_urls}),berocket_add_filter("ajax_load_from_url_beforeSend",b),braapf_ajax_load_from_url(d,{},berocket_apply_filters("ajax_load_from_pagination",{done:[braapf_replace_products,braapf_replace_pagination,braapf_replace_result_count,braapf_init_load]},d))}),!the_ajax_script.disable_ajax_loading&&the_ajax_script.control_sorting&&a(document).on("submit",the_ajax_script.ordering_class,function(b){b.preventDefault();var c=braapf_get_current_url_data();if(c=braapf_remove_pages_from_url_data(c),Array.isArray(c.queryargs)){var d=[];a.each(c.queryargs,function(a,b){"orderby"!=b.name&&d.push(b)}),c.queryargs=d}else c.queryargs=[];var e=a(this).serializeArray();Array.isArray(e)&&a.each(e,function(a,b){"paged"==b.name?c.page=parseInt(b.value):"orderby"==b.name?the_ajax_script.default_sorting!=b.value&&c.queryargs.push(b):c.queryargs.push(b)});var f=braapf_build_url_from_urldata(c);braapf_filter_products_by_url(f)}),braapf_get_url_with_filters_selected=function(){braapf_grab_all();var a=braapf_compact_filters(),b=berocket_apply_filters("braapf_filters_mask",the_ajax_script.url_mask),c=braapf_compat_filters_to_string(a,b,the_ajax_script.url_split),d=braapf_get_current_url_data();d.filter=c,d=braapf_remove_pages_from_url_data(d);var e=braapf_build_url_from_urldata(d);return e},braapf_update_products=function(b,c){"undefined"==typeof b&&(b="filter"),"undefined"==typeof c&&(c=!1),b=berocket_apply_filters("before_update_products_context",b,c);var d=braapf_get_url_with_filters_selected();berocket_apply_filters("apply_filters_to_page",0==a(".berocket_aapf_widget_update_button:visible, .bapf_update:visible").length||"filter"!=b,b,c,d)?(braapf_selected_filters_area_set(),braapf_filter_products_by_url(d)):berocket_apply_filters("apply_filters_to_page_partial",!1,b,c,d)&&braapf_ajax_load_from_url(d,{},berocket_apply_filters("ajax_load_from_filters_partial",{done:[braapf_replace_each_filter,braapf_init_load]},d,"partial"),"partial")},braapf_filter_products_by_url=function(b){berocket_apply_filters("page_has_products_holder",!a(the_ajax_script.products_holder_id).length,b)?location.href=b:(braapf_change_url_history_api(b,{replace:the_ajax_script.seo_friendly_urls}),braapf_ajax_load_from_url(b,{},berocket_apply_filters("ajax_load_from_filters",{done:[braapf_replace_products,braapf_replace_pagination,braapf_replace_result_count,braapf_replace_orderby,braapf_replace_each_filter,braapf_init_load,braapf_filtered_filters_set,braapf_update_url_history_api_from_current]},b,"default")))},braapf_update_url_history_api_from_current=function(){the_ajax_script.seo_friendly_urls&&(url_filtered=braapf_get_url_with_filters_selected(),history.replaceState(history.state,"BeRocket Rules",url_filtered))},braapf_grab_all=function(b){"undefined"==typeof b&&(b=!1);var c=[];if(b===!1)var d=a(".bapf_sfilter");else var d=a(b).find(".bapf_sfilter");return d.each(function(){var a=braapf_grab_single(this,c);a!==!1&&c.push(a)}),c=berocket_apply_filters("grab_all_filters",c,b),b===!1&&(braapf_selected_filters=c),c},braapf_grab_single=function(b,c,d){"undefined"==typeof d&&(d=!1),b=a(b);var e=!1,f=!1,g=b.data("taxonomy");if("undefined"==typeof g||!g)return berocket_apply_filters("grab_single_filter_taxonomy_undefined",e,b,c);if(a.each(c,function(a,b){b.taxonomy==g&&(f=!0)}),!berocket_apply_filters("grab_single_filter_exist",f,b,c)){if(e=berocket_apply_filters("grab_single_filter",e,b,c),e!==!1)return e;var h=b.data("op"),i=b.data("name");"undefined"==typeof i&&(i="");var j=braapf_glue_by_operator(h),k=[],l=[];if(d)var m=b;else var m=a(".bapf_sfilter[data-taxonomy="+g+"]");m.find("input:checked:not(:disabled)").each(function(b,c){l.indexOf(a(this).val())==-1&&(k.push({value:a(this).val(),html:a(this).data("name")}),l.push(a(this).val()))}),e={name:i,taxonomy:g,values:k,glue:j,operator:h}}return berocket_apply_filters("grab_single_filter_default",e,b,c)},braapf_glue_by_operator=function(a){"string"!=typeof a&&(a="");var b="-";return"and"==a.toLowerCase()&&(b="+"),berocket_apply_filters("glue_by_operator",b,a)},braapf_compact_filters=function(b){"undefined"==typeof b&&(b=braapf_selected_filters);var c=[];return a.each(b,function(b,d){var e="";"undefined"!=typeof d.customValuesLine?e=d.customValuesLine:a.each(d.values,function(a,b){e.length&&(e+=d.glue),e+=b.value}),e.length&&c.push(berocket_apply_filters("compat_filters_result_single",{taxonomy:d.taxonomy,values:e},d))}),berocket_apply_filters("compat_filters_result",c,b)},braapf_compat_filters_to_string=function(b,c,d){var e="";return a.each(b,function(a,f){e.length&&(e+=d);var g=c;g=g.replace("%t%",f.taxonomy),g=g.replace("%v%",f.values),e+=berocket_apply_filters("compat_filters_to_string_single",g,f,b,c,d)}),berocket_apply_filters("compat_filters_to_string",e,b,c,d)},braapf_get_current_url_data=function(b){if("undefined"==typeof b)var c=location.href.split("#")[0].split("?")[0],d=location.search.substring(1);else{var c=b.split("#")[0].split("?")[0];if(b.split("#")[0].split("?").length>1)var d=b.split("#")[0].split("?")[1];else var d=""}var e=[],f=1,g=c.match(/\/page\/(\d+)/);return g&&"string"==typeof g[1]&&(f=parseInt(g[1]),c=c.replace(/\/page\/(\d+)/,"")),d=d.split("&"),a.each(d,function(a,b){b.length&&(d[a]=b.split("="),"paged"==d[a][0]?f=parseInt(d[a][1]):e.push({name:d[a][0],value:d[a][1]}))}),berocket_apply_filters("get_current_url_data",{baselink:c,queryargs:e,filter:"",page:f})},braapf_remove_pages_from_url_data=function(b){if(b.page=1,Array.isArray(b.queryargs)){var c=[];a.each(b.queryargs,function(a,b){"product-page"!=b.name&&c.push(b)}),b.queryargs=c}return b},braapf_build_url_from_urldata=function(b,c){"undefined"==typeof c&&(c=braapf_build_url_parameters_default());var d=berocket_apply_filters("url_from_urldata_baselink",b.baselink,b,c),e="";return b.queryargs.length&&a.each(b.queryargs,function(a,b){e.length&&(e+="&"),b.name.length&&(e+=b.name+"="+b.value)}),b.page&&b.page>1&&(e.length&&(e+="&"),e+="paged="+b.page),e.length&&(e="?"+e),d=berocket_apply_filters("url_from_urldata_linkget",d+e,b,c,d,e)},braapf_build_url_parameters_default=function(){return berocket_apply_filters("build_url_parameters_default",{})},braapf_replace_current_with_new=function(b,c,d){"undefined"==typeof d&&(d={}),args={replace:!1},jQuery.extend(args,d);var e=a("<div><div>"+b+"</div></div>"),f=e.find(c),g=a(c);0!=g.length&&(f.length!=g.length&&0!=f.length&&berocket_throw_error("error_notsame_block_qty",c,f.length,g.length),0==f.length?(g.html("").addClass("braapfNotReplaced"),g.hide()):(g.each(function(b,c){"undefined"!=typeof f[b]?args.replace?a(c).replaceWith(a(f[b])):a(c).html(a(f[b]).html()).removeClass("braapfNotReplaced"):a(c).html("").addClass("braapfNotReplaced")}),g.show()))},braapf_replace_products=function(b){var c=the_ajax_script.products_holder_id;a("<div><div>"+b+"</div></div>");a(".bapf_no_products").remove(),braapf_replace_current_with_new(b,c),a(".braapfNotReplaced").filter(c).length&&a(".braapfNotReplaced").filter(c).before(a(the_ajax_script.no_products))},braapf_replace_pagination=function(b){var c=the_ajax_script.pagination_class;if(0==a(c).length){var d=the_ajax_script.products_holder_id,e=a("<div><div>"+b+"</div></div>"),f=e.find(c).last();f.length&&a(d).last().after(f)}else braapf_replace_current_with_new(b,c)},braapf_replace_result_count=function(a){var b=the_ajax_script.result_count_class;braapf_replace_current_with_new(a,b)},braapf_replace_orderby=function(a){var b=the_ajax_script.ordering_class;braapf_replace_current_with_new(a,b)},braapf_replace_each_filter=function(b){var c=a("<div><div>"+b+"</div></div>");a(".berocket_single_filter_widget").each(function(){var b=a(this).data("id");a(".berocket_single_filter_widget_"+b).html(c.find(".berocket_single_filter_widget_"+b).last().html()),c.find(".berocket_single_filter_widget_"+b).is(".bapf_mt_none")?a(".berocket_single_filter_widget_"+b).addClass("bapf_mt_none"):a(".berocket_single_filter_widget_"+b).removeClass("bapf_mt_none")})},braapf_change_url_history_api=function(a,b){if("undefined"!=typeof b&&b.replace){var c={BeRocket:"Rules"};history.replaceState(c,""),history.pushState(c,"",a),history.pathname=a}},berocket_apply_filters("load_products_ajax_on_popstate",!0)&&(window.onpopstate=function(b){if(null!=b.state&&"Rules"==b.state.BeRocket){var c=location.href;berocket_apply_filters("page_has_products_holder",!a(the_ajax_script.products_holder_id).length,c)?location.href=c:braapf_ajax_load_from_url(c,{},berocket_apply_filters("ajax_load_from_filters",{done:[braapf_replace_products,braapf_replace_pagination,braapf_replace_result_count,braapf_replace_orderby,braapf_replace_each_filter,braapf_init_load,braapf_filtered_filters_set,braapf_update_url_history_api_from_current]},c,"default"))}}),braapf_ajax_load_from_url=function(a,b,c,d){"undefined"==typeof d&&(d="default"),"object"!=typeof b&&(b={}),"object"!=typeof c&&(c={done:[],fail:[],always:[]}),"undefined"!=typeof c.done&&Array.isArray(c.done)||(c.done=[]),"undefined"!=typeof c.fail&&Array.isArray(c.fail)||(c.fail=[]),"undefined"!=typeof c.always&&Array.isArray(c.always)||(c.always=[]),a=berocket_apply_filters("ajax_load_from_url_url",a,b,c,d),b=berocket_apply_filters("ajax_load_from_url_data",b,a,c,d),c=berocket_apply_filters("ajax_load_from_url_callback",c,a,b,d),braapf_ajax_load_from_url_request(a,b,c,d)},braapf_ajax_load_from_url_request=function(b,c,d,e){a(document).trigger("berocket_ajax_filtering_start"),"object"==typeof braapf_ajax_request&&"undefined"!=typeof braapf_ajax_request.abort&&braapf_ajax_request.abort(),braapf_ajax_request=a.ajax({method:"GET",url:b,data:c,beforeSend:function(a){a=berocket_apply_filters("ajax_load_from_url_beforeSend",a,b,c,d,e)}}).done(function(f,g,h){a(document).trigger("berocket_ajax_filtering_on_update"),f=berocket_apply_filters("ajax_load_from_url_done",f,b,c,d,e),a.each(d.done,function(a,b){b(f,g,h)}),f=berocket_apply_filters("ajax_load_from_url_done_after",f,b,c,d,e),a(document).trigger("berocket_ajax_products_loaded")}).fail(function(f,g,h){if("abort"==g)return!1;if(a(document).trigger("berocket_ajax_products_not_loaded"),f=berocket_apply_filters("ajax_load_from_url_fail",f,b,c,d,e),a.each(d.fail,function(a,b){b(f,g,h)}),f=berocket_apply_filters("ajax_load_from_url_fail_after",f,b,c,d,e),"default"==e){var i=jQuery.param(c);i&&(b=b.split("?").length>1?b+"&"+i:b+"?"+i),location.href=b}}).always(function(f,g,h){f=berocket_apply_filters("ajax_load_from_url_always",f,b,c,d,e),a.each(d.always,function(a,b){b(f,g,h)}),f=berocket_apply_filters("ajax_load_from_url_always_after",f,b,c,d,e),a(document).trigger("berocket_ajax_filtering_end")})},braapf_init_load=function(){var b=berocket_apply_filters("filter_mobile_width",767),c=berocket_apply_filters("filter_tablet_width",1024);a(window).width()<=b&&a(".bapf_sngl_hd_mobile").remove(),a(window).width()>b&&a(window).width()<=c&&a(".bapf_sngl_hd_tablet").remove(),a(window).width()>c&&a(".bapf_sngl_hd_desktop").remove(),a(".bapf_sfilter .bapf_body.bapf_mcs:not(.bapf_mcs_ready)").each(function(){a(this).mCustomScrollbar({setHeight:a(this).data("mcs-h"),scrollInertia:300}).addClass("bapf_mcs_ready")}),a(".berocket_single_filter_widget").each(function(){var b=a(this).data("id");berocket_apply_filters("remove_same_filters_to_prevent_errors",a(".berocket_single_filter_widget_"+b).length>1,a(this),b)&&a(".berocket_single_filter_widget_"+b).not(a(".berocket_single_filter_widget_"+b).first()).remove()}),a("body").on("click",".bapf_desci",function(a){a.stopPropagation()}),a("body").on("hover",".bapf_desci",function(a){a.stopPropagation()}),berocket_do_action("braapf_init",braapf_selected_filters),a(document).trigger("berocket_filters_first_load")},braapf_update_page_on_error=function(){berocket_apply_filters("update_page_on_error",!0)&&location.reload()},braapf_selected_filters_area_set=function(){if("undefined"!=typeof braapf_filtered_filters&&braapf_filtered_filters.length>0){var b="";a.each(braapf_filtered_filters,function(c,d){d.values.length>0&&(b+="<span>"+d.name+"</span>",b+="<ul>",a.each(d.values,function(a,c){b+=berocket_apply_filters("default_selected_filters_area_single",'<li><a href="#unselect_'+c.value+'" class="braapf_unselect" data-taxonomy="'+d.taxonomy+'" data-value="'+c.value+'"><i class="fa fa-times"></i>'+c.html+"</a></li>",c)}),b+="</ul>")}),b?(a(".bapf_sfa_mt_hide").show().parent().removeClass("bapf_mt_none"),b=berocket_apply_filters("default_selected_filters_area_full_exist",'<div class="berocket_aapf_widget_selected_filter">'+b+'<ul><li><a href="#Unselect_all" class="braapf_unselect_all"><i class="fa fa-times"></i> '+the_ajax_script.translate.unselect_all+"</a></li></ul>",b,braapf_filtered_filters)):(b=berocket_apply_filters("default_selected_filters_area_full_notexist",the_ajax_script.translate.nothing_selected,b,braapf_filtered_filters),a(".bapf_sfa_mt_hide").hide().parent().addClass("bapf_mt_none")),a(".berocket_aapf_widget_selected_area").html(b)}},a(document).on("click",".berocket_aapf_widget_selected_area .braapf_unselect",function(b){b.preventDefault(),a(".bapf_sfilter[data-taxonomy="+a(this).data("taxonomy")+"]").trigger("braapf_unselect",a(this).data()),berocket_do_action("update_products","reset_single",a(this))}),braapf_unselect_all=function(){braapf_grab_all(),"undefined"!=typeof braapf_selected_filters&&braapf_selected_filters.length>0&&a.each(braapf_selected_filters,function(b,c){c.values.length>0&&a(".bapf_sfilter[data-taxonomy="+c.taxonomy+"]").trigger("braapf_unselect_all",c)})},a(document).on("click",".berocket_aapf_widget_selected_area .braapf_unselect_all",function(b){b.preventDefault(),braapf_unselect_all(),berocket_do_action("update_products","reset_all",a(this))}),berocket_add_filter("braapf_init",braapf_grab_all_init,1e3),berocket_add_filter("braapf_init",braapf_selected_filters_area_set_init,1100),berocket_add_filter("braapf_init_filtered_set",braapf_selected_filters_area_set_init,1100),braapf_reload_page_for_products_error=function(a,b){return b==the_ajax_script.products_holder_id&&braapf_update_page_on_error(),a},berocket_add_filter("ajax_load_from_url_beforeSend",c),berocket_add_filter("update_products",braapf_update_products),berocket_add_filter("error_notsame_block_qty",braapf_reload_page_for_products_error),bapf_universal_theme_compatibility=function(b){if(berocket_apply_filters("universal_theme_compatibility",!0)){a(window).trigger("resize");try{berocket_apply_filters("uncode_theme_compatibility","object"==typeof UNCODE&&"function"==typeof UNCODE.init)&&UNCODE.init()}catch(a){berocket_throw_error("uncode_theme_compatibility",a)}try{berocket_apply_filters("flatsome_theme_compatibility","object"==typeof Flatsome&&"function"==typeof Flatsome.attach&&jQuery(the_ajax_script.products_holder_id).length)&&Flatsome.attach(jQuery(the_ajax_script.products_holder_id))}catch(a){berocket_throw_error("flatsome_theme_compatibility",a)}try{berocket_apply_filters("woodmart_theme_compatibility","object"==typeof woodmartThemeModule&&"function"==typeof woodmartThemeModule.init)&&(woodmartThemeModule.wooInit(),woodmartThemeModule.lazyLoading(),woodmartThemeModule.productsLoadMore())}catch(a){berocket_throw_error("woodmart_theme_compatibility",a)}try{berocket_apply_filters("divi_theme_compatibility","function"==typeof et_reinit_waypoint_modules)&&et_reinit_waypoint_modules()}catch(a){berocket_throw_error("divi_theme_compatibility",a)}try{berocket_apply_filters("rey_theme_compatibility","object"==typeof jQuery.reyTheme&&"function"==typeof jQuery.reyTheme.init)&&jQuery.reyTheme.init()}catch(a){berocket_throw_error("rey_theme_compatibility",a)}try{berocket_apply_filters("layzyloadimage_script_compatibility","function"==typeof layzyLoadImage)&&layzyLoadImage()}catch(a){berocket_throw_error("layzyloadimage_script_compatibility",a)}try{berocket_apply_filters("jetpacklazyimages_script_compatibility","function"==typeof jetpackLazyImagesModule)&&jetpackLazyImagesModule()}catch(a){berocket_throw_error("jetpacklazyimages_script_compatibility",a)}}return b},berocket_add_filter("ajax_load_from_url_always_after",bapf_universal_theme_compatibility,2500),a(document).ready(function(){berocket_apply_filters("remove_shortcode_fix_filters",a(".berocket_wc_shortcode_fix").length)&&(braapf_replace_each_filter(a(".berocket_wc_shortcode_fix").html()),a(".berocket_wc_shortcode_fix").html("")),braapf_init_load(),braapf_filtered_filters_set(),a(document).trigger("berocket_filters_document_ready")}),braapf_disable_ajax_loading=function(a){return!0},the_ajax_script.disable_ajax_loading&&berocket_add_filter("page_has_products_holder",braapf_disable_ajax_loading),braapf_close_tippy=function(){try{a(".tippy-box").length&&a(".tippy-box").each(function(){"undefined"!=typeof a(this).parent()[0]._tippy&&a(this).parent()[0]._tippy.hide()})}catch(a){}},berocket_add_filter("update_products",braapf_close_tippy)}(jQuery);var braapf_get_current_filters,braapf_filters_url_decode,braapf_scroll_shop_to_top,braapf_set_filters_to_link,braapf_convert_ckbox_to_radio,braapf_hierarhical_save,braapf_hierarhical_set,braapf_collapse_status_save,braapf_collapse_status_set,braapf_show_hide_values_save,braapf_show_hide_values_set,berocket_custom_sidebar_close,berocket_custom_sidebar_open;!function(a){function b(){jQuery(".berocket_product_table_compat .dataTables_length select").length&&jQuery(".berocket_product_table_compat .wc-product-table").dataTable()._fnSaveState();var a=jQuery(".berocket_product_table_compat .wc-product-table").attr("id");if("undefined"!=typeof window["config_"+a]&&window["config_"+a].serverSide){jQuery(".berocket_product_table_compat .wc-product-table").DataTable().destroy();var b=jQuery(".berocket_product_table_compat").html();jQuery(".berocket_product_table_compat").html(""),jQuery(".berocket_product_table_compat").html(b),jQuery(".berocket_product_table_compat .blockUI.blockOverlay").remove(),jQuery(".berocket_product_table_compat .wc-product-table").productTable()}}braapf_get_current_filters=function(b){if(b.queryargs.length){var c=[];a.each(b.queryargs,function(a,d){d.name==the_ajax_script.url_variable?b.filter=d.value:c.push(d)}),b.queryargs=c}return b},braapf_set_filters_to_link=function(a,b,c,d,e){return"string"==typeof b.filter&&b.filter.length&&(a+=e.length?"&":"?",a+=the_ajax_script.url_variable+"="+b.filter),a},braapf_convert_ckbox_to_radio=function(b,c,d,e){var f=(a(b),a(b).closest(".bapf_sfilter.bapf_ckbox"));f.is(".bapf_asradio")&&f.find("input[type=checkbox]:checked:not(:disabled)").each(function(){var b=a(this).val();b!=d&&braapf_checkbox_same(c,b,!1)})},berocket_add_filter("input_ckbox_changed",braapf_convert_ckbox_to_radio),a(document).on("click",".bapf_ochild, .bapf_cchild",function(b){b.preventDefault,a(this).is(".bapf_ochild")?a(this).trigger("bapf_ochild"):a(this).trigger("bapf_cchild")}),a(document).on("bapf_ochild",".bapf_sfilter.bapf_ckbox ul li",function(b){b.stopPropagation(),a(this).find(".bapf_ochild, .bapf_cchild").first().removeClass("bapf_ochild").removeClass("fa-plus").addClass("bapf_cchild").addClass("fa-minus"),a(this).find("ul").first().show()}),a(document).on("bapf_cchild",".bapf_sfilter.bapf_ckbox ul li",function(b){b.stopPropagation(),a(this).find(".bapf_ochild, .bapf_cchild").first().addClass("bapf_ochild").addClass("fa-plus").removeClass("bapf_cchild").removeClass("fa-minus"),a(this).find("ul").first().hide()});var c=[];braapf_hierarhical_save=function(b){return c=[],a(".bapf_cchild").each(function(){c.push(a(this).parent().children("input[type=checkbox]").attr("id"))}),b},braapf_hierarhical_set=function(b){return a.each(c,function(b,c){a("#"+c).trigger("bapf_ochild")}),b},berocket_add_filter("ajax_load_from_url_done",braapf_hierarhical_save,1),berocket_add_filter("ajax_load_from_url_done_after",braapf_hierarhical_set,1e3),a(document).on("click",".bapf_ocolaps .bapf_colaps_togl, .bapf_ccolaps .bapf_colaps_togl",function(b){b.preventDefault,a(this).closest(".bapf_ocolaps, .bapf_ccolaps").is(".bapf_ocolaps")?a(this).closest(".bapf_ocolaps, .bapf_ccolaps").trigger("bapf_ocolaps"):a(this).closest(".bapf_ocolaps, .bapf_ccolaps").trigger("bapf_ccolaps")}),a(document).on("bapf_ocolaps",".bapf_sfilter.bapf_ocolaps, .bapf_sfilter.bapf_ccolaps",function(b){a(this).find(".bapf_body").first().show(),a(this).removeClass("bapf_ocolaps").addClass("bapf_ccolaps"),a(this).find(".bapf_colaps_smb").length&&a(this).find(".bapf_colaps_smb").removeClass("fa-chevron-down").addClass("fa-chevron-up")}),a(document).on("bapf_ccolaps",".bapf_sfilter.bapf_ocolaps, .bapf_sfilter.bapf_ccolaps",function(b){a(this).find(".bapf_body").first().hide(),a(this).addClass("bapf_ocolaps").removeClass("bapf_ccolaps"),a(this).find(".bapf_colaps_smb").length&&a(this).find(".bapf_colaps_smb").addClass("fa-chevron-down").removeClass("fa-chevron-up")});var d={open:[],close:[]};braapf_collapse_status_save=function(b){return d={open:[],close:[]},a(".bapf_ocolaps, .bapf_ccolaps").each(function(){a(this).is(".bapf_ocolaps")?d.open.push(a(this).attr("id")):d.close.push(a(this).attr("id"))}),b},braapf_collapse_status_set=function(b){return a.each(d.open,function(b,c){a("#"+c).trigger("bapf_ccolaps")}),a.each(d.close,function(b,c){a("#"+c).trigger("bapf_ocolaps")}),b},berocket_add_filter("ajax_load_from_url_done",braapf_collapse_status_save,1),berocket_add_filter("ajax_load_from_url_done_after",braapf_collapse_status_set,1e3),a(document).on("click",".bapf_show_hide",function(){a(this).closest(".bapf_sfilter").toggleClass("bapf_fhide"),a(this).closest(".bapf_sfilter").is(".bapf_fhide")?a(this).text(a(this).data("show")):a(this).text(a(this).data("hide"))});var e={open:[],close:[]};braapf_show_hide_values_save=function(b){return e={open:[],close:[]},a(".bapf_sfilter").each(function(){a(this).is(".bapf_fhide")?e.close.push(a(this).attr("id")):e.open.push(a(this).attr("id"))}),b},braapf_show_hide_values_set=function(b){return a.each(e.open,function(b,c){a("#"+c).removeClass("bapf_fhide"),a("#"+c).find(".bapf_show_hide").text(a("#"+c).find(".bapf_show_hide").data("hide"))}),a.each(e.close,function(b,c){a("#"+c).addClass("bapf_fhide"),a("#"+c).find(".bapf_show_hide").text(a("#"+c).find(".bapf_show_hide").data("show"))}),b},berocket_add_filter("ajax_load_from_url_done",braapf_show_hide_values_save,1),berocket_add_filter("ajax_load_from_url_done_after",braapf_show_hide_values_set,1e3),braapf_scroll_shop_to_top=function(b,c,d,e,f){var g=berocket_apply_filters("filter_mobile_width",767);if(berocket_apply_filters("scroll_shop_to_top","default"==f&&(1==the_ajax_script.scroll_shop_top||2==the_ajax_script.scroll_shop_top&&a(window).width()<g||3==the_ajax_script.scroll_shop_top&&a(window).width()>=g))){var h=0;a(the_ajax_script.products_holder_id).length?(h=a(the_ajax_script.products_holder_id).offset().top+parseInt(the_ajax_script.scroll_shop_top_px),h<0&&(h=0)):a(".bapf_no_products").length&&(h=a(".bapf_no_products").offset().top+parseInt(the_ajax_script.scroll_shop_top_px),h<0&&(h=0)),a("html, body").animate({scrollTop:h},"slow")}return b},berocket_add_filter("ajax_load_from_url_beforeSend",braapf_scroll_shop_to_top),a(document).on("mousedown",".wc-product-table-reset a",function(){a(this).remove(),br_reset_all_filters()}),a(document).on("click",".berocket_element_above_products_is_hide_toggle",function(b){b.preventDefault(),a(this).toggleClass("active").next().slideToggle(200,"linear");
10
+ var c="inactive";a(this).is(".active")&&(c="active"),a(document).trigger("berocket_element_above_products_"+c)}),berocket_custom_sidebar_close=function(){a(".berocket_ajax_filters_sidebar_toggle").removeClass("active"),a("#berocket-ajax-filters-sidebar").removeClass("active"),a("body").removeClass("berocket_ajax_filters_sidebar_active")},berocket_custom_sidebar_open=function(){a(".berocket_ajax_filters_sidebar_toggle").addClass("active"),a("#berocket-ajax-filters-sidebar").addClass("active"),a("body").addClass("berocket_ajax_filters_sidebar_active")},a(document).on("berocket_custom_sidebar_close",berocket_custom_sidebar_close),a(document).on("berocket_custom_sidebar_open",berocket_custom_sidebar_open),a(document).on("click",".berocket_ajax_filters_sidebar_toggle",function(b){b.preventDefault(),a(this).is(".active")&&a("#berocket-ajax-filters-sidebar").is(".active")?berocket_custom_sidebar_close():berocket_custom_sidebar_open()}),a(document).on("click","#berocket-ajax-filters-sidebar-shadow, #berocket-ajax-filters-sidebar-close",function(a){a.preventDefault(),berocket_custom_sidebar_close()}),a(document).on("berocket_ajax_filtering_start",function(){jQuery(".berocket_product_table_compat").length&&b()}),braapf_filters_url_decode=function(a){return the_ajax_script.seo_uri_decode&&(a=encodeURIComponent(a),the_ajax_script.nice_urls&&(a=a.replace("%2F","/"))),a}}(jQuery),berocket_add_filter("get_current_url_data",braapf_get_current_filters),berocket_add_filter("compat_filters_to_string",braapf_filters_url_decode,900),berocket_add_filter("url_from_urldata_linkget",braapf_set_filters_to_link);var braapf_child_parent_grab_single,braapf_child_parent_fix_selected,braapf_child_parent_load_with_update_button,braapf_add_loader_element,braapf_remove_loader_element;!function(a){braapf_child_parent_grab_single=function(b,c,d){var e=c.data("child");if("undefined"!=typeof e&&e>0&&"object"==typeof b&&"undefined"!=typeof b.values&&Array.isArray(b.values)&&b.values.length>0){e++;var f=c.data("taxonomy"),g=a(".bapf_sfilter.bapf_child_"+e+"[data-taxonomy="+f+"]");if(g.length){var h=braapf_grab_single(g,[],!0);"object"==typeof h&&"undefined"!=typeof h.values&&Array.isArray(h.values)&&h.values.length>0&&(b=h)}}return b},braapf_child_parent_fix_selected=function(b,c){if(0!=c){var d=c.closest(".bapf_sfilter");if(d.length){var e=d.data("child"),f=d.data("taxonomy");if("undefined"!=typeof e&&e>0)for(i=e+1;a(".bapf_sfilter.bapf_child_"+i+"[data-taxonomy="+f+"]").length;i++)a(".bapf_sfilter.bapf_child_"+i+"[data-taxonomy="+f+"]").trigger("braapf_unselect",!1)}}return b},braapf_child_parent_load_with_update_button=function(a,b,c){if(0!=c){var d=c.closest(".bapf_sfilter");if(d.length){var e=d.data("child");d.data("taxonomy");"undefined"!=typeof e&&e>0&&(a=!0)}}return a},berocket_add_filter("grab_single_filter_default",braapf_child_parent_grab_single),berocket_add_filter("before_update_products_context",braapf_child_parent_fix_selected),berocket_add_filter("apply_filters_to_page_partial",braapf_child_parent_load_with_update_button);var b;braapf_add_loader_element=function(c,d,e,f,g){return"default"==g&&("undefined"!=typeof b&&"function"==typeof b.remove&&b.remove(),b=a(the_ajax_script.load_image),a("body").append(b)),c},braapf_remove_loader_element=function(a){return"undefined"!=typeof b&&"function"==typeof b.remove&&b.remove(),a},berocket_add_filter("ajax_load_from_url_beforeSend",braapf_add_loader_element),berocket_add_filter("ajax_load_from_url_always_after",braapf_remove_loader_element),a(document).on("click",".bapf_sfilter.bapf_ckbox .bapf_body li label a",function(b){b.preventDefault(),a(this).parent().trigger("click")})}(jQuery);var braapf_init_ion_slidr,braapf_ion_slidr_same,braapf_jqrui_slidr_ion_value_wc_price,braapf_jqrui_slidr_ion_value_arr_attr,braapf_init_ion_slidr_for_parent,braapf_grab_single_ion,braapf_jqrui_slidr_ion_values_link_arr_attr;!function(a){braapf_init_ion_slidr=function(){braapf_init_ion_slidr_for_parent(a(document))},braapf_init_ion_slidr_for_parent=function(b){b.find(".bapf_slidr_ion:not(.bapf_slidr_ready)").each(function(){var b=a(this).find(".bapf_slidr_all .bapf_slidr_main"),c=function(a){if(!b.is(".bapf_ion_blocked")){b.addClass("bapf_ion_blocked");var c=b.closest(".bapf_sfilter").data("taxonomy");braapf_ion_slidr_same(c,a);var d={element:"#"+b.closest(".bapf_sfilter").attr("id"),parent:0,find:".bapf_body"};berocket_apply_filters("filter_changed_element",d,b),berocket_do_action("update_products","filter",b),b.removeClass("bapf_ion_blocked")}},d=berocket_apply_filters("jqrui_data_slidr_ion",{type:"double",from:b.data("start"),to:b.data("end"),grid:!1,force_edges:!0,onFinish:c,onUpdate:c,prettify:function(a){return a=berocket_apply_filters("jqrui_slidr_ion_"+b.data("display"),a,b)}},b);b.ionRangeSlider(d),a(this).addClass("bapf_slidr_ready")})},braapf_ion_slidr_same=function(b,c){a(".bapf_slidr_ion.bapf_slidr_ready[data-taxonomy="+b+"]").each(function(){var b=a(this).find(".bapf_slidr_main");b.addClass("bapf_ion_blocked");var d=b.data("ionRangeSlider");d.update({from:c.from,to:c.to}),b.removeClass("bapf_ion_blocked")})},braapf_jqrui_slidr_ion_value_wc_price=function(a,b){var c=b.data("number_style");return c||(c=the_ajax_script.number_style),a=berocket_format_number(parseFloat(a),c)},braapf_jqrui_slidr_ion_value_arr_attr=function(a,b){var c=b.data("attr");return a=c[a].n},braapf_grab_single_ion=function(a,b){if(b.is(".bapf_slidr_ion.bapf_slidr_ready")&&0!=a){var c=b.find(".bapf_slidr_main").data("ionRangeSlider"),d=b.find(".bapf_slidr_main"),e=[c.options.from,c.options.to],f=[berocket_apply_filters("jqrui_slidr_ion_"+d.data("display"),c.options.from,d),berocket_apply_filters("jqrui_slidr_ion_"+d.data("display"),c.options.to,d)],g=d.data("prefix");"undefined"==typeof g&&(g="");var h=d.data("postfix");if("undefined"==typeof h&&(h=""),f[0]=g+f[0]+h,f[1]=g+f[1]+h,e[0]!=d.data("min")||e[1]!=d.data("max")){var i={value:e[0]+"_"+e[1],html:f[0]+" - "+f[1]};i=berocket_apply_filters("jqrui_slidr_ion_link_"+d.data("display"),i,e,f,d,a),a.values=[i]}}return a},braapf_jqrui_slidr_ion_values_link_arr_attr=function(a,b,c,d,e){var f=d.data("attr");return a.value=f[b[0]].v+"_"+f[b[1]].v,a},a(document).on("braapf_unselect braapf_unselect_all",".bapf_slidr_ion",function(b,c){var d=a(this).find(".bapf_slidr_main"),e=d.data("ionRangeSlider");d.addClass("bapf_ion_blocked"),e.update({from:e.options.min,to:e.options.max}),d.removeClass("bapf_ion_blocked")}),berocket_add_filter("braapf_init",braapf_init_ion_slidr),berocket_add_filter("braapf_init_for_parent",braapf_init_ion_slidr_for_parent),berocket_add_filter("grab_single_filter_default",braapf_grab_single_ion),berocket_add_filter("jqrui_slidr_ion_link_arr_attr",braapf_jqrui_slidr_ion_values_link_arr_attr),berocket_add_filter("jqrui_slidr_ion_wc_price",braapf_jqrui_slidr_ion_value_wc_price),berocket_add_filter("jqrui_slidr_ion_arr_attr",braapf_jqrui_slidr_ion_value_arr_attr)}(jQuery);var braapf_grab_single_select;!function(a){a(document).on("change",".bapf_slct .bapf_body select",function(){var b={element:"#"+a(this).closest(".bapf_sfilter").attr("id"),parent:0,find:".bapf_body"};berocket_apply_filters("filter_changed_element",b,a(this)),berocket_do_action("update_products","filter",a(this))}),braapf_grab_single_select=function(b,c){if(c.is(".bapf_slct")&&0!=b){var d=c.find(".bapf_body select:not(:disabled)");d.find("option:selected:not(:disabled)").each(function(){var c=a(this).val();c&&b.values.push({value:c,html:a(this).data("name")})})}return b},a(document).on("braapf_unselect braapf_unselect_all",".bapf_slct",function(b,c){a(this).find(".bapf_body select:not(:disabled) option:selected:not(:disabled)").each(function(){"undefined"!=typeof c.value&&c.value!=a(this).val()||a(this).prop("selected",!1)})}),berocket_add_filter("grab_single_filter_default",braapf_grab_single_select)}(jQuery);var bapf_select2_init,bapf_select2_init_for_parent,bapf_select2_disable_for_parent;jQuery(document).ready(function(){bapf_select2_init=function(){bapf_select2_init_for_parent(jQuery(document))},bapf_select2_init_for_parent=function(a){a.find(".bapf_select2").length&&"undefined"!=typeof a.find(".bapf_select2").select2&&a.find(".bapf_select2").each(function(){if(!jQuery(this).data("select2")){var a={width:"100%",theme:"default"};jQuery(this).prop("multiple")&&(a.placeholder=jQuery(this).data("placeholder")),jQuery(this).parents("#berocket-ajax-filters-sidebar").length&&(0==jQuery("#bapf-select2-high-zindex").length&&jQuery("body").append('<div id="bapf-select2-high-zindex"></div>'),a.dropdownParent=jQuery("#bapf-select2-high-zindex")),a=berocket_apply_filters("jqrui_data_select2",a,jQuery(this)),jQuery(this).select2(a)}})},bapf_select2_disable_for_parent=function(a){a.find(".bapf_select2").length&&"undefined"!=typeof a.find(".bapf_select2").select2&&a.find(".bapf_select2").each(function(){jQuery(this).data("select2")&&jQuery(this).select2("destroy")})},jQuery(document).on("berocket_ajax_filtering_on_update",function(){bapf_select2_disable_for_parent(jQuery(document))}),bapf_select2_init(),berocket_add_filter("braapf_init",bapf_select2_init,2e3),berocket_add_filter("braapf_init_for_parent",bapf_select2_init_for_parent)});var braapf_init_jqrui_slidr,braapf_jqrui_slidr_same,braapf_jqrui_slidr_values_wc_price,braapf_init_jqrui_slidr_for_parent,braapf_grab_single_jqrui,braapf_jqrui_slidr_values_arr_attr,braapf_jqrui_slidr_values_link_arr_attr;!function(a){function b(b,c){var d=a(b).closest(".bapf_slidr_jqrui.bapf_slidr_ready").find(".bapf_slidr_main"),e=d.slider("values");a(b).val(e[c]),a(b).data("val",e[c])}function c(b,c,d){var e=a(b).closest(".bapf_slidr_jqrui.bapf_slidr_ready").find(".bapf_slidr_main");if("focusout"==d){if(a(b).val()==a(b).data("val")){var f=e.slider("values");e.trigger("braapf_change_jqrui_slidr",[f])}}else{var g=parseInt(a(b).val());e.slider("values",c,g)}}a.each([{position:0,className:"bapf_from"},{position:1,className:"bapf_to"}],function(d,e){a(document).on("focusin",".bapf_slidr_jqrui.bapf_slidr_ready ."+e.className+" input[type=text]",function(){b(this,e.position)}),a(document).on("change focusout",".bapf_slidr_jqrui.bapf_slidr_ready ."+e.className+" input[type=text]",function(a){c(this,e.position,a.type)}),a(document).on("change",".bapf_slidr_jqrui.bapf_slidr_ready ."+e.className+" select",function(a){c(this,e.position,a.type)})}),a(document).on("braapf_change_jqrui_slidr",".bapf_slidr_jqrui .bapf_slidr_main",function(b,c){var d=a(this),e=[c[0],c[1]];e=berocket_apply_filters("jqrui_slidr_"+d.data("display"),e,d),d.closest(".bapf_slidr_jqrui").find(".bapf_from span.bapf_val").length&&d.closest(".bapf_slidr_jqrui").find(".bapf_from span.bapf_val").text(e[0]),d.closest(".bapf_slidr_jqrui").find(".bapf_to span.bapf_val").length&&d.closest(".bapf_slidr_jqrui").find(".bapf_to span.bapf_val").text(e[1])}),a(document).on("braapf_change_jqrui_slidr",".bapf_slidr_jqrui .bapf_slidr_main",function(b,c){var d=a(this),e=[c[0],c[1]];e=berocket_apply_filters("jqrui_slidr_"+d.data("display"),e,d),d.closest(".bapf_slidr_jqrui").find(".bapf_from input[type=text]").length&&d.closest(".bapf_slidr_jqrui").find(".bapf_from input[type=text]").val(e[0]),d.closest(".bapf_slidr_jqrui").find(".bapf_to input[type=text]").length&&d.closest(".bapf_slidr_jqrui").find(".bapf_to input[type=text]").val(e[1])}),a(document).on("braapf_change_jqrui_slidr",".bapf_slidr_jqrui .bapf_slidr_main",function(b,c){var d=a(this),e=d.data("attr");if(d.closest(".bapf_slidr_jqrui").find(".bapf_from select").length||d.closest(".bapf_slidr_jqrui").find(".bapf_to select").length){var e=d.data("attr"),f=[],g=[],h=!1,i=!1;a.each(e,function(a,b){a==c[0]&&(i=!0),h||f.push({v:b.v,n:b.n,ov:a}),i&&g.push({v:b.v,n:b.n,ov:a}),a==c[1]&&(h=!0)})}d.closest(".bapf_slidr_jqrui").find(".bapf_from select").length&&(d.closest(".bapf_slidr_jqrui").find(".bapf_from select option").remove(),a.each(f,function(b,e){var f="";e.ov==c[0]&&(f=" selected"),d.closest(".bapf_slidr_jqrui").find(".bapf_from select").append(a('<option value="'+e.ov+'"'+f+">"+e.n+"</option>"))})),d.closest(".bapf_slidr_jqrui").find(".bapf_to select").length&&(d.closest(".bapf_slidr_jqrui").find(".bapf_to select option").remove(),a.each(g,function(b,e){var f="";e.ov==c[1]&&(f=" selected"),d.closest(".bapf_slidr_jqrui").find(".bapf_to select").append(a('<option value="'+e.ov+'"'+f+">"+e.n+"</option>"))}))}),braapf_init_jqrui_slidr=function(){braapf_init_jqrui_slidr_for_parent(a(document))},braapf_init_jqrui_slidr_for_parent=function(b){b.find(".bapf_slidr_jqrui:not(.bapf_slidr_ready)").each(function(){var b=a(this).find(".bapf_slidr_main"),c=berocket_apply_filters("jqrui_data_slidr_jqrui",{range:!0,min:b.data("min"),max:b.data("max"),values:[b.data("start"),b.data("end")],step:b.data("step"),create:function(b,c){var d=a(this).slider("values");a(this).trigger("braapf_change_jqrui_slidr",[d])},slide:function(b,c){a(this).trigger("braapf_change_jqrui_slidr",[c.values])},change:function(b,c){var d=a(this).slider("values");if(a(this).trigger("braapf_change_jqrui_slidr",[d]),!a(this).is(".bapf_jqrui_blocked")){var d=a(this).slider("values"),e=a(this).parents(".bapf_sfilter").data("taxonomy");braapf_jqrui_slidr_same(e,d);var f={element:"#"+a(this).closest(".bapf_sfilter").attr("id"),parent:0,find:".bapf_body"};berocket_apply_filters("filter_changed_element",f,a(this)),berocket_do_action("update_products","filter",a(this))}}},b);b.slider(c),a(this).addClass("bapf_slidr_ready")})},braapf_jqrui_slidr_same=function(b,c){a(".bapf_slidr_jqrui.bapf_slidr_ready[data-taxonomy="+b+"]").each(function(){var b=a(this).find(".bapf_slidr_main");b.addClass("bapf_jqrui_blocked"),b.slider("values",c),b.removeClass("bapf_jqrui_blocked")})},braapf_jqrui_slidr_values_wc_price=function(a,b){var c=b.data("number_style");return c||(c=the_ajax_script.number_style),a[0]=berocket_format_number(a[0],c),a[1]=berocket_format_number(a[1],c),a},braapf_grab_single_jqrui=function(a,b){if(b.is(".bapf_slidr_jqrui.bapf_slidr_ready")&&0!=a){var c=b.find(".bapf_slidr_main"),d=c.slider("values"),e=c.slider("values"),f="";b.find(".bapf_tbprice").length&&(f=b.find(".bapf_tbprice").first().text());var g="";if(b.find(".bapf_taprice").length&&(g=b.find(".bapf_taprice").first().text()),d[0]!=c.data("min")||d[1]!=c.data("max")){e=berocket_apply_filters("jqrui_slidr_"+c.data("display"),e,c),e[0]=f+e[0]+g,e[1]=f+e[1]+g;var h={value:d[0]+"_"+d[1],html:e[0]+" - "+e[1]};h=berocket_apply_filters("jqrui_slidr_link_"+c.data("display"),h,d,e,c,a),a.values=[h]}}return a},braapf_jqrui_slidr_values_arr_attr=function(a,b){var c=b.data("attr");return Array.isArray(a)&&2==a.length?(a[0]=c[a[0]].n,a[1]=c[a[1]].n):(a=["",""],a[0]=c[0].n,a[1]=c[c.length-1].n),a},braapf_jqrui_slidr_values_link_arr_attr=function(a,b,c,d,e){var f=d.data("attr");return a.value=f[b[0]].v+"_"+f[b[1]].v,a},a(document).on("braapf_unselect braapf_unselect_all",".bapf_slidr_jqrui",function(b,c){var d=a(this).find(".bapf_slidr_main"),e=d.data("min"),f=d.data("max");d.addClass("bapf_jqrui_blocked"),d.slider("values",[e,f]),d.removeClass("bapf_jqrui_blocked")}),berocket_add_filter("jqrui_slidr_wc_price",braapf_jqrui_slidr_values_wc_price),berocket_add_filter("jqrui_slidr_arr_attr",braapf_jqrui_slidr_values_arr_attr),berocket_add_filter("jqrui_slidr_link_arr_attr",braapf_jqrui_slidr_values_link_arr_attr),berocket_add_filter("grab_single_filter_default",braapf_grab_single_jqrui),berocket_add_filter("braapf_init",braapf_init_jqrui_slidr),berocket_add_filter("braapf_init_for_parent",braapf_init_jqrui_slidr_for_parent)}(jQuery);
assets/frontend/js/main.js CHANGED
@@ -142,13 +142,16 @@ braapf_init_load,
142
  braapf_remove_pages_from_url_data,
143
  braapf_filter_products_by_url,
144
  braapf_get_current_url_data,
145
- braapf_reset_buttons_hide;
 
 
 
146
  function braapf_grab_all_init() {braapf_grab_all();}
147
  function braapf_selected_filters_area_set_init() {braapf_selected_filters_area_set();}
148
  function braapf_filtered_filters_set() {
149
- braapf_filtered_filters = braapf_selected_filters.slice();
150
- berocket_do_action('braapf_init_filtered_set', braapf_filtered_filters);
151
- }
152
  (function ($){
153
  //Main part
154
  //Checkbox change script
@@ -202,7 +205,7 @@ function braapf_filtered_filters_set() {
202
  berocket_do_action('update_products', 'reset_all', $(this));
203
  });
204
  braapf_reset_buttons_hide = function() {
205
- if( typeof(braapf_filtered_filters) == 'undefined' || braapf_filtered_filters.length <= 0 ) {
206
  $('.bapf_rst_nofltr').hide();
207
  } else {
208
  $('.bapf_rst_nofltr').show();
@@ -216,7 +219,7 @@ function braapf_filtered_filters_set() {
216
  }
217
  });
218
  }
219
- if( selected ) {
220
  $('.bapf_rst_sel').show();
221
  } else {
222
  $('.bapf_rst_sel').hide();
@@ -227,22 +230,24 @@ function braapf_filtered_filters_set() {
227
  //Pagination page
228
  var pagination_links = the_ajax_script.pagination_class;
229
  pagination_links = pagination_links.replace(',', ' a,');
230
- pagination_links = pagination_links+' a';
231
- $(document).on('click', pagination_links, function(event) {
232
- event.preventDefault();
233
- var href = $(this).attr('href');
234
- href = decodeURI(href);
235
- braapf_change_url_history_api(href, {replace:the_ajax_script.seo_friendly_urls});
236
- berocket_add_filter('ajax_load_from_url_beforeSend', braapf_pagination_prevent_filters_load);
237
- braapf_ajax_load_from_url(href, {}, berocket_apply_filters('ajax_load_from_pagination', {done:[braapf_replace_products, braapf_replace_pagination, braapf_replace_result_count, braapf_init_load]}, href));
238
- });
 
 
239
  function braapf_pagination_prevent_filters_load(xhr) {
240
  berocket_remove_filter('ajax_load_from_url_beforeSend', braapf_pagination_prevent_filters_load);
241
  xhr.setRequestHeader('X-Braapfdisable', '1');
242
  return xhr;
243
  }
244
  //Order By override
245
- if( the_ajax_script.control_sorting ) {
246
  $(document).on('submit', the_ajax_script.ordering_class, function(event) {
247
  event.preventDefault();
248
  var current_url_data = braapf_get_current_url_data();
@@ -340,7 +345,10 @@ function braapf_filtered_filters_set() {
340
  }
341
  return selected_filters;
342
  }
343
- braapf_grab_single = function(element, selected_filters) {
 
 
 
344
  element = $(element);
345
  var single_data = false;
346
  var exist = false;
@@ -364,7 +372,11 @@ function braapf_filtered_filters_set() {
364
  var glue = braapf_glue_by_operator(operator);
365
  var values = [];
366
  var values_find = [];
367
- var $elements = $('.bapf_sfilter[data-taxonomy='+taxonomy+']');
 
 
 
 
368
  $elements.find('input:checked:not(:disabled)').each(function(i, val) {
369
  if( values_find.indexOf($(this).val()) == -1 ) {
370
  values.push({value:$(this).val(), html:$(this).data('name')});
@@ -677,13 +689,15 @@ function braapf_filtered_filters_set() {
677
  }
678
  //INIT filters
679
  braapf_init_load = function() {
680
- if( $(window).width() <= 767 ) {
 
 
681
  $('.bapf_sngl_hd_mobile').remove();
682
  }
683
- if( $(window).width() > 767 && $(window).width() <= 1024 ) {
684
  $('.bapf_sngl_hd_tablet').remove();
685
  }
686
- if( $(window).width() > 1024 ) {
687
  $('.bapf_sngl_hd_desktop').remove();
688
  }
689
  $('.bapf_sfilter .bapf_body.bapf_mcs:not(.bapf_mcs_ready)').each(function() {
@@ -691,18 +705,23 @@ function braapf_filtered_filters_set() {
691
  });
692
  $('.berocket_single_filter_widget').each(function() {
693
  var data_id = $(this).data('id');
694
- if( $('.berocket_single_filter_widget_'+data_id).length > 1 ) {
695
  $('.berocket_single_filter_widget_'+data_id).not($('.berocket_single_filter_widget_'+data_id).first()).remove();
696
  }
697
  });
698
- $('.bapf_desci').on('click hover', function(e) {
 
 
 
699
  e.stopPropagation();
700
  });
701
  berocket_do_action('braapf_init', braapf_selected_filters);
702
  $(document).trigger('berocket_filters_first_load');
703
  }
704
  braapf_update_page_on_error = function() {
705
- location.reload();
 
 
706
  }
707
  //Selected filters area
708
  braapf_selected_filters_area_set = function() {
@@ -713,16 +732,16 @@ function braapf_filtered_filters_set() {
713
  html += '<span>' + taxonomy.name + '</span>';
714
  html += '<ul>';
715
  $.each(taxonomy.values, function(i2, val) {
716
- html += '<li><a href="#unselect_'+val.value+'" class="braapf_unselect" data-taxonomy="'+taxonomy.taxonomy+'" data-value="'+val.value+'"><i class="fa fa-times"></i>'+val.html+'</a></li>';
717
  });
718
  html += '</ul>';
719
  }
720
  });
721
  if( html ) {
722
  $('.bapf_sfa_mt_hide').show().parent().removeClass('bapf_mt_none');
723
- html = '<div class="berocket_aapf_widget_selected_filter">' + html + '<ul><li><a href="#Unselect_all" class="braapf_unselect_all"><i class="fa fa-times"></i> '+the_ajax_script.translate.unselect_all+'</a></li></ul>';
724
  } else {
725
- html =the_ajax_script.translate.nothing_selected;
726
  $('.bapf_sfa_mt_hide').hide().parent().addClass('bapf_mt_none');
727
  }
728
  $('.berocket_aapf_widget_selected_area').html(html);
@@ -763,8 +782,45 @@ function braapf_filtered_filters_set() {
763
  berocket_add_filter('ajax_load_from_url_beforeSend', braapf_additional_header);
764
  berocket_add_filter('update_products', braapf_update_products);
765
  berocket_add_filter('error_notsame_block_qty', braapf_reload_page_for_products_error);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
766
  $(document).ready(function(){
767
- if( $('.berocket_wc_shortcode_fix').length ) {
768
  braapf_replace_each_filter($('.berocket_wc_shortcode_fix').html());
769
  $('.berocket_wc_shortcode_fix').html('');
770
  }
@@ -772,9 +828,38 @@ function braapf_filtered_filters_set() {
772
  braapf_filtered_filters_set();
773
  $(document).trigger('berocket_filters_document_ready');
774
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
775
  })(jQuery);
776
  var braapf_get_current_filters,
777
- braapf_scroll_shop_to_top;
 
 
 
 
 
 
 
 
 
 
 
778
  (function ($){
779
  //default filters
780
  braapf_get_current_filters = function (url_data) {
@@ -933,10 +1018,11 @@ braapf_scroll_shop_to_top;
933
  berocket_add_filter('ajax_load_from_url_done_after', braapf_show_hide_values_set, 1000);
934
  //Scroll page to the top
935
  braapf_scroll_shop_to_top = function(data, url, send_data, callback_func, type) {
936
- if( type == 'default' && ( the_ajax_script.scroll_shop_top == 1
937
- || (the_ajax_script.scroll_shop_top == 2 && $(window).width() <= 768)
938
- || (the_ajax_script.scroll_shop_top == 3 && $(window).width() > 768) )
939
- ) {
 
940
  var top_scroll_offset = 0;
941
  if( $( the_ajax_script.products_holder_id ).length ) {
942
  top_scroll_offset = $( the_ajax_script.products_holder_id ).offset().top + parseInt(the_ajax_script.scroll_shop_top_px);
@@ -964,12 +1050,12 @@ braapf_scroll_shop_to_top;
964
  }
965
  $(document).trigger('berocket_element_above_products_'+is_active);
966
  });
967
- function berocket_custom_sidebar_close() {
968
  $('.berocket_ajax_filters_sidebar_toggle').removeClass( "active" );
969
  $('#berocket-ajax-filters-sidebar').removeClass('active');
970
  $('body').removeClass('berocket_ajax_filters_sidebar_active');
971
  }
972
- function berocket_custom_sidebar_open() {
973
  $('.berocket_ajax_filters_sidebar_toggle').addClass( "active" );
974
  $('#berocket-ajax-filters-sidebar').addClass('active');
975
  $('body').addClass('berocket_ajax_filters_sidebar_active');
@@ -1009,8 +1095,18 @@ braapf_scroll_shop_to_top;
1009
  berocket_ajax_load_product_table_compat();
1010
  }
1011
  });
 
 
 
 
 
 
 
 
 
1012
  })(jQuery);
1013
  berocket_add_filter('get_current_url_data', braapf_get_current_filters);
 
1014
  berocket_add_filter('url_from_urldata_linkget', braapf_set_filters_to_link);
1015
  var braapf_child_parent_grab_single,
1016
  braapf_child_parent_fix_selected,
@@ -1027,7 +1123,7 @@ braapf_remove_loader_element;
1027
  var taxonomy = element.data('taxonomy');
1028
  var next_child = $('.bapf_sfilter.bapf_child_'+child_position+'[data-taxonomy='+taxonomy+']');
1029
  if( next_child.length ) {
1030
- var new_single_data = braapf_grab_single (next_child, []);
1031
  if( typeof(new_single_data) == 'object' && typeof(new_single_data.values) != 'undefined' && Array.isArray(new_single_data.values) && new_single_data.values.length > 0 ) {
1032
  single_data = new_single_data;
1033
  }
@@ -1095,7 +1191,9 @@ var braapf_init_ion_slidr,
1095
  braapf_ion_slidr_same,
1096
  braapf_jqrui_slidr_ion_value_wc_price,
1097
  braapf_jqrui_slidr_ion_value_arr_attr,
1098
- braapf_init_ion_slidr_for_parent;
 
 
1099
  (function ($){
1100
  braapf_init_ion_slidr = function () {
1101
  braapf_init_ion_slidr_for_parent($(document));
@@ -1144,7 +1242,7 @@ braapf_init_ion_slidr_for_parent;
1144
  $slider.removeClass('bapf_ion_blocked');
1145
  });
1146
  }
1147
- function braapf_jqrui_slidr_ion_value_wc_price(value, $element) {
1148
  var number_style = $element.data('number_style');
1149
  if( ! number_style ) {
1150
  number_style = the_ajax_script.number_style;
@@ -1163,6 +1261,16 @@ braapf_init_ion_slidr_for_parent;
1163
  var $slider = element.find('.bapf_slidr_main');
1164
  var values = [data.options.from, data.options.to];
1165
  var input_values = [berocket_apply_filters('jqrui_slidr_ion_'+$slider.data('display'), data.options.from, $slider), berocket_apply_filters('jqrui_slidr_ion_'+$slider.data('display'), data.options.to, $slider)];
 
 
 
 
 
 
 
 
 
 
1166
  if( values[0] != $slider.data('min') || values[1] != $slider.data('max') ) {
1167
  var value_ready = {value:values[0]+'_'+values[1], html:input_values[0]+' - '+input_values[1]};
1168
  value_ready = berocket_apply_filters('jqrui_slidr_ion_link_'+$slider.data('display'), value_ready, values, input_values, $slider, single_data);
@@ -1191,9 +1299,7 @@ braapf_init_ion_slidr_for_parent;
1191
  berocket_add_filter('jqrui_slidr_ion_arr_attr', braapf_jqrui_slidr_ion_value_arr_attr);
1192
  })(jQuery);
1193
 
1194
- var braapf_init_jqrui_slidr,
1195
- braapf_jqrui_slidr_same,
1196
- braapf_jqrui_slidr_values_wc_price;
1197
  (function ($){
1198
  $(document).on('change', '.bapf_slct .bapf_body select', function() {
1199
  var filter_changed_element = {
@@ -1242,7 +1348,10 @@ jQuery(document).ready(function() {
1242
  select2data.placeholder = jQuery(this).data('placeholder');
1243
  }
1244
  if( jQuery(this).parents('#berocket-ajax-filters-sidebar').length ) {
1245
- select2data.dropdownParent = $('#berocket-ajax-filters-sidebar');
 
 
 
1246
  }
1247
  select2data = berocket_apply_filters('jqrui_data_select2', select2data, jQuery(this));
1248
  jQuery(this).select2(select2data);
@@ -1269,7 +1378,10 @@ jQuery(document).ready(function() {
1269
  var braapf_init_jqrui_slidr,
1270
  braapf_jqrui_slidr_same,
1271
  braapf_jqrui_slidr_values_wc_price,
1272
- braapf_init_jqrui_slidr_for_parent;
 
 
 
1273
  (function ($){
1274
  function braapf_slider_input_focusin(input, position) {
1275
  var $slider = $(input).closest('.bapf_slidr_jqrui.bapf_slidr_ready').find('.bapf_slidr_main');
@@ -1427,8 +1539,18 @@ braapf_init_jqrui_slidr_for_parent;
1427
  var $slider = element.find('.bapf_slidr_main');
1428
  var values = $slider.slider('values');
1429
  var input_values = $slider.slider('values');
 
 
 
 
 
 
 
 
1430
  if( values[0] != $slider.data('min') || values[1] != $slider.data('max') ) {
1431
  input_values = berocket_apply_filters('jqrui_slidr_'+$slider.data('display'), input_values, $slider);
 
 
1432
  var value_ready = {value:values[0]+'_'+values[1], html:input_values[0]+' - '+input_values[1]};
1433
  value_ready = berocket_apply_filters('jqrui_slidr_link_'+$slider.data('display'), value_ready, values, input_values, $slider, single_data);
1434
  single_data.values = [value_ready];
142
  braapf_remove_pages_from_url_data,
143
  braapf_filter_products_by_url,
144
  braapf_get_current_url_data,
145
+ braapf_reset_buttons_hide,
146
+ bapf_universal_theme_compatibility,
147
+ braapf_disable_ajax_loading,
148
+ braapf_close_tippy;
149
  function braapf_grab_all_init() {braapf_grab_all();}
150
  function braapf_selected_filters_area_set_init() {braapf_selected_filters_area_set();}
151
  function braapf_filtered_filters_set() {
152
+ braapf_filtered_filters = braapf_selected_filters.slice();
153
+ berocket_do_action('braapf_init_filtered_set', braapf_filtered_filters);
154
+ }
155
  (function ($){
156
  //Main part
157
  //Checkbox change script
205
  berocket_do_action('update_products', 'reset_all', $(this));
206
  });
207
  braapf_reset_buttons_hide = function() {
208
+ if( berocket_apply_filters('bapf_rst_nofltr_hide', (typeof(braapf_filtered_filters) == 'undefined' || braapf_filtered_filters.length <= 0)) ) {
209
  $('.bapf_rst_nofltr').hide();
210
  } else {
211
  $('.bapf_rst_nofltr').show();
219
  }
220
  });
221
  }
222
+ if( berocket_apply_filters('bapf_rst_sel_show', selected) ) {
223
  $('.bapf_rst_sel').show();
224
  } else {
225
  $('.bapf_rst_sel').hide();
230
  //Pagination page
231
  var pagination_links = the_ajax_script.pagination_class;
232
  pagination_links = pagination_links.replace(',', ' a,');
233
+ pagination_links = berocket_apply_filters('pagination_links_a_tags', pagination_links+' a', the_ajax_script.pagination_class);
234
+ if( !the_ajax_script.disable_ajax_loading && the_ajax_script.woocommerce_removes.pagination_ajax ) {
235
+ $(document).on('click', pagination_links, function(event) {
236
+ event.preventDefault();
237
+ var href = $(this).attr('href');
238
+ href = berocket_apply_filters('pagination_href_from_clicked_a', decodeURI(href), $(this));
239
+ braapf_change_url_history_api(href, {replace:the_ajax_script.seo_friendly_urls});
240
+ berocket_add_filter('ajax_load_from_url_beforeSend', braapf_pagination_prevent_filters_load);
241
+ braapf_ajax_load_from_url(href, {}, berocket_apply_filters('ajax_load_from_pagination', {done:[braapf_replace_products, braapf_replace_pagination, braapf_replace_result_count, braapf_init_load]}, href));
242
+ });
243
+ }
244
  function braapf_pagination_prevent_filters_load(xhr) {
245
  berocket_remove_filter('ajax_load_from_url_beforeSend', braapf_pagination_prevent_filters_load);
246
  xhr.setRequestHeader('X-Braapfdisable', '1');
247
  return xhr;
248
  }
249
  //Order By override
250
+ if( !the_ajax_script.disable_ajax_loading && the_ajax_script.control_sorting ) {
251
  $(document).on('submit', the_ajax_script.ordering_class, function(event) {
252
  event.preventDefault();
253
  var current_url_data = braapf_get_current_url_data();
345
  }
346
  return selected_filters;
347
  }
348
+ braapf_grab_single = function(element, selected_filters, grab_single) {
349
+ if( typeof(grab_single) == 'undefined' ) {
350
+ grab_single = false;
351
+ }
352
  element = $(element);
353
  var single_data = false;
354
  var exist = false;
372
  var glue = braapf_glue_by_operator(operator);
373
  var values = [];
374
  var values_find = [];
375
+ if( grab_single ) {
376
+ var $elements = element;
377
+ } else {
378
+ var $elements = $('.bapf_sfilter[data-taxonomy='+taxonomy+']');
379
+ }
380
  $elements.find('input:checked:not(:disabled)').each(function(i, val) {
381
  if( values_find.indexOf($(this).val()) == -1 ) {
382
  values.push({value:$(this).val(), html:$(this).data('name')});
689
  }
690
  //INIT filters
691
  braapf_init_load = function() {
692
+ var mobile_width = berocket_apply_filters('filter_mobile_width', 767);
693
+ var tablet_width = berocket_apply_filters('filter_tablet_width', 1024);
694
+ if( $(window).width() <= mobile_width ) {
695
  $('.bapf_sngl_hd_mobile').remove();
696
  }
697
+ if( $(window).width() > mobile_width && $(window).width() <= tablet_width ) {
698
  $('.bapf_sngl_hd_tablet').remove();
699
  }
700
+ if( $(window).width() > tablet_width ) {
701
  $('.bapf_sngl_hd_desktop').remove();
702
  }
703
  $('.bapf_sfilter .bapf_body.bapf_mcs:not(.bapf_mcs_ready)').each(function() {
705
  });
706
  $('.berocket_single_filter_widget').each(function() {
707
  var data_id = $(this).data('id');
708
+ if( berocket_apply_filters('remove_same_filters_to_prevent_errors', ($('.berocket_single_filter_widget_'+data_id).length > 1), $(this), data_id ) ) {
709
  $('.berocket_single_filter_widget_'+data_id).not($('.berocket_single_filter_widget_'+data_id).first()).remove();
710
  }
711
  });
712
+ $('body').on('click', '.bapf_desci', function(e) {
713
+ e.stopPropagation();
714
+ });
715
+ $('body').on('hover', '.bapf_desci', function(e) {
716
  e.stopPropagation();
717
  });
718
  berocket_do_action('braapf_init', braapf_selected_filters);
719
  $(document).trigger('berocket_filters_first_load');
720
  }
721
  braapf_update_page_on_error = function() {
722
+ if( berocket_apply_filters('update_page_on_error', true) ) {
723
+ location.reload();
724
+ }
725
  }
726
  //Selected filters area
727
  braapf_selected_filters_area_set = function() {
732
  html += '<span>' + taxonomy.name + '</span>';
733
  html += '<ul>';
734
  $.each(taxonomy.values, function(i2, val) {
735
+ html += berocket_apply_filters('default_selected_filters_area_single', '<li><a href="#unselect_'+val.value+'" class="braapf_unselect" data-taxonomy="'+taxonomy.taxonomy+'" data-value="'+val.value+'"><i class="fa fa-times"></i>'+val.html+'</a></li>', val);
736
  });
737
  html += '</ul>';
738
  }
739
  });
740
  if( html ) {
741
  $('.bapf_sfa_mt_hide').show().parent().removeClass('bapf_mt_none');
742
+ html = berocket_apply_filters('default_selected_filters_area_full_exist', '<div class="berocket_aapf_widget_selected_filter">' + html + '<ul><li><a href="#Unselect_all" class="braapf_unselect_all"><i class="fa fa-times"></i> '+the_ajax_script.translate.unselect_all+'</a></li></ul>', html, braapf_filtered_filters);
743
  } else {
744
+ html = berocket_apply_filters('default_selected_filters_area_full_notexist', the_ajax_script.translate.nothing_selected, html, braapf_filtered_filters);
745
  $('.bapf_sfa_mt_hide').hide().parent().addClass('bapf_mt_none');
746
  }
747
  $('.berocket_aapf_widget_selected_area').html(html);
782
  berocket_add_filter('ajax_load_from_url_beforeSend', braapf_additional_header);
783
  berocket_add_filter('update_products', braapf_update_products);
784
  berocket_add_filter('error_notsame_block_qty', braapf_reload_page_for_products_error);
785
+ bapf_universal_theme_compatibility = function(data) {
786
+ if( berocket_apply_filters('universal_theme_compatibility', true) ) {
787
+ $(window).trigger('resize');
788
+ //UNCODE theme
789
+ try {if( berocket_apply_filters('uncode_theme_compatibility', (typeof(UNCODE) == 'object' && typeof(UNCODE.init) == 'function' ) ) ) {
790
+ UNCODE.init();
791
+ }} catch (e) {berocket_throw_error('uncode_theme_compatibility', e);}
792
+ //Flatsome theme
793
+ try {if( berocket_apply_filters('flatsome_theme_compatibility', (typeof(Flatsome) == 'object' && typeof(Flatsome.attach) == 'function' && jQuery(the_ajax_script.products_holder_id).length ) ) ) {
794
+ Flatsome.attach(jQuery(the_ajax_script.products_holder_id));
795
+ }} catch (e) {berocket_throw_error('flatsome_theme_compatibility', e);}
796
+ //Woodmart theme
797
+ try {if( berocket_apply_filters('woodmart_theme_compatibility', (typeof(woodmartThemeModule) == 'object' && typeof(woodmartThemeModule.init) == 'function' ) ) ) {
798
+ woodmartThemeModule.wooInit();
799
+ woodmartThemeModule.lazyLoading();
800
+ woodmartThemeModule.productsLoadMore();
801
+ }} catch (e) {berocket_throw_error('woodmart_theme_compatibility', e);}
802
+ //Divi theme
803
+ try {if( berocket_apply_filters('divi_theme_compatibility', (typeof(et_reinit_waypoint_modules) == 'function' ) ) ) {
804
+ et_reinit_waypoint_modules();
805
+ }} catch (e) {berocket_throw_error('divi_theme_compatibility', e);}
806
+ //reyTheme theme
807
+ try {if( berocket_apply_filters('rey_theme_compatibility', (typeof(jQuery.reyTheme) == 'object' && typeof(jQuery.reyTheme.init) == 'function' ) ) ) {
808
+ jQuery.reyTheme.init();
809
+ }} catch (e) {berocket_throw_error('rey_theme_compatibility', e);}
810
+ //layzyLoadImage script
811
+ try {if( berocket_apply_filters('layzyloadimage_script_compatibility', (typeof(layzyLoadImage) == 'function' ) ) ) {
812
+ layzyLoadImage();
813
+ }} catch (e) {berocket_throw_error('layzyloadimage_script_compatibility', e);}
814
+ //jetpackLazyImagesModule script
815
+ try {if( berocket_apply_filters('jetpacklazyimages_script_compatibility', (typeof(jetpackLazyImagesModule) == 'function' ) ) ) {
816
+ jetpackLazyImagesModule();
817
+ }} catch (e) {berocket_throw_error('jetpacklazyimages_script_compatibility', e);}
818
+ }
819
+ return data;
820
+ }
821
+ berocket_add_filter('ajax_load_from_url_always_after', bapf_universal_theme_compatibility, 2500);
822
  $(document).ready(function(){
823
+ if( berocket_apply_filters('remove_shortcode_fix_filters', $('.berocket_wc_shortcode_fix').length) ) {
824
  braapf_replace_each_filter($('.berocket_wc_shortcode_fix').html());
825
  $('.berocket_wc_shortcode_fix').html('');
826
  }
828
  braapf_filtered_filters_set();
829
  $(document).trigger('berocket_filters_document_ready');
830
  });
831
+ braapf_disable_ajax_loading = function($has_product) {
832
+ return true;
833
+ }
834
+ if( the_ajax_script.disable_ajax_loading) {
835
+ berocket_add_filter('page_has_products_holder', braapf_disable_ajax_loading);
836
+ }
837
+ braapf_close_tippy = function () {
838
+ try{
839
+ if( $('.tippy-box').length ) {
840
+ $('.tippy-box').each(function() {
841
+ if( typeof($(this).parent()[0]._tippy) != 'undefined' ) {
842
+ $(this).parent()[0]._tippy.hide();
843
+ }
844
+ });
845
+ }
846
+ } catch(e){}
847
+ }
848
+ berocket_add_filter('update_products', braapf_close_tippy);
849
  })(jQuery);
850
  var braapf_get_current_filters,
851
+ braapf_filters_url_decode,
852
+ braapf_scroll_shop_to_top,
853
+ braapf_set_filters_to_link,
854
+ braapf_convert_ckbox_to_radio,
855
+ braapf_hierarhical_save,
856
+ braapf_hierarhical_set,
857
+ braapf_collapse_status_save,
858
+ braapf_collapse_status_set,
859
+ braapf_show_hide_values_save,
860
+ braapf_show_hide_values_set,
861
+ berocket_custom_sidebar_close,
862
+ berocket_custom_sidebar_open;
863
  (function ($){
864
  //default filters
865
  braapf_get_current_filters = function (url_data) {
1018
  berocket_add_filter('ajax_load_from_url_done_after', braapf_show_hide_values_set, 1000);
1019
  //Scroll page to the top
1020
  braapf_scroll_shop_to_top = function(data, url, send_data, callback_func, type) {
1021
+ var mobile_width = berocket_apply_filters('filter_mobile_width', 767);
1022
+ if( berocket_apply_filters('scroll_shop_to_top', (type == 'default' && ( the_ajax_script.scroll_shop_top == 1
1023
+ || (the_ajax_script.scroll_shop_top == 2 && $(window).width() < mobile_width)
1024
+ || (the_ajax_script.scroll_shop_top == 3 && $(window).width() >= mobile_width) )
1025
+ ) ) ) {
1026
  var top_scroll_offset = 0;
1027
  if( $( the_ajax_script.products_holder_id ).length ) {
1028
  top_scroll_offset = $( the_ajax_script.products_holder_id ).offset().top + parseInt(the_ajax_script.scroll_shop_top_px);
1050
  }
1051
  $(document).trigger('berocket_element_above_products_'+is_active);
1052
  });
1053
+ berocket_custom_sidebar_close = function () {
1054
  $('.berocket_ajax_filters_sidebar_toggle').removeClass( "active" );
1055
  $('#berocket-ajax-filters-sidebar').removeClass('active');
1056
  $('body').removeClass('berocket_ajax_filters_sidebar_active');
1057
  }
1058
+ berocket_custom_sidebar_open = function () {
1059
  $('.berocket_ajax_filters_sidebar_toggle').addClass( "active" );
1060
  $('#berocket-ajax-filters-sidebar').addClass('active');
1061
  $('body').addClass('berocket_ajax_filters_sidebar_active');
1095
  berocket_ajax_load_product_table_compat();
1096
  }
1097
  });
1098
+ braapf_filters_url_decode = function(filter) {
1099
+ if( the_ajax_script.seo_uri_decode ) {
1100
+ filter = encodeURIComponent(filter);
1101
+ if( the_ajax_script.nice_urls ) {
1102
+ filter = filter.replace('%2F', '/');
1103
+ }
1104
+ }
1105
+ return filter;
1106
+ }
1107
  })(jQuery);
1108
  berocket_add_filter('get_current_url_data', braapf_get_current_filters);
1109
+ berocket_add_filter('compat_filters_to_string', braapf_filters_url_decode, 900);
1110
  berocket_add_filter('url_from_urldata_linkget', braapf_set_filters_to_link);
1111
  var braapf_child_parent_grab_single,
1112
  braapf_child_parent_fix_selected,
1123
  var taxonomy = element.data('taxonomy');
1124
  var next_child = $('.bapf_sfilter.bapf_child_'+child_position+'[data-taxonomy='+taxonomy+']');
1125
  if( next_child.length ) {
1126
+ var new_single_data = braapf_grab_single (next_child, [], true);
1127
  if( typeof(new_single_data) == 'object' && typeof(new_single_data.values) != 'undefined' && Array.isArray(new_single_data.values) && new_single_data.values.length > 0 ) {
1128
  single_data = new_single_data;
1129
  }
1191
  braapf_ion_slidr_same,
1192
  braapf_jqrui_slidr_ion_value_wc_price,
1193
  braapf_jqrui_slidr_ion_value_arr_attr,
1194
+ braapf_init_ion_slidr_for_parent,
1195
+ braapf_grab_single_ion,
1196
+ braapf_jqrui_slidr_ion_values_link_arr_attr;
1197
  (function ($){
1198
  braapf_init_ion_slidr = function () {
1199
  braapf_init_ion_slidr_for_parent($(document));
1242
  $slider.removeClass('bapf_ion_blocked');
1243
  });
1244
  }
1245
+ braapf_jqrui_slidr_ion_value_wc_price = function (value, $element) {
1246
  var number_style = $element.data('number_style');
1247
  if( ! number_style ) {
1248
  number_style = the_ajax_script.number_style;
1261
  var $slider = element.find('.bapf_slidr_main');
1262
  var values = [data.options.from, data.options.to];
1263
  var input_values = [berocket_apply_filters('jqrui_slidr_ion_'+$slider.data('display'), data.options.from, $slider), berocket_apply_filters('jqrui_slidr_ion_'+$slider.data('display'), data.options.to, $slider)];
1264
+ var prefix = $slider.data('prefix');
1265
+ if( typeof(prefix) == 'undefined' ) {
1266
+ prefix = '';
1267
+ }
1268
+ var postfix = $slider.data('postfix');
1269
+ if( typeof(postfix) == 'undefined' ) {
1270
+ postfix = '';
1271
+ }
1272
+ input_values[0] = prefix + input_values[0] + postfix;
1273
+ input_values[1] = prefix + input_values[1] + postfix;
1274
  if( values[0] != $slider.data('min') || values[1] != $slider.data('max') ) {
1275
  var value_ready = {value:values[0]+'_'+values[1], html:input_values[0]+' - '+input_values[1]};
1276
  value_ready = berocket_apply_filters('jqrui_slidr_ion_link_'+$slider.data('display'), value_ready, values, input_values, $slider, single_data);
1299
  berocket_add_filter('jqrui_slidr_ion_arr_attr', braapf_jqrui_slidr_ion_value_arr_attr);
1300
  })(jQuery);
1301
 
1302
+ var braapf_grab_single_select;
 
 
1303
  (function ($){
1304
  $(document).on('change', '.bapf_slct .bapf_body select', function() {
1305
  var filter_changed_element = {
1348
  select2data.placeholder = jQuery(this).data('placeholder');
1349
  }
1350
  if( jQuery(this).parents('#berocket-ajax-filters-sidebar').length ) {
1351
+ if( jQuery('#bapf-select2-high-zindex').length == 0 ) {
1352
+ jQuery('body').append('<div id="bapf-select2-high-zindex"></div>');
1353
+ }
1354
+ select2data.dropdownParent = jQuery('#bapf-select2-high-zindex');
1355
  }
1356
  select2data = berocket_apply_filters('jqrui_data_select2', select2data, jQuery(this));
1357
  jQuery(this).select2(select2data);
1378
  var braapf_init_jqrui_slidr,
1379
  braapf_jqrui_slidr_same,
1380
  braapf_jqrui_slidr_values_wc_price,
1381
+ braapf_init_jqrui_slidr_for_parent,
1382
+ braapf_grab_single_jqrui,
1383
+ braapf_jqrui_slidr_values_arr_attr,
1384
+ braapf_jqrui_slidr_values_link_arr_attr;
1385
  (function ($){
1386
  function braapf_slider_input_focusin(input, position) {
1387
  var $slider = $(input).closest('.bapf_slidr_jqrui.bapf_slidr_ready').find('.bapf_slidr_main');
1539
  var $slider = element.find('.bapf_slidr_main');
1540
  var values = $slider.slider('values');
1541
  var input_values = $slider.slider('values');
1542
+ var prefix = '';
1543
+ if( element.find('.bapf_tbprice').length ) {
1544
+ prefix = element.find('.bapf_tbprice').first().text();
1545
+ }
1546
+ var postfix = '';
1547
+ if( element.find('.bapf_taprice').length ) {
1548
+ postfix = element.find('.bapf_taprice').first().text();
1549
+ }
1550
  if( values[0] != $slider.data('min') || values[1] != $slider.data('max') ) {
1551
  input_values = berocket_apply_filters('jqrui_slidr_'+$slider.data('display'), input_values, $slider);
1552
+ input_values[0] = prefix + input_values[0] + postfix;
1553
+ input_values[1] = prefix + input_values[1] + postfix;
1554
  var value_ready = {value:values[0]+'_'+values[1], html:input_values[0]+' - '+input_values[1]};
1555
  value_ready = berocket_apply_filters('jqrui_slidr_link_'+$slider.data('display'), value_ready, values, input_values, $slider, single_data);
1556
  single_data.values = [value_ready];
assets/frontend/js/main.min.js CHANGED
@@ -1,2 +1,2 @@
1
- function berocket_make_args_array(a){for(var b=[],c=0;c<a.length;c++)b.push(a[c]);return b}function berocket_apply_filters(a,b){if("undefined"!=typeof berocket_filters[a]){var c=berocket_make_args_array(arguments);c.splice(0,1),jQuery.each(berocket_filters[a],function(a,d){b=d.callback.apply(null,c),c[0]=b})}return b}function berocket_do_action(a){if("undefined"!=typeof berocket_filters[a]){var b=berocket_make_args_array(arguments);b.splice(0,1),jQuery.each(berocket_filters[a],function(a,c){c.callback.apply(null,b)})}}function berocket_throw_error(a){var b="berocket_throw_error";if(error_exist=!0,"undefined"!=typeof berocket_filters[b]){for(var c,d=[error_exist];c<arguments.length;c++)d.push(arguments[c]);jQuery.each(berocket_filters[b],function(a,b){if(error_exist=b.callback.apply(null,d),d[0]=error_exist,!error_exist)return!1})}return error_exist}function berocket_add_filter(a,b,c){"undefined"==typeof c&&(c=10),"undefined"==typeof berocket_filters[a]&&(berocket_filters[a]=[]);var d=!1;jQuery.each(berocket_filters[a],function(a,e){e.priority===c&&e.callback===b&&(d=!0)}),d||(berocket_filters[a].push({callback:b,priority:c}),berocket_filters[a]=berocket_sort_by_priority(berocket_filters[a]))}function berocket_remove_filter(a,b,c){if("undefined"==typeof c&&(c=10),"undefined"!=typeof berocket_filters[a]){var d=[];jQuery.each(berocket_filters[a],function(a,e){e.priority===c&&e.callback===b||d.push(e)}),berocket_filters[a]=berocket_sort_by_priority(d)}}function berocket_sort_by_priority(a){return Array.isArray(a)&&a.sort(function(a,b){return a.priority>b.priority?1:a.priority<b.priority?-1:0}),a}function berocket_format_number(a,b){"undefined"==typeof b&&(b=the_ajax_script.number_style);var c=a.toFixed(b[2]);c=c.toString();var d=c.split("."),e=d[0];return c.indexOf(".")!=-1&&(d=d[1]),e=e.replace(/\d(?=(?:\d{3})+(?:$))/g,function(a,c){return a+b[0]}),c.indexOf(".")!=-1&&(e=e+b[1]+d),e}function braapf_grab_all_init(){braapf_grab_all()}function braapf_selected_filters_area_set_init(){braapf_selected_filters_area_set()}function braapf_filtered_filters_set(){braapf_filtered_filters=braapf_selected_filters.slice(),berocket_do_action("braapf_init_filtered_set",braapf_filtered_filters)}var berocket_filters={};berocket_add_filter("compat_filters_result_single",function(a){return"object"==typeof a&&"string"==typeof a.taxonomy&&"pa_"==a.taxonomy.substr(0,3)&&(a.taxonomy=a.taxonomy.substr(3)),a});var braapf_filter_blocked=!1,braapf_selected_filters=[],braapf_filtered_filters=[],braapf_filters_var,braapf_ajax_request,braapf_checkbox_same,braapf_update_products,braapf_grab_all,braapf_grab_single,braapf_compact_filters,braapf_compat_filters_to_string,braapf_build_url_from_urldata,braapf_glue_by_operator,braapf_ajax_load_from_url,braapf_ajax_load_from_url_request,braapf_init_load,braapf_remove_pages_from_url_data,braapf_filter_products_by_url,braapf_get_current_url_data,braapf_reset_buttons_hide;!function(a){function b(a){return berocket_remove_filter("ajax_load_from_url_beforeSend",b),a.setRequestHeader("X-Braapfdisable","1"),a}function c(a){return a.setRequestHeader("X-Braapf","1"),a}a(document).on("change",".bapf_sfilter.bapf_ckbox input[type=checkbox]",function(){var b=a(this).val(),c=a(this).parents(".bapf_sfilter").data("taxonomy"),d=a(this).prop("checked");braapf_checkbox_same(c,b,d),berocket_apply_filters("input_ckbox_changed",this,c,b,d);var e={element:"#"+a(this).attr("id"),parent:1,find:!1};berocket_apply_filters("filter_changed_element",e,a(this)),berocket_do_action("update_products","filter",a(this))}),braapf_checkbox_same=function(b,c,d){a('.bapf_sfilter[data-taxonomy="'+b+'"] input[value="'+c+'"]').prop("checked",d),a('.bapf_sfilter[data-taxonomy="'+b+'"]').length<a('.bapf_sfilter.bapf_ckbox[data-taxonomy="'+b+'"]').length&&berocket_throw_error("multiple_filters_for_same_taxonomy",b)},a(document).on("braapf_unselect",".bapf_ckbox",function(b,c){if("undefined"==typeof c&&(c=!1),0==c)var d=a(this).find("input[type=checkbox]");else var d=a(this).find('input[value="'+c.value+'"]');if(d.length>0){var e=d.val(),f=a(this).data("taxonomy");d.prop("checked",!1),braapf_checkbox_same(f,e,!1)}}),a(document).on("braapf_unselect_all",".bapf_ckbox",function(b,c){a(this).trigger("braapf_unselect",!1)}),a(document).on("click",".berocket_aapf_widget_update_button, .bapf_update",function(b){b.preventDefault(),berocket_do_action("update_products","update",a(this))}),a(document).on("click",".berocket_aapf_reset_button, .bapf_reset",function(b){b.preventDefault(),braapf_unselect_all(),berocket_do_action("update_products","reset_all",a(this))}),braapf_reset_buttons_hide=function(){"undefined"==typeof braapf_filtered_filters||braapf_filtered_filters.length<=0?a(".bapf_rst_nofltr").hide():a(".bapf_rst_nofltr").show();var b=!1;"undefined"!=typeof braapf_filtered_filters&&braapf_filtered_filters.length>0&&a.each(braapf_filtered_filters,function(a,c){if(c.values.length>0)return b=!0,!1}),b?a(".bapf_rst_sel").show():a(".bapf_rst_sel").hide()},berocket_add_filter("braapf_init",braapf_reset_buttons_hide,1500),berocket_add_filter("braapf_init_filtered_set",braapf_reset_buttons_hide,1500);var d=the_ajax_script.pagination_class;d=d.replace(","," a,"),d+=" a",a(document).on("click",d,function(c){c.preventDefault();var d=a(this).attr("href");d=decodeURI(d),braapf_change_url_history_api(d,{replace:the_ajax_script.seo_friendly_urls}),berocket_add_filter("ajax_load_from_url_beforeSend",b),braapf_ajax_load_from_url(d,{},berocket_apply_filters("ajax_load_from_pagination",{done:[braapf_replace_products,braapf_replace_pagination,braapf_replace_result_count,braapf_init_load]},d))}),the_ajax_script.control_sorting&&a(document).on("submit",the_ajax_script.ordering_class,function(b){b.preventDefault();var c=braapf_get_current_url_data();if(c=braapf_remove_pages_from_url_data(c),Array.isArray(c.queryargs)){var d=[];a.each(c.queryargs,function(a,b){"orderby"!=b.name&&d.push(b)}),c.queryargs=d}else c.queryargs=[];var e=a(this).serializeArray();Array.isArray(e)&&a.each(e,function(a,b){"paged"==b.name?c.page=parseInt(b.value):"orderby"==b.name?the_ajax_script.default_sorting!=b.value&&c.queryargs.push(b):c.queryargs.push(b)});var f=braapf_build_url_from_urldata(c);braapf_filter_products_by_url(f)}),braapf_get_url_with_filters_selected=function(){braapf_grab_all();var a=braapf_compact_filters(),b=berocket_apply_filters("braapf_filters_mask",the_ajax_script.url_mask),c=braapf_compat_filters_to_string(a,b,the_ajax_script.url_split),d=braapf_get_current_url_data();d.filter=c,d=braapf_remove_pages_from_url_data(d);var e=braapf_build_url_from_urldata(d);return e},braapf_update_products=function(b,c){"undefined"==typeof b&&(b="filter"),"undefined"==typeof c&&(c=!1),b=berocket_apply_filters("before_update_products_context",b,c);var d=braapf_get_url_with_filters_selected();berocket_apply_filters("apply_filters_to_page",0==a(".berocket_aapf_widget_update_button:visible, .bapf_update:visible").length||"filter"!=b,b,c,d)?(braapf_selected_filters_area_set(),braapf_filter_products_by_url(d)):berocket_apply_filters("apply_filters_to_page_partial",!1,b,c,d)&&braapf_ajax_load_from_url(d,{},berocket_apply_filters("ajax_load_from_filters_partial",{done:[braapf_replace_each_filter,braapf_init_load]},d,"partial"),"partial")},braapf_filter_products_by_url=function(b){berocket_apply_filters("page_has_products_holder",!a(the_ajax_script.products_holder_id).length,b)?location.href=b:(braapf_change_url_history_api(b,{replace:the_ajax_script.seo_friendly_urls}),braapf_ajax_load_from_url(b,{},berocket_apply_filters("ajax_load_from_filters",{done:[braapf_replace_products,braapf_replace_pagination,braapf_replace_result_count,braapf_replace_orderby,braapf_replace_each_filter,braapf_init_load,braapf_filtered_filters_set,braapf_update_url_history_api_from_current]},b,"default")))},braapf_update_url_history_api_from_current=function(){the_ajax_script.seo_friendly_urls&&(url_filtered=braapf_get_url_with_filters_selected(),history.replaceState(history.state,"BeRocket Rules",url_filtered))},braapf_grab_all=function(b){"undefined"==typeof b&&(b=!1);var c=[];if(b===!1)var d=a(".bapf_sfilter");else var d=a(b).find(".bapf_sfilter");return d.each(function(){var a=braapf_grab_single(this,c);a!==!1&&c.push(a)}),c=berocket_apply_filters("grab_all_filters",c,b),b===!1&&(braapf_selected_filters=c),c},braapf_grab_single=function(b,c){b=a(b);var d=!1,e=!1,f=b.data("taxonomy");if("undefined"==typeof f||!f)return berocket_apply_filters("grab_single_filter_taxonomy_undefined",d,b,c);if(a.each(c,function(a,b){b.taxonomy==f&&(e=!0)}),!berocket_apply_filters("grab_single_filter_exist",e,b,c)){if(d=berocket_apply_filters("grab_single_filter",d,b,c),d!==!1)return d;var g=b.data("op"),h=b.data("name");"undefined"==typeof h&&(h="");var i=braapf_glue_by_operator(g),j=[],k=[],l=a(".bapf_sfilter[data-taxonomy="+f+"]");l.find("input:checked:not(:disabled)").each(function(b,c){k.indexOf(a(this).val())==-1&&(j.push({value:a(this).val(),html:a(this).data("name")}),k.push(a(this).val()))}),d={name:h,taxonomy:f,values:j,glue:i,operator:g}}return berocket_apply_filters("grab_single_filter_default",d,b,c)},braapf_glue_by_operator=function(a){"string"!=typeof a&&(a="");var b="-";return"and"==a.toLowerCase()&&(b="+"),berocket_apply_filters("glue_by_operator",b,a)},braapf_compact_filters=function(b){"undefined"==typeof b&&(b=braapf_selected_filters);var c=[];return a.each(b,function(b,d){var e="";"undefined"!=typeof d.customValuesLine?e=d.customValuesLine:a.each(d.values,function(a,b){e.length&&(e+=d.glue),e+=b.value}),e.length&&c.push(berocket_apply_filters("compat_filters_result_single",{taxonomy:d.taxonomy,values:e},d))}),berocket_apply_filters("compat_filters_result",c,b)},braapf_compat_filters_to_string=function(b,c,d){var e="";return a.each(b,function(a,f){e.length&&(e+=d);var g=c;g=g.replace("%t%",f.taxonomy),g=g.replace("%v%",f.values),e+=berocket_apply_filters("compat_filters_to_string_single",g,f,b,c,d)}),berocket_apply_filters("compat_filters_to_string",e,b,c,d)},braapf_get_current_url_data=function(b){if("undefined"==typeof b)var c=location.href.split("#")[0].split("?")[0],d=location.search.substring(1);else{var c=b.split("#")[0].split("?")[0];if(b.split("#")[0].split("?").length>1)var d=b.split("#")[0].split("?")[1];else var d=""}var e=[],f=1,g=c.match(/\/page\/(\d+)/);return g&&"string"==typeof g[1]&&(f=parseInt(g[1]),c=c.replace(/\/page\/(\d+)/,"")),d=d.split("&"),a.each(d,function(a,b){b.length&&(d[a]=b.split("="),"paged"==d[a][0]?f=parseInt(d[a][1]):e.push({name:d[a][0],value:d[a][1]}))}),berocket_apply_filters("get_current_url_data",{baselink:c,queryargs:e,filter:"",page:f})},braapf_remove_pages_from_url_data=function(b){if(b.page=1,Array.isArray(b.queryargs)){var c=[];a.each(b.queryargs,function(a,b){"product-page"!=b.name&&c.push(b)}),b.queryargs=c}return b},braapf_build_url_from_urldata=function(b,c){"undefined"==typeof c&&(c=braapf_build_url_parameters_default());var d=berocket_apply_filters("url_from_urldata_baselink",b.baselink,b,c),e="";return b.queryargs.length&&a.each(b.queryargs,function(a,b){e.length&&(e+="&"),b.name.length&&(e+=b.name+"="+b.value)}),b.page&&b.page>1&&(e.length&&(e+="&"),e+="paged="+b.page),e.length&&(e="?"+e),d=berocket_apply_filters("url_from_urldata_linkget",d+e,b,c,d,e)},braapf_build_url_parameters_default=function(){return berocket_apply_filters("build_url_parameters_default",{})},braapf_replace_current_with_new=function(b,c,d){"undefined"==typeof d&&(d={}),args={replace:!1},jQuery.extend(args,d);var e=a("<div><div>"+b+"</div></div>"),f=e.find(c),g=a(c);0!=g.length&&(f.length!=g.length&&0!=f.length&&berocket_throw_error("error_notsame_block_qty",c,f.length,g.length),0==f.length?(g.html("").addClass("braapfNotReplaced"),g.hide()):(g.each(function(b,c){"undefined"!=typeof f[b]?args.replace?a(c).replaceWith(a(f[b])):a(c).html(a(f[b]).html()).removeClass("braapfNotReplaced"):a(c).html("").addClass("braapfNotReplaced")}),g.show()))},braapf_replace_products=function(b){var c=the_ajax_script.products_holder_id;a("<div><div>"+b+"</div></div>");a(".bapf_no_products").remove(),braapf_replace_current_with_new(b,c),a(".braapfNotReplaced").filter(c).length&&a(".braapfNotReplaced").filter(c).before(a(the_ajax_script.no_products))},braapf_replace_pagination=function(b){var c=the_ajax_script.pagination_class;if(0==a(c).length){var d=the_ajax_script.products_holder_id,e=a("<div><div>"+b+"</div></div>"),f=e.find(c).last();f.length&&a(d).last().after(f)}else braapf_replace_current_with_new(b,c)},braapf_replace_result_count=function(a){var b=the_ajax_script.result_count_class;braapf_replace_current_with_new(a,b)},braapf_replace_orderby=function(a){var b=the_ajax_script.ordering_class;braapf_replace_current_with_new(a,b)},braapf_replace_each_filter=function(b){var c=a("<div><div>"+b+"</div></div>");a(".berocket_single_filter_widget").each(function(){var b=a(this).data("id");a(".berocket_single_filter_widget_"+b).html(c.find(".berocket_single_filter_widget_"+b).last().html()),c.find(".berocket_single_filter_widget_"+b).is(".bapf_mt_none")?a(".berocket_single_filter_widget_"+b).addClass("bapf_mt_none"):a(".berocket_single_filter_widget_"+b).removeClass("bapf_mt_none")})},braapf_change_url_history_api=function(a,b){if("undefined"!=typeof b&&b.replace){var c={BeRocket:"Rules"};history.replaceState(c,""),history.pushState(c,"",a),history.pathname=a}},berocket_apply_filters("load_products_ajax_on_popstate",!0)&&(window.onpopstate=function(b){if(null!=b.state&&"Rules"==b.state.BeRocket){var c=location.href;berocket_apply_filters("page_has_products_holder",!a(the_ajax_script.products_holder_id).length,c)?location.href=c:braapf_ajax_load_from_url(c,{},berocket_apply_filters("ajax_load_from_filters",{done:[braapf_replace_products,braapf_replace_pagination,braapf_replace_result_count,braapf_replace_orderby,braapf_replace_each_filter,braapf_init_load,braapf_filtered_filters_set,braapf_update_url_history_api_from_current]},c,"default"))}}),braapf_ajax_load_from_url=function(a,b,c,d){"undefined"==typeof d&&(d="default"),"object"!=typeof b&&(b={}),"object"!=typeof c&&(c={done:[],fail:[],always:[]}),"undefined"!=typeof c.done&&Array.isArray(c.done)||(c.done=[]),"undefined"!=typeof c.fail&&Array.isArray(c.fail)||(c.fail=[]),"undefined"!=typeof c.always&&Array.isArray(c.always)||(c.always=[]),a=berocket_apply_filters("ajax_load_from_url_url",a,b,c,d),b=berocket_apply_filters("ajax_load_from_url_data",b,a,c,d),c=berocket_apply_filters("ajax_load_from_url_callback",c,a,b,d),braapf_ajax_load_from_url_request(a,b,c,d)},braapf_ajax_load_from_url_request=function(b,c,d,e){a(document).trigger("berocket_ajax_filtering_start"),"object"==typeof braapf_ajax_request&&"undefined"!=typeof braapf_ajax_request.abort&&braapf_ajax_request.abort(),braapf_ajax_request=a.ajax({method:"GET",url:b,data:c,beforeSend:function(a){a=berocket_apply_filters("ajax_load_from_url_beforeSend",a,b,c,d,e)}}).done(function(f,g,h){a(document).trigger("berocket_ajax_filtering_on_update"),f=berocket_apply_filters("ajax_load_from_url_done",f,b,c,d,e),a.each(d.done,function(a,b){b(f,g,h)}),f=berocket_apply_filters("ajax_load_from_url_done_after",f,b,c,d,e),a(document).trigger("berocket_ajax_products_loaded")}).fail(function(f,g,h){if("abort"==g)return!1;if(a(document).trigger("berocket_ajax_products_not_loaded"),f=berocket_apply_filters("ajax_load_from_url_fail",f,b,c,d,e),a.each(d.fail,function(a,b){b(f,g,h)}),f=berocket_apply_filters("ajax_load_from_url_fail_after",f,b,c,d,e),"default"==e){var i=jQuery.param(c);i&&(b=b.split("?").length>1?b+"&"+i:b+"?"+i),location.href=b}}).always(function(f,g,h){f=berocket_apply_filters("ajax_load_from_url_always",f,b,c,d,e),a.each(d.always,function(a,b){b(f,g,h)}),f=berocket_apply_filters("ajax_load_from_url_always_after",f,b,c,d,e),a(document).trigger("berocket_ajax_filtering_end")})},braapf_init_load=function(){a(window).width()<=767&&a(".bapf_sngl_hd_mobile").remove(),a(window).width()>767&&a(window).width()<=1024&&a(".bapf_sngl_hd_tablet").remove(),a(window).width()>1024&&a(".bapf_sngl_hd_desktop").remove(),a(".bapf_sfilter .bapf_body.bapf_mcs:not(.bapf_mcs_ready)").each(function(){a(this).mCustomScrollbar({setHeight:a(this).data("mcs-h"),scrollInertia:300}).addClass("bapf_mcs_ready")}),a(".berocket_single_filter_widget").each(function(){var b=a(this).data("id");a(".berocket_single_filter_widget_"+b).length>1&&a(".berocket_single_filter_widget_"+b).not(a(".berocket_single_filter_widget_"+b).first()).remove()}),a(".bapf_desci").on("click hover",function(a){a.stopPropagation()}),berocket_do_action("braapf_init",braapf_selected_filters),a(document).trigger("berocket_filters_first_load")},braapf_update_page_on_error=function(){location.reload()},braapf_selected_filters_area_set=function(){if("undefined"!=typeof braapf_filtered_filters&&braapf_filtered_filters.length>0){var b="";a.each(braapf_filtered_filters,function(c,d){d.values.length>0&&(b+="<span>"+d.name+"</span>",b+="<ul>",a.each(d.values,function(a,c){b+='<li><a href="#unselect_'+c.value+'" class="braapf_unselect" data-taxonomy="'+d.taxonomy+'" data-value="'+c.value+'"><i class="fa fa-times"></i>'+c.html+"</a></li>"}),b+="</ul>")}),b?(a(".bapf_sfa_mt_hide").show().parent().removeClass("bapf_mt_none"),b='<div class="berocket_aapf_widget_selected_filter">'+b+'<ul><li><a href="#Unselect_all" class="braapf_unselect_all"><i class="fa fa-times"></i> '+the_ajax_script.translate.unselect_all+"</a></li></ul>"):(b=the_ajax_script.translate.nothing_selected,a(".bapf_sfa_mt_hide").hide().parent().addClass("bapf_mt_none")),a(".berocket_aapf_widget_selected_area").html(b)}},a(document).on("click",".berocket_aapf_widget_selected_area .braapf_unselect",function(b){b.preventDefault(),a(".bapf_sfilter[data-taxonomy="+a(this).data("taxonomy")+"]").trigger("braapf_unselect",a(this).data()),berocket_do_action("update_products","reset_single",a(this))}),braapf_unselect_all=function(){braapf_grab_all(),"undefined"!=typeof braapf_selected_filters&&braapf_selected_filters.length>0&&a.each(braapf_selected_filters,function(b,c){c.values.length>0&&a(".bapf_sfilter[data-taxonomy="+c.taxonomy+"]").trigger("braapf_unselect_all",c)})},a(document).on("click",".berocket_aapf_widget_selected_area .braapf_unselect_all",function(b){b.preventDefault(),braapf_unselect_all(),berocket_do_action("update_products","reset_all",a(this))}),berocket_add_filter("braapf_init",braapf_grab_all_init,1e3),berocket_add_filter("braapf_init",braapf_selected_filters_area_set_init,1100),berocket_add_filter("braapf_init_filtered_set",braapf_selected_filters_area_set_init,1100),braapf_reload_page_for_products_error=function(a,b){return b==the_ajax_script.products_holder_id&&braapf_update_page_on_error(),a},berocket_add_filter("ajax_load_from_url_beforeSend",c),berocket_add_filter("update_products",braapf_update_products),berocket_add_filter("error_notsame_block_qty",braapf_reload_page_for_products_error),a(document).ready(function(){a(".berocket_wc_shortcode_fix").length&&(braapf_replace_each_filter(a(".berocket_wc_shortcode_fix").html()),a(".berocket_wc_shortcode_fix").html("")),braapf_init_load(),braapf_filtered_filters_set(),a(document).trigger("berocket_filters_document_ready")})}(jQuery);var braapf_get_current_filters,braapf_scroll_shop_to_top;!function(a){function b(){a(".berocket_ajax_filters_sidebar_toggle").removeClass("active"),a("#berocket-ajax-filters-sidebar").removeClass("active"),a("body").removeClass("berocket_ajax_filters_sidebar_active")}function c(){a(".berocket_ajax_filters_sidebar_toggle").addClass("active"),a("#berocket-ajax-filters-sidebar").addClass("active"),a("body").addClass("berocket_ajax_filters_sidebar_active")}function d(){jQuery(".berocket_product_table_compat .dataTables_length select").length&&jQuery(".berocket_product_table_compat .wc-product-table").dataTable()._fnSaveState();var a=jQuery(".berocket_product_table_compat .wc-product-table").attr("id");if("undefined"!=typeof window["config_"+a]&&window["config_"+a].serverSide){jQuery(".berocket_product_table_compat .wc-product-table").DataTable().destroy();var b=jQuery(".berocket_product_table_compat").html();jQuery(".berocket_product_table_compat").html(""),jQuery(".berocket_product_table_compat").html(b),jQuery(".berocket_product_table_compat .blockUI.blockOverlay").remove(),jQuery(".berocket_product_table_compat .wc-product-table").productTable()}}braapf_get_current_filters=function(b){if(b.queryargs.length){var c=[];a.each(b.queryargs,function(a,d){d.name==the_ajax_script.url_variable?b.filter=d.value:c.push(d)}),b.queryargs=c}return b},braapf_set_filters_to_link=function(a,b,c,d,e){return"string"==typeof b.filter&&b.filter.length&&(a+=e.length?"&":"?",a+=the_ajax_script.url_variable+"="+b.filter),a},braapf_convert_ckbox_to_radio=function(b,c,d,e){var f=(a(b),a(b).closest(".bapf_sfilter.bapf_ckbox"));f.is(".bapf_asradio")&&f.find("input[type=checkbox]:checked:not(:disabled)").each(function(){var b=a(this).val();b!=d&&braapf_checkbox_same(c,b,!1)})},berocket_add_filter("input_ckbox_changed",braapf_convert_ckbox_to_radio),a(document).on("click",".bapf_ochild, .bapf_cchild",function(b){b.preventDefault,a(this).is(".bapf_ochild")?a(this).trigger("bapf_ochild"):a(this).trigger("bapf_cchild")}),a(document).on("bapf_ochild",".bapf_sfilter.bapf_ckbox ul li",function(b){b.stopPropagation(),a(this).find(".bapf_ochild, .bapf_cchild").first().removeClass("bapf_ochild").removeClass("fa-plus").addClass("bapf_cchild").addClass("fa-minus"),a(this).find("ul").first().show()}),a(document).on("bapf_cchild",".bapf_sfilter.bapf_ckbox ul li",function(b){b.stopPropagation(),a(this).find(".bapf_ochild, .bapf_cchild").first().addClass("bapf_ochild").addClass("fa-plus").removeClass("bapf_cchild").removeClass("fa-minus"),a(this).find("ul").first().hide()});var e=[];braapf_hierarhical_save=function(b){return e=[],a(".bapf_cchild").each(function(){e.push(a(this).parent().children("input[type=checkbox]").attr("id"))}),b},braapf_hierarhical_set=function(b){return a.each(e,function(b,c){a("#"+c).trigger("bapf_ochild")}),b},berocket_add_filter("ajax_load_from_url_done",braapf_hierarhical_save,1),berocket_add_filter("ajax_load_from_url_done_after",braapf_hierarhical_set,1e3),a(document).on("click",".bapf_ocolaps .bapf_colaps_togl, .bapf_ccolaps .bapf_colaps_togl",function(b){b.preventDefault,a(this).closest(".bapf_ocolaps, .bapf_ccolaps").is(".bapf_ocolaps")?a(this).closest(".bapf_ocolaps, .bapf_ccolaps").trigger("bapf_ocolaps"):a(this).closest(".bapf_ocolaps, .bapf_ccolaps").trigger("bapf_ccolaps")}),a(document).on("bapf_ocolaps",".bapf_sfilter.bapf_ocolaps, .bapf_sfilter.bapf_ccolaps",function(b){a(this).find(".bapf_body").first().show(),a(this).removeClass("bapf_ocolaps").addClass("bapf_ccolaps"),a(this).find(".bapf_colaps_smb").length&&a(this).find(".bapf_colaps_smb").removeClass("fa-chevron-down").addClass("fa-chevron-up")}),a(document).on("bapf_ccolaps",".bapf_sfilter.bapf_ocolaps, .bapf_sfilter.bapf_ccolaps",function(b){a(this).find(".bapf_body").first().hide(),a(this).addClass("bapf_ocolaps").removeClass("bapf_ccolaps"),a(this).find(".bapf_colaps_smb").length&&a(this).find(".bapf_colaps_smb").addClass("fa-chevron-down").removeClass("fa-chevron-up")});var f={open:[],close:[]};braapf_collapse_status_save=function(b){return f={open:[],close:[]},a(".bapf_ocolaps, .bapf_ccolaps").each(function(){a(this).is(".bapf_ocolaps")?f.open.push(a(this).attr("id")):f.close.push(a(this).attr("id"))}),b},braapf_collapse_status_set=function(b){return a.each(f.open,function(b,c){a("#"+c).trigger("bapf_ccolaps")}),a.each(f.close,function(b,c){a("#"+c).trigger("bapf_ocolaps")}),b},berocket_add_filter("ajax_load_from_url_done",braapf_collapse_status_save,1),berocket_add_filter("ajax_load_from_url_done_after",braapf_collapse_status_set,1e3),a(document).on("click",".bapf_show_hide",function(){a(this).closest(".bapf_sfilter").toggleClass("bapf_fhide"),a(this).closest(".bapf_sfilter").is(".bapf_fhide")?a(this).text(a(this).data("show")):a(this).text(a(this).data("hide"))});var g={open:[],close:[]};braapf_show_hide_values_save=function(b){return g={open:[],close:[]},a(".bapf_sfilter").each(function(){a(this).is(".bapf_fhide")?g.close.push(a(this).attr("id")):g.open.push(a(this).attr("id"))}),b},braapf_show_hide_values_set=function(b){return a.each(g.open,function(b,c){a("#"+c).removeClass("bapf_fhide"),a("#"+c).find(".bapf_show_hide").text(a("#"+c).find(".bapf_show_hide").data("hide"))}),a.each(g.close,function(b,c){a("#"+c).addClass("bapf_fhide"),a("#"+c).find(".bapf_show_hide").text(a("#"+c).find(".bapf_show_hide").data("show"))}),b},berocket_add_filter("ajax_load_from_url_done",braapf_show_hide_values_save,1),berocket_add_filter("ajax_load_from_url_done_after",braapf_show_hide_values_set,1e3),braapf_scroll_shop_to_top=function(b,c,d,e,f){if("default"==f&&(1==the_ajax_script.scroll_shop_top||2==the_ajax_script.scroll_shop_top&&a(window).width()<=768||3==the_ajax_script.scroll_shop_top&&a(window).width()>768)){var g=0;a(the_ajax_script.products_holder_id).length?(g=a(the_ajax_script.products_holder_id).offset().top+parseInt(the_ajax_script.scroll_shop_top_px),g<0&&(g=0)):a(".bapf_no_products").length&&(g=a(".bapf_no_products").offset().top+parseInt(the_ajax_script.scroll_shop_top_px),g<0&&(g=0)),a("html, body").animate({scrollTop:g},"slow")}return b},berocket_add_filter("ajax_load_from_url_beforeSend",braapf_scroll_shop_to_top),a(document).on("mousedown",".wc-product-table-reset a",function(){a(this).remove(),br_reset_all_filters()}),a(document).on("click",".berocket_element_above_products_is_hide_toggle",function(b){b.preventDefault(),a(this).toggleClass("active").next().slideToggle(200,"linear");var c="inactive";a(this).is(".active")&&(c="active"),a(document).trigger("berocket_element_above_products_"+c)}),a(document).on("berocket_custom_sidebar_close",b),a(document).on("berocket_custom_sidebar_open",c),a(document).on("click",".berocket_ajax_filters_sidebar_toggle",function(d){d.preventDefault(),a(this).is(".active")&&a("#berocket-ajax-filters-sidebar").is(".active")?b():c()}),a(document).on("click","#berocket-ajax-filters-sidebar-shadow, #berocket-ajax-filters-sidebar-close",function(a){a.preventDefault(),b()}),a(document).on("berocket_ajax_filtering_start",function(){jQuery(".berocket_product_table_compat").length&&d()})}(jQuery),berocket_add_filter("get_current_url_data",braapf_get_current_filters),berocket_add_filter("url_from_urldata_linkget",braapf_set_filters_to_link);var braapf_child_parent_grab_single,braapf_child_parent_fix_selected,braapf_child_parent_load_with_update_button,braapf_add_loader_element,braapf_remove_loader_element;!function(a){braapf_child_parent_grab_single=function(b,c,d){var e=c.data("child");if("undefined"!=typeof e&&e>0&&"object"==typeof b&&"undefined"!=typeof b.values&&Array.isArray(b.values)&&b.values.length>0){e++;var f=c.data("taxonomy"),g=a(".bapf_sfilter.bapf_child_"+e+"[data-taxonomy="+f+"]");if(g.length){var h=braapf_grab_single(g,[]);"object"==typeof h&&"undefined"!=typeof h.values&&Array.isArray(h.values)&&h.values.length>0&&(b=h)}}return b},braapf_child_parent_fix_selected=function(b,c){if(0!=c){var d=c.closest(".bapf_sfilter");if(d.length){var e=d.data("child"),f=d.data("taxonomy");if("undefined"!=typeof e&&e>0)for(i=e+1;a(".bapf_sfilter.bapf_child_"+i+"[data-taxonomy="+f+"]").length;i++)a(".bapf_sfilter.bapf_child_"+i+"[data-taxonomy="+f+"]").trigger("braapf_unselect",!1)}}return b},braapf_child_parent_load_with_update_button=function(a,b,c){if(0!=c){var d=c.closest(".bapf_sfilter");if(d.length){var e=d.data("child");d.data("taxonomy");"undefined"!=typeof e&&e>0&&(a=!0)}}return a},berocket_add_filter("grab_single_filter_default",braapf_child_parent_grab_single),berocket_add_filter("before_update_products_context",braapf_child_parent_fix_selected),berocket_add_filter("apply_filters_to_page_partial",braapf_child_parent_load_with_update_button);var b;braapf_add_loader_element=function(c,d,e,f,g){return"default"==g&&("undefined"!=typeof b&&"function"==typeof b.remove&&b.remove(),b=a(the_ajax_script.load_image),a("body").append(b)),c},braapf_remove_loader_element=function(a){return"undefined"!=typeof b&&"function"==typeof b.remove&&b.remove(),a},berocket_add_filter("ajax_load_from_url_beforeSend",braapf_add_loader_element),berocket_add_filter("ajax_load_from_url_always_after",braapf_remove_loader_element),a(document).on("click",".bapf_sfilter.bapf_ckbox .bapf_body li label a",function(b){b.preventDefault(),a(this).parent().trigger("click")})}(jQuery);var braapf_init_ion_slidr,braapf_ion_slidr_same,braapf_jqrui_slidr_ion_value_wc_price,braapf_jqrui_slidr_ion_value_arr_attr,braapf_init_ion_slidr_for_parent;!function(a){function b(a,b){var c=b.data("number_style");return c||(c=the_ajax_script.number_style),a=berocket_format_number(parseFloat(a),c)}braapf_init_ion_slidr=function(){braapf_init_ion_slidr_for_parent(a(document))},braapf_init_ion_slidr_for_parent=function(b){b.find(".bapf_slidr_ion:not(.bapf_slidr_ready)").each(function(){var b=a(this).find(".bapf_slidr_all .bapf_slidr_main"),c=function(a){if(!b.is(".bapf_ion_blocked")){b.addClass("bapf_ion_blocked");var c=b.closest(".bapf_sfilter").data("taxonomy");braapf_ion_slidr_same(c,a);var d={element:"#"+b.closest(".bapf_sfilter").attr("id"),parent:0,find:".bapf_body"};berocket_apply_filters("filter_changed_element",d,b),berocket_do_action("update_products","filter",b),b.removeClass("bapf_ion_blocked")}},d=berocket_apply_filters("jqrui_data_slidr_ion",{type:"double",from:b.data("start"),to:b.data("end"),grid:!1,force_edges:!0,onFinish:c,onUpdate:c,prettify:function(a){return a=berocket_apply_filters("jqrui_slidr_ion_"+b.data("display"),a,b)}},b);b.ionRangeSlider(d),a(this).addClass("bapf_slidr_ready")})},braapf_ion_slidr_same=function(b,c){a(".bapf_slidr_ion.bapf_slidr_ready[data-taxonomy="+b+"]").each(function(){var b=a(this).find(".bapf_slidr_main");b.addClass("bapf_ion_blocked");var d=b.data("ionRangeSlider");d.update({from:c.from,to:c.to}),b.removeClass("bapf_ion_blocked")})},braapf_jqrui_slidr_ion_value_arr_attr=function(a,b){var c=b.data("attr");return a=c[a].n},braapf_grab_single_ion=function(a,b){if(b.is(".bapf_slidr_ion.bapf_slidr_ready")&&0!=a){var c=b.find(".bapf_slidr_main").data("ionRangeSlider"),d=b.find(".bapf_slidr_main"),e=[c.options.from,c.options.to],f=[berocket_apply_filters("jqrui_slidr_ion_"+d.data("display"),c.options.from,d),berocket_apply_filters("jqrui_slidr_ion_"+d.data("display"),c.options.to,d)];if(e[0]!=d.data("min")||e[1]!=d.data("max")){var g={value:e[0]+"_"+e[1],html:f[0]+" - "+f[1]};g=berocket_apply_filters("jqrui_slidr_ion_link_"+d.data("display"),g,e,f,d,a),a.values=[g]}}return a},braapf_jqrui_slidr_ion_values_link_arr_attr=function(a,b,c,d,e){var f=d.data("attr");return a.value=f[b[0]].v+"_"+f[b[1]].v,a},a(document).on("braapf_unselect braapf_unselect_all",".bapf_slidr_ion",function(b,c){var d=a(this).find(".bapf_slidr_main"),e=d.data("ionRangeSlider");d.addClass("bapf_ion_blocked"),e.update({from:e.options.min,to:e.options.max}),d.removeClass("bapf_ion_blocked")}),berocket_add_filter("braapf_init",braapf_init_ion_slidr),berocket_add_filter("braapf_init_for_parent",braapf_init_ion_slidr_for_parent),berocket_add_filter("grab_single_filter_default",braapf_grab_single_ion),berocket_add_filter("jqrui_slidr_ion_link_arr_attr",braapf_jqrui_slidr_ion_values_link_arr_attr),berocket_add_filter("jqrui_slidr_ion_wc_price",b),berocket_add_filter("jqrui_slidr_ion_arr_attr",braapf_jqrui_slidr_ion_value_arr_attr)}(jQuery);var braapf_init_jqrui_slidr,braapf_jqrui_slidr_same,braapf_jqrui_slidr_values_wc_price;!function(a){a(document).on("change",".bapf_slct .bapf_body select",function(){var b={element:"#"+a(this).closest(".bapf_sfilter").attr("id"),parent:0,find:".bapf_body"};berocket_apply_filters("filter_changed_element",b,a(this)),berocket_do_action("update_products","filter",a(this))}),braapf_grab_single_select=function(b,c){if(c.is(".bapf_slct")&&0!=b){
2
- var d=c.find(".bapf_body select:not(:disabled)");d.find("option:selected:not(:disabled)").each(function(){var c=a(this).val();c&&b.values.push({value:c,html:a(this).data("name")})})}return b},a(document).on("braapf_unselect braapf_unselect_all",".bapf_slct",function(b,c){a(this).find(".bapf_body select:not(:disabled) option:selected:not(:disabled)").each(function(){"undefined"!=typeof c.value&&c.value!=a(this).val()||a(this).prop("selected",!1)})}),berocket_add_filter("grab_single_filter_default",braapf_grab_single_select)}(jQuery);var bapf_select2_init,bapf_select2_init_for_parent,bapf_select2_disable_for_parent;jQuery(document).ready(function(){bapf_select2_init=function(){bapf_select2_init_for_parent(jQuery(document))},bapf_select2_init_for_parent=function(a){a.find(".bapf_select2").length&&"undefined"!=typeof a.find(".bapf_select2").select2&&a.find(".bapf_select2").each(function(){if(!jQuery(this).data("select2")){var a={width:"100%",theme:"default"};jQuery(this).prop("multiple")&&(a.placeholder=jQuery(this).data("placeholder")),jQuery(this).parents("#berocket-ajax-filters-sidebar").length&&(a.dropdownParent=$("#berocket-ajax-filters-sidebar")),a=berocket_apply_filters("jqrui_data_select2",a,jQuery(this)),jQuery(this).select2(a)}})},bapf_select2_disable_for_parent=function(a){a.find(".bapf_select2").length&&"undefined"!=typeof a.find(".bapf_select2").select2&&a.find(".bapf_select2").each(function(){jQuery(this).data("select2")&&jQuery(this).select2("destroy")})},jQuery(document).on("berocket_ajax_filtering_on_update",function(){bapf_select2_disable_for_parent(jQuery(document))}),bapf_select2_init(),berocket_add_filter("braapf_init",bapf_select2_init,2e3),berocket_add_filter("braapf_init_for_parent",bapf_select2_init_for_parent)});var braapf_init_jqrui_slidr,braapf_jqrui_slidr_same,braapf_jqrui_slidr_values_wc_price,braapf_init_jqrui_slidr_for_parent;!function(a){function b(b,c){var d=a(b).closest(".bapf_slidr_jqrui.bapf_slidr_ready").find(".bapf_slidr_main"),e=d.slider("values");a(b).val(e[c]),a(b).data("val",e[c])}function c(b,c,d){var e=a(b).closest(".bapf_slidr_jqrui.bapf_slidr_ready").find(".bapf_slidr_main");if("focusout"==d){if(a(b).val()==a(b).data("val")){var f=e.slider("values");e.trigger("braapf_change_jqrui_slidr",[f])}}else{var g=parseInt(a(b).val());e.slider("values",c,g)}}a.each([{position:0,className:"bapf_from"},{position:1,className:"bapf_to"}],function(d,e){a(document).on("focusin",".bapf_slidr_jqrui.bapf_slidr_ready ."+e.className+" input[type=text]",function(){b(this,e.position)}),a(document).on("change focusout",".bapf_slidr_jqrui.bapf_slidr_ready ."+e.className+" input[type=text]",function(a){c(this,e.position,a.type)}),a(document).on("change",".bapf_slidr_jqrui.bapf_slidr_ready ."+e.className+" select",function(a){c(this,e.position,a.type)})}),a(document).on("braapf_change_jqrui_slidr",".bapf_slidr_jqrui .bapf_slidr_main",function(b,c){var d=a(this),e=[c[0],c[1]];e=berocket_apply_filters("jqrui_slidr_"+d.data("display"),e,d),d.closest(".bapf_slidr_jqrui").find(".bapf_from span.bapf_val").length&&d.closest(".bapf_slidr_jqrui").find(".bapf_from span.bapf_val").text(e[0]),d.closest(".bapf_slidr_jqrui").find(".bapf_to span.bapf_val").length&&d.closest(".bapf_slidr_jqrui").find(".bapf_to span.bapf_val").text(e[1])}),a(document).on("braapf_change_jqrui_slidr",".bapf_slidr_jqrui .bapf_slidr_main",function(b,c){var d=a(this),e=[c[0],c[1]];e=berocket_apply_filters("jqrui_slidr_"+d.data("display"),e,d),d.closest(".bapf_slidr_jqrui").find(".bapf_from input[type=text]").length&&d.closest(".bapf_slidr_jqrui").find(".bapf_from input[type=text]").val(e[0]),d.closest(".bapf_slidr_jqrui").find(".bapf_to input[type=text]").length&&d.closest(".bapf_slidr_jqrui").find(".bapf_to input[type=text]").val(e[1])}),a(document).on("braapf_change_jqrui_slidr",".bapf_slidr_jqrui .bapf_slidr_main",function(b,c){var d=a(this),e=d.data("attr");if(d.closest(".bapf_slidr_jqrui").find(".bapf_from select").length||d.closest(".bapf_slidr_jqrui").find(".bapf_to select").length){var e=d.data("attr"),f=[],g=[],h=!1,i=!1;a.each(e,function(a,b){a==c[0]&&(i=!0),h||f.push({v:b.v,n:b.n,ov:a}),i&&g.push({v:b.v,n:b.n,ov:a}),a==c[1]&&(h=!0)})}d.closest(".bapf_slidr_jqrui").find(".bapf_from select").length&&(d.closest(".bapf_slidr_jqrui").find(".bapf_from select option").remove(),a.each(f,function(b,e){var f="";e.ov==c[0]&&(f=" selected"),d.closest(".bapf_slidr_jqrui").find(".bapf_from select").append(a('<option value="'+e.ov+'"'+f+">"+e.n+"</option>"))})),d.closest(".bapf_slidr_jqrui").find(".bapf_to select").length&&(d.closest(".bapf_slidr_jqrui").find(".bapf_to select option").remove(),a.each(g,function(b,e){var f="";e.ov==c[1]&&(f=" selected"),d.closest(".bapf_slidr_jqrui").find(".bapf_to select").append(a('<option value="'+e.ov+'"'+f+">"+e.n+"</option>"))}))}),braapf_init_jqrui_slidr=function(){braapf_init_jqrui_slidr_for_parent(a(document))},braapf_init_jqrui_slidr_for_parent=function(b){b.find(".bapf_slidr_jqrui:not(.bapf_slidr_ready)").each(function(){var b=a(this).find(".bapf_slidr_main"),c=berocket_apply_filters("jqrui_data_slidr_jqrui",{range:!0,min:b.data("min"),max:b.data("max"),values:[b.data("start"),b.data("end")],step:b.data("step"),create:function(b,c){var d=a(this).slider("values");a(this).trigger("braapf_change_jqrui_slidr",[d])},slide:function(b,c){a(this).trigger("braapf_change_jqrui_slidr",[c.values])},change:function(b,c){var d=a(this).slider("values");if(a(this).trigger("braapf_change_jqrui_slidr",[d]),!a(this).is(".bapf_jqrui_blocked")){var d=a(this).slider("values"),e=a(this).parents(".bapf_sfilter").data("taxonomy");braapf_jqrui_slidr_same(e,d);var f={element:"#"+a(this).closest(".bapf_sfilter").attr("id"),parent:0,find:".bapf_body"};berocket_apply_filters("filter_changed_element",f,a(this)),berocket_do_action("update_products","filter",a(this))}}},b);b.slider(c),a(this).addClass("bapf_slidr_ready")})},braapf_jqrui_slidr_same=function(b,c){a(".bapf_slidr_jqrui.bapf_slidr_ready[data-taxonomy="+b+"]").each(function(){var b=a(this).find(".bapf_slidr_main");b.addClass("bapf_jqrui_blocked"),b.slider("values",c),b.removeClass("bapf_jqrui_blocked")})},braapf_jqrui_slidr_values_wc_price=function(a,b){var c=b.data("number_style");return c||(c=the_ajax_script.number_style),a[0]=berocket_format_number(a[0],c),a[1]=berocket_format_number(a[1],c),a},braapf_grab_single_jqrui=function(a,b){if(b.is(".bapf_slidr_jqrui.bapf_slidr_ready")&&0!=a){var c=b.find(".bapf_slidr_main"),d=c.slider("values"),e=c.slider("values");if(d[0]!=c.data("min")||d[1]!=c.data("max")){e=berocket_apply_filters("jqrui_slidr_"+c.data("display"),e,c);var f={value:d[0]+"_"+d[1],html:e[0]+" - "+e[1]};f=berocket_apply_filters("jqrui_slidr_link_"+c.data("display"),f,d,e,c,a),a.values=[f]}}return a},braapf_jqrui_slidr_values_arr_attr=function(a,b){var c=b.data("attr");return Array.isArray(a)&&2==a.length?(a[0]=c[a[0]].n,a[1]=c[a[1]].n):(a=["",""],a[0]=c[0].n,a[1]=c[c.length-1].n),a},braapf_jqrui_slidr_values_link_arr_attr=function(a,b,c,d,e){var f=d.data("attr");return a.value=f[b[0]].v+"_"+f[b[1]].v,a},a(document).on("braapf_unselect braapf_unselect_all",".bapf_slidr_jqrui",function(b,c){var d=a(this).find(".bapf_slidr_main"),e=d.data("min"),f=d.data("max");d.addClass("bapf_jqrui_blocked"),d.slider("values",[e,f]),d.removeClass("bapf_jqrui_blocked")}),berocket_add_filter("jqrui_slidr_wc_price",braapf_jqrui_slidr_values_wc_price),berocket_add_filter("jqrui_slidr_arr_attr",braapf_jqrui_slidr_values_arr_attr),berocket_add_filter("jqrui_slidr_link_arr_attr",braapf_jqrui_slidr_values_link_arr_attr),berocket_add_filter("grab_single_filter_default",braapf_grab_single_jqrui),berocket_add_filter("braapf_init",braapf_init_jqrui_slidr),berocket_add_filter("braapf_init_for_parent",braapf_init_jqrui_slidr_for_parent)}(jQuery);
1
+ function berocket_make_args_array(a){for(var b=[],c=0;c<a.length;c++)b.push(a[c]);return b}function berocket_apply_filters(a,b){if("undefined"!=typeof berocket_filters[a]){var c=berocket_make_args_array(arguments);c.splice(0,1),jQuery.each(berocket_filters[a],function(a,d){b=d.callback.apply(null,c),c[0]=b})}return b}function berocket_do_action(a){if("undefined"!=typeof berocket_filters[a]){var b=berocket_make_args_array(arguments);b.splice(0,1),jQuery.each(berocket_filters[a],function(a,c){c.callback.apply(null,b)})}}function berocket_throw_error(a){var b="berocket_throw_error";if(error_exist=!0,"undefined"!=typeof berocket_filters[b]){for(var c,d=[error_exist];c<arguments.length;c++)d.push(arguments[c]);jQuery.each(berocket_filters[b],function(a,b){if(error_exist=b.callback.apply(null,d),d[0]=error_exist,!error_exist)return!1})}return error_exist}function berocket_add_filter(a,b,c){"undefined"==typeof c&&(c=10),"undefined"==typeof berocket_filters[a]&&(berocket_filters[a]=[]);var d=!1;jQuery.each(berocket_filters[a],function(a,e){e.priority===c&&e.callback===b&&(d=!0)}),d||(berocket_filters[a].push({callback:b,priority:c}),berocket_filters[a]=berocket_sort_by_priority(berocket_filters[a]))}function berocket_remove_filter(a,b,c){if("undefined"==typeof c&&(c=10),"undefined"!=typeof berocket_filters[a]){var d=[];jQuery.each(berocket_filters[a],function(a,e){e.priority===c&&e.callback===b||d.push(e)}),berocket_filters[a]=berocket_sort_by_priority(d)}}function berocket_sort_by_priority(a){return Array.isArray(a)&&a.sort(function(a,b){return a.priority>b.priority?1:a.priority<b.priority?-1:0}),a}function berocket_format_number(a,b){"undefined"==typeof b&&(b=the_ajax_script.number_style);var c=a.toFixed(b[2]);c=c.toString();var d=c.split("."),e=d[0];return c.indexOf(".")!=-1&&(d=d[1]),e=e.replace(/\d(?=(?:\d{3})+(?:$))/g,function(a,c){return a+b[0]}),c.indexOf(".")!=-1&&(e=e+b[1]+d),e}function braapf_grab_all_init(){braapf_grab_all()}function braapf_selected_filters_area_set_init(){braapf_selected_filters_area_set()}function braapf_filtered_filters_set(){braapf_filtered_filters=braapf_selected_filters.slice(),berocket_do_action("braapf_init_filtered_set",braapf_filtered_filters)}var berocket_filters={};berocket_add_filter("compat_filters_result_single",function(a){return"object"==typeof a&&"string"==typeof a.taxonomy&&"pa_"==a.taxonomy.substr(0,3)&&(a.taxonomy=a.taxonomy.substr(3)),a});var braapf_filter_blocked=!1,braapf_selected_filters=[],braapf_filtered_filters=[],braapf_filters_var,braapf_ajax_request,braapf_checkbox_same,braapf_update_products,braapf_grab_all,braapf_grab_single,braapf_compact_filters,braapf_compat_filters_to_string,braapf_build_url_from_urldata,braapf_glue_by_operator,braapf_ajax_load_from_url,braapf_ajax_load_from_url_request,braapf_init_load,braapf_remove_pages_from_url_data,braapf_filter_products_by_url,braapf_get_current_url_data,braapf_reset_buttons_hide,bapf_universal_theme_compatibility,braapf_disable_ajax_loading,braapf_close_tippy;!function(a){function b(a){return berocket_remove_filter("ajax_load_from_url_beforeSend",b),a.setRequestHeader("X-Braapfdisable","1"),a}function c(a){return a.setRequestHeader("X-Braapf","1"),a}a(document).on("change",".bapf_sfilter.bapf_ckbox input[type=checkbox]",function(){var b=a(this).val(),c=a(this).parents(".bapf_sfilter").data("taxonomy"),d=a(this).prop("checked");braapf_checkbox_same(c,b,d),berocket_apply_filters("input_ckbox_changed",this,c,b,d);var e={element:"#"+a(this).attr("id"),parent:1,find:!1};berocket_apply_filters("filter_changed_element",e,a(this)),berocket_do_action("update_products","filter",a(this))}),braapf_checkbox_same=function(b,c,d){a('.bapf_sfilter[data-taxonomy="'+b+'"] input[value="'+c+'"]').prop("checked",d),a('.bapf_sfilter[data-taxonomy="'+b+'"]').length<a('.bapf_sfilter.bapf_ckbox[data-taxonomy="'+b+'"]').length&&berocket_throw_error("multiple_filters_for_same_taxonomy",b)},a(document).on("braapf_unselect",".bapf_ckbox",function(b,c){if("undefined"==typeof c&&(c=!1),0==c)var d=a(this).find("input[type=checkbox]");else var d=a(this).find('input[value="'+c.value+'"]');if(d.length>0){var e=d.val(),f=a(this).data("taxonomy");d.prop("checked",!1),braapf_checkbox_same(f,e,!1)}}),a(document).on("braapf_unselect_all",".bapf_ckbox",function(b,c){a(this).trigger("braapf_unselect",!1)}),a(document).on("click",".berocket_aapf_widget_update_button, .bapf_update",function(b){b.preventDefault(),berocket_do_action("update_products","update",a(this))}),a(document).on("click",".berocket_aapf_reset_button, .bapf_reset",function(b){b.preventDefault(),braapf_unselect_all(),berocket_do_action("update_products","reset_all",a(this))}),braapf_reset_buttons_hide=function(){berocket_apply_filters("bapf_rst_nofltr_hide","undefined"==typeof braapf_filtered_filters||braapf_filtered_filters.length<=0)?a(".bapf_rst_nofltr").hide():a(".bapf_rst_nofltr").show();var b=!1;"undefined"!=typeof braapf_filtered_filters&&braapf_filtered_filters.length>0&&a.each(braapf_filtered_filters,function(a,c){if(c.values.length>0)return b=!0,!1}),berocket_apply_filters("bapf_rst_sel_show",b)?a(".bapf_rst_sel").show():a(".bapf_rst_sel").hide()},berocket_add_filter("braapf_init",braapf_reset_buttons_hide,1500),berocket_add_filter("braapf_init_filtered_set",braapf_reset_buttons_hide,1500);var d=the_ajax_script.pagination_class;d=d.replace(","," a,"),d=berocket_apply_filters("pagination_links_a_tags",d+" a",the_ajax_script.pagination_class),!the_ajax_script.disable_ajax_loading&&the_ajax_script.woocommerce_removes.pagination_ajax&&a(document).on("click",d,function(c){c.preventDefault();var d=a(this).attr("href");d=berocket_apply_filters("pagination_href_from_clicked_a",decodeURI(d),a(this)),braapf_change_url_history_api(d,{replace:the_ajax_script.seo_friendly_urls}),berocket_add_filter("ajax_load_from_url_beforeSend",b),braapf_ajax_load_from_url(d,{},berocket_apply_filters("ajax_load_from_pagination",{done:[braapf_replace_products,braapf_replace_pagination,braapf_replace_result_count,braapf_init_load]},d))}),!the_ajax_script.disable_ajax_loading&&the_ajax_script.control_sorting&&a(document).on("submit",the_ajax_script.ordering_class,function(b){b.preventDefault();var c=braapf_get_current_url_data();if(c=braapf_remove_pages_from_url_data(c),Array.isArray(c.queryargs)){var d=[];a.each(c.queryargs,function(a,b){"orderby"!=b.name&&d.push(b)}),c.queryargs=d}else c.queryargs=[];var e=a(this).serializeArray();Array.isArray(e)&&a.each(e,function(a,b){"paged"==b.name?c.page=parseInt(b.value):"orderby"==b.name?the_ajax_script.default_sorting!=b.value&&c.queryargs.push(b):c.queryargs.push(b)});var f=braapf_build_url_from_urldata(c);braapf_filter_products_by_url(f)}),braapf_get_url_with_filters_selected=function(){braapf_grab_all();var a=braapf_compact_filters(),b=berocket_apply_filters("braapf_filters_mask",the_ajax_script.url_mask),c=braapf_compat_filters_to_string(a,b,the_ajax_script.url_split),d=braapf_get_current_url_data();d.filter=c,d=braapf_remove_pages_from_url_data(d);var e=braapf_build_url_from_urldata(d);return e},braapf_update_products=function(b,c){"undefined"==typeof b&&(b="filter"),"undefined"==typeof c&&(c=!1),b=berocket_apply_filters("before_update_products_context",b,c);var d=braapf_get_url_with_filters_selected();berocket_apply_filters("apply_filters_to_page",0==a(".berocket_aapf_widget_update_button:visible, .bapf_update:visible").length||"filter"!=b,b,c,d)?(braapf_selected_filters_area_set(),braapf_filter_products_by_url(d)):berocket_apply_filters("apply_filters_to_page_partial",!1,b,c,d)&&braapf_ajax_load_from_url(d,{},berocket_apply_filters("ajax_load_from_filters_partial",{done:[braapf_replace_each_filter,braapf_init_load]},d,"partial"),"partial")},braapf_filter_products_by_url=function(b){berocket_apply_filters("page_has_products_holder",!a(the_ajax_script.products_holder_id).length,b)?location.href=b:(braapf_change_url_history_api(b,{replace:the_ajax_script.seo_friendly_urls}),braapf_ajax_load_from_url(b,{},berocket_apply_filters("ajax_load_from_filters",{done:[braapf_replace_products,braapf_replace_pagination,braapf_replace_result_count,braapf_replace_orderby,braapf_replace_each_filter,braapf_init_load,braapf_filtered_filters_set,braapf_update_url_history_api_from_current]},b,"default")))},braapf_update_url_history_api_from_current=function(){the_ajax_script.seo_friendly_urls&&(url_filtered=braapf_get_url_with_filters_selected(),history.replaceState(history.state,"BeRocket Rules",url_filtered))},braapf_grab_all=function(b){"undefined"==typeof b&&(b=!1);var c=[];if(b===!1)var d=a(".bapf_sfilter");else var d=a(b).find(".bapf_sfilter");return d.each(function(){var a=braapf_grab_single(this,c);a!==!1&&c.push(a)}),c=berocket_apply_filters("grab_all_filters",c,b),b===!1&&(braapf_selected_filters=c),c},braapf_grab_single=function(b,c,d){"undefined"==typeof d&&(d=!1),b=a(b);var e=!1,f=!1,g=b.data("taxonomy");if("undefined"==typeof g||!g)return berocket_apply_filters("grab_single_filter_taxonomy_undefined",e,b,c);if(a.each(c,function(a,b){b.taxonomy==g&&(f=!0)}),!berocket_apply_filters("grab_single_filter_exist",f,b,c)){if(e=berocket_apply_filters("grab_single_filter",e,b,c),e!==!1)return e;var h=b.data("op"),i=b.data("name");"undefined"==typeof i&&(i="");var j=braapf_glue_by_operator(h),k=[],l=[];if(d)var m=b;else var m=a(".bapf_sfilter[data-taxonomy="+g+"]");m.find("input:checked:not(:disabled)").each(function(b,c){l.indexOf(a(this).val())==-1&&(k.push({value:a(this).val(),html:a(this).data("name")}),l.push(a(this).val()))}),e={name:i,taxonomy:g,values:k,glue:j,operator:h}}return berocket_apply_filters("grab_single_filter_default",e,b,c)},braapf_glue_by_operator=function(a){"string"!=typeof a&&(a="");var b="-";return"and"==a.toLowerCase()&&(b="+"),berocket_apply_filters("glue_by_operator",b,a)},braapf_compact_filters=function(b){"undefined"==typeof b&&(b=braapf_selected_filters);var c=[];return a.each(b,function(b,d){var e="";"undefined"!=typeof d.customValuesLine?e=d.customValuesLine:a.each(d.values,function(a,b){e.length&&(e+=d.glue),e+=b.value}),e.length&&c.push(berocket_apply_filters("compat_filters_result_single",{taxonomy:d.taxonomy,values:e},d))}),berocket_apply_filters("compat_filters_result",c,b)},braapf_compat_filters_to_string=function(b,c,d){var e="";return a.each(b,function(a,f){e.length&&(e+=d);var g=c;g=g.replace("%t%",f.taxonomy),g=g.replace("%v%",f.values),e+=berocket_apply_filters("compat_filters_to_string_single",g,f,b,c,d)}),berocket_apply_filters("compat_filters_to_string",e,b,c,d)},braapf_get_current_url_data=function(b){if("undefined"==typeof b)var c=location.href.split("#")[0].split("?")[0],d=location.search.substring(1);else{var c=b.split("#")[0].split("?")[0];if(b.split("#")[0].split("?").length>1)var d=b.split("#")[0].split("?")[1];else var d=""}var e=[],f=1,g=c.match(/\/page\/(\d+)/);return g&&"string"==typeof g[1]&&(f=parseInt(g[1]),c=c.replace(/\/page\/(\d+)/,"")),d=d.split("&"),a.each(d,function(a,b){b.length&&(d[a]=b.split("="),"paged"==d[a][0]?f=parseInt(d[a][1]):e.push({name:d[a][0],value:d[a][1]}))}),berocket_apply_filters("get_current_url_data",{baselink:c,queryargs:e,filter:"",page:f})},braapf_remove_pages_from_url_data=function(b){if(b.page=1,Array.isArray(b.queryargs)){var c=[];a.each(b.queryargs,function(a,b){"product-page"!=b.name&&c.push(b)}),b.queryargs=c}return b},braapf_build_url_from_urldata=function(b,c){"undefined"==typeof c&&(c=braapf_build_url_parameters_default());var d=berocket_apply_filters("url_from_urldata_baselink",b.baselink,b,c),e="";return b.queryargs.length&&a.each(b.queryargs,function(a,b){e.length&&(e+="&"),b.name.length&&(e+=b.name+"="+b.value)}),b.page&&b.page>1&&(e.length&&(e+="&"),e+="paged="+b.page),e.length&&(e="?"+e),d=berocket_apply_filters("url_from_urldata_linkget",d+e,b,c,d,e)},braapf_build_url_parameters_default=function(){return berocket_apply_filters("build_url_parameters_default",{})},braapf_replace_current_with_new=function(b,c,d){"undefined"==typeof d&&(d={}),args={replace:!1},jQuery.extend(args,d);var e=a("<div><div>"+b+"</div></div>"),f=e.find(c),g=a(c);0!=g.length&&(f.length!=g.length&&0!=f.length&&berocket_throw_error("error_notsame_block_qty",c,f.length,g.length),0==f.length?(g.html("").addClass("braapfNotReplaced"),g.hide()):(g.each(function(b,c){"undefined"!=typeof f[b]?args.replace?a(c).replaceWith(a(f[b])):a(c).html(a(f[b]).html()).removeClass("braapfNotReplaced"):a(c).html("").addClass("braapfNotReplaced")}),g.show()))},braapf_replace_products=function(b){var c=the_ajax_script.products_holder_id;a("<div><div>"+b+"</div></div>");a(".bapf_no_products").remove(),braapf_replace_current_with_new(b,c),a(".braapfNotReplaced").filter(c).length&&a(".braapfNotReplaced").filter(c).before(a(the_ajax_script.no_products))},braapf_replace_pagination=function(b){var c=the_ajax_script.pagination_class;if(0==a(c).length){var d=the_ajax_script.products_holder_id,e=a("<div><div>"+b+"</div></div>"),f=e.find(c).last();f.length&&a(d).last().after(f)}else braapf_replace_current_with_new(b,c)},braapf_replace_result_count=function(a){var b=the_ajax_script.result_count_class;braapf_replace_current_with_new(a,b)},braapf_replace_orderby=function(a){var b=the_ajax_script.ordering_class;braapf_replace_current_with_new(a,b)},braapf_replace_each_filter=function(b){var c=a("<div><div>"+b+"</div></div>");a(".berocket_single_filter_widget").each(function(){var b=a(this).data("id");a(".berocket_single_filter_widget_"+b).html(c.find(".berocket_single_filter_widget_"+b).last().html()),c.find(".berocket_single_filter_widget_"+b).is(".bapf_mt_none")?a(".berocket_single_filter_widget_"+b).addClass("bapf_mt_none"):a(".berocket_single_filter_widget_"+b).removeClass("bapf_mt_none")})},braapf_change_url_history_api=function(a,b){if("undefined"!=typeof b&&b.replace){var c={BeRocket:"Rules"};history.replaceState(c,""),history.pushState(c,"",a),history.pathname=a}},berocket_apply_filters("load_products_ajax_on_popstate",!0)&&(window.onpopstate=function(b){if(null!=b.state&&"Rules"==b.state.BeRocket){var c=location.href;berocket_apply_filters("page_has_products_holder",!a(the_ajax_script.products_holder_id).length,c)?location.href=c:braapf_ajax_load_from_url(c,{},berocket_apply_filters("ajax_load_from_filters",{done:[braapf_replace_products,braapf_replace_pagination,braapf_replace_result_count,braapf_replace_orderby,braapf_replace_each_filter,braapf_init_load,braapf_filtered_filters_set,braapf_update_url_history_api_from_current]},c,"default"))}}),braapf_ajax_load_from_url=function(a,b,c,d){"undefined"==typeof d&&(d="default"),"object"!=typeof b&&(b={}),"object"!=typeof c&&(c={done:[],fail:[],always:[]}),"undefined"!=typeof c.done&&Array.isArray(c.done)||(c.done=[]),"undefined"!=typeof c.fail&&Array.isArray(c.fail)||(c.fail=[]),"undefined"!=typeof c.always&&Array.isArray(c.always)||(c.always=[]),a=berocket_apply_filters("ajax_load_from_url_url",a,b,c,d),b=berocket_apply_filters("ajax_load_from_url_data",b,a,c,d),c=berocket_apply_filters("ajax_load_from_url_callback",c,a,b,d),braapf_ajax_load_from_url_request(a,b,c,d)},braapf_ajax_load_from_url_request=function(b,c,d,e){a(document).trigger("berocket_ajax_filtering_start"),"object"==typeof braapf_ajax_request&&"undefined"!=typeof braapf_ajax_request.abort&&braapf_ajax_request.abort(),braapf_ajax_request=a.ajax({method:"GET",url:b,data:c,beforeSend:function(a){a=berocket_apply_filters("ajax_load_from_url_beforeSend",a,b,c,d,e)}}).done(function(f,g,h){a(document).trigger("berocket_ajax_filtering_on_update"),f=berocket_apply_filters("ajax_load_from_url_done",f,b,c,d,e),a.each(d.done,function(a,b){b(f,g,h)}),f=berocket_apply_filters("ajax_load_from_url_done_after",f,b,c,d,e),a(document).trigger("berocket_ajax_products_loaded")}).fail(function(f,g,h){if("abort"==g)return!1;if(a(document).trigger("berocket_ajax_products_not_loaded"),f=berocket_apply_filters("ajax_load_from_url_fail",f,b,c,d,e),a.each(d.fail,function(a,b){b(f,g,h)}),f=berocket_apply_filters("ajax_load_from_url_fail_after",f,b,c,d,e),"default"==e){var i=jQuery.param(c);i&&(b=b.split("?").length>1?b+"&"+i:b+"?"+i),location.href=b}}).always(function(f,g,h){f=berocket_apply_filters("ajax_load_from_url_always",f,b,c,d,e),a.each(d.always,function(a,b){b(f,g,h)}),f=berocket_apply_filters("ajax_load_from_url_always_after",f,b,c,d,e),a(document).trigger("berocket_ajax_filtering_end")})},braapf_init_load=function(){var b=berocket_apply_filters("filter_mobile_width",767),c=berocket_apply_filters("filter_tablet_width",1024);a(window).width()<=b&&a(".bapf_sngl_hd_mobile").remove(),a(window).width()>b&&a(window).width()<=c&&a(".bapf_sngl_hd_tablet").remove(),a(window).width()>c&&a(".bapf_sngl_hd_desktop").remove(),a(".bapf_sfilter .bapf_body.bapf_mcs:not(.bapf_mcs_ready)").each(function(){a(this).mCustomScrollbar({setHeight:a(this).data("mcs-h"),scrollInertia:300}).addClass("bapf_mcs_ready")}),a(".berocket_single_filter_widget").each(function(){var b=a(this).data("id");berocket_apply_filters("remove_same_filters_to_prevent_errors",a(".berocket_single_filter_widget_"+b).length>1,a(this),b)&&a(".berocket_single_filter_widget_"+b).not(a(".berocket_single_filter_widget_"+b).first()).remove()}),a("body").on("click",".bapf_desci",function(a){a.stopPropagation()}),a("body").on("hover",".bapf_desci",function(a){a.stopPropagation()}),berocket_do_action("braapf_init",braapf_selected_filters),a(document).trigger("berocket_filters_first_load")},braapf_update_page_on_error=function(){berocket_apply_filters("update_page_on_error",!0)&&location.reload()},braapf_selected_filters_area_set=function(){if("undefined"!=typeof braapf_filtered_filters&&braapf_filtered_filters.length>0){var b="";a.each(braapf_filtered_filters,function(c,d){d.values.length>0&&(b+="<span>"+d.name+"</span>",b+="<ul>",a.each(d.values,function(a,c){b+=berocket_apply_filters("default_selected_filters_area_single",'<li><a href="#unselect_'+c.value+'" class="braapf_unselect" data-taxonomy="'+d.taxonomy+'" data-value="'+c.value+'"><i class="fa fa-times"></i>'+c.html+"</a></li>",c)}),b+="</ul>")}),b?(a(".bapf_sfa_mt_hide").show().parent().removeClass("bapf_mt_none"),b=berocket_apply_filters("default_selected_filters_area_full_exist",'<div class="berocket_aapf_widget_selected_filter">'+b+'<ul><li><a href="#Unselect_all" class="braapf_unselect_all"><i class="fa fa-times"></i> '+the_ajax_script.translate.unselect_all+"</a></li></ul>",b,braapf_filtered_filters)):(b=berocket_apply_filters("default_selected_filters_area_full_notexist",the_ajax_script.translate.nothing_selected,b,braapf_filtered_filters),a(".bapf_sfa_mt_hide").hide().parent().addClass("bapf_mt_none")),a(".berocket_aapf_widget_selected_area").html(b)}},a(document).on("click",".berocket_aapf_widget_selected_area .braapf_unselect",function(b){b.preventDefault(),a(".bapf_sfilter[data-taxonomy="+a(this).data("taxonomy")+"]").trigger("braapf_unselect",a(this).data()),berocket_do_action("update_products","reset_single",a(this))}),braapf_unselect_all=function(){braapf_grab_all(),"undefined"!=typeof braapf_selected_filters&&braapf_selected_filters.length>0&&a.each(braapf_selected_filters,function(b,c){c.values.length>0&&a(".bapf_sfilter[data-taxonomy="+c.taxonomy+"]").trigger("braapf_unselect_all",c)})},a(document).on("click",".berocket_aapf_widget_selected_area .braapf_unselect_all",function(b){b.preventDefault(),braapf_unselect_all(),berocket_do_action("update_products","reset_all",a(this))}),berocket_add_filter("braapf_init",braapf_grab_all_init,1e3),berocket_add_filter("braapf_init",braapf_selected_filters_area_set_init,1100),berocket_add_filter("braapf_init_filtered_set",braapf_selected_filters_area_set_init,1100),braapf_reload_page_for_products_error=function(a,b){return b==the_ajax_script.products_holder_id&&braapf_update_page_on_error(),a},berocket_add_filter("ajax_load_from_url_beforeSend",c),berocket_add_filter("update_products",braapf_update_products),berocket_add_filter("error_notsame_block_qty",braapf_reload_page_for_products_error),bapf_universal_theme_compatibility=function(b){if(berocket_apply_filters("universal_theme_compatibility",!0)){a(window).trigger("resize");try{berocket_apply_filters("uncode_theme_compatibility","object"==typeof UNCODE&&"function"==typeof UNCODE.init)&&UNCODE.init()}catch(a){berocket_throw_error("uncode_theme_compatibility",a)}try{berocket_apply_filters("flatsome_theme_compatibility","object"==typeof Flatsome&&"function"==typeof Flatsome.attach&&jQuery(the_ajax_script.products_holder_id).length)&&Flatsome.attach(jQuery(the_ajax_script.products_holder_id))}catch(a){berocket_throw_error("flatsome_theme_compatibility",a)}try{berocket_apply_filters("woodmart_theme_compatibility","object"==typeof woodmartThemeModule&&"function"==typeof woodmartThemeModule.init)&&(woodmartThemeModule.wooInit(),woodmartThemeModule.lazyLoading(),woodmartThemeModule.productsLoadMore())}catch(a){berocket_throw_error("woodmart_theme_compatibility",a)}try{berocket_apply_filters("divi_theme_compatibility","function"==typeof et_reinit_waypoint_modules)&&et_reinit_waypoint_modules()}catch(a){berocket_throw_error("divi_theme_compatibility",a)}try{berocket_apply_filters("rey_theme_compatibility","object"==typeof jQuery.reyTheme&&"function"==typeof jQuery.reyTheme.init)&&jQuery.reyTheme.init()}catch(a){berocket_throw_error("rey_theme_compatibility",a)}try{berocket_apply_filters("layzyloadimage_script_compatibility","function"==typeof layzyLoadImage)&&layzyLoadImage()}catch(a){berocket_throw_error("layzyloadimage_script_compatibility",a)}try{berocket_apply_filters("jetpacklazyimages_script_compatibility","function"==typeof jetpackLazyImagesModule)&&jetpackLazyImagesModule()}catch(a){berocket_throw_error("jetpacklazyimages_script_compatibility",a)}}return b},berocket_add_filter("ajax_load_from_url_always_after",bapf_universal_theme_compatibility,2500),a(document).ready(function(){berocket_apply_filters("remove_shortcode_fix_filters",a(".berocket_wc_shortcode_fix").length)&&(braapf_replace_each_filter(a(".berocket_wc_shortcode_fix").html()),a(".berocket_wc_shortcode_fix").html("")),braapf_init_load(),braapf_filtered_filters_set(),a(document).trigger("berocket_filters_document_ready")}),braapf_disable_ajax_loading=function(a){return!0},the_ajax_script.disable_ajax_loading&&berocket_add_filter("page_has_products_holder",braapf_disable_ajax_loading),braapf_close_tippy=function(){try{a(".tippy-box").length&&a(".tippy-box").each(function(){"undefined"!=typeof a(this).parent()[0]._tippy&&a(this).parent()[0]._tippy.hide()})}catch(a){}},berocket_add_filter("update_products",braapf_close_tippy)}(jQuery);var braapf_get_current_filters,braapf_filters_url_decode,braapf_scroll_shop_to_top,braapf_set_filters_to_link,braapf_convert_ckbox_to_radio,braapf_hierarhical_save,braapf_hierarhical_set,braapf_collapse_status_save,braapf_collapse_status_set,braapf_show_hide_values_save,braapf_show_hide_values_set,berocket_custom_sidebar_close,berocket_custom_sidebar_open;!function(a){function b(){jQuery(".berocket_product_table_compat .dataTables_length select").length&&jQuery(".berocket_product_table_compat .wc-product-table").dataTable()._fnSaveState();var a=jQuery(".berocket_product_table_compat .wc-product-table").attr("id");if("undefined"!=typeof window["config_"+a]&&window["config_"+a].serverSide){jQuery(".berocket_product_table_compat .wc-product-table").DataTable().destroy();var b=jQuery(".berocket_product_table_compat").html();jQuery(".berocket_product_table_compat").html(""),jQuery(".berocket_product_table_compat").html(b),jQuery(".berocket_product_table_compat .blockUI.blockOverlay").remove(),jQuery(".berocket_product_table_compat .wc-product-table").productTable()}}braapf_get_current_filters=function(b){if(b.queryargs.length){var c=[];a.each(b.queryargs,function(a,d){d.name==the_ajax_script.url_variable?b.filter=d.value:c.push(d)}),b.queryargs=c}return b},braapf_set_filters_to_link=function(a,b,c,d,e){return"string"==typeof b.filter&&b.filter.length&&(a+=e.length?"&":"?",a+=the_ajax_script.url_variable+"="+b.filter),a},braapf_convert_ckbox_to_radio=function(b,c,d,e){var f=(a(b),a(b).closest(".bapf_sfilter.bapf_ckbox"));f.is(".bapf_asradio")&&f.find("input[type=checkbox]:checked:not(:disabled)").each(function(){var b=a(this).val();b!=d&&braapf_checkbox_same(c,b,!1)})},berocket_add_filter("input_ckbox_changed",braapf_convert_ckbox_to_radio),a(document).on("click",".bapf_ochild, .bapf_cchild",function(b){b.preventDefault,a(this).is(".bapf_ochild")?a(this).trigger("bapf_ochild"):a(this).trigger("bapf_cchild")}),a(document).on("bapf_ochild",".bapf_sfilter.bapf_ckbox ul li",function(b){b.stopPropagation(),a(this).find(".bapf_ochild, .bapf_cchild").first().removeClass("bapf_ochild").removeClass("fa-plus").addClass("bapf_cchild").addClass("fa-minus"),a(this).find("ul").first().show()}),a(document).on("bapf_cchild",".bapf_sfilter.bapf_ckbox ul li",function(b){b.stopPropagation(),a(this).find(".bapf_ochild, .bapf_cchild").first().addClass("bapf_ochild").addClass("fa-plus").removeClass("bapf_cchild").removeClass("fa-minus"),a(this).find("ul").first().hide()});var c=[];braapf_hierarhical_save=function(b){return c=[],a(".bapf_cchild").each(function(){c.push(a(this).parent().children("input[type=checkbox]").attr("id"))}),b},braapf_hierarhical_set=function(b){return a.each(c,function(b,c){a("#"+c).trigger("bapf_ochild")}),b},berocket_add_filter("ajax_load_from_url_done",braapf_hierarhical_save,1),berocket_add_filter("ajax_load_from_url_done_after",braapf_hierarhical_set,1e3),a(document).on("click",".bapf_ocolaps .bapf_colaps_togl, .bapf_ccolaps .bapf_colaps_togl",function(b){b.preventDefault,a(this).closest(".bapf_ocolaps, .bapf_ccolaps").is(".bapf_ocolaps")?a(this).closest(".bapf_ocolaps, .bapf_ccolaps").trigger("bapf_ocolaps"):a(this).closest(".bapf_ocolaps, .bapf_ccolaps").trigger("bapf_ccolaps")}),a(document).on("bapf_ocolaps",".bapf_sfilter.bapf_ocolaps, .bapf_sfilter.bapf_ccolaps",function(b){a(this).find(".bapf_body").first().show(),a(this).removeClass("bapf_ocolaps").addClass("bapf_ccolaps"),a(this).find(".bapf_colaps_smb").length&&a(this).find(".bapf_colaps_smb").removeClass("fa-chevron-down").addClass("fa-chevron-up")}),a(document).on("bapf_ccolaps",".bapf_sfilter.bapf_ocolaps, .bapf_sfilter.bapf_ccolaps",function(b){a(this).find(".bapf_body").first().hide(),a(this).addClass("bapf_ocolaps").removeClass("bapf_ccolaps"),a(this).find(".bapf_colaps_smb").length&&a(this).find(".bapf_colaps_smb").addClass("fa-chevron-down").removeClass("fa-chevron-up")});var d={open:[],close:[]};braapf_collapse_status_save=function(b){return d={open:[],close:[]},a(".bapf_ocolaps, .bapf_ccolaps").each(function(){a(this).is(".bapf_ocolaps")?d.open.push(a(this).attr("id")):d.close.push(a(this).attr("id"))}),b},braapf_collapse_status_set=function(b){return a.each(d.open,function(b,c){a("#"+c).trigger("bapf_ccolaps")}),a.each(d.close,function(b,c){a("#"+c).trigger("bapf_ocolaps")}),b},berocket_add_filter("ajax_load_from_url_done",braapf_collapse_status_save,1),berocket_add_filter("ajax_load_from_url_done_after",braapf_collapse_status_set,1e3),a(document).on("click",".bapf_show_hide",function(){a(this).closest(".bapf_sfilter").toggleClass("bapf_fhide"),a(this).closest(".bapf_sfilter").is(".bapf_fhide")?a(this).text(a(this).data("show")):a(this).text(a(this).data("hide"))});var e={open:[],close:[]};braapf_show_hide_values_save=function(b){return e={open:[],close:[]},a(".bapf_sfilter").each(function(){a(this).is(".bapf_fhide")?e.close.push(a(this).attr("id")):e.open.push(a(this).attr("id"))}),b},braapf_show_hide_values_set=function(b){return a.each(e.open,function(b,c){a("#"+c).removeClass("bapf_fhide"),a("#"+c).find(".bapf_show_hide").text(a("#"+c).find(".bapf_show_hide").data("hide"))}),a.each(e.close,function(b,c){a("#"+c).addClass("bapf_fhide"),a("#"+c).find(".bapf_show_hide").text(a("#"+c).find(".bapf_show_hide").data("show"))}),b},berocket_add_filter("ajax_load_from_url_done",braapf_show_hide_values_save,1),berocket_add_filter("ajax_load_from_url_done_after",braapf_show_hide_values_set,1e3),braapf_scroll_shop_to_top=function(b,c,d,e,f){var g=berocket_apply_filters("filter_mobile_width",767);if(berocket_apply_filters("scroll_shop_to_top","default"==f&&(1==the_ajax_script.scroll_shop_top||2==the_ajax_script.scroll_shop_top&&a(window).width()<g||3==the_ajax_script.scroll_shop_top&&a(window).width()>=g))){var h=0;a(the_ajax_script.products_holder_id).length?(h=a(the_ajax_script.products_holder_id).offset().top+parseInt(the_ajax_script.scroll_shop_top_px),h<0&&(h=0)):a(".bapf_no_products").length&&(h=a(".bapf_no_products").offset().top+parseInt(the_ajax_script.scroll_shop_top_px),h<0&&(h=0)),a("html, body").animate({scrollTop:h},"slow")}return b},berocket_add_filter("ajax_load_from_url_beforeSend",braapf_scroll_shop_to_top),a(document).on("mousedown",".wc-product-table-reset a",function(){a(this).remove(),br_reset_all_filters()}),a(document).on("click",".berocket_element_above_products_is_hide_toggle",function(b){b.preventDefault(),a(this).toggleClass("active").next().slideToggle(200,"linear");var c="inactive";a(this).is(".active")&&(c="active"),a(document).trigger("berocket_element_above_products_"+c)}),berocket_custom_sidebar_close=function(){a(".berocket_ajax_filters_sidebar_toggle").removeClass("active"),a("#berocket-ajax-filters-sidebar").removeClass("active"),a("body").removeClass("berocket_ajax_filters_sidebar_active")},berocket_custom_sidebar_open=function(){a(".berocket_ajax_filters_sidebar_toggle").addClass("active"),a("#berocket-ajax-filters-sidebar").addClass("active"),a("body").addClass("berocket_ajax_filters_sidebar_active")},a(document).on("berocket_custom_sidebar_close",berocket_custom_sidebar_close),a(document).on("berocket_custom_sidebar_open",berocket_custom_sidebar_open),a(document).on("click",".berocket_ajax_filters_sidebar_toggle",function(b){b.preventDefault(),a(this).is(".active")&&a("#berocket-ajax-filters-sidebar").is(".active")?berocket_custom_sidebar_close():berocket_custom_sidebar_open()}),a(document).on("click","#berocket-ajax-filters-sidebar-shadow, #berocket-ajax-filters-sidebar-close",function(a){a.preventDefault(),berocket_custom_sidebar_close()}),a(document).on("berocket_ajax_filtering_start",function(){jQuery(".berocket_product_table_compat").length&&b()}),braapf_filters_url_decode=function(a){return the_ajax_script.seo_uri_decode&&(a=encodeURIComponent(a),the_ajax_script.nice_urls&&(a=a.replace("%2F","/"))),a}}(jQuery),berocket_add_filter("get_current_url_data",braapf_get_current_filters),berocket_add_filter("compat_filters_to_string",braapf_filters_url_decode,900),berocket_add_filter("url_from_urldata_linkget",braapf_set_filters_to_link);var braapf_child_parent_grab_single,braapf_child_parent_fix_selected,braapf_child_parent_load_with_update_button,braapf_add_loader_element,braapf_remove_loader_element;!function(a){braapf_child_parent_grab_single=function(b,c,d){var e=c.data("child");if("undefined"!=typeof e&&e>0&&"object"==typeof b&&"undefined"!=typeof b.values&&Array.isArray(b.values)&&b.values.length>0){e++;var f=c.data("taxonomy"),g=a(".bapf_sfilter.bapf_child_"+e+"[data-taxonomy="+f+"]");if(g.length){var h=braapf_grab_single(g,[],!0);"object"==typeof h&&"undefined"!=typeof h.values&&Array.isArray(h.values)&&h.values.length>0&&(b=h)}}return b},braapf_child_parent_fix_selected=function(b,c){if(0!=c){var d=c.closest(".bapf_sfilter");if(d.length){var e=d.data("child"),f=d.data("taxonomy");if("undefined"!=typeof e&&e>0)for(i=e+1;a(".bapf_sfilter.bapf_child_"+i+"[data-taxonomy="+f+"]").length;i++)a(".bapf_sfilter.bapf_child_"+i+"[data-taxonomy="+f+"]").trigger("braapf_unselect",!1)}}return b},braapf_child_parent_load_with_update_button=function(a,b,c){if(0!=c){var d=c.closest(".bapf_sfilter");if(d.length){var e=d.data("child");d.data("taxonomy");"undefined"!=typeof e&&e>0&&(a=!0)}}return a},berocket_add_filter("grab_single_filter_default",braapf_child_parent_grab_single),berocket_add_filter("before_update_products_context",braapf_child_parent_fix_selected),
2
+ berocket_add_filter("apply_filters_to_page_partial",braapf_child_parent_load_with_update_button);var b;braapf_add_loader_element=function(c,d,e,f,g){return"default"==g&&("undefined"!=typeof b&&"function"==typeof b.remove&&b.remove(),b=a(the_ajax_script.load_image),a("body").append(b)),c},braapf_remove_loader_element=function(a){return"undefined"!=typeof b&&"function"==typeof b.remove&&b.remove(),a},berocket_add_filter("ajax_load_from_url_beforeSend",braapf_add_loader_element),berocket_add_filter("ajax_load_from_url_always_after",braapf_remove_loader_element),a(document).on("click",".bapf_sfilter.bapf_ckbox .bapf_body li label a",function(b){b.preventDefault(),a(this).parent().trigger("click")})}(jQuery);var braapf_init_ion_slidr,braapf_ion_slidr_same,braapf_jqrui_slidr_ion_value_wc_price,braapf_jqrui_slidr_ion_value_arr_attr,braapf_init_ion_slidr_for_parent,braapf_grab_single_ion,braapf_jqrui_slidr_ion_values_link_arr_attr;!function(a){braapf_init_ion_slidr=function(){braapf_init_ion_slidr_for_parent(a(document))},braapf_init_ion_slidr_for_parent=function(b){b.find(".bapf_slidr_ion:not(.bapf_slidr_ready)").each(function(){var b=a(this).find(".bapf_slidr_all .bapf_slidr_main"),c=function(a){if(!b.is(".bapf_ion_blocked")){b.addClass("bapf_ion_blocked");var c=b.closest(".bapf_sfilter").data("taxonomy");braapf_ion_slidr_same(c,a);var d={element:"#"+b.closest(".bapf_sfilter").attr("id"),parent:0,find:".bapf_body"};berocket_apply_filters("filter_changed_element",d,b),berocket_do_action("update_products","filter",b),b.removeClass("bapf_ion_blocked")}},d=berocket_apply_filters("jqrui_data_slidr_ion",{type:"double",from:b.data("start"),to:b.data("end"),grid:!1,force_edges:!0,onFinish:c,onUpdate:c,prettify:function(a){return a=berocket_apply_filters("jqrui_slidr_ion_"+b.data("display"),a,b)}},b);b.ionRangeSlider(d),a(this).addClass("bapf_slidr_ready")})},braapf_ion_slidr_same=function(b,c){a(".bapf_slidr_ion.bapf_slidr_ready[data-taxonomy="+b+"]").each(function(){var b=a(this).find(".bapf_slidr_main");b.addClass("bapf_ion_blocked");var d=b.data("ionRangeSlider");d.update({from:c.from,to:c.to}),b.removeClass("bapf_ion_blocked")})},braapf_jqrui_slidr_ion_value_wc_price=function(a,b){var c=b.data("number_style");return c||(c=the_ajax_script.number_style),a=berocket_format_number(parseFloat(a),c)},braapf_jqrui_slidr_ion_value_arr_attr=function(a,b){var c=b.data("attr");return a=c[a].n},braapf_grab_single_ion=function(a,b){if(b.is(".bapf_slidr_ion.bapf_slidr_ready")&&0!=a){var c=b.find(".bapf_slidr_main").data("ionRangeSlider"),d=b.find(".bapf_slidr_main"),e=[c.options.from,c.options.to],f=[berocket_apply_filters("jqrui_slidr_ion_"+d.data("display"),c.options.from,d),berocket_apply_filters("jqrui_slidr_ion_"+d.data("display"),c.options.to,d)],g=d.data("prefix");"undefined"==typeof g&&(g="");var h=d.data("postfix");if("undefined"==typeof h&&(h=""),f[0]=g+f[0]+h,f[1]=g+f[1]+h,e[0]!=d.data("min")||e[1]!=d.data("max")){var i={value:e[0]+"_"+e[1],html:f[0]+" - "+f[1]};i=berocket_apply_filters("jqrui_slidr_ion_link_"+d.data("display"),i,e,f,d,a),a.values=[i]}}return a},braapf_jqrui_slidr_ion_values_link_arr_attr=function(a,b,c,d,e){var f=d.data("attr");return a.value=f[b[0]].v+"_"+f[b[1]].v,a},a(document).on("braapf_unselect braapf_unselect_all",".bapf_slidr_ion",function(b,c){var d=a(this).find(".bapf_slidr_main"),e=d.data("ionRangeSlider");d.addClass("bapf_ion_blocked"),e.update({from:e.options.min,to:e.options.max}),d.removeClass("bapf_ion_blocked")}),berocket_add_filter("braapf_init",braapf_init_ion_slidr),berocket_add_filter("braapf_init_for_parent",braapf_init_ion_slidr_for_parent),berocket_add_filter("grab_single_filter_default",braapf_grab_single_ion),berocket_add_filter("jqrui_slidr_ion_link_arr_attr",braapf_jqrui_slidr_ion_values_link_arr_attr),berocket_add_filter("jqrui_slidr_ion_wc_price",braapf_jqrui_slidr_ion_value_wc_price),berocket_add_filter("jqrui_slidr_ion_arr_attr",braapf_jqrui_slidr_ion_value_arr_attr)}(jQuery);var braapf_grab_single_select;!function(a){a(document).on("change",".bapf_slct .bapf_body select",function(){var b={element:"#"+a(this).closest(".bapf_sfilter").attr("id"),parent:0,find:".bapf_body"};berocket_apply_filters("filter_changed_element",b,a(this)),berocket_do_action("update_products","filter",a(this))}),braapf_grab_single_select=function(b,c){if(c.is(".bapf_slct")&&0!=b){var d=c.find(".bapf_body select:not(:disabled)");d.find("option:selected:not(:disabled)").each(function(){var c=a(this).val();c&&b.values.push({value:c,html:a(this).data("name")})})}return b},a(document).on("braapf_unselect braapf_unselect_all",".bapf_slct",function(b,c){a(this).find(".bapf_body select:not(:disabled) option:selected:not(:disabled)").each(function(){"undefined"!=typeof c.value&&c.value!=a(this).val()||a(this).prop("selected",!1)})}),berocket_add_filter("grab_single_filter_default",braapf_grab_single_select)}(jQuery);var bapf_select2_init,bapf_select2_init_for_parent,bapf_select2_disable_for_parent;jQuery(document).ready(function(){bapf_select2_init=function(){bapf_select2_init_for_parent(jQuery(document))},bapf_select2_init_for_parent=function(a){a.find(".bapf_select2").length&&"undefined"!=typeof a.find(".bapf_select2").select2&&a.find(".bapf_select2").each(function(){if(!jQuery(this).data("select2")){var a={width:"100%",theme:"default"};jQuery(this).prop("multiple")&&(a.placeholder=jQuery(this).data("placeholder")),jQuery(this).parents("#berocket-ajax-filters-sidebar").length&&(0==jQuery("#bapf-select2-high-zindex").length&&jQuery("body").append('<div id="bapf-select2-high-zindex"></div>'),a.dropdownParent=jQuery("#bapf-select2-high-zindex")),a=berocket_apply_filters("jqrui_data_select2",a,jQuery(this)),jQuery(this).select2(a)}})},bapf_select2_disable_for_parent=function(a){a.find(".bapf_select2").length&&"undefined"!=typeof a.find(".bapf_select2").select2&&a.find(".bapf_select2").each(function(){jQuery(this).data("select2")&&jQuery(this).select2("destroy")})},jQuery(document).on("berocket_ajax_filtering_on_update",function(){bapf_select2_disable_for_parent(jQuery(document))}),bapf_select2_init(),berocket_add_filter("braapf_init",bapf_select2_init,2e3),berocket_add_filter("braapf_init_for_parent",bapf_select2_init_for_parent)});var braapf_init_jqrui_slidr,braapf_jqrui_slidr_same,braapf_jqrui_slidr_values_wc_price,braapf_init_jqrui_slidr_for_parent,braapf_grab_single_jqrui,braapf_jqrui_slidr_values_arr_attr,braapf_jqrui_slidr_values_link_arr_attr;!function(a){function b(b,c){var d=a(b).closest(".bapf_slidr_jqrui.bapf_slidr_ready").find(".bapf_slidr_main"),e=d.slider("values");a(b).val(e[c]),a(b).data("val",e[c])}function c(b,c,d){var e=a(b).closest(".bapf_slidr_jqrui.bapf_slidr_ready").find(".bapf_slidr_main");if("focusout"==d){if(a(b).val()==a(b).data("val")){var f=e.slider("values");e.trigger("braapf_change_jqrui_slidr",[f])}}else{var g=parseInt(a(b).val());e.slider("values",c,g)}}a.each([{position:0,className:"bapf_from"},{position:1,className:"bapf_to"}],function(d,e){a(document).on("focusin",".bapf_slidr_jqrui.bapf_slidr_ready ."+e.className+" input[type=text]",function(){b(this,e.position)}),a(document).on("change focusout",".bapf_slidr_jqrui.bapf_slidr_ready ."+e.className+" input[type=text]",function(a){c(this,e.position,a.type)}),a(document).on("change",".bapf_slidr_jqrui.bapf_slidr_ready ."+e.className+" select",function(a){c(this,e.position,a.type)})}),a(document).on("braapf_change_jqrui_slidr",".bapf_slidr_jqrui .bapf_slidr_main",function(b,c){var d=a(this),e=[c[0],c[1]];e=berocket_apply_filters("jqrui_slidr_"+d.data("display"),e,d),d.closest(".bapf_slidr_jqrui").find(".bapf_from span.bapf_val").length&&d.closest(".bapf_slidr_jqrui").find(".bapf_from span.bapf_val").text(e[0]),d.closest(".bapf_slidr_jqrui").find(".bapf_to span.bapf_val").length&&d.closest(".bapf_slidr_jqrui").find(".bapf_to span.bapf_val").text(e[1])}),a(document).on("braapf_change_jqrui_slidr",".bapf_slidr_jqrui .bapf_slidr_main",function(b,c){var d=a(this),e=[c[0],c[1]];e=berocket_apply_filters("jqrui_slidr_"+d.data("display"),e,d),d.closest(".bapf_slidr_jqrui").find(".bapf_from input[type=text]").length&&d.closest(".bapf_slidr_jqrui").find(".bapf_from input[type=text]").val(e[0]),d.closest(".bapf_slidr_jqrui").find(".bapf_to input[type=text]").length&&d.closest(".bapf_slidr_jqrui").find(".bapf_to input[type=text]").val(e[1])}),a(document).on("braapf_change_jqrui_slidr",".bapf_slidr_jqrui .bapf_slidr_main",function(b,c){var d=a(this),e=d.data("attr");if(d.closest(".bapf_slidr_jqrui").find(".bapf_from select").length||d.closest(".bapf_slidr_jqrui").find(".bapf_to select").length){var e=d.data("attr"),f=[],g=[],h=!1,i=!1;a.each(e,function(a,b){a==c[0]&&(i=!0),h||f.push({v:b.v,n:b.n,ov:a}),i&&g.push({v:b.v,n:b.n,ov:a}),a==c[1]&&(h=!0)})}d.closest(".bapf_slidr_jqrui").find(".bapf_from select").length&&(d.closest(".bapf_slidr_jqrui").find(".bapf_from select option").remove(),a.each(f,function(b,e){var f="";e.ov==c[0]&&(f=" selected"),d.closest(".bapf_slidr_jqrui").find(".bapf_from select").append(a('<option value="'+e.ov+'"'+f+">"+e.n+"</option>"))})),d.closest(".bapf_slidr_jqrui").find(".bapf_to select").length&&(d.closest(".bapf_slidr_jqrui").find(".bapf_to select option").remove(),a.each(g,function(b,e){var f="";e.ov==c[1]&&(f=" selected"),d.closest(".bapf_slidr_jqrui").find(".bapf_to select").append(a('<option value="'+e.ov+'"'+f+">"+e.n+"</option>"))}))}),braapf_init_jqrui_slidr=function(){braapf_init_jqrui_slidr_for_parent(a(document))},braapf_init_jqrui_slidr_for_parent=function(b){b.find(".bapf_slidr_jqrui:not(.bapf_slidr_ready)").each(function(){var b=a(this).find(".bapf_slidr_main"),c=berocket_apply_filters("jqrui_data_slidr_jqrui",{range:!0,min:b.data("min"),max:b.data("max"),values:[b.data("start"),b.data("end")],step:b.data("step"),create:function(b,c){var d=a(this).slider("values");a(this).trigger("braapf_change_jqrui_slidr",[d])},slide:function(b,c){a(this).trigger("braapf_change_jqrui_slidr",[c.values])},change:function(b,c){var d=a(this).slider("values");if(a(this).trigger("braapf_change_jqrui_slidr",[d]),!a(this).is(".bapf_jqrui_blocked")){var d=a(this).slider("values"),e=a(this).parents(".bapf_sfilter").data("taxonomy");braapf_jqrui_slidr_same(e,d);var f={element:"#"+a(this).closest(".bapf_sfilter").attr("id"),parent:0,find:".bapf_body"};berocket_apply_filters("filter_changed_element",f,a(this)),berocket_do_action("update_products","filter",a(this))}}},b);b.slider(c),a(this).addClass("bapf_slidr_ready")})},braapf_jqrui_slidr_same=function(b,c){a(".bapf_slidr_jqrui.bapf_slidr_ready[data-taxonomy="+b+"]").each(function(){var b=a(this).find(".bapf_slidr_main");b.addClass("bapf_jqrui_blocked"),b.slider("values",c),b.removeClass("bapf_jqrui_blocked")})},braapf_jqrui_slidr_values_wc_price=function(a,b){var c=b.data("number_style");return c||(c=the_ajax_script.number_style),a[0]=berocket_format_number(a[0],c),a[1]=berocket_format_number(a[1],c),a},braapf_grab_single_jqrui=function(a,b){if(b.is(".bapf_slidr_jqrui.bapf_slidr_ready")&&0!=a){var c=b.find(".bapf_slidr_main"),d=c.slider("values"),e=c.slider("values"),f="";b.find(".bapf_tbprice").length&&(f=b.find(".bapf_tbprice").first().text());var g="";if(b.find(".bapf_taprice").length&&(g=b.find(".bapf_taprice").first().text()),d[0]!=c.data("min")||d[1]!=c.data("max")){e=berocket_apply_filters("jqrui_slidr_"+c.data("display"),e,c),e[0]=f+e[0]+g,e[1]=f+e[1]+g;var h={value:d[0]+"_"+d[1],html:e[0]+" - "+e[1]};h=berocket_apply_filters("jqrui_slidr_link_"+c.data("display"),h,d,e,c,a),a.values=[h]}}return a},braapf_jqrui_slidr_values_arr_attr=function(a,b){var c=b.data("attr");return Array.isArray(a)&&2==a.length?(a[0]=c[a[0]].n,a[1]=c[a[1]].n):(a=["",""],a[0]=c[0].n,a[1]=c[c.length-1].n),a},braapf_jqrui_slidr_values_link_arr_attr=function(a,b,c,d,e){var f=d.data("attr");return a.value=f[b[0]].v+"_"+f[b[1]].v,a},a(document).on("braapf_unselect braapf_unselect_all",".bapf_slidr_jqrui",function(b,c){var d=a(this).find(".bapf_slidr_main"),e=d.data("min"),f=d.data("max");d.addClass("bapf_jqrui_blocked"),d.slider("values",[e,f]),d.removeClass("bapf_jqrui_blocked")}),berocket_add_filter("jqrui_slidr_wc_price",braapf_jqrui_slidr_values_wc_price),berocket_add_filter("jqrui_slidr_arr_attr",braapf_jqrui_slidr_values_arr_attr),berocket_add_filter("jqrui_slidr_link_arr_attr",braapf_jqrui_slidr_values_link_arr_attr),berocket_add_filter("grab_single_filter_default",braapf_grab_single_jqrui),berocket_add_filter("braapf_init",braapf_init_jqrui_slidr),berocket_add_filter("braapf_init_for_parent",braapf_init_jqrui_slidr_for_parent)}(jQuery);
berocket/assets/js/admin.js CHANGED
@@ -420,7 +420,7 @@ function berocket_display_block_messages(element, next_elements) {
420
  styles.top += 'padding:0;';
421
  }
422
  if( jQuery('#wpcontent').length ) {
423
- var bottom_height = parseInt(jQuery('#wpcontent').outerHeight()) - top_end;
424
  styles.bottom += 'height:'+(bottom_height + 40)+'px;';
425
  } else {
426
  styles.bottom += "bottom:0;";
@@ -433,7 +433,7 @@ function berocket_display_block_messages(element, next_elements) {
433
  }
434
  //Create hide blocks
435
  var html = '<div class="berocket_display_block_messages_hide top" style="'+styles.top+'"></div>';
436
- html += '<div class="berocket_display_block_messages_hide bottom" style="'+styles.bottom+'"></div>';
437
  html += '<div class="berocket_display_block_messages_hide left" style="'+styles.left+'"></div>';
438
  html += '<div class="berocket_display_block_messages_hide right" style="'+styles.right+'"></div>';
439
  if( typeof(element.text) == 'undefined' || element.disable_inside ) {
@@ -457,6 +457,13 @@ function berocket_display_block_messages(element, next_elements) {
457
  return false;
458
  }
459
  }
 
 
 
 
 
 
 
460
  function berocket_display_block_message_reload_last() {
461
  berocket_display_block_messages_remove();
462
  berocket_display_block_messages(berocket_block_messages_element_last, berocket_block_messages_elements);
420
  styles.top += 'padding:0;';
421
  }
422
  if( jQuery('#wpcontent').length ) {
423
+ var bottom_height = (parseInt(jQuery('#wpcontent').outerHeight()) - top_end) + 100;
424
  styles.bottom += 'height:'+(bottom_height + 40)+'px;';
425
  } else {
426
  styles.bottom += "bottom:0;";
433
  }
434
  //Create hide blocks
435
  var html = '<div class="berocket_display_block_messages_hide top" style="'+styles.top+'"></div>';
436
+ html += '<div class="berocket_display_block_messages_hide bottom" data-top_end="'+top_end+'" style="'+styles.bottom+'"></div>';
437
  html += '<div class="berocket_display_block_messages_hide left" style="'+styles.left+'"></div>';
438
  html += '<div class="berocket_display_block_messages_hide right" style="'+styles.right+'"></div>';
439
  if( typeof(element.text) == 'undefined' || element.disable_inside ) {
457
  return false;
458
  }
459
  }
460
+ setInterval(function(){
461
+ if( jQuery('.berocket_display_block_messages_hide.bottom').length && jQuery('#wpcontent').length ) {
462
+ var top_end = parseInt(jQuery('.berocket_display_block_messages_hide.bottom').data('top_end'));
463
+ var bottom_height = (parseInt(jQuery('#wpcontent').outerHeight()) - top_end) + 100;
464
+ jQuery('.berocket_display_block_messages_hide.bottom').css('height', bottom_height+'px');
465
+ }
466
+ }, 500);
467
  function berocket_display_block_message_reload_last() {
468
  berocket_display_block_messages_remove();
469
  berocket_display_block_messages(berocket_block_messages_element_last, berocket_block_messages_elements);
berocket/assets/popup/br_popup.css CHANGED
@@ -20,9 +20,6 @@ body.hide_scroll {
20
  animation-fill-mode: none;
21
  animation-play-state: running;
22
  }
23
- #br_popup.animated {
24
- opacity: 0;
25
- }
26
  #br_popup .br_popup_wrapper {
27
  max-height: 100%;
28
  max-width: 100%;
@@ -51,9 +48,6 @@ body.hide_scroll {
51
  animation-fill-mode: none;
52
  animation-play-state: running;
53
  }
54
- #br_popup .br_popup_wrapper .popup_animation.animated {
55
- opacity: 0;
56
- }
57
  #br_popup .br_popup_close {
58
  position: absolute;
59
  top: 0;
20
  animation-fill-mode: none;
21
  animation-play-state: running;
22
  }
 
 
 
23
  #br_popup .br_popup_wrapper {
24
  max-height: 100%;
25
  max-width: 100%;
48
  animation-fill-mode: none;
49
  animation-play-state: running;
50
  }
 
 
 
51
  #br_popup .br_popup_close {
52
  position: absolute;
53
  top: 0;
berocket/framework.php CHANGED
@@ -35,7 +35,7 @@ if( ! class_exists( 'BeRocket_Framework' ) ) {
35
  include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
36
  load_plugin_textdomain('BeRocket_domain', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/');
37
  class BeRocket_Framework {
38
- public static $framework_version = '2.6';
39
  public static $settings_name = '';
40
  public $addons;
41
  public $libraries;
35
  include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
36
  load_plugin_textdomain('BeRocket_domain', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/');
37
  class BeRocket_Framework {
38
+ public static $framework_version = '2.6.0.3';
39
  public static $settings_name = '';
40
  public $addons;
41
  public $libraries;
berocket/framework_version.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- $framework_version_current = '2.6';
3
  if( version_compare($framework_version_current, $framework_version, '>') ) {
4
  $framework_version = $framework_version_current;
5
  $framework_dir = __DIR__;
1
  <?php
2
+ $framework_version_current = '2.6.0.3';
3
  if( version_compare($framework_version_current, $framework_version, '>') ) {
4
  $framework_version = $framework_version_current;
5
  $framework_dir = __DIR__;
berocket/includes/conditions.php CHANGED
@@ -669,10 +669,20 @@ if( ! class_exists('BeRocket_conditions') ) {
669
 
670
  public static function check_condition_product_stockquantity($show, $condition, $additional) {
671
  $product = $additional['product'];
672
- if( method_exists($product, 'get_stock_quantity') ) {
673
- $product_stock = $product->get_stock_quantity('edit');
 
 
 
 
 
 
674
  } else {
675
- $product_stock = $product->stock;
 
 
 
 
676
  }
677
  $backorder = true;
678
  if( ! empty($condition['backorder']) && $condition['backorder'] != 'any' ) {
669
 
670
  public static function check_condition_product_stockquantity($show, $condition, $additional) {
671
  $product = $additional['product'];
672
+ if( method_exists($product, 'get_type') && $product->get_type() == 'variable' ) {
673
+ $variations = $product->get_available_variations();
674
+ $product_stock = 0;
675
+ foreach($variations as $variation){
676
+ $variation_id = $variation['variation_id'];
677
+ $variation_obj = new WC_Product_variation($variation_id);
678
+ $product_stock += intval($variation_obj->get_stock_quantity('edit'));
679
+ }
680
  } else {
681
+ if( method_exists($product, 'get_stock_quantity') ) {
682
+ $product_stock = $product->get_stock_quantity('edit');
683
+ } else {
684
+ $product_stock = $product->stock;
685
+ }
686
  }
687
  $backorder = true;
688
  if( ! empty($condition['backorder']) && $condition['backorder'] != 'any' ) {
berocket/libraries/popup.php CHANGED
@@ -39,17 +39,18 @@ if( ! class_exists('BeRocket_popup_display') ) {
39
  plugins_url( '../assets/popup/br_popup.js', __FILE__ ),
40
  array( 'jquery' )
41
  );
42
- wp_register_style(
43
- 'berocket_framework_popup',
44
- plugins_url( '../assets/popup/br_popup.css', __FILE__ )
45
- );
46
  wp_register_style(
47
  'berocket_framework_popup-animate',
48
  plugins_url( '../assets/popup/animate.css', __FILE__ )
49
  );
 
 
 
 
 
50
  wp_enqueue_script( 'berocket_framework_popup' );
51
- wp_enqueue_style( 'berocket_framework_popup' );
52
  wp_enqueue_style( 'berocket_framework_popup-animate' );
 
53
  }
54
  }
55
  public function wp_footer2() {
39
  plugins_url( '../assets/popup/br_popup.js', __FILE__ ),
40
  array( 'jquery' )
41
  );
 
 
 
 
42
  wp_register_style(
43
  'berocket_framework_popup-animate',
44
  plugins_url( '../assets/popup/animate.css', __FILE__ )
45
  );
46
+ wp_register_style(
47
+ 'berocket_framework_popup',
48
+ plugins_url( '../assets/popup/br_popup.css', __FILE__ ),
49
+ array('berocket_framework_popup-animate')
50
+ );
51
  wp_enqueue_script( 'berocket_framework_popup' );
 
52
  wp_enqueue_style( 'berocket_framework_popup-animate' );
53
+ wp_enqueue_style( 'berocket_framework_popup' );
54
  }
55
  }
56
  public function wp_footer2() {
berocket/libraries/tippy.php CHANGED
@@ -5,9 +5,9 @@ if( ! class_exists('BeRocket_tooltip_display') ) {
5
  public static $load_tippy = false;
6
  function __construct() {
7
  add_action('wp_footer', array($this, 'wp_footer'), 9);
8
- add_action('wp_footer', array($this, 'wp_footer2'), 90000);
9
  add_action('admin_footer', array($this, 'wp_footer'), 9);
10
- add_action('admin_footer', array($this, 'wp_footer2'), 90000);
11
  }
12
  public static function include_assets() {
13
  self::$load_tippy = true;
5
  public static $load_tippy = false;
6
  function __construct() {
7
  add_action('wp_footer', array($this, 'wp_footer'), 9);
8
+ add_action('wp_footer', array($this, 'wp_footer2'), 900000000);
9
  add_action('admin_footer', array($this, 'wp_footer'), 9);
10
+ add_action('admin_footer', array($this, 'wp_footer2'), 900000000);
11
  }
12
  public static function include_assets() {
13
  self::$load_tippy = true;
images/attention.png CHANGED
Binary file
images/themes/sidebar-button/1.png CHANGED
Binary file
images/themes/sidebar-button/10.png CHANGED
Binary file
images/themes/sidebar-button/2.png CHANGED
Binary file
images/themes/sidebar-button/3.png CHANGED
Binary file
images/themes/sidebar-button/4.png CHANGED
Binary file
images/themes/sidebar-button/5.png CHANGED
Binary file
images/themes/sidebar-button/6.png CHANGED
Binary file
images/themes/sidebar-button/7.png CHANGED
Binary file
images/themes/sidebar-button/8.png CHANGED
Binary file
images/themes/sidebar-button/9.png CHANGED
Binary file
images/themes/sidebar-shadow/1.png CHANGED
Binary file
images/themes/sidebar-shadow/2.png CHANGED
Binary file
images/themes/sidebar-shadow/b1.png CHANGED
Binary file
images/themes/sidebar-shadow/b2.png CHANGED
Binary file
images/themes/sidebar-shadow/bdefault.png CHANGED
Binary file
images/themes/sidebar-shadow/default.png CHANGED
Binary file
images/without-preview.png ADDED
Binary file
includes/addons/seo_meta_title.php CHANGED
@@ -101,18 +101,26 @@ if( ! class_exists('BeRocket_AAPF_addon_woocommerce_seo_title') ) {
101
  public $page_title = '';
102
  public $ready_elements = array('title' => false, 'description' => false, 'header' => false);
103
  function __construct() {
 
 
 
 
 
104
  add_action('get_header', array($this, 'get_header'));
105
  add_filter('document_title_parts', array($this, 'document_title_parts'));
106
  add_filter('wpseo_title', array($this, 'wpseo_title'), 10, 1);
 
107
  $options = $this->get_options();
108
  if( ! empty($options['seo_element_header']) ) {
109
  add_filter('the_title', array($this, 'the_title'), 10, 2);
110
  add_filter('woocommerce_page_title', array($this, 'woocommerce_page_title'), 10, 2);
 
111
  }
112
  if( ! empty($options['seo_element_description']) ) {
113
  add_filter('wpseo_metadesc', array($this, 'meta_description'));
114
  add_filter('aioseop_description_full', array($this, 'meta_description'));
115
  add_action('wp_head', array($this, 'wp_head_description'), 9000);
 
116
  }
117
  if( ! function_exists($options['seo_meta_title_visual']) ) {
118
  $options['seo_meta_title_visual'] = 'BeRocket_AAPF_wcseo_title_visual1';
@@ -247,13 +255,15 @@ if( ! class_exists('BeRocket_AAPF_addon_woocommerce_seo_title') ) {
247
  remove_action('wp_head', array($this, 'wp_head_description'));
248
  $description = $this->get_filters_string($description, 'description');
249
  $this->ready_elements['description'] = true;
250
- return $description;
251
  }
252
  function wp_head_description() {
253
  if( ! $this->ready_elements['description'] ) {
254
  $description = $this->page_title;
255
- $description = $this->get_filters_string($description, 'description');
256
- echo '<meta name="description" content="'.$description.'">';
 
 
257
  }
258
  }
259
  function get_options() {
101
  public $page_title = '';
102
  public $ready_elements = array('title' => false, 'description' => false, 'header' => false);
103
  function __construct() {
104
+ if( ! is_admin() ) {
105
+ add_action('wp', array($this, 'plugins_loaded'), 99999999);
106
+ }
107
+ }
108
+ function plugins_loaded() {
109
  add_action('get_header', array($this, 'get_header'));
110
  add_filter('document_title_parts', array($this, 'document_title_parts'));
111
  add_filter('wpseo_title', array($this, 'wpseo_title'), 10, 1);
112
+ do_action('braapf_seo_meta_title', $this);
113
  $options = $this->get_options();
114
  if( ! empty($options['seo_element_header']) ) {
115
  add_filter('the_title', array($this, 'the_title'), 10, 2);
116
  add_filter('woocommerce_page_title', array($this, 'woocommerce_page_title'), 10, 2);
117
+ do_action('braapf_seo_meta_header', $this);
118
  }
119
  if( ! empty($options['seo_element_description']) ) {
120
  add_filter('wpseo_metadesc', array($this, 'meta_description'));
121
  add_filter('aioseop_description_full', array($this, 'meta_description'));
122
  add_action('wp_head', array($this, 'wp_head_description'), 9000);
123
+ do_action('braapf_seo_meta_description', $this);
124
  }
125
  if( ! function_exists($options['seo_meta_title_visual']) ) {
126
  $options['seo_meta_title_visual'] = 'BeRocket_AAPF_wcseo_title_visual1';
255
  remove_action('wp_head', array($this, 'wp_head_description'));
256
  $description = $this->get_filters_string($description, 'description');
257
  $this->ready_elements['description'] = true;
258
+ return trim($description);
259
  }
260
  function wp_head_description() {
261
  if( ! $this->ready_elements['description'] ) {
262
  $description = $this->page_title;
263
+ $description = trim($this->get_filters_string($description, 'description'));
264
+ if( ! empty($description) ) {
265
+ echo '<meta name="description" content="'.$description.'">';
266
+ }
267
  }
268
  }
269
  function get_options() {
includes/admin/admin_bar.php ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if( ! class_exists('BeRocket_aapf_admin_bar_debug') ) {
3
+ class BeRocket_aapf_admin_bar_debug{
4
+ function __construct() {
5
+ add_action( 'admin_bar_menu', array($this, 'debug_admin_bar_menu'), 1000 );
6
+ }
7
+ function debug_admin_bar_menu() {
8
+ global $wp_admin_bar, $wpdb;
9
+ if ( ! BeRocket_AAPF::$user_can_manage || !is_admin_bar_showing() ) return;
10
+
11
+ $filter_data = BeRocket_AAPF::$current_page_filters;
12
+ $added_id = $filter_data['added'];
13
+ unset($filter_data['added']);
14
+ if( count($filter_data) > 0 ) {
15
+ $html = '';
16
+ foreach($filter_data as $data_type => $filter_status) {
17
+ if( count($filter_status) > 0 ) {
18
+ $html2 = '';
19
+ foreach($filter_status as $data_status => $filters) {
20
+ if( count($filters) > 0 ) {
21
+ $html2 .= '<div><h3>'.esc_html(ucfirst(trim(str_replace('_', ' ', $data_status)))).'</h3><ul>';
22
+ foreach($filters as $filter_id => $filter_message) {
23
+ $filter_id = intval($filter_id);
24
+ $html2 .= '<li title="'.esc_html($filter_message).'"><a href="'.admin_url('post.php?post='.$filter_id.'&action=edit').'" target="_blank">'.esc_html($filter_id).'</a></li>';
25
+ }
26
+ $html2 .= '</ul></div>';
27
+ }
28
+ }
29
+ if( ! empty($html2) ) {
30
+ $html .= '<div><h2>'.esc_html(strtoupper(trim(str_replace('_', ' ', $data_type)))).'</h2>'.$html2.'</div>';
31
+ }
32
+ }
33
+ }
34
+ if( empty($html) ) {
35
+ $html = '<h2>'.__('Filters not detected on page', 'BeRocket_AJAX_domain').'</h2>';
36
+ }
37
+ $html .= '<style>#wp-admin-bar-bapf_debug_bar .ab-submenu .ab-item {height:initial!important;line-height:1em;}
38
+ #wp-admin-bar-bapf_debug_bar .ab-submenu .ab-item *{line-height:1em;color:#ccc;}
39
+ #wp-admin-bar-bapf_debug_bar .ab-submenu .ab-item h2{color:white;font-size: 1.5em;text-align:center;}
40
+ #wp-admin-bar-bapf_debug_bar .ab-submenu .ab-item h3{font-weight:bold;color:#0085ba;font-size: 1.25em;text-align:center;}
41
+ #wp-admin-bar-bapf_debug_bar .ab-submenu .ab-item ul li {display:inline-block!important;}
42
+ #wp-admin-bar-bapf_debug_bar .ab-submenu .ab-item ul li a {height:initial;margin:0;padding:2px;}
43
+ #wp-admin-bar-bapf_debug_bar .ab-submenu .ab-item .bapf_adminbar_status {text-align:center;}
44
+ #wp-admin-bar-bapf_debug_bar .ab-submenu .ab-item .bapf_adminbar_status .dashicons {font-family: dashicons;font-size: 34px;line-height: 26px;display: block;cursor:pointer;}
45
+ #wp-admin-bar-bapf_debug_bar .ab-submenu .ab-item .bapf_adminbar_status .dashicons-yes {color:green;}
46
+ #wp-admin-bar-bapf_debug_bar .ab-submenu .ab-item .bapf_adminbar_status .dashicons-no {color:red;}
47
+ #wp-admin-bar-bapf_debug_bar .ab-submenu .ab-item .bapf_adminbar_status_element {display:inline-block;text-align:center; padding:3px;}
48
+ </style>';
49
+ $html .= '<div class="bapf_adminbar_status">';
50
+ $html .= '</div>';
51
+ global $br_aapf_wc_footer_widget;
52
+ $html .= '<script>jQuery(document).ready(function() {
53
+ if( typeof(the_ajax_script) != "undefined" && jQuery(".bapf_sfilter").length ) {
54
+ var html = "<h2>STATUS</h2>";
55
+
56
+ html += "<div class=\'bapf_adminbar_status_element\'>Is WC page";
57
+ html += "<span class=\'dashicons dashicons-'.(is_shop() || is_product_taxonomy() ? 'yes\' title=\'Yes, it is default WooCommerce archive page' : 'no\' title=\'No, it is not WooCommerce archive page').'\'></span>";
58
+ html += "</div>";
59
+
60
+ html += "<div class=\'bapf_adminbar_status_element\'>Shortcode";
61
+ html += "<span class=\'dashicons dashicons-'.($br_aapf_wc_footer_widget ? 'yes\' title=\'Yes, WooCommerce products shortcode detected' : 'no\' title=\'No, page do not have any custom WooCommerce products').'\'></span>";
62
+ html += "</div>";
63
+
64
+ html += "<div class=\'bapf_adminbar_status_element\'>Products";
65
+ try {
66
+ var products_elements = jQuery(the_ajax_script.products_holder_id).length;
67
+ var error = false;
68
+ if( products_elements == 0 ) {
69
+ error = "Products element not detected. Please check that selectors setuped correct";
70
+ } else if( products_elements > 1 ) {
71
+ error = "Multiple Products element detected on page("+products_elements+"). It can cause issue on filtering";
72
+ }
73
+ if( error === false ) {
74
+ html += "<span class=\'dashicons dashicons-yes\' title=\'Products element detected on page\'></span>";
75
+ } else {
76
+ html += "<span class=\'dashicons dashicons-no\' title=\'"+error+"\'></span>";
77
+ }
78
+ } catch(e) {
79
+ html = +"<strong>ERROR</strong>";
80
+ console.log(e);
81
+ }
82
+ html += "</div>";
83
+ html += "<div class=\'bapf_adminbar_status_element\'>Pagination";
84
+ try {
85
+ var products_elements = jQuery(the_ajax_script.products_holder_id).length;
86
+ var pagination_elements = jQuery(the_ajax_script.pagination_class).length;
87
+ var error = false;
88
+ if( pagination_elements == 0 ) {
89
+ error = "Pagination element not detected. If page has pagination or infinite scroll/load more button, then Please check that selectors setuped correct";
90
+ } else if( pagination_elements > 1 ) {
91
+ error = "Multiple Pagination element detected on page("+pagination_elements+"). It can cause issue on filtering if pagination from different products list";
92
+ }
93
+ if( error === false ) {
94
+ html += "<span class=\'dashicons dashicons-yes\' title=\'Pagination element detected on page\'></span>";
95
+ } else {
96
+ html += "<span class=\'dashicons dashicons-no\' title=\'"+error+"\'></span>";
97
+ }
98
+ } catch(e) {
99
+ html = +"<strong>ERROR</strong>";
100
+ console.log(e);
101
+ }
102
+ html += "</div>";
103
+ jQuery(".bapf_adminbar_status").html(html);
104
+ }
105
+ });</script>';
106
+ $BeRocket_AAPF = BeRocket_AAPF::getInstance();
107
+ $title = '<img style="width:22px;height:22px;display:inline;" src="' . plugin_dir_url( BeRocket_AJAX_filters_file ) . 'berocket/includes/ico.png" alt="">' . $BeRocket_AAPF->info['norm_name'];
108
+ $wp_admin_bar->add_menu( array( 'id' => 'bapf_debug_bar', 'title' => $title, 'href' => FALSE ) );
109
+ $wp_admin_bar->add_menu( array( 'id' => 'bapf_debug_bar_content', 'parent' => 'bapf_debug_bar', 'title' => $html, 'href' => FALSE ) );
110
+ }
111
+ }
112
+ }
113
+ new BeRocket_aapf_admin_bar_debug();
114
+ }
includes/compatibility/beaver-builder.php ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if( ! class_exists('BeRocket_AAPF_compat_Beaver_builder') ) {
3
+ class BeRocket_AAPF_compat_Beaver_builder {
4
+ public $attributes;
5
+ function __construct() {
6
+ add_filter('fl_builder_register_module_settings_form', array($this, 'edit_form'), 10, 2);
7
+ add_action('fl_builder_before_render_module', array($this, 'content_by_id_attrs'), 10, 2);
8
+ }
9
+ function edit_form($form, $slug) {
10
+ if( $slug == 'woocommerce' && ! empty($form['general']['sections']['multiple_products']) ) {
11
+ $form['general']['sections']['multiple_products']['fields'] = berocket_insert_to_array(
12
+ $form['general']['sections']['multiple_products']['fields'],
13
+ 'category_slug',
14
+ array('bapf_apply' => array(
15
+ 'type' => 'select',
16
+ 'label' => __( 'Apply BeRocket AJAX Filters', 'BeRocket_AJAX_domain' ),
17
+ 'default' => 'default',
18
+ 'options' => array(
19
+ 'default' => __( 'Default', 'BeRocket_AJAX_domain' ),
20
+ 'enable' => __( 'Enable', 'BeRocket_AJAX_domain' ),
21
+ 'disable' => __( 'Disable', 'BeRocket_AJAX_domain' ),
22
+ ),
23
+ ))
24
+ );
25
+ }
26
+ return $form;
27
+ }
28
+ function content_by_id_attrs($module) {
29
+ if( $module->slug == 'woocommerce' && $module->settings->layout == 'products' ) {
30
+ $attributes = (array)$module->settings;
31
+ if( ! empty($attributes['bapf_apply']) && $attributes['bapf_apply'] == 'enable' ) {
32
+ echo '[brapf_next_shortcode_apply apply=1]';
33
+ } elseif( ! empty($attributes['bapf_apply']) && $attributes['bapf_apply'] == 'disable' ) {
34
+ echo '[brapf_next_shortcode_apply apply=0]';
35
+ }
36
+ }
37
+ }
38
+ }
39
+ new BeRocket_AAPF_compat_Beaver_builder();
40
+ }
includes/compatibility/product-table.php CHANGED
@@ -15,11 +15,11 @@ class BeRocket_AAPF_compat_product_table {
15
  }
16
  }
17
  public static function plugins_loaded() {
18
- if( class_exists('WC_Product_Table_Plugin')
19
- && function_exists('WC_Product_Table')
20
- && version_compare(WC_Product_Table_Plugin::VERSION, '2.1.3', '>') ) {
21
  add_filter('aapf_localize_widget_script', array( __CLASS__, 'aapf_localize_widget_script' ));
22
  add_action( 'wc_product_table_get_table', array( __CLASS__, 'wc_product_table_get_table' ), 10, 1 );
 
23
  self::not_ajax_functions();
24
  $wcpt_shortcode_defaults = get_option('wcpt_shortcode_defaults');
25
  $wcpt_shortcode_defaults['berocket_ajax'] = '1';
@@ -50,7 +50,14 @@ class BeRocket_AAPF_compat_product_table {
50
  }
51
  public static function aapf_localize_widget_script($localize) {
52
  $localize['products_holder_id'] .= ( empty($localize['products_holder_id']) ? '' : ', ' ) . '.berocket_product_table_compat';
53
- $localize['user_func']['after_update'] = 'if( typeof(jQuery(".berocket_product_table_compat .wc-product-table").productTable) == "function" && ! jQuery(".berocket_product_table_compat > .dataTables_wrapper").length ) {jQuery(".berocket_product_table_compat .wc-product-table").productTable();}' . $localize['user_func']['after_update'];
54
  return $localize;
55
  }
 
 
 
 
 
 
 
 
56
  }
15
  }
16
  }
17
  public static function plugins_loaded() {
18
+ if( class_exists('WC_Product_Table_Plugin')
19
+ && ( function_exists( 'Barn2\Plugin\WC_Product_Table\wc_product_table' ) || (function_exists( 'wc_product_table' ) && version_compare(WC_Product_Table_Plugin::VERSION, '2.1.3', '>')) ) ) {
 
20
  add_filter('aapf_localize_widget_script', array( __CLASS__, 'aapf_localize_widget_script' ));
21
  add_action( 'wc_product_table_get_table', array( __CLASS__, 'wc_product_table_get_table' ), 10, 1 );
22
+ add_action( 'wp_footer', array( __CLASS__, 'set_scripts' ), 9000 );
23
  self::not_ajax_functions();
24
  $wcpt_shortcode_defaults = get_option('wcpt_shortcode_defaults');
25
  $wcpt_shortcode_defaults['berocket_ajax'] = '1';
50
  }
51
  public static function aapf_localize_widget_script($localize) {
52
  $localize['products_holder_id'] .= ( empty($localize['products_holder_id']) ? '' : ', ' ) . '.berocket_product_table_compat';
 
53
  return $localize;
54
  }
55
+ public static function set_scripts() {
56
+ $html = '<script>function bapf_barn2_product_table_reinit() {
57
+ try {
58
+ if( typeof(jQuery(".berocket_product_table_compat .wc-product-table").productTable) == "function" && ! jQuery(".berocket_product_table_compat > .dataTables_wrapper").length ) {jQuery(".berocket_product_table_compat .wc-product-table").productTable();}
59
+ } catch(err){}
60
+ };jQuery(document).on("berocket_ajax_products_loaded", bapf_barn2_product_table_reinit);</script>';
61
+ echo $html;
62
+ }
63
  }
includes/compatibility/rank_math_seo.php ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if( ! class_exists('BeRocket_AAPF_compat_rank_math_seo') ) {
3
+ class BeRocket_AAPF_compat_rank_math_seo {
4
+ private static $seo_meta;
5
+ function __construct() {
6
+ add_action('braapf_seo_meta_description', array($this, 'description'), 10, 1);
7
+ add_action('braapf_seo_meta_title', array($this, 'title'), 10, 1);
8
+ add_filter('rank_math/frontend/canonical', array($this, 'add_canonical'));
9
+ }
10
+ function description($instance) {
11
+ self::$seo_meta = $instance;
12
+ add_filter('rank_math/frontend/description', array($this, 'add_description'));
13
+ }
14
+ function add_description($text) {
15
+ $add_text = trim(self::$seo_meta->meta_description(''));
16
+ if( ! empty($add_text) ) {
17
+ $text = $text.' '.$add_text;
18
+ }
19
+ return $text;
20
+ }
21
+ function title($instance) {
22
+ self::$seo_meta = $instance;
23
+ add_filter('rank_math/frontend/title', array($this, 'add_title'));
24
+ }
25
+ function add_title($title) {
26
+ $title = self::$seo_meta->wpseo_title($title);
27
+ return $title;
28
+ }
29
+ function add_canonical($canonical) {
30
+ if( class_exists('BeRocket_AAPF_paid') ) {
31
+ remove_filter('berocket_wp_head_canonical', array($this, 'prevent_default_canonical'));
32
+ $BeRocket_AAPF_paid = BeRocket_AAPF_paid::getInstance();
33
+ if( $BeRocket_AAPF_paid->is_canonical_applied() ) {
34
+ $canonical = $BeRocket_AAPF_paid->get_current_canonical_url();
35
+ }
36
+ add_filter('berocket_wp_head_canonical', array($this, 'prevent_default_canonical'));
37
+ }
38
+ return $canonical;
39
+ }
40
+ function prevent_default_canonical() {
41
+ return false;
42
+ }
43
+ }
44
+ new BeRocket_AAPF_compat_rank_math_seo();
45
+ }
includes/custom_post.php CHANGED
@@ -226,6 +226,7 @@ class BeRocket_AAPF_single_filter extends BeRocket_custom_post_class {
226
  $html .= '<input type="hidden" name="type" value="single">';
227
  $instance = $this->get_option(0);
228
  $post_name = $this->post_name;
 
229
  ob_start();
230
  include AAPF_TEMPLATE_PATH . "filter_post_simple.php";
231
  $html .= ob_get_clean();
@@ -252,8 +253,29 @@ class BeRocket_AAPF_single_filter extends BeRocket_custom_post_class {
252
  return array($berocket_admin_filter_types, $berocket_admin_filter_types_by_attr);
253
  }
254
  public function save_simple_filter_creation($data) {
255
- $title = $_POST['title'];
256
- $post_data = berocket_sanitize_array($_POST[$this->post_name]);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
257
  $post_id = $this->create_new_post(array('post_title' => $title), $post_data);
258
  return array('value' => $post_id, 'name' => $title.' (ID:'.$post_id.')', 'name2' => $title, 'edit' => get_edit_post_link($post_id));
259
  }
@@ -362,7 +384,7 @@ class BeRocket_AAPF_single_filter extends BeRocket_custom_post_class {
362
  $options = $this->get_option( $post->ID );
363
  echo $this->conditions->build($options['data']);
364
  ?>
365
- <div>
366
  <table>
367
  <tr>
368
  <th><?php _e('Hide this filter on:', 'BeRocket_AJAX_domain'); ?></th>
@@ -453,31 +475,39 @@ class BeRocket_AAPF_single_filter extends BeRocket_custom_post_class {
453
  $i++;
454
  }
455
  } elseif( $filter['widget_type'] == 'filter' ) {
456
- if( $filter['filter_type'] == 'attribute' ) {
457
- if( $filter['attribute'] == 'price' ) {
458
- $taxonomy_details_label = __('Price', 'BeRocket_AJAX_domain');
459
- } else {
460
- $taxonomy_details = get_taxonomy( $filter['attribute'] );
461
- $taxonomy_details_label = $taxonomy_details->label;
462
- }
463
- echo __('Attribute: ', 'BeRocket_AJAX_domain') . '<strong>' . $taxonomy_details_label . '</strong>';
464
- } elseif( $filter['filter_type'] == '_stock_status' ) {
465
- echo __('Stock status', 'BeRocket_AJAX_domain');
466
- } elseif( $filter['filter_type'] == 'product_cat' ) {
467
- echo __('Product sub-categories', 'BeRocket_AJAX_domain');
468
- } elseif( $filter['filter_type'] == 'tag' ) {
469
- echo __('Tag', 'BeRocket_AJAX_domain');
470
- } elseif( $filter['filter_type'] == 'custom_taxonomy' ) {
471
- $taxonomy_details = get_taxonomy( $filter['custom_taxonomy'] );
 
 
 
 
 
 
 
 
 
 
 
472
  if( ! empty($taxonomy_details) ) {
473
- echo __('Custom Taxonomy: ', 'BeRocket_AJAX_domain') . '<strong>' . $taxonomy_details->label . '</strong>';
 
 
 
474
  }
475
- } elseif( $filter['filter_type'] == 'date' ) {
476
- echo __('Date', 'BeRocket_AJAX_domain');
477
- } elseif( $filter['filter_type'] == '_sale' ) {
478
- echo __('Sale', 'BeRocket_AJAX_domain');
479
- } elseif( $filter['filter_type'] == '_rating' ) {
480
- echo __('Rating', 'BeRocket_AJAX_domain');
481
  }
482
  }
483
  break;
@@ -688,7 +718,7 @@ class BeRocket_AAPF_group_filters extends BeRocket_custom_post_class {
688
  $options = $this->get_option( $post->ID );
689
  echo $this->conditions->build($options['data']);
690
  ?>
691
- <div>
692
  <table>
693
  <tr>
694
  <th><?php _e('Hide this group on:', 'BeRocket_AJAX_domain'); ?></th>
226
  $html .= '<input type="hidden" name="type" value="single">';
227
  $instance = $this->get_option(0);
228
  $post_name = $this->post_name;
229
+ include_once(AAPF_TEMPLATE_PATH . 'single_filter/single_settings_elements.php');
230
  ob_start();
231
  include AAPF_TEMPLATE_PATH . "filter_post_simple.php";
232
  $html .= ob_get_clean();
253
  return array($berocket_admin_filter_types, $berocket_admin_filter_types_by_attr);
254
  }
255
  public function save_simple_filter_creation($data) {
256
+ $post_data = $_POST[$this->post_name];
257
+ $title = $post_data['filter_title'] = $_POST['title'];
258
+ $post_data = berocket_sanitize_array($post_data);
259
+ $post_data['widget_type'] = 'filter';
260
+ $convert_to_styles = array(
261
+ 'checkbox' => array(
262
+ 'style' => 'checkbox'
263
+ ),
264
+ 'radio' => array(
265
+ 'style' => 'checkbox',
266
+ 'single_selection' => '1'
267
+ ),
268
+ 'select' => array(
269
+ 'style' => 'select',
270
+ 'single_selection' => '1'
271
+ ),
272
+ 'slider' => array(
273
+ 'style' => 'slider'
274
+ ),
275
+ );
276
+ if( ! empty($post_data['type']) && ! empty($convert_to_styles[$post_data['type']]) ) {
277
+ $post_data = array_merge($post_data, $convert_to_styles[$post_data['type']]);
278
+ }
279
  $post_id = $this->create_new_post(array('post_title' => $title), $post_data);
280
  return array('value' => $post_id, 'name' => $title.' (ID:'.$post_id.')', 'name2' => $title, 'edit' => get_edit_post_link($post_id));
281
  }
384
  $options = $this->get_option( $post->ID );
385
  echo $this->conditions->build($options['data']);
386
  ?>
387
+ <div class="section_conditions_hide_this_on">
388
  <table>
389
  <tr>
390
  <th><?php _e('Hide this filter on:', 'BeRocket_AJAX_domain'); ?></th>
475
  $i++;
476
  }
477
  } elseif( $filter['widget_type'] == 'filter' ) {
478
+ $specific_filter_type = array(
479
+ 'price' => array( 'name' => __('Price', 'BeRocket_AJAX_domain')),
480
+ '_stock_status' => array( 'name' => __('Stock status', 'BeRocket_AJAX_domain')),
481
+ 'all_product_cat' => array( 'name' => __('Product Category', 'BeRocket_AJAX_domain')),
482
+ 'tag' => array( 'name' => __('Tag', 'BeRocket_AJAX_domain')),
483
+ 'date' => array( 'name' => __('Date', 'BeRocket_AJAX_domain')),
484
+ '_sale' => array( 'name' => __('Sale', 'BeRocket_AJAX_domain')),
485
+ '_rating' => array( 'name' => __('Rating', 'BeRocket_AJAX_domain')),
486
+ 'product_cat' => array( 'name' => __('Product sub-categories', 'BeRocket_AJAX_domain')),
487
+ );
488
+ $taxonomies_display_data = array(
489
+ 'attribute' => array(
490
+ 'name' => __('Attribute: ', 'BeRocket_AJAX_domain'),
491
+ 'value' => 'attribute',
492
+ 'error' => __('Attribute not exists. This filter can work incorrect', 'BeRocket_AJAX_domain')
493
+ ),
494
+ 'custom_taxonomy' => array(
495
+ 'name' => __('Custom Taxonomy: ', 'BeRocket_AJAX_domain'),
496
+ 'value' => 'custom_taxonomy',
497
+ 'error' => __('Custom taxonomy not exists. This filter can work incorrect', 'BeRocket_AJAX_domain')
498
+ ),
499
+ );
500
+ if( isset($specific_filter_type[$filter['filter_type']]) ) {
501
+ echo '<strong>' . $specific_filter_type[$filter['filter_type']]['name'] . '</strong>';
502
+ } elseif( in_array($filter['filter_type'], array('attribute', 'custom_taxonomy')) ) {
503
+ $data_get = $taxonomies_display_data[$filter['filter_type']];
504
+ $taxonomy_details = get_taxonomy( $filter[$data_get['value']] );
505
  if( ! empty($taxonomy_details) ) {
506
+ $taxonomy_details_label = $taxonomy_details->label;
507
+ echo $data_get['name'] . '<strong>' . $taxonomy_details_label . '</strong>';
508
+ } else {
509
+ echo '<strong style="color:red;">' . $data_get['error'] . '</strong>';
510
  }
 
 
 
 
 
 
511
  }
512
  }
513
  break;
718
  $options = $this->get_option( $post->ID );
719
  echo $this->conditions->build($options['data']);
720
  ?>
721
+ <div class="section_conditions_hide_this_on">
722
  <table>
723
  <tr>
724
  <th><?php _e('Hide this group on:', 'BeRocket_AJAX_domain'); ?></th>
includes/divi-builder.php CHANGED
@@ -36,7 +36,10 @@ function berocket_filter_et_builder_ready() {
36
  function render( $atts, $content = null, $function_name ) {
37
  $html = '';
38
  if( ! empty($atts['filter_id']) ) {
39
- $html = do_shortcode('[br_filter_single filter_id='.$atts['filter_id'].']');
 
 
 
40
  }
41
 
42
  return $html;
@@ -90,7 +93,10 @@ function berocket_filter_et_builder_ready() {
90
  function render( $atts, $content = null, $function_name ) {
91
  $html = '';
92
  if( ! empty($atts['group_id']) ) {
93
- $html = do_shortcode('[br_filters_group group_id='.$atts['group_id'].']');
 
 
 
94
  }
95
 
96
  return $html;
36
  function render( $atts, $content = null, $function_name ) {
37
  $html = '';
38
  if( ! empty($atts['filter_id']) ) {
39
+ $html .= trim(do_shortcode('[br_filter_single filter_id='.$atts['filter_id'].']'));
40
+ }
41
+ if(empty($html) && defined('DOING_AJAX') && berocket_isset($_REQUEST['action']) == 'et_fb_ajax_render_shortcode') {
42
+ $html .= '<h3 style="background-color:gray;color:white;">'.__('BeRocket Filter', 'BeRocket_AJAX_domain').'</h3>';
43
  }
44
 
45
  return $html;
93
  function render( $atts, $content = null, $function_name ) {
94
  $html = '';
95
  if( ! empty($atts['group_id']) ) {
96
+ $html .= trim(do_shortcode('[br_filters_group group_id='.$atts['group_id'].']'));
97
+ }
98
+ if(empty($html) && defined('DOING_AJAX') && berocket_isset($_REQUEST['action']) == 'et_fb_ajax_render_shortcode') {
99
+ $html .= '<h3 style="background-color:gray;color:white;">'.__('BeRocket Filter', 'BeRocket_AJAX_domain').'</h3>';
100
  }
101
 
102
  return $html;
includes/faster_recount.php CHANGED
@@ -54,11 +54,19 @@ class BeRocket_AAPF_faster_attribute_recount {
54
  }
55
  return array();
56
  }
57
- if( $tax_query === FALSE ) {
58
- $tax_query = WC_Query::get_main_tax_query();
59
- }
60
- if( $meta_query === FALSE ) {
61
- $meta_query = WC_Query::get_main_meta_query();
 
 
 
 
 
 
 
 
62
  }
63
  if( strtoupper($operator) == 'OR' || ! $use_filters ) {
64
  $tax_query = apply_filters(
@@ -124,6 +132,9 @@ class BeRocket_AAPF_faster_attribute_recount {
124
  ),
125
  'group_by' => 'GROUP BY term_relationships.term_taxonomy_id',
126
  );
 
 
 
127
  $query = apply_filters('berocket_aapf_recount_terms_query', $query, $taxonomy_data, $terms);
128
  $query['select']['elements']= implode(', ', $query['select']['elements']);
129
  $query['select'] = implode(' ', $query['select']);
@@ -187,9 +198,12 @@ class BeRocket_AAPF_faster_attribute_recount {
187
  static function search_query($query, $taxonomy_data, $terms) {
188
  extract($taxonomy_data);
189
  if( ! empty($use_filters) ) {
190
- $search = WC_Query::get_main_search_query_sql();
191
- if ( $search ) {
192
- $query['where']['search'] = 'AND ' . $search;
 
 
 
193
  }
194
  }
195
  return $query;
54
  }
55
  return array();
56
  }
57
+ $wc_main_query = WC_Query::get_main_query();
58
+ $author = false;
59
+ if( ! empty($wc_main_query) ) {
60
+ if( $tax_query === FALSE ) {
61
+ $tax_query = WC_Query::get_main_tax_query();
62
+ }
63
+ if( $meta_query === FALSE ) {
64
+ $meta_query = WC_Query::get_main_meta_query();
65
+ }
66
+ $author = $wc_main_query->get('author');
67
+ if( empty($author) ) {
68
+ $author = false;
69
+ }
70
  }
71
  if( strtoupper($operator) == 'OR' || ! $use_filters ) {
72
  $tax_query = apply_filters(
132
  ),
133
  'group_by' => 'GROUP BY term_relationships.term_taxonomy_id',
134
  );
135
+ if( $author != false ) {
136
+ $query['where']['author'] = "AND {$wpdb->posts}.post_author IN ({$author})";
137
+ }
138
  $query = apply_filters('berocket_aapf_recount_terms_query', $query, $taxonomy_data, $terms);
139
  $query['select']['elements']= implode(', ', $query['select']['elements']);
140
  $query['select'] = implode(' ', $query['select']);
198
  static function search_query($query, $taxonomy_data, $terms) {
199
  extract($taxonomy_data);
200
  if( ! empty($use_filters) ) {
201
+ $wc_main_query = WC_Query::get_main_query();
202
+ if( ! empty($wc_main_query) ) {
203
+ $search = WC_Query::get_main_search_query_sql();
204
+ if ( $search ) {
205
+ $query['where']['search'] = 'AND ' . $search;
206
+ }
207
  }
208
  }
209
  return $query;
includes/filters/display_widget.php CHANGED
@@ -241,6 +241,8 @@ class BeRocket_AAPF_Widget {
241
  $instance[$option_set] = self::$defaults[$option_set];
242
  }
243
  }
 
 
244
  if( ! empty($instance['style']) ) {
245
  $style = $instance['style'];
246
  $all_styles = get_option('BeRocket_AAPF_getall_Template_Styles');
@@ -256,11 +258,9 @@ class BeRocket_AAPF_Widget {
256
  $template = $style_get['template'];
257
  $instance['new_style'] = $set_query_var_title['new_style'] = $style_get;
258
  }
259
- $instance['new_template'] = $set_query_var_title['new_template'] = $template;
260
  }
261
  }
262
- $instance = apply_filters('brapf_filter_instance', $instance, $args, $set_query_var_title);
263
- $args = apply_filters('brapf_filter_args', $args, $instance, $set_query_var_title);
264
 
265
  if( BeRocket_AAPF::$debug_mode ) {
266
  $widget_error_log['wp_query'] = $wp_query;
@@ -287,6 +287,11 @@ class BeRocket_AAPF_Widget {
287
  wc()->query->product_query($wp_query);
288
  }
289
  }
 
 
 
 
 
290
 
291
  if ( empty($instance['br_wp_footer']) ) {
292
  global $br_widget_ids;
@@ -342,8 +347,12 @@ class BeRocket_AAPF_Widget {
342
  $order_values_by = 'Default';
343
  }
344
 
345
- if ( ! empty($filter_type) && ( $filter_type == 'product_cat' || $filter_type == '_stock_status' || $filter_type == '_sale' || $filter_type == '_rating' ) ) {
346
- $attribute = $filter_type;
 
 
 
 
347
  $filter_type = 'attribute';
348
  }
349
  if( apply_filters( 'berocket_aapf_widget_display_custom_filter', false, berocket_isset($widget_type), $instance, $args, $this ) ) {
@@ -512,7 +521,7 @@ class BeRocket_AAPF_Widget {
512
  $attribute_count_show_hide = ( empty($br_options['hide_value']['button']) ? 'visible' : 'hidden' );
513
  }
514
 
515
- if( $type == 'select' || $type == 'slider' ) {
516
  $values_per_row = 1;
517
  }
518
 
241
  $instance[$option_set] = self::$defaults[$option_set];
242
  }
243
  }
244
+ $instance = apply_filters('brapf_filter_instance', $instance, $args, $set_query_var_title);
245
+ $args = apply_filters('brapf_filter_args', $args, $instance, $set_query_var_title);
246
  if( ! empty($instance['style']) ) {
247
  $style = $instance['style'];
248
  $all_styles = get_option('BeRocket_AAPF_getall_Template_Styles');
258
  $template = $style_get['template'];
259
  $instance['new_style'] = $set_query_var_title['new_style'] = $style_get;
260
  }
261
+ $instance['type'] = $instance['new_template'] = $set_query_var_title['new_template'] = $template;
262
  }
263
  }
 
 
264
 
265
  if( BeRocket_AAPF::$debug_mode ) {
266
  $widget_error_log['wp_query'] = $wp_query;
287
  wc()->query->product_query($wp_query);
288
  }
289
  }
290
+ if( empty($set_query_var_title['new_template']) ) {
291
+ $widget_error_log['return'] = 'Template not selected';
292
+ $this->filter_return($br_wc_query, $wp_the_query, $wp_query, $wc_query, $old_the_query, $old_query, $widget_error_log);
293
+ return '';
294
+ }
295
 
296
  if ( empty($instance['br_wp_footer']) ) {
297
  global $br_widget_ids;
347
  $order_values_by = 'Default';
348
  }
349
 
350
+ if ( ! empty($filter_type) && ( in_array($filter_type, array('product_cat', '_stock_status', '_sale', '_rating', 'tag')) ) ) {
351
+ if( $filter_type == 'tag' ) {
352
+ $attribute = 'product_tag';
353
+ } else {
354
+ $attribute = $filter_type;
355
+ }
356
  $filter_type = 'attribute';
357
  }
358
  if( apply_filters( 'berocket_aapf_widget_display_custom_filter', false, berocket_isset($widget_type), $instance, $args, $this ) ) {
521
  $attribute_count_show_hide = ( empty($br_options['hide_value']['button']) ? 'visible' : 'hidden' );
522
  }
523
 
524
+ if( in_array($set_query_var_title['new_template'], array('select', 'slider', 'new_slider')) ) {
525
  $values_per_row = 1;
526
  }
527
 
includes/filters/dynamic_data_template.php CHANGED
@@ -52,7 +52,7 @@ class BeRocket_AAPF_dynamic_data_template {
52
  $child_parent = berocket_isset($child_parent);
53
  $is_child_parent = $child_parent == 'child';
54
  $is_child_parent_or = ( $child_parent == 'child' || $child_parent == 'parent' );
55
- $child_parent_depth = ( $child_parent == 'parent' ? 0 : berocket_isset($child_parent_depth, false, 0) );
56
  if( br_is_term_selected( $term, true, $is_child_parent_or, $child_parent_depth ) != '' ) {
57
  $element = self::create_element_arrays($element, array('attributes', 'class'));
58
  $element['attributes']['class'][] = 'checked';
@@ -187,10 +187,14 @@ class BeRocket_AAPF_dynamic_data_template {
187
  if( $berocket_query_var_title['new_template'] == 'checkbox' ) {
188
  $elements = $template_content['template']['content']['filter']['content']['list']['content'];
189
  $new_elements = array();
 
190
  foreach($terms as $i => $term) {
191
  if( ! isset($term->depth) || $term->depth == 0) {
 
192
  $new_elements['element_'.$i] = $elements['element_'.$i];
193
  } else {
 
 
194
  if( isset($temp) ) unset($temp);
195
  if( isset($last_el) ) unset($last_el);
196
  end( $new_elements ); $last_key = key( $new_elements );
@@ -240,11 +244,13 @@ class BeRocket_AAPF_dynamic_data_template {
240
  }
241
  function element_hide_show_filter($template_content, $berocket_query_var_title) {
242
  if( ! empty($berocket_query_var_title['widget_collapse']) && ! empty($template_content['template']['content']['header']) ) {
 
 
243
  $widget_collapse = $berocket_query_var_title['widget_collapse'];
244
- $template_content['template']['attributes']['class'][] = (empty($berocket_query_var_title['widget_is_hide']) ? 'bapf_ccolaps' : 'bapf_ocolaps');
245
  $template_content['template']['content']['header']['attributes'] = self::create_element_arrays($template_content['template']['content']['header']['attributes'], array('class'));
246
  $template_content['template']['content']['header']['attributes']['class'][] = 'bapf_colaps_togl';
247
- if( ! empty($berocket_query_var_title['widget_is_hide']) ) {
248
  $template_content['template']['content']['filter'] = self::create_element_arrays($template_content['template']['content']['filter'], array('attributes', 'style'));
249
  if( ! in_array('display:none;', $template_content['template']['content']['filter']['attributes']['style']) ) {
250
  $template_content['template']['content']['filter']['attributes']['style'][] = 'display:none;';
@@ -260,7 +266,7 @@ class BeRocket_AAPF_dynamic_data_template {
260
  'class' => array(
261
  'bapf_colaps_smb',
262
  'fa',
263
- (empty($berocket_query_var_title['widget_is_hide']) ? 'fa-chevron-up' : 'fa-chevron-down')
264
  )
265
  ),
266
  'content' => array(),
@@ -494,10 +500,10 @@ class BeRocket_AAPF_dynamic_data_template {
494
  if( berocket_isset($limit[0]) == $term->taxonomy ) {
495
  $terms_numeric = array_values($terms);
496
  foreach($terms_numeric as $position => $term) {
497
- if( berocket_isset($limit[1]) == $term->value ) {
498
  $template_content['template']['content']['filter']['content']['slider_all']['content']['slider']['attributes']['data-start'] = $position;
499
  }
500
- if( berocket_isset($limit[2]) == $term->value ) {
501
  $template_content['template']['content']['filter']['content']['slider_all']['content']['slider']['attributes']['data-end'] = $position;
502
  }
503
  }
@@ -603,7 +609,7 @@ class BeRocket_AAPF_dynamic_data_template {
603
  ),
604
  'content' => array()
605
  );
606
- if( substr( $icon, 0, 3) ) {
607
  $icon_element['attributes']['class']['icon'] = $icon;
608
  } else {
609
  $icon_element['content']['icon'] = array(
@@ -647,7 +653,7 @@ class BeRocket_AAPF_dynamic_data_template {
647
  ),
648
  'content' => array()
649
  );
650
- if( substr( $icon, 0, 3) ) {
651
  $icon_element['attributes']['class']['icon'] = $icon;
652
  } else {
653
  $icon_element['content']['icon'] = array(
52
  $child_parent = berocket_isset($child_parent);
53
  $is_child_parent = $child_parent == 'child';
54
  $is_child_parent_or = ( $child_parent == 'child' || $child_parent == 'parent' );
55
+ $child_parent_depth = ( $child_parent == 'parent' ? 0 : intval(berocket_isset($child_parent_depth, false, 0)) );
56
  if( br_is_term_selected( $term, true, $is_child_parent_or, $child_parent_depth ) != '' ) {
57
  $element = self::create_element_arrays($element, array('attributes', 'class'));
58
  $element['attributes']['class'][] = 'checked';
187
  if( $berocket_query_var_title['new_template'] == 'checkbox' ) {
188
  $elements = $template_content['template']['content']['filter']['content']['list']['content'];
189
  $new_elements = array();
190
+ $parent_ids = array();
191
  foreach($terms as $i => $term) {
192
  if( ! isset($term->depth) || $term->depth == 0) {
193
+ $parent_ids[] = $term->term_id;
194
  $new_elements['element_'.$i] = $elements['element_'.$i];
195
  } else {
196
+ if( ! in_array($term->parent, $parent_ids) ) continue;
197
+ $parent_ids[] = $term->term_id;
198
  if( isset($temp) ) unset($temp);
199
  if( isset($last_el) ) unset($last_el);
200
  end( $new_elements ); $last_key = key( $new_elements );
244
  }
245
  function element_hide_show_filter($template_content, $berocket_query_var_title) {
246
  if( ! empty($berocket_query_var_title['widget_collapse']) && ! empty($template_content['template']['content']['header']) ) {
247
+ $widget_is_hide = ! empty($berocket_query_var_title['widget_is_hide']);
248
+ $widget_is_hide = br_widget_is_hide($berocket_query_var_title['attribute'], $widget_is_hide);
249
  $widget_collapse = $berocket_query_var_title['widget_collapse'];
250
+ $template_content['template']['attributes']['class'][] = ($widget_is_hide ? 'bapf_ocolaps' : 'bapf_ccolaps');
251
  $template_content['template']['content']['header']['attributes'] = self::create_element_arrays($template_content['template']['content']['header']['attributes'], array('class'));
252
  $template_content['template']['content']['header']['attributes']['class'][] = 'bapf_colaps_togl';
253
+ if( $widget_is_hide ) {
254
  $template_content['template']['content']['filter'] = self::create_element_arrays($template_content['template']['content']['filter'], array('attributes', 'style'));
255
  if( ! in_array('display:none;', $template_content['template']['content']['filter']['attributes']['style']) ) {
256
  $template_content['template']['content']['filter']['attributes']['style'][] = 'display:none;';
266
  'class' => array(
267
  'bapf_colaps_smb',
268
  'fa',
269
+ ($widget_is_hide ? 'fa-chevron-down' : 'fa-chevron-up')
270
  )
271
  ),
272
  'content' => array(),
500
  if( berocket_isset($limit[0]) == $term->taxonomy ) {
501
  $terms_numeric = array_values($terms);
502
  foreach($terms_numeric as $position => $term) {
503
+ if( berocket_isset($limit[1]) == urldecode($term->value) ) {
504
  $template_content['template']['content']['filter']['content']['slider_all']['content']['slider']['attributes']['data-start'] = $position;
505
  }
506
+ if( berocket_isset($limit[2]) == urldecode($term->value) ) {
507
  $template_content['template']['content']['filter']['content']['slider_all']['content']['slider']['attributes']['data-end'] = $position;
508
  }
509
  }
609
  ),
610
  'content' => array()
611
  );
612
+ if( substr( $icon, 0, 3) == 'fa-' ) {
613
  $icon_element['attributes']['class']['icon'] = $icon;
614
  } else {
615
  $icon_element['content']['icon'] = array(
653
  ),
654
  'content' => array()
655
  );
656
+ if( substr( $icon, 0, 3) == 'fa-' ) {
657
  $icon_element['attributes']['class']['icon'] = $icon;
658
  } else {
659
  $icon_element['content']['icon'] = array(
includes/filters/get_terms.php CHANGED
@@ -53,9 +53,15 @@ class BeRocket_AAPF_get_terms {
53
  if( empty($args['taxonomy']) || is_array($args['taxonomy']) ) {
54
  return get_terms($args);
55
  }
 
 
 
56
  $terms = self::filter_terms_for_current_pages($args, $additional);
 
 
 
57
  if( empty($terms) || is_wp_error($terms) || empty($args['taxonomy']) || is_array($args['taxonomy']) ) {
58
- return $terms;
59
  }
60
  $terms = apply_filters("berocket_aapf_get_terms_filter_after", $terms, $args, $additional);
61
 
@@ -65,7 +71,9 @@ class BeRocket_AAPF_get_terms {
65
  $md5_cache = md5(json_encode($additional).json_encode($args));
66
  $terms = self::get_cache('term_before_recount', $md5_cache, $args['taxonomy']);
67
  if( empty($terms) ) {
 
68
  $terms = get_terms($args);
 
69
  if( ! empty($terms) && ! is_wp_error($terms) ) {
70
  $terms = apply_filters("berocket_aapf_get_terms_filter", $terms, $args, $additional);
71
  }
53
  if( empty($args['taxonomy']) || is_array($args['taxonomy']) ) {
54
  return get_terms($args);
55
  }
56
+ if( ! empty($args['taxonomy']) && is_array($args['taxonomy']) && count($args['taxonomy']) == 1 ) {
57
+ $args['taxonomy'] = array_pop($args['taxonomy']);
58
+ }
59
  $terms = self::filter_terms_for_current_pages($args, $additional);
60
+ if( ! empty($args['taxonomy']) && is_array($args['taxonomy']) && count($args['taxonomy']) == 1 ) {
61
+ $args['taxonomy'] = array_pop($args['taxonomy']);
62
+ }
63
  if( empty($terms) || is_wp_error($terms) || empty($args['taxonomy']) || is_array($args['taxonomy']) ) {
64
+ return apply_filters("berocket_aapf_get_terms_filter_after_not_correct", $terms, $args, $additional);
65
  }
66
  $terms = apply_filters("berocket_aapf_get_terms_filter_after", $terms, $args, $additional);
67
 
71
  $md5_cache = md5(json_encode($additional).json_encode($args));
72
  $terms = self::get_cache('term_before_recount', $md5_cache, $args['taxonomy']);
73
  if( empty($terms) ) {
74
+ $taxonomy = $args['taxonomy'];
75
  $terms = get_terms($args);
76
+ $args['taxonomy'] = $taxonomy;
77
  if( ! empty($terms) && ! is_wp_error($terms) ) {
78
  $terms = apply_filters("berocket_aapf_get_terms_filter", $terms, $args, $additional);
79
  }
includes/filters/get_terms_additional.php CHANGED
@@ -4,11 +4,14 @@ class BeRocket_AAPF_get_terms_additionals {
4
  function __construct() {
5
  $this->BeRocket_AAPF = BeRocket_AAPF::getInstance();
6
  add_filter('berocket_aapf_get_terms_filter_after', array($this, 'add_value'));
 
7
  }
8
  function add_value($terms) {
9
- $options = $this->BeRocket_AAPF->get_option();
10
- foreach($terms as &$term) {
11
- $term->value = ( empty($options['slug_urls']) ? $term->term_id : $term->slug );
 
 
12
  }
13
  return $terms;
14
  }
4
  function __construct() {
5
  $this->BeRocket_AAPF = BeRocket_AAPF::getInstance();
6
  add_filter('berocket_aapf_get_terms_filter_after', array($this, 'add_value'));
7
+ add_filter('berocket_aapf_get_terms_filter_after_not_correct', array($this, 'add_value'));
8
  }
9
  function add_value($terms) {
10
+ if( ! empty($terms) && is_array($terms) ) {
11
+ $options = $this->BeRocket_AAPF->get_option();
12
+ foreach($terms as &$term) {
13
+ $term->value = ( empty($options['slug_urls']) ? $term->term_id : $term->slug );
14
+ }
15
  }
16
  return $terms;
17
  }
includes/functions.php CHANGED
@@ -538,23 +538,26 @@ if( ! function_exists( 'br_aapf_args_converter' ) ) {
538
  function br_aapf_args_converter($query) {
539
  $br_options = BeRocket_AAPF::get_aapf_option();
540
  do_action('br_aapf_args_converter_before', $query);
541
- if( empty($br_options['seo_uri_decode']) ) {
542
- $_GET['filters'] = urlencode($_GET['filters']);
543
- $_GET['filters'] = str_replace('+', urlencode('+'), $_GET['filters']);
544
- $_GET['filters'] = urldecode($_GET['filters']);
 
 
545
  }
 
546
  $_POST['terms'] = array();
547
  $_POST['add_terms'] = array();
548
  $_POST['limits'] = array();
549
  $_POST['price'] = array();
550
  $_POST['price_ranges'] = array();
551
  $filters = array();
552
- if( empty($_GET['filters' ]) ) {
553
  $filters = array();
554
- } elseif ( preg_match( "~\|~", $_GET['filters'] ) ) {
555
- $filters = explode( "|", $_GET['filters'] );
556
- } elseif( $_GET['filters' ]) {
557
- $filters[0] = $_GET['filters'];
558
  }
559
 
560
  global $br_url_parser_middle_result;
@@ -2106,7 +2109,7 @@ if ( ! function_exists( 'br_filters_old_wc_compatible' ) ) {
2106
  $query_vars = array();
2107
  }
2108
 
2109
- $query_vars[ 'posts__in' ] = apply_filters( 'loop_shop_post_in', array() );
2110
  $br_old_wp_query = $query_vars;
2111
  }
2112
 
@@ -2230,6 +2233,16 @@ if ( ! function_exists( 'br_filters_query' ) ) {
2230
  if ( ! empty( $post__in ) ) {
2231
  $query[ 'where' ] .= " AND {$wpdb->posts}.ID IN (\"" . implode( '","', $post__in ) . "\")";
2232
  }
 
 
 
 
 
 
 
 
 
 
2233
  /*if( function_exists('wc_get_product_visibility_term_ids') ) {
2234
  $product_visibility_term_ids = wc_get_product_visibility_term_ids();
2235
  $query[ 'where' ] .= " AND ( {$wpdb->posts}.ID NOT IN (SELECT object_id FROM {$wpdb->term_relationships} WHERE term_taxonomy_id='" . $product_visibility_term_ids[ 'exclude-from-catalog' ] . "') ) ";
@@ -2282,7 +2295,7 @@ if( ! function_exists('berocket_add_filter_to_link') ) {
2282
  $url_string,
2283
  $query_string,
2284
  $filters
2285
- ) );
2286
 
2287
  if ( empty( $options[ 'seo_uri_decode' ] ) ) {
2288
  $filters = urlencode( $filters );
@@ -2293,18 +2306,21 @@ if( ! function_exists('berocket_add_filter_to_link') ) {
2293
  if ( substr( $attribute, 0, 3 ) == 'pa_' ) {
2294
  $attribute = substr( $attribute, 3 );
2295
  }
2296
-
2297
- if ( strpos( '|' . $filters, '|' . $attribute . '[' ) === false ) {
2298
- $filters = ( empty( $filters ) ? '' : $filters . '|' ) . $attribute . '[' . implode( ( $slider ? '_' : ( $operator == 'OR' ? '-' : '+' ) ), $values ) . ']';
2299
- $filter_array = explode( '|', $filters );
 
 
 
2300
  } else {
2301
- $filter_array = explode( '|', $filters );
 
2302
  global $br_url_parser_middle_result;
2303
 
2304
  foreach ( $filter_array as $filter_str_i => $filter_str ) {
2305
- if ( strpos( $filter_str, $attribute . '[' ) !== false ) {
2306
- $filter_str = str_replace($attribute.'[', '', $filter_str);
2307
- $filter_str = str_replace(']', '', $filter_str);
2308
  if ( $slider ) {
2309
  $implode = '_';
2310
  $filter_str = '';
@@ -2340,7 +2356,7 @@ if( ! function_exists('berocket_add_filter_to_link') ) {
2340
  }
2341
 
2342
  if ( count( $filter_values ) ) {
2343
- $filter_str = $attribute . '[' . implode( $implode, $filter_values ) . ']';
2344
  $filter_array[ $filter_str_i ] = $filter_str;
2345
  } else {
2346
  unset( $filter_array[ $filter_str_i ] );
@@ -2351,13 +2367,12 @@ if( ! function_exists('berocket_add_filter_to_link') ) {
2351
  }
2352
  }
2353
 
2354
- $implode = '|';
2355
- list( $filter_array, $implode ) = apply_filters( 'berocket_add_filter_to_link_filters_str', array(
2356
  $filter_array,
2357
- $implode
2358
  ) );
2359
 
2360
- $filters = implode( $implode, $filter_array );
2361
  list( $url_string, $query_string, $filters ) = apply_filters( 'berocket_add_filter_to_link_implode', array(
2362
  $url_string,
2363
  $query_string,
@@ -2371,7 +2386,6 @@ if( ! function_exists('berocket_add_filter_to_link') ) {
2371
  if ( ! empty( $filters ) ) {
2372
  $url_string = add_query_arg( 'filters', $filters, $url_string );
2373
  }
2374
-
2375
  return $url_string;
2376
  }
2377
  }
@@ -2689,3 +2703,21 @@ if( ! function_exists('braapf_get_loader_element') ) {
2689
  return BeRocket_AAPF_Template_Build($loader);
2690
  }
2691
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
538
  function br_aapf_args_converter($query) {
539
  $br_options = BeRocket_AAPF::get_aapf_option();
540
  do_action('br_aapf_args_converter_before', $query);
541
+ if(! empty($_GET['filters'])) {
542
+ if( empty($br_options['seo_uri_decode']) ) {
543
+ $_GET['filters'] = urlencode($_GET['filters']);
544
+ $_GET['filters'] = str_replace('+', urlencode('+'), $_GET['filters']);
545
+ $_GET['filters'] = urldecode($_GET['filters']);
546
+ }
547
  }
548
+ $filters_string = apply_filters('brapf_args_converter_get_string', (empty($_GET['filters']) ? '' : $_GET['filters']), $br_options, $query);
549
  $_POST['terms'] = array();
550
  $_POST['add_terms'] = array();
551
  $_POST['limits'] = array();
552
  $_POST['price'] = array();
553
  $_POST['price_ranges'] = array();
554
  $filters = array();
555
+ if( empty($filters_string) ) {
556
  $filters = array();
557
+ } elseif ( preg_match( "~\|~", $filters_string ) ) {
558
+ $filters = explode( "|", $filters_string );
559
+ } elseif( $filters_string ) {
560
+ $filters[0] = $filters_string;
561
  }
562
 
563
  global $br_url_parser_middle_result;
2109
  $query_vars = array();
2110
  }
2111
 
2112
+ $query_vars[ 'posts__in' ] = apply_filters( 'bapf_loop_shop_post_in', array() );
2113
  $br_old_wp_query = $query_vars;
2114
  }
2115
 
2233
  if ( ! empty( $post__in ) ) {
2234
  $query[ 'where' ] .= " AND {$wpdb->posts}.ID IN (\"" . implode( '","', $post__in ) . "\")";
2235
  }
2236
+ if( $has_new_function ) {
2237
+ $author = $WC_Query_get_main_query->get('author');
2238
+ if( empty($author) ) {
2239
+ $author = false;
2240
+ }
2241
+ if( $author != false ) {
2242
+ $query['where'] .= " AND {$wpdb->posts}.post_author IN ({$author})";
2243
+ }
2244
+ }
2245
+
2246
  /*if( function_exists('wc_get_product_visibility_term_ids') ) {
2247
  $product_visibility_term_ids = wc_get_product_visibility_term_ids();
2248
  $query[ 'where' ] .= " AND ( {$wpdb->posts}.ID NOT IN (SELECT object_id FROM {$wpdb->term_relationships} WHERE term_taxonomy_id='" . $product_visibility_term_ids[ 'exclude-from-catalog' ] . "') ) ";
2295
  $url_string,
2296
  $query_string,
2297
  $filters
2298
+ ), $current_url );
2299
 
2300
  if ( empty( $options[ 'seo_uri_decode' ] ) ) {
2301
  $filters = urlencode( $filters );
2306
  if ( substr( $attribute, 0, 3 ) == 'pa_' ) {
2307
  $attribute = substr( $attribute, 3 );
2308
  }
2309
+ $strip_symbols = apply_filters('brapf_TEMP_generate_url_strip_symbols', array('filters' => '|', 'before_val' => '[', 'after_val' => ']'));
2310
+ $regex = '#(([^'.preg_quote($strip_symbols['filters']).']+?)'.preg_quote($strip_symbols['before_val']).'(.+?)'.preg_quote($strip_symbols['after_val']).')'.preg_quote($strip_symbols['filters']).'#';
2311
+
2312
+ if ( strpos( $strip_symbols['filters'] . $filters, $strip_symbols['filters'] . $attribute . $strip_symbols['before_val'] ) === false ) {
2313
+ $filters = (( empty( $filters ) ? '' : $filters . $strip_symbols['filters'] ) . $attribute . $strip_symbols['before_val'] . implode( ( $slider ? '_' : ( $operator == 'OR' ? '-' : '+' ) ), $values ) . $strip_symbols['after_val']);
2314
+ preg_match_all( $regex, $filters.$strip_symbols['filters'], $matches );
2315
+ $filter_array = apply_filters('brapf_TEMP_generate_url_explode_filters', $matches[1], $filters);
2316
  } else {
2317
+ preg_match_all( $regex, $filters.$strip_symbols['filters'], $matches );
2318
+ $filter_array = apply_filters('brapf_TEMP_generate_url_explode_filters', $matches[1], $filters);
2319
  global $br_url_parser_middle_result;
2320
 
2321
  foreach ( $filter_array as $filter_str_i => $filter_str ) {
2322
+ if ( strpos( $filter_str, $attribute . $strip_symbols['before_val'] ) !== false ) {
2323
+ $filter_str = str_replace(array($attribute.$strip_symbols['before_val'], $strip_symbols['after_val']), array('', ''), $filter_str);
 
2324
  if ( $slider ) {
2325
  $implode = '_';
2326
  $filter_str = '';
2356
  }
2357
 
2358
  if ( count( $filter_values ) ) {
2359
+ $filter_str = $attribute . $strip_symbols['before_val'] . implode( $implode, $filter_values ) . $strip_symbols['after_val'];
2360
  $filter_array[ $filter_str_i ] = $filter_str;
2361
  } else {
2362
  unset( $filter_array[ $filter_str_i ] );
2367
  }
2368
  }
2369
 
2370
+ list( $filter_array, $strip_symbols['filters'] ) = apply_filters( 'berocket_add_filter_to_link_filters_str', array(
 
2371
  $filter_array,
2372
+ $strip_symbols['filters']
2373
  ) );
2374
 
2375
+ $filters = implode( $strip_symbols['filters'], $filter_array );
2376
  list( $url_string, $query_string, $filters ) = apply_filters( 'berocket_add_filter_to_link_implode', array(
2377
  $url_string,
2378
  $query_string,
2386
  if ( ! empty( $filters ) ) {
2387
  $url_string = add_query_arg( 'filters', $filters, $url_string );
2388
  }
 
2389
  return $url_string;
2390
  }
2391
  }
2703
  return BeRocket_AAPF_Template_Build($loader);
2704
  }
2705
  }
2706
+ if( ! function_exists('braapf_is_filters_displayed_debug') ) {
2707
+ function braapf_is_filters_displayed_debug($id, $type, $status, $message) {
2708
+ if( BeRocket_AAPF::$user_can_manage ) {
2709
+ $temp = BeRocket_AAPF::$current_page_filters;
2710
+ if( ! in_array($id, $temp['added']) ) {
2711
+ $temp['added'][] = $id;
2712
+ if( ! isset($temp[$type]) || ! is_array($temp[$type]) ) {
2713
+ $temp[$type] = array();
2714
+ }
2715
+ if( ! isset($temp[$type][$status]) || ! is_array($temp[$type][$status]) ) {
2716
+ $temp[$type][$status] = array();
2717
+ }
2718
+ $temp[$type][$status][$id] = $message;
2719
+ }
2720
+ BeRocket_AAPF::$current_page_filters = $temp;
2721
+ }
2722
+ }
2723
+ }
includes/new_widget.php CHANGED
@@ -49,10 +49,16 @@ class BeRocket_new_AAPF_Widget extends WP_Widget
49
  $widget_html = ob_get_clean();
50
  if( ! empty($widget_html) ) {
51
  if( ! empty($instance['title']) ) {
52
- echo '<h3 class="berocket_ajax_group_filter_title">' . $instance['title'] . '</h3>';
 
 
 
 
53
  }
 
54
  echo $widget_html;
55
  } else {
 
56
  return false;
57
  }
58
  }
@@ -71,18 +77,23 @@ class BeRocket_new_AAPF_Widget extends WP_Widget
71
  $filters = $BeRocket_AAPF_group_filters->get_option($instance['group_id']);
72
  global $braapf_parameters;
73
  if( $braapf_parameters['do_not_display_filters'] ) {
 
74
  return false;
75
  }
76
  if( empty($filters) ) {
 
77
  return false;
78
  }
79
  if( has_term('isdisabled', 'berocket_taxonomy_data', intval($instance['group_id'])) ) {
 
80
  return false;
81
  }
82
  if( empty($filters['filters']) || ! is_array($filters['filters']) || ! count($filters['filters']) ) {
 
83
  return false;
84
  }
85
  if( apply_filters('braapf_check_widget_by_instance_group', (! empty($filters['data']) && ! BeRocket_conditions::check($filters['data'], $BeRocket_AAPF_group_filters->hook_name) ) ) ) {
 
86
  return false;
87
  }
88
  return true;
@@ -191,11 +202,16 @@ class BeRocket_new_AAPF_Widget_single extends WP_Widget
191
  ob_start();
192
  new BeRocket_AAPF_Widget($filter_data, $args);
193
  $element_displayed = trim(ob_get_clean());
 
 
 
194
  if( ! apply_filters('BeRocket_AAPF_widget_old_display_conditions', true, $filter_data, $instance, $args) ) {
195
  $element_displayed = '';
196
  }
197
  if( empty($element_displayed) ) {
198
  $additional_class[] = 'bapf_mt_none';
 
 
199
  }
200
  if( ! empty($filter_data['widget_type']) && ($filter_data['widget_type'] == 'update_button' || $filter_data['widget_type'] == 'reset_button' ) ) {
201
  $search_berocket_hidden_clickable = array_search('berocket_hidden_clickable', $additional_class);
@@ -226,11 +242,17 @@ class BeRocket_new_AAPF_Widget_single extends WP_Widget
226
  }
227
  public static function check_widget_by_instance($instance) {
228
  if( empty($instance['filter_id']) || get_post_status($instance['filter_id']) != 'publish' ) {
 
 
 
 
 
229
  return false;
230
  }
231
  $BeRocket_AAPF = BeRocket_AAPF::getInstance();
232
  $br_options = $BeRocket_AAPF->get_option();
233
  if( ! empty($br_options['filters_turn_off']) ) {
 
234
  return false;
235
  }
236
  $current_language = apply_filters( 'wpml_current_language', NULL );
@@ -241,15 +263,18 @@ class BeRocket_new_AAPF_Widget_single extends WP_Widget
241
  $filter_data = $BeRocket_AAPF_single_filter->get_option($filter_id);
242
  global $braapf_parameters;
243
  if( $braapf_parameters['do_not_display_filters'] ) {
 
244
  return false;
245
  }
246
  if( has_term('isdisabled', 'berocket_taxonomy_data', intval($instance['filter_id'])) ) {
 
247
  return false;
248
  }
249
  if( empty($filter_data) || empty($filter_post) ) {
250
  return false;
251
  }
252
  if( apply_filters('braapf_check_widget_by_instance_single', (! empty($filter_data['data']) && ! BeRocket_conditions::check($filter_data['data'], $BeRocket_AAPF_single_filter->hook_name) ) ) ) {
 
253
  return false;
254
  }
255
  return true;
49
  $widget_html = ob_get_clean();
50
  if( ! empty($widget_html) ) {
51
  if( ! empty($instance['title']) ) {
52
+ if( empty($new_args['title_class']) || ! is_array($new_args['title_class']) || count($new_args['title_class']) == 0 ) {
53
+ $new_args['title_class'] = array();
54
+ }
55
+ $new_args['title_class'][] = 'berocket_ajax_group_filter_title';
56
+ echo '<h3 class="'.implode(' ', $new_args['title_class']).'">' . $instance['title'] . '</h3>';
57
  }
58
+ braapf_is_filters_displayed_debug($instance['group_id'], 'group', 'displayed', 'Must be displayed on the page');
59
  echo $widget_html;
60
  } else {
61
+ braapf_is_filters_displayed_debug($instance['group_id'], 'group', 'empty_filter_code', 'Filters inside do not return any HTML code');
62
  return false;
63
  }
64
  }
77
  $filters = $BeRocket_AAPF_group_filters->get_option($instance['group_id']);
78
  global $braapf_parameters;
79
  if( $braapf_parameters['do_not_display_filters'] ) {
80
+ braapf_is_filters_displayed_debug($instance['group_id'], 'group', 'disabled', 'Custom parameter do_not_display_filters');
81
  return false;
82
  }
83
  if( empty($filters) ) {
84
+ braapf_is_filters_displayed_debug($instance['group_id'], 'group', 'empty_options', 'Options data from database empty');
85
  return false;
86
  }
87
  if( has_term('isdisabled', 'berocket_taxonomy_data', intval($instance['group_id'])) ) {
88
+ braapf_is_filters_displayed_debug($instance['group_id'], 'group', 'disabled', 'Disabled by user');
89
  return false;
90
  }
91
  if( empty($filters['filters']) || ! is_array($filters['filters']) || ! count($filters['filters']) ) {
92
+ braapf_is_filters_displayed_debug($instance['group_id'], 'group', 'without_filters', 'Do not have any filters');
93
  return false;
94
  }
95
  if( apply_filters('braapf_check_widget_by_instance_group', (! empty($filters['data']) && ! BeRocket_conditions::check($filters['data'], $BeRocket_AAPF_group_filters->hook_name) ) ) ) {
96
+ braapf_is_filters_displayed_debug($instance['group_id'], 'group', 'condition_restriction', 'Disabled for this page by conditions');
97
  return false;
98
  }
99
  return true;
202
  ob_start();
203
  new BeRocket_AAPF_Widget($filter_data, $args);
204
  $element_displayed = trim(ob_get_clean());
205
+ if( empty($element_displayed) ) {
206
+ braapf_is_filters_displayed_debug($instance['filter_id'], 'filter', 'displayed_empty', 'Must be displayed, but empty');
207
+ }
208
  if( ! apply_filters('BeRocket_AAPF_widget_old_display_conditions', true, $filter_data, $instance, $args) ) {
209
  $element_displayed = '';
210
  }
211
  if( empty($element_displayed) ) {
212
  $additional_class[] = 'bapf_mt_none';
213
+ } else {
214
+ braapf_is_filters_displayed_debug($instance['filter_id'], 'filter', 'displayed', 'Must be displayed on the page');
215
  }
216
  if( ! empty($filter_data['widget_type']) && ($filter_data['widget_type'] == 'update_button' || $filter_data['widget_type'] == 'reset_button' ) ) {
217
  $search_berocket_hidden_clickable = array_search('berocket_hidden_clickable', $additional_class);
242
  }
243
  public static function check_widget_by_instance($instance) {
244
  if( empty($instance['filter_id']) || get_post_status($instance['filter_id']) != 'publish' ) {
245
+ if( empty($instance['filter_id']) ) {
246
+ braapf_is_filters_displayed_debug('000', 'filter', 'empty_ID', 'Some filter has empty ID');
247
+ } else {
248
+ braapf_is_filters_displayed_debug($instance['filter_id'], 'filter', 'not_published', 'Filter not published');
249
+ }
250
  return false;
251
  }
252
  $BeRocket_AAPF = BeRocket_AAPF::getInstance();
253
  $br_options = $BeRocket_AAPF->get_option();
254
  if( ! empty($br_options['filters_turn_off']) ) {
255
+ braapf_is_filters_displayed_debug($instance['filter_id'], 'filter', 'disabled', 'Disabled by user in global settings');
256
  return false;
257
  }
258
  $current_language = apply_filters( 'wpml_current_language', NULL );
263
  $filter_data = $BeRocket_AAPF_single_filter->get_option($filter_id);
264
  global $braapf_parameters;
265
  if( $braapf_parameters['do_not_display_filters'] ) {
266
+ braapf_is_filters_displayed_debug($instance['filter_id'], 'filter', 'disabled', 'Custom parameter do_not_display_filters');
267
  return false;
268
  }
269
  if( has_term('isdisabled', 'berocket_taxonomy_data', intval($instance['filter_id'])) ) {
270
+ braapf_is_filters_displayed_debug($instance['filter_id'], 'filter', 'disabled', 'Disabled by user');
271
  return false;
272
  }
273
  if( empty($filter_data) || empty($filter_post) ) {
274
  return false;
275
  }
276
  if( apply_filters('braapf_check_widget_by_instance_single', (! empty($filter_data['data']) && ! BeRocket_conditions::check($filter_data['data'], $BeRocket_AAPF_single_filter->hook_name) ) ) ) {
277
+ braapf_is_filters_displayed_debug($instance['filter_id'], 'filter', 'condition_restriction', 'Disabled for this page by conditions');
278
  return false;
279
  }
280
  return true;
includes/template_style.php CHANGED
@@ -3,7 +3,6 @@ if( ! class_exists('BeRocket_AAPF_Template_Style') ) {
3
  class BeRocket_AAPF_Template_Style {
4
  public $data = array();
5
  function __construct() {
6
- $this->data['this'] = $this;
7
  $this->data = array_merge(
8
  array(
9
  'slug' => 'parent',
@@ -61,7 +60,9 @@ if( ! class_exists('BeRocket_AAPF_Template_Style') ) {
61
  }
62
  }
63
  if( $write ) {
64
- $styles[$this->data['slug']] = $this->data;
 
 
65
  }
66
  return $styles;
67
  }
3
  class BeRocket_AAPF_Template_Style {
4
  public $data = array();
5
  function __construct() {
 
6
  $this->data = array_merge(
7
  array(
8
  'slug' => 'parent',
60
  }
61
  }
62
  if( $write ) {
63
+ $data = $this->data;
64
+ $data['this'] = $this;
65
+ $styles[$this->data['slug']] = $data;
66
  }
67
  return $styles;
68
  }
languages/BeRocket_AJAX_domain-ru_RU.mo CHANGED
Binary file
languages/BeRocket_AJAX_domain-ru_RU.po CHANGED
@@ -2,9 +2,9 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce AJAX Products Filter\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2019-12-09 13:44+0000\n"
6
- "PO-Revision-Date: 2019-12-09 14:36+0000\n"
7
- "Last-Translator: root <root@root.com>\n"
8
  "Language-Team: Русский\n"
9
  "Language: ru_RU\n"
10
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10 >= 2 && "
@@ -22,238 +22,229 @@ msgstr ""
22
  "esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
23
  "X-Loco-Target-Locale: ru_RU\n"
24
  "X-Generator: Loco https://localise.biz/\n"
25
- "X-Loco-Version: 2.3.1; wp-5.3"
26
 
27
  #. Name of the plugin
28
- #: main.php:62
29
  msgid "WooCommerce AJAX Products Filter"
30
  msgstr "WooCommerce AJAX Products Filter"
31
 
32
- #: main.php:63
33
  msgid "Product Filters"
34
- msgstr "Фильтры продуктов"
35
-
36
- #: main.php:73 main.php:1482
37
- msgid "There are no products meeting your criteria"
38
- msgstr "Нет товаров, соответствующих вашим критериям"
39
 
40
- #: main.php:326
41
  msgid ""
42
  "<strong>Please update all BeRocket plugins to the most recent version. "
43
  "WooCommerce AJAX Products Filter is not working correctly with older "
44
  "versions.</strong>"
45
  msgstr ""
46
- "<strong> Пожалуйста, обновите все плагины BeRocket до последней версии. "
47
- "WooCommerce AJAX Products Filter работает некорректно со старыми версиями. "
48
  "</strong>"
49
 
50
- #: main.php:397
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  msgid "General"
52
  msgstr "Главные"
53
 
54
- #: main.php:401
55
  msgid "Elements"
56
  msgstr "Элементы"
57
 
58
- #: main.php:405
59
  msgid "Selectors"
60
  msgstr "Селекторы"
61
 
62
- #: main.php:409
63
  msgid "SEO"
64
  msgstr "SEO"
65
 
66
- #: main.php:413
67
  msgid "Advanced"
68
  msgstr "Продвинутые"
69
 
70
- #: main.php:417
71
  msgid "Design"
72
  msgstr "Дизайн"
73
 
74
- #: main.php:421
75
  msgid "JavaScript/CSS"
76
  msgstr "JavaScript/CSS"
77
 
78
- #: main.php:426 includes/custom_post.php:645
79
  msgid "Filters"
80
  msgstr "Фильтры"
81
 
82
- #: main.php:431
83
  msgid "License"
84
  msgstr "Лицензия"
85
 
86
- #: main.php:435
87
  msgid "Add-ons"
88
  msgstr "Дополнения"
89
 
90
- #: main.php:445
91
- msgid "\"No Products\" message"
92
- msgstr "Сообщение «Нет товаров»"
93
-
94
- #: main.php:451
95
  msgid "Products Per Page"
96
  msgstr "Продукты на странице"
97
 
98
- #: main.php:457
99
  msgid "Number of Attribute Values"
100
- msgstr "Количество Значений Атрибута"
101
 
102
- #: main.php:461
103
  msgid ""
104
  "Attribute Values count that will be displayed. Other values will be hidden "
105
  "and can be displayed by pressing the button. Option <strong>Hide the "
106
  "Show/Hide value(s) button in the filters</strong> must be disabled"
107
  msgstr ""
108
  "Количество значений атрибутов, которое будет отображаться. Другие значения "
109
- "будут скрыты и могут быть отображены нажатием кнопки. Опция <strong> Скрыть "
110
- "кнопку «Показать/Скрыть значения» </strong> должна быть отключена"
111
-
112
- #: main.php:464
113
- msgid "Sorting drop-down control"
114
- msgstr "Контроль сортировки"
115
-
116
- #: main.php:468
117
- msgid "Take control over WooCommerce's sorting selectbox?"
118
- msgstr "Взять под контроль поле выбора сортировки WooCommerce?"
119
 
120
- #: main.php:471
121
- msgid "Jump to first page"
122
- msgstr "Переходить на первую страницу"
123
-
124
- #: main.php:475
125
- msgid "Check if you want load first page after filters change"
126
- msgstr "Включите, если нужно Вам загружать первую страницу после фильтрации"
127
-
128
- #: main.php:478
129
  msgid "Scroll to the top"
130
- msgstr "Прокрутить страницу наверх"
131
 
132
- #: main.php:481 main.php:562
133
  msgid "Selected filters position"
134
- msgstr "Позиция выбранных фильтров"
135
 
136
- #: main.php:486 templates/filter_post.php:632
 
 
 
137
  msgid "Disable"
138
  msgstr "Выключено"
139
 
140
- #: main.php:487
141
  msgid "Mobile and Desktop"
142
- msgstr "Мобильные и Персональные компьютеры "
143
 
144
- #: main.php:488 includes/custom_post.php:299 includes/custom_post.php:611
145
  msgid "Mobile"
146
  msgstr "Мобильных"
147
 
148
- #: main.php:489 includes/custom_post.php:307 includes/custom_post.php:619
149
  msgid "Desktop"
150
  msgstr "Персональных компьютерах "
151
 
152
- #: main.php:498
153
  msgid "px from products top."
154
- msgstr "px от продуктов сверху."
155
 
156
- #: main.php:498
157
  msgid "Use this to fix top scroll."
158
- msgstr "Используйте это для исправления скролла сверху"
159
 
160
- #: main.php:503
161
  msgid "Values count and output"
162
- msgstr "Пересчет и вывод значений"
163
 
164
- #: main.php:507
165
  msgid "All non-empty values are shown and use basic counting"
166
- msgstr ""
167
- "Отображаются все непустые значения и будет использоваться стандартный "
168
- "пересчет"
169
 
170
- #: main.php:508
171
  msgid "Remove empty values based on page(category/tag/etc)"
172
  msgstr ""
173
- "Удаляются пустые значения на основных страницах(категорий/тегов/и т. д.)"
174
 
175
- #: main.php:509
176
  msgid ""
177
  "All non-empty values are shown and filters are considered while counting "
178
  "attribute values"
179
  msgstr ""
180
- "Отображаются все непустые значения и учитываются фильтры при пересчете "
181
- "значений атрибутов"
182
 
183
- #: main.php:510
184
  msgid ""
185
  "Remove empty values based on page(category/tag/etc). Filters are considered "
186
  "while counting attribute values and empty values based on filters are hidden"
187
  msgstr ""
188
- "Удаляются пустые значения на основных страницах (категорий/тегов/и т. д.). "
189
- "Фильтры учитываются при пересчете значений атрибутов, а пустые значения "
190
- "после фильтрации будут скрыты"
191
 
192
- #: main.php:511
193
  msgid ""
194
  "Filters are considered while counting attribute values. Empty values are "
195
  "removed server side"
196
  msgstr ""
197
- "Фильтры учитываются при пересчете значений атрибутов. Пустые значения "
198
  "удаляются на стороне сервера"
199
 
200
- #: main.php:513
201
- msgid "Variable variant work slower, but remove variations that out of stock"
202
- msgstr ""
203
-
204
- #: main.php:518
205
  msgid "Hide values"
206
  msgstr "Скрыть значения"
207
 
208
- #: main.php:524
209
  msgid "Hide values without products"
210
  msgstr "Скрыть значения без продуктов"
211
 
212
- #: main.php:530
213
  msgid "Hide selected values"
214
  msgstr "Скрыть выбранные значения"
215
 
216
- #: main.php:536
217
  msgid "Hide blank widgets"
218
  msgstr "Скрыть пустые виджеты"
219
 
220
- #: main.php:541
221
- msgid "Select2"
222
- msgstr "Select2"
223
-
224
- #: main.php:548
225
- msgid "Use Select2 script for dropdown menu"
226
- msgstr "Использовать скрипт Select2 для выпадающего меню"
227
-
228
- #: main.php:555
229
- msgid ""
230
- "Fixed CSS styles for Select2 (do not enable if Select2 work correct. Option "
231
- "can break Select2 in other plugins or themes)"
232
- msgstr ""
233
- "Исправление стили CSS для Select2 (не включайте, если Select2 работает "
234
- "правильно. Опция может сломать Select2 в других плагинах или темах)"
235
-
236
- #: main.php:566
237
  msgid "WooCommerce Description(in header)"
238
- msgstr "Описание WooCommerceзаголовке)"
239
 
240
- #: main.php:567
241
  msgid "WooCommerce Before Shop Loop"
242
- msgstr "Перед WooCommerce Shop Loop"
243
 
244
- #: main.php:568
245
  msgid "WooCommerce After Shop Loop"
246
- msgstr "После WooCommerce Shop Loop"
247
 
248
- #: main.php:573
249
  msgid "Display Selected Filters"
250
- msgstr "Отображать выбранные фильтры"
251
 
252
- #: main.php:580
253
  msgid "Show selected filters above products"
254
  msgstr "Показать выбранные фильтры над продуктами"
255
 
256
- #: main.php:587
257
  msgid ""
258
  "Hide selected filters area if nothing selected(affect only area above "
259
  "products)"
@@ -261,411 +252,390 @@ msgstr ""
261
  "Скрыть область выбранных фильтров, если ничего не выбрано (влияет только на "
262
  "область над продуктами)"
263
 
264
- #: main.php:598
 
 
 
 
265
  msgid "Products Selector"
266
  msgstr "Селектор Продуктов"
267
 
268
- #: main.php:603 main.php:648
269
  msgid ""
270
  "Selector for tag that is holding products. Don't change this if you don't "
271
  "know what it is"
272
  msgstr ""
273
- "Селектор для тега, который содержит товары. Не меняйте это, если Вы не "
274
  "знаете, что это такое"
275
 
276
- #: main.php:606
277
  msgid "Products Quantity Selector"
278
- msgstr "Селектор количества продуктов"
279
 
280
- #: main.php:613
281
  msgid ""
282
  "Selector for tag with product result count(\"Showing 1–8 of 61 results\"). "
283
  "Don't change this if you don't know what it is"
284
  msgstr ""
285
- "Селектор для тега с результатов количества продуктов(«Показано 1–8 из 61 "
286
- "результатов»). Не меняйте это, если Вы не знаете, что это такое"
287
-
288
- #: main.php:619
289
- msgid "Enable if page doesn't have product count block"
290
- msgstr "Включить, если на странице нет блока подсчета товаров"
291
 
292
- #: main.php:624
293
  msgid "Products Sorting Selector"
294
- msgstr "Селектор для блока с сортировкой продуктов"
295
 
296
- #: main.php:630
297
  msgid ""
298
  "Selector for order by form with drop down menu. Don't change this if you "
299
  "don't know what it is"
300
  msgstr ""
301
- "Селектор для блока сортировки. Не меняйте это, если Вы не знаете, что это "
302
- "такое"
303
 
304
- #: main.php:636
305
- msgid "Enable if page doesn't have order by drop down menu"
306
- msgstr "Включить, если страница не имеет порядка в выпадающем меню"
307
 
308
- #: main.php:641
309
- msgid "Products Pagination Selector"
310
- msgstr "Селектор страниц"
311
 
312
- #: main.php:654
313
- msgid ""
314
- "Enable if page doesn't have pagination.<strong>Page with lazy load also has "
315
- "pagination</strong>"
316
- msgstr ""
317
- "Включите, если страница не имеет нумерации страниц. <strong> Страница с "
318
- "отложенной загрузкой также имеет нумерацию страниц </strong>"
319
 
320
- #: main.php:660
321
  msgid "Disable AJAX Pagination"
322
- msgstr "Отключить пагинацию AJAX"
323
 
324
- #: main.php:667
325
  msgid "Refresh URL when filtering"
326
- msgstr "Обновить URL при фильтрации"
327
 
328
- #: main.php:672
329
  msgid ""
330
  "If this option is on URL will be changed when filter is selected/changed"
331
  msgstr ""
332
- "Если эта опция включена, URL будет изменен при выборе / изменении фильтра."
333
 
334
- #: main.php:675
335
  msgid "Use slug in URL"
336
- msgstr "Используйте slug в URL"
337
 
338
- #: main.php:680
339
  msgid "Use attribute slug instead ID"
340
- msgstr "Используйте атрибут slug вместо ID"
341
 
342
- #: main.php:683
343
  msgid "URL decoding"
344
  msgstr "Декодирование URL"
345
 
346
- #: main.php:688
347
  msgid "Decode all symbols in URL to prevent errors on server side"
348
  msgstr ""
349
- "Расшифровует все символы в URL, чтобы избежать ошибок на стороне сервера"
350
 
351
- #: main.php:691
352
  msgid "SEO Meta, Title"
353
  msgstr "SEO Мета, Заголовки"
354
 
355
- #: main.php:696
356
  msgid "Meta Description, Page title and Page Header with filters"
357
- msgstr "Мета-описание, заголовок страницы и заголовок страницы с фильтрами"
358
 
359
- #: main.php:699
360
  msgid "SEO Elements"
361
  msgstr "SEO Элементы"
362
 
363
- #: main.php:706 templates/filters_group_simple.php:2
364
- #: templates/filter_post_simple.php:11 includes/paid.php:1617
365
- #: includes/paid.php:1787 templates/settings/design.php:789
366
  msgid "Title"
367
  msgstr "Название"
368
 
369
- #: main.php:712
370
  msgid "Header"
371
  msgstr "Заголовок"
372
 
373
- #: main.php:718 templates/filter_post.php:502
 
374
  msgid "Description"
375
  msgstr "Описание"
376
 
377
- #: main.php:723
378
  msgid "SEO elements structure"
379
  msgstr "SEO структура элементов"
380
 
381
- #: main.php:728
382
  msgid "{title} with [attribute] [values] and [attribute] [values]"
383
- msgstr "{title} with [attribute] [values] and [attribute] [values]"
384
 
385
- #: main.php:729
386
  msgid "{title} [attribute]:[values];[attribute]:[values]"
387
- msgstr "{title} [attribute]:[values];[attribute]:[values]"
388
 
389
- #: main.php:730
390
  msgid ""
391
  "[attribute 1 values] {title} with [attribute] [values] and [attribute] "
392
  "[values]"
393
  msgstr ""
394
- "[attribute 1 values] {title} with [attribute] [values] and [attribute] "
395
- "[values]"
396
 
397
- #: main.php:731
398
  msgid "{title} - [values] / [values]"
399
- msgstr "{title} - [values] / [values]"
400
-
401
- #: main.php:738
402
- msgid "\"No Products\" class"
403
- msgstr "Класс \"Нет продуктов\""
404
 
405
- #: main.php:742
406
- msgid "Add class and use it to style \"No Products\" box"
407
- msgstr "Добавить класс для стилей \"Нет продуктов\""
408
-
409
- #: main.php:745
410
  msgid "Display products"
411
- msgstr "Отображать продукты"
412
 
413
- #: main.php:749
414
  msgid ""
415
  "Display always products when filters selected. Use this when you have "
416
  "categories and subcategories on shop pages, but you want to display products "
417
  "on filtering"
418
  msgstr ""
419
- "Всегда отображать продукты когда выбраны фильтры. Используйте это когда у "
420
- "Вас есть категории и подкатегории на странице магазина, но вам нужно "
421
- "отображать продукты при фильтрации."
422
 
423
- #: main.php:752
424
  msgid "Use Tax options in price filters"
425
  msgstr "Использование налогов в фильтрах цен"
426
 
427
- #: main.php:753
428
  msgid "Only Standard tax rates will be applied for prices"
429
  msgstr "Только стандартные налоговые ставки будут применяться к ценам"
430
 
431
- #: main.php:757
432
  msgid "Do not use (filter price as it is set in products)"
433
- msgstr "Не использовать (цены в фильтрах будут как указаны в продуктах)"
434
 
435
- #: main.php:758
436
  msgid "Use tax options"
437
- msgstr "Используйте настройки налогов"
438
 
439
- #: main.php:763
440
  msgid "Page same as filter"
441
  msgstr "Страница такая же как фильтр"
442
 
443
- #: main.php:767 templates/filter_post.php:171 templates/filter_post.php:359
444
- #: templates/filter_post.php:466 includes/paid.php:1746
445
- #: templates/settings/design.php:57 templates/settings/design.php:165
446
- #: templates/settings/design.php:179 templates/settings/design.php:184
447
- #: templates/settings/design.php:421 templates/settings/design.php:435
448
- #: templates/settings/design.php:440 templates/settings/design.php:653
449
- #: templates/settings/design.php:658 templates/settings/design.php:666
450
- #: templates/settings/design.php:677 templates/settings/design.php:682
451
- #: templates/settings/design.php:722 templates/settings/design.php:727
452
- #: templates/settings/design.php:735 templates/settings/design.php:743
453
- #: templates/settings/design.php:748 templates/settings/design.php:756
454
- #: templates/settings/design.php:761 templates/settings/design.php:793
455
- #: templates/settings/design.php:807 templates/settings/design.php:812
456
- #: templates/settings/design.php:820 templates/settings/design.php:834
457
- #: templates/settings/design.php:839 templates/settings/design.php:847
458
- #: templates/settings/design.php:861 templates/settings/design.php:866
459
- #: templates/paid/filters_group.php:29
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
460
  msgid "Default"
461
  msgstr "По умолчанию"
462
 
463
- #: main.php:768
464
  msgid "Remove value"
465
  msgstr "Удалить значение"
466
 
467
- #: main.php:769
468
  msgid "Leave only one value"
469
- msgstr "Оставить только одно значение"
470
 
471
- #: main.php:772
472
  msgid ""
473
  "On Category, Tag, Attribute page filter for it will remove value or leave "
474
  "only one value"
475
  msgstr ""
476
- "На странице категории, тега, атрибута для фильтра будет удалено значение или "
477
- "останется только одно значение"
478
 
479
- #: main.php:776
480
  msgid "Variable Products and Variations options"
481
- msgstr "Опции Вариативных Продуктов и Вариаций"
482
 
483
- #: main.php:779
484
  msgid "Hide variations that are out of stock"
485
- msgstr "Скрыть вариации которых нет в наличии"
486
 
487
- #: main.php:785 includes/paid.php:124 includes/paid.php:136
488
- #: includes/paid.php:1862
 
 
 
489
  msgid "Disabled"
490
  msgstr "Отключить"
491
 
492
- #: main.php:786
493
  msgid "Enabled"
494
  msgstr "Включить"
495
 
496
- #: main.php:787
497
  msgid "Enabled only with selected \"Out of stock\" filter"
498
- msgstr "Включить если выбрано в фильтрах \"Нет в наличии\""
499
 
500
- #: main.php:791
501
  msgid "Hide variable products if variations with selected filters out of stock"
502
  msgstr ""
503
- "Скрывать вариации продуктов, если вариаций с выбранными фильтрами нет в "
504
  "наличии"
505
 
506
- #: main.php:798
507
- msgid ""
508
- "Use it for attributes values to display more correct count with option "
509
- "Reload amount of products"
510
  msgstr ""
511
- "Используйте для значений атрибутов, чтобы отобразить более правильный счет с "
512
- "опцией Перезагружать количество продуктов"
513
 
514
- #: main.php:805
515
  msgid ""
516
  "Fix WPEngine query issue (Also can work with other hostings if they limit "
517
  "query size)"
518
  msgstr ""
519
- "Исправление проблемы с запросом WPEngine (также может работать с другими "
520
  "хостингами, если они ограничивают размер запроса)"
521
 
522
- #: main.php:811
523
  msgid "Incompatibility Fixes"
524
- msgstr "Исправления Несовместимостей"
525
-
526
- #: main.php:814
527
- msgid "Add position relative to products"
528
- msgstr "Добавление position relative к продуктам"
529
 
530
- #: main.php:818
531
- msgid "Fix for correct displaying loading block"
532
- msgstr "Исправление для правильного отображение блока загрузки"
533
-
534
- #: main.php:821
535
  msgid "Display styles only for pages with filters"
536
  msgstr "Стили отображения только для страниц с фильтрами"
537
 
538
- #: main.php:825
539
  msgid "On some sites it can cause some visual problem on page loads"
540
  msgstr ""
541
  "На некоторых сайтах это может вызвать некоторые визуальные проблемы при "
542
  "загрузке страниц."
543
 
544
- #: main.php:828
545
- msgid "Products per line"
546
- msgstr "Исправление количества продуктов в строку"
547
-
548
- #: main.php:832
549
- msgid "Change this only if after filtering count of products per row changes."
550
- msgstr ""
551
- "Изменяйте это, только если после фильтрации изменяется количество товаров в "
552
- "строке."
553
-
554
- #: main.php:835
555
  msgid "Fix for sites with AJAX"
556
  msgstr "Исправление для сайтов с AJAX"
557
 
558
- #: main.php:839
559
  msgid "Add JavaScript files to all pages."
560
  msgstr "Добавить файлы JavaScript на все страницы."
561
 
562
- #: main.php:842
563
  msgid "Fix for search page"
564
  msgstr "Исправление для страницы поиска"
565
 
566
- #: main.php:846
567
  msgid "Disable redirection, when search page return only one product"
568
  msgstr ""
569
  "Отключить перенаправление, когда страница поиска возвращает только один "
570
  "продукт"
571
 
572
- #: main.php:849
573
- msgid "Use Tags as custom taxonomies"
574
- msgstr "Используйте теги, такие как пользовательские таксономии"
575
-
576
- #: main.php:853
577
- msgid "Try to enable this if widget with tags didn't work."
578
- msgstr "Попробуйте включить это, если виджет с тегами не работает."
579
-
580
- #: main.php:856
581
- msgid "GET query"
582
- msgstr "Запрос GET"
583
-
584
- #: main.php:860
585
- msgid "Use GET query instead POST for filtering"
586
- msgstr "Используйте GET-запрос вместо POST для фильтрации"
587
-
588
- #: main.php:863
589
- msgid "Alternative Load (DEPRECATED)"
590
- msgstr "Альтернативная загрузка (УСТАРЕВШАЯ)"
591
 
592
- #: main.php:870
593
  msgid ""
594
- "Use it on your own risk. Some features do not work with alternative load "
595
- "methods. All this methods are not supported. If you have problems with any "
596
- "of them just turn this option off"
597
  msgstr ""
598
- "Используйте это на свой страх и риск. Некоторые функции не работают с "
599
- "альтернативными методами загрузки. Все эти методы не поддерживаются. Если у "
600
- "Вас есть проблемы с любым из них, просто отключите эту опцию"
601
-
602
- #: main.php:877
603
- msgid "WordPress AJAX (deprecated)"
604
- msgstr "WordPress AJAX (устаревшая)"
605
-
606
- #: main.php:878
607
- msgid "PHP (deprecated)"
608
- msgstr "PHP (устаревшая)"
609
-
610
- #: main.php:879
611
- msgid "JavaScript (deprecated)"
612
- msgstr "JavaScript (устаревшая)"
613
-
614
- #: main.php:882
615
- msgid "Use"
616
- msgstr "Использование"
617
-
618
- #: main.php:883
619
- msgid "load method"
620
- msgstr "метод загрузки"
621
-
622
- #: main.php:884
623
- msgid "Some features do not work with alternative load method"
624
- msgstr "Некоторые функции не работают с альтернативным методом загрузки"
625
 
626
- #: main.php:890
627
  msgid "Tools"
628
  msgstr "Инструменты"
629
 
630
- #: main.php:893
631
  msgid "Turn off all filters"
632
- msgstr "Выключите все фильтры"
633
 
634
- #: main.php:897
635
  msgid ""
636
  "If you want to hide filters without losing current configuration just turn "
637
  "them off"
638
  msgstr ""
639
- "Если Вы хотите скрыть фильтры без потери текущей конфигурации, просто "
640
  "отключите их"
641
 
642
- #: main.php:916
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
643
  msgid "Disable Font Awesome"
644
  msgstr "Отключить Font Awesome"
645
 
646
- #: main.php:920
647
  msgid ""
648
  "Don't loading css file for Font Awesome on site front end. Use it only if "
649
  "you doesn't uses Font Awesome icons in widgets or you have Font Awesome in "
650
  "your theme."
651
  msgstr ""
652
- "Не загружайте файл CSS для Font Awesome на сайт. Используйте его, только "
653
- "если Вы не используете иконки Font Awesome в виджетах или у Вас есть Font "
654
  "Awesome в вашей теме."
655
 
656
- #: main.php:923
657
  msgid "Font Awesome Version"
658
  msgstr "Версия Font Awesome"
659
 
660
- #: main.php:927
661
  msgid "Font Awesome 4"
662
  msgstr "Font Awesome 4"
663
 
664
- #: main.php:928
665
  msgid "Font Awesome 5"
666
  msgstr "Font Awesome 5"
667
 
668
- #: main.php:931
669
  msgid ""
670
  "Version of Font Awesome that will be used on front end. Please select "
671
  "version that you have in your theme"
@@ -673,67 +643,161 @@ msgstr ""
673
  "Версия Font Awesome, которая будет использоваться в интерфейсе. Пожалуйста, "
674
  "выберите версию, которая в вашей теме"
675
 
676
- #: main.php:934
677
  msgid "Before Update:"
678
- msgstr "Перед обновлением:"
679
 
680
- #: main.php:938
681
  msgid "If you want to add own actions on filter activation, eg: alert('1');"
682
  msgstr ""
683
- "Если Вы хотите добавить собственные действия при активации фильтра, например:"
684
  " alert ('1');"
685
 
686
- #: main.php:941
687
  msgid "During Update:"
688
  msgstr "Во время обновления:"
689
 
690
- #: main.php:945
691
  msgid ""
692
  "If you want to add own actions right on products update. You can manipulate "
693
  "data here, try: data.products = 'Ha!';"
694
  msgstr ""
695
- "Если Вы хотите добавить собственные действия прямо на обновление продуктов. "
696
- "Вы можете манипулировать данными здесь, попробуйте: data.products = 'Ha!';"
 
697
 
698
- #: main.php:948
699
  msgid "After Update:"
700
- msgstr "После обновления:"
701
 
702
- #: main.php:952
703
  msgid "If you want to add own actions after products updated, eg: alert('1');"
704
  msgstr ""
705
- "Если Вы хотите добавить собственные действия после обновления продуктов, "
706
  "например: alert ('1');"
707
 
708
- #: main.php:978 templates/filters_information.php:2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
709
  msgid "SETUP WIZARD"
710
  msgstr "МАСТЕР УСТАНОВКИ"
711
 
712
- #: main.php:980
713
  msgid "RUN SETUP WIZARD"
714
  msgstr "ЗАПУСТИТЬ МАСТЕР НАСТРОЙКИ"
715
 
716
- #: main.php:982
717
  msgid "Run it to setup plugin options step by step"
718
  msgstr "Запустите его, чтобы шаг за шагом настроить параметры плагина"
719
 
720
- #: main.php:991 main.php:1002
721
  msgid "Creating products"
722
  msgstr "Создание продуктов"
723
 
724
- #: main.php:992 main.php:1003
725
  msgid "Gettings selectors"
726
  msgstr "Получение селекторов"
727
 
728
- #: main.php:993 main.php:1004
729
  msgid "Removing products"
730
  msgstr "Удаление продуктов"
731
 
732
- #: main.php:994
733
  msgid "Error:"
734
  msgstr "Ошибка:"
735
 
736
- #: main.php:997
737
  msgid ""
738
  "IMPORTANT: It will generate some products on your site. Please disable all "
739
  "SEO plugins and plugins, that doing anything on product creating."
@@ -742,676 +806,1159 @@ msgstr ""
742
  "отключите все плагины SEO и плагины, которые делают что-либо при создании "
743
  "продукта."
744
 
745
- #: main.php:998
746
  msgid ""
747
  "Script was runned, but page closed until end. Please stop it to prevent any "
748
  "problems on your site"
749
  msgstr ""
750
- "Скрипт запущен, не закрывайте страницу до окончания. Пожалуйста, остановите "
751
- "это, чтобы предотвратить любые проблемы на вашем сайте"
752
 
753
- #: main.php:999
754
  msgid "Auto-Selectors"
755
  msgstr "Авто-Селекторы"
756
 
757
- #: main.php:1000
758
  msgid "Stop"
759
- msgstr "Стоп"
760
 
761
- #: main.php:1001
762
  msgid "Steps:"
763
- msgstr "Шаг:"
764
 
765
- #: main.php:1007
766
  msgid "Get selectors automatically"
767
  msgstr "Получить селекторы автоматически"
768
 
769
- #: main.php:1009
770
  msgid "How it work:"
771
  msgstr "Как это работает:"
772
 
773
- #: main.php:1011
774
  msgid "Run Auto-selector"
775
- msgstr "Запустить автоматический выбор"
776
 
777
- #: main.php:1012
778
  msgid ""
779
  "Wait until end <strong style=\"color:red;\">do not close this page</strong>"
780
  msgstr ""
781
- "Дождитесь окончания <strong style = \"color: red;\"> не закрывайте эту "
782
- "страницу </strong>"
783
 
784
- #: main.php:1013
785
  msgid "Save settings with new selectors"
786
  msgstr "Сохранить настройки с новыми селекторами"
787
 
788
- #: main.php:1022 main.php:1036
789
  msgid "Purge Cache"
790
- msgstr "Очистить кэш"
791
 
792
- #: main.php:1038
793
  msgid "Clear attribute/custom taxonomy cache for plugin"
794
  msgstr "Очистить кэш атрибутов/пользовательских таксономий для плагина"
795
 
796
- #: main.php:1056
797
- msgid "Replace old widgets"
798
- msgstr "Заменить старые виджеты"
799
-
800
- #: main.php:1069
801
- msgid "Widget replaced"
802
- msgstr "Виджет заменен"
803
-
804
- #: main.php:1070
805
- msgid "Replacing widgets... Please wait"
806
- msgstr "Замена виджетов ... Пожалуйста, подождите"
807
-
808
- #: main.php:1074
809
- msgid "Replace widgets"
810
- msgstr "Заменить виджеты"
811
-
812
- #: main.php:1076
813
- msgid "No old widgets"
814
- msgstr "Нет старых виджетов"
815
-
816
- #: main.php:1079
817
- msgid "Replace deprecated widgets with new single filter widgets"
818
- msgstr "Заменить устаревшие виджеты фильтров новыми виджетами"
819
-
820
- #: main.php:1102
821
  msgid "Custom CSS Style:"
822
- msgstr "Пользовательский Стиль CSS:"
823
-
824
- #: main.php:1266 includes/paid.php:1649 templates/settings/design.php:161
825
- msgid "Checkbox"
826
- msgstr "Флажок"
827
-
828
- #: main.php:1267 includes/paid.php:1650 templates/settings/design.php:417
829
- msgid "Radio"
830
- msgstr "Переключатель"
831
-
832
- #: main.php:1268 includes/paid.php:1648
833
- msgid "Select"
834
- msgstr "Выбор"
835
-
836
- #: main.php:1269 includes/paid.php:1651 templates/settings/design.php:12
837
- #: templates/settings/design.php:27
838
- msgid "Color"
839
- msgstr "Цвет"
840
-
841
- #: main.php:1270 includes/paid.php:1652
842
- msgid "Image"
843
- msgstr "Картинки"
844
-
845
- #: main.php:1271 templates/settings/design.php:634
846
- msgid "Slider"
847
- msgstr "Слайдер"
848
-
849
- #: main.php:1272
850
- msgid "Tag cloud"
851
- msgstr "Облако Тегов"
852
 
853
- #: main.php:1547 templates/color.php:206 templates/checkbox.php:140
854
- #: templates/disabled/color.php:197 templates/disabled/checkbox.php:130
 
 
855
  msgid "Show value(s)"
856
  msgstr "Показать значение(я)"
857
 
858
- #: main.php:1548
859
  msgid "Hide value(s)"
860
  msgstr "Скрыть значение(я)"
861
 
862
- #: main.php:1549
863
  msgid "Unselect all"
864
- msgstr "Сбросить все"
865
 
866
- #: main.php:1550
867
  msgid "Nothing is selected"
868
  msgstr "Ничего не выбрано"
869
 
870
- #: main.php:1551
871
  msgid "products"
872
  msgstr "продукты"
873
 
874
- #: main.php:1639
875
  msgid "Activate WooCommerce plugin before"
876
- msgstr "Активируйте плагин WooCommerce перед "
877
 
878
- #: main.php:1645
879
  msgid "Update WooCommerce plugin"
880
  msgstr "Обновите плагин WooCommerce"
881
 
882
- #: templates/admin.php:2
883
- msgid ""
884
- "Widget will be removed in future please use <strong>AAPF Filters "
885
- "Group</strong> instead."
886
- msgstr ""
887
- "Виджет будет удален в будущем, пожалуйста используйте <strong>AAPF Filters "
888
- "Group</strong> вместо этого."
889
-
890
- #: templates/admin.php:3
891
- #, php-format
892
- msgid "You can add filter to %s that has limitation"
893
- msgstr "Пользовательский CSS для выбранного блока"
894
-
895
- #: templates/admin.php:3
896
- msgid "Filters group"
897
- msgstr "Группа фильтров"
898
 
899
- #: templates/filters_group_simple.php:6 templates/filters_group.php:12
900
- msgid "Filters In Group"
901
- msgstr "Фильтры в группе"
 
902
 
903
- #: templates/filters_group_simple.php:16 templates/filters_group.php:22
904
- msgid "Add filter"
905
  msgstr "Добавить фильтр"
906
 
907
- #: templates/filters_group_simple.php:17 includes/new_widget.php:283
908
- msgid "Create Filter"
909
- msgstr "Создать фильтр"
910
 
 
 
911
  #: templates/filters_group_simple.php:32 templates/filters_group_simple.php:57
912
- #: includes/new_widget.php:127 includes/new_widget.php:281
913
- #: includes/custom_post.php:50 includes/custom_post.php:522
914
  msgid "Edit"
915
  msgstr "Редактировать"
916
 
917
- #: templates/filters_group_simple.php:42 templates/filter_post_simple.php:153
918
- msgid "Need more options? Create it on "
919
- msgstr "Нужно больше опций? Создайте на странице "
920
-
921
- #: templates/filters_group_simple.php:43 includes/new_widget.php:95
922
- msgid "Manage groups"
923
- msgstr "Управление группами"
924
 
925
- #: templates/filters_group_simple.php:44 templates/filter_post_simple.php:155
926
- msgid " page"
927
- msgstr " "
928
 
929
- #: templates/filters_group.php:4 includes/new_widget.php:102
930
- #: includes/new_widget.php:256
931
- msgid "Custom CSS class"
932
- msgstr "Пользовательский CSS класс"
933
 
934
- #: templates/filters_group.php:7
935
- msgid "use white space for multiple classes"
936
- msgstr "использовать пробел для нескольких классов"
937
 
938
- #: templates/filters_group.php:23 templates/filter_post_simple.php:154
939
- #: includes/new_widget.php:253
940
- msgid "Manage filters"
941
- msgstr "Управление фильтрами"
942
 
943
- #: templates/filters_group.php:40 templates/filters_group.php:60
944
- msgid "Width"
945
- msgstr "Ширина"
946
 
947
- #: templates/include_exclude_list.php:3
948
- msgid "Include / Exclude List"
949
- msgstr "список «Включения / Исключения»"
950
 
951
- #: templates/color_ajax.php:3
952
- msgid "Color pick"
953
- msgstr "Выбор цвета"
954
 
955
- #: templates/color_ajax.php:3
956
- msgid "Image pick"
957
- msgstr "Выбор изображения"
 
958
 
959
- #: templates/filter_post.php:12 templates/filters_information.php:7
960
- #: templates/filters_information.php:9
961
- msgid "Widget Type"
962
- msgstr "Тип Виджета"
963
 
964
- #: templates/filter_post.php:16 includes/new_widget.php:260
965
- #: includes/divi-builder.php:26 includes/custom_post.php:350
966
- #: includes/visual-composer.php:26 templates/settings/design.php:843
967
- #: addons/deprecated_compat/widget.php:263
968
- #: includes/filters/display_widget.php:235
969
- msgid "Filter"
970
- msgstr "Фильтр"
971
 
972
- #: templates/filter_post.php:36 templates/filter_post_simple.php:18
973
- #: includes/paid.php:1621
974
- msgid "Filter By"
975
- msgstr "Фильтровать по"
976
 
977
- #: templates/filter_post.php:41 templates/filter_post.php:83
978
- #: templates/filter_post_simple.php:23 templates/filter_post_simple.php:65
979
- #: includes/custom_post.php:360 includes/custom_post.php:437
980
- #: includes/paid.php:1614 includes/paid.php:1623 includes/paid.php:1629
981
- #: addons/deprecated_compat/widget.php:171
982
- #: includes/filters/display_widget.php:161
983
- msgid "Attribute"
984
- msgstr "Атрибуты"
985
 
986
- #: templates/filter_post.php:45 templates/filter_post_simple.php:27
987
- #: includes/custom_post.php:361 includes/custom_post.php:373
988
- #: includes/custom_post.php:392 includes/custom_post.php:441
989
- #: includes/paid.php:1624 addons/deprecated_compat/widget.php:175
990
- #: includes/filters/display_widget.php:165
991
- msgid "Tag"
992
- msgstr "Теги"
993
 
994
- #: templates/filter_post.php:49 templates/filter_post_simple.php:31
995
- #: includes/custom_post.php:445 includes/paid.php:435
996
- #: addons/deprecated_compat/widget.php:179
997
- #: includes/filters/display_widget.php:169
998
- msgid "Product Category"
999
- msgstr "Категория продукта"
1000
 
1001
- #: templates/filter_post.php:56 templates/filter_post_simple.php:38
1002
- #: includes/custom_post.php:403 includes/custom_post.php:452
1003
- #: addons/deprecated_compat/widget.php:186
1004
- #: includes/filters/display_widget.php:176
1005
- msgid "Rating"
1006
- msgstr "Рейтинг"
1007
 
1008
- #: templates/filter_post.php:85 templates/filter_post_simple.php:67
1009
- #: includes/custom_post.php:381
1010
- msgid "Price"
1011
- msgstr "Цена"
1012
 
1013
- #: templates/filter_post.php:92 templates/filter_post_simple.php:74
1014
- #: includes/paid.php:1637
1015
- msgid "Custom Taxonomies"
1016
- msgstr "Пользовательские таксономии"
1017
 
1018
- #: templates/filter_post.php:115 templates/filter_post_simple.php:97
1019
- #: includes/paid.php:1646
1020
- msgid "Type"
1021
- msgstr "Тип"
1022
 
1023
- #: templates/filter_post.php:162 templates/filter_post_simple.php:143
1024
- msgid "Operator"
1025
- msgstr "Оператор"
1026
 
1027
- #: templates/filter_post.php:169
1028
- msgid "Values Order"
1029
- msgstr "Сортировка Значений"
1030
 
1031
- #: templates/filter_post.php:172
1032
- msgid "Alpha"
1033
- msgstr "По алфавиту"
1034
 
1035
- #: templates/filter_post.php:172
1036
- msgid "Numeric"
1037
- msgstr "Числовая"
1038
 
1039
- #: templates/filter_post.php:178
1040
- msgid "Order Type"
1041
- msgstr "Тип сортировки"
 
 
 
 
 
1042
 
1043
- #: templates/filter_post.php:180
1044
- msgid "Ascending"
1045
- msgstr "По возрастанию"
 
 
 
1046
 
1047
- #: templates/filter_post.php:180
1048
- msgid "Descending"
1049
- msgstr "По убывания"
 
 
 
1050
 
1051
- #: templates/filter_post.php:222
1052
- msgid "Ranges: 1,100,200,1000"
1053
- msgstr "Диапазон: 1,100,200,1000"
 
 
1054
 
1055
- #: templates/filter_post.php:225
1056
- msgid "1.00-100.00, 101.00-200.00, 201.00-1000.00"
1057
- msgstr "1.00-100.00, 101.00-200.00, 201.00-1000.00"
1058
 
1059
- #: templates/filter_post.php:226
1060
- msgid "1.00-100.00, 100.00-200.00, 200.00-1000.00"
1061
- msgstr "1.00-100.00, 100.00-200.00, 200.00-1000.00"
1062
 
1063
- #: templates/filter_post.php:227
1064
- msgid "1.00-99.99, 100.00-199.99, 200.00-999.99"
1065
- msgstr "1.00-99.99, 100.00-199.99, 200.00-999.99"
 
 
 
 
 
 
 
 
1066
 
1067
- #: templates/filter_post.php:239
1068
- msgid "Hide first and last ranges without products"
1069
- msgstr "Скрыть первые и последние диапазоны без продуктов"
 
 
 
 
 
1070
 
1071
- #: templates/filter_post.php:244
1072
- msgid "Show last range to the infinity"
1073
- msgstr "Заменить последнее значение диапазона знаком бесконечности"
1074
 
1075
- #: templates/filter_post.php:248
1076
- msgid "Infinity text"
1077
- msgstr "Текст вместо знака бесконечности"
1078
 
1079
- #: templates/filter_post.php:263 templates/filter_post.php:429
1080
- msgid "Disable multiple selection?"
1081
- msgstr "Отключить множественный выбор"
1082
 
1083
- #: templates/filter_post.php:269
1084
- msgid "Text before price:"
1085
- msgstr "Текст перед ценой: "
 
 
 
1086
 
1087
- #: templates/filter_post.php:273
1088
- msgid "after:"
1089
- msgstr "после: "
1090
 
1091
- #: templates/filter_post.php:280
1092
- msgid "Enable Slider Inputs"
1093
- msgstr "Включить Поля Слайдера"
 
 
 
 
1094
 
1095
- #: templates/filter_post.php:284
1096
- msgid "Use custom values(comma separated):"
1097
- msgstr "Использовать пользовательские значения (разделяйте запятой): "
1098
 
1099
- #: templates/filter_post.php:286
1100
- msgid "* use numeric values only, strings will not work as expected"
1101
- msgstr ""
1102
- "* используйте только числовые значения, текстовые значения не работают как "
1103
- "ожидается"
1104
 
1105
- #: templates/filter_post.php:294
1106
- msgid "Use current product category to get child"
1107
- msgstr "Использовать текущую категорию, что бы получить дочерние"
 
 
 
 
1108
 
1109
- #: templates/filter_post.php:299
1110
- msgid "Deep level:"
1111
- msgstr "Уровень глубины: "
 
1112
 
1113
- #: templates/filter_post.php:305
1114
- msgid "Product Category:"
1115
- msgstr "Категория Продуктов: "
1116
 
1117
- #: templates/filter_post.php:313
1118
- msgid "None"
1119
- msgstr "Нет"
 
1120
 
1121
- #: templates/filter_post.php:338
1122
- msgid "First Element Text"
1123
- msgstr "Текст первого элемента"
 
1124
 
1125
- #: templates/filter_post.php:339 addons/deprecated_compat/widget.php:819
1126
- #: includes/filters/display_widget.php:506
1127
- msgid "Any"
1128
- msgstr "Всё"
1129
 
1130
- #: templates/filter_post.php:344
1131
- msgid "Multiple select"
1132
- msgstr "Множественный выбор"
1133
 
1134
- #: templates/filter_post.php:349 templates/filters_information.php:5
1135
- msgid "Advanced Settings"
1136
- msgstr "Продвинутые Настройки"
1137
 
1138
- #: templates/filter_post.php:355
1139
- msgid "Attribute Values count"
1140
- msgstr "Количество Значений Атрибута"
1141
 
1142
- #: templates/filter_post.php:356
1143
- msgid "From settings"
1144
- msgstr "С настроек"
1145
 
1146
- #: templates/filter_post.php:357
1147
- msgid "Show/Hide button"
1148
- msgstr "Кнопка Показать/Скрыть"
1149
 
1150
- #: templates/filter_post.php:360
1151
- msgid "Always visible"
1152
- msgstr "Всегда видимый"
1153
 
1154
- #: templates/filter_post.php:361
1155
- msgid "Always hidden"
1156
- msgstr "Всегда скрытый"
1157
 
1158
- #: templates/filter_post.php:369
1159
- msgid "Use specific number style"
1160
- msgstr "Использовать другие стили чисел"
1161
 
1162
- #: templates/filter_post.php:373
1163
- msgid "Thousand Separator"
1164
- msgstr "Разделитель тысяч"
1165
 
1166
- #: templates/filter_post.php:377 includes/paid.php:94
1167
- msgid "Decimal Separator"
1168
- msgstr "Десятичный разделитель"
1169
 
1170
- #: templates/filter_post.php:381 includes/paid.php:100
1171
- msgid "Number Of Decimal"
1172
- msgstr "Количество знаков после запятой"
1173
 
1174
- #: templates/filter_post.php:396
1175
- msgid "Enable collapse option"
1176
- msgstr "Включить опцию свертывания"
1177
 
1178
- #: templates/filter_post.php:402
1179
- msgid "Collapse this widget on load?"
1180
- msgstr "Свернуть этот виджет при загрузке?"
1181
 
1182
- #: templates/filter_post.php:408 templates/filter_post.php:580
1183
- msgid "Hide collapse arrow?"
1184
- msgstr "Скрыть стрелку для сворачивания виджета?"
1185
 
1186
- #: templates/filter_post.php:415
1187
- msgid "Show hierarchical values as a tree with hidden child values on load?"
1188
- msgstr ""
1189
- "Показать иерархические значения в виде дерева со скрытыми дочерними "
1190
- "значениями при загрузке?"
1191
 
1192
- #: templates/filter_post.php:425
1193
- msgid "Display value with color/image box?"
1194
- msgstr "Отображать значение возле цвета/изображения?"
1195
 
1196
- #: templates/filter_post.php:432
1197
- msgid "Size of blocks(Height x Width)"
1198
- msgstr "Размер блока(Высота х Ширина)"
1199
 
1200
- #: templates/filter_post.php:436
1201
- msgid "2em x 2em"
1202
- msgstr "2em x 2em"
 
1203
 
1204
- #: templates/filter_post.php:437
1205
- msgid "1em x 1em"
1206
- msgstr "1em x 1em"
1207
 
1208
- #: templates/filter_post.php:438
1209
- msgid "1em x 2em"
1210
- msgstr "1em x 2em"
1211
 
1212
- #: templates/filter_post.php:439
1213
- msgid "2em x 3em"
1214
- msgstr "2em x 3em"
1215
 
1216
- #: templates/filter_post.php:440
1217
- msgid "2em x 4em"
1218
- msgstr "2em x 4em"
1219
 
1220
- #: templates/filter_post.php:441
1221
- msgid "3em x 3em"
1222
- msgstr "3em x 3em"
1223
 
1224
- #: templates/filter_post.php:442
1225
- msgid "3em x 4em"
1226
- msgstr "3em x 4em"
1227
 
1228
- #: templates/filter_post.php:443
1229
- msgid "3em x 5em"
1230
- msgstr "3em x 5em"
1231
 
1232
- #: templates/filter_post.php:444
1233
- msgid "4em x 4em"
1234
- msgstr "4em x 4em"
1235
 
1236
- #: templates/filter_post.php:445
1237
- msgid "4em x 5em"
1238
- msgstr "4em x 5em"
1239
 
1240
- #: templates/filter_post.php:446
1241
- msgid "5em x 5em"
1242
- msgstr "5em x 5em"
1243
 
1244
- #: templates/filter_post.php:447
1245
- msgid "Custom size"
1246
- msgstr "Пользовательский размер"
1247
 
1248
- #: templates/filter_post.php:455
1249
- msgid "Custom size(Height x Width)"
1250
- msgstr "Пользовательский размер(Высота х Ширина)"
1251
 
1252
- #: templates/filter_post.php:462
1253
- msgid "Checked type"
1254
- msgstr "Стиль выбора"
1255
 
1256
- #: templates/filter_post.php:467
1257
- msgid "Rotate"
1258
- msgstr "Поворот"
1259
 
1260
- #: templates/filter_post.php:468
1261
- msgid "Scale"
1262
- msgstr "Масштаб"
1263
 
1264
- #: templates/filter_post.php:469
1265
- msgid "Blue Shadow"
1266
- msgstr "Blue Shadow"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1267
 
1268
- #: templates/filter_post.php:470
1269
- msgid "Custom CSS"
1270
- msgstr "Пользовательский CSS"
1271
 
1272
- #: templates/filter_post.php:478
1273
- msgid "Custom CSS for Checked block"
1274
- msgstr "Пользовательский CSS для блока выбора"
1275
 
1276
- #: templates/filter_post.php:485
1277
- msgid "Icons"
1278
- msgstr "Иконки"
1279
 
1280
- #: templates/filter_post.php:487
1281
- msgid "Title Icons"
1282
- msgstr "Иконки названия"
1283
 
1284
- #: templates/filter_post.php:489 templates/filter_post.php:495
1285
- #: includes/paid.php:1676 templates/paid/filters_search_box.php:43
1286
- msgid "Before"
1287
- msgstr "Перед"
1288
 
1289
- #: templates/filter_post.php:490 templates/filter_post.php:496
1290
- #: includes/paid.php:1677 templates/paid/filters_search_box.php:44
1291
- msgid "After"
1292
- msgstr "После"
1293
 
1294
- #: templates/filter_post.php:493
1295
- msgid "Value Icons"
1296
- msgstr "Иконки значений"
1297
 
1298
- #: templates/filter_post.php:506
1299
- msgid "CSS Class"
1300
- msgstr "CSS класс"
1301
 
1302
- #: templates/filter_post.php:508
1303
- msgid "(use white space for multiple classes)"
1304
- msgstr "(используйте пробел для разделения классов)"
1305
 
1306
- #: templates/filter_post.php:513
1307
- msgid "Tags Cloud Height:"
1308
- msgstr "Высота Облака Тегов: "
1309
 
1310
- #: templates/filter_post.php:517
1311
- msgid "Min Font Size:"
1312
- msgstr "Минимальный Размер Шрифта: "
1313
 
1314
- #: templates/filter_post.php:521
1315
- msgid "Max Font Size:"
1316
- msgstr "Максимальный Размер Шрифта: "
1317
 
1318
- #: templates/filter_post.php:525
1319
- msgid "Max Tags Count:"
1320
- msgstr "Максимальное Количество Тегов: "
1321
 
1322
- #: templates/filter_post.php:533
1323
- msgid "Use min price"
1324
- msgstr "Использовать пользовательскую минимальную цену"
 
1325
 
1326
- #: templates/filter_post.php:542
1327
- msgid "Use max price"
1328
- msgstr "Использовать пользовательскую максимальную цену"
1329
 
1330
- #: templates/filter_post.php:551
1331
- msgid "Filter Box Height:"
1332
- msgstr "Высота Блока с Фильтром"
1333
 
1334
- #: templates/filter_post.php:555
1335
- msgid "Scroll Theme:"
1336
- msgstr "Тема для Полосы Прокрутки: "
 
1337
 
1338
- #: templates/filter_post.php:574
1339
- msgid "Show if nothing is selected"
1340
- msgstr "Показать если ничего не выбрано"
 
1341
 
1342
- #: templates/filter_post.php:586 templates/filters_information.php:5
1343
- msgid "Hide this widget on load?"
1344
- msgstr "Скрыть этот виджет при загрузке?"
1345
 
1346
- #: templates/filter_post.php:625
1347
- msgid "Widget Output Limitations"
1348
- msgstr "Ограничение Отображения Виджета"
1349
 
1350
- #: templates/filter_post.php:627
1351
- msgid "Product Category Value Limitation"
1352
- msgstr "Ограничение Отображения по Категориям"
1353
 
1354
- #: templates/filter_post.php:655
1355
- msgid "Hide button"
1356
- msgstr "Скрыть кнопку"
1357
 
1358
- #: templates/filter_post.php:657
1359
- msgid "Do not hide"
1360
- msgstr "Не прятать"
1361
 
1362
- #: templates/filter_post.php:658
1363
- msgid "Hide only when no filters on page"
1364
- msgstr "Скрыть только когда нет фильтров на странице"
1365
 
1366
- #: templates/filter_post.php:659
1367
- msgid "Hide when no filters on page or page not filtered"
1368
- msgstr "Скрыть, когда нет фильтров на странице или страница не отфильтрована"
1369
 
1370
- #: templates/groups_information.php:2 templates/filters_information.php:3
1371
- msgid "Get more information on BeRocket Documentation"
1372
- msgstr "Получить больше информации о документации BeRocket"
 
1373
 
1374
- #: templates/groups_information.php:3
1375
  msgid ""
1376
- "Do not use multiple filters with same attribute on one page! We will not "
1377
- "guarantee normal filters works in that case."
1378
  msgstr ""
1379
- "Не используйте несколько фильтров с одинаковым атрибутом на одной странице. "
1380
- "Мы не гарантируем нормальную работу фильтров в этом случае."
1381
 
1382
- #: templates/groups_information.php:4
1383
- msgid ""
1384
- "P.S. No, using sub-categories for different filters is not normal. Please "
1385
- "use attributes instead"
1386
- msgstr ""
1387
- "P.S. Нет, использовать подкатегории для разных фильтров не нормально. "
1388
- "Пожалуйста используйте атрибуты вместо этого"
1389
 
1390
- #: templates/groups_information.php:5 includes/custom_post.php:134
1391
- #: includes/custom_post.php:563
1392
- msgid "Conditions"
1393
- msgstr "Условия"
1394
 
1395
- #: templates/groups_information.php:6
1396
- msgid "Group without any condition will be displayed on all pages"
1397
- msgstr "Группы без условий будут отображаться на всех страницах"
1398
 
1399
- #: templates/groups_information.php:7
1400
- msgid "Connection between condition can be AND and OR"
1401
- msgstr "Соединение между условиями может быть И и ИЛИ"
1402
 
1403
- #: templates/groups_information.php:8
1404
- msgid "<strong>AND</strong> uses between condition in one section"
1405
- msgstr "<strong>И</strong> используется между условиями в одной секции"
1406
 
1407
- #: templates/groups_information.php:9
1408
- msgid "<strong>OR</strong> uses between different sections with conditions"
1409
- msgstr "<strong>ИЛИ</strong> используется между разными секциями с условиями"
1410
 
1411
- #: templates/groups_information.php:10
1412
- msgid "To display one group on different pages use OR condition"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1413
  msgstr ""
1414
- "Для отображения одной группы на разных страницах используйте условие ИЛИ"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1415
 
1416
  #: templates/filters_information.php:4
1417
  msgid "How to hide filter on page load?"
@@ -1419,8 +1966,28 @@ msgstr "Как скрыть фильтры при загрузке страни
1419
 
1420
  #: templates/filters_information.php:5
1421
  #, php-format
1422
- msgid "Enable in <strong>%s</strong> option <strong>%s</strong>"
1423
- msgstr "Включите в <strong>%s</strong> опцию <strong>%s</strong>"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1424
 
1425
  #: templates/filters_information.php:6
1426
  msgid "How to add reset filters button?"
@@ -1428,13 +1995,14 @@ msgstr "Как добавить кнопку сброса фильтров?"
1428
 
1429
  #: templates/filters_information.php:7 templates/filters_information.php:9
1430
  #, php-format
1431
- msgid "Select <strong>%s</strong> in option <strong>%s</strong>"
1432
- msgstr "Выберете <strong>%s</strong> в опции <strong>%s</strong>"
1433
 
1434
- #: templates/filters_information.php:7 includes/custom_post.php:352
1435
- #: includes/display_filter/reset_button.php:10
1436
- msgid "Reset Products button"
1437
- msgstr "Кнопка Сброса фильтров"
 
1438
 
1439
  #: templates/filters_information.php:8
1440
  msgid ""
@@ -1444,20 +2012,15 @@ msgstr ""
1444
  "Как добавить кнопку обновления продуктов? (для фильтрации продуктов только "
1445
  "после нажатия на кнопку)"
1446
 
1447
- #: templates/filters_information.php:9 includes/custom_post.php:351
1448
- #: includes/display_filter/update_button.php:10
1449
- msgid "Update Products button"
1450
- msgstr "Кнопка Фильтрации Продуктов"
1451
-
1452
- #: templates/filters_information.php:17
1453
  msgid ""
1454
- "Title will be displayed as widget title.<br>You can write text, that want to "
1455
- "display above filter"
1456
  msgstr ""
1457
- "Заголовок будет отображаться как заголовок виджета. <br> Вы можете написать "
1458
- "текст, который хотите отобразить над фильтром"
1459
 
1460
- #: templates/filters_information.php:24
1461
  msgid ""
1462
  "Where filters must be displayed.<br>Filter will be displayed on all pages if "
1463
  "do not have conditions.<br><strong>Please first try to add filter without "
@@ -1467,7 +2030,15 @@ msgstr ""
1467
  "страницах, если нет условий. <br> <strong> Сначала попробуйте добавить "
1468
  "фильтр без каких-либо условий, чтобы убедиться, что он работает </strong>."
1469
 
1470
- #: templates/filters_information.php:31
 
 
 
 
 
 
 
 
1471
  msgid ""
1472
  "All that can be displayed you can select there<h3>Variants:</h3><ul><li>"
1473
  "<strong>Filter</strong>(main type) - filters by attributes, categories, "
@@ -1487,7 +2058,7 @@ msgstr ""
1487
  "фильтров</strong> - отображать выбранные фильтры и предоставлять возможность "
1488
  "отключить их в одном месте</li></ul>"
1489
 
1490
- #: templates/filters_information.php:35
1491
  msgid ""
1492
  "Select attribute that you need to filter by.<br>You can use for filtering "
1493
  "price, attributes, categories, tags etc"
@@ -1495,11 +2066,25 @@ msgstr ""
1495
  "Выберите атрибут, по которому нужно выполнить фильтрацию. <br> Вы можете "
1496
  "использовать для фильтрации цену, атрибуты, категории, теги и т. д."
1497
 
1498
- #: templates/filters_information.php:42
1499
- msgid "Filter selection type. This option change how filter will be look like."
1500
- msgstr "Тип выбора фильтра. Эта опция изменяет внешний вид фильтра."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1501
 
1502
- #: templates/filters_information.php:49 templates/filters_information.php:72
1503
  msgid ""
1504
  "Shortcode to use this filters in any place of your site will be displayed "
1505
  "there<br><strong>Please use widgets if you do not know how shortcode "
@@ -1508,11 +2093,11 @@ msgstr ""
1508
  "Шорткод для использования фильтров в любом месте вашего сайта.<br> <strong> "
1509
  "Используйте виджеты, если Вы не знаете, как работает шорткод </strong>"
1510
 
1511
- #: templates/filters_information.php:53
1512
  msgid "Save filter after setup to use it in widgets"
1513
  msgstr "Сохранить фильтр после настройки, чтобы использовать его в виджетах"
1514
 
1515
- #: templates/filters_information.php:59 templates/filters_information.php:68
1516
  msgid ""
1517
  "You can use widget to display filters on your shop page.<br><strong>Use "
1518
  "sidebar, that displayed on shop page</strong>"
@@ -1521,1301 +2106,1399 @@ msgstr ""
1521
  "магазина. <br> <strong> Использовать боковую панель, которая отображается на "
1522
  "странице магазина </strong>"
1523
 
1524
- #: includes/functions.php:764
1525
- msgid "Widget Title"
1526
- msgstr "Название Виджета"
 
 
1527
 
1528
- #: includes/functions.php:776
1529
- msgid "Label(checkbox/radio)"
 
 
1530
  msgstr ""
1531
- "Надпись (checkbox/radio)\n"
1532
-
1533
- #: includes/functions.php:788
1534
- msgid "Drop-Down"
1535
- msgstr "Выпадающий Список"
1536
-
1537
- #: includes/functions.php:800
1538
- msgid "Slider Inputs"
1539
- msgstr "Поля для ввода в слайдере"
1540
-
1541
- #: includes/functions.php:812
1542
- msgid "Description Block"
1543
- msgstr "Блок с Описанием"
1544
-
1545
- #: includes/functions.php:824
1546
- msgid "Description Block Border"
1547
- msgstr "Граница Блока Описания"
1548
-
1549
- #: includes/functions.php:836
1550
- msgid "Description Block Title"
1551
- msgstr "Заголовок Блока Описания"
1552
-
1553
- #: includes/functions.php:848
1554
- msgid "Description Block Text"
1555
- msgstr "Текст Блока Описания"
1556
-
1557
- #: includes/functions.php:860
1558
- msgid "Selected filters area text"
1559
- msgstr "Текст Области Выбранных Фильтров"
1560
-
1561
- #: includes/functions.php:872
1562
- msgid "Selected filters area mouse over the text"
1563
- msgstr "Текст при наведении курсора Области Выбранных Фильтров"
1564
-
1565
- #: includes/functions.php:884
1566
- msgid "Selected filters area link background"
1567
- msgstr "Фон ссылки в Область Выбранных Фильтров"
1568
-
1569
- #: includes/functions.php:896
1570
- msgid "Selected filters area link border"
1571
- msgstr "Рамка для ссылки в Область Выбранных Фильтров"
1572
-
1573
- #: includes/new_widget.php:5
1574
- msgid "AAPF Filters Group"
1575
- msgstr "AAPF Группа Фильтров"
1576
-
1577
- #: includes/new_widget.php:6
1578
- msgid "AJAX Product Filters. Group of filters"
1579
- msgstr "AJAX Фильтры Продуктов. Группа фильтров"
1580
-
1581
- #: includes/new_widget.php:106 includes/divi-builder.php:79
1582
- #: includes/paid.php:282
1583
- msgid "Group"
1584
- msgstr "Группа"
1585
-
1586
- #: includes/new_widget.php:112 includes/divi-builder.php:70
1587
- msgid "--Please select group--"
1588
- msgstr "--Пожалуйста, выберите группу--"
1589
-
1590
- #: includes/new_widget.php:129
1591
- msgid "Create Group"
1592
- msgstr "Создать группу"
1593
-
1594
- #: includes/new_widget.php:136
1595
- msgid "AAPF Filter Single"
1596
- msgstr "AAPF Один Фильтр"
1597
-
1598
- #: includes/new_widget.php:137
1599
- msgid "AJAX Product Filters. Single Filter"
1600
- msgstr "AJAX Фильтры Продуктов. Одиночный фильтр"
1601
-
1602
- #: includes/new_widget.php:266 includes/divi-builder.php:17
1603
- #: includes/visual-composer.php:10 includes/visual-composer.php:36
1604
- msgid "--Please select filter--"
1605
- msgstr "--Пожалуйста, выберите фильтр--"
1606
-
1607
- #: includes/divi-builder.php:6 includes/visual-composer.php:19
1608
- msgid "Single Filter"
1609
- msgstr "Одиночный фильтр"
1610
-
1611
- #: includes/divi-builder.php:59 includes/visual-composer.php:45
1612
- msgid "Group Filter"
1613
- msgstr "Группа фильтров"
1614
 
1615
- #: includes/custom_post.php:43 includes/custom_post.php:45
1616
- #: includes/custom_post.php:46
1617
- msgid "Product Filter"
1618
- msgstr "Фильтры продуктов"
 
 
 
1619
 
1620
- #: includes/custom_post.php:47
1621
- msgctxt "Admin menu name"
1622
- msgid "Filters"
1623
- msgstr "Фильтры"
1624
 
1625
- #: includes/custom_post.php:48
1626
- msgid "Add Filter"
1627
- msgstr "Добавить фильтр"
1628
 
1629
- #: includes/custom_post.php:49
1630
- msgid "Add New Filter"
1631
- msgstr "Добавить новый фильтр"
1632
 
1633
- #: includes/custom_post.php:51
1634
- msgid "Edit Filter"
1635
- msgstr "Редактировать фильтр"
1636
 
1637
- #: includes/custom_post.php:52
1638
- msgid "New Filter"
1639
- msgstr "Новый фильтр"
 
1640
 
1641
- #: includes/custom_post.php:53
1642
- msgid "View Filters"
1643
- msgstr "Просмотр фильтров"
1644
 
1645
- #: includes/custom_post.php:54
1646
- msgid "View Filter"
1647
- msgstr "Просмотр фильтра"
1648
 
1649
- #: includes/custom_post.php:55
1650
- msgid "Search Product Filters"
1651
- msgstr "Поиск Фильтров Продуктов"
 
 
 
 
 
 
 
1652
 
1653
- #: includes/custom_post.php:56
1654
- msgid "No Product Filters found"
1655
- msgstr "Нет продуктов после фильтрации"
 
 
 
 
1656
 
1657
- #: includes/custom_post.php:57
1658
- msgid "No Product Filters found in trash"
1659
- msgstr "Фильтры товаров не найдены в корзине"
 
 
 
 
1660
 
1661
- #: includes/custom_post.php:59
1662
- msgid "This is where you can add Product Filters."
1663
- msgstr "Здесь Вы можете добавить фильтры продуктов."
 
 
 
1664
 
1665
- #: includes/custom_post.php:135
1666
- msgid "Product Filter Settings"
1667
- msgstr "Настройки Фильтра Продуктов"
 
 
 
 
 
 
 
1668
 
1669
- #: includes/custom_post.php:136 includes/custom_post.php:340
1670
- #: includes/custom_post.php:565 includes/custom_post.php:646
1671
- msgid "Shortcode"
1672
- msgstr "Shortcode"
 
 
 
1673
 
1674
- #: includes/custom_post.php:137
1675
- msgid "FAQ"
1676
- msgstr "FAQ"
1677
 
1678
- #: includes/custom_post.php:143
1679
- msgid "Setup Widget"
1680
- msgstr "Настройка Виджета"
1681
 
1682
- #: includes/custom_post.php:227
1683
  msgid ""
1684
- "Widget to display single filter in your sidebar. Add it to needed sidebar"
1685
  msgstr ""
1686
- "Виджет для отображения одного фильтра на боковой панели. Добавьте его на "
1687
- "нужную боковую панель"
1688
 
1689
- #: includes/custom_post.php:261
1690
- msgid "Select filter that must be displayed in sidebar"
1691
- msgstr "Выберите фильтр, который должен отображаться на боковой панели"
1692
 
1693
- #: includes/custom_post.php:266
1694
- msgid "Save widget and check it on shop page"
1695
- msgstr "Сохранить виджет и проверить его на странице магазина"
1696
 
1697
- #: includes/custom_post.php:295
1698
- msgid "Hide this filter on:"
1699
- msgstr "Скрыть этот фильтр на:"
 
1700
 
1701
- #: includes/custom_post.php:303 includes/custom_post.php:615
1702
- msgid "Tablet"
1703
- msgstr "Планшетах"
 
1704
 
1705
- #: includes/custom_post.php:318 includes/custom_post.php:638
1706
- msgid "You need save it to get shortcode"
1707
- msgstr "Что бы получить шорткод, Вам нужно его сохранить"
1708
 
1709
- #: includes/custom_post.php:332
1710
- msgid "Now you can use saved filters in widgets"
1711
- msgstr "Теперь Вы можете использовать сохраненные фильтры в виджетах"
1712
 
1713
- #: includes/custom_post.php:333
1714
- msgid "Add widget <strong>AAPF Filter Single</strong> on "
1715
- msgstr "Добавьте виджет <strong>AAPF Filter Single</strong> на "
1716
 
1717
- #: includes/custom_post.php:334
1718
- msgid "WIDGET PAGE"
1719
- msgstr "СТРАНИЦЕ ВИДЖЕТОВ"
1720
 
1721
- #: includes/custom_post.php:339
1722
- msgid "Data"
1723
- msgstr "Данные"
1724
 
1725
- #: includes/custom_post.php:353 includes/display_filter/selected_area.php:14
1726
- msgid "Selected Filters area"
1727
- msgstr "Область с Выбранными Фильтрами"
 
 
 
 
1728
 
1729
- #: includes/custom_post.php:354 includes/paid.php:1505
1730
- msgid "Search Box (DEPRECATED)"
1731
- msgstr "Поле поиска (УСТАРЕЛО)"
 
 
 
 
1732
 
1733
- #: includes/custom_post.php:356
1734
- msgid "Widget type: "
1735
- msgstr "Тип виджета:"
 
 
1736
 
1737
- #: includes/custom_post.php:362 includes/paid.php:1474 includes/paid.php:1625
1738
- msgid "Custom Taxonomy"
1739
- msgstr "Пользовательская таксономия"
 
 
 
 
1740
 
1741
- #: includes/custom_post.php:369 includes/custom_post.php:386
1742
- msgid "Attribute: "
1743
- msgstr "Атрибут:"
 
 
 
 
1744
 
1745
- #: includes/custom_post.php:371 includes/custom_post.php:396
1746
- msgid "Custom Taxonomy: "
1747
- msgstr "Пользовательские Таксономии:"
 
 
 
 
 
1748
 
1749
- #: includes/custom_post.php:388 includes/paid.php:1478
1750
- msgid "Stock status"
1751
- msgstr "Наличие"
 
 
 
 
 
1752
 
1753
- #: includes/custom_post.php:390 includes/paid.php:1470
1754
- msgid "Product sub-categories"
1755
- msgstr "Подкатегории Продуктов"
1756
 
1757
- #: includes/custom_post.php:399 includes/paid.php:1482
1758
- msgid "Date"
1759
- msgstr "Дата"
1760
 
1761
- #: includes/custom_post.php:401 includes/paid.php:1486
1762
- msgid "Sale"
1763
- msgstr "Распродажа"
1764
 
1765
- #: includes/custom_post.php:515 includes/custom_post.php:517
1766
- #: includes/custom_post.php:518
1767
- msgid "Product Filter Group"
1768
- msgstr "Группы фильтров продуктов"
1769
 
1770
- #: includes/custom_post.php:519
1771
- msgctxt "Admin menu name"
1772
- msgid "Groups"
1773
- msgstr "Группы"
1774
 
1775
- #: includes/custom_post.php:520
1776
- msgid "Add Filter Group"
1777
- msgstr "Добавить группу фильтров"
 
1778
 
1779
- #: includes/custom_post.php:521
1780
- msgid "Add New Filter Group"
1781
- msgstr "Создать новую группу фильтров"
 
 
 
 
 
1782
 
1783
- #: includes/custom_post.php:523
1784
- msgid "Edit Filter Group"
1785
- msgstr "Редактировать группу фильтров"
 
1786
 
1787
- #: includes/custom_post.php:524
1788
- msgid "New Filter Group"
1789
- msgstr "Новая группа фильтров"
 
 
 
 
 
1790
 
1791
- #: includes/custom_post.php:525
1792
- msgid "View Filter Groups"
1793
- msgstr "Просмотр групп фильтров"
 
1794
 
1795
- #: includes/custom_post.php:526
1796
- msgid "View Filter Group"
1797
- msgstr "Просмотр группы фильтров"
 
 
 
 
 
1798
 
1799
- #: includes/custom_post.php:527
1800
- msgid "Search Product Filter Groups"
1801
- msgstr "Поиск групп фильтров товаров"
 
1802
 
1803
- #: includes/custom_post.php:528
1804
- msgid "No Product Filter Groups found"
1805
- msgstr "Группы фильтров товаров не найдены"
 
 
 
 
 
1806
 
1807
- #: includes/custom_post.php:529
1808
- msgid "No Product Filter Groups found in trash"
1809
- msgstr "Группы товаров не найдены в корзине"
 
1810
 
1811
- #: includes/custom_post.php:531
1812
- msgid "This is where you can add Product Filter Groups."
1813
- msgstr "Здесь Вы можете добавить группы фильтров продуктов."
 
 
 
 
 
1814
 
1815
- #: includes/custom_post.php:564
1816
- msgid "Group Settings"
1817
- msgstr "Настройки Групп"
 
 
 
1818
 
1819
- #: includes/custom_post.php:566
1820
- msgid "Information"
1821
- msgstr "Информация"
1822
 
1823
- #: includes/custom_post.php:607
1824
- msgid "Hide this group on:"
1825
- msgstr "Скрыть эту группу на:"
 
 
 
 
1826
 
1827
- #: includes/custom_post.php:695 includes/paid.php:590 includes/paid.php:621
1828
- #: addons/custom_sidebar/sidebar_include.php:37
1829
- msgid "SHOW FILTERS"
1830
- msgstr "ПОКАЗАТЬ ФИЛЬТРЫ"
 
 
 
1831
 
1832
- #: includes/paid.php:81
1833
- msgid "Hide the Show/Hide value(s) button in the filters"
1834
- msgstr "Скрыть кнопку “Показать/Скрыть значение(я)” в фильтрах"
1835
 
1836
- #: includes/paid.php:88
1837
- msgid "Thousands Separator"
1838
- msgstr "Разделитель тысяч"
 
 
1839
 
1840
- #: includes/paid.php:112
1841
- msgid "Use links for checkboxes and radio filter"
1842
- msgstr "Использовать ссылки для флажков и переключателей фильтров"
1843
 
1844
- #: includes/paid.php:119
1845
- msgid "Use noindex for links"
1846
- msgstr "Используйте noindex для ссылок"
1847
 
1848
- #: includes/paid.php:125 includes/paid.php:137
1849
- msgid "Second+ levels"
1850
- msgstr "Вторые+ уровни"
1851
 
1852
- #: includes/paid.php:126 includes/paid.php:138
1853
- msgid "All levels"
1854
- msgstr "Все уровни"
 
 
1855
 
1856
- #: includes/paid.php:131
1857
- msgid "Use nofollow for links"
1858
- msgstr "Используйте nofollow для ссылок"
 
1859
 
1860
- #: includes/paid.php:149
1861
- msgid "Nice URLs"
1862
- msgstr "Хорошие URL"
 
1863
 
1864
- #: includes/paid.php:154
1865
- msgid ""
1866
- "Works only with SEO friendly urls. WordPress permalinks must be set to Post "
1867
- "name(Custom structure: /%postname%/ )"
1868
- msgstr ""
1869
- "Работает только с SEO дружественными URL. Постоянные ссылки WordPress должны "
1870
- "быть установлены на «Имя публикации» (пользовательская структура: /% "
1871
- "postname% /)"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1872
 
1873
- #: includes/paid.php:157
1874
- msgid "Base Canonical URL"
1875
- msgstr "Не отображать фильтры в Canonical"
1876
 
1877
- #: includes/paid.php:161
1878
- msgid "Use canonical tag without filters on WooCommerce pages"
1879
- msgstr "Используйте канонический тег без фильтров на страницах WooCommerce"
1880
 
1881
- #: includes/paid.php:165 includes/paid.php:1667
1882
- #: templates/paid/filters_search_box.php:34
1883
- msgid "Elements position"
1884
- msgstr "Позиция элементов"
1885
 
1886
- #: includes/paid.php:167
1887
- msgid "Show the number of products before filtering"
1888
- msgstr "Показывать количество продуктов до фильтрации"
1889
 
1890
- #: includes/paid.php:173
1891
- msgid "Show products count before filtering, when using update button"
 
1892
  msgstr ""
1893
- "Показывать количество продуктов до фильтрации при использовании кнопки "
1894
- "обновления"
1895
 
1896
- #: includes/paid.php:179
1897
- msgid "Text that means products"
1898
- msgstr "Текст вместо \"products\""
1899
 
1900
- #: includes/paid.php:185
1901
- msgid "Text for show button"
1902
- msgstr "Текст для кнопки показать"
1903
 
1904
- #: includes/paid.php:198
1905
- msgid "Data cache"
1906
- msgstr "Кэш данных"
1907
 
1908
- #: includes/paid.php:202
1909
- msgid "Turned off"
1910
- msgstr "Выключено"
1911
 
1912
- #: includes/paid.php:203
1913
- msgid "WordPress Cache"
1914
- msgstr "WordPress Кэш"
 
1915
 
1916
- #: includes/paid.php:204
1917
- msgid "Persistent Cache Plugins"
1918
- msgstr "Плагины постоянного кэширования"
1919
 
1920
- #: includes/paid.php:215
1921
- msgid "Display variation image"
1922
- msgstr "Отображать картинку вариации"
1923
 
1924
- #: includes/paid.php:219
1925
- msgid "Display variation image instead of product's when filtering"
1926
- msgstr ""
1927
- "Показывать после фильтрации изображение вариации вместо изображения продукта."
1928
 
1929
- #: includes/paid.php:222
1930
- msgid "Display variation price"
1931
- msgstr "Показывать цену вариации"
 
1932
 
1933
- #: includes/paid.php:226
1934
- msgid "Display variation price instead of product's when filtering"
1935
- msgstr "Показывать после фильтрации цену вариации вместо цены продукта."
 
1936
 
1937
- #: includes/paid.php:229
1938
- msgid "Remember variation options"
1939
- msgstr "Запомнить выбор вариации"
 
1940
 
1941
- #: includes/paid.php:235
1942
- msgid "Use variation options only after search"
1943
- msgstr "Использовать выбор вариации только после поиска"
 
1944
 
1945
- #: includes/paid.php:247
1946
- msgid "Slider has a lot of values"
1947
- msgstr "Ползунок имеет много значений"
 
1948
 
1949
- #: includes/paid.php:251
1950
- msgid ""
1951
- "Enable it if slider has more than 250 values. Hierarchical taxonomy can work "
1952
- "incorrect with sliders"
1953
- msgstr ""
1954
- "Включите настройку, если ползунок имеет более 250 значений. Иерархическая "
1955
- "таксономия может работать некорректно с ползунками"
1956
 
1957
- #: includes/paid.php:261
1958
- msgid "Elements over products"
1959
- msgstr "Элементы над продуктами"
 
1960
 
1961
- #: includes/paid.php:286
1962
- msgid "Add group"
1963
- msgstr "Добавить группу"
 
1964
 
1965
- #: includes/paid.php:386 templates/paid/filters_group.php:68
1966
- #: addons/custom_sidebar/sidebar_include.php:56
1967
- msgid "Collapse Button style"
1968
- msgstr "Стиль кнопки «Свернуть»"
1969
 
1970
- #: includes/paid.php:406
1971
- msgid "Collapse Button Icon style"
1972
- msgstr "Стиль значка кнопки «Свернуть»"
 
 
1973
 
1974
- #: includes/paid.php:479
1975
- msgid "Search Box"
1976
- msgstr "Блок Поиска"
 
1977
 
1978
- #: includes/paid.php:490 includes/paid.php:1496
1979
- msgid "Ranges"
1980
- msgstr "Диапазон"
 
1981
 
1982
- #: includes/paid.php:561
1983
- msgid "Hide \"Show/Hide value(s)\" button"
1984
- msgstr "Скрыть кнопку “Показать/Скрыть значение(я)”"
 
1985
 
1986
- #: includes/paid.php:1576
1987
- msgid "Attributes"
1988
- msgstr "Атрибуты"
 
1989
 
1990
- #: includes/paid.php:1579 templates/paid/filters_search_box.php:9
1991
- msgid "URL to search"
1992
- msgstr "Ссылка для поиска"
 
1993
 
1994
- #: includes/paid.php:1581 templates/paid/filters_search_box.php:11
1995
- msgid "Shop page"
1996
- msgstr "Страница магазина"
 
1997
 
1998
- #: includes/paid.php:1582 templates/paid/filters_search_box.php:12
1999
- msgid "Category page"
2000
- msgstr "Страница категории"
 
2001
 
2002
- #: includes/paid.php:1583 templates/paid/filters_search_box.php:13
2003
- msgid "URL"
2004
- msgstr "Ссылка"
 
2005
 
2006
- #: includes/paid.php:1587 templates/paid/filters_search_box.php:17
2007
- msgid "Category"
2008
- msgstr "Категория"
 
2009
 
2010
- #: includes/paid.php:1597 templates/paid/filters_search_box.php:27
2011
- msgid "URL for search"
2012
- msgstr "Ссылка для поиска"
 
2013
 
2014
- #: includes/paid.php:1601
2015
- msgid "Attributes count"
2016
- msgstr "Количество атрибутов"
 
2017
 
2018
- #: includes/paid.php:1664 templates/paid/filters_search_box.php:31
2019
- msgid "Styles"
2020
- msgstr "Стили"
 
2021
 
2022
- #: includes/paid.php:1669 templates/paid/filters_search_box.php:36
2023
- msgid "Vertical"
2024
- msgstr "Вертикально"
 
2025
 
2026
- #: includes/paid.php:1670 templates/paid/filters_search_box.php:37
2027
- msgid "Horizontal"
2028
- msgstr "Горизонтально"
 
2029
 
2030
- #: includes/paid.php:1674 templates/paid/filters_search_box.php:41
2031
- msgid "Search button position"
2032
- msgstr "Позиция кнопки поиска"
2033
 
2034
- #: includes/paid.php:1678 templates/paid/filters_search_box.php:45
2035
- msgid "Before and after"
2036
- msgstr "До и после"
 
2037
 
2038
- #: includes/paid.php:1682 templates/paid/filters_search_box.php:49
2039
- msgid "Search button text"
2040
- msgstr "Текст на кнопке поиска"
 
2041
 
2042
- #: includes/paid.php:1686 templates/settings/design.php:705
2043
- #: templates/paid/filters_search_box.php:53
2044
- msgid "Background color"
2045
- msgstr "Цвет фона"
2046
 
2047
- #: includes/paid.php:1691 templates/paid/filters_search_box.php:58
2048
- msgid "Background transparency"
2049
- msgstr "Прозрачность фона"
 
2050
 
2051
- #: includes/paid.php:1695 templates/paid/filters_search_box.php:62
2052
- msgid "100%"
2053
- msgstr "100%"
 
2054
 
2055
- #: includes/paid.php:1696 templates/paid/filters_search_box.php:63
2056
- msgid "90%"
2057
- msgstr "90%"
 
2058
 
2059
- #: includes/paid.php:1697 templates/paid/filters_search_box.php:64
2060
- msgid "80%"
2061
- msgstr "80%"
2062
 
2063
- #: includes/paid.php:1698 templates/paid/filters_search_box.php:65
2064
- msgid "70%"
2065
- msgstr "70%"
2066
 
2067
- #: includes/paid.php:1699 templates/paid/filters_search_box.php:66
2068
- msgid "60%"
2069
- msgstr "60%"
2070
 
2071
- #: includes/paid.php:1700 templates/paid/filters_search_box.php:67
2072
- msgid "50%"
2073
- msgstr "50%"
 
2074
 
2075
- #: includes/paid.php:1701 templates/paid/filters_search_box.php:68
2076
- msgid "40%"
2077
- msgstr "40%"
 
2078
 
2079
- #: includes/paid.php:1702 templates/paid/filters_search_box.php:69
2080
- msgid "30%"
2081
- msgstr "30%"
2082
 
2083
- #: includes/paid.php:1703 templates/paid/filters_search_box.php:70
2084
- msgid "20%"
2085
- msgstr "20%"
2086
 
2087
- #: includes/paid.php:1704 templates/paid/filters_search_box.php:71
2088
- msgid "10%"
2089
- msgstr "10%"
2090
 
2091
- #: includes/paid.php:1705 templates/paid/filters_search_box.php:72
2092
- msgid "0%"
2093
- msgstr "0%"
2094
 
2095
- #: includes/paid.php:1716 templates/paid/filters_search_box.php:83
2096
- msgid "Button background color"
2097
- msgstr "Цвет фона кнопки"
 
2098
 
2099
- #: includes/paid.php:1721 templates/paid/filters_search_box.php:88
2100
- msgid "Button background color on mouse over"
2101
- msgstr "Цвет фона кнопки при наведении"
 
2102
 
2103
- #: includes/paid.php:1726 templates/paid/filters_search_box.php:93
2104
- msgid "Button text color"
2105
- msgstr "Цвет текста на кнопке"
2106
 
2107
- #: includes/paid.php:1731 templates/paid/filters_search_box.php:98
2108
- msgid "Button text color on mouse over"
2109
- msgstr "Цвет текста на кнопке при наведении"
2110
 
2111
- #: includes/paid.php:1744
2112
- msgid "Child/Parent Limitation"
2113
- msgstr "Ограничение Дочерних/Родительских"
 
2114
 
2115
- #: includes/paid.php:1747
2116
- msgid "Child Count"
2117
- msgstr "Количество дочерних"
2118
 
2119
- #: includes/paid.php:1748
2120
- msgid "Parent"
2121
- msgstr "Родительские"
2122
 
2123
- #: includes/paid.php:1749 includes/paid.php:1785
2124
- msgid "Child"
2125
- msgstr "Дочерние"
2126
 
2127
- #: includes/paid.php:1753
2128
- msgid "Child depth"
2129
- msgstr "Дочернее дерево"
 
2130
 
2131
- #: includes/paid.php:1756 includes/paid.php:1795
2132
- msgid "\"No values\" messages"
2133
- msgstr "Сообщения «Нет значений»"
 
2134
 
2135
- #: includes/paid.php:1760 includes/paid.php:1799
2136
- msgid "\"Select previous\" messages"
2137
- msgstr "«Выбрать предыдущие» сообщения"
 
2138
 
2139
- #: includes/paid.php:1764
2140
- msgid "\"No Products\" messages"
2141
- msgstr "Сообщения \"Нет товаров\""
 
2142
 
2143
- #: includes/paid.php:1769
2144
- msgid "Child count"
2145
- msgstr "Количество дочерних"
 
 
 
 
 
 
 
 
2146
 
2147
- #: includes/paid.php:1791
2148
- msgid "\"No products\" messages"
2149
- msgstr "Сообщения \"Нет товаров\""
 
 
 
2150
 
2151
- #: includes/paid.php:1812
2152
- msgid "Date Month Dropdown menu"
2153
- msgstr "Выпадающий список для месяца"
2154
 
2155
- #: includes/paid.php:1818
2156
- msgid "Date Year Dropdown menu"
2157
- msgstr "Выпадающий список для года"
 
 
 
 
 
 
 
 
 
 
 
 
2158
 
2159
- #: includes/paid.php:1822
2160
- msgid "Date visual style"
2161
- msgstr "Визуальный стиль даты"
2162
 
2163
- #: includes/paid.php:1863
2164
- msgid "Display only"
2165
- msgstr "Показывать"
 
2166
 
2167
- #: includes/paid.php:1864
2168
- msgid "Remove"
2169
- msgstr "Удалить"
 
2170
 
2171
- #: includes/paid.php:1866
2172
- msgid "values selected in Include / Exclude List"
2173
- msgstr "«Включить / Исключить» значения, выбранные в списке "
2174
 
2175
- #: includes/paid.php:1888
2176
- msgid "Use as numeric"
2177
- msgstr "Использовать как числовой"
 
 
2178
 
2179
- #: includes/paid.php:1901
2180
- msgid "Show product count per attribute value?"
2181
- msgstr "Показывать количество продуктов для каждого атрибута?"
 
2182
 
2183
- #: includes/paid.php:1912
2184
- msgid "Values per row"
2185
- msgstr "Значений в строке"
2186
 
2187
- #: includes/paid.php:2049 includes/paid.php:2894
2188
- #: includes/widget_functions.php:189 includes/widget_functions.php:462
2189
- #: addons/deprecated_compat/widget.php:1756
2190
- #: addons/deprecated_compat/widget.php:2029
2191
- msgid "In stock"
2192
- msgstr "В наличии"
2193
 
2194
- #: includes/paid.php:2056 includes/paid.php:2895
2195
- #: includes/widget_functions.php:190 includes/widget_functions.php:463
2196
- #: addons/deprecated_compat/widget.php:1757
2197
- #: addons/deprecated_compat/widget.php:2030
2198
- msgid "Out of stock"
2199
- msgstr "Нет в наличии"
2200
 
2201
- #: includes/paid.php:2076 includes/paid.php:2898
2202
- msgid "On sale"
2203
- msgstr "Со скидкой"
2204
 
2205
- #: includes/paid.php:2083 includes/paid.php:2899
2206
- msgid "Not on sale"
2207
- msgstr "Без скидки"
 
 
2208
 
2209
- #: includes/paid.php:3051
2210
- msgid "Nice URLs settings"
2211
- msgstr "Настройки хороших URL"
 
 
2212
 
2213
- #. Author of the plugin
2214
- #: includes/visual-composer.php:21 includes/visual-composer.php:47
2215
- msgid "BeRocket"
2216
- msgstr "BeRocket"
 
 
 
 
2217
 
2218
- #: templates/settings/design.php:8 templates/settings/design.php:23
2219
- msgid "Select All"
2220
- msgstr "Выбрать всё"
2221
 
2222
- #: templates/settings/design.php:11 templates/settings/design.php:26
2223
- #: templates/settings/design.php:148 templates/settings/design.php:778
2224
- msgid "Element"
2225
- msgstr "Элемент"
2226
 
2227
- #: templates/settings/design.php:13 templates/settings/design.php:28
2228
- msgid "Font Family"
2229
- msgstr "Шрифт"
2230
 
2231
- #: templates/settings/design.php:14 templates/settings/design.php:29
2232
- msgid "Font-Weight"
2233
- msgstr "Толщина шрифта"
2234
 
2235
- #: templates/settings/design.php:14 templates/settings/design.php:29
2236
- msgid "(depends on font)"
2237
- msgstr "(Зависит от шрифта)"
2238
 
2239
- #: templates/settings/design.php:15 templates/settings/design.php:30
2240
- msgid "Font-Size"
2241
- msgstr "Размер шрифта"
 
 
 
 
2242
 
2243
- #: templates/settings/design.php:16 templates/settings/design.php:31
2244
- #: templates/settings/design.php:156
2245
- msgid "Theme"
2246
- msgstr "Тема"
2247
 
2248
- #: templates/settings/design.php:35 templates/settings/design.php:626
2249
- #: templates/settings/design.php:695 templates/settings/design.php:768
2250
- #: templates/settings/design.php:873
2251
- msgid "Set all to theme default"
2252
- msgstr "Установить всё по умолчанию"
2253
 
2254
- #: templates/settings/design.php:48
2255
- msgid "Select Element"
2256
- msgstr "Выбрать элемент"
2257
 
2258
- #: templates/settings/design.php:59 templates/settings/design.php:71
2259
- #: templates/settings/design.php:112 templates/settings/design.php:119
2260
- #: templates/settings/design.php:134
2261
- msgid "N/A"
2262
- msgstr "Н/Д"
 
 
2263
 
2264
- #: templates/settings/design.php:65 templates/settings/design.php:80
2265
- #: templates/settings/design.php:117 templates/settings/design.php:168
2266
- #: templates/settings/design.php:171 templates/settings/design.php:174
2267
- #: templates/settings/design.php:424 templates/settings/design.php:427
2268
- #: templates/settings/design.php:430 templates/settings/design.php:661
2269
- #: templates/settings/design.php:669 templates/settings/design.php:672
2270
- #: templates/settings/design.php:685 templates/settings/design.php:688
2271
- #: templates/settings/design.php:730 templates/settings/design.php:738
2272
- #: templates/settings/design.php:751 templates/settings/design.php:796
2273
- #: templates/settings/design.php:799 templates/settings/design.php:802
2274
- #: templates/settings/design.php:823 templates/settings/design.php:826
2275
- #: templates/settings/design.php:829 templates/settings/design.php:850
2276
- #: templates/settings/design.php:853 templates/settings/design.php:856
2277
- msgid "Theme Default"
2278
- msgstr "По умолчанию"
2279
 
2280
- #: templates/settings/design.php:125
2281
- msgid "Without Theme"
2282
- msgstr "Без темы"
2283
 
2284
- #: templates/settings/design.php:146
2285
- msgid "Checkbox / Radio"
2286
- msgstr "Флажок / Переключатель"
 
 
 
2287
 
2288
- #: templates/settings/design.php:149 templates/settings/design.php:706
2289
- #: templates/settings/design.php:779
 
2290
  msgid "Border color"
2291
  msgstr "Цвет границы"
2292
 
2293
- #: templates/settings/design.php:150 templates/settings/design.php:780
 
2294
  msgid "Border width"
2295
  msgstr "Ширина границы"
2296
 
2297
- #: templates/settings/design.php:151 templates/settings/design.php:781
 
2298
  msgid "Border radius"
2299
  msgstr "Закругление углов"
2300
 
2301
- #: templates/settings/design.php:152 templates/settings/design.php:782
 
2302
  msgid "Size"
2303
  msgstr "Размер"
2304
 
2305
- #: templates/settings/design.php:153 templates/settings/design.php:708
2306
- #: templates/settings/design.php:783
 
2307
  msgid "Font color"
2308
  msgstr "Цвет шрифта"
2309
 
2310
- #: templates/settings/design.php:154 templates/settings/design.php:784
 
2311
  msgid "Background"
2312
  msgstr "Задний фон"
2313
 
2314
- #: templates/settings/design.php:155
2315
- msgid "Icon"
2316
- msgstr "Иконка"
2317
-
2318
- #: templates/settings/design.php:636
2319
- msgid "Line color"
2320
- msgstr "Цвет линии"
2321
-
2322
- #: templates/settings/design.php:637
2323
- msgid "Back line color"
2324
- msgstr "Цвет заднего фона линии"
2325
-
2326
- #: templates/settings/design.php:638
2327
- msgid "Line height"
2328
- msgstr "Высота линии"
2329
-
2330
- #: templates/settings/design.php:639
2331
- msgid "Line border color"
2332
- msgstr "Цвет границы линии"
2333
-
2334
- #: templates/settings/design.php:640
2335
- msgid "Line border width"
2336
- msgstr "Ширина границы линии"
2337
-
2338
- #: templates/settings/design.php:641
2339
- msgid "Button size"
2340
- msgstr "Размер кнопки"
2341
-
2342
- #: templates/settings/design.php:642
2343
- msgid "Button color"
2344
- msgstr "Цвет кнопки"
2345
-
2346
- #: templates/settings/design.php:643
2347
- msgid "Button border color"
2348
- msgstr "Цвет границы кнопки"
2349
-
2350
- #: templates/settings/design.php:644
2351
- msgid "Button border width"
2352
- msgstr "Ширина границы кнопки"
2353
-
2354
- #: templates/settings/design.php:645
2355
- msgid "Button border radius"
2356
- msgstr "Закругление углов кнопки"
2357
-
2358
- #: templates/settings/design.php:703
2359
- msgid "Product count description before filtering with Apply Filters button"
2360
- msgstr ""
2361
- "Описание количества товаров перед фильтрацией с кнопкой «Кнопка Фильтрации "
2362
- "Продуктов»"
2363
-
2364
- #: templates/settings/design.php:707
2365
- msgid "Font size"
2366
- msgstr "Размер шрифта"
2367
-
2368
- #: templates/settings/design.php:709
2369
- msgid "Show button font size"
2370
- msgstr "Размер шрифта кнопки \"Показать\""
2371
-
2372
- #: templates/settings/design.php:710
2373
- msgid "Show button font color"
2374
- msgstr "Цвет шрифта кнопки \"Показать\""
2375
-
2376
- #: templates/settings/design.php:711
2377
- msgid "Show button font color on mouse over"
2378
- msgstr "Цвет шрифта кнопки \"Показать\" при наведении"
2379
-
2380
- #: templates/settings/design.php:712
2381
- msgid "Close button size"
2382
- msgstr "Размер кнопки \"Закрыть\""
2383
-
2384
- #: templates/settings/design.php:713
2385
- msgid "Close button font color"
2386
- msgstr "Цвет шрифта кнопки \"Закрыть\""
2387
-
2388
- #: templates/settings/design.php:714
2389
- msgid "Close button font color on mouse over"
2390
- msgstr "Цвет шрифта кнопки \"Закрыть\" при наведении"
2391
-
2392
- #: templates/settings/design.php:776
2393
- msgid "Show title only Styles"
2394
- msgstr "Стили для отображаемых названий"
2395
 
2396
- #: templates/settings/design.php:816
2397
  msgid "Title opened"
2398
  msgstr "Название при открытии"
2399
 
2400
- #: templates/settings/design.php:881
 
 
 
 
 
 
 
 
2401
  msgid "Loading icon"
2402
  msgstr "Иконка загрузки"
2403
 
2404
- #: templates/settings/design.php:889
2405
  msgid "Loading icon text"
2406
  msgstr "Текст возле иконки загрузки"
2407
 
2408
- #: templates/settings/design.php:891
2409
  msgid "Above:"
2410
  msgstr "Выше:"
2411
 
2412
- #: templates/settings/design.php:894
2413
  msgid "Below:"
2414
  msgstr "Ниже:"
2415
 
2416
- #: templates/settings/design.php:897
2417
  msgid "Before:"
2418
  msgstr "Перед:"
2419
 
2420
- #: templates/settings/design.php:900
2421
  msgid "After:"
2422
  msgstr "После:"
2423
 
2424
- #: templates/settings/design.php:906
2425
  msgid "Show and hide description"
2426
  msgstr "Показать и скрыть описание"
2427
 
2428
- #: templates/settings/design.php:908
2429
  msgid "Show when user:"
2430
  msgstr "Показывать при:"
2431
 
2432
- #: templates/settings/design.php:910
2433
  msgid "Click"
2434
  msgstr "Нажатии"
2435
 
2436
- #: templates/settings/design.php:911
2437
  msgid "Hovering over the icon"
2438
  msgstr "Наведении курсора на иконку"
2439
 
2440
- #: templates/settings/design.php:915
2441
- msgid "Hide when user:"
2442
- msgstr "Скрыть при:"
2443
-
2444
- #: templates/settings/design.php:917
2445
- msgid "Click anywhere"
2446
- msgstr "Нажатии в любом месте"
2447
-
2448
- #: templates/settings/design.php:918
2449
- msgid "Move cursor outside the icon"
2450
- msgstr "Переместить курсор за пределы значка"
2451
-
2452
- #: templates/settings/design.php:925
2453
  msgid "Product quantity style"
2454
  msgstr "Стиль для количества продуктов"
2455
 
2456
- #: templates/settings/design.php:928
2457
  msgid "4"
2458
  msgstr "4"
2459
 
2460
- #: templates/settings/design.php:929
2461
  msgid "(4)"
2462
  msgstr "(4)"
2463
 
2464
- #: templates/settings/design.php:930
2465
  msgid "[4]"
2466
  msgstr "[4]"
2467
 
2468
- #: templates/settings/design.php:934
2469
  msgid "Position:"
2470
  msgstr "Позиция:"
2471
 
2472
- #: templates/settings/design.php:936 templates/settings/design.php:944
2473
  msgid "Normal"
2474
  msgstr "Нормальная"
2475
 
2476
- #: templates/settings/design.php:937 templates/settings/design.php:945
 
2477
  msgid "Right"
2478
  msgstr "Справа"
2479
 
2480
- #: templates/settings/design.php:938
2481
  msgid "Right from name"
2482
  msgstr "Справа от имени"
2483
 
2484
- #: templates/settings/design.php:942
2485
- msgid "Position on Image:"
2486
- msgstr "Позиция на картинке:"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2487
 
2488
- #: templates/settings/design.php:952
2489
- msgid "Indent option for hierarchy in Drop-Down"
2490
- msgstr "Вариант отступа для дерева дочерних"
2491
 
2492
- #: templates/settings/design.php:955
2493
- msgid "-"
2494
- msgstr "-"
2495
 
2496
- #: templates/settings/design.php:956
2497
- msgid "space"
2498
- msgstr "пробел"
2499
 
2500
- #: templates/settings/design.php:957
2501
- msgid "2 spaces"
2502
- msgstr "2 пробела"
2503
 
2504
- #: templates/settings/design.php:958
2505
- msgid "tab"
2506
- msgstr "таб"
2507
 
2508
- #: templates/paid/filters_group.php:3
2509
- msgid "Show filters above products"
2510
- msgstr "Показать фильтры над продуктами"
2511
 
2512
- #: templates/paid/filters_group.php:20
2513
- msgid "Display filters in line"
2514
- msgstr "Выводить фильтры в линию"
2515
 
2516
- #: templates/paid/filters_group.php:26
2517
- msgid "Display filters in line max count"
2518
- msgstr "Максимальное количество фильтров в линию"
2519
 
2520
- #: templates/paid/filters_group.php:41
2521
- msgid "Min Width for Filter"
2522
- msgstr "Минимальная ширина фильтра"
2523
 
2524
- #: templates/paid/filters_group.php:47
2525
- msgid "Show title only"
2526
- msgstr "Показывать только название фильтра"
2527
 
2528
- #: templates/paid/filters_group.php:50
2529
- msgid ""
2530
- "Only title will be visible. Filter will be displayed after click on title "
2531
- "and hide after click everywhere else"
2532
- msgstr ""
2533
- "Только заголовок будет виден. Фильтр будет отображаться после нажатия на "
2534
- "заголовок и скрываться после нажатия в другом месте"
2535
 
2536
- #: templates/paid/filters_group.php:54
2537
- msgid "Display filters on mouse over"
2538
- msgstr "Показывать фильтры после нажатия мишкой"
2539
 
2540
- #: templates/paid/filters_group.php:57
2541
- msgid "Display on mouse over and hide on mouse leave"
2542
- msgstr "Отображение при наведении курсора мыши и скрыть при убирание курсора"
2543
 
2544
- #: templates/paid/filters_group.php:61
2545
- msgid "Collapsed on page load"
2546
- msgstr "Свернуть при загрузке страницы"
2547
 
2548
- #: templates/paid/filters_group.php:64
2549
- msgid ""
2550
- "Collapse group on page load and show icon instead. When icon is clicked "
2551
- "filters will be shown"
2552
- msgstr ""
2553
- "При загрузке страницы фильтры над продуктам будут спрятаны, а вместо "
2554
- "фильтров будет выведена кнопка. При нажатии кнопки будут показаны фильтры"
2555
 
2556
- #: templates/paid/filters_search_box.php:4
2557
- msgid "Use Group as Search Box"
2558
- msgstr "Использовать группу как блок поиска"
2559
 
2560
- #: addons/filtering_conditions/filtering_conditions.php:9
2561
- #: addons/filtering_conditions/add_conditions.php:39
2562
- msgid "Nested Filters (BETA)"
2563
- msgstr "Условия после фильтрации (БЕТА)"
2564
 
2565
- #: addons/filtering_conditions/filtering_conditions.php:10
2566
- msgid ""
2567
- "The ability to set conditions for the filters based on other filters status"
2568
- msgstr ""
2569
- "Возможность устанавливать условия для фильтров на основе статуса других "
2570
- "фильтров"
2571
 
2572
- #: addons/filtering_conditions/add_conditions.php:47
2573
- msgid ""
2574
- "Use this to display products only after filtering by some attribute and value"
2575
- msgstr ""
2576
- "Используйте это для отображения товаров только после фильтрации по "
2577
- "некоторому атрибуту и значению"
2578
 
2579
- #: addons/custom_sidebar/custom_sidebar.php:9
2580
- msgid "Custom Sidebar"
2581
- msgstr "Пользовательская Боковая Панель"
 
2582
 
2583
- #: addons/custom_sidebar/sidebar_include.php:52
2584
- msgid "Custom Sidebar Styles"
2585
- msgstr "Пользовательский Стиль Боковой Панели"
2586
 
2587
- #: addons/custom_sidebar/sidebar_include.php:65
2588
- msgid "First"
2589
- msgstr "First"
2590
 
2591
- #: addons/custom_sidebar/sidebar_include.php:66
2592
- msgid "Second"
2593
- msgstr "Second"
2594
 
2595
- #: addons/custom_sidebar/sidebar_include.php:67
2596
- msgid "Third"
2597
- msgstr "Third"
2598
 
2599
- #: addons/custom_sidebar/sidebar_include.php:68
2600
- msgid "Fourth"
2601
- msgstr "Fourth"
2602
 
2603
- #: addons/custom_sidebar/sidebar_include.php:69
2604
- msgid "Fifth"
2605
- msgstr "Fifth"
2606
 
2607
- #: addons/custom_sidebar/sidebar_include.php:70
2608
- msgid "Sixth"
2609
- msgstr "Sixth"
2610
 
2611
- #: addons/custom_sidebar/sidebar_include.php:90
2612
- msgid "BeRocket AJAX Filters"
2613
- msgstr "BeRocket AJAX Filters"
2614
 
2615
- #: addons/custom_sidebar/sidebar_include.php:92
2616
- msgid "Sidebar for BeRocket AJAX Filters"
2617
- msgstr "Боковая Панель для BeRocket AJAX Фильтров"
2618
 
2619
- #: addons/custom_sidebar/sidebar_include.php:103
2620
- msgid "Close &#10005;"
2621
- msgstr "Закрыть &#10005;"
2622
 
2623
- #: addons/divi_theme_compat/divi_theme_compat.php:21
2624
- msgid "DIVI Theme Compatibility"
2625
- msgstr "Совместимость с Темой DIVI"
 
 
2626
 
2627
- #: addons/divi_theme_compat/divi_theme_compat.php:23
2628
  msgid ""
2629
- "Replace DIVI products module with custom products module, that has "
2630
- "additional option. Provide better compatibility with filters"
2631
  msgstr ""
2632
- "Заменяет модуль продуктов DIVI модулем пользовательских продуктов, который "
2633
- "имеет дополнительную опцию. Обеспечивает лучшую совместимость с фильтрами"
2634
 
2635
- #: addons/deprecated_compat/deprecated_compat.php:9
2636
- msgid "Deprecated Widget"
2637
- msgstr "Устаревший Виджет"
2638
 
2639
- #: addons/deprecated_compat/deprecated_compat.php:11
2640
  msgid ""
2641
- "<span style=\"color: red;\">DO NOT USE<br>IT WILL BE REMOVED IN THE "
2642
- "FUTURE</span><br>Uses for compatibility with old filters"
2643
  msgstr ""
2644
- "<span style=\"color: red;\">НЕ ИСПОЛЬЗУЙТЕ<br>ЭТО БУДЕТ УДАЛЕННО В СЛЕДУЮЩЕЙ "
2645
- "ВЕРСИИ</span><br>Используется для совместимости со старыми фильтрами"
2646
-
2647
- #: addons/deprecated_compat/widget.php:124
2648
- #: includes/filters/display_widget.php:123
2649
- msgid "Add Filters to Products page"
2650
- msgstr "Добить фильтры на страницу продуктов"
2651
 
2652
- #: addons/deprecated_compat/widget.php:130
2653
- #: includes/filters/display_widget.php:129
2654
- msgid "AJAX Product Filters (Deprecated)"
2655
- msgstr "Фильтры продуктов AJAX(УСТАРЕЛО)"
2656
 
2657
- #: addons/deprecated_compat/widget.php:550
2658
- #: includes/filters/display_widget.php:445
2659
- msgid "1 star"
2660
- msgstr "1 звезда"
2661
 
2662
- #: addons/deprecated_compat/widget.php:550
2663
- #: includes/filters/display_widget.php:445
2664
- msgid ""
2665
- "<i class=\"fa fa-star\"></i><i class=\"fa fa-star-o\"></i><i class=\"fa fa-"
2666
- "star-o\"></i><i class=\"fa fa-star-o\"></i><i class=\"fa fa-star-o\"></i>"
2667
  msgstr ""
2668
- "<i class=\"fa fa-star\"></i><i class=\"fa fa-star-o\"></i><i class=\"fa fa-"
2669
- "star-o\"></i><i class=\"fa fa-star-o\"></i><i class=\"fa fa-star-o\"></i>"
2670
 
2671
- #: addons/deprecated_compat/widget.php:553
2672
- #: includes/filters/display_widget.php:446
2673
- msgid "2 stars"
2674
- msgstr "2 звезды"
2675
 
2676
- #: addons/deprecated_compat/widget.php:553
2677
- #: includes/filters/display_widget.php:446
2678
- msgid ""
2679
- "<i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-"
2680
- "star-o\"></i><i class=\"fa fa-star-o\"></i><i class=\"fa fa-star-o\"></i>"
2681
- msgstr ""
2682
- "<i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-"
2683
- "star-o\"></i><i class=\"fa fa-star-o\"></i><i class=\"fa fa-star-o\"></i>"
2684
 
2685
- #: addons/deprecated_compat/widget.php:556
2686
- #: includes/filters/display_widget.php:447
2687
- msgid "3 stars"
2688
- msgstr "3 звезды"
2689
 
2690
- #: addons/deprecated_compat/widget.php:556
2691
- #: includes/filters/display_widget.php:447
2692
- msgid ""
2693
- "<i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-"
2694
- "star\"></i><i class=\"fa fa-star-o\"></i><i class=\"fa fa-star-o\"></i>"
2695
- msgstr ""
2696
- "<i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-"
2697
- "star\"></i><i class=\"fa fa-star-o\"></i><i class=\"fa fa-star-o\"></i>"
2698
 
2699
- #: addons/deprecated_compat/widget.php:559
2700
- #: includes/filters/display_widget.php:448
2701
- msgid "4 stars"
2702
- msgstr "4 звезды"
2703
 
2704
- #: addons/deprecated_compat/widget.php:559
2705
- #: includes/filters/display_widget.php:448
2706
- msgid ""
2707
- "<i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-"
2708
- "star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-star-o\"></i>"
2709
- msgstr ""
2710
- "<i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-"
2711
- "star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-star-o\"></i>"
2712
 
2713
- #: addons/deprecated_compat/widget.php:562
2714
- #: includes/filters/display_widget.php:449
2715
- msgid "5 stars"
2716
- msgstr "5 звезд"
 
2717
 
2718
- #: addons/deprecated_compat/widget.php:562
2719
- #: includes/filters/display_widget.php:449
2720
- msgid ""
2721
- "<i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-"
2722
- "star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i>"
2723
- msgstr ""
2724
- "<i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-"
2725
- "star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i>"
2726
 
2727
- #: addons/separate_link/separate_vars.php:27
2728
- msgid "Default operator for URLs"
2729
- msgstr "Оператор по умолчанию для URL"
 
 
 
 
2730
 
2731
- #: addons/separate_link/separate_vars.php:31
2732
- msgid "OR"
2733
- msgstr "ИЛИ"
2734
 
2735
- #: addons/separate_link/separate_vars.php:32
2736
- msgid "AND"
2737
- msgstr "И"
2738
 
2739
- #: addons/separate_link/separate_vars.php:35
2740
- msgid "Default operator will not be added to the URL"
2741
- msgstr "Оператор по умолчанию для URL"
2742
 
2743
- #: addons/separate_link/separate_link.php:9
2744
- msgid "Link like WooCommerce (BETA)"
2745
- msgstr "Ссылка как у WooCommerce (БЕТА)"
2746
 
2747
- #: addons/separate_link/separate_link.php:10
2748
- msgid ""
2749
- "Links after filtering will look like Woocommerce.<br>\n"
2750
- " <i>Example:</i><br><span style=\"color: #aaf;\">https://example."
2751
- "com/shop/?pa-color=bronze,green&pa-product_cat_operator=or&pa-"
2752
- "product_cat=dress</span>\n"
2753
- " <a class=\"button\" href=\"https://docs.berocket."
2754
- "com/docs_section/link-like-woocommerce-beta\" target=\"_blank\">Read more</a>"
2755
- msgstr ""
2756
- "Ссылки после фильтрации будут выглядеть как Woocommerce.<br>\n"
2757
- " <i>Example:</i><br><span style=\"color: #aaf;\">https://example."
2758
- "com/shop/?pa-color=bronze,green&pa-product_cat_operator=or&pa-"
2759
- "product_cat=dress</span>\n"
2760
- " <a class=\"button\" href=\"https://docs.berocket."
2761
- "com/docs_section/link-like-woocommerce-beta\" target=\"_blank\">Read more</a>"
2762
 
2763
- #: addons/additional_tables/additional_tables.php:59
2764
- msgid "Additional Tables (BETA)"
2765
- msgstr "Дополнительные таблицы (БЕТА)"
2766
 
2767
- #: addons/additional_tables/additional_tables.php:60
2768
- msgid ""
2769
- "Create 4 additional tables.<ul><li>Table to speed up hierarchical taxonomies "
2770
- "recount: <strong>Product categories</strong>, <strong>Brands</strong> "
2771
- "etc</li><li>3 tables to speed up functions for variation filtering</li></ul>"
2772
- msgstr ""
2773
- "Создается 4 дополнительных таблицы. <ul><li>Таблица для ускорения пересчета "
2774
- "иерархических таксономий: <strong>Категории продктов</strong>, <strong>"
2775
- "Бренды</strong> и т.д. </li><li>3 таблицы для ускорения функций фильтрации "
2776
- "вариаций</li></ul>"
2777
 
2778
- #: addons/additional_tables/additional_tables.php:106
2779
- msgid ""
2780
- "Additional tables was succesfully generated. They will be used automatically "
2781
- "when needed."
2782
- msgstr ""
2783
- "Дополнительные таблицы были успешно созданы. Они будут использоваться "
2784
- "автоматически при необходимости."
2785
 
2786
- #: addons/additional_tables/additional_tables.php:134
2787
- #, php-format
2788
- msgid ""
2789
- "Additional tables are generating. They will be used after generation is "
2790
- "completed. Current status is <strong><span "
2791
- "class=\"braapf_additional_table_status\">%d</span>%s</strong>"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2792
  msgstr ""
2793
- "Дополнительные таблицы создаются. Они будут использованы после завершения "
2794
- "генерации. Текущий статус <strong><span "
2795
- "class=\"braapf_additional_table_status\">%d</span>%s</strong>"
2796
 
2797
- #: includes/addons/seo_meta_title.php:14 includes/addons/seo_meta_title.php:19
2798
- #: includes/addons/seo_meta_title.php:53 includes/addons/seo_meta_title.php:63
2799
- #: includes/addons/seo_meta_title.php:85
2800
- msgid " and "
2801
- msgstr " и "
2802
 
2803
- #: includes/addons/seo_meta_title.php:15 includes/addons/seo_meta_title.php:54
2804
- #: includes/addons/seo_meta_title.php:86
2805
- msgid " or "
2806
- msgstr " или "
2807
 
2808
- #: includes/addons/seo_meta_title.php:22 includes/addons/seo_meta_title.php:69
2809
- msgid " with "
2810
- msgstr " с "
2811
 
2812
- #: includes/addons/seo_meta_title.php:90
2813
- msgid " / "
2814
- msgstr "/"
2815
 
2816
- #: includes/addons/seo_meta_title.php:93
2817
- msgid " - "
2818
- msgstr "-"
 
 
 
 
 
 
 
 
2819
 
2820
  #. Description of the plugin
2821
  msgid "Unlimited AJAX products filters to make your shop perfect"
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce AJAX Products Filter\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2020-06-03 07:46+0000\n"
6
+ "PO-Revision-Date: 2020-06-10 12:08+0000\n"
7
+ "Last-Translator: \n"
8
  "Language-Team: Русский\n"
9
  "Language: ru_RU\n"
10
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10 >= 2 && "
22
  "esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
23
  "X-Loco-Target-Locale: ru_RU\n"
24
  "X-Generator: Loco https://localise.biz/\n"
25
+ "X-Loco-Version: 2.4.0; wp-5.4.1"
26
 
27
  #. Name of the plugin
28
+ #: main.php:67
29
  msgid "WooCommerce AJAX Products Filter"
30
  msgstr "WooCommerce AJAX Products Filter"
31
 
32
+ #: main.php:68
33
  msgid "Product Filters"
34
+ msgstr "Фильтры Продуктов"
 
 
 
 
35
 
36
+ #: main.php:347
37
  msgid ""
38
  "<strong>Please update all BeRocket plugins to the most recent version. "
39
  "WooCommerce AJAX Products Filter is not working correctly with older "
40
  "versions.</strong>"
41
  msgstr ""
42
+ "<strong>Пожалуйста, обновите все плагины BeRocket до последней версии. "
43
+ "WooCommerce AJAX Products Filter работает некорректно со старыми версиями."
44
  "</strong>"
45
 
46
+ #: main.php:388 includes/paid.php:1762
47
+ #: addons/deprecated_filters/settings/design.php:161
48
+ msgid "Checkbox"
49
+ msgstr "Флажок"
50
+
51
+ #: main.php:389 includes/paid.php:1763
52
+ #: addons/deprecated_filters/settings/design.php:417
53
+ msgid "Radio"
54
+ msgstr "Переключатель"
55
+
56
+ #: main.php:390 includes/paid.php:1761
57
+ msgid "Select"
58
+ msgstr "Селект"
59
+
60
+ #: main.php:391 includes/paid.php:1764
61
+ #: templates/single_filter/single_settings_elements.php:713
62
+ #: addons/deprecated_filters/settings/design.php:12
63
+ #: addons/deprecated_filters/settings/design.php:27
64
+ msgid "Color"
65
+ msgstr "Цвет"
66
+
67
+ #: main.php:392 includes/paid.php:197 includes/paid.php:1765
68
+ #: templates/single_filter/single_settings_elements.php:714
69
+ msgid "Image"
70
+ msgstr "Картинки"
71
+
72
+ #: main.php:393 addons/deprecated_filters/settings/design.php:634
73
+ msgid "Slider"
74
+ msgstr "Слайдер"
75
+
76
+ #: main.php:394
77
+ msgid "Tag cloud"
78
+ msgstr "Облако Тегов"
79
+
80
+ #: main.php:606
81
  msgid "General"
82
  msgstr "Главные"
83
 
84
+ #: main.php:610
85
  msgid "Elements"
86
  msgstr "Элементы"
87
 
88
+ #: main.php:614
89
  msgid "Selectors"
90
  msgstr "Селекторы"
91
 
92
+ #: main.php:618
93
  msgid "SEO"
94
  msgstr "SEO"
95
 
96
+ #: main.php:622 templates/single_filter/all_steps.php:51
97
  msgid "Advanced"
98
  msgstr "Продвинутые"
99
 
100
+ #: main.php:626
101
  msgid "Design"
102
  msgstr "Дизайн"
103
 
104
+ #: main.php:630
105
  msgid "JavaScript/CSS"
106
  msgstr "JavaScript/CSS"
107
 
108
+ #: main.php:635 includes/custom_post.php:762
109
  msgid "Filters"
110
  msgstr "Фильтры"
111
 
112
+ #: main.php:640
113
  msgid "License"
114
  msgstr "Лицензия"
115
 
116
+ #: main.php:644
117
  msgid "Add-ons"
118
  msgstr "Дополнения"
119
 
120
+ #: main.php:654
 
 
 
 
121
  msgid "Products Per Page"
122
  msgstr "Продукты на странице"
123
 
124
+ #: main.php:660
125
  msgid "Number of Attribute Values"
126
+ msgstr "Количество Значений Атрибутов"
127
 
128
+ #: main.php:664
129
  msgid ""
130
  "Attribute Values count that will be displayed. Other values will be hidden "
131
  "and can be displayed by pressing the button. Option <strong>Hide the "
132
  "Show/Hide value(s) button in the filters</strong> must be disabled"
133
  msgstr ""
134
  "Количество значений атрибутов, которое будет отображаться. Другие значения "
135
+ "будут скрыты и могут быть отображены нажатием кнопки. Опция <strong>Скрыть "
136
+ "кнопку Показать/скрыть значения в фильтрах</strong> должна быть отключена"
 
 
 
 
 
 
 
 
137
 
138
+ #: main.php:667
 
 
 
 
 
 
 
 
139
  msgid "Scroll to the top"
140
+ msgstr "Прокрутка вверх"
141
 
142
+ #: main.php:670 main.php:731
143
  msgid "Selected filters position"
144
+ msgstr "Выбор позиции фильтров"
145
 
146
+ #: main.php:675 addons/deprecated_filters/filter_post.php:676
147
+ #: includes/compatibility/beaver-builder.php:21
148
+ #: includes/compatibility/divi-theme-builder.php:37
149
+ #: includes/compatibility/elementor-pro.php:20
150
  msgid "Disable"
151
  msgstr "Выключено"
152
 
153
+ #: main.php:676
154
  msgid "Mobile and Desktop"
155
+ msgstr "Мобильные и Персональные Компьютеры"
156
 
157
+ #: main.php:677 includes/custom_post.php:394 includes/custom_post.php:728
158
  msgid "Mobile"
159
  msgstr "Мобильных"
160
 
161
+ #: main.php:678 includes/custom_post.php:402 includes/custom_post.php:736
162
  msgid "Desktop"
163
  msgstr "Персональных компьютерах "
164
 
165
+ #: main.php:687
166
  msgid "px from products top."
167
+ msgstr "px от продуктов сверху"
168
 
169
+ #: main.php:687
170
  msgid "Use this to fix top scroll."
171
+ msgstr "Используйте это, чтобы исправить верхнюю прокрутку."
172
 
173
+ #: main.php:692
174
  msgid "Values count and output"
175
+ msgstr "Подсчет и вывод значений"
176
 
177
+ #: main.php:696 main.php:1139
178
  msgid "All non-empty values are shown and use basic counting"
179
+ msgstr "Все непустые значения показаны и используют основной подсчет"
 
 
180
 
181
+ #: main.php:697 main.php:1141
182
  msgid "Remove empty values based on page(category/tag/etc)"
183
  msgstr ""
184
+ "Удалить пустые значения на основных страницах (категорий/тегов/и т. д.)"
185
 
186
+ #: main.php:698 main.php:1143
187
  msgid ""
188
  "All non-empty values are shown and filters are considered while counting "
189
  "attribute values"
190
  msgstr ""
191
+ "Отображаются все непустые значения и учитываются фильтры при подсчете "
192
+ "значений атрибутов."
193
 
194
+ #: main.php:699 main.php:1145
195
  msgid ""
196
  "Remove empty values based on page(category/tag/etc). Filters are considered "
197
  "while counting attribute values and empty values based on filters are hidden"
198
  msgstr ""
199
+ "Удалить пустые значения на основных страницах (категорий/тегов/и т. д.). "
200
+ "Фильтры учитываются при подсчете значений атрибутов, а пустые значения на "
201
+ "основе фильтров скрыты"
202
 
203
+ #: main.php:700 main.php:1147
204
  msgid ""
205
  "Filters are considered while counting attribute values. Empty values are "
206
  "removed server side"
207
  msgstr ""
208
+ "Фильтры учитываются при подсчете значений атрибутов. Пустые значения "
209
  "удаляются на стороне сервера"
210
 
211
+ #: main.php:706 main.php:1144
 
 
 
 
212
  msgid "Hide values"
213
  msgstr "Скрыть значения"
214
 
215
+ #: main.php:712
216
  msgid "Hide values without products"
217
  msgstr "Скрыть значения без продуктов"
218
 
219
+ #: main.php:718
220
  msgid "Hide selected values"
221
  msgstr "Скрыть выбранные значения"
222
 
223
+ #: main.php:724
224
  msgid "Hide blank widgets"
225
  msgstr "Скрыть пустые виджеты"
226
 
227
+ #: main.php:735
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
228
  msgid "WooCommerce Description(in header)"
229
+ msgstr "WooCommerce Описание (в шапке)"
230
 
231
+ #: main.php:736
232
  msgid "WooCommerce Before Shop Loop"
233
+ msgstr "WooCommerce перед Shop Loop"
234
 
235
+ #: main.php:737
236
  msgid "WooCommerce After Shop Loop"
237
+ msgstr "WooCommerce После Shop Loop"
238
 
239
+ #: main.php:742
240
  msgid "Display Selected Filters"
241
+ msgstr "Показать Выбранные Фильтры"
242
 
243
+ #: main.php:749
244
  msgid "Show selected filters above products"
245
  msgstr "Показать выбранные фильтры над продуктами"
246
 
247
+ #: main.php:756
248
  msgid ""
249
  "Hide selected filters area if nothing selected(affect only area above "
250
  "products)"
252
  "Скрыть область выбранных фильтров, если ничего не выбрано (влияет только на "
253
  "область над продуктами)"
254
 
255
+ #: main.php:763
256
+ msgid "Disable AJAX loading"
257
+ msgstr "Отключить загрузку AJAX"
258
+
259
+ #: main.php:775
260
  msgid "Products Selector"
261
  msgstr "Селектор Продуктов"
262
 
263
+ #: main.php:781 main.php:823
264
  msgid ""
265
  "Selector for tag that is holding products. Don't change this if you don't "
266
  "know what it is"
267
  msgstr ""
268
+ "Селектор для тега, который содержит товары. Не меняйте это, если вы не "
269
  "знаете, что это такое"
270
 
271
+ #: main.php:784
272
  msgid "Products Quantity Selector"
273
+ msgstr "Селектор Количества Продуктов"
274
 
275
+ #: main.php:791
276
  msgid ""
277
  "Selector for tag with product result count(\"Showing 1–8 of 61 results\"). "
278
  "Don't change this if you don't know what it is"
279
  msgstr ""
280
+ "Селектор для тега с количеством результатов продукта («Показано 1–8 из 61 "
281
+ "результатов»). Не меняйте это, если вы не знаете, что это такое"
 
 
 
 
282
 
283
+ #: main.php:797
284
  msgid "Products Sorting Selector"
285
+ msgstr "Селектор Сортировки Продуктов"
286
 
287
+ #: main.php:803
288
  msgid ""
289
  "Selector for order by form with drop down menu. Don't change this if you "
290
  "don't know what it is"
291
  msgstr ""
292
+ "Селектор для сортировки в выпадающим меню. Не меняйте это, если вы не знаете,"
293
+ " что это такое"
294
 
295
+ #: main.php:806
296
+ msgid "Sorting drop-down control"
297
+ msgstr "Контроль выпадающей сортировки"
298
 
299
+ #: main.php:810
300
+ msgid "Take control over WooCommerce's sorting selectbox?"
301
+ msgstr "Взять под контроль сортировочную панель WooCommerce?"
302
 
303
+ #: main.php:816
304
+ msgid "Products Pagination Selector"
305
+ msgstr "Селектор Пагинации Продуктов"
 
 
 
 
306
 
307
+ #: main.php:829
308
  msgid "Disable AJAX Pagination"
309
+ msgstr "Отключить AJAX Пагинацию"
310
 
311
+ #: main.php:837
312
  msgid "Refresh URL when filtering"
313
+ msgstr "Обновлять URL при фильтрации"
314
 
315
+ #: main.php:842
316
  msgid ""
317
  "If this option is on URL will be changed when filter is selected/changed"
318
  msgstr ""
319
+ "Если эта опция включена, URL будет изменен при выборе/изменении фильтров"
320
 
321
+ #: main.php:845
322
  msgid "Use slug in URL"
323
+ msgstr "Использовать slug в URL"
324
 
325
+ #: main.php:850
326
  msgid "Use attribute slug instead ID"
327
+ msgstr "Используйте Slug атрибута вместо ID"
328
 
329
+ #: main.php:853
330
  msgid "URL decoding"
331
  msgstr "Декодирование URL"
332
 
333
+ #: main.php:858
334
  msgid "Decode all symbols in URL to prevent errors on server side"
335
  msgstr ""
336
+ "Расшифруйте все символы в URL, чтобы избежать ошибок на стороне сервера"
337
 
338
+ #: main.php:861
339
  msgid "SEO Meta, Title"
340
  msgstr "SEO Мета, Заголовки"
341
 
342
+ #: main.php:866
343
  msgid "Meta Description, Page title and Page Header with filters"
344
+ msgstr "Мета Описание, Заголовок Страницы и Заголовок Страницы с фильтрами"
345
 
346
+ #: main.php:869
347
  msgid "SEO Elements"
348
  msgstr "SEO Элементы"
349
 
350
+ #: main.php:876 includes/paid.php:1730 includes/paid.php:1900
351
+ #: includes/paid.php:3841 templates/filters_group_simple.php:2
352
+ #: templates/filter_post_simple.php:11 templates/settings/design.php:19
353
  msgid "Title"
354
  msgstr "Название"
355
 
356
+ #: main.php:882
357
  msgid "Header"
358
  msgstr "Заголовок"
359
 
360
+ #: main.php:888 addons/deprecated_filters/filter_post.php:545
361
+ #: templates/single_filter/single_settings_elements.php:361
362
  msgid "Description"
363
  msgstr "Описание"
364
 
365
+ #: main.php:893
366
  msgid "SEO elements structure"
367
  msgstr "SEO структура элементов"
368
 
369
+ #: main.php:898
370
  msgid "{title} with [attribute] [values] and [attribute] [values]"
371
+ msgstr "{название} с [атрибутом] [значениями] и [атрибутом] [значениями]"
372
 
373
+ #: main.php:899
374
  msgid "{title} [attribute]:[values];[attribute]:[values]"
375
+ msgstr "{название} [атрибут]:[значения];[атрибут]:[значения]"
376
 
377
+ #: main.php:900
378
  msgid ""
379
  "[attribute 1 values] {title} with [attribute] [values] and [attribute] "
380
  "[values]"
381
  msgstr ""
382
+ "[атрибут 1 значения] {название} с [атрибутами] [значениями] и [атрибутами] "
383
+ "[значениями]"
384
 
385
+ #: main.php:901
386
  msgid "{title} - [values] / [values]"
387
+ msgstr "{название} - [значения] / [значения]"
 
 
 
 
388
 
389
+ #: main.php:908
 
 
 
 
390
  msgid "Display products"
391
+ msgstr "Показывать продукты"
392
 
393
+ #: main.php:912
394
  msgid ""
395
  "Display always products when filters selected. Use this when you have "
396
  "categories and subcategories on shop pages, but you want to display products "
397
  "on filtering"
398
  msgstr ""
399
+ "Отображать всегда продукты, когда фильтры выбраны. Используйте это, когда у "
400
+ "вас есть категории и подкатегории на страницах магазина, но вы хотите "
401
+ "отображать продукты при фильтрации"
402
 
403
+ #: main.php:915
404
  msgid "Use Tax options in price filters"
405
  msgstr "Использование налогов в фильтрах цен"
406
 
407
+ #: main.php:916
408
  msgid "Only Standard tax rates will be applied for prices"
409
  msgstr "Только стандартные налоговые ставки будут применяться к ценам"
410
 
411
+ #: main.php:920
412
  msgid "Do not use (filter price as it is set in products)"
413
+ msgstr "Не использовать (цена фильтра, как это установлено в продуктах)"
414
 
415
+ #: main.php:921
416
  msgid "Use tax options"
417
+ msgstr "Использовать опции налогов"
418
 
419
+ #: main.php:926
420
  msgid "Page same as filter"
421
  msgstr "Страница такая же как фильтр"
422
 
423
+ #: main.php:930 includes/paid.php:1859
424
+ #: addons/deprecated_filters/filter_post.php:214
425
+ #: addons/deprecated_filters/filter_post.php:402
426
+ #: addons/deprecated_filters/filter_post.php:509
427
+ #: includes/compatibility/beaver-builder.php:19
428
+ #: includes/compatibility/divi-theme-builder.php:35
429
+ #: includes/compatibility/elementor-pro.php:18
430
+ #: templates/paid/filters_group.php:29 templates/settings/design.php:23
431
+ #: templates/settings/design.php:37 templates/settings/design.php:42
432
+ #: templates/settings/design.php:50 templates/settings/design.php:64
433
+ #: templates/settings/design.php:69 templates/settings/design.php:77
434
+ #: templates/settings/design.php:91 templates/settings/design.php:96
435
+ #: templates/single_filter/single_settings_elements.php:109
436
+ #: templates/single_filter/single_settings_elements.php:337
437
+ #: templates/single_filter/single_settings_elements.php:499
438
+ #: addons/deprecated_filters/settings/design.php:57
439
+ #: addons/deprecated_filters/settings/design.php:165
440
+ #: addons/deprecated_filters/settings/design.php:179
441
+ #: addons/deprecated_filters/settings/design.php:184
442
+ #: addons/deprecated_filters/settings/design.php:421
443
+ #: addons/deprecated_filters/settings/design.php:435
444
+ #: addons/deprecated_filters/settings/design.php:440
445
+ #: addons/deprecated_filters/settings/design.php:653
446
+ #: addons/deprecated_filters/settings/design.php:658
447
+ #: addons/deprecated_filters/settings/design.php:666
448
+ #: addons/deprecated_filters/settings/design.php:677
449
+ #: addons/deprecated_filters/settings/design.php:682
450
+ #: addons/deprecated_filters/settings/design.php:722
451
+ #: addons/deprecated_filters/settings/design.php:727
452
+ #: addons/deprecated_filters/settings/design.php:735
453
+ #: addons/deprecated_filters/settings/design.php:743
454
+ #: addons/deprecated_filters/settings/design.php:748
455
+ #: addons/deprecated_filters/settings/design.php:756
456
+ #: addons/deprecated_filters/settings/design.php:761
457
  msgid "Default"
458
  msgstr "По умолчанию"
459
 
460
+ #: main.php:931
461
  msgid "Remove value"
462
  msgstr "Удалить значение"
463
 
464
+ #: main.php:932
465
  msgid "Leave only one value"
466
+ msgstr "Оставьте только одно значение"
467
 
468
+ #: main.php:935
469
  msgid ""
470
  "On Category, Tag, Attribute page filter for it will remove value or leave "
471
  "only one value"
472
  msgstr ""
473
+ "На странице категории, тега, атрибута значения в фильтра для них будут "
474
+ "удалены или останется только одно значение"
475
 
476
+ #: main.php:939
477
  msgid "Variable Products and Variations options"
478
+ msgstr "Вариативные Продукты и Опции для Вариаций"
479
 
480
+ #: main.php:942
481
  msgid "Hide variations that are out of stock"
482
+ msgstr "Скрыть вариации, которых нет в наличии"
483
 
484
+ #: main.php:949 includes/paid.php:99 includes/paid.php:111
485
+ #: includes/paid.php:1975 includes/paid.php:3569 includes/paid.php:3803
486
+ #: templates/single_filter/single_settings_elements.php:273
487
+ #: templates/single_filter/single_settings_elements.php:286
488
+ #: templates/single_filter/single_settings_elements.php:451
489
  msgid "Disabled"
490
  msgstr "Отключить"
491
 
492
+ #: main.php:950
493
  msgid "Enabled"
494
  msgstr "Включить"
495
 
496
+ #: main.php:951
497
  msgid "Enabled only with selected \"Out of stock\" filter"
498
+ msgstr "Включено только с выбранным фильтром \"Нет в наличии\""
499
 
500
+ #: main.php:955
501
  msgid "Hide variable products if variations with selected filters out of stock"
502
  msgstr ""
503
+ "Скрыть вариативные продукты, если вариаций с выбранными фильтрами нет в "
504
  "наличии"
505
 
506
+ #: main.php:962
507
+ msgid "Use it for attributes values to display more correct count"
 
 
508
  msgstr ""
509
+ "Используйте его для значений атрибутов, чтобы отобразить более правильный "
510
+ "счет"
511
 
512
+ #: main.php:969
513
  msgid ""
514
  "Fix WPEngine query issue (Also can work with other hostings if they limit "
515
  "query size)"
516
  msgstr ""
517
+ "Исправлена проблема с запросом WPEngine (также может работать с другими "
518
  "хостингами, если они ограничивают размер запроса)"
519
 
520
+ #: main.php:975
521
  msgid "Incompatibility Fixes"
522
+ msgstr "Исправления Несовместимости"
 
 
 
 
523
 
524
+ #: main.php:978
 
 
 
 
525
  msgid "Display styles only for pages with filters"
526
  msgstr "Стили отображения только для страниц с фильтрами"
527
 
528
+ #: main.php:982
529
  msgid "On some sites it can cause some visual problem on page loads"
530
  msgstr ""
531
  "На некоторых сайтах это может вызвать некоторые визуальные проблемы при "
532
  "загрузке страниц."
533
 
534
+ #: main.php:985
 
 
 
 
 
 
 
 
 
 
535
  msgid "Fix for sites with AJAX"
536
  msgstr "Исправление для сайтов с AJAX"
537
 
538
+ #: main.php:989
539
  msgid "Add JavaScript files to all pages."
540
  msgstr "Добавить файлы JavaScript на все страницы."
541
 
542
+ #: main.php:992
543
  msgid "Fix for search page"
544
  msgstr "Исправление для страницы поиска"
545
 
546
+ #: main.php:996
547
  msgid "Disable redirection, when search page return only one product"
548
  msgstr ""
549
  "Отключить перенаправление, когда страница поиска возвращает только один "
550
  "продукт"
551
 
552
+ #: main.php:999
553
+ msgid "Select2 CSS"
554
+ msgstr "Select2 CSS"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
555
 
556
+ #: main.php:1004
557
  msgid ""
558
+ "Fixed CSS styles for Select2 (do not enable if Select2 work correct. Option "
559
+ "can break Select2 in other plugins or themes)"
 
560
  msgstr ""
561
+ "Исправление стилей CSS для Select2 (не включайте, если Select2 работает "
562
+ "правильно. Опция может сломать Select2 в других плагинах или темах)"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
563
 
564
+ #: main.php:1008
565
  msgid "Tools"
566
  msgstr "Инструменты"
567
 
568
+ #: main.php:1011
569
  msgid "Turn off all filters"
570
+ msgstr "Отключить все фильтры"
571
 
572
+ #: main.php:1015
573
  msgid ""
574
  "If you want to hide filters without losing current configuration just turn "
575
  "them off"
576
  msgstr ""
577
+ "Если вы хотите скрыть фильтры без потери текущей конфигурации, просто "
578
  "отключите их"
579
 
580
+ #: main.php:1028
581
+ msgid "Filters Description"
582
+ msgstr "Описание Фильтров"
583
+
584
+ #: main.php:1034 main.php:1057 includes/paid.php:250
585
+ msgid "Light"
586
+ msgstr "Светлая"
587
+
588
+ #: main.php:1035 main.php:1058 includes/paid.php:251
589
+ msgid "Dark"
590
+ msgstr "Темная"
591
+
592
+ #: main.php:1036 main.php:1059 includes/paid.php:252
593
+ msgid "Translucent"
594
+ msgstr "Полупрозрачность"
595
+
596
+ #: main.php:1039 main.php:1062 includes/paid.php:255
597
+ msgid "Tooltip Theme"
598
+ msgstr "Тема Подсказки"
599
+
600
+ #: main.php:1045 main.php:1068 includes/paid.php:262
601
+ msgid "Tooltip Font Size"
602
+ msgstr "Размер Шрифта Подсказки"
603
+
604
+ #: main.php:1046 main.php:1069 includes/paid.php:261
605
+ msgid "From Theme"
606
+ msgstr "Из Темы"
607
+
608
+ #: main.php:1051
609
+ msgid "Color/Image Tooltip Name"
610
+ msgstr "Имя Подсказки Цвета/Картинки"
611
+
612
+ #: main.php:1076
613
  msgid "Disable Font Awesome"
614
  msgstr "Отключить Font Awesome"
615
 
616
+ #: main.php:1080
617
  msgid ""
618
  "Don't loading css file for Font Awesome on site front end. Use it only if "
619
  "you doesn't uses Font Awesome icons in widgets or you have Font Awesome in "
620
  "your theme."
621
  msgstr ""
622
+ "Не загружайть файл CSS для Font Awesome на сайт. Используйте его, только "
623
+ "если вы не используете иконки Font Awesome в виджетах или у вас есть Font "
624
  "Awesome в вашей теме."
625
 
626
+ #: main.php:1083
627
  msgid "Font Awesome Version"
628
  msgstr "Версия Font Awesome"
629
 
630
+ #: main.php:1087
631
  msgid "Font Awesome 4"
632
  msgstr "Font Awesome 4"
633
 
634
+ #: main.php:1088
635
  msgid "Font Awesome 5"
636
  msgstr "Font Awesome 5"
637
 
638
+ #: main.php:1091
639
  msgid ""
640
  "Version of Font Awesome that will be used on front end. Please select "
641
  "version that you have in your theme"
643
  "Версия Font Awesome, которая будет использоваться в интерфейсе. Пожалуйста, "
644
  "выберите версию, которая в вашей теме"
645
 
646
+ #: main.php:1094
647
  msgid "Before Update:"
648
+ msgstr "Перед Обновлением:"
649
 
650
+ #: main.php:1098
651
  msgid "If you want to add own actions on filter activation, eg: alert('1');"
652
  msgstr ""
653
+ "Если вы хотите добавить собственные действия при активации фильтра, например:"
654
  " alert ('1');"
655
 
656
+ #: main.php:1101
657
  msgid "During Update:"
658
  msgstr "Во время обновления:"
659
 
660
+ #: main.php:1105
661
  msgid ""
662
  "If you want to add own actions right on products update. You can manipulate "
663
  "data here, try: data.products = 'Ha!';"
664
  msgstr ""
665
+ "Если вы хотите добавить собственные действия прямо во время обновление "
666
+ "продуктов. Вы можете манипулировать данными здесь, попробуйте: data.products "
667
+ "= 'Ha!';"
668
 
669
+ #: main.php:1108
670
  msgid "After Update:"
671
+ msgstr "После Обновления:"
672
 
673
+ #: main.php:1112
674
  msgid "If you want to add own actions after products updated, eg: alert('1');"
675
  msgstr ""
676
+ "Если вы хотите добавить собственные действия после обновления продуктов, "
677
  "например: alert ('1');"
678
 
679
+ #: main.php:1127
680
+ msgid "Variation must be added to product with stock status out of stock."
681
+ msgstr ""
682
+ "Вариация должна быть добавлена к продукту со статусом товара отсутствует на "
683
+ "складе."
684
+
685
+ #: main.php:1128
686
+ msgid ""
687
+ "If product do not have variation, then it cannot be detected as out of "
688
+ "stock/in stock and will be displayed as without this option"
689
+ msgstr ""
690
+ "Если продукт не имеет вариаций, он не может быть определен как "
691
+ "отсутствующий/на складе и будет отображаться как без этой опции"
692
+
693
+ #: main.php:1129
694
+ msgid "Slow down filtering."
695
+ msgstr "Замедлит фильтрацию."
696
+
697
+ #: main.php:1132 includes/paid.php:389
698
+ msgid "Will be displayed only on default WooCommerce page."
699
+ msgstr "Будет отображаться только на стандартной странице WooCommerce."
700
+
701
+ #: main.php:1133 includes/paid.php:390
702
+ msgid ""
703
+ "Default WooCommerce page are: shop page, category page, tag page, attribute "
704
+ "page etc."
705
+ msgstr ""
706
+ "Страница WooCommerce по умолчанию: страница магазина, страница категории, "
707
+ "страница тега, страница атрибута и т. д."
708
+
709
+ #: main.php:1134 includes/paid.php:391
710
+ msgid ""
711
+ "Also it can does not work on WooCommerce pages edited with help of any page "
712
+ "builders (Divi Builder, Elementor Builder etc.)"
713
+ msgstr ""
714
+ "Также он может не работать на страницах WooCommerce, отредактированных с "
715
+ "помощью любых конструкторов страниц (Divi Builder, Elementor Builder и т. д.)"
716
+
717
+ #: main.php:1137
718
+ msgid "Please read this before asking support."
719
+ msgstr "Пожалуйста, прочитайте это, прежде чем обратится в поддержку."
720
+
721
+ #: main.php:1138
722
+ msgid ""
723
+ "Any option except first will slow down page load, because required some "
724
+ "additional queries to database"
725
+ msgstr ""
726
+ "Любая опция, кроме первой, замедлит загрузку страницы, поскольку требует "
727
+ "дополнительных запросов к базе данных."
728
+
729
+ #: main.php:1140
730
+ msgid ""
731
+ "plugin do not recount anything. Only attribute values, that do not have "
732
+ "products for full shop will be removed (fastest variant)"
733
+ msgstr ""
734
+ "плагин ничего не пересчитывает. Будут удалены только те атрибуты, у которых "
735
+ "нет товаров для полного магазина (самый быстрый вариант)"
736
+
737
+ #: main.php:1142
738
+ msgid ""
739
+ "plugin recount products for attribute values based on page where displayed. "
740
+ "Attribute values, that do not have products for current page will be removed"
741
+ msgstr ""
742
+ "плагин пересчитывать продукты для значений атрибутов на основной страницы, "
743
+ "где отображается. Значения атрибутов, у которых нет товаров для текущей "
744
+ "страницы, будут удалены"
745
+
746
+ #: main.php:1144
747
+ msgid ""
748
+ "plugin recount products only after filtering. Only attribute values, that do "
749
+ "not have products for full shop will be removed. You can hide other empty "
750
+ "values after filtering with help of option"
751
+ msgstr ""
752
+ "Плагин пересчитывает товары только после фильтрации. Будут удалены только те "
753
+ "значения атрибутов, у которых нет товаров для полного магазина. Вы можете "
754
+ "скрыть другие пустые значения после фильтрации с помощью опции"
755
+
756
+ #: main.php:1146
757
+ msgid ""
758
+ "uses previous two option together. Works slower, because recounts twice for "
759
+ "each attribute values (not recommended)"
760
+ msgstr ""
761
+ "используя два предыдущих варианта вместе. Работает медленнее, потому что "
762
+ "пересчитывает дважды для каждого значения атрибута (не рекомендуется)"
763
+
764
+ #: main.php:1148
765
+ msgid ""
766
+ "plugin recount products on page load and after filtering. All empty values "
767
+ "will be removed based on page and selected filters"
768
+ msgstr ""
769
+ "плагин пересчитывает продукты при загрузке страницы и после фильтрации. Все "
770
+ "пустые значения будут удалены в выбранных фильтрах на основной странице"
771
+
772
+ #: main.php:1167 templates/filters_information.php:2
773
  msgid "SETUP WIZARD"
774
  msgstr "МАСТЕР УСТАНОВКИ"
775
 
776
+ #: main.php:1169
777
  msgid "RUN SETUP WIZARD"
778
  msgstr "ЗАПУСТИТЬ МАСТЕР НАСТРОЙКИ"
779
 
780
+ #: main.php:1171
781
  msgid "Run it to setup plugin options step by step"
782
  msgstr "Запустите его, чтобы шаг за шагом настроить параметры плагина"
783
 
784
+ #: main.php:1180 main.php:1191
785
  msgid "Creating products"
786
  msgstr "Создание продуктов"
787
 
788
+ #: main.php:1181 main.php:1192
789
  msgid "Gettings selectors"
790
  msgstr "Получение селекторов"
791
 
792
+ #: main.php:1182 main.php:1193
793
  msgid "Removing products"
794
  msgstr "Удаление продуктов"
795
 
796
+ #: main.php:1183
797
  msgid "Error:"
798
  msgstr "Ошибка:"
799
 
800
+ #: main.php:1186
801
  msgid ""
802
  "IMPORTANT: It will generate some products on your site. Please disable all "
803
  "SEO plugins and plugins, that doing anything on product creating."
806
  "отключите все плагины SEO и плагины, которые делают что-либо при создании "
807
  "продукта."
808
 
809
+ #: main.php:1187
810
  msgid ""
811
  "Script was runned, but page closed until end. Please stop it to prevent any "
812
  "problems on your site"
813
  msgstr ""
814
+ "Скрипт был запущен, но страница закрыта до окончания. Пожалуйста, "
815
+ "остановитесь, чтобы предотвратить любые проблемы на вашем сайте"
816
 
817
+ #: main.php:1188
818
  msgid "Auto-Selectors"
819
  msgstr "Авто-Селекторы"
820
 
821
+ #: main.php:1189
822
  msgid "Stop"
823
+ msgstr "Остановить"
824
 
825
+ #: main.php:1190
826
  msgid "Steps:"
827
+ msgstr "Шаги:"
828
 
829
+ #: main.php:1196
830
  msgid "Get selectors automatically"
831
  msgstr "Получить селекторы автоматически"
832
 
833
+ #: main.php:1198
834
  msgid "How it work:"
835
  msgstr "Как это работает:"
836
 
837
+ #: main.php:1200
838
  msgid "Run Auto-selector"
839
+ msgstr "Запустить Авто-селекторы"
840
 
841
+ #: main.php:1201
842
  msgid ""
843
  "Wait until end <strong style=\"color:red;\">do not close this page</strong>"
844
  msgstr ""
845
+ "Дождитесь окончания <strong style = \"color: red;\">не закрывайте эту "
846
+ "страницу</strong>"
847
 
848
+ #: main.php:1202
849
  msgid "Save settings with new selectors"
850
  msgstr "Сохранить настройки с новыми селекторами"
851
 
852
+ #: main.php:1211 main.php:1225
853
  msgid "Purge Cache"
854
+ msgstr "Очистить Кэш"
855
 
856
+ #: main.php:1227
857
  msgid "Clear attribute/custom taxonomy cache for plugin"
858
  msgstr "Очистить кэш атрибутов/пользовательских таксономий для плагина"
859
 
860
+ #: main.php:1247
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
861
  msgid "Custom CSS Style:"
862
+ msgstr "Пользовательский CSS Стиль:"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
863
 
864
+ #: main.php:1655 includes/filters/dynamic_data_template.php:166
865
+ #: templates/disabled/checkbox.php:130 templates/disabled/color.php:197
866
+ #: templates/old_templates/checkbox.php:140
867
+ #: templates/old_templates/color.php:206
868
  msgid "Show value(s)"
869
  msgstr "Показать значение(я)"
870
 
871
+ #: main.php:1656 includes/filters/dynamic_data_template.php:167
872
  msgid "Hide value(s)"
873
  msgstr "Скрыть значение(я)"
874
 
875
+ #: main.php:1657
876
  msgid "Unselect all"
877
+ msgstr "Снять все"
878
 
879
+ #: main.php:1658
880
  msgid "Nothing is selected"
881
  msgstr "Ничего не выбрано"
882
 
883
+ #: main.php:1659
884
  msgid "products"
885
  msgstr "продукты"
886
 
887
+ #: main.php:1747
888
  msgid "Activate WooCommerce plugin before"
889
+ msgstr "Активируйте плагин WooCommerce перед тем"
890
 
891
+ #: main.php:1753
892
  msgid "Update WooCommerce plugin"
893
  msgstr "Обновите плагин WooCommerce"
894
 
895
+ #: includes/custom_post.php:112 includes/custom_post.php:114
896
+ #: includes/custom_post.php:115
897
+ msgid "Product Filter"
898
+ msgstr "Фильтры продуктов"
 
 
 
 
 
 
 
 
 
 
 
 
899
 
900
+ #: includes/custom_post.php:116
901
+ msgctxt "Admin menu name"
902
+ msgid "Filters"
903
+ msgstr "Фильтры"
904
 
905
+ #: includes/custom_post.php:117
906
+ msgid "Add Filter"
907
  msgstr "Добавить фильтр"
908
 
909
+ #: includes/custom_post.php:118
910
+ msgid "Add New Filter"
911
+ msgstr "Добавить новый фильтр"
912
 
913
+ #: includes/custom_post.php:119 includes/custom_post.php:639
914
+ #: includes/new_widget.php:138 includes/new_widget.php:314
915
  #: templates/filters_group_simple.php:32 templates/filters_group_simple.php:57
 
 
916
  msgid "Edit"
917
  msgstr "Редактировать"
918
 
919
+ #: includes/custom_post.php:120
920
+ msgid "Edit Filter"
921
+ msgstr "Редактировать фильтр"
 
 
 
 
922
 
923
+ #: includes/custom_post.php:121
924
+ msgid "New Filter"
925
+ msgstr "Новый фильтр"
926
 
927
+ #: includes/custom_post.php:122
928
+ msgid "View Filters"
929
+ msgstr "Просмотр фильтров"
 
930
 
931
+ #: includes/custom_post.php:123
932
+ msgid "View Filter"
933
+ msgstr "Просмотр фильтра"
934
 
935
+ #: includes/custom_post.php:124
936
+ msgid "Search Product Filters"
937
+ msgstr "Поиск Фильтров Продуктов"
 
938
 
939
+ #: includes/custom_post.php:125
940
+ msgid "No Product Filters found"
941
+ msgstr "Нет продуктов после фильтрации"
942
 
943
+ #: includes/custom_post.php:126
944
+ msgid "No Product Filters found in trash"
945
+ msgstr "Фильтры товаров не найдены в корзине"
946
 
947
+ #: includes/custom_post.php:128
948
+ msgid "This is where you can add Product Filters."
949
+ msgstr "Здесь Вы можете добавить фильтры продуктов."
950
 
951
+ #: includes/custom_post.php:196 includes/custom_post.php:680
952
+ #: templates/groups_information.php:5
953
+ msgid "Conditions"
954
+ msgstr "Условия"
955
 
956
+ #: includes/custom_post.php:197
957
+ msgid "Product Filter Settings"
958
+ msgstr "Настройки Фильтра Продуктов"
 
959
 
960
+ #: includes/custom_post.php:198 includes/custom_post.php:439
961
+ #: includes/custom_post.php:682 includes/custom_post.php:763
962
+ msgid "Shortcode"
963
+ msgstr "Shortcode"
 
 
 
964
 
965
+ #: includes/custom_post.php:199
966
+ msgid "FAQ"
967
+ msgstr "FAQ"
 
968
 
969
+ #: includes/custom_post.php:205
970
+ msgid "Setup Widget"
971
+ msgstr "Настройка Виджета"
 
 
 
 
 
972
 
973
+ #: includes/custom_post.php:322
974
+ msgid ""
975
+ "Widget to display single filter in your sidebar. Add it to needed sidebar"
976
+ msgstr ""
977
+ "Виджет для отображения одного фильтра на боковой панели. Добавьте его на "
978
+ "нужную боковую панель"
 
979
 
980
+ #: includes/custom_post.php:356
981
+ msgid "Select filter that must be displayed in sidebar"
982
+ msgstr "Выберите фильтр, который должен отображаться на боковой панели"
 
 
 
983
 
984
+ #: includes/custom_post.php:361
985
+ msgid "Save widget and check it on shop page"
986
+ msgstr "Сохранить виджет и проверить его на странице магазина"
 
 
 
987
 
988
+ #: includes/custom_post.php:390
989
+ msgid "Hide this filter on:"
990
+ msgstr "Скрыть этот фильтр на:"
 
991
 
992
+ #: includes/custom_post.php:398 includes/custom_post.php:732
993
+ msgid "Tablet"
994
+ msgstr "Планшетах"
 
995
 
996
+ #: includes/custom_post.php:413 includes/custom_post.php:755
997
+ msgid "You need save it to get shortcode"
998
+ msgstr "Что бы получить шорткод, Вам нужно его сохранить"
 
999
 
1000
+ #: includes/custom_post.php:431
1001
+ msgid "Now you can use saved filters in widgets"
1002
+ msgstr "Теперь Вы можете использовать сохраненные фильтры в виджетах"
1003
 
1004
+ #: includes/custom_post.php:432
1005
+ msgid "Add widget <strong>AAPF Filter Single</strong> on "
1006
+ msgstr "Добавьте виджет <strong>AAPF Filter Single</strong> на "
1007
 
1008
+ #: includes/custom_post.php:433
1009
+ msgid "WIDGET PAGE"
1010
+ msgstr "СТРАНИЦЕ ВИДЖЕТОВ"
1011
 
1012
+ #: includes/custom_post.php:438
1013
+ msgid "Data"
1014
+ msgstr "Данные"
1015
 
1016
+ #: includes/custom_post.php:449 includes/divi-builder.php:27
1017
+ #: includes/new_widget.php:294 includes/visual-composer.php:26
1018
+ #: addons/deprecated_filters/display_widget.php:215
1019
+ #: addons/deprecated_filters/filter_post.php:59
1020
+ #: includes/filters/display_widget.php:219 templates/settings/design.php:73
1021
+ #: templates/single_filter/widget_type.php:8
1022
+ msgid "Filter"
1023
+ msgstr "Фильтр"
1024
 
1025
+ #: includes/custom_post.php:450 templates/filters_information.php:9
1026
+ #: includes/display_filter/update_button.php:10
1027
+ #: templates/single_filter/widget_type.php:16
1028
+ #: addons/deprecated_filters/display_filter/update_button.php:10
1029
+ msgid "Update Products button"
1030
+ msgstr "Кнопка Фильтрации Продуктов"
1031
 
1032
+ #: includes/custom_post.php:451 templates/filters_information.php:7
1033
+ #: includes/display_filter/reset_button.php:10
1034
+ #: templates/single_filter/widget_type.php:25
1035
+ #: addons/deprecated_filters/display_filter/reset_button.php:10
1036
+ msgid "Reset Products button"
1037
+ msgstr "Кнопка Сброса фильтров"
1038
 
1039
+ #: includes/custom_post.php:452 includes/display_filter/selected_area.php:14
1040
+ #: templates/single_filter/widget_type.php:34
1041
+ #: addons/deprecated_filters/display_filter/selected_area.php:14
1042
+ msgid "Selected Filters area"
1043
+ msgstr "Область с Выбранными Фильтрами"
1044
 
1045
+ #: includes/custom_post.php:453 includes/paid.php:1618
1046
+ msgid "Search Box (DEPRECATED)"
1047
+ msgstr "Поле поиска (УСТАРЕЛО)"
1048
 
1049
+ #: includes/custom_post.php:455
1050
+ msgid "Widget type: "
1051
+ msgstr "Тип виджета:"
1052
 
1053
+ #: includes/custom_post.php:459 includes/custom_post.php:544
1054
+ #: includes/paid.php:1727 includes/paid.php:1736 includes/paid.php:1742
1055
+ #: templates/filter_post_simple.php:44
1056
+ #: addons/deprecated_filters/display_widget.php:141
1057
+ #: addons/deprecated_filters/filter_post.php:84
1058
+ #: addons/deprecated_filters/filter_post.php:126
1059
+ #: includes/filters/display_widget.php:142
1060
+ #: templates/single_filter/single_settings_elements.php:71
1061
+ #: templates/single_filter/single_settings_elements.php:658
1062
+ msgid "Attribute"
1063
+ msgstr "Атрибуты"
1064
 
1065
+ #: includes/custom_post.php:460 includes/custom_post.php:472
1066
+ #: includes/custom_post.php:482 includes/custom_post.php:548
1067
+ #: includes/paid.php:1737 addons/deprecated_filters/display_widget.php:145
1068
+ #: addons/deprecated_filters/filter_post.php:88
1069
+ #: includes/filters/display_widget.php:146
1070
+ #: templates/single_filter/single_settings_elements.php:666
1071
+ msgid "Tag"
1072
+ msgstr "Теги"
1073
 
1074
+ #: includes/custom_post.php:461 includes/paid.php:1579 includes/paid.php:1738
1075
+ msgid "Custom Taxonomy"
1076
+ msgstr "Пользовательские таксономии"
1077
 
1078
+ #: includes/custom_post.php:468 includes/custom_post.php:490
1079
+ msgid "Attribute: "
1080
+ msgstr "Атрибут:"
1081
 
1082
+ #: includes/custom_post.php:470 includes/custom_post.php:495
1083
+ msgid "Custom Taxonomy: "
1084
+ msgstr "Пользовательские Таксономии:"
1085
 
1086
+ #: includes/custom_post.php:479 includes/paid.php:204
1087
+ #: addons/deprecated_filters/filter_post.php:128
1088
+ #: includes/filters/display_widget.php:433
1089
+ #: templates/single_filter/single_settings_elements.php:650
1090
+ msgid "Price"
1091
+ msgstr "Цена"
1092
 
1093
+ #: includes/custom_post.php:480 includes/paid.php:1585
1094
+ msgid "Stock status"
1095
+ msgstr "Наличие"
1096
 
1097
+ #: includes/custom_post.php:481 includes/custom_post.php:552
1098
+ #: includes/paid.php:405 addons/deprecated_filters/display_widget.php:149
1099
+ #: addons/deprecated_filters/filter_post.php:92
1100
+ #: includes/filters/display_widget.php:150
1101
+ #: templates/single_filter/single_settings_elements.php:675
1102
+ msgid "Product Category"
1103
+ msgstr "Категории продуктов"
1104
 
1105
+ #: includes/custom_post.php:483 includes/paid.php:1591 includes/paid.php:3316
1106
+ msgid "Date"
1107
+ msgstr "Дата"
1108
 
1109
+ #: includes/custom_post.php:484 includes/paid.php:1597
1110
+ msgid "Sale"
1111
+ msgstr "Распродажа"
 
 
1112
 
1113
+ #: includes/custom_post.php:485 includes/custom_post.php:559
1114
+ #: addons/deprecated_filters/display_widget.php:156
1115
+ #: addons/deprecated_filters/filter_post.php:99
1116
+ #: includes/filters/display_widget.php:157
1117
+ #: templates/single_filter/single_settings_elements.php:686
1118
+ msgid "Rating"
1119
+ msgstr "Рейтинг"
1120
 
1121
+ #: includes/custom_post.php:486
1122
+ #: addons/deprecated_filters/deprecated_filters.php:141
1123
+ msgid "Product sub-categories"
1124
+ msgstr "Подкатегории Продуктов"
1125
 
1126
+ #: includes/custom_post.php:492
1127
+ msgid "Attribute not exists. This filter can work incorrect"
1128
+ msgstr "Атрибут не существует. Этот фильтр может работать некорректно"
1129
 
1130
+ #: includes/custom_post.php:497
1131
+ msgid "Custom taxonomy not exists. This filter can work incorrect"
1132
+ msgstr ""
1133
+ "Таможенной таксономии не существует. Этот фильтр может работать некорректно"
1134
 
1135
+ #: includes/custom_post.php:632 includes/custom_post.php:634
1136
+ #: includes/custom_post.php:635
1137
+ msgid "Product Filter Group"
1138
+ msgstr "Группы фильтров продуктов"
1139
 
1140
+ #: includes/custom_post.php:636
1141
+ msgctxt "Admin menu name"
1142
+ msgid "Groups"
1143
+ msgstr "Группы"
1144
 
1145
+ #: includes/custom_post.php:637
1146
+ msgid "Add Filter Group"
1147
+ msgstr "Добавить группу фильтров"
1148
 
1149
+ #: includes/custom_post.php:638
1150
+ msgid "Add New Filter Group"
1151
+ msgstr "Создать новую группу фильтров"
1152
 
1153
+ #: includes/custom_post.php:640
1154
+ msgid "Edit Filter Group"
1155
+ msgstr "Редактировать группу фильтров"
1156
 
1157
+ #: includes/custom_post.php:641
1158
+ msgid "New Filter Group"
1159
+ msgstr "Новая группа фильтров"
1160
 
1161
+ #: includes/custom_post.php:642
1162
+ msgid "View Filter Groups"
1163
+ msgstr "Просмотр групп фильтров"
1164
 
1165
+ #: includes/custom_post.php:643
1166
+ msgid "View Filter Group"
1167
+ msgstr "Просмотр группы фильтров"
1168
 
1169
+ #: includes/custom_post.php:644
1170
+ msgid "Search Product Filter Groups"
1171
+ msgstr "Поиск групп фильтров товаров"
1172
 
1173
+ #: includes/custom_post.php:645
1174
+ msgid "No Product Filter Groups found"
1175
+ msgstr "Группы фильтров товаров не найдены"
1176
 
1177
+ #: includes/custom_post.php:646
1178
+ msgid "No Product Filter Groups found in trash"
1179
+ msgstr "Группы товаров не найдены в корзине"
1180
 
1181
+ #: includes/custom_post.php:648
1182
+ msgid "This is where you can add Product Filter Groups."
1183
+ msgstr "Здесь Вы можете добавить группы фильтров продуктов."
1184
 
1185
+ #: includes/custom_post.php:681
1186
+ msgid "Group Settings"
1187
+ msgstr "Настройки Групп"
1188
 
1189
+ #: includes/custom_post.php:683
1190
+ msgid "Information"
1191
+ msgstr "Информация"
1192
 
1193
+ #: includes/custom_post.php:724
1194
+ msgid "Hide this group on:"
1195
+ msgstr "Скрыть эту группу на:"
1196
 
1197
+ #: includes/divi-builder.php:7 includes/visual-composer.php:19
1198
+ msgid "Single Filter"
1199
+ msgstr "Одиночный фильтр"
1200
 
1201
+ #: includes/divi-builder.php:18 includes/new_widget.php:301
1202
+ #: includes/visual-composer.php:10 includes/visual-composer.php:36
1203
+ msgid "--Please select filter--"
1204
+ msgstr "--Пожалуйста, выберите фильтр--"
 
1205
 
1206
+ #: includes/divi-builder.php:61 includes/visual-composer.php:45
1207
+ msgid "Group Filter"
1208
+ msgstr "Группа фильтров"
1209
 
1210
+ #: includes/divi-builder.php:72 includes/new_widget.php:125
1211
+ msgid "--Please select group--"
1212
+ msgstr "--Пожалуйста, выберите группу--"
1213
 
1214
+ #: includes/divi-builder.php:81 includes/new_widget.php:118
1215
+ #: includes/paid.php:296
1216
+ msgid "Group"
1217
+ msgstr "Группа"
1218
 
1219
+ #: includes/divi-builder.php:115
1220
+ msgid "BeRocket Filter Next Product"
1221
+ msgstr "BeRocket Filter Следующий Продукт"
1222
 
1223
+ #: includes/functions.php:757
1224
+ msgid "Widget Title"
1225
+ msgstr "Название Виджета"
1226
 
1227
+ #: includes/functions.php:769
1228
+ msgid "Label(checkbox/radio)"
1229
+ msgstr "Этикетка(флажок/радио)"
1230
 
1231
+ #: includes/functions.php:781
1232
+ msgid "Drop-Down"
1233
+ msgstr "Выпадающий"
1234
 
1235
+ #: includes/functions.php:793
1236
+ msgid "Slider Inputs"
1237
+ msgstr "Ввод для Ползунка"
1238
 
1239
+ #: includes/functions.php:805
1240
+ msgid "Description Block"
1241
+ msgstr "Блок Описания"
1242
 
1243
+ #: includes/functions.php:817
1244
+ msgid "Description Block Border"
1245
+ msgstr "Граница Блока Описания"
1246
 
1247
+ #: includes/functions.php:829
1248
+ msgid "Description Block Title"
1249
+ msgstr "Название Блока Описание "
1250
 
1251
+ #: includes/functions.php:841
1252
+ msgid "Description Block Text"
1253
+ msgstr "Текст Блока Описания"
1254
 
1255
+ #: includes/functions.php:853
1256
+ msgid "Selected filters area text"
1257
+ msgstr "Текст области выбранных фильтров"
1258
 
1259
+ #: includes/functions.php:865
1260
+ msgid "Selected filters area mouse over the text"
1261
+ msgstr "Текст области выбранных фильтров при наведении курсора"
1262
 
1263
+ #: includes/functions.php:877
1264
+ msgid "Selected filters area link background"
1265
+ msgstr "Фон ссылки области выбранных фильтров"
1266
 
1267
+ #: includes/functions.php:889
1268
+ msgid "Selected filters area link border"
1269
+ msgstr "Граница ссылки области выбранных фильтров"
1270
 
1271
+ #: includes/functions.php:2638
1272
+ msgid "Loading..."
1273
+ msgstr "Загрузка..."
1274
 
1275
+ #: includes/new_widget.php:5
1276
+ msgid "AAPF Filters Group"
1277
+ msgstr "AAPF Группа Фильтров"
1278
 
1279
+ #: includes/new_widget.php:6
1280
+ msgid "AJAX Product Filters. Group of filters"
1281
+ msgstr "AJAX Фильтры Продуктов. Группа фильтров"
1282
+
1283
+ #: includes/new_widget.php:111 templates/filters_group_simple.php:43
1284
+ msgid "Manage groups"
1285
+ msgstr "Управление группами"
1286
+
1287
+ #: includes/new_widget.php:140
1288
+ msgid "Create Group"
1289
+ msgstr "Создать группу"
1290
+
1291
+ #: includes/new_widget.php:147
1292
+ msgid "AAPF Filter Single"
1293
+ msgstr "AAPF Один Фильтр"
1294
+
1295
+ #: includes/new_widget.php:148
1296
+ msgid "AJAX Product Filters. Single Filter"
1297
+ msgstr "AJAX Фильтры Продуктов. Одиночный фильтр"
1298
+
1299
+ #: includes/new_widget.php:291 templates/filters_group.php:23
1300
+ #: templates/filter_post_simple.php:132
1301
+ msgid "Manage filters"
1302
+ msgstr "Управление фильтрами"
1303
+
1304
+ #: includes/new_widget.php:316 templates/filters_group_simple.php:17
1305
+ msgid "Create Filter"
1306
+ msgstr "Создать фильтр"
1307
+
1308
+ #: includes/paid.php:80
1309
+ msgid "Hide the Show/Hide value(s) button in the filters"
1310
+ msgstr "Скрыть кнопку Показать/Скрыть значения в фильтрах"
1311
+
1312
+ #: includes/paid.php:87
1313
+ msgid "Use links for checkboxes and radio filter"
1314
+ msgstr "Использовать ссылки для флажков и радио в фильтрах"
1315
+
1316
+ #: includes/paid.php:94
1317
+ msgid "Use noindex for links"
1318
+ msgstr "Использовать noindex для ссылок"
1319
+
1320
+ #: includes/paid.php:100 includes/paid.php:112
1321
+ msgid "Second+ levels"
1322
+ msgstr "Второй + уровень"
1323
+
1324
+ #: includes/paid.php:101 includes/paid.php:113
1325
+ msgid "All levels"
1326
+ msgstr "Все уровни"
1327
+
1328
+ #: includes/paid.php:106
1329
+ msgid "Use nofollow for links"
1330
+ msgstr "Использовать nofollow для ссылок"
1331
+
1332
+ #: includes/paid.php:124
1333
+ msgid "Nice URLs"
1334
+ msgstr "Хорошие URLs"
1335
+
1336
+ #: includes/paid.php:129
1337
+ msgid ""
1338
+ "Works only with SEO friendly urls. WordPress permalinks must be set to Post "
1339
+ "name(Custom structure: /%postname%/ )"
1340
+ msgstr ""
1341
+ "Работает только с SEO дружественными urls. Постоянные ссылки WordPress "
1342
+ "должны быть установлены на «Имя публикации» (пользовательская структура: /% "
1343
+ "postname% /)"
1344
+
1345
+ #: includes/paid.php:132
1346
+ msgid "Base Canonical URL"
1347
+ msgstr "Базовый канонический URL"
1348
+
1349
+ #: includes/paid.php:136
1350
+ msgid "Use canonical tag without filters on WooCommerce pages"
1351
+ msgstr "Использовать канонический тег на страницах WooCommerce без фильтров"
1352
+
1353
+ #: includes/paid.php:140 includes/paid.php:1780
1354
+ #: templates/paid/filters_search_box.php:34
1355
+ msgid "Elements position"
1356
+ msgstr "Позиция элементов"
1357
+
1358
+ #: includes/paid.php:142
1359
+ msgid "Show the number of products before filtering"
1360
+ msgstr "Показывать количество продуктов перед фильтрацией"
1361
+
1362
+ #: includes/paid.php:148
1363
+ msgid "Show products count before filtering, when using update button"
1364
+ msgstr ""
1365
+ "Показывать количество товаров до фильтрации при использовании кнопки "
1366
+ "обновления"
1367
+
1368
+ #: includes/paid.php:154
1369
+ msgid "Text that means products"
1370
+ msgstr "Текст, который означает продукты"
1371
+
1372
+ #: includes/paid.php:160
1373
+ msgid "Text for show button"
1374
+ msgstr "Текст для кнопки показа"
1375
+
1376
+ #: includes/paid.php:173
1377
+ msgid "Data cache"
1378
+ msgstr "Кеш данных"
1379
+
1380
+ #: includes/paid.php:177
1381
+ msgid "Turned off"
1382
+ msgstr "Отключить"
1383
+
1384
+ #: includes/paid.php:178
1385
+ msgid "WordPress Cache"
1386
+ msgstr "WordPress Кэш"
1387
+
1388
+ #: includes/paid.php:179
1389
+ msgid "Persistent Cache Plugins"
1390
+ msgstr "Плагины Постоянного Кэширования"
1391
+
1392
+ #: includes/paid.php:190
1393
+ msgid "Display variation data"
1394
+ msgstr "Отображение данных вариаций"
1395
+
1396
+ #: includes/paid.php:193
1397
+ msgid "Display variation image"
1398
+ msgstr "Показывать картинку вариации"
1399
+
1400
+ #: includes/paid.php:200
1401
+ msgid "Display variation price"
1402
+ msgstr "Показывать цену вариации"
1403
+
1404
+ #: includes/paid.php:204
1405
+ msgid "Display data from the variation that matches the selected filters"
1406
+ msgstr "Отображение данных из вариаций, соответствующих выбранным фильтрам"
1407
+
1408
+ #: includes/paid.php:209
1409
+ msgid "Remember variation options"
1410
+ msgstr "Запомнить выбор вариации"
1411
+
1412
+ #: includes/paid.php:215
1413
+ msgid "Use variation options only after search"
1414
+ msgstr "Использовать выбор вариаций только после поиска"
1415
+
1416
+ #: includes/paid.php:222
1417
+ msgid ""
1418
+ "Change image/price on variable products to image/price from variation that "
1419
+ "has attribute value of selected filters."
1420
+ msgstr ""
1421
+ "Изменит изображение/цену на вариативном продукте на изображение/цену из "
1422
+ "вариации, который имеет значение атрибута выбранного в фильтрах."
1423
+
1424
+ #: includes/paid.php:223
1425
+ msgid ""
1426
+ "Image replace can do not work on some theme. Our plugin uses default "
1427
+ "WooCommerce functionality to replace image, but some theme do not use it."
1428
+ msgstr ""
1429
+ "Замена изображения может не работать на некоторых темах. Наш плагин "
1430
+ "использует функциональность WooCommerce по умолчанию для замены изображения, "
1431
+ "но некоторые темы его не используют."
1432
+
1433
+ #: includes/paid.php:224
1434
+ msgid ""
1435
+ "If you have this issue, then please contact theme developer with this issue"
1436
+ msgstr ""
1437
+ "Если у вас есть эта проблема, пожалуйста, свяжитесь с разработчиком темы с "
1438
+ "этой проблемой"
1439
+
1440
+ #: includes/paid.php:231
1441
+ msgid "Slider has a lot of values"
1442
+ msgstr "Ползунок имеет много значений"
1443
+
1444
+ #: includes/paid.php:235
1445
+ msgid ""
1446
+ "Enable it if slider has more than 250 values. Hierarchical taxonomy can work "
1447
+ "incorrect with sliders"
1448
+ msgstr ""
1449
+ "Включите его, если ползунок имеет более 250 значений. Иерархическая "
1450
+ "таксономия может работать некорректно с ползунками"
1451
+
1452
+ #: includes/paid.php:244
1453
+ msgid "Products Count Before Update"
1454
+ msgstr "Количество Продуктов Перед Обновлением"
1455
+
1456
+ #: includes/paid.php:275
1457
+ msgid "Elements over products"
1458
+ msgstr "Элементы над продуктами"
1459
+
1460
+ #: includes/paid.php:300
1461
+ msgid "Add group"
1462
+ msgstr "Добавить группу"
1463
+
1464
+ #: includes/paid.php:463
1465
+ msgid "Search Box"
1466
+ msgstr "Блок Поиска"
1467
+
1468
+ #: includes/paid.php:477 includes/paid.php:1609
1469
+ msgid "Ranges"
1470
+ msgstr "Диапазон"
1471
+
1472
+ #: includes/paid.php:552
1473
+ msgid "Hide \"Show/Hide value(s)\" button"
1474
+ msgstr "Скрыть кнопку «Показать / Скрыть значения»"
1475
+
1476
+ #: includes/paid.php:596 includes/paid.php:631
1477
+ #: addons/custom_sidebar/sidebar_include.php:41
1478
+ msgid "SHOW FILTERS"
1479
+ msgstr "ПОКАЗАТЬ ФИЛЬТРЫ"
1480
+
1481
+ #: includes/paid.php:1689
1482
+ msgid "Attributes"
1483
+ msgstr "Атрибуты"
1484
+
1485
+ #: includes/paid.php:1692 templates/paid/filters_search_box.php:9
1486
+ msgid "URL to search"
1487
+ msgstr "Ссылка для поиска"
1488
+
1489
+ #: includes/paid.php:1694 templates/paid/filters_search_box.php:11
1490
+ msgid "Shop page"
1491
+ msgstr "Страница магазина"
1492
+
1493
+ #: includes/paid.php:1695 templates/paid/filters_search_box.php:12
1494
+ msgid "Category page"
1495
+ msgstr "Страница категории"
1496
+
1497
+ #: includes/paid.php:1696 templates/paid/filters_search_box.php:13
1498
+ msgid "URL"
1499
+ msgstr "Ссылка"
1500
+
1501
+ #: includes/paid.php:1700 templates/paid/filters_search_box.php:17
1502
+ msgid "Category"
1503
+ msgstr "Категория"
1504
+
1505
+ #: includes/paid.php:1710 templates/paid/filters_search_box.php:27
1506
+ msgid "URL for search"
1507
+ msgstr "Ссылка для поиска"
1508
+
1509
+ #: includes/paid.php:1714
1510
+ msgid "Attributes count"
1511
+ msgstr "Количество атрибутов"
1512
+
1513
+ #: includes/paid.php:1734 templates/filter_post_simple.php:18
1514
+ #: addons/deprecated_filters/filter_post.php:79
1515
+ #: templates/single_filter/single_settings_elements.php:47
1516
+ msgid "Filter By"
1517
+ msgstr "Фильтровать по"
1518
+
1519
+ #: includes/paid.php:1750 templates/filter_post_simple.php:52
1520
+ #: addons/deprecated_filters/filter_post.php:135
1521
+ #: templates/single_filter/single_settings_elements.php:88
1522
+ msgid "Custom Taxonomies"
1523
+ msgstr "Пользовательские таксономии"
1524
+
1525
+ #: includes/paid.php:1759 templates/filter_post_simple.php:75
1526
+ #: addons/deprecated_filters/filter_post.php:158
1527
+ msgid "Type"
1528
+ msgstr "Тип"
1529
+
1530
+ #: includes/paid.php:1777 templates/paid/filters_search_box.php:31
1531
+ msgid "Styles"
1532
+ msgstr "Стили"
1533
+
1534
+ #: includes/paid.php:1782 templates/paid/filters_search_box.php:36
1535
+ msgid "Vertical"
1536
+ msgstr "Вертикально"
1537
+
1538
+ #: includes/paid.php:1783 templates/paid/filters_search_box.php:37
1539
+ msgid "Horizontal"
1540
+ msgstr "Горизонтально"
1541
+
1542
+ #: includes/paid.php:1787
1543
+ msgid "Search button position"
1544
+ msgstr "Положение кнопки поиска"
1545
+
1546
+ #: includes/paid.php:1789 addons/deprecated_filters/filter_post.php:532
1547
+ #: addons/deprecated_filters/filter_post.php:538
1548
+ msgid "Before"
1549
+ msgstr "Перед"
1550
+
1551
+ #: includes/paid.php:1790 addons/deprecated_filters/filter_post.php:533
1552
+ #: addons/deprecated_filters/filter_post.php:539
1553
+ msgid "After"
1554
+ msgstr "После"
1555
+
1556
+ #: includes/paid.php:1791
1557
+ msgid "Before and after"
1558
+ msgstr "До и после"
1559
+
1560
+ #: includes/paid.php:1795
1561
+ msgid "Search button text"
1562
+ msgstr "Текст кнопки поиска"
1563
+
1564
+ #: includes/paid.php:1799 templates/paid/filters_search_box.php:41
1565
+ #: addons/deprecated_filters/settings/design.php:705
1566
+ msgid "Background color"
1567
+ msgstr "Цвет фона"
1568
+
1569
+ #: includes/paid.php:1804 templates/paid/filters_search_box.php:46
1570
+ msgid "Background transparency"
1571
+ msgstr "Прозрачность фона"
1572
+
1573
+ #: includes/paid.php:1808 templates/paid/filters_search_box.php:50
1574
+ msgid "100%"
1575
+ msgstr "100%"
1576
+
1577
+ #: includes/paid.php:1809 templates/paid/filters_search_box.php:51
1578
+ msgid "90%"
1579
+ msgstr "90%"
1580
+
1581
+ #: includes/paid.php:1810 templates/paid/filters_search_box.php:52
1582
+ msgid "80%"
1583
+ msgstr "80%"
1584
+
1585
+ #: includes/paid.php:1811 templates/paid/filters_search_box.php:53
1586
+ msgid "70%"
1587
+ msgstr "70%"
1588
+
1589
+ #: includes/paid.php:1812 templates/paid/filters_search_box.php:54
1590
+ msgid "60%"
1591
+ msgstr "60%"
1592
+
1593
+ #: includes/paid.php:1813 templates/paid/filters_search_box.php:55
1594
+ msgid "50%"
1595
+ msgstr "50%"
1596
+
1597
+ #: includes/paid.php:1814 templates/paid/filters_search_box.php:56
1598
+ msgid "40%"
1599
+ msgstr "40%"
1600
+
1601
+ #: includes/paid.php:1815 templates/paid/filters_search_box.php:57
1602
+ msgid "30%"
1603
+ msgstr "30%"
1604
+
1605
+ #: includes/paid.php:1816 templates/paid/filters_search_box.php:58
1606
+ msgid "20%"
1607
+ msgstr "20%"
1608
+
1609
+ #: includes/paid.php:1817 templates/paid/filters_search_box.php:59
1610
+ msgid "10%"
1611
+ msgstr "10%"
1612
+
1613
+ #: includes/paid.php:1818 templates/paid/filters_search_box.php:60
1614
+ msgid "0%"
1615
+ msgstr "0%"
1616
+
1617
+ #: includes/paid.php:1829
1618
+ msgid "Button background color"
1619
+ msgstr "Цвет фона кнопки"
1620
+
1621
+ #: includes/paid.php:1834
1622
+ msgid "Button background color on mouse over"
1623
+ msgstr "Цвет фона кнопки при наведении курсора"
1624
+
1625
+ #: includes/paid.php:1839
1626
+ msgid "Button text color"
1627
+ msgstr "Цвет текста кнопки"
1628
+
1629
+ #: includes/paid.php:1844
1630
+ msgid "Button text color on mouse over"
1631
+ msgstr "Цвет текста кнопки при наведении курсора"
1632
+
1633
+ #: includes/paid.php:1857 includes/paid.php:3801
1634
+ msgid "Child/Parent Limitation"
1635
+ msgstr "Ограничения Дочерних/Родительских"
1636
+
1637
+ #: includes/paid.php:1860 includes/paid.php:3804
1638
+ msgid "Child Count"
1639
+ msgstr "Количество Дочерних"
1640
+
1641
+ #: includes/paid.php:1861 includes/paid.php:3805
1642
+ msgid "Parent"
1643
+ msgstr "Родитель"
1644
+
1645
+ #: includes/paid.php:1862 includes/paid.php:1898 includes/paid.php:3806
1646
+ #: includes/paid.php:3841 includes/paid.php:3845 includes/paid.php:3849
1647
+ #: includes/paid.php:3853
1648
+ msgid "Child"
1649
+ msgstr "Дочерний"
1650
+
1651
+ #: includes/paid.php:1866 includes/paid.php:3811
1652
+ msgid "Child depth"
1653
+ msgstr "Глубина дочерних"
1654
+
1655
+ #: includes/paid.php:1869 includes/paid.php:1908 includes/paid.php:3827
1656
+ #: includes/paid.php:3835 includes/paid.php:3849
1657
+ msgid "\"No values\" messages"
1658
+ msgstr "Сообщение \"Нет значений\""
1659
+
1660
+ #: includes/paid.php:1873 includes/paid.php:1912 includes/paid.php:3831
1661
+ #: includes/paid.php:3853
1662
+ msgid "\"Select previous\" messages"
1663
+ msgstr "Сообщение \"Выберите предыдущий\""
1664
+
1665
+ #: includes/paid.php:1877
1666
+ msgid "\"No Products\" messages"
1667
+ msgstr "Сообщение \"Нет Продуктов\""
1668
+
1669
+ #: includes/paid.php:1882 includes/paid.php:3816
1670
+ msgid "Child count"
1671
+ msgstr "Количество дочерних"
1672
+
1673
+ #: includes/paid.php:1904 includes/paid.php:3845
1674
+ msgid "\"No products\" messages"
1675
+ msgstr "Сообщение \"Нет продуктов\""
1676
+
1677
+ #: includes/paid.php:1925 includes/paid.php:3882
1678
+ msgid "Date Month Dropdown menu"
1679
+ msgstr "Выпадающее меню Даты Месяца"
1680
+
1681
+ #: includes/paid.php:1931 includes/paid.php:3889
1682
+ msgid "Date Year Dropdown menu"
1683
+ msgstr "Выпадающее меню Даты Года"
1684
+
1685
+ #: includes/paid.php:1935 includes/paid.php:3895
1686
+ msgid "Date visual style"
1687
+ msgstr "Визуальный стиль даты"
1688
+
1689
+ #: includes/paid.php:1976 includes/paid.php:3570
1690
+ msgid "Display only"
1691
+ msgstr "Показывать только"
1692
+
1693
+ #: includes/paid.php:1977 includes/paid.php:3571
1694
+ msgid "Remove"
1695
+ msgstr "Удалить"
1696
+
1697
+ #: includes/paid.php:1979
1698
+ msgid "values selected in Include / Exclude List"
1699
+ msgstr "«Включить/Исключить» значения, выбранные в списке"
1700
+
1701
+ #: includes/paid.php:2001 includes/paid.php:3763
1702
+ msgid "Use as numeric"
1703
+ msgstr "Использовать как числовой"
1704
+
1705
+ #: includes/paid.php:2014 includes/paid.php:3745
1706
+ msgid "Show product count per attribute value?"
1707
+ msgstr "Показывать количество товаров для каждого атрибута?"
1708
+
1709
+ #: includes/paid.php:2025 includes/paid.php:3778
1710
+ msgid "Values per row"
1711
+ msgstr "Значений в строке"
1712
+
1713
+ #: includes/paid.php:2164 includes/paid.php:3101
1714
+ #: includes/widget_functions.php:398
1715
+ msgid "In stock"
1716
+ msgstr "В наличии"
1717
+
1718
+ #: includes/paid.php:2172 includes/paid.php:3102
1719
+ #: includes/widget_functions.php:399
1720
+ msgid "Out of stock"
1721
+ msgstr "Нет в наличии"
1722
+
1723
+ #: includes/paid.php:2193 includes/paid.php:3105
1724
+ msgid "On sale"
1725
+ msgstr "На распродаже"
1726
+
1727
+ #: includes/paid.php:2201 includes/paid.php:3106
1728
+ msgid "Not on sale"
1729
+ msgstr "Не на распродаже"
1730
+
1731
+ #: includes/paid.php:3567
1732
+ msgid "Display selected values only / Remove selected values"
1733
+ msgstr "Отображать только выбранные значения / Удалить выбранные значения"
1734
+
1735
+ #: includes/paid.php:3693 addons/deprecated_filters/filter_post.php:268
1736
+ msgid "1.00-100.00, 101.00-200.00, 201.00-1000.00"
1737
+ msgstr "1.00-100.00, 101.00-200.00, 201.00-1000.00"
1738
+
1739
+ #: includes/paid.php:3694 addons/deprecated_filters/filter_post.php:269
1740
+ msgid "1.00-100.00, 100.00-200.00, 200.00-1000.00"
1741
+ msgstr "1.00-100.00, 100.00-200.00, 200.00-1000.00"
1742
+
1743
+ #: includes/paid.php:3695 addons/deprecated_filters/filter_post.php:270
1744
+ msgid "1.00-99.99, 100.00-199.99, 200.00-999.99"
1745
+ msgstr "1.00-99.99, 100.00-199.99, 200.00-999.99"
1746
+
1747
+ #: includes/paid.php:3699 addons/deprecated_filters/filter_post.php:265
1748
+ msgid "Ranges: 1,100,200,1000"
1749
+ msgstr "Диапазон: 1,100,200,1000"
1750
+
1751
+ #: includes/paid.php:3710 addons/deprecated_filters/filter_post.php:282
1752
+ msgid "Hide first and last ranges without products"
1753
+ msgstr "Скрыть первые и последние диапазоны без продуктов"
1754
+
1755
+ #: includes/paid.php:3719 includes/paid.php:3724
1756
+ #: addons/deprecated_filters/filter_post.php:287
1757
+ msgid "Show last range to the infinity"
1758
+ msgstr "Заменить последнее значение диапазона знаком бесконечности"
1759
+
1760
+ #: includes/paid.php:3931
1761
+ msgid "IMPORTANT FOR DATEPICKER"
1762
+ msgstr "ВАЖНО ДЛЯ ВЫБОРА ДАТЫ"
1763
+
1764
+ #: includes/paid.php:3932
1765
+ msgid "Datepicker required specific slug for attribute/taxonomy values"
1766
+ msgstr ""
1767
+ "Выбор даты требуется определенный slug для значений атрибута/таксономии"
1768
+
1769
+ #: includes/paid.php:3933
1770
+ msgid "Slug must be like"
1771
+ msgstr "Slug должен быть как"
1772
+
1773
+ #: includes/paid.php:3934
1774
+ msgid "Example:"
1775
+ msgstr "Пример:"
1776
+
1777
+ #: includes/paid.php:3935
1778
+ msgid "For date"
1779
+ msgstr "Для даты"
1780
 
1781
+ #: includes/paid.php:3935
1782
+ msgid "slug must be"
1783
+ msgstr "slug должен быть"
1784
 
1785
+ #: includes/paid.php:3936
1786
+ msgid "Current attribute/taxonomy values"
1787
+ msgstr "Текущие значения атрибута/таксономии"
1788
 
1789
+ #: includes/paid.php:3971
1790
+ msgid "OK"
1791
+ msgstr "ОК"
1792
 
1793
+ #: includes/paid.php:3972
1794
+ msgid "Name"
1795
+ msgstr "Имя"
1796
 
1797
+ #: includes/paid.php:3973
1798
+ msgid "Slug"
1799
+ msgstr "Slug"
 
1800
 
1801
+ #: includes/paid.php:3974
1802
+ msgid "Date detected"
1803
+ msgstr "Дата обнаружена"
 
1804
 
1805
+ #: includes/paid.php:3984
1806
+ msgid "Year:"
1807
+ msgstr "Год:"
1808
 
1809
+ #: includes/paid.php:3985
1810
+ msgid "Month:"
1811
+ msgstr "Месяц:"
1812
 
1813
+ #: includes/paid.php:3986
1814
+ msgid "Day:"
1815
+ msgstr "День:"
1816
 
1817
+ #: includes/paid.php:3988
1818
+ msgid "Slug is incorrect"
1819
+ msgstr "Неверный Slug"
1820
 
1821
+ #: includes/paid.php:3995
1822
+ msgid "Empty attribute/taxonomy"
1823
+ msgstr "Пустой атрибут/таксономия"
1824
 
1825
+ #: includes/paid.php:4006
1826
+ msgid "Use specific Price Ranges text"
1827
+ msgstr "Использовать конкретный текст ценовых диапазонов"
1828
 
1829
+ #: includes/paid.php:4011
1830
+ msgid "Text will be used for Price Ranges"
1831
+ msgstr "Текст будет использоваться для Диапазона Цен"
1832
 
1833
+ #: includes/paid.php:4016
1834
+ #: templates/single_filter/single_settings_elements.php:560
1835
+ msgid "You can use some replacements"
1836
+ msgstr "Вы можете использовать некоторые замены"
1837
 
1838
+ #: includes/paid.php:4018
1839
+ msgid "first value, from this price"
1840
+ msgstr "первое значение, от этой цены"
1841
 
1842
+ #: includes/paid.php:4019
1843
+ msgid "second value, to this price"
1844
+ msgstr "второе значение, к этой цене"
1845
 
1846
+ #: includes/paid.php:4020
1847
+ #: templates/single_filter/single_settings_elements.php:561
1848
+ msgid "currency symbol($)"
1849
+ msgstr "символ валюты($)"
1850
 
1851
+ #: includes/paid.php:4021
1852
+ #: templates/single_filter/single_settings_elements.php:562
1853
+ msgid "currency code(USD)"
1854
+ msgstr "код валюты (USD)"
1855
 
1856
+ #: includes/paid.php:4231
1857
+ msgid "Display only child of"
1858
+ msgstr "Показать только дочернюю"
1859
 
1860
+ #: includes/paid.php:4240
1861
+ msgid "Display All"
1862
+ msgstr "Показать все"
1863
 
1864
+ #: includes/paid.php:4241
1865
+ msgid "Start from parent values"
1866
+ msgstr "Начать с родительских значений"
1867
 
1868
+ #: includes/paid.php:4242
1869
+ msgid "Child for current page value"
1870
+ msgstr "Дочерний для текущего значения страницы"
1871
 
1872
+ #: includes/paid.php:4243
1873
+ msgid "Child for value:"
1874
+ msgstr "Дочерние для значения:"
1875
 
1876
+ #: includes/paid.php:4266
1877
+ msgid "Depth level"
1878
+ msgstr "Уровень глубины"
1879
 
1880
+ #: includes/paid.php:4302
1881
+ msgid "Nice URLs settings"
1882
+ msgstr "Настройки хороших URLs"
1883
 
1884
+ #. Author of the plugin
1885
+ #: includes/visual-composer.php:21 includes/visual-composer.php:47
1886
+ msgid "BeRocket"
1887
+ msgstr "BeRocket"
1888
 
1889
+ #: templates/admin.php:2
1890
  msgid ""
1891
+ "Widget will be removed in future please use <strong>AAPF Filters "
1892
+ "Group</strong> instead."
1893
  msgstr ""
1894
+ "Виджет будет удален в будущем, пожалуйста используйте <strong>AAPF Filters "
1895
+ "Group</strong> вместо этого."
1896
 
1897
+ #: templates/admin.php:3
1898
+ #, php-format
1899
+ msgid "You can add filter to %s that has limitation"
1900
+ msgstr "Пользовательский CSS для выбранного блока"
 
 
 
1901
 
1902
+ #: templates/admin.php:3
1903
+ msgid "Filters group"
1904
+ msgstr "Группа фильтров"
 
1905
 
1906
+ #: templates/color_ajax.php:3
1907
+ msgid "Color pick"
1908
+ msgstr "Выбор цвета"
1909
 
1910
+ #: templates/color_ajax.php:3
1911
+ msgid "Image pick"
1912
+ msgstr "Выбор изображения"
1913
 
1914
+ #: templates/filters_group.php:4
1915
+ msgid "Custom CSS class"
1916
+ msgstr "Пользовательский CSS класс"
1917
 
1918
+ #: templates/filters_group.php:7
1919
+ msgid "use white space for multiple classes"
1920
+ msgstr "использовать пробел для нескольких классов"
1921
 
1922
+ #: templates/filters_group.php:12 templates/filters_group_simple.php:6
1923
+ msgid "Filters In Group"
1924
+ msgstr "Фильтры в группе"
1925
+
1926
+ #: templates/filters_group.php:22 templates/filters_group_simple.php:16
1927
+ msgid "Add filter"
1928
+ msgstr "Добавить фильтр"
1929
+
1930
+ #: templates/filters_group.php:39
1931
+ msgid "Width"
1932
+ msgstr "Ширина"
1933
+
1934
+ #: templates/filters_group.php:48
1935
+ msgid "No one filters was created. Please create filters first"
1936
+ msgstr "Ни один фильтр не был создан. Пожалуйста, сначала создайте фильтры"
1937
+
1938
+ #: templates/filters_group.php:49 templates/filters_group.php:55
1939
+ msgid "FILTERS PAGE"
1940
+ msgstr "СТРАНИЦА ФИЛЬТРОВ"
1941
+
1942
+ #: templates/filters_group.php:52
1943
+ msgid "Group do not have filters. Please add filters before save it."
1944
  msgstr ""
1945
+ "Группа не имеет фильтров. Пожалуйста, добавьте фильтры перед сохранением."
1946
+
1947
+ #: templates/filters_group.php:54
1948
+ msgid "You can create new filters or edit it on"
1949
+ msgstr "Вы можете создавать новые фильтры или редактировать их на"
1950
+
1951
+ #: templates/filters_group_simple.php:42 templates/filter_post_simple.php:131
1952
+ msgid "Need more options? Create it on "
1953
+ msgstr "Нужно больше опций? Создайте на странице "
1954
+
1955
+ #: templates/filters_group_simple.php:44 templates/filter_post_simple.php:133
1956
+ msgid " page"
1957
+ msgstr " "
1958
+
1959
+ #: templates/filters_information.php:3 templates/groups_information.php:2
1960
+ msgid "Get more information on BeRocket Documentation"
1961
+ msgstr "Получить больше информации о документации BeRocket"
1962
 
1963
  #: templates/filters_information.php:4
1964
  msgid "How to hide filter on page load?"
1966
 
1967
  #: templates/filters_information.php:5
1968
  #, php-format
1969
+ msgid ""
1970
+ "Enable in <strong>%s</strong> step option <strong>%s</strong> and <strong>"
1971
+ "%s</strong>"
1972
+ msgstr ""
1973
+ "Включите в <strong>%s</strong> пошаговый параметр <strong>%s</strong> и "
1974
+ "<strong>%s</strong>."
1975
+
1976
+ #: templates/filters_information.php:5 templates/single_filter/all_steps.php:20
1977
+ msgid "Additional"
1978
+ msgstr "Дополнительные"
1979
+
1980
+ #: templates/filters_information.php:5
1981
+ #: addons/deprecated_filters/filter_post.php:439
1982
+ #: templates/single_filter/single_settings_elements.php:284
1983
+ msgid "Enable collapse option"
1984
+ msgstr "Включить опцию свертывания"
1985
+
1986
+ #: templates/filters_information.php:5
1987
+ #: addons/deprecated_filters/filter_post.php:445
1988
+ #: templates/single_filter/single_settings_elements.php:296
1989
+ msgid "Collapse this widget on load?"
1990
+ msgstr "Свернуть этот виджет при загрузке?"
1991
 
1992
  #: templates/filters_information.php:6
1993
  msgid "How to add reset filters button?"
1995
 
1996
  #: templates/filters_information.php:7 templates/filters_information.php:9
1997
  #, php-format
1998
+ msgid "Select <strong>%s</strong> in step <strong>%s</strong>"
1999
+ msgstr "Выберите <strong>%s</strong> на шаге <strong>%s</strong>."
2000
 
2001
+ #: templates/filters_information.php:7 templates/filters_information.php:9
2002
+ #: addons/deprecated_filters/filter_post.php:55
2003
+ #: templates/single_filter/all_steps.php:7
2004
+ msgid "Widget Type"
2005
+ msgstr "Тип Виджета"
2006
 
2007
  #: templates/filters_information.php:8
2008
  msgid ""
2012
  "Как добавить кнопку обновления продуктов? (для фильтрации продуктов только "
2013
  "после нажатия на кнопку)"
2014
 
2015
+ #: templates/filters_information.php:26
 
 
 
 
 
2016
  msgid ""
2017
+ "Title will be displayed only on admin side.<br>You can write text, that want "
2018
+ "to mark it for admin side"
2019
  msgstr ""
2020
+ "Название будет отображаться только на стороне администратора. <br>Вы можете "
2021
+ "написать текст, который хотите пометить его на стороне администратора"
2022
 
2023
+ #: templates/filters_information.php:33
2024
  msgid ""
2025
  "Where filters must be displayed.<br>Filter will be displayed on all pages if "
2026
  "do not have conditions.<br><strong>Please first try to add filter without "
2030
  "страницах, если нет условий. <br> <strong> Сначала попробуйте добавить "
2031
  "фильтр без каких-либо условий, чтобы убедиться, что он работает </strong>."
2032
 
2033
+ #: templates/filters_information.php:40
2034
+ msgid ""
2035
+ "Title will be displayed as widget title.<br>You can write text, that want to "
2036
+ "display above filter"
2037
+ msgstr ""
2038
+ "Название будет отображаться как заголовок виджета. <br> Вы можете написать "
2039
+ "текст, который хотите отобразить над фильтром"
2040
+
2041
+ #: templates/filters_information.php:47
2042
  msgid ""
2043
  "All that can be displayed you can select there<h3>Variants:</h3><ul><li>"
2044
  "<strong>Filter</strong>(main type) - filters by attributes, categories, "
2058
  "фильтров</strong> - отображать выбранные фильтры и предоставлять возможность "
2059
  "отключить их в одном месте</li></ul>"
2060
 
2061
+ #: templates/filters_information.php:53
2062
  msgid ""
2063
  "Select attribute that you need to filter by.<br>You can use for filtering "
2064
  "price, attributes, categories, tags etc"
2066
  "Выберите атрибут, по которому нужно выполнить фильтрацию. <br> Вы можете "
2067
  "использовать для фильтрации цену, атрибуты, категории, теги и т. д."
2068
 
2069
+ #: templates/filters_information.php:57
2070
+ msgid "Filter style. This option change how filter will be look like."
2071
+ msgstr "Стиль фильтра. Эта опция изменяет внешний вид фильтра."
2072
+
2073
+ #: templates/filters_information.php:62
2074
+ msgid ""
2075
+ "Filter required options.<br>Those options must be setuped, because filter "
2076
+ "can work incorrect without it."
2077
+ msgstr ""
2078
+ "Фильтруйте требуемые параметры. <br>Эти параметры необходимо настроить, "
2079
+ "поскольку фильтр может работать некорректно без него."
2080
+
2081
+ #: templates/filters_information.php:66
2082
+ msgid "Filter Additional options. You can add/change some elements for filter"
2083
+ msgstr ""
2084
+ "Фильтр Дополнительные параметры. Вы можете добавить/изменить некоторые "
2085
+ "элементы для фильтра"
2086
 
2087
+ #: templates/filters_information.php:70 templates/filters_information.php:93
2088
  msgid ""
2089
  "Shortcode to use this filters in any place of your site will be displayed "
2090
  "there<br><strong>Please use widgets if you do not know how shortcode "
2093
  "Шорткод для использования фильтров в любом месте вашего сайта.<br> <strong> "
2094
  "Используйте виджеты, если Вы не знаете, как работает шорткод </strong>"
2095
 
2096
+ #: templates/filters_information.php:74
2097
  msgid "Save filter after setup to use it in widgets"
2098
  msgstr "Сохранить фильтр после настройки, чтобы использовать его в виджетах"
2099
 
2100
+ #: templates/filters_information.php:80 templates/filters_information.php:89
2101
  msgid ""
2102
  "You can use widget to display filters on your shop page.<br><strong>Use "
2103
  "sidebar, that displayed on shop page</strong>"
2106
  "магазина. <br> <strong> Использовать боковую панель, которая отображается на "
2107
  "странице магазина </strong>"
2108
 
2109
+ #: templates/filter_post_simple.php:121
2110
+ #: addons/deprecated_filters/filter_post.php:205
2111
+ #: templates/single_filter/single_settings_elements.php:312
2112
+ msgid "Operator"
2113
+ msgstr "Оператор"
2114
 
2115
+ #: templates/groups_information.php:3
2116
+ msgid ""
2117
+ "Do not use multiple filters with same attribute on one page! We will not "
2118
+ "guarantee normal filters works in that case."
2119
  msgstr ""
2120
+ "Не используйте несколько фильтров с одинаковым атрибутом на одной странице. "
2121
+ "Мы не гарантируем нормальную работу фильтров в этом случае."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2122
 
2123
+ #: templates/groups_information.php:4
2124
+ msgid ""
2125
+ "P.S. No, using sub-categories for different filters is not normal. Please "
2126
+ "use attributes instead"
2127
+ msgstr ""
2128
+ "P.S. Нет, использовать подкатегории для разных фильтров не нормально. "
2129
+ "Пожалуйста используйте атрибуты вместо этого"
2130
 
2131
+ #: templates/groups_information.php:6
2132
+ msgid "Group without any condition will be displayed on all pages"
2133
+ msgstr "Группы без условий будут отображаться на всех страницах"
 
2134
 
2135
+ #: templates/groups_information.php:7
2136
+ msgid "Connection between condition can be AND and OR"
2137
+ msgstr "Соединение между условиями может быть И и ИЛИ"
2138
 
2139
+ #: templates/groups_information.php:8
2140
+ msgid "<strong>AND</strong> uses between condition in one section"
2141
+ msgstr "<strong>И</strong> используется между условиями в одной секции"
2142
 
2143
+ #: templates/groups_information.php:9
2144
+ msgid "<strong>OR</strong> uses between different sections with conditions"
2145
+ msgstr "<strong>ИЛИ</strong> используется между разными секциями с условиями"
2146
 
2147
+ #: templates/groups_information.php:10
2148
+ msgid "To display one group on different pages use OR condition"
2149
+ msgstr ""
2150
+ "Для отображения одной группы на разных страницах используйте условие ИЛИ"
2151
 
2152
+ #: templates/include_exclude_list.php:3
2153
+ msgid "Include / Exclude List"
2154
+ msgstr "список «Включения / Исключения»"
2155
 
2156
+ #: addons/additional_tables/additional_tables.php:64
2157
+ msgid "Additional Tables (BETA)"
2158
+ msgstr "Дополнительные таблицы (БЕТА)"
2159
 
2160
+ #: addons/additional_tables/additional_tables.php:65
2161
+ msgid ""
2162
+ "Create 4 additional tables.<ul><li>Table to speed up hierarchical taxonomies "
2163
+ "recount: <strong>Product categories</strong>, <strong>Brands</strong> "
2164
+ "etc</li><li>3 tables to speed up functions for variation filtering</li></ul>"
2165
+ msgstr ""
2166
+ "Создается 4 дополнительных таблицы. <ul><li>Таблица для ускорения пересчета "
2167
+ "иерархических таксономий: <strong>Категории продктов</strong>, <strong>"
2168
+ "Бренды</strong> и т.д. </li><li>3 таблицы для ускорения функций фильтрации "
2169
+ "вариаций</li></ul>"
2170
 
2171
+ #: addons/additional_tables/additional_tables.php:111
2172
+ msgid ""
2173
+ "Additional tables was succesfully generated. They will be used automatically "
2174
+ "when needed."
2175
+ msgstr ""
2176
+ "Дополнительные таблицы были успешно созданы. Они будут использоваться "
2177
+ "автоматически при необходимости."
2178
 
2179
+ #: addons/additional_tables/additional_tables.php:137
2180
+ msgid ""
2181
+ "WooCommerce do not have needed table for Additional Table add-on. Add-on "
2182
+ "required WooCommerce 3.6 or newer"
2183
+ msgstr ""
2184
+ "У WooCommerce нет нужной таблицы для дополнения Дополнительные таблицы. "
2185
+ "Дополнению требуется WooCommerce 3.6 или новее"
2186
 
2187
+ #: addons/additional_tables/additional_tables.php:139
2188
+ msgid ""
2189
+ "WooCommerce <strong>Product lookup tables</strong> right now regenerating"
2190
+ msgstr ""
2191
+ "WooCommerce <strong>Product lookup tables</strong> прямо сейчас "
2192
+ "восстанавливаются"
2193
 
2194
+ #: addons/additional_tables/additional_tables.php:142
2195
+ #, php-format
2196
+ msgid ""
2197
+ "Additional tables are generating. They will be used after generation is "
2198
+ "completed. Current status is <strong><span "
2199
+ "class=\"braapf_additional_table_status\">%d</span>%s</strong>"
2200
+ msgstr ""
2201
+ "Дополнительные таблицы создаются. Они будут использованы после завершения "
2202
+ "генерации. Текущий статус <strong><span "
2203
+ "class=\"braapf_additional_table_status\">%d</span>%s</strong>"
2204
 
2205
+ #: addons/additional_tables/additional_tables.php:150
2206
+ msgid ""
2207
+ "Seems you have some issue with Product lookup tables. Please try to remove "
2208
+ "all data from table"
2209
+ msgstr ""
2210
+ "Кажется, у вас есть проблемы с таблицами поиска продукта. Пожалуйста, "
2211
+ "попробуйте удалить все данные из таблицы"
2212
 
2213
+ #: addons/additional_tables/additional_tables.php:150
2214
+ msgid "and regenerate it in "
2215
+ msgstr "и восстановить его в"
2216
 
2217
+ #: addons/add_classes/add_classes.php:9
2218
+ msgid "Add more classes"
2219
+ msgstr "Добавить больше классов"
2220
 
2221
+ #: addons/add_classes/add_classes.php:10
2222
  msgid ""
2223
+ "Add more CSS classes to filters. Can be using for styling or other things"
2224
  msgstr ""
2225
+ "Добавьте больше классов CSS в фильтры. Можно использовать для стилизации или "
2226
+ "других вещей"
2227
 
2228
+ #: addons/custom_sidebar/custom_sidebar.php:9
2229
+ msgid "Custom Sidebar"
2230
+ msgstr "Пользовательская Боковая Панель"
2231
 
2232
+ #: addons/custom_sidebar/sidebar_include.php:64
2233
+ msgid "Custom Sidebar Styles"
2234
+ msgstr "Пользовательский Стиль Боковой Панели"
2235
 
2236
+ #: addons/custom_sidebar/sidebar_include.php:68
2237
+ #: templates/paid/filters_group.php:68
2238
+ msgid "Collapse Button style"
2239
+ msgstr "Стиль кнопки «Свернуть»"
2240
 
2241
+ #: addons/custom_sidebar/sidebar_include.php:88
2242
+ #: templates/paid/filters_group.php:85
2243
+ msgid "Collapse Button Icon style"
2244
+ msgstr "Стиль значка кнопки «Свернуть»"
2245
 
2246
+ #: addons/custom_sidebar/sidebar_include.php:108
2247
+ msgid "Sidebar Shadow"
2248
+ msgstr "Тень Боковой Панели"
2249
 
2250
+ #: addons/custom_sidebar/sidebar_include.php:136
2251
+ msgid "BeRocket AJAX Filters"
2252
+ msgstr "BeRocket AJAX Filters"
2253
 
2254
+ #: addons/custom_sidebar/sidebar_include.php:138
2255
+ msgid "Sidebar for BeRocket AJAX Filters"
2256
+ msgstr "Боковая Панель для BeRocket AJAX Фильтров"
2257
 
2258
+ #: addons/custom_sidebar/sidebar_include.php:151
2259
+ msgid "Close &#10005;"
2260
+ msgstr "Закрыть &#10005;"
2261
 
2262
+ #: addons/deprecated_filters/deprecated_filters.php:9
2263
+ msgid "Deprecated Filters"
2264
+ msgstr "Устаревшие Фильтры"
2265
 
2266
+ #: addons/deprecated_filters/deprecated_filters.php:11
2267
+ msgid ""
2268
+ "<span style=\"color: red;\">IT WILL BE REMOVED IN THE FUTURE</span><br>"
2269
+ "Temporary compatibility with older filters"
2270
+ msgstr ""
2271
+ "<span style = \"color: red;\">ЭТО БУДЕТ УДАЛЕНО В БУДУЩЕМ </span><br> "
2272
+ "Временная совместимость со старыми фильтрами"
2273
 
2274
+ #: addons/deprecated_filters/deprecated_filters.php:94
2275
+ msgid ""
2276
+ "ATTENTION! After disabling this addon all filters will be converted to new "
2277
+ "version and there is no way to convert them back automatically."
2278
+ msgstr ""
2279
+ "ВНИМАНИЕ! После отключения этого аддона все фильтры будут конвертированы в "
2280
+ "новую версию, и их невозможно автоматически конвертировать обратно."
2281
 
2282
+ #: addons/deprecated_filters/deprecated_filters.php:95
2283
+ msgid "We recommend you to try it on a staging/dev/local site first."
2284
+ msgstr ""
2285
+ "Мы рекомендуем вам сначала попробовать его на промежуточном / dev / local "
2286
+ "сайте."
2287
 
2288
+ #: addons/deprecated_filters/deprecated_filters.php:96
2289
+ msgid ""
2290
+ "Please check this on addon deactivation (it will be deactivated when "
2291
+ "settings saved)."
2292
+ msgstr ""
2293
+ "Пожалуйста, отметьте это при деактивации дополнения (она будет "
2294
+ "деактивирована при сохранении настроек)."
2295
 
2296
+ #: addons/deprecated_filters/deprecated_filters.php:98
2297
+ msgid ""
2298
+ "Filters on Front-end, how they looks and works. Some styles can differ in "
2299
+ "new version."
2300
+ msgstr ""
2301
+ "Фильтры на Front-end, как они выглядят и работают. Некоторые стили могут "
2302
+ "отличаться в новой версии."
2303
 
2304
+ #: addons/deprecated_filters/deprecated_filters.php:100
2305
+ msgid ""
2306
+ "You have Custom CSS. Most likely it won't work without this addon. You will "
2307
+ "need to update it as CSS classes were changed."
2308
+ msgstr ""
2309
+ "У вас есть пользовательский CSS. Скорее всего, это не будет работать без "
2310
+ "этого дополнения. Вам нужно будет обновить его, так как классы CSS были "
2311
+ "изменены."
2312
 
2313
+ #: addons/deprecated_filters/deprecated_filters.php:107
2314
+ msgid ""
2315
+ "You have Custom Javascript. You need to check it after turning off this "
2316
+ "addon. It can work correctly same as stop working."
2317
+ msgstr ""
2318
+ "У вас есть пользовательский Javascript. Вы должны проверить его после "
2319
+ "выключения этого дополнения. Он может работать правильно так же, как "
2320
+ "перестать работать."
2321
 
2322
+ #: addons/deprecated_filters/deprecated_filters.php:110
2323
+ msgid "Do you want to disable it anyway?"
2324
+ msgstr "Вы все равно хотите его отключить?"
2325
 
2326
+ #: addons/deprecated_filters/deprecated_filters.php:116
2327
+ msgid "Yes, disable add-on"
2328
+ msgstr "Да, отключить дополнение"
2329
 
2330
+ #: addons/deprecated_filters/deprecated_filters.php:117
2331
+ msgid "No, turn it back"
2332
+ msgstr "Нет, вернитесь обратно"
2333
 
2334
+ #: addons/deprecated_filters/deprecated_filters.php:154
2335
+ msgid "Select2"
2336
+ msgstr "Select2"
 
2337
 
2338
+ #: addons/deprecated_filters/deprecated_filters.php:159
2339
+ msgid "Use Select2 script for dropdown menu"
2340
+ msgstr "Использовать скрипт Select2 для выпадающего меню"
 
2341
 
2342
+ #: addons/deprecated_filters/display_widget.php:441
2343
+ #: includes/filters/display_widget.php:482
2344
+ msgid "1 star"
2345
+ msgstr "1 звезда"
2346
 
2347
+ #: addons/deprecated_filters/display_widget.php:441
2348
+ #: includes/filters/display_widget.php:482
2349
+ msgid ""
2350
+ "<i class=\"fa fa-star\"></i><i class=\"fa fa-star-o\"></i><i class=\"fa fa-"
2351
+ "star-o\"></i><i class=\"fa fa-star-o\"></i><i class=\"fa fa-star-o\"></i>"
2352
+ msgstr ""
2353
+ "<i class=\"fa fa-star\"></i><i class=\"fa fa-star-o\"></i><i class=\"fa fa-"
2354
+ "star-o\"></i><i class=\"fa fa-star-o\"></i><i class=\"fa fa-star-o\"></i>"
2355
 
2356
+ #: addons/deprecated_filters/display_widget.php:442
2357
+ #: includes/filters/display_widget.php:483
2358
+ msgid "2 stars"
2359
+ msgstr "2 звезды"
2360
 
2361
+ #: addons/deprecated_filters/display_widget.php:442
2362
+ #: includes/filters/display_widget.php:483
2363
+ msgid ""
2364
+ "<i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-"
2365
+ "star-o\"></i><i class=\"fa fa-star-o\"></i><i class=\"fa fa-star-o\"></i>"
2366
+ msgstr ""
2367
+ "<i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-"
2368
+ "star-o\"></i><i class=\"fa fa-star-o\"></i><i class=\"fa fa-star-o\"></i>"
2369
 
2370
+ #: addons/deprecated_filters/display_widget.php:443
2371
+ #: includes/filters/display_widget.php:484
2372
+ msgid "3 stars"
2373
+ msgstr "3 звезды"
2374
 
2375
+ #: addons/deprecated_filters/display_widget.php:443
2376
+ #: includes/filters/display_widget.php:484
2377
+ msgid ""
2378
+ "<i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-"
2379
+ "star\"></i><i class=\"fa fa-star-o\"></i><i class=\"fa fa-star-o\"></i>"
2380
+ msgstr ""
2381
+ "<i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-"
2382
+ "star\"></i><i class=\"fa fa-star-o\"></i><i class=\"fa fa-star-o\"></i>"
2383
 
2384
+ #: addons/deprecated_filters/display_widget.php:444
2385
+ #: includes/filters/display_widget.php:485
2386
+ msgid "4 stars"
2387
+ msgstr "4 звезды"
2388
 
2389
+ #: addons/deprecated_filters/display_widget.php:444
2390
+ #: includes/filters/display_widget.php:485
2391
+ msgid ""
2392
+ "<i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-"
2393
+ "star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-star-o\"></i>"
2394
+ msgstr ""
2395
+ "<i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-"
2396
+ "star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-star-o\"></i>"
2397
 
2398
+ #: addons/deprecated_filters/display_widget.php:445
2399
+ #: includes/filters/display_widget.php:486
2400
+ msgid "5 stars"
2401
+ msgstr "5 звезд"
2402
 
2403
+ #: addons/deprecated_filters/display_widget.php:445
2404
+ #: includes/filters/display_widget.php:486
2405
+ msgid ""
2406
+ "<i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-"
2407
+ "star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i>"
2408
+ msgstr ""
2409
+ "<i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-"
2410
+ "star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i>"
2411
 
2412
+ #: addons/deprecated_filters/display_widget.php:501
2413
+ #: addons/deprecated_filters/filter_post.php:382
2414
+ #: includes/filters/display_widget.php:534
2415
+ #: templates/single_filter/single_settings_elements.php:322
2416
+ msgid "Any"
2417
+ msgstr "Всё"
2418
 
2419
+ #: addons/deprecated_filters/filter_post.php:15
2420
+ msgid "ATTENTION! This filter was created with new styles and settings."
2421
+ msgstr "ВНИМАНИЕ! Этот фильтр был создан с новыми стилями и настройками."
2422
 
2423
+ #: addons/deprecated_filters/filter_post.php:16
2424
+ msgid ""
2425
+ "Plugin do not have feature to move it back to old(DEPRECATED) version "
2426
+ "automatically."
2427
+ msgstr ""
2428
+ "Плагин не имеет функции для его автоматического возврата к старой "
2429
+ "(УСТАРЕВШЕЙ) версии."
2430
 
2431
+ #: addons/deprecated_filters/filter_post.php:17
2432
+ msgid ""
2433
+ "If you enabled old(DEPRECATED) filters addon because you have some issues "
2434
+ "with new version, then please "
2435
+ msgstr ""
2436
+ "Если вы включили старое (УСТАРЕЛО) дополнение фильтров из-за проблем с новой "
2437
+ "версией, пожалуйста"
2438
 
2439
+ #: addons/deprecated_filters/filter_post.php:18
2440
+ msgid "CONTACT US"
2441
+ msgstr "СВЯЗАТЬСЯ С НАМИ"
2442
 
2443
+ #: addons/deprecated_filters/filter_post.php:19
2444
+ msgid ""
2445
+ "You will need to re-create the filter while moving from new to old version."
2446
+ msgstr ""
2447
+ "Вам нужно будет заново создать фильтр при переходе от новой к старой версии."
2448
 
2449
+ #: addons/deprecated_filters/filter_post.php:20
2450
+ msgid "Do you want to edit anyway?"
2451
+ msgstr "Вы хотите редактировать в любом случае?"
2452
 
2453
+ #: addons/deprecated_filters/filter_post.php:25
2454
+ msgid "Yes, edit filter"
2455
+ msgstr "Да, редактировать фильтр"
2456
 
2457
+ #: addons/deprecated_filters/filter_post.php:26
2458
+ msgid "No, return back"
2459
+ msgstr "No, return back"
2460
 
2461
+ #: addons/deprecated_filters/filter_post.php:212
2462
+ #: templates/single_filter/single_settings_elements.php:122
2463
+ #: templates/single_filter/single_settings_elements.php:142
2464
+ msgid "Values Order"
2465
+ msgstr "Сортировка Значений"
2466
 
2467
+ #: addons/deprecated_filters/filter_post.php:215
2468
+ #: templates/single_filter/single_settings_elements.php:113
2469
+ msgid "Alpha"
2470
+ msgstr "По алфавиту"
2471
 
2472
+ #: addons/deprecated_filters/filter_post.php:215
2473
+ #: templates/single_filter/single_settings_elements.php:117
2474
+ msgid "Numeric"
2475
+ msgstr "Числовая"
2476
 
2477
+ #: addons/deprecated_filters/filter_post.php:221
2478
+ msgid "Order Type"
2479
+ msgstr "Тип сортировки"
2480
+
2481
+ #: addons/deprecated_filters/filter_post.php:223
2482
+ #: templates/single_filter/single_settings_elements.php:133
2483
+ msgid "Ascending"
2484
+ msgstr "По возрастанию"
2485
+
2486
+ #: addons/deprecated_filters/filter_post.php:223
2487
+ #: templates/single_filter/single_settings_elements.php:137
2488
+ msgid "Descending"
2489
+ msgstr "По убывания"
2490
+
2491
+ #: addons/deprecated_filters/filter_post.php:291
2492
+ msgid "Infinity text"
2493
+ msgstr "Текст вместо знака бесконечности"
2494
+
2495
+ #: addons/deprecated_filters/filter_post.php:306
2496
+ #: addons/deprecated_filters/filter_post.php:472
2497
+ msgid "Disable multiple selection?"
2498
+ msgstr "Отключить множественный выбор"
2499
 
2500
+ #: addons/deprecated_filters/filter_post.php:312
2501
+ msgid "Text before price:"
2502
+ msgstr "Текст перед ценой: "
2503
 
2504
+ #: addons/deprecated_filters/filter_post.php:316
2505
+ msgid "after:"
2506
+ msgstr "после: "
2507
 
2508
+ #: addons/deprecated_filters/filter_post.php:323
2509
+ #: templates/single_filter/single_settings_elements.php:351
2510
+ msgid "Enable Slider Inputs"
2511
+ msgstr "Включить Поля Слайдера"
2512
 
2513
+ #: addons/deprecated_filters/filter_post.php:327
2514
+ msgid "Use custom values(comma separated):"
2515
+ msgstr "Использовать пользовательские значения (разделяйте запятой): "
2516
 
2517
+ #: addons/deprecated_filters/filter_post.php:329
2518
+ #: templates/single_filter/single_settings_elements.php:526
2519
+ msgid "* use numeric values only, strings will not work as expected"
2520
  msgstr ""
2521
+ "* используйте только числовые значения, текстовые значения не работают как "
2522
+ "ожидается"
2523
 
2524
+ #: addons/deprecated_filters/filter_post.php:337
2525
+ msgid "Use current product category to get child"
2526
+ msgstr "Использовать текущую категорию, что бы получить дочерние"
2527
 
2528
+ #: addons/deprecated_filters/filter_post.php:342
2529
+ msgid "Deep level:"
2530
+ msgstr "Уровень глубины: "
2531
 
2532
+ #: addons/deprecated_filters/filter_post.php:348
2533
+ msgid "Product Category:"
2534
+ msgstr "Категории Продуктов: "
2535
 
2536
+ #: addons/deprecated_filters/filter_post.php:356
2537
+ msgid "None"
2538
+ msgstr "Нет"
2539
 
2540
+ #: addons/deprecated_filters/filter_post.php:381
2541
+ #: templates/single_filter/single_settings_elements.php:320
2542
+ msgid "First Element Text"
2543
+ msgstr "Текст первого элемента"
2544
 
2545
+ #: addons/deprecated_filters/filter_post.php:387
2546
+ msgid "Multiple select"
2547
+ msgstr "Множественный выбор"
2548
 
2549
+ #: addons/deprecated_filters/filter_post.php:392
2550
+ msgid "Advanced Settings"
2551
+ msgstr "Продвинутые Настройки"
2552
 
2553
+ #: addons/deprecated_filters/filter_post.php:398
2554
+ #: templates/single_filter/single_settings_elements.php:330
2555
+ msgid "Attribute Values count"
2556
+ msgstr "Количество Значений Атрибута"
2557
 
2558
+ #: addons/deprecated_filters/filter_post.php:399
2559
+ #: templates/single_filter/single_settings_elements.php:331
2560
+ msgid "From settings"
2561
+ msgstr "С настроек"
2562
 
2563
+ #: addons/deprecated_filters/filter_post.php:400
2564
+ #: templates/single_filter/single_settings_elements.php:335
2565
+ msgid "Show/Hide button"
2566
+ msgstr "Кнопка Показать/Скрыть"
2567
 
2568
+ #: addons/deprecated_filters/filter_post.php:403
2569
+ #: templates/single_filter/single_settings_elements.php:338
2570
+ msgid "Always visible"
2571
+ msgstr "Всегда видима"
2572
 
2573
+ #: addons/deprecated_filters/filter_post.php:404
2574
+ #: templates/single_filter/single_settings_elements.php:339
2575
+ msgid "Always hidden"
2576
+ msgstr "Всегда скрыта"
2577
 
2578
+ #: addons/deprecated_filters/filter_post.php:412
2579
+ #: templates/single_filter/single_settings_elements.php:590
2580
+ msgid "Use specific number style"
2581
+ msgstr "Использовать другие стили чисел"
2582
 
2583
+ #: addons/deprecated_filters/filter_post.php:416
2584
+ #: templates/single_filter/single_settings_elements.php:595
2585
+ msgid "Thousand Separator"
2586
+ msgstr "Разделитель тысяч"
 
 
 
2587
 
2588
+ #: addons/deprecated_filters/filter_post.php:420
2589
+ #: templates/single_filter/single_settings_elements.php:598
2590
+ msgid "Decimal Separator"
2591
+ msgstr "Десятичный разделитель"
2592
 
2593
+ #: addons/deprecated_filters/filter_post.php:424
2594
+ #: templates/single_filter/single_settings_elements.php:601
2595
+ msgid "Number Of Decimal"
2596
+ msgstr "Количество знаков после запятой"
2597
 
2598
+ #: addons/deprecated_filters/filter_post.php:451
2599
+ #: addons/deprecated_filters/filter_post.php:623
2600
+ msgid "Hide collapse arrow?"
2601
+ msgstr "Скрыть стрелку для сворачивания виджета?"
2602
 
2603
+ #: addons/deprecated_filters/filter_post.php:458
2604
+ msgid "Show hierarchical values as a tree with hidden child values on load?"
2605
+ msgstr ""
2606
+ "Показать иерархические значения в виде дерева со скрытыми дочерними "
2607
+ "значениями при загрузке?"
2608
 
2609
+ #: addons/deprecated_filters/filter_post.php:468
2610
+ #: templates/single_filter/single_settings_elements.php:449
2611
+ msgid "Display value with color/image box?"
2612
+ msgstr "Отображать значение возле цвета/изображения?"
2613
 
2614
+ #: addons/deprecated_filters/filter_post.php:475
2615
+ #: templates/single_filter/single_settings_elements.php:461
2616
+ msgid "Size of blocks(Height x Width)"
2617
+ msgstr "Размер блока(Высота х Ширина)"
2618
 
2619
+ #: addons/deprecated_filters/filter_post.php:479
2620
+ #: templates/single_filter/single_settings_elements.php:464
2621
+ msgid "2em x 2em"
2622
+ msgstr "2em x 2em"
2623
 
2624
+ #: addons/deprecated_filters/filter_post.php:480
2625
+ #: templates/single_filter/single_settings_elements.php:465
2626
+ msgid "1em x 1em"
2627
+ msgstr "1em x 1em"
2628
 
2629
+ #: addons/deprecated_filters/filter_post.php:481
2630
+ #: templates/single_filter/single_settings_elements.php:466
2631
+ msgid "1em x 2em"
2632
+ msgstr "1em x 2em"
2633
 
2634
+ #: addons/deprecated_filters/filter_post.php:482
2635
+ #: templates/single_filter/single_settings_elements.php:467
2636
+ msgid "2em x 3em"
2637
+ msgstr "2em x 3em"
2638
 
2639
+ #: addons/deprecated_filters/filter_post.php:483
2640
+ #: templates/single_filter/single_settings_elements.php:468
2641
+ msgid "2em x 4em"
2642
+ msgstr "2em x 4em"
2643
 
2644
+ #: addons/deprecated_filters/filter_post.php:484
2645
+ #: templates/single_filter/single_settings_elements.php:469
2646
+ msgid "3em x 3em"
2647
+ msgstr "3em x 3em"
2648
 
2649
+ #: addons/deprecated_filters/filter_post.php:485
2650
+ #: templates/single_filter/single_settings_elements.php:470
2651
+ msgid "3em x 4em"
2652
+ msgstr "3em x 4em"
2653
 
2654
+ #: addons/deprecated_filters/filter_post.php:486
2655
+ #: templates/single_filter/single_settings_elements.php:471
2656
+ msgid "3em x 5em"
2657
+ msgstr "3em x 5em"
2658
 
2659
+ #: addons/deprecated_filters/filter_post.php:487
2660
+ #: templates/single_filter/single_settings_elements.php:472
2661
+ msgid "4em x 4em"
2662
+ msgstr "4em x 4em"
2663
 
2664
+ #: addons/deprecated_filters/filter_post.php:488
2665
+ #: templates/single_filter/single_settings_elements.php:473
2666
+ msgid "4em x 5em"
2667
+ msgstr "4em x 5em"
2668
 
2669
+ #: addons/deprecated_filters/filter_post.php:489
2670
+ #: templates/single_filter/single_settings_elements.php:474
2671
+ msgid "5em x 5em"
2672
+ msgstr "5em x 5em"
2673
 
2674
+ #: addons/deprecated_filters/filter_post.php:490
2675
+ #: templates/single_filter/single_settings_elements.php:475
2676
+ msgid "Custom size"
2677
+ msgstr "Пользовательский размер"
2678
 
2679
+ #: addons/deprecated_filters/filter_post.php:498
2680
+ msgid "Custom size(Height x Width)"
2681
+ msgstr "Пользовательский размер(Высота х Ширина)"
2682
 
2683
+ #: addons/deprecated_filters/filter_post.php:505
2684
+ #: templates/single_filter/single_settings_elements.php:496
2685
+ msgid "Checked type"
2686
+ msgstr "Стиль выбора"
2687
 
2688
+ #: addons/deprecated_filters/filter_post.php:510
2689
+ #: templates/single_filter/single_settings_elements.php:500
2690
+ msgid "Rotate"
2691
+ msgstr "Поворот"
2692
 
2693
+ #: addons/deprecated_filters/filter_post.php:511
2694
+ #: templates/single_filter/single_settings_elements.php:501
2695
+ msgid "Scale"
2696
+ msgstr "Масштаб"
2697
 
2698
+ #: addons/deprecated_filters/filter_post.php:512
2699
+ #: templates/single_filter/single_settings_elements.php:502
2700
+ msgid "Blue Shadow"
2701
+ msgstr "Blue Shadow"
2702
 
2703
+ #: addons/deprecated_filters/filter_post.php:513
2704
+ #: templates/single_filter/single_settings_elements.php:505
2705
+ msgid "Custom CSS"
2706
+ msgstr "Пользовательский CSS"
2707
 
2708
+ #: addons/deprecated_filters/filter_post.php:521
2709
+ #: templates/single_filter/single_settings_elements.php:514
2710
+ msgid "Custom CSS for Checked block"
2711
+ msgstr "Пользовательский CSS для блока выбора"
2712
 
2713
+ #: addons/deprecated_filters/filter_post.php:528
2714
+ msgid "Icons"
2715
+ msgstr "Иконки"
2716
 
2717
+ #: addons/deprecated_filters/filter_post.php:530
2718
+ msgid "Title Icons"
2719
+ msgstr "Иконки названия"
2720
 
2721
+ #: addons/deprecated_filters/filter_post.php:536
2722
+ msgid "Value Icons"
2723
+ msgstr "Иконки значений"
2724
 
2725
+ #: addons/deprecated_filters/filter_post.php:549
2726
+ #: templates/single_filter/single_settings_elements.php:370
2727
+ msgid "CSS Class"
2728
+ msgstr "CSS класс"
2729
 
2730
+ #: addons/deprecated_filters/filter_post.php:551
2731
+ #: templates/single_filter/single_settings_elements.php:372
2732
+ msgid "(use white space for multiple classes)"
2733
+ msgstr "(используйте пробел для разделения классов)"
2734
 
2735
+ #: addons/deprecated_filters/filter_post.php:556
2736
+ msgid "Tags Cloud Height:"
2737
+ msgstr "Высота Облака Тегов: "
2738
 
2739
+ #: addons/deprecated_filters/filter_post.php:560
2740
+ msgid "Min Font Size:"
2741
+ msgstr "Минимальный Размер Шрифта: "
2742
 
2743
+ #: addons/deprecated_filters/filter_post.php:564
2744
+ msgid "Max Font Size:"
2745
+ msgstr "Максимальный Размер Шрифта: "
2746
 
2747
+ #: addons/deprecated_filters/filter_post.php:568
2748
+ msgid "Max Tags Count:"
2749
+ msgstr "Максимальное Количество Тегов: "
2750
 
2751
+ #: addons/deprecated_filters/filter_post.php:576
2752
+ #: templates/single_filter/single_settings_elements.php:534
2753
+ msgid "Use min price"
2754
+ msgstr "Использовать пользовательскую минимальную цену"
2755
 
2756
+ #: addons/deprecated_filters/filter_post.php:585
2757
+ #: templates/single_filter/single_settings_elements.php:539
2758
+ msgid "Use max price"
2759
+ msgstr "Использовать пользовательскую максимальную цену"
2760
 
2761
+ #: addons/deprecated_filters/filter_post.php:594
2762
+ msgid "Filter Box Height:"
2763
+ msgstr "Высота Блока с Фильтром"
2764
 
2765
+ #: addons/deprecated_filters/filter_post.php:598
2766
+ msgid "Scroll Theme:"
2767
+ msgstr "Тема для Полосы Прокрутки: "
2768
 
2769
+ #: addons/deprecated_filters/filter_post.php:617
2770
+ #: templates/single_filter/single_settings_elements.php:612
2771
+ msgid "Show if nothing is selected"
2772
+ msgstr "Показать если ничего не выбрано"
2773
 
2774
+ #: addons/deprecated_filters/filter_post.php:629
2775
+ msgid "Hide this widget on load?"
2776
+ msgstr "Скрыть этот виджет при загрузке?"
2777
 
2778
+ #: addons/deprecated_filters/filter_post.php:669
2779
+ msgid "Widget Output Limitations"
2780
+ msgstr "Ограничение Отображения Виджета"
2781
 
2782
+ #: addons/deprecated_filters/filter_post.php:671
2783
+ msgid "Product Category Value Limitation"
2784
+ msgstr "Ограничение Отображения по Категориям"
2785
 
2786
+ #: addons/deprecated_filters/filter_post.php:698
2787
+ #: templates/single_filter/single_settings_elements.php:621
2788
+ msgid "Hide button"
2789
+ msgstr "Скрыть кнопку"
2790
 
2791
+ #: addons/deprecated_filters/filter_post.php:700
2792
+ #: templates/single_filter/single_settings_elements.php:623
2793
+ msgid "Do not hide"
2794
+ msgstr "Не прятать"
2795
 
2796
+ #: addons/deprecated_filters/filter_post.php:701
2797
+ #: templates/single_filter/single_settings_elements.php:624
2798
+ msgid "Hide only when no filters on page"
2799
+ msgstr "Скрыть только когда нет фильтров на странице"
2800
 
2801
+ #: addons/deprecated_filters/filter_post.php:702
2802
+ #: templates/single_filter/single_settings_elements.php:625
2803
+ msgid "Hide when no filters on page or page not filtered"
2804
+ msgstr "Скрыть, когда нет фильтров на странице или страница не отфильтрована"
2805
 
2806
+ #: addons/filtering_conditions/add_conditions.php:39
2807
+ #: addons/filtering_conditions/filtering_conditions.php:9
2808
+ msgid "Nested Filters (BETA)"
2809
+ msgstr "Условия после фильтрации (БЕТА)"
2810
+
2811
+ #: addons/filtering_conditions/add_conditions.php:47
2812
+ msgid ""
2813
+ "Use this to display products only after filtering by some attribute and value"
2814
+ msgstr ""
2815
+ "Используйте это для отображения товаров только после фильтрации по "
2816
+ "некоторому атрибуту и значению"
2817
 
2818
+ #: addons/filtering_conditions/filtering_conditions.php:10
2819
+ msgid ""
2820
+ "The ability to set conditions for the filters based on other filters status"
2821
+ msgstr ""
2822
+ "Возможность устанавливать условия для фильтров на основе статуса других "
2823
+ "фильтров"
2824
 
2825
+ #: addons/separate_link/separate_link.php:9
2826
+ msgid "Link like WooCommerce (BETA)"
2827
+ msgstr "Ссылка как у WooCommerce (БЕТА)"
2828
 
2829
+ #: addons/separate_link/separate_link.php:10
2830
+ msgid ""
2831
+ "Links after filtering will look like Woocommerce.<br>\n"
2832
+ " <i>Example:</i><br><span style=\"color: #aaf;\">https://example."
2833
+ "com/shop/?pa-color=bronze,green&pa-product_cat_operator=or&pa-"
2834
+ "product_cat=dress</span>\n"
2835
+ " <a class=\"button\" href=\"https://docs.berocket."
2836
+ "com/docs_section/link-like-woocommerce-beta\" target=\"_blank\">Read more</a>"
2837
+ msgstr ""
2838
+ "Ссылки после фильтрации будут выглядеть как Woocommerce.<br>\n"
2839
+ " <i>Example:</i><br><span style=\"color: #aaf;\">https://example."
2840
+ "com/shop/?pa-color=bronze,green&pa-product_cat_operator=or&pa-"
2841
+ "product_cat=dress</span>\n"
2842
+ " <a class=\"button\" href=\"https://docs.berocket."
2843
+ "com/docs_section/link-like-woocommerce-beta\" target=\"_blank\">Read more</a>"
2844
 
2845
+ #: addons/separate_link/separate_vars.php:29
2846
+ msgid "Default operator for URLs"
2847
+ msgstr "Оператор по умолчанию для URL"
2848
 
2849
+ #: addons/separate_link/separate_vars.php:33
2850
+ #: templates/single_filter/single_settings_elements.php:314
2851
+ msgid "OR"
2852
+ msgstr "ИЛИ"
2853
 
2854
+ #: addons/separate_link/separate_vars.php:34
2855
+ #: templates/single_filter/single_settings_elements.php:315
2856
+ msgid "AND"
2857
+ msgstr "И"
2858
 
2859
+ #: addons/separate_link/separate_vars.php:37
2860
+ msgid "Default operator will not be added to the URL"
2861
+ msgstr "Оператор по умолчанию для URL"
2862
 
2863
+ #: includes/addons/seo_meta_title.php:14 includes/addons/seo_meta_title.php:19
2864
+ #: includes/addons/seo_meta_title.php:53 includes/addons/seo_meta_title.php:63
2865
+ #: includes/addons/seo_meta_title.php:85
2866
+ msgid " and "
2867
+ msgstr " и "
2868
 
2869
+ #: includes/addons/seo_meta_title.php:15 includes/addons/seo_meta_title.php:54
2870
+ #: includes/addons/seo_meta_title.php:86
2871
+ msgid " or "
2872
+ msgstr " или "
2873
 
2874
+ #: includes/addons/seo_meta_title.php:22 includes/addons/seo_meta_title.php:69
2875
+ msgid " with "
2876
+ msgstr " с "
2877
 
2878
+ #: includes/addons/seo_meta_title.php:90
2879
+ msgid " / "
2880
+ msgstr "/"
 
 
 
2881
 
2882
+ #: includes/addons/seo_meta_title.php:93
2883
+ msgid " - "
2884
+ msgstr "-"
 
 
 
2885
 
2886
+ #: includes/admin/admin_bar.php:35
2887
+ msgid "Filters not detected on page"
2888
+ msgstr "Фильтры не обнаружены на странице"
2889
 
2890
+ #: includes/compatibility/beaver-builder.php:16
2891
+ #: includes/compatibility/divi-theme-builder.php:31
2892
+ #: includes/compatibility/elementor-pro.php:13
2893
+ msgid "Apply BeRocket AJAX Filters"
2894
+ msgstr "Применить фильтры BeRocket AJAX"
2895
 
2896
+ #: includes/compatibility/beaver-builder.php:20
2897
+ #: includes/compatibility/divi-theme-builder.php:36
2898
+ #: includes/compatibility/elementor-pro.php:19
2899
+ msgid "Enable"
2900
+ msgstr "Включить"
2901
 
2902
+ #: includes/compatibility/divi-theme-builder.php:40
2903
+ #: includes/compatibility/elementor-pro.php:15
2904
+ msgid ""
2905
+ "All Filters will be applied to this module. You need correct unique "
2906
+ "selectors to work correct"
2907
+ msgstr ""
2908
+ "Все фильтры будут применены к этому модулю. Вам нужны правильные уникальные "
2909
+ "селекторы, чтобы работало правильно"
2910
 
2911
+ #: templates/paid/filters_group.php:3
2912
+ msgid "Show filters above products"
2913
+ msgstr "Показать фильтры над продуктами"
2914
 
2915
+ #: templates/paid/filters_group.php:20
2916
+ msgid "Display filters in line"
2917
+ msgstr "Выводить фильтры в линию"
 
2918
 
2919
+ #: templates/paid/filters_group.php:26
2920
+ msgid "Display filters in line max count"
2921
+ msgstr "Максимальное количество фильтров в линию"
2922
 
2923
+ #: templates/paid/filters_group.php:41
2924
+ msgid "Min Width for Filter"
2925
+ msgstr "Минимальная ширина фильтра"
2926
 
2927
+ #: templates/paid/filters_group.php:47
2928
+ msgid "Show title only"
2929
+ msgstr "Показывать только название фильтра"
2930
 
2931
+ #: templates/paid/filters_group.php:50
2932
+ msgid ""
2933
+ "Only title will be visible. Filter will be displayed after click on title "
2934
+ "and hide after click everywhere else"
2935
+ msgstr ""
2936
+ "Только название будет видно. Фильтр будет отображаться после нажатия на "
2937
+ "название и скрываться после нажатия в другом месте"
2938
 
2939
+ #: templates/paid/filters_group.php:54
2940
+ msgid "Display filters on mouse over"
2941
+ msgstr "Показывать фильтры после нажатия мишкой"
 
2942
 
2943
+ #: templates/paid/filters_group.php:57
2944
+ msgid "Display on mouse over and hide on mouse leave"
2945
+ msgstr "Отображение при наведении курсора мыши и скрыть при убирание курсора"
 
 
2946
 
2947
+ #: templates/paid/filters_group.php:61
2948
+ msgid "Collapsed on page load"
2949
+ msgstr "Свернуть при загрузке страницы"
2950
 
2951
+ #: templates/paid/filters_group.php:64
2952
+ msgid ""
2953
+ "Collapse group on page load and show icon instead. When icon is clicked "
2954
+ "filters will be shown"
2955
+ msgstr ""
2956
+ "При загрузке страницы фильтры над продуктам будут спрятаны, а вместо "
2957
+ "фильтров будет выведена кнопка. При нажатии кнопки будут показаны фильтры"
2958
 
2959
+ #: templates/paid/filters_search_box.php:4
2960
+ msgid "Use Group as Search Box"
2961
+ msgstr "Использовать группу как блок поиска"
 
 
 
 
 
 
 
 
 
 
 
 
2962
 
2963
+ #: templates/settings/design.php:6
2964
+ msgid "Show title only Styles"
2965
+ msgstr "Стили для отображаемых названий"
2966
 
2967
+ #: templates/settings/design.php:8
2968
+ #: addons/deprecated_filters/settings/design.php:11
2969
+ #: addons/deprecated_filters/settings/design.php:26
2970
+ #: addons/deprecated_filters/settings/design.php:148
2971
+ msgid "Element"
2972
+ msgstr "Элемент"
2973
 
2974
+ #: templates/settings/design.php:9
2975
+ #: addons/deprecated_filters/settings/design.php:149
2976
+ #: addons/deprecated_filters/settings/design.php:706
2977
  msgid "Border color"
2978
  msgstr "Цвет границы"
2979
 
2980
+ #: templates/settings/design.php:10
2981
+ #: addons/deprecated_filters/settings/design.php:150
2982
  msgid "Border width"
2983
  msgstr "Ширина границы"
2984
 
2985
+ #: templates/settings/design.php:11
2986
+ #: addons/deprecated_filters/settings/design.php:151
2987
  msgid "Border radius"
2988
  msgstr "Закругление углов"
2989
 
2990
+ #: templates/settings/design.php:12
2991
+ #: addons/deprecated_filters/settings/design.php:152
2992
  msgid "Size"
2993
  msgstr "Размер"
2994
 
2995
+ #: templates/settings/design.php:13
2996
+ #: addons/deprecated_filters/settings/design.php:153
2997
+ #: addons/deprecated_filters/settings/design.php:708
2998
  msgid "Font color"
2999
  msgstr "Цвет шрифта"
3000
 
3001
+ #: templates/settings/design.php:14
3002
+ #: addons/deprecated_filters/settings/design.php:154
3003
  msgid "Background"
3004
  msgstr "Задний фон"
3005
 
3006
+ #: templates/settings/design.php:26 templates/settings/design.php:29
3007
+ #: templates/settings/design.php:32 templates/settings/design.php:53
3008
+ #: templates/settings/design.php:56 templates/settings/design.php:59
3009
+ #: templates/settings/design.php:80 templates/settings/design.php:83
3010
+ #: templates/settings/design.php:86
3011
+ #: addons/deprecated_filters/settings/design.php:65
3012
+ #: addons/deprecated_filters/settings/design.php:80
3013
+ #: addons/deprecated_filters/settings/design.php:117
3014
+ #: addons/deprecated_filters/settings/design.php:168
3015
+ #: addons/deprecated_filters/settings/design.php:171
3016
+ #: addons/deprecated_filters/settings/design.php:174
3017
+ #: addons/deprecated_filters/settings/design.php:424
3018
+ #: addons/deprecated_filters/settings/design.php:427
3019
+ #: addons/deprecated_filters/settings/design.php:430
3020
+ #: addons/deprecated_filters/settings/design.php:661
3021
+ #: addons/deprecated_filters/settings/design.php:669
3022
+ #: addons/deprecated_filters/settings/design.php:672
3023
+ #: addons/deprecated_filters/settings/design.php:685
3024
+ #: addons/deprecated_filters/settings/design.php:688
3025
+ #: addons/deprecated_filters/settings/design.php:730
3026
+ #: addons/deprecated_filters/settings/design.php:738
3027
+ #: addons/deprecated_filters/settings/design.php:751
3028
+ msgid "Theme Default"
3029
+ msgstr "По умолчанию"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3030
 
3031
+ #: templates/settings/design.php:46
3032
  msgid "Title opened"
3033
  msgstr "Название при открытии"
3034
 
3035
+ #: templates/settings/design.php:103
3036
+ #: addons/deprecated_filters/settings/design.php:35
3037
+ #: addons/deprecated_filters/settings/design.php:626
3038
+ #: addons/deprecated_filters/settings/design.php:695
3039
+ #: addons/deprecated_filters/settings/design.php:768
3040
+ msgid "Set all to theme default"
3041
+ msgstr "Установить всё по умолчанию"
3042
+
3043
+ #: templates/settings/design.php:111
3044
  msgid "Loading icon"
3045
  msgstr "Иконка загрузки"
3046
 
3047
+ #: templates/settings/design.php:119
3048
  msgid "Loading icon text"
3049
  msgstr "Текст возле иконки загрузки"
3050
 
3051
+ #: templates/settings/design.php:121
3052
  msgid "Above:"
3053
  msgstr "Выше:"
3054
 
3055
+ #: templates/settings/design.php:124
3056
  msgid "Below:"
3057
  msgstr "Ниже:"
3058
 
3059
+ #: templates/settings/design.php:127
3060
  msgid "Before:"
3061
  msgstr "Перед:"
3062
 
3063
+ #: templates/settings/design.php:130
3064
  msgid "After:"
3065
  msgstr "После:"
3066
 
3067
+ #: templates/settings/design.php:136
3068
  msgid "Show and hide description"
3069
  msgstr "Показать и скрыть описание"
3070
 
3071
+ #: templates/settings/design.php:138
3072
  msgid "Show when user:"
3073
  msgstr "Показывать при:"
3074
 
3075
+ #: templates/settings/design.php:140
3076
  msgid "Click"
3077
  msgstr "Нажатии"
3078
 
3079
+ #: templates/settings/design.php:141
3080
  msgid "Hovering over the icon"
3081
  msgstr "Наведении курсора на иконку"
3082
 
3083
+ #: templates/settings/design.php:148
 
 
 
 
 
 
 
 
 
 
 
 
3084
  msgid "Product quantity style"
3085
  msgstr "Стиль для количества продуктов"
3086
 
3087
+ #: templates/settings/design.php:151
3088
  msgid "4"
3089
  msgstr "4"
3090
 
3091
+ #: templates/settings/design.php:152
3092
  msgid "(4)"
3093
  msgstr "(4)"
3094
 
3095
+ #: templates/settings/design.php:153
3096
  msgid "[4]"
3097
  msgstr "[4]"
3098
 
3099
+ #: templates/settings/design.php:157
3100
  msgid "Position:"
3101
  msgstr "Позиция:"
3102
 
3103
+ #: templates/settings/design.php:159 templates/settings/design.php:167
3104
  msgid "Normal"
3105
  msgstr "Нормальная"
3106
 
3107
+ #: templates/settings/design.php:160 templates/settings/design.php:168
3108
+ #: templates/single_filter/single_settings_elements.php:454
3109
  msgid "Right"
3110
  msgstr "Справа"
3111
 
3112
+ #: templates/settings/design.php:161
3113
  msgid "Right from name"
3114
  msgstr "Справа от имени"
3115
 
3116
+ #: templates/settings/design.php:165
3117
+ msgid "Position on Image:"
3118
+ msgstr "Позиция на картинке:"
3119
+
3120
+ #: templates/settings/design.php:175
3121
+ msgid "Indent option for hierarchy in Drop-Down"
3122
+ msgstr "Вариант отступа для дерева дочерних"
3123
+
3124
+ #: templates/settings/design.php:178
3125
+ msgid "-"
3126
+ msgstr "-"
3127
+
3128
+ #: templates/settings/design.php:179
3129
+ msgid "space"
3130
+ msgstr "пробел"
3131
+
3132
+ #: templates/settings/design.php:180
3133
+ msgid "2 spaces"
3134
+ msgstr "2 пробела"
3135
+
3136
+ #: templates/settings/design.php:181
3137
+ msgid "tab"
3138
+ msgstr "таб"
3139
+
3140
+ #: templates/single_filter/all_steps.php:11
3141
+ msgid "Attribute and Values"
3142
+ msgstr "Атрибут и Значения"
3143
+
3144
+ #: templates/single_filter/all_steps.php:14
3145
+ msgid "Style"
3146
+ msgstr "Стиль"
3147
+
3148
+ #: templates/single_filter/all_steps.php:17
3149
+ msgid "Required Options"
3150
+ msgstr "Обязательные Параметры"
3151
+
3152
+ #: templates/single_filter/all_steps.php:23
3153
+ msgid "Save Filter"
3154
+ msgstr "Сохранить Фильтр"
3155
+
3156
+ #: templates/single_filter/all_steps.php:30
3157
+ msgid "Filter Title"
3158
+ msgstr "Название Фильтра"
3159
+
3160
+ #: templates/single_filter/all_steps.php:31
3161
+ msgid "Text on Button"
3162
+ msgstr "Текст на Кнопке"
3163
+
3164
+ #: templates/single_filter/all_steps.php:32
3165
+ msgid "Empty"
3166
+ msgstr "Пустой"
3167
+
3168
+ #: templates/single_filter/all_steps.php:67
3169
+ msgid ""
3170
+ "There are required steps not filled in. Please select <b>Widget Type</b>"
3171
+ msgstr "Необходимые шаги не заполнены. Выберите <b>Тип виджета</b>."
3172
+
3173
+ #: templates/single_filter/all_steps.php:75
3174
+ msgid "There are required steps not filled in. Please select <b>Style</b>"
3175
+ msgstr "Необходимые шаги не заполнены. Выберите <b Стиль</b>."
3176
+
3177
+ #: templates/single_filter/single_settings_elements.php:162
3178
+ msgid "Limit filter values by products from selected category"
3179
+ msgstr "Ограничить значения фильтра по продуктам из выбранной категории"
3180
+
3181
+ #: templates/single_filter/single_settings_elements.php:164
3182
+ msgid "Use all attribute values"
3183
+ msgstr "Использовать все значения атрибутов"
3184
+
3185
+ #: templates/single_filter/single_settings_elements.php:165
3186
+ msgid "Limit by category:"
3187
+ msgstr "Ограничение по категории:"
3188
+
3189
+ #: templates/single_filter/single_settings_elements.php:271
3190
+ msgid "Hierarchical"
3191
+ msgstr "Иерархически"
3192
+
3193
+ #: templates/single_filter/single_settings_elements.php:274
3194
+ msgid "Display hierarchical"
3195
+ msgstr "Отображать иерархию"
3196
+
3197
+ #: templates/single_filter/single_settings_elements.php:275
3198
+ msgid "Display hierarchical and hide child"
3199
+ msgstr "Показать иерархию и скрыть дочерние"
3200
+
3201
+ #: templates/single_filter/single_settings_elements.php:287
3202
+ msgid "Enabled with arrow"
3203
+ msgstr "Включить отображение стрелки"
3204
+
3205
+ #: templates/single_filter/single_settings_elements.php:288
3206
+ msgid "Enabled without arrow"
3207
+ msgstr "Отключить отображение стрелки"
3208
 
3209
+ #: templates/single_filter/single_settings_elements.php:289
3210
+ msgid "Enabled without arrow on mobile"
3211
+ msgstr "Отключить отображение стрелки на мобильных"
3212
 
3213
+ #: templates/single_filter/single_settings_elements.php:307
3214
+ msgid "Single Selection. Only one value can be selected at a time"
3215
+ msgstr "Одиночный Выбор. Только одно значение может быть выбрано одновременно"
3216
 
3217
+ #: templates/single_filter/single_settings_elements.php:321
3218
+ msgid "Placeholder Text"
3219
+ msgstr "Текст параметра placeholder"
3220
 
3221
+ #: templates/single_filter/single_settings_elements.php:362
3222
+ msgid "Description do not displayed"
3223
+ msgstr "Не отображается описание "
3224
 
3225
+ #: templates/single_filter/single_settings_elements.php:380
3226
+ msgid "Filter Box Height"
3227
+ msgstr "Высота Блока Фильтра"
3228
 
3229
+ #: templates/single_filter/single_settings_elements.php:381
3230
+ msgid "Auto"
3231
+ msgstr "Авто"
3232
 
3233
+ #: templates/single_filter/single_settings_elements.php:385
3234
+ msgid "Scroll Theme"
3235
+ msgstr "Тема Прокрутки"
3236
 
3237
+ #: templates/single_filter/single_settings_elements.php:426
3238
+ msgid "Icon Before Title"
3239
+ msgstr "Значок Перед Названием"
3240
 
3241
+ #: templates/single_filter/single_settings_elements.php:430
3242
+ msgid "Icon After Title"
3243
+ msgstr "Значок После Названия"
3244
 
3245
+ #: templates/single_filter/single_settings_elements.php:436
3246
+ msgid "Icon Before Value"
3247
+ msgstr "Значок Перед Значением"
3248
 
3249
+ #: templates/single_filter/single_settings_elements.php:440
3250
+ msgid "Icon After Value"
3251
+ msgstr "Значок После Значения"
 
 
 
 
3252
 
3253
+ #: templates/single_filter/single_settings_elements.php:452
3254
+ msgid "Top"
3255
+ msgstr "Сверху"
3256
 
3257
+ #: templates/single_filter/single_settings_elements.php:453
3258
+ msgid "Left"
3259
+ msgstr "Слева"
3260
 
3261
+ #: templates/single_filter/single_settings_elements.php:455
3262
+ msgid "Bottom"
3263
+ msgstr "Снизу"
3264
 
3265
+ #: templates/single_filter/single_settings_elements.php:456
3266
+ msgid "Tooltip"
3267
+ msgstr "Подсказка"
 
 
 
 
3268
 
3269
+ #: templates/single_filter/single_settings_elements.php:503
3270
+ msgid "Image shadow(EXPERIMENTAL)"
3271
+ msgstr "Тень картинки(ЭКСПЕРИМЕНТАЛЬНЫЙ)"
3272
 
3273
+ #: templates/single_filter/single_settings_elements.php:504
3274
+ msgid "Color Change(EXPERIMENTAL)"
3275
+ msgstr "Изменение цвета (ЭКСПЕРИМЕНТАЛЬНО)"
 
3276
 
3277
+ #: templates/single_filter/single_settings_elements.php:524
3278
+ msgid "Use custom values(comma separated)"
3279
+ msgstr "Используйте пользовательские значения (через запятую)"
 
 
 
3280
 
3281
+ #: templates/single_filter/single_settings_elements.php:525
3282
+ msgid "Use default price values"
3283
+ msgstr "Использовать значения цены по умолчанию"
 
 
 
3284
 
3285
+ #: templates/single_filter/single_settings_elements.php:535
3286
+ #: templates/single_filter/single_settings_elements.php:540
3287
+ msgid "From Products List"
3288
+ msgstr "Из Списка Продуктов"
3289
 
3290
+ #: templates/single_filter/single_settings_elements.php:548
3291
+ msgid "Text Before Slider Value"
3292
+ msgstr "Текст Перед Значением Ползунка"
3293
 
3294
+ #: templates/single_filter/single_settings_elements.php:554
3295
+ msgid "Text After Slider Value"
3296
+ msgstr "Текст После Значения Ползунка"
3297
 
3298
+ #: templates/single_filter/single_settings_elements.php:631
3299
+ msgid "SAVE FILTER"
3300
+ msgstr "СОХРАНИТЬ ФИЛЬТР"
3301
 
3302
+ #: templates/single_filter/single_settings_elements.php:712
3303
+ msgid "Check Box"
3304
+ msgstr "Флажок"
3305
 
3306
+ #: templates/single_filter/single_settings_elements.php:717
3307
+ msgid "Drop Down Menu"
3308
+ msgstr "Выпадающее меню"
3309
 
3310
+ #: templates/single_filter/single_settings_elements.php:720
3311
+ msgid "Date Picker"
3312
+ msgstr "Выбор Даты"
3313
 
3314
+ #: templates/single_filter/single_settings_elements.php:723
3315
+ msgid "Slider Old"
3316
+ msgstr "Ползунок Старый"
3317
 
3318
+ #: templates/single_filter/single_settings_elements.php:726
3319
+ msgid "Slider New"
3320
+ msgstr "Ползунок Новый"
3321
 
3322
+ #: templates/single_filter/widget_type.php:10
3323
+ msgid "Create filters by price, attributes, categories, tags etc."
3324
+ msgstr "Создавайте фильтры по цене, атрибутам, категориям, тегам и т. д."
3325
 
3326
+ #: templates/single_filter/widget_type.php:11
3327
+ msgid "Basic widget type. Other widget types do not work without filters"
3328
+ msgstr "Основной тип виджета. Другие типы виджетов не работают без фильтров"
3329
 
3330
+ #: templates/single_filter/widget_type.php:20
3331
+ msgid ""
3332
+ "Filters will be applied to the products only after this button will be "
3333
+ "clicked."
3334
+ msgstr "Фильтры будут применены к продуктам только после нажатия этой кнопки."
3335
 
3336
+ #: templates/single_filter/widget_type.php:21
3337
  msgid ""
3338
+ "If at least one update button displayed on the page, then all filters will "
3339
+ "be applied only after button clicked."
3340
  msgstr ""
3341
+ "Если хотя бы одна кнопка обновления отображается на странице, то все фильтры "
3342
+ "будут применяться только после нажатия кнопки."
3343
 
3344
+ #: templates/single_filter/widget_type.php:29
3345
+ msgid "Clear all selected filters."
3346
+ msgstr "Очистить все выбранные фильтры."
3347
 
3348
+ #: templates/single_filter/widget_type.php:30
3349
  msgid ""
3350
+ "After click on Reset button all selected filters will be unselected and "
3351
+ "products updated."
3352
  msgstr ""
3353
+ "После нажатия кнопки «Сбросить» все выбранные фильтры будут отменены, а "
3354
+ "продукты обновлены."
 
 
 
 
 
3355
 
3356
+ #: templates/single_filter/widget_type.php:38
3357
+ msgid "Display all selected filters."
3358
+ msgstr "Показать все выбранные фильтры."
 
3359
 
3360
+ #: templates/single_filter/widget_type.php:39
3361
+ msgid "Each filter can be clicked to reset it."
3362
+ msgstr "Каждый фильтр можно нажать, чтобы сбросить его."
 
3363
 
3364
+ #: templates/single_filter/widget_type.php:40
3365
+ msgid "Also has link to reset all filters, that works same as Reset button."
 
 
 
3366
  msgstr ""
3367
+ "Также есть ссылка для сброса всех фильтров, которая работает так же, как "
3368
+ "кнопка сброса."
3369
 
3370
+ #: templates/single_filter/widget_type.php:43
3371
+ msgid "Select widget type that you need to create"
3372
+ msgstr "Выберите тип виджета, который вам нужно создать"
 
3373
 
3374
+ #: addons/deprecated_filters/settings/design.php:8
3375
+ #: addons/deprecated_filters/settings/design.php:23
3376
+ msgid "Select All"
3377
+ msgstr "Выбрать всё"
 
 
 
 
3378
 
3379
+ #: addons/deprecated_filters/settings/design.php:13
3380
+ #: addons/deprecated_filters/settings/design.php:28
3381
+ msgid "Font Family"
3382
+ msgstr "Шрифт"
3383
 
3384
+ #: addons/deprecated_filters/settings/design.php:14
3385
+ #: addons/deprecated_filters/settings/design.php:29
3386
+ msgid "Font-Weight"
3387
+ msgstr "Толщина шрифта"
 
 
 
 
3388
 
3389
+ #: addons/deprecated_filters/settings/design.php:14
3390
+ #: addons/deprecated_filters/settings/design.php:29
3391
+ msgid "(depends on font)"
3392
+ msgstr "(Зависит от шрифта)"
3393
 
3394
+ #: addons/deprecated_filters/settings/design.php:15
3395
+ #: addons/deprecated_filters/settings/design.php:30
3396
+ msgid "Font-Size"
3397
+ msgstr "Размер шрифта"
 
 
 
 
3398
 
3399
+ #: addons/deprecated_filters/settings/design.php:16
3400
+ #: addons/deprecated_filters/settings/design.php:31
3401
+ #: addons/deprecated_filters/settings/design.php:156
3402
+ msgid "Theme"
3403
+ msgstr "Тема"
3404
 
3405
+ #: addons/deprecated_filters/settings/design.php:48
3406
+ msgid "Select Element"
3407
+ msgstr "Выбрать элемент"
 
 
 
 
 
3408
 
3409
+ #: addons/deprecated_filters/settings/design.php:59
3410
+ #: addons/deprecated_filters/settings/design.php:71
3411
+ #: addons/deprecated_filters/settings/design.php:112
3412
+ #: addons/deprecated_filters/settings/design.php:119
3413
+ #: addons/deprecated_filters/settings/design.php:134
3414
+ msgid "N/A"
3415
+ msgstr "Н/Д"
3416
 
3417
+ #: addons/deprecated_filters/settings/design.php:125
3418
+ msgid "Without Theme"
3419
+ msgstr "Без темы"
3420
 
3421
+ #: addons/deprecated_filters/settings/design.php:146
3422
+ msgid "Checkbox / Radio"
3423
+ msgstr "Флажок / Переключатель"
3424
 
3425
+ #: addons/deprecated_filters/settings/design.php:155
3426
+ msgid "Icon"
3427
+ msgstr "Иконка"
3428
 
3429
+ #: addons/deprecated_filters/settings/design.php:636
3430
+ msgid "Line color"
3431
+ msgstr "Цвет линии"
3432
 
3433
+ #: addons/deprecated_filters/settings/design.php:637
3434
+ msgid "Back line color"
3435
+ msgstr "Цвет заднего фона линии"
 
 
 
 
 
 
 
 
 
 
 
 
3436
 
3437
+ #: addons/deprecated_filters/settings/design.php:638
3438
+ msgid "Line height"
3439
+ msgstr "Высота линии"
3440
 
3441
+ #: addons/deprecated_filters/settings/design.php:639
3442
+ msgid "Line border color"
3443
+ msgstr "Цвет границы линии"
 
 
 
 
 
 
 
3444
 
3445
+ #: addons/deprecated_filters/settings/design.php:640
3446
+ msgid "Line border width"
3447
+ msgstr "Ширина границы линии"
 
 
 
 
3448
 
3449
+ #: addons/deprecated_filters/settings/design.php:641
3450
+ msgid "Button size"
3451
+ msgstr "Размер кнопки"
3452
+
3453
+ #: addons/deprecated_filters/settings/design.php:642
3454
+ msgid "Button color"
3455
+ msgstr "Цвет кнопки"
3456
+
3457
+ #: addons/deprecated_filters/settings/design.php:643
3458
+ msgid "Button border color"
3459
+ msgstr "Цвет границы кнопки"
3460
+
3461
+ #: addons/deprecated_filters/settings/design.php:644
3462
+ msgid "Button border width"
3463
+ msgstr "Ширина границы кнопки"
3464
+
3465
+ #: addons/deprecated_filters/settings/design.php:645
3466
+ msgid "Button border radius"
3467
+ msgstr "Закругление углов кнопки"
3468
+
3469
+ #: addons/deprecated_filters/settings/design.php:703
3470
+ msgid "Product count description before filtering with Apply Filters button"
3471
  msgstr ""
3472
+ "Описание количества товаров перед фильтрацией с кнопкой «Кнопка Фильтрации "
3473
+ "Продуктов»"
 
3474
 
3475
+ #: addons/deprecated_filters/settings/design.php:707
3476
+ msgid "Font size"
3477
+ msgstr "Размер шрифта"
 
 
3478
 
3479
+ #: addons/deprecated_filters/settings/design.php:709
3480
+ msgid "Show button font size"
3481
+ msgstr "Размер шрифта кнопки \"Показать\""
 
3482
 
3483
+ #: addons/deprecated_filters/settings/design.php:710
3484
+ msgid "Show button font color"
3485
+ msgstr "Цвет шрифта кнопки \"Показать\""
3486
 
3487
+ #: addons/deprecated_filters/settings/design.php:711
3488
+ msgid "Show button font color on mouse over"
3489
+ msgstr "Цвет шрифта кнопки \"Показать\" при наведении"
3490
 
3491
+ #: addons/deprecated_filters/settings/design.php:712
3492
+ msgid "Close button size"
3493
+ msgstr "Размер кнопки \"Закрыть\""
3494
+
3495
+ #: addons/deprecated_filters/settings/design.php:713
3496
+ msgid "Close button font color"
3497
+ msgstr "Цвет шрифта кнопки \"Закрыть\""
3498
+
3499
+ #: addons/deprecated_filters/settings/design.php:714
3500
+ msgid "Close button font color on mouse over"
3501
+ msgstr "Цвет шрифта кнопки \"Закрыть\" при наведении"
3502
 
3503
  #. Description of the plugin
3504
  msgid "Unlimited AJAX products filters to make your shop perfect"
languages/BeRocket_AJAX_domain.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Project-Id-Version: WooCommerce AJAX Products Filter\n"
5
  "Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2019-12-09 13:44+0000\n"
7
  "POT-Revision-Date: Wed Jun 29 2016 09:22:13 GMT+0300 (EEST)\n"
8
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
9
  "Last-Translator: \n"
@@ -24,2641 +24,3261 @@ msgstr ""
24
  "X-Generator: Loco https://localise.biz/"
25
 
26
  #. Name of the plugin
27
- #: main.php:62
28
  msgid "WooCommerce AJAX Products Filter"
29
  msgstr ""
30
 
31
- #: main.php:63
32
  msgid "Product Filters"
33
  msgstr ""
34
 
35
- #: main.php:73 main.php:1482
36
- msgid "There are no products meeting your criteria"
37
- msgstr ""
38
-
39
- #: main.php:326
40
  msgid ""
41
  "<strong>Please update all BeRocket plugins to the most recent version. "
42
  "WooCommerce AJAX Products Filter is not working correctly with older "
43
  "versions.</strong>"
44
  msgstr ""
45
 
46
- #: main.php:397
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  msgid "General"
48
  msgstr ""
49
 
50
- #: main.php:401
51
  msgid "Elements"
52
  msgstr ""
53
 
54
- #: main.php:405
55
  msgid "Selectors"
56
  msgstr ""
57
 
58
- #: main.php:409
59
  msgid "SEO"
60
  msgstr ""
61
 
62
- #: main.php:413
63
  msgid "Advanced"
64
  msgstr ""
65
 
66
- #: main.php:417
67
  msgid "Design"
68
  msgstr ""
69
 
70
- #: main.php:421
71
  msgid "JavaScript/CSS"
72
  msgstr ""
73
 
74
- #: main.php:426 includes/custom_post.php:645
75
  msgid "Filters"
76
  msgstr ""
77
 
78
- #: main.php:431
79
  msgid "License"
80
  msgstr ""
81
 
82
- #: main.php:435
83
  msgid "Add-ons"
84
  msgstr ""
85
 
86
- #: main.php:445
87
- msgid "\"No Products\" message"
88
- msgstr ""
89
-
90
- #: main.php:451
91
  msgid "Products Per Page"
92
  msgstr ""
93
 
94
- #: main.php:457
95
  msgid "Number of Attribute Values"
96
  msgstr ""
97
 
98
- #: main.php:461
99
  msgid ""
100
  "Attribute Values count that will be displayed. Other values will be hidden "
101
  "and can be displayed by pressing the button. Option <strong>Hide the "
102
  "Show/Hide value(s) button in the filters</strong> must be disabled"
103
  msgstr ""
104
 
105
- #: main.php:464
106
- msgid "Sorting drop-down control"
107
- msgstr ""
108
-
109
- #: main.php:468
110
- msgid "Take control over WooCommerce's sorting selectbox?"
111
- msgstr ""
112
-
113
- #: main.php:471
114
- msgid "Jump to first page"
115
- msgstr ""
116
-
117
- #: main.php:475
118
- msgid "Check if you want load first page after filters change"
119
- msgstr ""
120
-
121
- #: main.php:478
122
  msgid "Scroll to the top"
123
  msgstr ""
124
 
125
- #: main.php:481 main.php:562
126
  msgid "Selected filters position"
127
  msgstr ""
128
 
129
- #: main.php:486 templates/filter_post.php:632
 
 
 
130
  msgid "Disable"
131
  msgstr ""
132
 
133
- #: main.php:487
134
  msgid "Mobile and Desktop"
135
  msgstr ""
136
 
137
- #: main.php:488 includes/custom_post.php:299 includes/custom_post.php:611
138
  msgid "Mobile"
139
  msgstr ""
140
 
141
- #: main.php:489 includes/custom_post.php:307 includes/custom_post.php:619
142
  msgid "Desktop"
143
  msgstr ""
144
 
145
- #: main.php:498
146
  msgid "px from products top."
147
  msgstr ""
148
 
149
- #: main.php:498
150
  msgid "Use this to fix top scroll."
151
  msgstr ""
152
 
153
- #: main.php:503
154
  msgid "Values count and output"
155
  msgstr ""
156
 
157
- #: main.php:507
158
  msgid "All non-empty values are shown and use basic counting"
159
  msgstr ""
160
 
161
- #: main.php:508
162
  msgid "Remove empty values based on page(category/tag/etc)"
163
  msgstr ""
164
 
165
- #: main.php:509
166
  msgid ""
167
  "All non-empty values are shown and filters are considered while counting "
168
  "attribute values"
169
  msgstr ""
170
 
171
- #: main.php:510
172
  msgid ""
173
  "Remove empty values based on page(category/tag/etc). Filters are considered "
174
  "while counting attribute values and empty values based on filters are hidden"
175
  msgstr ""
176
 
177
- #: main.php:511
178
  msgid ""
179
  "Filters are considered while counting attribute values. Empty values are "
180
  "removed server side"
181
  msgstr ""
182
 
183
- #: main.php:513
184
- msgid "Variable variant work slower, but remove variations that out of stock"
185
- msgstr ""
186
-
187
- #: main.php:518
188
  msgid "Hide values"
189
  msgstr ""
190
 
191
- #: main.php:524
192
  msgid "Hide values without products"
193
  msgstr ""
194
 
195
- #: main.php:530
196
  msgid "Hide selected values"
197
  msgstr ""
198
 
199
- #: main.php:536
200
  msgid "Hide blank widgets"
201
  msgstr ""
202
 
203
- #: main.php:541
204
- msgid "Select2"
205
- msgstr ""
206
-
207
- #: main.php:548
208
- msgid "Use Select2 script for dropdown menu"
209
- msgstr ""
210
-
211
- #: main.php:555
212
- msgid ""
213
- "Fixed CSS styles for Select2 (do not enable if Select2 work correct. Option "
214
- "can break Select2 in other plugins or themes)"
215
- msgstr ""
216
-
217
- #: main.php:566
218
  msgid "WooCommerce Description(in header)"
219
  msgstr ""
220
 
221
- #: main.php:567
222
  msgid "WooCommerce Before Shop Loop"
223
  msgstr ""
224
 
225
- #: main.php:568
226
  msgid "WooCommerce After Shop Loop"
227
  msgstr ""
228
 
229
- #: main.php:573
230
  msgid "Display Selected Filters"
231
  msgstr ""
232
 
233
- #: main.php:580
234
  msgid "Show selected filters above products"
235
  msgstr ""
236
 
237
- #: main.php:587
238
  msgid ""
239
  "Hide selected filters area if nothing selected(affect only area above "
240
  "products)"
241
  msgstr ""
242
 
243
- #: main.php:598
 
 
 
 
244
  msgid "Products Selector"
245
  msgstr ""
246
 
247
- #: main.php:603 main.php:648
248
  msgid ""
249
  "Selector for tag that is holding products. Don't change this if you don't "
250
  "know what it is"
251
  msgstr ""
252
 
253
- #: main.php:606
254
  msgid "Products Quantity Selector"
255
  msgstr ""
256
 
257
- #: main.php:613
258
  msgid ""
259
  "Selector for tag with product result count(\"Showing 1–8 of 61 results\"). "
260
  "Don't change this if you don't know what it is"
261
  msgstr ""
262
 
263
- #: main.php:619
264
- msgid "Enable if page doesn't have product count block"
265
- msgstr ""
266
-
267
- #: main.php:624
268
  msgid "Products Sorting Selector"
269
  msgstr ""
270
 
271
- #: main.php:630
272
  msgid ""
273
  "Selector for order by form with drop down menu. Don't change this if you "
274
  "don't know what it is"
275
  msgstr ""
276
 
277
- #: main.php:636
278
- msgid "Enable if page doesn't have order by drop down menu"
279
  msgstr ""
280
 
281
- #: main.php:641
282
- msgid "Products Pagination Selector"
283
  msgstr ""
284
 
285
- #: main.php:654
286
- msgid ""
287
- "Enable if page doesn't have pagination.<strong>Page with lazy load also has "
288
- "pagination</strong>"
289
  msgstr ""
290
 
291
- #: main.php:660
292
  msgid "Disable AJAX Pagination"
293
  msgstr ""
294
 
295
- #: main.php:667
296
  msgid "Refresh URL when filtering"
297
  msgstr ""
298
 
299
- #: main.php:672
300
  msgid ""
301
  "If this option is on URL will be changed when filter is selected/changed"
302
  msgstr ""
303
 
304
- #: main.php:675
305
  msgid "Use slug in URL"
306
  msgstr ""
307
 
308
- #: main.php:680
309
  msgid "Use attribute slug instead ID"
310
  msgstr ""
311
 
312
- #: main.php:683
313
  msgid "URL decoding"
314
  msgstr ""
315
 
316
- #: main.php:688
317
  msgid "Decode all symbols in URL to prevent errors on server side"
318
  msgstr ""
319
 
320
- #: main.php:691
321
  msgid "SEO Meta, Title"
322
  msgstr ""
323
 
324
- #: main.php:696
325
  msgid "Meta Description, Page title and Page Header with filters"
326
  msgstr ""
327
 
328
- #: main.php:699
329
  msgid "SEO Elements"
330
  msgstr ""
331
 
332
- #: main.php:706 templates/filters_group_simple.php:2
333
- #: templates/filter_post_simple.php:11 includes/paid.php:1617
334
- #: includes/paid.php:1787 templates/settings/design.php:789
335
  msgid "Title"
336
  msgstr ""
337
 
338
- #: main.php:712
339
  msgid "Header"
340
  msgstr ""
341
 
342
- #: main.php:718 templates/filter_post.php:502
 
343
  msgid "Description"
344
  msgstr ""
345
 
346
- #: main.php:723
347
  msgid "SEO elements structure"
348
  msgstr ""
349
 
350
- #: main.php:728
351
  msgid "{title} with [attribute] [values] and [attribute] [values]"
352
  msgstr ""
353
 
354
- #: main.php:729
355
  msgid "{title} [attribute]:[values];[attribute]:[values]"
356
  msgstr ""
357
 
358
- #: main.php:730
359
  msgid ""
360
  "[attribute 1 values] {title} with [attribute] [values] and [attribute] "
361
  "[values]"
362
  msgstr ""
363
 
364
- #: main.php:731
365
  msgid "{title} - [values] / [values]"
366
  msgstr ""
367
 
368
- #: main.php:738
369
- msgid "\"No Products\" class"
370
- msgstr ""
371
-
372
- #: main.php:742
373
- msgid "Add class and use it to style \"No Products\" box"
374
- msgstr ""
375
-
376
- #: main.php:745
377
  msgid "Display products"
378
  msgstr ""
379
 
380
- #: main.php:749
381
  msgid ""
382
  "Display always products when filters selected. Use this when you have "
383
  "categories and subcategories on shop pages, but you want to display products "
384
  "on filtering"
385
  msgstr ""
386
 
387
- #: main.php:752
388
  msgid "Use Tax options in price filters"
389
  msgstr ""
390
 
391
- #: main.php:753
392
  msgid "Only Standard tax rates will be applied for prices"
393
  msgstr ""
394
 
395
- #: main.php:757
396
  msgid "Do not use (filter price as it is set in products)"
397
  msgstr ""
398
 
399
- #: main.php:758
400
  msgid "Use tax options"
401
  msgstr ""
402
 
403
- #: main.php:763
404
  msgid "Page same as filter"
405
  msgstr ""
406
 
407
- #: main.php:767 templates/filter_post.php:171 templates/filter_post.php:359
408
- #: templates/filter_post.php:466 includes/paid.php:1746
409
- #: templates/settings/design.php:57 templates/settings/design.php:165
410
- #: templates/settings/design.php:179 templates/settings/design.php:184
411
- #: templates/settings/design.php:421 templates/settings/design.php:435
412
- #: templates/settings/design.php:440 templates/settings/design.php:653
413
- #: templates/settings/design.php:658 templates/settings/design.php:666
414
- #: templates/settings/design.php:677 templates/settings/design.php:682
415
- #: templates/settings/design.php:722 templates/settings/design.php:727
416
- #: templates/settings/design.php:735 templates/settings/design.php:743
417
- #: templates/settings/design.php:748 templates/settings/design.php:756
418
- #: templates/settings/design.php:761 templates/settings/design.php:793
419
- #: templates/settings/design.php:807 templates/settings/design.php:812
420
- #: templates/settings/design.php:820 templates/settings/design.php:834
421
- #: templates/settings/design.php:839 templates/settings/design.php:847
422
- #: templates/settings/design.php:861 templates/settings/design.php:866
423
- #: templates/paid/filters_group.php:29
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
424
  msgid "Default"
425
  msgstr ""
426
 
427
- #: main.php:768
428
  msgid "Remove value"
429
  msgstr ""
430
 
431
- #: main.php:769
432
  msgid "Leave only one value"
433
  msgstr ""
434
 
435
- #: main.php:772
436
  msgid ""
437
  "On Category, Tag, Attribute page filter for it will remove value or leave "
438
  "only one value"
439
  msgstr ""
440
 
441
- #: main.php:776
442
  msgid "Variable Products and Variations options"
443
  msgstr ""
444
 
445
- #: main.php:779
446
  msgid "Hide variations that are out of stock"
447
  msgstr ""
448
 
449
- #: main.php:785 includes/paid.php:124 includes/paid.php:136
450
- #: includes/paid.php:1862
 
 
 
451
  msgid "Disabled"
452
  msgstr ""
453
 
454
- #: main.php:786
455
  msgid "Enabled"
456
  msgstr ""
457
 
458
- #: main.php:787
459
  msgid "Enabled only with selected \"Out of stock\" filter"
460
  msgstr ""
461
 
462
- #: main.php:791
463
  msgid "Hide variable products if variations with selected filters out of stock"
464
  msgstr ""
465
 
466
- #: main.php:798
467
- msgid ""
468
- "Use it for attributes values to display more correct count with option "
469
- "Reload amount of products"
470
  msgstr ""
471
 
472
- #: main.php:805
473
  msgid ""
474
  "Fix WPEngine query issue (Also can work with other hostings if they limit "
475
  "query size)"
476
  msgstr ""
477
 
478
- #: main.php:811
479
  msgid "Incompatibility Fixes"
480
  msgstr ""
481
 
482
- #: main.php:814
483
- msgid "Add position relative to products"
484
- msgstr ""
485
-
486
- #: main.php:818
487
- msgid "Fix for correct displaying loading block"
488
- msgstr ""
489
-
490
- #: main.php:821
491
  msgid "Display styles only for pages with filters"
492
  msgstr ""
493
 
494
- #: main.php:825
495
  msgid "On some sites it can cause some visual problem on page loads"
496
  msgstr ""
497
 
498
- #: main.php:828
499
- msgid "Products per line"
500
- msgstr ""
501
-
502
- #: main.php:832
503
- msgid "Change this only if after filtering count of products per row changes."
504
- msgstr ""
505
-
506
- #: main.php:835
507
  msgid "Fix for sites with AJAX"
508
  msgstr ""
509
 
510
- #: main.php:839
511
  msgid "Add JavaScript files to all pages."
512
  msgstr ""
513
 
514
- #: main.php:842
515
  msgid "Fix for search page"
516
  msgstr ""
517
 
518
- #: main.php:846
519
  msgid "Disable redirection, when search page return only one product"
520
  msgstr ""
521
 
522
- #: main.php:849
523
- msgid "Use Tags as custom taxonomies"
524
- msgstr ""
525
-
526
- #: main.php:853
527
- msgid "Try to enable this if widget with tags didn't work."
528
  msgstr ""
529
 
530
- #: main.php:856
531
- msgid "GET query"
 
 
532
  msgstr ""
533
 
534
- #: main.php:860
535
- msgid "Use GET query instead POST for filtering"
536
  msgstr ""
537
 
538
- #: main.php:863
539
- msgid "Alternative Load (DEPRECATED)"
540
  msgstr ""
541
 
542
- #: main.php:870
543
  msgid ""
544
- "Use it on your own risk. Some features do not work with alternative load "
545
- "methods. All this methods are not supported. If you have problems with any "
546
- "of them just turn this option off"
547
- msgstr ""
548
-
549
- #: main.php:877
550
- msgid "WordPress AJAX (deprecated)"
551
  msgstr ""
552
 
553
- #: main.php:878
554
- msgid "PHP (deprecated)"
555
  msgstr ""
556
 
557
- #: main.php:879
558
- msgid "JavaScript (deprecated)"
559
  msgstr ""
560
 
561
- #: main.php:882
562
- msgid "Use"
563
  msgstr ""
564
 
565
- #: main.php:883
566
- msgid "load method"
567
  msgstr ""
568
 
569
- #: main.php:884
570
- msgid "Some features do not work with alternative load method"
571
  msgstr ""
572
 
573
- #: main.php:890
574
- msgid "Tools"
575
  msgstr ""
576
 
577
- #: main.php:893
578
- msgid "Turn off all filters"
579
  msgstr ""
580
 
581
- #: main.php:897
582
- msgid ""
583
- "If you want to hide filters without losing current configuration just turn "
584
- "them off"
585
  msgstr ""
586
 
587
- #: main.php:916
588
  msgid "Disable Font Awesome"
589
  msgstr ""
590
 
591
- #: main.php:920
592
  msgid ""
593
  "Don't loading css file for Font Awesome on site front end. Use it only if "
594
  "you doesn't uses Font Awesome icons in widgets or you have Font Awesome in "
595
  "your theme."
596
  msgstr ""
597
 
598
- #: main.php:923
599
  msgid "Font Awesome Version"
600
  msgstr ""
601
 
602
- #: main.php:927
603
  msgid "Font Awesome 4"
604
  msgstr ""
605
 
606
- #: main.php:928
607
  msgid "Font Awesome 5"
608
  msgstr ""
609
 
610
- #: main.php:931
611
  msgid ""
612
  "Version of Font Awesome that will be used on front end. Please select "
613
  "version that you have in your theme"
614
  msgstr ""
615
 
616
- #: main.php:934
617
  msgid "Before Update:"
618
  msgstr ""
619
 
620
- #: main.php:938
621
  msgid "If you want to add own actions on filter activation, eg: alert('1');"
622
  msgstr ""
623
 
624
- #: main.php:941
625
  msgid "During Update:"
626
  msgstr ""
627
 
628
- #: main.php:945
629
  msgid ""
630
  "If you want to add own actions right on products update. You can manipulate "
631
  "data here, try: data.products = 'Ha!';"
632
  msgstr ""
633
 
634
- #: main.php:948
635
  msgid "After Update:"
636
  msgstr ""
637
 
638
- #: main.php:952
639
  msgid "If you want to add own actions after products updated, eg: alert('1');"
640
  msgstr ""
641
 
642
- #: main.php:978 templates/filters_information.php:2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
643
  msgid "SETUP WIZARD"
644
  msgstr ""
645
 
646
- #: main.php:980
647
  msgid "RUN SETUP WIZARD"
648
  msgstr ""
649
 
650
- #: main.php:982
651
  msgid "Run it to setup plugin options step by step"
652
  msgstr ""
653
 
654
- #: main.php:991 main.php:1002
655
  msgid "Creating products"
656
  msgstr ""
657
 
658
- #: main.php:992 main.php:1003
659
  msgid "Gettings selectors"
660
  msgstr ""
661
 
662
- #: main.php:993 main.php:1004
663
  msgid "Removing products"
664
  msgstr ""
665
 
666
- #: main.php:994
667
  msgid "Error:"
668
  msgstr ""
669
 
670
- #: main.php:997
671
  msgid ""
672
  "IMPORTANT: It will generate some products on your site. Please disable all "
673
  "SEO plugins and plugins, that doing anything on product creating."
674
  msgstr ""
675
 
676
- #: main.php:998
677
  msgid ""
678
  "Script was runned, but page closed until end. Please stop it to prevent any "
679
  "problems on your site"
680
  msgstr ""
681
 
682
- #: main.php:999
683
  msgid "Auto-Selectors"
684
  msgstr ""
685
 
686
- #: main.php:1000
687
  msgid "Stop"
688
  msgstr ""
689
 
690
- #: main.php:1001
691
  msgid "Steps:"
692
  msgstr ""
693
 
694
- #: main.php:1007
695
  msgid "Get selectors automatically"
696
  msgstr ""
697
 
698
- #: main.php:1009
699
  msgid "How it work:"
700
  msgstr ""
701
 
702
- #: main.php:1011
703
  msgid "Run Auto-selector"
704
  msgstr ""
705
 
706
- #: main.php:1012
707
  msgid ""
708
  "Wait until end <strong style=\"color:red;\">do not close this page</strong>"
709
  msgstr ""
710
 
711
- #: main.php:1013
712
  msgid "Save settings with new selectors"
713
  msgstr ""
714
 
715
- #: main.php:1022 main.php:1036
716
  msgid "Purge Cache"
717
  msgstr ""
718
 
719
- #: main.php:1038
720
  msgid "Clear attribute/custom taxonomy cache for plugin"
721
  msgstr ""
722
 
723
- #: main.php:1056
724
- msgid "Replace old widgets"
725
  msgstr ""
726
 
727
- #: main.php:1069
728
- msgid "Widget replaced"
 
 
 
729
  msgstr ""
730
 
731
- #: main.php:1070
732
- msgid "Replacing widgets... Please wait"
733
  msgstr ""
734
 
735
- #: main.php:1074
736
- msgid "Replace widgets"
737
  msgstr ""
738
 
739
- #: main.php:1076
740
- msgid "No old widgets"
741
  msgstr ""
742
 
743
- #: main.php:1079
744
- msgid "Replace deprecated widgets with new single filter widgets"
745
  msgstr ""
746
 
747
- #: main.php:1102
748
- msgid "Custom CSS Style:"
749
  msgstr ""
750
 
751
- #: main.php:1266 includes/paid.php:1649 templates/settings/design.php:161
752
- msgid "Checkbox"
753
  msgstr ""
754
 
755
- #: main.php:1267 includes/paid.php:1650 templates/settings/design.php:417
756
- msgid "Radio"
 
757
  msgstr ""
758
 
759
- #: main.php:1268 includes/paid.php:1648
760
- msgid "Select"
 
761
  msgstr ""
762
 
763
- #: main.php:1269 includes/paid.php:1651 templates/settings/design.php:12
764
- #: templates/settings/design.php:27
765
- msgid "Color"
766
  msgstr ""
767
 
768
- #: main.php:1270 includes/paid.php:1652
769
- msgid "Image"
770
  msgstr ""
771
 
772
- #: main.php:1271 templates/settings/design.php:634
773
- msgid "Slider"
 
 
774
  msgstr ""
775
 
776
- #: main.php:1272
777
- msgid "Tag cloud"
778
  msgstr ""
779
 
780
- #: main.php:1547 templates/color.php:206 templates/checkbox.php:140
781
- #: templates/disabled/color.php:197 templates/disabled/checkbox.php:130
782
- msgid "Show value(s)"
783
  msgstr ""
784
 
785
- #: main.php:1548
786
- msgid "Hide value(s)"
787
  msgstr ""
788
 
789
- #: main.php:1549
790
- msgid "Unselect all"
791
  msgstr ""
792
 
793
- #: main.php:1550
794
- msgid "Nothing is selected"
795
  msgstr ""
796
 
797
- #: main.php:1551
798
- msgid "products"
799
  msgstr ""
800
 
801
- #: main.php:1639
802
- msgid "Activate WooCommerce plugin before"
803
  msgstr ""
804
 
805
- #: main.php:1645
806
- msgid "Update WooCommerce plugin"
807
  msgstr ""
808
 
809
- #: templates/admin.php:2
810
- msgid ""
811
- "Widget will be removed in future please use <strong>AAPF Filters "
812
- "Group</strong> instead."
813
  msgstr ""
814
 
815
- #: templates/admin.php:3
816
- #, php-format
817
- msgid "You can add filter to %s that has limitation"
818
  msgstr ""
819
 
820
- #: templates/admin.php:3
821
- msgid "Filters group"
 
822
  msgstr ""
823
 
824
- #: templates/filters_group_simple.php:6 templates/filters_group.php:12
825
- msgid "Filters In Group"
826
  msgstr ""
827
 
828
- #: templates/filters_group_simple.php:16 templates/filters_group.php:22
829
- msgid "Add filter"
830
  msgstr ""
831
 
832
- #: templates/filters_group_simple.php:17 includes/new_widget.php:283
833
- msgid "Create Filter"
 
834
  msgstr ""
835
 
836
- #: templates/filters_group_simple.php:32 templates/filters_group_simple.php:57
837
- #: includes/new_widget.php:127 includes/new_widget.php:281
838
- #: includes/custom_post.php:50 includes/custom_post.php:522
839
- msgid "Edit"
840
  msgstr ""
841
 
842
- #: templates/filters_group_simple.php:42 templates/filter_post_simple.php:153
843
- msgid "Need more options? Create it on "
844
  msgstr ""
845
 
846
- #: templates/filters_group_simple.php:43 includes/new_widget.php:95
847
- msgid "Manage groups"
848
  msgstr ""
849
 
850
- #: templates/filters_group_simple.php:44 templates/filter_post_simple.php:155
851
- msgid " page"
852
  msgstr ""
853
 
854
- #: templates/filters_group.php:4 includes/new_widget.php:102
855
- #: includes/new_widget.php:256
856
- msgid "Custom CSS class"
857
  msgstr ""
858
 
859
- #: templates/filters_group.php:7
860
- msgid "use white space for multiple classes"
861
  msgstr ""
862
 
863
- #: templates/filters_group.php:23 templates/filter_post_simple.php:154
864
- #: includes/new_widget.php:253
865
- msgid "Manage filters"
866
  msgstr ""
867
 
868
- #: templates/filters_group.php:40 templates/filters_group.php:60
869
- msgid "Width"
870
  msgstr ""
871
 
872
- #: templates/include_exclude_list.php:3
873
- msgid "Include / Exclude List"
874
  msgstr ""
875
 
876
- #: templates/color_ajax.php:3
877
- msgid "Color pick"
 
 
 
 
 
878
  msgstr ""
879
 
880
- #: templates/color_ajax.php:3
881
- msgid "Image pick"
 
 
 
882
  msgstr ""
883
 
884
- #: templates/filter_post.php:12 templates/filters_information.php:7
885
- #: templates/filters_information.php:9
886
- msgid "Widget Type"
 
 
887
  msgstr ""
888
 
889
- #: templates/filter_post.php:16 includes/new_widget.php:260
890
- #: includes/divi-builder.php:26 includes/custom_post.php:350
891
- #: includes/visual-composer.php:26 templates/settings/design.php:843
892
- #: addons/deprecated_compat/widget.php:263
893
- #: includes/filters/display_widget.php:235
894
- msgid "Filter"
895
  msgstr ""
896
 
897
- #: templates/filter_post.php:36 templates/filter_post_simple.php:18
898
- #: includes/paid.php:1621
899
- msgid "Filter By"
900
  msgstr ""
901
 
902
- #: templates/filter_post.php:41 templates/filter_post.php:83
903
- #: templates/filter_post_simple.php:23 templates/filter_post_simple.php:65
904
- #: includes/custom_post.php:360 includes/custom_post.php:437
905
- #: includes/paid.php:1614 includes/paid.php:1623 includes/paid.php:1629
906
- #: addons/deprecated_compat/widget.php:171
907
- #: includes/filters/display_widget.php:161
 
 
 
 
 
 
 
908
  msgid "Attribute"
909
  msgstr ""
910
 
911
- #: templates/filter_post.php:45 templates/filter_post_simple.php:27
912
- #: includes/custom_post.php:361 includes/custom_post.php:373
913
- #: includes/custom_post.php:392 includes/custom_post.php:441
914
- #: includes/paid.php:1624 addons/deprecated_compat/widget.php:175
915
- #: includes/filters/display_widget.php:165
 
916
  msgid "Tag"
917
  msgstr ""
918
 
919
- #: templates/filter_post.php:49 templates/filter_post_simple.php:31
920
- #: includes/custom_post.php:445 includes/paid.php:435
921
- #: addons/deprecated_compat/widget.php:179
922
- #: includes/filters/display_widget.php:169
923
- msgid "Product Category"
924
  msgstr ""
925
 
926
- #: templates/filter_post.php:56 templates/filter_post_simple.php:38
927
- #: includes/custom_post.php:403 includes/custom_post.php:452
928
- #: addons/deprecated_compat/widget.php:186
929
- #: includes/filters/display_widget.php:176
930
- msgid "Rating"
 
931
  msgstr ""
932
 
933
- #: templates/filter_post.php:85 templates/filter_post_simple.php:67
934
- #: includes/custom_post.php:381
 
 
935
  msgid "Price"
936
  msgstr ""
937
 
938
- #: templates/filter_post.php:92 templates/filter_post_simple.php:74
939
- #: includes/paid.php:1637
940
- msgid "Custom Taxonomies"
941
  msgstr ""
942
 
943
- #: templates/filter_post.php:115 templates/filter_post_simple.php:97
944
- #: includes/paid.php:1646
945
- msgid "Type"
 
 
 
946
  msgstr ""
947
 
948
- #: templates/filter_post.php:162 templates/filter_post_simple.php:143
949
- msgid "Operator"
950
  msgstr ""
951
 
952
- #: templates/filter_post.php:169
953
- msgid "Values Order"
954
  msgstr ""
955
 
956
- #: templates/filter_post.php:172
957
- msgid "Alpha"
 
 
 
 
958
  msgstr ""
959
 
960
- #: templates/filter_post.php:172
961
- msgid "Numeric"
 
962
  msgstr ""
963
 
964
- #: templates/filter_post.php:178
965
- msgid "Order Type"
966
  msgstr ""
967
 
968
- #: templates/filter_post.php:180
969
- msgid "Ascending"
970
  msgstr ""
971
 
972
- #: templates/filter_post.php:180
973
- msgid "Descending"
 
974
  msgstr ""
975
 
976
- #: templates/filter_post.php:222
977
- msgid "Ranges: 1,100,200,1000"
 
978
  msgstr ""
979
 
980
- #: templates/filter_post.php:225
981
- msgid "1.00-100.00, 101.00-200.00, 201.00-1000.00"
982
  msgstr ""
983
 
984
- #: templates/filter_post.php:226
985
- msgid "1.00-100.00, 100.00-200.00, 200.00-1000.00"
986
  msgstr ""
987
 
988
- #: templates/filter_post.php:227
989
- msgid "1.00-99.99, 100.00-199.99, 200.00-999.99"
990
  msgstr ""
991
 
992
- #: templates/filter_post.php:239
993
- msgid "Hide first and last ranges without products"
994
  msgstr ""
995
 
996
- #: templates/filter_post.php:244
997
- msgid "Show last range to the infinity"
998
  msgstr ""
999
 
1000
- #: templates/filter_post.php:248
1001
- msgid "Infinity text"
1002
  msgstr ""
1003
 
1004
- #: templates/filter_post.php:263 templates/filter_post.php:429
1005
- msgid "Disable multiple selection?"
1006
  msgstr ""
1007
 
1008
- #: templates/filter_post.php:269
1009
- msgid "Text before price:"
1010
  msgstr ""
1011
 
1012
- #: templates/filter_post.php:273
1013
- msgid "after:"
1014
  msgstr ""
1015
 
1016
- #: templates/filter_post.php:280
1017
- msgid "Enable Slider Inputs"
1018
  msgstr ""
1019
 
1020
- #: templates/filter_post.php:284
1021
- msgid "Use custom values(comma separated):"
1022
  msgstr ""
1023
 
1024
- #: templates/filter_post.php:286
1025
- msgid "* use numeric values only, strings will not work as expected"
1026
  msgstr ""
1027
 
1028
- #: templates/filter_post.php:294
1029
- msgid "Use current product category to get child"
1030
  msgstr ""
1031
 
1032
- #: templates/filter_post.php:299
1033
- msgid "Deep level:"
1034
  msgstr ""
1035
 
1036
- #: templates/filter_post.php:305
1037
- msgid "Product Category:"
 
1038
  msgstr ""
1039
 
1040
- #: templates/filter_post.php:313
1041
- msgid "None"
1042
  msgstr ""
1043
 
1044
- #: templates/filter_post.php:338
1045
- msgid "First Element Text"
1046
  msgstr ""
1047
 
1048
- #: templates/filter_post.php:339 addons/deprecated_compat/widget.php:819
1049
- #: includes/filters/display_widget.php:506
1050
- msgid "Any"
1051
  msgstr ""
1052
 
1053
- #: templates/filter_post.php:344
1054
- msgid "Multiple select"
1055
  msgstr ""
1056
 
1057
- #: templates/filter_post.php:349 templates/filters_information.php:5
1058
- msgid "Advanced Settings"
1059
  msgstr ""
1060
 
1061
- #: templates/filter_post.php:355
1062
- msgid "Attribute Values count"
1063
  msgstr ""
1064
 
1065
- #: templates/filter_post.php:356
1066
- msgid "From settings"
1067
  msgstr ""
1068
 
1069
- #: templates/filter_post.php:357
1070
- msgid "Show/Hide button"
1071
  msgstr ""
1072
 
1073
- #: templates/filter_post.php:360
1074
- msgid "Always visible"
1075
  msgstr ""
1076
 
1077
- #: templates/filter_post.php:361
1078
- msgid "Always hidden"
1079
  msgstr ""
1080
 
1081
- #: templates/filter_post.php:369
1082
- msgid "Use specific number style"
1083
  msgstr ""
1084
 
1085
- #: templates/filter_post.php:373
1086
- msgid "Thousand Separator"
1087
  msgstr ""
1088
 
1089
- #: templates/filter_post.php:377 includes/paid.php:94
1090
- msgid "Decimal Separator"
1091
  msgstr ""
1092
 
1093
- #: templates/filter_post.php:381 includes/paid.php:100
1094
- msgid "Number Of Decimal"
1095
  msgstr ""
1096
 
1097
- #: templates/filter_post.php:396
1098
- msgid "Enable collapse option"
1099
  msgstr ""
1100
 
1101
- #: templates/filter_post.php:402
1102
- msgid "Collapse this widget on load?"
1103
  msgstr ""
1104
 
1105
- #: templates/filter_post.php:408 templates/filter_post.php:580
1106
- msgid "Hide collapse arrow?"
1107
  msgstr ""
1108
 
1109
- #: templates/filter_post.php:415
1110
- msgid "Show hierarchical values as a tree with hidden child values on load?"
1111
  msgstr ""
1112
 
1113
- #: templates/filter_post.php:425
1114
- msgid "Display value with color/image box?"
1115
  msgstr ""
1116
 
1117
- #: templates/filter_post.php:432
1118
- msgid "Size of blocks(Height x Width)"
1119
  msgstr ""
1120
 
1121
- #: templates/filter_post.php:436
1122
- msgid "2em x 2em"
1123
  msgstr ""
1124
 
1125
- #: templates/filter_post.php:437
1126
- msgid "1em x 1em"
1127
  msgstr ""
1128
 
1129
- #: templates/filter_post.php:438
1130
- msgid "1em x 2em"
1131
  msgstr ""
1132
 
1133
- #: templates/filter_post.php:439
1134
- msgid "2em x 3em"
 
1135
  msgstr ""
1136
 
1137
- #: templates/filter_post.php:440
1138
- msgid "2em x 4em"
1139
  msgstr ""
1140
 
1141
- #: templates/filter_post.php:441
1142
- msgid "3em x 3em"
1143
  msgstr ""
1144
 
1145
- #: templates/filter_post.php:442
1146
- msgid "3em x 4em"
1147
  msgstr ""
1148
 
1149
- #: templates/filter_post.php:443
1150
- msgid "3em x 5em"
1151
  msgstr ""
1152
 
1153
- #: templates/filter_post.php:444
1154
- msgid "4em x 4em"
1155
  msgstr ""
1156
 
1157
- #: templates/filter_post.php:445
1158
- msgid "4em x 5em"
1159
  msgstr ""
1160
 
1161
- #: templates/filter_post.php:446
1162
- msgid "5em x 5em"
1163
  msgstr ""
1164
 
1165
- #: templates/filter_post.php:447
1166
- msgid "Custom size"
1167
  msgstr ""
1168
 
1169
- #: templates/filter_post.php:455
1170
- msgid "Custom size(Height x Width)"
 
 
1171
  msgstr ""
1172
 
1173
- #: templates/filter_post.php:462
1174
- msgid "Checked type"
1175
  msgstr ""
1176
 
1177
- #: templates/filter_post.php:467
1178
- msgid "Rotate"
1179
  msgstr ""
1180
 
1181
- #: templates/filter_post.php:468
1182
- msgid "Scale"
 
1183
  msgstr ""
1184
 
1185
- #: templates/filter_post.php:469
1186
- msgid "Blue Shadow"
1187
  msgstr ""
1188
 
1189
- #: templates/filter_post.php:470
1190
- msgid "Custom CSS"
1191
  msgstr ""
1192
 
1193
- #: templates/filter_post.php:478
1194
- msgid "Custom CSS for Checked block"
1195
  msgstr ""
1196
 
1197
- #: templates/filter_post.php:485
1198
- msgid "Icons"
1199
  msgstr ""
1200
 
1201
- #: templates/filter_post.php:487
1202
- msgid "Title Icons"
1203
  msgstr ""
1204
 
1205
- #: templates/filter_post.php:489 templates/filter_post.php:495
1206
- #: includes/paid.php:1676 templates/paid/filters_search_box.php:43
1207
- msgid "Before"
1208
  msgstr ""
1209
 
1210
- #: templates/filter_post.php:490 templates/filter_post.php:496
1211
- #: includes/paid.php:1677 templates/paid/filters_search_box.php:44
1212
- msgid "After"
1213
  msgstr ""
1214
 
1215
- #: templates/filter_post.php:493
1216
- msgid "Value Icons"
1217
  msgstr ""
1218
 
1219
- #: templates/filter_post.php:506
1220
- msgid "CSS Class"
1221
  msgstr ""
1222
 
1223
- #: templates/filter_post.php:508
1224
- msgid "(use white space for multiple classes)"
1225
  msgstr ""
1226
 
1227
- #: templates/filter_post.php:513
1228
- msgid "Tags Cloud Height:"
1229
  msgstr ""
1230
 
1231
- #: templates/filter_post.php:517
1232
- msgid "Min Font Size:"
1233
  msgstr ""
1234
 
1235
- #: templates/filter_post.php:521
1236
- msgid "Max Font Size:"
1237
  msgstr ""
1238
 
1239
- #: templates/filter_post.php:525
1240
- msgid "Max Tags Count:"
1241
  msgstr ""
1242
 
1243
- #: templates/filter_post.php:533
1244
- msgid "Use min price"
 
 
1245
  msgstr ""
1246
 
1247
- #: templates/filter_post.php:542
1248
- msgid "Use max price"
 
 
1249
  msgstr ""
1250
 
1251
- #: templates/filter_post.php:551
1252
- msgid "Filter Box Height:"
 
1253
  msgstr ""
1254
 
1255
- #: templates/filter_post.php:555
1256
- msgid "Scroll Theme:"
1257
  msgstr ""
1258
 
1259
- #: templates/filter_post.php:574
1260
- msgid "Show if nothing is selected"
 
 
1261
  msgstr ""
1262
 
1263
- #: templates/filter_post.php:586 templates/filters_information.php:5
1264
- msgid "Hide this widget on load?"
1265
  msgstr ""
1266
 
1267
- #: templates/filter_post.php:625
1268
- msgid "Widget Output Limitations"
1269
  msgstr ""
1270
 
1271
- #: templates/filter_post.php:627
1272
- msgid "Product Category Value Limitation"
1273
  msgstr ""
1274
 
1275
- #: templates/filter_post.php:655
1276
- msgid "Hide button"
1277
  msgstr ""
1278
 
1279
- #: templates/filter_post.php:657
1280
- msgid "Do not hide"
1281
  msgstr ""
1282
 
1283
- #: templates/filter_post.php:658
1284
- msgid "Hide only when no filters on page"
1285
  msgstr ""
1286
 
1287
- #: templates/filter_post.php:659
1288
- msgid "Hide when no filters on page or page not filtered"
 
1289
  msgstr ""
1290
 
1291
- #: templates/groups_information.php:2 templates/filters_information.php:3
1292
- msgid "Get more information on BeRocket Documentation"
1293
  msgstr ""
1294
 
1295
- #: templates/groups_information.php:3
1296
- msgid ""
1297
- "Do not use multiple filters with same attribute on one page! We will not "
1298
- "guarantee normal filters works in that case."
1299
  msgstr ""
1300
 
1301
- #: templates/groups_information.php:4
1302
- msgid ""
1303
- "P.S. No, using sub-categories for different filters is not normal. Please "
1304
- "use attributes instead"
1305
  msgstr ""
1306
 
1307
- #: templates/groups_information.php:5 includes/custom_post.php:134
1308
- #: includes/custom_post.php:563
1309
- msgid "Conditions"
1310
  msgstr ""
1311
 
1312
- #: templates/groups_information.php:6
1313
- msgid "Group without any condition will be displayed on all pages"
1314
  msgstr ""
1315
 
1316
- #: templates/groups_information.php:7
1317
- msgid "Connection between condition can be AND and OR"
1318
  msgstr ""
1319
 
1320
- #: templates/groups_information.php:8
1321
- msgid "<strong>AND</strong> uses between condition in one section"
1322
  msgstr ""
1323
 
1324
- #: templates/groups_information.php:9
1325
- msgid "<strong>OR</strong> uses between different sections with conditions"
1326
  msgstr ""
1327
 
1328
- #: templates/groups_information.php:10
1329
- msgid "To display one group on different pages use OR condition"
 
 
1330
  msgstr ""
1331
 
1332
- #: templates/filters_information.php:4
1333
- msgid "How to hide filter on page load?"
 
 
1334
  msgstr ""
1335
 
1336
- #: templates/filters_information.php:5
1337
- #, php-format
1338
- msgid "Enable in <strong>%s</strong> option <strong>%s</strong>"
1339
  msgstr ""
1340
 
1341
- #: templates/filters_information.php:6
1342
- msgid "How to add reset filters button?"
1343
  msgstr ""
1344
 
1345
- #: templates/filters_information.php:7 templates/filters_information.php:9
1346
- #, php-format
1347
- msgid "Select <strong>%s</strong> in option <strong>%s</strong>"
1348
  msgstr ""
1349
 
1350
- #: templates/filters_information.php:7 includes/custom_post.php:352
1351
- #: includes/display_filter/reset_button.php:10
1352
- msgid "Reset Products button"
1353
  msgstr ""
1354
 
1355
- #: templates/filters_information.php:8
1356
- msgid ""
1357
- "How to add update products button? (to filter products only after click on "
1358
- "button)"
1359
  msgstr ""
1360
 
1361
- #: templates/filters_information.php:9 includes/custom_post.php:351
1362
- #: includes/display_filter/update_button.php:10
1363
- msgid "Update Products button"
1364
  msgstr ""
1365
 
1366
- #: templates/filters_information.php:17
1367
- msgid ""
1368
- "Title will be displayed as widget title.<br>You can write text, that want to "
1369
- "display above filter"
1370
  msgstr ""
1371
 
1372
- #: templates/filters_information.php:24
1373
- msgid ""
1374
- "Where filters must be displayed.<br>Filter will be displayed on all pages if "
1375
- "do not have conditions.<br><strong>Please first try to add filter without "
1376
- "any condition to check that it works</strong>"
1377
  msgstr ""
1378
 
1379
- #: templates/filters_information.php:31
1380
- msgid ""
1381
- "All that can be displayed you can select there<h3>Variants:</h3><ul><li>"
1382
- "<strong>Filter</strong>(main type) - filters by attributes, categories, "
1383
- "price etc.</li><li><strong>Update Products button</strong> - button to apply "
1384
- "filters to products. Filter will applies only after click on update "
1385
- "button</li><li><strong>Reset Products button</strong> - button to disable "
1386
- "all selected filters</li><li><strong>Selected Filters area</strong> - "
1387
- "display selected filters and provide possibility to disable it in one "
1388
- "place</li></ul>"
1389
  msgstr ""
1390
 
1391
- #: templates/filters_information.php:35
1392
- msgid ""
1393
- "Select attribute that you need to filter by.<br>You can use for filtering "
1394
- "price, attributes, categories, tags etc"
1395
  msgstr ""
1396
 
1397
- #: templates/filters_information.php:42
1398
- msgid "Filter selection type. This option change how filter will be look like."
1399
  msgstr ""
1400
 
1401
- #: templates/filters_information.php:49 templates/filters_information.php:72
1402
- msgid ""
1403
- "Shortcode to use this filters in any place of your site will be displayed "
1404
- "there<br><strong>Please use widgets if you do not know how shortcode "
1405
- "works</strong>"
1406
  msgstr ""
1407
 
1408
- #: templates/filters_information.php:53
1409
- msgid "Save filter after setup to use it in widgets"
1410
  msgstr ""
1411
 
1412
- #: templates/filters_information.php:59 templates/filters_information.php:68
1413
- msgid ""
1414
- "You can use widget to display filters on your shop page.<br><strong>Use "
1415
- "sidebar, that displayed on shop page</strong>"
1416
  msgstr ""
1417
 
1418
- #: includes/functions.php:764
1419
- msgid "Widget Title"
1420
  msgstr ""
1421
 
1422
- #: includes/functions.php:776
1423
- msgid "Label(checkbox/radio)"
1424
  msgstr ""
1425
 
1426
- #: includes/functions.php:788
1427
- msgid "Drop-Down"
1428
  msgstr ""
1429
 
1430
- #: includes/functions.php:800
1431
- msgid "Slider Inputs"
1432
  msgstr ""
1433
 
1434
- #: includes/functions.php:812
1435
- msgid "Description Block"
1436
  msgstr ""
1437
 
1438
- #: includes/functions.php:824
1439
- msgid "Description Block Border"
1440
  msgstr ""
1441
 
1442
- #: includes/functions.php:836
1443
- msgid "Description Block Title"
1444
  msgstr ""
1445
 
1446
- #: includes/functions.php:848
1447
- msgid "Description Block Text"
1448
  msgstr ""
1449
 
1450
- #: includes/functions.php:860
1451
- msgid "Selected filters area text"
1452
  msgstr ""
1453
 
1454
- #: includes/functions.php:872
1455
- msgid "Selected filters area mouse over the text"
1456
  msgstr ""
1457
 
1458
- #: includes/functions.php:884
1459
- msgid "Selected filters area link background"
1460
  msgstr ""
1461
 
1462
- #: includes/functions.php:896
1463
- msgid "Selected filters area link border"
1464
  msgstr ""
1465
 
1466
- #: includes/new_widget.php:5
1467
- msgid "AAPF Filters Group"
1468
  msgstr ""
1469
 
1470
- #: includes/new_widget.php:6
1471
- msgid "AJAX Product Filters. Group of filters"
1472
  msgstr ""
1473
 
1474
- #: includes/new_widget.php:106 includes/divi-builder.php:79
1475
- #: includes/paid.php:282
1476
- msgid "Group"
1477
  msgstr ""
1478
 
1479
- #: includes/new_widget.php:112 includes/divi-builder.php:70
1480
- msgid "--Please select group--"
 
 
1481
  msgstr ""
1482
 
1483
- #: includes/new_widget.php:129
1484
- msgid "Create Group"
1485
  msgstr ""
1486
 
1487
- #: includes/new_widget.php:136
1488
- msgid "AAPF Filter Single"
 
1489
  msgstr ""
1490
 
1491
- #: includes/new_widget.php:137
1492
- msgid "AJAX Product Filters. Single Filter"
 
1493
  msgstr ""
1494
 
1495
- #: includes/new_widget.php:266 includes/divi-builder.php:17
1496
- #: includes/visual-composer.php:10 includes/visual-composer.php:36
1497
- msgid "--Please select filter--"
1498
  msgstr ""
1499
 
1500
- #: includes/divi-builder.php:6 includes/visual-composer.php:19
1501
- msgid "Single Filter"
1502
  msgstr ""
1503
 
1504
- #: includes/divi-builder.php:59 includes/visual-composer.php:45
1505
- msgid "Group Filter"
1506
  msgstr ""
1507
 
1508
- #: includes/custom_post.php:43 includes/custom_post.php:45
1509
- #: includes/custom_post.php:46
1510
- msgid "Product Filter"
1511
  msgstr ""
1512
 
1513
- #: includes/custom_post.php:47
1514
- msgctxt "Admin menu name"
1515
- msgid "Filters"
1516
  msgstr ""
1517
 
1518
- #: includes/custom_post.php:48
1519
- msgid "Add Filter"
1520
  msgstr ""
1521
 
1522
- #: includes/custom_post.php:49
1523
- msgid "Add New Filter"
1524
  msgstr ""
1525
 
1526
- #: includes/custom_post.php:51
1527
- msgid "Edit Filter"
1528
  msgstr ""
1529
 
1530
- #: includes/custom_post.php:52
1531
- msgid "New Filter"
1532
  msgstr ""
1533
 
1534
- #: includes/custom_post.php:53
1535
- msgid "View Filters"
1536
  msgstr ""
1537
 
1538
- #: includes/custom_post.php:54
1539
- msgid "View Filter"
1540
  msgstr ""
1541
 
1542
- #: includes/custom_post.php:55
1543
- msgid "Search Product Filters"
1544
  msgstr ""
1545
 
1546
- #: includes/custom_post.php:56
1547
- msgid "No Product Filters found"
 
1548
  msgstr ""
1549
 
1550
- #: includes/custom_post.php:57
1551
- msgid "No Product Filters found in trash"
 
1552
  msgstr ""
1553
 
1554
- #: includes/custom_post.php:59
1555
- msgid "This is where you can add Product Filters."
1556
  msgstr ""
1557
 
1558
- #: includes/custom_post.php:135
1559
- msgid "Product Filter Settings"
1560
  msgstr ""
1561
 
1562
- #: includes/custom_post.php:136 includes/custom_post.php:340
1563
- #: includes/custom_post.php:565 includes/custom_post.php:646
1564
- msgid "Shortcode"
1565
  msgstr ""
1566
 
1567
- #: includes/custom_post.php:137
1568
- msgid "FAQ"
1569
  msgstr ""
1570
 
1571
- #: includes/custom_post.php:143
1572
- msgid "Setup Widget"
1573
  msgstr ""
1574
 
1575
- #: includes/custom_post.php:227
1576
- msgid ""
1577
- "Widget to display single filter in your sidebar. Add it to needed sidebar"
1578
  msgstr ""
1579
 
1580
- #: includes/custom_post.php:261
1581
- msgid "Select filter that must be displayed in sidebar"
1582
  msgstr ""
1583
 
1584
- #: includes/custom_post.php:266
1585
- msgid "Save widget and check it on shop page"
1586
  msgstr ""
1587
 
1588
- #: includes/custom_post.php:295
1589
- msgid "Hide this filter on:"
 
1590
  msgstr ""
1591
 
1592
- #: includes/custom_post.php:303 includes/custom_post.php:615
1593
- msgid "Tablet"
1594
  msgstr ""
1595
 
1596
- #: includes/custom_post.php:318 includes/custom_post.php:638
1597
- msgid "You need save it to get shortcode"
1598
  msgstr ""
1599
 
1600
- #: includes/custom_post.php:332
1601
- msgid "Now you can use saved filters in widgets"
1602
  msgstr ""
1603
 
1604
- #: includes/custom_post.php:333
1605
- msgid "Add widget <strong>AAPF Filter Single</strong> on "
1606
  msgstr ""
1607
 
1608
- #: includes/custom_post.php:334
1609
- msgid "WIDGET PAGE"
1610
  msgstr ""
1611
 
1612
- #: includes/custom_post.php:339
1613
- msgid "Data"
1614
  msgstr ""
1615
 
1616
- #: includes/custom_post.php:353 includes/display_filter/selected_area.php:14
1617
- msgid "Selected Filters area"
1618
  msgstr ""
1619
 
1620
- #: includes/custom_post.php:354 includes/paid.php:1505
1621
- msgid "Search Box (DEPRECATED)"
1622
  msgstr ""
1623
 
1624
- #: includes/custom_post.php:356
1625
- msgid "Widget type: "
1626
  msgstr ""
1627
 
1628
- #: includes/custom_post.php:362 includes/paid.php:1474 includes/paid.php:1625
1629
- msgid "Custom Taxonomy"
1630
  msgstr ""
1631
 
1632
- #: includes/custom_post.php:369 includes/custom_post.php:386
1633
- msgid "Attribute: "
1634
  msgstr ""
1635
 
1636
- #: includes/custom_post.php:371 includes/custom_post.php:396
1637
- msgid "Custom Taxonomy: "
1638
  msgstr ""
1639
 
1640
- #: includes/custom_post.php:388 includes/paid.php:1478
1641
- msgid "Stock status"
1642
  msgstr ""
1643
 
1644
- #: includes/custom_post.php:390 includes/paid.php:1470
1645
- msgid "Product sub-categories"
1646
  msgstr ""
1647
 
1648
- #: includes/custom_post.php:399 includes/paid.php:1482
1649
- msgid "Date"
1650
  msgstr ""
1651
 
1652
- #: includes/custom_post.php:401 includes/paid.php:1486
1653
- msgid "Sale"
1654
  msgstr ""
1655
 
1656
- #: includes/custom_post.php:515 includes/custom_post.php:517
1657
- #: includes/custom_post.php:518
1658
- msgid "Product Filter Group"
1659
  msgstr ""
1660
 
1661
- #: includes/custom_post.php:519
1662
- msgctxt "Admin menu name"
1663
- msgid "Groups"
1664
  msgstr ""
1665
 
1666
- #: includes/custom_post.php:520
1667
- msgid "Add Filter Group"
 
1668
  msgstr ""
1669
 
1670
- #: includes/custom_post.php:521
1671
- msgid "Add New Filter Group"
1672
  msgstr ""
1673
 
1674
- #: includes/custom_post.php:523
1675
- msgid "Edit Filter Group"
1676
  msgstr ""
1677
 
1678
- #: includes/custom_post.php:524
1679
- msgid "New Filter Group"
 
1680
  msgstr ""
1681
 
1682
- #: includes/custom_post.php:525
1683
- msgid "View Filter Groups"
 
1684
  msgstr ""
1685
 
1686
- #: includes/custom_post.php:526
1687
- msgid "View Filter Group"
1688
  msgstr ""
1689
 
1690
- #: includes/custom_post.php:527
1691
- msgid "Search Product Filter Groups"
1692
  msgstr ""
1693
 
1694
- #: includes/custom_post.php:528
1695
- msgid "No Product Filter Groups found"
1696
  msgstr ""
1697
 
1698
- #: includes/custom_post.php:529
1699
- msgid "No Product Filter Groups found in trash"
1700
  msgstr ""
1701
 
1702
- #: includes/custom_post.php:531
1703
- msgid "This is where you can add Product Filter Groups."
1704
  msgstr ""
1705
 
1706
- #: includes/custom_post.php:564
1707
- msgid "Group Settings"
1708
  msgstr ""
1709
 
1710
- #: includes/custom_post.php:566
1711
- msgid "Information"
1712
  msgstr ""
1713
 
1714
- #: includes/custom_post.php:607
1715
- msgid "Hide this group on:"
 
1716
  msgstr ""
1717
 
1718
- #: includes/custom_post.php:695 includes/paid.php:590 includes/paid.php:621
1719
- #: addons/custom_sidebar/sidebar_include.php:37
1720
- msgid "SHOW FILTERS"
 
1721
  msgstr ""
1722
 
1723
- #: includes/paid.php:81
1724
- msgid "Hide the Show/Hide value(s) button in the filters"
 
1725
  msgstr ""
1726
 
1727
- #: includes/paid.php:88
1728
- msgid "Thousands Separator"
1729
  msgstr ""
1730
 
1731
- #: includes/paid.php:112
1732
- msgid "Use links for checkboxes and radio filter"
1733
  msgstr ""
1734
 
1735
- #: includes/paid.php:119
1736
- msgid "Use noindex for links"
1737
  msgstr ""
1738
 
1739
- #: includes/paid.php:125 includes/paid.php:137
1740
- msgid "Second+ levels"
1741
  msgstr ""
1742
 
1743
- #: includes/paid.php:126 includes/paid.php:138
1744
- msgid "All levels"
1745
  msgstr ""
1746
 
1747
- #: includes/paid.php:131
1748
- msgid "Use nofollow for links"
1749
  msgstr ""
1750
 
1751
- #: includes/paid.php:149
1752
- msgid "Nice URLs"
1753
  msgstr ""
1754
 
1755
- #: includes/paid.php:154
1756
- msgid ""
1757
- "Works only with SEO friendly urls. WordPress permalinks must be set to Post "
1758
- "name(Custom structure: /%postname%/ )"
1759
  msgstr ""
1760
 
1761
- #: includes/paid.php:157
1762
- msgid "Base Canonical URL"
1763
  msgstr ""
1764
 
1765
- #: includes/paid.php:161
1766
- msgid "Use canonical tag without filters on WooCommerce pages"
1767
  msgstr ""
1768
 
1769
- #: includes/paid.php:165 includes/paid.php:1667
1770
- #: templates/paid/filters_search_box.php:34
1771
- msgid "Elements position"
1772
  msgstr ""
1773
 
1774
- #: includes/paid.php:167
1775
- msgid "Show the number of products before filtering"
1776
  msgstr ""
1777
 
1778
- #: includes/paid.php:173
1779
- msgid "Show products count before filtering, when using update button"
1780
  msgstr ""
1781
 
1782
- #: includes/paid.php:179
1783
- msgid "Text that means products"
1784
  msgstr ""
1785
 
1786
- #: includes/paid.php:185
1787
- msgid "Text for show button"
1788
  msgstr ""
1789
 
1790
- #: includes/paid.php:198
1791
- msgid "Data cache"
1792
  msgstr ""
1793
 
1794
- #: includes/paid.php:202
1795
- msgid "Turned off"
 
 
 
1796
  msgstr ""
1797
 
1798
- #: includes/paid.php:203
1799
- msgid "WordPress Cache"
1800
  msgstr ""
1801
 
1802
- #: includes/paid.php:204
1803
- msgid "Persistent Cache Plugins"
 
 
1804
  msgstr ""
1805
 
1806
- #: includes/paid.php:215
1807
- msgid "Display variation image"
 
 
1808
  msgstr ""
1809
 
1810
- #: includes/paid.php:219
1811
- msgid "Display variation image instead of product's when filtering"
1812
  msgstr ""
1813
 
1814
- #: includes/paid.php:222
1815
- msgid "Display variation price"
 
1816
  msgstr ""
1817
 
1818
- #: includes/paid.php:226
1819
- msgid "Display variation price instead of product's when filtering"
 
 
1820
  msgstr ""
1821
 
1822
- #: includes/paid.php:229
1823
- msgid "Remember variation options"
 
 
1824
  msgstr ""
1825
 
1826
- #: includes/paid.php:235
1827
- msgid "Use variation options only after search"
 
 
1828
  msgstr ""
1829
 
1830
- #: includes/paid.php:247
1831
- msgid "Slider has a lot of values"
 
 
 
1832
  msgstr ""
1833
 
1834
- #: includes/paid.php:251
1835
  msgid ""
1836
- "Enable it if slider has more than 250 values. Hierarchical taxonomy can work "
1837
- "incorrect with sliders"
1838
  msgstr ""
1839
 
1840
- #: includes/paid.php:261
1841
- msgid "Elements over products"
 
 
 
 
 
 
 
 
1842
  msgstr ""
1843
 
1844
- #: includes/paid.php:286
1845
- msgid "Add group"
 
 
1846
  msgstr ""
1847
 
1848
- #: includes/paid.php:386 templates/paid/filters_group.php:68
1849
- #: addons/custom_sidebar/sidebar_include.php:56
1850
- msgid "Collapse Button style"
1851
  msgstr ""
1852
 
1853
- #: includes/paid.php:406
1854
- msgid "Collapse Button Icon style"
 
 
1855
  msgstr ""
1856
 
1857
- #: includes/paid.php:479
1858
- msgid "Search Box"
1859
  msgstr ""
1860
 
1861
- #: includes/paid.php:490 includes/paid.php:1496
1862
- msgid "Ranges"
 
 
 
1863
  msgstr ""
1864
 
1865
- #: includes/paid.php:561
1866
- msgid "Hide \"Show/Hide value(s)\" button"
1867
  msgstr ""
1868
 
1869
- #: includes/paid.php:1576
1870
- msgid "Attributes"
 
 
1871
  msgstr ""
1872
 
1873
- #: includes/paid.php:1579 templates/paid/filters_search_box.php:9
1874
- msgid "URL to search"
 
 
1875
  msgstr ""
1876
 
1877
- #: includes/paid.php:1581 templates/paid/filters_search_box.php:11
1878
- msgid "Shop page"
 
 
1879
  msgstr ""
1880
 
1881
- #: includes/paid.php:1582 templates/paid/filters_search_box.php:12
1882
- msgid "Category page"
 
 
1883
  msgstr ""
1884
 
1885
- #: includes/paid.php:1583 templates/paid/filters_search_box.php:13
1886
- msgid "URL"
1887
  msgstr ""
1888
 
1889
- #: includes/paid.php:1587 templates/paid/filters_search_box.php:17
1890
- msgid "Category"
1891
  msgstr ""
1892
 
1893
- #: includes/paid.php:1597 templates/paid/filters_search_box.php:27
1894
- msgid "URL for search"
1895
  msgstr ""
1896
 
1897
- #: includes/paid.php:1601
1898
- msgid "Attributes count"
1899
  msgstr ""
1900
 
1901
- #: includes/paid.php:1664 templates/paid/filters_search_box.php:31
1902
- msgid "Styles"
1903
  msgstr ""
1904
 
1905
- #: includes/paid.php:1669 templates/paid/filters_search_box.php:36
1906
- msgid "Vertical"
1907
  msgstr ""
1908
 
1909
- #: includes/paid.php:1670 templates/paid/filters_search_box.php:37
1910
- msgid "Horizontal"
1911
  msgstr ""
1912
 
1913
- #: includes/paid.php:1674 templates/paid/filters_search_box.php:41
1914
- msgid "Search button position"
 
 
 
1915
  msgstr ""
1916
 
1917
- #: includes/paid.php:1678 templates/paid/filters_search_box.php:45
1918
- msgid "Before and after"
 
 
1919
  msgstr ""
1920
 
1921
- #: includes/paid.php:1682 templates/paid/filters_search_box.php:49
1922
- msgid "Search button text"
 
 
1923
  msgstr ""
1924
 
1925
- #: includes/paid.php:1686 templates/settings/design.php:705
1926
- #: templates/paid/filters_search_box.php:53
1927
- msgid "Background color"
1928
  msgstr ""
1929
 
1930
- #: includes/paid.php:1691 templates/paid/filters_search_box.php:58
1931
- msgid "Background transparency"
 
 
 
 
1932
  msgstr ""
1933
 
1934
- #: includes/paid.php:1695 templates/paid/filters_search_box.php:62
1935
- msgid "100%"
 
 
1936
  msgstr ""
1937
 
1938
- #: includes/paid.php:1696 templates/paid/filters_search_box.php:63
1939
- msgid "90%"
1940
  msgstr ""
1941
 
1942
- #: includes/paid.php:1697 templates/paid/filters_search_box.php:64
1943
- msgid "80%"
1944
  msgstr ""
1945
 
1946
- #: includes/paid.php:1698 templates/paid/filters_search_box.php:65
1947
- msgid "70%"
 
1948
  msgstr ""
1949
 
1950
- #: includes/paid.php:1699 templates/paid/filters_search_box.php:66
1951
- msgid "60%"
1952
  msgstr ""
1953
 
1954
- #: includes/paid.php:1700 templates/paid/filters_search_box.php:67
1955
- msgid "50%"
1956
  msgstr ""
1957
 
1958
- #: includes/paid.php:1701 templates/paid/filters_search_box.php:68
1959
- msgid "40%"
 
1960
  msgstr ""
1961
 
1962
- #: includes/paid.php:1702 templates/paid/filters_search_box.php:69
1963
- msgid "30%"
 
1964
  msgstr ""
1965
 
1966
- #: includes/paid.php:1703 templates/paid/filters_search_box.php:70
1967
- msgid "20%"
1968
  msgstr ""
1969
 
1970
- #: includes/paid.php:1704 templates/paid/filters_search_box.php:71
1971
- msgid "10%"
1972
  msgstr ""
1973
 
1974
- #: includes/paid.php:1705 templates/paid/filters_search_box.php:72
1975
- msgid "0%"
1976
  msgstr ""
1977
 
1978
- #: includes/paid.php:1716 templates/paid/filters_search_box.php:83
1979
- msgid "Button background color"
1980
  msgstr ""
1981
 
1982
- #: includes/paid.php:1721 templates/paid/filters_search_box.php:88
1983
- msgid "Button background color on mouse over"
1984
  msgstr ""
1985
 
1986
- #: includes/paid.php:1726 templates/paid/filters_search_box.php:93
1987
- msgid "Button text color"
 
 
1988
  msgstr ""
1989
 
1990
- #: includes/paid.php:1731 templates/paid/filters_search_box.php:98
1991
- msgid "Button text color on mouse over"
 
 
1992
  msgstr ""
1993
 
1994
- #: includes/paid.php:1744
1995
- msgid "Child/Parent Limitation"
1996
  msgstr ""
1997
 
1998
- #: includes/paid.php:1747
1999
- msgid "Child Count"
 
 
2000
  msgstr ""
2001
 
2002
- #: includes/paid.php:1748
2003
- msgid "Parent"
 
 
2004
  msgstr ""
2005
 
2006
- #: includes/paid.php:1749 includes/paid.php:1785
2007
- msgid "Child"
 
 
2008
  msgstr ""
2009
 
2010
- #: includes/paid.php:1753
2011
- msgid "Child depth"
 
 
2012
  msgstr ""
2013
 
2014
- #: includes/paid.php:1756 includes/paid.php:1795
2015
- msgid "\"No values\" messages"
2016
  msgstr ""
2017
 
2018
- #: includes/paid.php:1760 includes/paid.php:1799
2019
- msgid "\"Select previous\" messages"
2020
  msgstr ""
2021
 
2022
- #: includes/paid.php:1764
2023
- msgid "\"No Products\" messages"
2024
  msgstr ""
2025
 
2026
- #: includes/paid.php:1769
2027
- msgid "Child count"
2028
  msgstr ""
2029
 
2030
- #: includes/paid.php:1791
2031
- msgid "\"No products\" messages"
2032
  msgstr ""
2033
 
2034
- #: includes/paid.php:1812
2035
- msgid "Date Month Dropdown menu"
 
2036
  msgstr ""
2037
 
2038
- #: includes/paid.php:1818
2039
- msgid "Date Year Dropdown menu"
 
 
 
2040
  msgstr ""
2041
 
2042
- #: includes/paid.php:1822
2043
- msgid "Date visual style"
 
2044
  msgstr ""
2045
 
2046
- #: includes/paid.php:1863
2047
- msgid "Display only"
 
 
 
2048
  msgstr ""
2049
 
2050
- #: includes/paid.php:1864
2051
- msgid "Remove"
 
2052
  msgstr ""
2053
 
2054
- #: includes/paid.php:1866
2055
- msgid "values selected in Include / Exclude List"
 
 
 
2056
  msgstr ""
2057
 
2058
- #: includes/paid.php:1888
2059
- msgid "Use as numeric"
 
2060
  msgstr ""
2061
 
2062
- #: includes/paid.php:1901
2063
- msgid "Show product count per attribute value?"
 
 
 
2064
  msgstr ""
2065
 
2066
- #: includes/paid.php:1912
2067
- msgid "Values per row"
 
2068
  msgstr ""
2069
 
2070
- #: includes/paid.php:2049 includes/paid.php:2894
2071
- #: includes/widget_functions.php:189 includes/widget_functions.php:462
2072
- #: addons/deprecated_compat/widget.php:1756
2073
- #: addons/deprecated_compat/widget.php:2029
2074
- msgid "In stock"
2075
  msgstr ""
2076
 
2077
- #: includes/paid.php:2056 includes/paid.php:2895
2078
- #: includes/widget_functions.php:190 includes/widget_functions.php:463
2079
- #: addons/deprecated_compat/widget.php:1757
2080
- #: addons/deprecated_compat/widget.php:2030
2081
- msgid "Out of stock"
2082
  msgstr ""
2083
 
2084
- #: includes/paid.php:2076 includes/paid.php:2898
2085
- msgid "On sale"
2086
  msgstr ""
2087
 
2088
- #: includes/paid.php:2083 includes/paid.php:2899
2089
- msgid "Not on sale"
 
 
2090
  msgstr ""
2091
 
2092
- #: includes/paid.php:3051
2093
- msgid "Nice URLs settings"
 
 
2094
  msgstr ""
2095
 
2096
- #. Author of the plugin
2097
- #: includes/visual-composer.php:21 includes/visual-composer.php:47
2098
- msgid "BeRocket"
2099
  msgstr ""
2100
 
2101
- #: templates/settings/design.php:8 templates/settings/design.php:23
2102
- msgid "Select All"
 
2103
  msgstr ""
2104
 
2105
- #: templates/settings/design.php:11 templates/settings/design.php:26
2106
- #: templates/settings/design.php:148 templates/settings/design.php:778
2107
- msgid "Element"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2108
  msgstr ""
2109
 
2110
- #: templates/settings/design.php:13 templates/settings/design.php:28
2111
- msgid "Font Family"
2112
  msgstr ""
2113
 
2114
- #: templates/settings/design.php:14 templates/settings/design.php:29
2115
- msgid "Font-Weight"
2116
  msgstr ""
2117
 
2118
- #: templates/settings/design.php:14 templates/settings/design.php:29
2119
- msgid "(depends on font)"
2120
  msgstr ""
2121
 
2122
- #: templates/settings/design.php:15 templates/settings/design.php:30
2123
- msgid "Font-Size"
 
 
2124
  msgstr ""
2125
 
2126
- #: templates/settings/design.php:16 templates/settings/design.php:31
2127
- #: templates/settings/design.php:156
2128
- msgid "Theme"
2129
  msgstr ""
2130
 
2131
- #: templates/settings/design.php:35 templates/settings/design.php:626
2132
- #: templates/settings/design.php:695 templates/settings/design.php:768
2133
- #: templates/settings/design.php:873
2134
- msgid "Set all to theme default"
2135
  msgstr ""
2136
 
2137
- #: templates/settings/design.php:48
2138
- msgid "Select Element"
2139
  msgstr ""
2140
 
2141
- #: templates/settings/design.php:59 templates/settings/design.php:71
2142
- #: templates/settings/design.php:112 templates/settings/design.php:119
2143
- #: templates/settings/design.php:134
2144
- msgid "N/A"
2145
  msgstr ""
2146
 
2147
- #: templates/settings/design.php:65 templates/settings/design.php:80
2148
- #: templates/settings/design.php:117 templates/settings/design.php:168
2149
- #: templates/settings/design.php:171 templates/settings/design.php:174
2150
- #: templates/settings/design.php:424 templates/settings/design.php:427
2151
- #: templates/settings/design.php:430 templates/settings/design.php:661
2152
- #: templates/settings/design.php:669 templates/settings/design.php:672
2153
- #: templates/settings/design.php:685 templates/settings/design.php:688
2154
- #: templates/settings/design.php:730 templates/settings/design.php:738
2155
- #: templates/settings/design.php:751 templates/settings/design.php:796
2156
- #: templates/settings/design.php:799 templates/settings/design.php:802
2157
- #: templates/settings/design.php:823 templates/settings/design.php:826
2158
- #: templates/settings/design.php:829 templates/settings/design.php:850
2159
- #: templates/settings/design.php:853 templates/settings/design.php:856
2160
- msgid "Theme Default"
2161
  msgstr ""
2162
 
2163
- #: templates/settings/design.php:125
2164
- msgid "Without Theme"
2165
  msgstr ""
2166
 
2167
- #: templates/settings/design.php:146
2168
- msgid "Checkbox / Radio"
 
 
 
2169
  msgstr ""
2170
 
2171
- #: templates/settings/design.php:149 templates/settings/design.php:706
2172
- #: templates/settings/design.php:779
 
2173
  msgid "Border color"
2174
  msgstr ""
2175
 
2176
- #: templates/settings/design.php:150 templates/settings/design.php:780
 
2177
  msgid "Border width"
2178
  msgstr ""
2179
 
2180
- #: templates/settings/design.php:151 templates/settings/design.php:781
 
2181
  msgid "Border radius"
2182
  msgstr ""
2183
 
2184
- #: templates/settings/design.php:152 templates/settings/design.php:782
 
2185
  msgid "Size"
2186
  msgstr ""
2187
 
2188
- #: templates/settings/design.php:153 templates/settings/design.php:708
2189
- #: templates/settings/design.php:783
 
2190
  msgid "Font color"
2191
  msgstr ""
2192
 
2193
- #: templates/settings/design.php:154 templates/settings/design.php:784
 
2194
  msgid "Background"
2195
  msgstr ""
2196
 
2197
- #: templates/settings/design.php:155
2198
- msgid "Icon"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2199
  msgstr ""
2200
 
2201
- #: templates/settings/design.php:636
2202
- msgid "Line color"
2203
  msgstr ""
2204
 
2205
- #: templates/settings/design.php:637
2206
- msgid "Back line color"
 
 
 
 
2207
  msgstr ""
2208
 
2209
- #: templates/settings/design.php:638
2210
- msgid "Line height"
2211
  msgstr ""
2212
 
2213
- #: templates/settings/design.php:639
2214
- msgid "Line border color"
2215
  msgstr ""
2216
 
2217
- #: templates/settings/design.php:640
2218
- msgid "Line border width"
2219
  msgstr ""
2220
 
2221
- #: templates/settings/design.php:641
2222
- msgid "Button size"
2223
  msgstr ""
2224
 
2225
- #: templates/settings/design.php:642
2226
- msgid "Button color"
2227
  msgstr ""
2228
 
2229
- #: templates/settings/design.php:643
2230
- msgid "Button border color"
2231
  msgstr ""
2232
 
2233
- #: templates/settings/design.php:644
2234
- msgid "Button border width"
2235
  msgstr ""
2236
 
2237
- #: templates/settings/design.php:645
2238
- msgid "Button border radius"
2239
  msgstr ""
2240
 
2241
- #: templates/settings/design.php:703
2242
- msgid "Product count description before filtering with Apply Filters button"
2243
  msgstr ""
2244
 
2245
- #: templates/settings/design.php:707
2246
- msgid "Font size"
2247
  msgstr ""
2248
 
2249
- #: templates/settings/design.php:709
2250
- msgid "Show button font size"
2251
  msgstr ""
2252
 
2253
- #: templates/settings/design.php:710
2254
- msgid "Show button font color"
2255
  msgstr ""
2256
 
2257
- #: templates/settings/design.php:711
2258
- msgid "Show button font color on mouse over"
2259
  msgstr ""
2260
 
2261
- #: templates/settings/design.php:712
2262
- msgid "Close button size"
2263
  msgstr ""
2264
 
2265
- #: templates/settings/design.php:713
2266
- msgid "Close button font color"
2267
  msgstr ""
2268
 
2269
- #: templates/settings/design.php:714
2270
- msgid "Close button font color on mouse over"
2271
  msgstr ""
2272
 
2273
- #: templates/settings/design.php:776
2274
- msgid "Show title only Styles"
 
2275
  msgstr ""
2276
 
2277
- #: templates/settings/design.php:816
2278
- msgid "Title opened"
2279
  msgstr ""
2280
 
2281
- #: templates/settings/design.php:881
2282
- msgid "Loading icon"
2283
  msgstr ""
2284
 
2285
- #: templates/settings/design.php:889
2286
- msgid "Loading icon text"
2287
  msgstr ""
2288
 
2289
- #: templates/settings/design.php:891
2290
- msgid "Above:"
2291
  msgstr ""
2292
 
2293
- #: templates/settings/design.php:894
2294
- msgid "Below:"
2295
  msgstr ""
2296
 
2297
- #: templates/settings/design.php:897
2298
- msgid "Before:"
2299
  msgstr ""
2300
 
2301
- #: templates/settings/design.php:900
2302
- msgid "After:"
2303
  msgstr ""
2304
 
2305
- #: templates/settings/design.php:906
2306
- msgid "Show and hide description"
2307
  msgstr ""
2308
 
2309
- #: templates/settings/design.php:908
2310
- msgid "Show when user:"
2311
  msgstr ""
2312
 
2313
- #: templates/settings/design.php:910
2314
- msgid "Click"
2315
  msgstr ""
2316
 
2317
- #: templates/settings/design.php:911
2318
- msgid "Hovering over the icon"
2319
  msgstr ""
2320
 
2321
- #: templates/settings/design.php:915
2322
- msgid "Hide when user:"
2323
  msgstr ""
2324
 
2325
- #: templates/settings/design.php:917
2326
- msgid "Click anywhere"
2327
  msgstr ""
2328
 
2329
- #: templates/settings/design.php:918
2330
- msgid "Move cursor outside the icon"
2331
  msgstr ""
2332
 
2333
- #: templates/settings/design.php:925
2334
- msgid "Product quantity style"
 
2335
  msgstr ""
2336
 
2337
- #: templates/settings/design.php:928
2338
- msgid "4"
2339
  msgstr ""
2340
 
2341
- #: templates/settings/design.php:929
2342
- msgid "(4)"
2343
  msgstr ""
2344
 
2345
- #: templates/settings/design.php:930
2346
- msgid "[4]"
2347
  msgstr ""
2348
 
2349
- #: templates/settings/design.php:934
2350
- msgid "Position:"
2351
  msgstr ""
2352
 
2353
- #: templates/settings/design.php:936 templates/settings/design.php:944
2354
- msgid "Normal"
2355
  msgstr ""
2356
 
2357
- #: templates/settings/design.php:937 templates/settings/design.php:945
2358
- msgid "Right"
2359
  msgstr ""
2360
 
2361
- #: templates/settings/design.php:938
2362
- msgid "Right from name"
2363
  msgstr ""
2364
 
2365
- #: templates/settings/design.php:942
2366
- msgid "Position on Image:"
2367
  msgstr ""
2368
 
2369
- #: templates/settings/design.php:952
2370
- msgid "Indent option for hierarchy in Drop-Down"
2371
  msgstr ""
2372
 
2373
- #: templates/settings/design.php:955
2374
- msgid "-"
2375
  msgstr ""
2376
 
2377
- #: templates/settings/design.php:956
2378
- msgid "space"
2379
  msgstr ""
2380
 
2381
- #: templates/settings/design.php:957
2382
- msgid "2 spaces"
2383
  msgstr ""
2384
 
2385
- #: templates/settings/design.php:958
2386
- msgid "tab"
2387
  msgstr ""
2388
 
2389
- #: templates/paid/filters_group.php:3
2390
- msgid "Show filters above products"
2391
  msgstr ""
2392
 
2393
- #: templates/paid/filters_group.php:20
2394
- msgid "Display filters in line"
2395
  msgstr ""
2396
 
2397
- #: templates/paid/filters_group.php:26
2398
- msgid "Display filters in line max count"
2399
  msgstr ""
2400
 
2401
- #: templates/paid/filters_group.php:41
2402
- msgid "Min Width for Filter"
2403
  msgstr ""
2404
 
2405
- #: templates/paid/filters_group.php:47
2406
- msgid "Show title only"
2407
  msgstr ""
2408
 
2409
- #: templates/paid/filters_group.php:50
2410
- msgid ""
2411
- "Only title will be visible. Filter will be displayed after click on title "
2412
- "and hide after click everywhere else"
2413
  msgstr ""
2414
 
2415
- #: templates/paid/filters_group.php:54
2416
- msgid "Display filters on mouse over"
2417
  msgstr ""
2418
 
2419
- #: templates/paid/filters_group.php:57
2420
- msgid "Display on mouse over and hide on mouse leave"
2421
  msgstr ""
2422
 
2423
- #: templates/paid/filters_group.php:61
2424
- msgid "Collapsed on page load"
2425
  msgstr ""
2426
 
2427
- #: templates/paid/filters_group.php:64
2428
- msgid ""
2429
- "Collapse group on page load and show icon instead. When icon is clicked "
2430
- "filters will be shown"
2431
  msgstr ""
2432
 
2433
- #: templates/paid/filters_search_box.php:4
2434
- msgid "Use Group as Search Box"
2435
  msgstr ""
2436
 
2437
- #: addons/filtering_conditions/filtering_conditions.php:9
2438
- #: addons/filtering_conditions/add_conditions.php:39
2439
- msgid "Nested Filters (BETA)"
2440
  msgstr ""
2441
 
2442
- #: addons/filtering_conditions/filtering_conditions.php:10
2443
- msgid ""
2444
- "The ability to set conditions for the filters based on other filters status"
2445
  msgstr ""
2446
 
2447
- #: addons/filtering_conditions/add_conditions.php:47
2448
- msgid ""
2449
- "Use this to display products only after filtering by some attribute and value"
2450
  msgstr ""
2451
 
2452
- #: addons/custom_sidebar/custom_sidebar.php:9
2453
- msgid "Custom Sidebar"
2454
  msgstr ""
2455
 
2456
- #: addons/custom_sidebar/sidebar_include.php:52
2457
- msgid "Custom Sidebar Styles"
 
2458
  msgstr ""
2459
 
2460
- #: addons/custom_sidebar/sidebar_include.php:65
2461
- msgid "First"
2462
  msgstr ""
2463
 
2464
- #: addons/custom_sidebar/sidebar_include.php:66
2465
- msgid "Second"
2466
  msgstr ""
2467
 
2468
- #: addons/custom_sidebar/sidebar_include.php:67
2469
- msgid "Third"
2470
  msgstr ""
2471
 
2472
- #: addons/custom_sidebar/sidebar_include.php:68
2473
- msgid "Fourth"
2474
  msgstr ""
2475
 
2476
- #: addons/custom_sidebar/sidebar_include.php:69
2477
- msgid "Fifth"
2478
  msgstr ""
2479
 
2480
- #: addons/custom_sidebar/sidebar_include.php:70
2481
- msgid "Sixth"
2482
  msgstr ""
2483
 
2484
- #: addons/custom_sidebar/sidebar_include.php:90
2485
- msgid "BeRocket AJAX Filters"
2486
  msgstr ""
2487
 
2488
- #: addons/custom_sidebar/sidebar_include.php:92
2489
- msgid "Sidebar for BeRocket AJAX Filters"
2490
  msgstr ""
2491
 
2492
- #: addons/custom_sidebar/sidebar_include.php:103
2493
- msgid "Close &#10005;"
2494
  msgstr ""
2495
 
2496
- #: addons/divi_theme_compat/divi_theme_compat.php:21
2497
- msgid "DIVI Theme Compatibility"
2498
  msgstr ""
2499
 
2500
- #: addons/divi_theme_compat/divi_theme_compat.php:23
2501
  msgid ""
2502
- "Replace DIVI products module with custom products module, that has "
2503
- "additional option. Provide better compatibility with filters"
2504
  msgstr ""
2505
 
2506
- #: addons/deprecated_compat/deprecated_compat.php:9
2507
- msgid "Deprecated Widget"
 
 
 
 
 
 
2508
  msgstr ""
2509
 
2510
- #: addons/deprecated_compat/deprecated_compat.php:11
2511
  msgid ""
2512
- "<span style=\"color: red;\">DO NOT USE<br>IT WILL BE REMOVED IN THE "
2513
- "FUTURE</span><br>Uses for compatibility with old filters"
2514
  msgstr ""
2515
 
2516
- #: addons/deprecated_compat/widget.php:124
2517
- #: includes/filters/display_widget.php:123
2518
- msgid "Add Filters to Products page"
2519
  msgstr ""
2520
 
2521
- #: addons/deprecated_compat/widget.php:130
2522
- #: includes/filters/display_widget.php:129
2523
- msgid "AJAX Product Filters (Deprecated)"
2524
  msgstr ""
2525
 
2526
- #: addons/deprecated_compat/widget.php:550
2527
- #: includes/filters/display_widget.php:445
2528
- msgid "1 star"
2529
  msgstr ""
2530
 
2531
- #: addons/deprecated_compat/widget.php:550
2532
- #: includes/filters/display_widget.php:445
2533
- msgid ""
2534
- "<i class=\"fa fa-star\"></i><i class=\"fa fa-star-o\"></i><i class=\"fa fa-"
2535
- "star-o\"></i><i class=\"fa fa-star-o\"></i><i class=\"fa fa-star-o\"></i>"
2536
  msgstr ""
2537
 
2538
- #: addons/deprecated_compat/widget.php:553
2539
- #: includes/filters/display_widget.php:446
2540
- msgid "2 stars"
2541
  msgstr ""
2542
 
2543
- #: addons/deprecated_compat/widget.php:553
2544
- #: includes/filters/display_widget.php:446
2545
- msgid ""
2546
- "<i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-"
2547
- "star-o\"></i><i class=\"fa fa-star-o\"></i><i class=\"fa fa-star-o\"></i>"
2548
  msgstr ""
2549
 
2550
- #: addons/deprecated_compat/widget.php:556
2551
- #: includes/filters/display_widget.php:447
2552
- msgid "3 stars"
2553
  msgstr ""
2554
 
2555
- #: addons/deprecated_compat/widget.php:556
2556
- #: includes/filters/display_widget.php:447
2557
- msgid ""
2558
- "<i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-"
2559
- "star\"></i><i class=\"fa fa-star-o\"></i><i class=\"fa fa-star-o\"></i>"
2560
  msgstr ""
2561
 
2562
- #: addons/deprecated_compat/widget.php:559
2563
- #: includes/filters/display_widget.php:448
2564
- msgid "4 stars"
2565
  msgstr ""
2566
 
2567
- #: addons/deprecated_compat/widget.php:559
2568
- #: includes/filters/display_widget.php:448
2569
- msgid ""
2570
- "<i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-"
2571
- "star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-star-o\"></i>"
2572
  msgstr ""
2573
 
2574
- #: addons/deprecated_compat/widget.php:562
2575
- #: includes/filters/display_widget.php:449
2576
- msgid "5 stars"
2577
  msgstr ""
2578
 
2579
- #: addons/deprecated_compat/widget.php:562
2580
- #: includes/filters/display_widget.php:449
2581
- msgid ""
2582
- "<i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-"
2583
- "star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i>"
 
2584
  msgstr ""
2585
 
2586
- #: addons/separate_link/separate_vars.php:27
2587
- msgid "Default operator for URLs"
2588
  msgstr ""
2589
 
2590
- #: addons/separate_link/separate_vars.php:31
2591
- msgid "OR"
2592
  msgstr ""
2593
 
2594
- #: addons/separate_link/separate_vars.php:32
2595
- msgid "AND"
2596
  msgstr ""
2597
 
2598
- #: addons/separate_link/separate_vars.php:35
2599
- msgid "Default operator will not be added to the URL"
2600
  msgstr ""
2601
 
2602
- #: addons/separate_link/separate_link.php:9
2603
- msgid "Link like WooCommerce (BETA)"
2604
  msgstr ""
2605
 
2606
- #: addons/separate_link/separate_link.php:10
2607
- msgid ""
2608
- "Links after filtering will look like Woocommerce.<br>\n"
2609
- " <i>Example:</i><br><span style=\"color: #aaf;\">https://example."
2610
- "com/shop/?pa-color=bronze,green&pa-product_cat_operator=or&pa-"
2611
- "product_cat=dress</span>\n"
2612
- " <a class=\"button\" href=\"https://docs.berocket."
2613
- "com/docs_section/link-like-woocommerce-beta\" target=\"_blank\">Read more</a>"
2614
  msgstr ""
2615
 
2616
- #: addons/additional_tables/additional_tables.php:59
2617
- msgid "Additional Tables (BETA)"
2618
  msgstr ""
2619
 
2620
- #: addons/additional_tables/additional_tables.php:60
2621
- msgid ""
2622
- "Create 4 additional tables.<ul><li>Table to speed up hierarchical taxonomies "
2623
- "recount: <strong>Product categories</strong>, <strong>Brands</strong> "
2624
- "etc</li><li>3 tables to speed up functions for variation filtering</li></ul>"
2625
  msgstr ""
2626
 
2627
- #: addons/additional_tables/additional_tables.php:106
2628
- msgid ""
2629
- "Additional tables was succesfully generated. They will be used automatically "
2630
- "when needed."
2631
  msgstr ""
2632
 
2633
- #: addons/additional_tables/additional_tables.php:134
2634
- #, php-format
2635
- msgid ""
2636
- "Additional tables are generating. They will be used after generation is "
2637
- "completed. Current status is <strong><span "
2638
- "class=\"braapf_additional_table_status\">%d</span>%s</strong>"
2639
  msgstr ""
2640
 
2641
- #: includes/addons/seo_meta_title.php:14 includes/addons/seo_meta_title.php:19
2642
- #: includes/addons/seo_meta_title.php:53 includes/addons/seo_meta_title.php:63
2643
- #: includes/addons/seo_meta_title.php:85
2644
- msgid " and "
2645
  msgstr ""
2646
 
2647
- #: includes/addons/seo_meta_title.php:15 includes/addons/seo_meta_title.php:54
2648
- #: includes/addons/seo_meta_title.php:86
2649
- msgid " or "
2650
  msgstr ""
2651
 
2652
- #: includes/addons/seo_meta_title.php:22 includes/addons/seo_meta_title.php:69
2653
- msgid " with "
2654
  msgstr ""
2655
 
2656
- #: includes/addons/seo_meta_title.php:90
2657
- msgid " / "
2658
  msgstr ""
2659
 
2660
- #: includes/addons/seo_meta_title.php:93
2661
- msgid " - "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2662
  msgstr ""
2663
 
2664
  #. Description of the plugin
3
  msgstr ""
4
  "Project-Id-Version: WooCommerce AJAX Products Filter\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2020-06-03 07:46+0000\n"
7
  "POT-Revision-Date: Wed Jun 29 2016 09:22:13 GMT+0300 (EEST)\n"
8
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
9
  "Last-Translator: \n"
24
  "X-Generator: Loco https://localise.biz/"
25
 
26
  #. Name of the plugin
27
+ #: main.php:67
28
  msgid "WooCommerce AJAX Products Filter"
29
  msgstr ""
30
 
31
+ #: main.php:68
32
  msgid "Product Filters"
33
  msgstr ""
34
 
35
+ #: main.php:347
 
 
 
 
36
  msgid ""
37
  "<strong>Please update all BeRocket plugins to the most recent version. "
38
  "WooCommerce AJAX Products Filter is not working correctly with older "
39
  "versions.</strong>"
40
  msgstr ""
41
 
42
+ #: main.php:388 includes/paid.php:1762
43
+ #: addons/deprecated_filters/settings/design.php:161
44
+ msgid "Checkbox"
45
+ msgstr ""
46
+
47
+ #: main.php:389 includes/paid.php:1763
48
+ #: addons/deprecated_filters/settings/design.php:417
49
+ msgid "Radio"
50
+ msgstr ""
51
+
52
+ #: main.php:390 includes/paid.php:1761
53
+ msgid "Select"
54
+ msgstr ""
55
+
56
+ #: main.php:391 includes/paid.php:1764
57
+ #: templates/single_filter/single_settings_elements.php:713
58
+ #: addons/deprecated_filters/settings/design.php:12
59
+ #: addons/deprecated_filters/settings/design.php:27
60
+ msgid "Color"
61
+ msgstr ""
62
+
63
+ #: main.php:392 includes/paid.php:197 includes/paid.php:1765
64
+ #: templates/single_filter/single_settings_elements.php:714
65
+ msgid "Image"
66
+ msgstr ""
67
+
68
+ #: main.php:393 addons/deprecated_filters/settings/design.php:634
69
+ msgid "Slider"
70
+ msgstr ""
71
+
72
+ #: main.php:394
73
+ msgid "Tag cloud"
74
+ msgstr ""
75
+
76
+ #: main.php:606
77
  msgid "General"
78
  msgstr ""
79
 
80
+ #: main.php:610
81
  msgid "Elements"
82
  msgstr ""
83
 
84
+ #: main.php:614
85
  msgid "Selectors"
86
  msgstr ""
87
 
88
+ #: main.php:618
89
  msgid "SEO"
90
  msgstr ""
91
 
92
+ #: main.php:622 templates/single_filter/all_steps.php:51
93
  msgid "Advanced"
94
  msgstr ""
95
 
96
+ #: main.php:626
97
  msgid "Design"
98
  msgstr ""
99
 
100
+ #: main.php:630
101
  msgid "JavaScript/CSS"
102
  msgstr ""
103
 
104
+ #: main.php:635 includes/custom_post.php:762
105
  msgid "Filters"
106
  msgstr ""
107
 
108
+ #: main.php:640
109
  msgid "License"
110
  msgstr ""
111
 
112
+ #: main.php:644
113
  msgid "Add-ons"
114
  msgstr ""
115
 
116
+ #: main.php:654
 
 
 
 
117
  msgid "Products Per Page"
118
  msgstr ""
119
 
120
+ #: main.php:660
121
  msgid "Number of Attribute Values"
122
  msgstr ""
123
 
124
+ #: main.php:664
125
  msgid ""
126
  "Attribute Values count that will be displayed. Other values will be hidden "
127
  "and can be displayed by pressing the button. Option <strong>Hide the "
128
  "Show/Hide value(s) button in the filters</strong> must be disabled"
129
  msgstr ""
130
 
131
+ #: main.php:667
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
132
  msgid "Scroll to the top"
133
  msgstr ""
134
 
135
+ #: main.php:670 main.php:731
136
  msgid "Selected filters position"
137
  msgstr ""
138
 
139
+ #: main.php:675 addons/deprecated_filters/filter_post.php:676
140
+ #: includes/compatibility/beaver-builder.php:21
141
+ #: includes/compatibility/divi-theme-builder.php:37
142
+ #: includes/compatibility/elementor-pro.php:20
143
  msgid "Disable"
144
  msgstr ""
145
 
146
+ #: main.php:676
147
  msgid "Mobile and Desktop"
148
  msgstr ""
149
 
150
+ #: main.php:677 includes/custom_post.php:394 includes/custom_post.php:728
151
  msgid "Mobile"
152
  msgstr ""
153
 
154
+ #: main.php:678 includes/custom_post.php:402 includes/custom_post.php:736
155
  msgid "Desktop"
156
  msgstr ""
157
 
158
+ #: main.php:687
159
  msgid "px from products top."
160
  msgstr ""
161
 
162
+ #: main.php:687
163
  msgid "Use this to fix top scroll."
164
  msgstr ""
165
 
166
+ #: main.php:692
167
  msgid "Values count and output"
168
  msgstr ""
169
 
170
+ #: main.php:696 main.php:1139
171
  msgid "All non-empty values are shown and use basic counting"
172
  msgstr ""
173
 
174
+ #: main.php:697 main.php:1141
175
  msgid "Remove empty values based on page(category/tag/etc)"
176
  msgstr ""
177
 
178
+ #: main.php:698 main.php:1143
179
  msgid ""
180
  "All non-empty values are shown and filters are considered while counting "
181
  "attribute values"
182
  msgstr ""
183
 
184
+ #: main.php:699 main.php:1145
185
  msgid ""
186
  "Remove empty values based on page(category/tag/etc). Filters are considered "
187
  "while counting attribute values and empty values based on filters are hidden"
188
  msgstr ""
189
 
190
+ #: main.php:700 main.php:1147
191
  msgid ""
192
  "Filters are considered while counting attribute values. Empty values are "
193
  "removed server side"
194
  msgstr ""
195
 
196
+ #: main.php:706 main.php:1144
 
 
 
 
197
  msgid "Hide values"
198
  msgstr ""
199
 
200
+ #: main.php:712
201
  msgid "Hide values without products"
202
  msgstr ""
203
 
204
+ #: main.php:718
205
  msgid "Hide selected values"
206
  msgstr ""
207
 
208
+ #: main.php:724
209
  msgid "Hide blank widgets"
210
  msgstr ""
211
 
212
+ #: main.php:735
 
 
 
 
 
 
 
 
 
 
 
 
 
 
213
  msgid "WooCommerce Description(in header)"
214
  msgstr ""
215
 
216
+ #: main.php:736
217
  msgid "WooCommerce Before Shop Loop"
218
  msgstr ""
219
 
220
+ #: main.php:737
221
  msgid "WooCommerce After Shop Loop"
222
  msgstr ""
223
 
224
+ #: main.php:742
225
  msgid "Display Selected Filters"
226
  msgstr ""
227
 
228
+ #: main.php:749
229
  msgid "Show selected filters above products"
230
  msgstr ""
231
 
232
+ #: main.php:756
233
  msgid ""
234
  "Hide selected filters area if nothing selected(affect only area above "
235
  "products)"
236
  msgstr ""
237
 
238
+ #: main.php:763
239
+ msgid "Disable AJAX loading"
240
+ msgstr ""
241
+
242
+ #: main.php:775
243
  msgid "Products Selector"
244
  msgstr ""
245
 
246
+ #: main.php:781 main.php:823
247
  msgid ""
248
  "Selector for tag that is holding products. Don't change this if you don't "
249
  "know what it is"
250
  msgstr ""
251
 
252
+ #: main.php:784
253
  msgid "Products Quantity Selector"
254
  msgstr ""
255
 
256
+ #: main.php:791
257
  msgid ""
258
  "Selector for tag with product result count(\"Showing 1–8 of 61 results\"). "
259
  "Don't change this if you don't know what it is"
260
  msgstr ""
261
 
262
+ #: main.php:797
 
 
 
 
263
  msgid "Products Sorting Selector"
264
  msgstr ""
265
 
266
+ #: main.php:803
267
  msgid ""
268
  "Selector for order by form with drop down menu. Don't change this if you "
269
  "don't know what it is"
270
  msgstr ""
271
 
272
+ #: main.php:806
273
+ msgid "Sorting drop-down control"
274
  msgstr ""
275
 
276
+ #: main.php:810
277
+ msgid "Take control over WooCommerce's sorting selectbox?"
278
  msgstr ""
279
 
280
+ #: main.php:816
281
+ msgid "Products Pagination Selector"
 
 
282
  msgstr ""
283
 
284
+ #: main.php:829
285
  msgid "Disable AJAX Pagination"
286
  msgstr ""
287
 
288
+ #: main.php:837
289
  msgid "Refresh URL when filtering"
290
  msgstr ""
291
 
292
+ #: main.php:842
293
  msgid ""
294
  "If this option is on URL will be changed when filter is selected/changed"
295
  msgstr ""
296
 
297
+ #: main.php:845
298
  msgid "Use slug in URL"
299
  msgstr ""
300
 
301
+ #: main.php:850
302
  msgid "Use attribute slug instead ID"
303
  msgstr ""
304
 
305
+ #: main.php:853
306
  msgid "URL decoding"
307
  msgstr ""
308
 
309
+ #: main.php:858
310
  msgid "Decode all symbols in URL to prevent errors on server side"
311
  msgstr ""
312
 
313
+ #: main.php:861
314
  msgid "SEO Meta, Title"
315
  msgstr ""
316
 
317
+ #: main.php:866
318
  msgid "Meta Description, Page title and Page Header with filters"
319
  msgstr ""
320
 
321
+ #: main.php:869
322
  msgid "SEO Elements"
323
  msgstr ""
324
 
325
+ #: main.php:876 includes/paid.php:1730 includes/paid.php:1900
326
+ #: includes/paid.php:3841 templates/filters_group_simple.php:2
327
+ #: templates/filter_post_simple.php:11 templates/settings/design.php:19
328
  msgid "Title"
329
  msgstr ""
330
 
331
+ #: main.php:882
332
  msgid "Header"
333
  msgstr ""
334
 
335
+ #: main.php:888 addons/deprecated_filters/filter_post.php:545
336
+ #: templates/single_filter/single_settings_elements.php:361
337
  msgid "Description"
338
  msgstr ""
339
 
340
+ #: main.php:893
341
  msgid "SEO elements structure"
342
  msgstr ""
343
 
344
+ #: main.php:898
345
  msgid "{title} with [attribute] [values] and [attribute] [values]"
346
  msgstr ""
347
 
348
+ #: main.php:899
349
  msgid "{title} [attribute]:[values];[attribute]:[values]"
350
  msgstr ""
351
 
352
+ #: main.php:900
353
  msgid ""
354
  "[attribute 1 values] {title} with [attribute] [values] and [attribute] "
355
  "[values]"
356
  msgstr ""
357
 
358
+ #: main.php:901
359
  msgid "{title} - [values] / [values]"
360
  msgstr ""
361
 
362
+ #: main.php:908
 
 
 
 
 
 
 
 
363
  msgid "Display products"
364
  msgstr ""
365
 
366
+ #: main.php:912
367
  msgid ""
368
  "Display always products when filters selected. Use this when you have "
369
  "categories and subcategories on shop pages, but you want to display products "
370
  "on filtering"
371
  msgstr ""
372
 
373
+ #: main.php:915
374
  msgid "Use Tax options in price filters"
375
  msgstr ""
376
 
377
+ #: main.php:916
378
  msgid "Only Standard tax rates will be applied for prices"
379
  msgstr ""
380
 
381
+ #: main.php:920
382
  msgid "Do not use (filter price as it is set in products)"
383
  msgstr ""
384
 
385
+ #: main.php:921
386
  msgid "Use tax options"
387
  msgstr ""
388
 
389
+ #: main.php:926
390
  msgid "Page same as filter"
391
  msgstr ""
392
 
393
+ #: main.php:930 includes/paid.php:1859
394
+ #: addons/deprecated_filters/filter_post.php:214
395
+ #: addons/deprecated_filters/filter_post.php:402
396
+ #: addons/deprecated_filters/filter_post.php:509
397
+ #: includes/compatibility/beaver-builder.php:19
398
+ #: includes/compatibility/divi-theme-builder.php:35
399
+ #: includes/compatibility/elementor-pro.php:18
400
+ #: templates/paid/filters_group.php:29 templates/settings/design.php:23
401
+ #: templates/settings/design.php:37 templates/settings/design.php:42
402
+ #: templates/settings/design.php:50 templates/settings/design.php:64
403
+ #: templates/settings/design.php:69 templates/settings/design.php:77
404
+ #: templates/settings/design.php:91 templates/settings/design.php:96
405
+ #: templates/single_filter/single_settings_elements.php:109
406
+ #: templates/single_filter/single_settings_elements.php:337
407
+ #: templates/single_filter/single_settings_elements.php:499
408
+ #: addons/deprecated_filters/settings/design.php:57
409
+ #: addons/deprecated_filters/settings/design.php:165
410
+ #: addons/deprecated_filters/settings/design.php:179
411
+ #: addons/deprecated_filters/settings/design.php:184
412
+ #: addons/deprecated_filters/settings/design.php:421
413
+ #: addons/deprecated_filters/settings/design.php:435
414
+ #: addons/deprecated_filters/settings/design.php:440
415
+ #: addons/deprecated_filters/settings/design.php:653
416
+ #: addons/deprecated_filters/settings/design.php:658
417
+ #: addons/deprecated_filters/settings/design.php:666
418
+ #: addons/deprecated_filters/settings/design.php:677
419
+ #: addons/deprecated_filters/settings/design.php:682
420
+ #: addons/deprecated_filters/settings/design.php:722
421
+ #: addons/deprecated_filters/settings/design.php:727
422
+ #: addons/deprecated_filters/settings/design.php:735
423
+ #: addons/deprecated_filters/settings/design.php:743
424
+ #: addons/deprecated_filters/settings/design.php:748
425
+ #: addons/deprecated_filters/settings/design.php:756
426
+ #: addons/deprecated_filters/settings/design.php:761
427
  msgid "Default"
428
  msgstr ""
429
 
430
+ #: main.php:931
431
  msgid "Remove value"
432
  msgstr ""
433
 
434
+ #: main.php:932
435
  msgid "Leave only one value"
436
  msgstr ""
437
 
438
+ #: main.php:935
439
  msgid ""
440
  "On Category, Tag, Attribute page filter for it will remove value or leave "
441
  "only one value"
442
  msgstr ""
443
 
444
+ #: main.php:939
445
  msgid "Variable Products and Variations options"
446
  msgstr ""
447
 
448
+ #: main.php:942
449
  msgid "Hide variations that are out of stock"
450
  msgstr ""
451
 
452
+ #: main.php:949 includes/paid.php:99 includes/paid.php:111
453
+ #: includes/paid.php:1975 includes/paid.php:3569 includes/paid.php:3803
454
+ #: templates/single_filter/single_settings_elements.php:273
455
+ #: templates/single_filter/single_settings_elements.php:286
456
+ #: templates/single_filter/single_settings_elements.php:451
457
  msgid "Disabled"
458
  msgstr ""
459
 
460
+ #: main.php:950
461
  msgid "Enabled"
462
  msgstr ""
463
 
464
+ #: main.php:951
465
  msgid "Enabled only with selected \"Out of stock\" filter"
466
  msgstr ""
467
 
468
+ #: main.php:955
469
  msgid "Hide variable products if variations with selected filters out of stock"
470
  msgstr ""
471
 
472
+ #: main.php:962
473
+ msgid "Use it for attributes values to display more correct count"
 
 
474
  msgstr ""
475
 
476
+ #: main.php:969
477
  msgid ""
478
  "Fix WPEngine query issue (Also can work with other hostings if they limit "
479
  "query size)"
480
  msgstr ""
481
 
482
+ #: main.php:975
483
  msgid "Incompatibility Fixes"
484
  msgstr ""
485
 
486
+ #: main.php:978
 
 
 
 
 
 
 
 
487
  msgid "Display styles only for pages with filters"
488
  msgstr ""
489
 
490
+ #: main.php:982
491
  msgid "On some sites it can cause some visual problem on page loads"
492
  msgstr ""
493
 
494
+ #: main.php:985
 
 
 
 
 
 
 
 
495
  msgid "Fix for sites with AJAX"
496
  msgstr ""
497
 
498
+ #: main.php:989
499
  msgid "Add JavaScript files to all pages."
500
  msgstr ""
501
 
502
+ #: main.php:992
503
  msgid "Fix for search page"
504
  msgstr ""
505
 
506
+ #: main.php:996
507
  msgid "Disable redirection, when search page return only one product"
508
  msgstr ""
509
 
510
+ #: main.php:999
511
+ msgid "Select2 CSS"
 
 
 
 
512
  msgstr ""
513
 
514
+ #: main.php:1004
515
+ msgid ""
516
+ "Fixed CSS styles for Select2 (do not enable if Select2 work correct. Option "
517
+ "can break Select2 in other plugins or themes)"
518
  msgstr ""
519
 
520
+ #: main.php:1008
521
+ msgid "Tools"
522
  msgstr ""
523
 
524
+ #: main.php:1011
525
+ msgid "Turn off all filters"
526
  msgstr ""
527
 
528
+ #: main.php:1015
529
  msgid ""
530
+ "If you want to hide filters without losing current configuration just turn "
531
+ "them off"
 
 
 
 
 
532
  msgstr ""
533
 
534
+ #: main.php:1028
535
+ msgid "Filters Description"
536
  msgstr ""
537
 
538
+ #: main.php:1034 main.php:1057 includes/paid.php:250
539
+ msgid "Light"
540
  msgstr ""
541
 
542
+ #: main.php:1035 main.php:1058 includes/paid.php:251
543
+ msgid "Dark"
544
  msgstr ""
545
 
546
+ #: main.php:1036 main.php:1059 includes/paid.php:252
547
+ msgid "Translucent"
548
  msgstr ""
549
 
550
+ #: main.php:1039 main.php:1062 includes/paid.php:255
551
+ msgid "Tooltip Theme"
552
  msgstr ""
553
 
554
+ #: main.php:1045 main.php:1068 includes/paid.php:262
555
+ msgid "Tooltip Font Size"
556
  msgstr ""
557
 
558
+ #: main.php:1046 main.php:1069 includes/paid.php:261
559
+ msgid "From Theme"
560
  msgstr ""
561
 
562
+ #: main.php:1051
563
+ msgid "Color/Image Tooltip Name"
 
 
564
  msgstr ""
565
 
566
+ #: main.php:1076
567
  msgid "Disable Font Awesome"
568
  msgstr ""
569
 
570
+ #: main.php:1080
571
  msgid ""
572
  "Don't loading css file for Font Awesome on site front end. Use it only if "
573
  "you doesn't uses Font Awesome icons in widgets or you have Font Awesome in "
574
  "your theme."
575
  msgstr ""
576
 
577
+ #: main.php:1083
578
  msgid "Font Awesome Version"
579
  msgstr ""
580
 
581
+ #: main.php:1087
582
  msgid "Font Awesome 4"
583
  msgstr ""
584
 
585
+ #: main.php:1088
586
  msgid "Font Awesome 5"
587
  msgstr ""
588
 
589
+ #: main.php:1091
590
  msgid ""
591
  "Version of Font Awesome that will be used on front end. Please select "
592
  "version that you have in your theme"
593
  msgstr ""
594
 
595
+ #: main.php:1094
596
  msgid "Before Update:"
597
  msgstr ""
598
 
599
+ #: main.php:1098
600
  msgid "If you want to add own actions on filter activation, eg: alert('1');"
601
  msgstr ""
602
 
603
+ #: main.php:1101
604
  msgid "During Update:"
605
  msgstr ""
606
 
607
+ #: main.php:1105
608
  msgid ""
609
  "If you want to add own actions right on products update. You can manipulate "
610
  "data here, try: data.products = 'Ha!';"
611
  msgstr ""
612
 
613
+ #: main.php:1108
614
  msgid "After Update:"
615
  msgstr ""
616
 
617
+ #: main.php:1112
618
  msgid "If you want to add own actions after products updated, eg: alert('1');"
619
  msgstr ""
620
 
621
+ #: main.php:1127
622
+ msgid "Variation must be added to product with stock status out of stock."
623
+ msgstr ""
624
+
625
+ #: main.php:1128
626
+ msgid ""
627
+ "If product do not have variation, then it cannot be detected as out of "
628
+ "stock/in stock and will be displayed as without this option"
629
+ msgstr ""
630
+
631
+ #: main.php:1129
632
+ msgid "Slow down filtering."
633
+ msgstr ""
634
+
635
+ #: main.php:1132 includes/paid.php:389
636
+ msgid "Will be displayed only on default WooCommerce page."
637
+ msgstr ""
638
+
639
+ #: main.php:1133 includes/paid.php:390
640
+ msgid ""
641
+ "Default WooCommerce page are: shop page, category page, tag page, attribute "
642
+ "page etc."
643
+ msgstr ""
644
+
645
+ #: main.php:1134 includes/paid.php:391
646
+ msgid ""
647
+ "Also it can does not work on WooCommerce pages edited with help of any page "
648
+ "builders (Divi Builder, Elementor Builder etc.)"
649
+ msgstr ""
650
+
651
+ #: main.php:1137
652
+ msgid "Please read this before asking support."
653
+ msgstr ""
654
+
655
+ #: main.php:1138
656
+ msgid ""
657
+ "Any option except first will slow down page load, because required some "
658
+ "additional queries to database"
659
+ msgstr ""
660
+
661
+ #: main.php:1140
662
+ msgid ""
663
+ "plugin do not recount anything. Only attribute values, that do not have "
664
+ "products for full shop will be removed (fastest variant)"
665
+ msgstr ""
666
+
667
+ #: main.php:1142
668
+ msgid ""
669
+ "plugin recount products for attribute values based on page where displayed. "
670
+ "Attribute values, that do not have products for current page will be removed"
671
+ msgstr ""
672
+
673
+ #: main.php:1144
674
+ msgid ""
675
+ "plugin recount products only after filtering. Only attribute values, that do "
676
+ "not have products for full shop will be removed. You can hide other empty "
677
+ "values after filtering with help of option"
678
+ msgstr ""
679
+
680
+ #: main.php:1146
681
+ msgid ""
682
+ "uses previous two option together. Works slower, because recounts twice for "
683
+ "each attribute values (not recommended)"
684
+ msgstr ""
685
+
686
+ #: main.php:1148
687
+ msgid ""
688
+ "plugin recount products on page load and after filtering. All empty values "
689
+ "will be removed based on page and selected filters"
690
+ msgstr ""
691
+
692
+ #: main.php:1167 templates/filters_information.php:2
693
  msgid "SETUP WIZARD"
694
  msgstr ""
695
 
696
+ #: main.php:1169
697
  msgid "RUN SETUP WIZARD"
698
  msgstr ""
699
 
700
+ #: main.php:1171
701
  msgid "Run it to setup plugin options step by step"
702
  msgstr ""
703
 
704
+ #: main.php:1180 main.php:1191
705
  msgid "Creating products"
706
  msgstr ""
707
 
708
+ #: main.php:1181 main.php:1192
709
  msgid "Gettings selectors"
710
  msgstr ""
711
 
712
+ #: main.php:1182 main.php:1193
713
  msgid "Removing products"
714
  msgstr ""
715
 
716
+ #: main.php:1183
717
  msgid "Error:"
718
  msgstr ""
719
 
720
+ #: main.php:1186
721
  msgid ""
722
  "IMPORTANT: It will generate some products on your site. Please disable all "
723
  "SEO plugins and plugins, that doing anything on product creating."
724
  msgstr ""
725
 
726
+ #: main.php:1187
727
  msgid ""
728
  "Script was runned, but page closed until end. Please stop it to prevent any "
729
  "problems on your site"
730
  msgstr ""
731
 
732
+ #: main.php:1188
733
  msgid "Auto-Selectors"
734
  msgstr ""
735
 
736
+ #: main.php:1189
737
  msgid "Stop"
738
  msgstr ""
739
 
740
+ #: main.php:1190
741
  msgid "Steps:"
742
  msgstr ""
743
 
744
+ #: main.php:1196
745
  msgid "Get selectors automatically"
746
  msgstr ""
747
 
748
+ #: main.php:1198
749
  msgid "How it work:"
750
  msgstr ""
751
 
752
+ #: main.php:1200
753
  msgid "Run Auto-selector"
754
  msgstr ""
755
 
756
+ #: main.php:1201
757
  msgid ""
758
  "Wait until end <strong style=\"color:red;\">do not close this page</strong>"
759
  msgstr ""
760
 
761
+ #: main.php:1202
762
  msgid "Save settings with new selectors"
763
  msgstr ""
764
 
765
+ #: main.php:1211 main.php:1225
766
  msgid "Purge Cache"
767
  msgstr ""
768
 
769
+ #: main.php:1227
770
  msgid "Clear attribute/custom taxonomy cache for plugin"
771
  msgstr ""
772
 
773
+ #: main.php:1247
774
+ msgid "Custom CSS Style:"
775
  msgstr ""
776
 
777
+ #: main.php:1655 includes/filters/dynamic_data_template.php:166
778
+ #: templates/disabled/checkbox.php:130 templates/disabled/color.php:197
779
+ #: templates/old_templates/checkbox.php:140
780
+ #: templates/old_templates/color.php:206
781
+ msgid "Show value(s)"
782
  msgstr ""
783
 
784
+ #: main.php:1656 includes/filters/dynamic_data_template.php:167
785
+ msgid "Hide value(s)"
786
  msgstr ""
787
 
788
+ #: main.php:1657
789
+ msgid "Unselect all"
790
  msgstr ""
791
 
792
+ #: main.php:1658
793
+ msgid "Nothing is selected"
794
  msgstr ""
795
 
796
+ #: main.php:1659
797
+ msgid "products"
798
  msgstr ""
799
 
800
+ #: main.php:1747
801
+ msgid "Activate WooCommerce plugin before"
802
  msgstr ""
803
 
804
+ #: main.php:1753
805
+ msgid "Update WooCommerce plugin"
806
  msgstr ""
807
 
808
+ #: includes/custom_post.php:112 includes/custom_post.php:114
809
+ #: includes/custom_post.php:115
810
+ msgid "Product Filter"
811
  msgstr ""
812
 
813
+ #: includes/custom_post.php:116
814
+ msgctxt "Admin menu name"
815
+ msgid "Filters"
816
  msgstr ""
817
 
818
+ #: includes/custom_post.php:117
819
+ msgid "Add Filter"
 
820
  msgstr ""
821
 
822
+ #: includes/custom_post.php:118
823
+ msgid "Add New Filter"
824
  msgstr ""
825
 
826
+ #: includes/custom_post.php:119 includes/custom_post.php:639
827
+ #: includes/new_widget.php:138 includes/new_widget.php:314
828
+ #: templates/filters_group_simple.php:32 templates/filters_group_simple.php:57
829
+ msgid "Edit"
830
  msgstr ""
831
 
832
+ #: includes/custom_post.php:120
833
+ msgid "Edit Filter"
834
  msgstr ""
835
 
836
+ #: includes/custom_post.php:121
837
+ msgid "New Filter"
 
838
  msgstr ""
839
 
840
+ #: includes/custom_post.php:122
841
+ msgid "View Filters"
842
  msgstr ""
843
 
844
+ #: includes/custom_post.php:123
845
+ msgid "View Filter"
846
  msgstr ""
847
 
848
+ #: includes/custom_post.php:124
849
+ msgid "Search Product Filters"
850
  msgstr ""
851
 
852
+ #: includes/custom_post.php:125
853
+ msgid "No Product Filters found"
854
  msgstr ""
855
 
856
+ #: includes/custom_post.php:126
857
+ msgid "No Product Filters found in trash"
858
  msgstr ""
859
 
860
+ #: includes/custom_post.php:128
861
+ msgid "This is where you can add Product Filters."
862
  msgstr ""
863
 
864
+ #: includes/custom_post.php:196 includes/custom_post.php:680
865
+ #: templates/groups_information.php:5
866
+ msgid "Conditions"
 
867
  msgstr ""
868
 
869
+ #: includes/custom_post.php:197
870
+ msgid "Product Filter Settings"
 
871
  msgstr ""
872
 
873
+ #: includes/custom_post.php:198 includes/custom_post.php:439
874
+ #: includes/custom_post.php:682 includes/custom_post.php:763
875
+ msgid "Shortcode"
876
  msgstr ""
877
 
878
+ #: includes/custom_post.php:199
879
+ msgid "FAQ"
880
  msgstr ""
881
 
882
+ #: includes/custom_post.php:205
883
+ msgid "Setup Widget"
884
  msgstr ""
885
 
886
+ #: includes/custom_post.php:322
887
+ msgid ""
888
+ "Widget to display single filter in your sidebar. Add it to needed sidebar"
889
  msgstr ""
890
 
891
+ #: includes/custom_post.php:356
892
+ msgid "Select filter that must be displayed in sidebar"
 
 
893
  msgstr ""
894
 
895
+ #: includes/custom_post.php:361
896
+ msgid "Save widget and check it on shop page"
897
  msgstr ""
898
 
899
+ #: includes/custom_post.php:390
900
+ msgid "Hide this filter on:"
901
  msgstr ""
902
 
903
+ #: includes/custom_post.php:398 includes/custom_post.php:732
904
+ msgid "Tablet"
905
  msgstr ""
906
 
907
+ #: includes/custom_post.php:413 includes/custom_post.php:755
908
+ msgid "You need save it to get shortcode"
 
909
  msgstr ""
910
 
911
+ #: includes/custom_post.php:431
912
+ msgid "Now you can use saved filters in widgets"
913
  msgstr ""
914
 
915
+ #: includes/custom_post.php:432
916
+ msgid "Add widget <strong>AAPF Filter Single</strong> on "
 
917
  msgstr ""
918
 
919
+ #: includes/custom_post.php:433
920
+ msgid "WIDGET PAGE"
921
  msgstr ""
922
 
923
+ #: includes/custom_post.php:438
924
+ msgid "Data"
925
  msgstr ""
926
 
927
+ #: includes/custom_post.php:449 includes/divi-builder.php:27
928
+ #: includes/new_widget.php:294 includes/visual-composer.php:26
929
+ #: addons/deprecated_filters/display_widget.php:215
930
+ #: addons/deprecated_filters/filter_post.php:59
931
+ #: includes/filters/display_widget.php:219 templates/settings/design.php:73
932
+ #: templates/single_filter/widget_type.php:8
933
+ msgid "Filter"
934
  msgstr ""
935
 
936
+ #: includes/custom_post.php:450 templates/filters_information.php:9
937
+ #: includes/display_filter/update_button.php:10
938
+ #: templates/single_filter/widget_type.php:16
939
+ #: addons/deprecated_filters/display_filter/update_button.php:10
940
+ msgid "Update Products button"
941
  msgstr ""
942
 
943
+ #: includes/custom_post.php:451 templates/filters_information.php:7
944
+ #: includes/display_filter/reset_button.php:10
945
+ #: templates/single_filter/widget_type.php:25
946
+ #: addons/deprecated_filters/display_filter/reset_button.php:10
947
+ msgid "Reset Products button"
948
  msgstr ""
949
 
950
+ #: includes/custom_post.php:452 includes/display_filter/selected_area.php:14
951
+ #: templates/single_filter/widget_type.php:34
952
+ #: addons/deprecated_filters/display_filter/selected_area.php:14
953
+ msgid "Selected Filters area"
 
 
954
  msgstr ""
955
 
956
+ #: includes/custom_post.php:453 includes/paid.php:1618
957
+ msgid "Search Box (DEPRECATED)"
 
958
  msgstr ""
959
 
960
+ #: includes/custom_post.php:455
961
+ msgid "Widget type: "
962
+ msgstr ""
963
+
964
+ #: includes/custom_post.php:459 includes/custom_post.php:544
965
+ #: includes/paid.php:1727 includes/paid.php:1736 includes/paid.php:1742
966
+ #: templates/filter_post_simple.php:44
967
+ #: addons/deprecated_filters/display_widget.php:141
968
+ #: addons/deprecated_filters/filter_post.php:84
969
+ #: addons/deprecated_filters/filter_post.php:126
970
+ #: includes/filters/display_widget.php:142
971
+ #: templates/single_filter/single_settings_elements.php:71
972
+ #: templates/single_filter/single_settings_elements.php:658
973
  msgid "Attribute"
974
  msgstr ""
975
 
976
+ #: includes/custom_post.php:460 includes/custom_post.php:472
977
+ #: includes/custom_post.php:482 includes/custom_post.php:548
978
+ #: includes/paid.php:1737 addons/deprecated_filters/display_widget.php:145
979
+ #: addons/deprecated_filters/filter_post.php:88
980
+ #: includes/filters/display_widget.php:146
981
+ #: templates/single_filter/single_settings_elements.php:666
982
  msgid "Tag"
983
  msgstr ""
984
 
985
+ #: includes/custom_post.php:461 includes/paid.php:1579 includes/paid.php:1738
986
+ msgid "Custom Taxonomy"
 
 
 
987
  msgstr ""
988
 
989
+ #: includes/custom_post.php:468 includes/custom_post.php:490
990
+ msgid "Attribute: "
991
+ msgstr ""
992
+
993
+ #: includes/custom_post.php:470 includes/custom_post.php:495
994
+ msgid "Custom Taxonomy: "
995
  msgstr ""
996
 
997
+ #: includes/custom_post.php:479 includes/paid.php:204
998
+ #: addons/deprecated_filters/filter_post.php:128
999
+ #: includes/filters/display_widget.php:433
1000
+ #: templates/single_filter/single_settings_elements.php:650
1001
  msgid "Price"
1002
  msgstr ""
1003
 
1004
+ #: includes/custom_post.php:480 includes/paid.php:1585
1005
+ msgid "Stock status"
 
1006
  msgstr ""
1007
 
1008
+ #: includes/custom_post.php:481 includes/custom_post.php:552
1009
+ #: includes/paid.php:405 addons/deprecated_filters/display_widget.php:149
1010
+ #: addons/deprecated_filters/filter_post.php:92
1011
+ #: includes/filters/display_widget.php:150
1012
+ #: templates/single_filter/single_settings_elements.php:675
1013
+ msgid "Product Category"
1014
  msgstr ""
1015
 
1016
+ #: includes/custom_post.php:483 includes/paid.php:1591 includes/paid.php:3316
1017
+ msgid "Date"
1018
  msgstr ""
1019
 
1020
+ #: includes/custom_post.php:484 includes/paid.php:1597
1021
+ msgid "Sale"
1022
  msgstr ""
1023
 
1024
+ #: includes/custom_post.php:485 includes/custom_post.php:559
1025
+ #: addons/deprecated_filters/display_widget.php:156
1026
+ #: addons/deprecated_filters/filter_post.php:99
1027
+ #: includes/filters/display_widget.php:157
1028
+ #: templates/single_filter/single_settings_elements.php:686
1029
+ msgid "Rating"
1030
  msgstr ""
1031
 
1032
+ #: includes/custom_post.php:486
1033
+ #: addons/deprecated_filters/deprecated_filters.php:141
1034
+ msgid "Product sub-categories"
1035
  msgstr ""
1036
 
1037
+ #: includes/custom_post.php:492
1038
+ msgid "Attribute not exists. This filter can work incorrect"
1039
  msgstr ""
1040
 
1041
+ #: includes/custom_post.php:497
1042
+ msgid "Custom taxonomy not exists. This filter can work incorrect"
1043
  msgstr ""
1044
 
1045
+ #: includes/custom_post.php:632 includes/custom_post.php:634
1046
+ #: includes/custom_post.php:635
1047
+ msgid "Product Filter Group"
1048
  msgstr ""
1049
 
1050
+ #: includes/custom_post.php:636
1051
+ msgctxt "Admin menu name"
1052
+ msgid "Groups"
1053
  msgstr ""
1054
 
1055
+ #: includes/custom_post.php:637
1056
+ msgid "Add Filter Group"
1057
  msgstr ""
1058
 
1059
+ #: includes/custom_post.php:638
1060
+ msgid "Add New Filter Group"
1061
  msgstr ""
1062
 
1063
+ #: includes/custom_post.php:640
1064
+ msgid "Edit Filter Group"
1065
  msgstr ""
1066
 
1067
+ #: includes/custom_post.php:641
1068
+ msgid "New Filter Group"
1069
  msgstr ""
1070
 
1071
+ #: includes/custom_post.php:642
1072
+ msgid "View Filter Groups"
1073
  msgstr ""
1074
 
1075
+ #: includes/custom_post.php:643
1076
+ msgid "View Filter Group"
1077
  msgstr ""
1078
 
1079
+ #: includes/custom_post.php:644
1080
+ msgid "Search Product Filter Groups"
1081
  msgstr ""
1082
 
1083
+ #: includes/custom_post.php:645
1084
+ msgid "No Product Filter Groups found"
1085
  msgstr ""
1086
 
1087
+ #: includes/custom_post.php:646
1088
+ msgid "No Product Filter Groups found in trash"
1089
  msgstr ""
1090
 
1091
+ #: includes/custom_post.php:648
1092
+ msgid "This is where you can add Product Filter Groups."
1093
  msgstr ""
1094
 
1095
+ #: includes/custom_post.php:681
1096
+ msgid "Group Settings"
1097
  msgstr ""
1098
 
1099
+ #: includes/custom_post.php:683
1100
+ msgid "Information"
1101
  msgstr ""
1102
 
1103
+ #: includes/custom_post.php:724
1104
+ msgid "Hide this group on:"
1105
  msgstr ""
1106
 
1107
+ #: includes/divi-builder.php:7 includes/visual-composer.php:19
1108
+ msgid "Single Filter"
1109
  msgstr ""
1110
 
1111
+ #: includes/divi-builder.php:18 includes/new_widget.php:301
1112
+ #: includes/visual-composer.php:10 includes/visual-composer.php:36
1113
+ msgid "--Please select filter--"
1114
  msgstr ""
1115
 
1116
+ #: includes/divi-builder.php:61 includes/visual-composer.php:45
1117
+ msgid "Group Filter"
1118
  msgstr ""
1119
 
1120
+ #: includes/divi-builder.php:72 includes/new_widget.php:125
1121
+ msgid "--Please select group--"
1122
  msgstr ""
1123
 
1124
+ #: includes/divi-builder.php:81 includes/new_widget.php:118
1125
+ #: includes/paid.php:296
1126
+ msgid "Group"
1127
  msgstr ""
1128
 
1129
+ #: includes/divi-builder.php:115
1130
+ msgid "BeRocket Filter Next Product"
1131
  msgstr ""
1132
 
1133
+ #: includes/functions.php:757
1134
+ msgid "Widget Title"
1135
  msgstr ""
1136
 
1137
+ #: includes/functions.php:769
1138
+ msgid "Label(checkbox/radio)"
1139
  msgstr ""
1140
 
1141
+ #: includes/functions.php:781
1142
+ msgid "Drop-Down"
1143
  msgstr ""
1144
 
1145
+ #: includes/functions.php:793
1146
+ msgid "Slider Inputs"
1147
  msgstr ""
1148
 
1149
+ #: includes/functions.php:805
1150
+ msgid "Description Block"
1151
  msgstr ""
1152
 
1153
+ #: includes/functions.php:817
1154
+ msgid "Description Block Border"
1155
  msgstr ""
1156
 
1157
+ #: includes/functions.php:829
1158
+ msgid "Description Block Title"
1159
  msgstr ""
1160
 
1161
+ #: includes/functions.php:841
1162
+ msgid "Description Block Text"
1163
  msgstr ""
1164
 
1165
+ #: includes/functions.php:853
1166
+ msgid "Selected filters area text"
1167
  msgstr ""
1168
 
1169
+ #: includes/functions.php:865
1170
+ msgid "Selected filters area mouse over the text"
1171
  msgstr ""
1172
 
1173
+ #: includes/functions.php:877
1174
+ msgid "Selected filters area link background"
1175
  msgstr ""
1176
 
1177
+ #: includes/functions.php:889
1178
+ msgid "Selected filters area link border"
1179
  msgstr ""
1180
 
1181
+ #: includes/functions.php:2638
1182
+ msgid "Loading..."
1183
  msgstr ""
1184
 
1185
+ #: includes/new_widget.php:5
1186
+ msgid "AAPF Filters Group"
1187
  msgstr ""
1188
 
1189
+ #: includes/new_widget.php:6
1190
+ msgid "AJAX Product Filters. Group of filters"
1191
  msgstr ""
1192
 
1193
+ #: includes/new_widget.php:111 templates/filters_group_simple.php:43
1194
+ msgid "Manage groups"
1195
  msgstr ""
1196
 
1197
+ #: includes/new_widget.php:140
1198
+ msgid "Create Group"
1199
  msgstr ""
1200
 
1201
+ #: includes/new_widget.php:147
1202
+ msgid "AAPF Filter Single"
1203
  msgstr ""
1204
 
1205
+ #: includes/new_widget.php:148
1206
+ msgid "AJAX Product Filters. Single Filter"
1207
  msgstr ""
1208
 
1209
+ #: includes/new_widget.php:291 templates/filters_group.php:23
1210
+ #: templates/filter_post_simple.php:132
1211
+ msgid "Manage filters"
1212
  msgstr ""
1213
 
1214
+ #: includes/new_widget.php:316 templates/filters_group_simple.php:17
1215
+ msgid "Create Filter"
1216
  msgstr ""
1217
 
1218
+ #: includes/paid.php:80
1219
+ msgid "Hide the Show/Hide value(s) button in the filters"
1220
  msgstr ""
1221
 
1222
+ #: includes/paid.php:87
1223
+ msgid "Use links for checkboxes and radio filter"
1224
  msgstr ""
1225
 
1226
+ #: includes/paid.php:94
1227
+ msgid "Use noindex for links"
1228
  msgstr ""
1229
 
1230
+ #: includes/paid.php:100 includes/paid.php:112
1231
+ msgid "Second+ levels"
1232
  msgstr ""
1233
 
1234
+ #: includes/paid.php:101 includes/paid.php:113
1235
+ msgid "All levels"
1236
  msgstr ""
1237
 
1238
+ #: includes/paid.php:106
1239
+ msgid "Use nofollow for links"
1240
  msgstr ""
1241
 
1242
+ #: includes/paid.php:124
1243
+ msgid "Nice URLs"
1244
  msgstr ""
1245
 
1246
+ #: includes/paid.php:129
1247
+ msgid ""
1248
+ "Works only with SEO friendly urls. WordPress permalinks must be set to Post "
1249
+ "name(Custom structure: /%postname%/ )"
1250
  msgstr ""
1251
 
1252
+ #: includes/paid.php:132
1253
+ msgid "Base Canonical URL"
1254
  msgstr ""
1255
 
1256
+ #: includes/paid.php:136
1257
+ msgid "Use canonical tag without filters on WooCommerce pages"
1258
  msgstr ""
1259
 
1260
+ #: includes/paid.php:140 includes/paid.php:1780
1261
+ #: templates/paid/filters_search_box.php:34
1262
+ msgid "Elements position"
1263
  msgstr ""
1264
 
1265
+ #: includes/paid.php:142
1266
+ msgid "Show the number of products before filtering"
1267
  msgstr ""
1268
 
1269
+ #: includes/paid.php:148
1270
+ msgid "Show products count before filtering, when using update button"
1271
  msgstr ""
1272
 
1273
+ #: includes/paid.php:154
1274
+ msgid "Text that means products"
1275
  msgstr ""
1276
 
1277
+ #: includes/paid.php:160
1278
+ msgid "Text for show button"
1279
  msgstr ""
1280
 
1281
+ #: includes/paid.php:173
1282
+ msgid "Data cache"
1283
  msgstr ""
1284
 
1285
+ #: includes/paid.php:177
1286
+ msgid "Turned off"
 
1287
  msgstr ""
1288
 
1289
+ #: includes/paid.php:178
1290
+ msgid "WordPress Cache"
 
1291
  msgstr ""
1292
 
1293
+ #: includes/paid.php:179
1294
+ msgid "Persistent Cache Plugins"
1295
  msgstr ""
1296
 
1297
+ #: includes/paid.php:190
1298
+ msgid "Display variation data"
1299
  msgstr ""
1300
 
1301
+ #: includes/paid.php:193
1302
+ msgid "Display variation image"
1303
  msgstr ""
1304
 
1305
+ #: includes/paid.php:200
1306
+ msgid "Display variation price"
1307
  msgstr ""
1308
 
1309
+ #: includes/paid.php:204
1310
+ msgid "Display data from the variation that matches the selected filters"
1311
  msgstr ""
1312
 
1313
+ #: includes/paid.php:209
1314
+ msgid "Remember variation options"
1315
  msgstr ""
1316
 
1317
+ #: includes/paid.php:215
1318
+ msgid "Use variation options only after search"
1319
  msgstr ""
1320
 
1321
+ #: includes/paid.php:222
1322
+ msgid ""
1323
+ "Change image/price on variable products to image/price from variation that "
1324
+ "has attribute value of selected filters."
1325
  msgstr ""
1326
 
1327
+ #: includes/paid.php:223
1328
+ msgid ""
1329
+ "Image replace can do not work on some theme. Our plugin uses default "
1330
+ "WooCommerce functionality to replace image, but some theme do not use it."
1331
  msgstr ""
1332
 
1333
+ #: includes/paid.php:224
1334
+ msgid ""
1335
+ "If you have this issue, then please contact theme developer with this issue"
1336
  msgstr ""
1337
 
1338
+ #: includes/paid.php:231
1339
+ msgid "Slider has a lot of values"
1340
  msgstr ""
1341
 
1342
+ #: includes/paid.php:235
1343
+ msgid ""
1344
+ "Enable it if slider has more than 250 values. Hierarchical taxonomy can work "
1345
+ "incorrect with sliders"
1346
  msgstr ""
1347
 
1348
+ #: includes/paid.php:244
1349
+ msgid "Products Count Before Update"
1350
  msgstr ""
1351
 
1352
+ #: includes/paid.php:275
1353
+ msgid "Elements over products"
1354
  msgstr ""
1355
 
1356
+ #: includes/paid.php:300
1357
+ msgid "Add group"
1358
  msgstr ""
1359
 
1360
+ #: includes/paid.php:463
1361
+ msgid "Search Box"
1362
  msgstr ""
1363
 
1364
+ #: includes/paid.php:477 includes/paid.php:1609
1365
+ msgid "Ranges"
1366
  msgstr ""
1367
 
1368
+ #: includes/paid.php:552
1369
+ msgid "Hide \"Show/Hide value(s)\" button"
1370
  msgstr ""
1371
 
1372
+ #: includes/paid.php:596 includes/paid.php:631
1373
+ #: addons/custom_sidebar/sidebar_include.php:41
1374
+ msgid "SHOW FILTERS"
1375
  msgstr ""
1376
 
1377
+ #: includes/paid.php:1689
1378
+ msgid "Attributes"
1379
  msgstr ""
1380
 
1381
+ #: includes/paid.php:1692 templates/paid/filters_search_box.php:9
1382
+ msgid "URL to search"
 
 
1383
  msgstr ""
1384
 
1385
+ #: includes/paid.php:1694 templates/paid/filters_search_box.php:11
1386
+ msgid "Shop page"
 
 
1387
  msgstr ""
1388
 
1389
+ #: includes/paid.php:1695 templates/paid/filters_search_box.php:12
1390
+ msgid "Category page"
 
1391
  msgstr ""
1392
 
1393
+ #: includes/paid.php:1696 templates/paid/filters_search_box.php:13
1394
+ msgid "URL"
1395
  msgstr ""
1396
 
1397
+ #: includes/paid.php:1700 templates/paid/filters_search_box.php:17
1398
+ msgid "Category"
1399
  msgstr ""
1400
 
1401
+ #: includes/paid.php:1710 templates/paid/filters_search_box.php:27
1402
+ msgid "URL for search"
1403
  msgstr ""
1404
 
1405
+ #: includes/paid.php:1714
1406
+ msgid "Attributes count"
1407
  msgstr ""
1408
 
1409
+ #: includes/paid.php:1734 templates/filter_post_simple.php:18
1410
+ #: addons/deprecated_filters/filter_post.php:79
1411
+ #: templates/single_filter/single_settings_elements.php:47
1412
+ msgid "Filter By"
1413
  msgstr ""
1414
 
1415
+ #: includes/paid.php:1750 templates/filter_post_simple.php:52
1416
+ #: addons/deprecated_filters/filter_post.php:135
1417
+ #: templates/single_filter/single_settings_elements.php:88
1418
+ msgid "Custom Taxonomies"
1419
  msgstr ""
1420
 
1421
+ #: includes/paid.php:1759 templates/filter_post_simple.php:75
1422
+ #: addons/deprecated_filters/filter_post.php:158
1423
+ msgid "Type"
1424
  msgstr ""
1425
 
1426
+ #: includes/paid.php:1777 templates/paid/filters_search_box.php:31
1427
+ msgid "Styles"
1428
  msgstr ""
1429
 
1430
+ #: includes/paid.php:1782 templates/paid/filters_search_box.php:36
1431
+ msgid "Vertical"
 
1432
  msgstr ""
1433
 
1434
+ #: includes/paid.php:1783 templates/paid/filters_search_box.php:37
1435
+ msgid "Horizontal"
 
1436
  msgstr ""
1437
 
1438
+ #: includes/paid.php:1787
1439
+ msgid "Search button position"
 
 
1440
  msgstr ""
1441
 
1442
+ #: includes/paid.php:1789 addons/deprecated_filters/filter_post.php:532
1443
+ #: addons/deprecated_filters/filter_post.php:538
1444
+ msgid "Before"
1445
  msgstr ""
1446
 
1447
+ #: includes/paid.php:1790 addons/deprecated_filters/filter_post.php:533
1448
+ #: addons/deprecated_filters/filter_post.php:539
1449
+ msgid "After"
 
1450
  msgstr ""
1451
 
1452
+ #: includes/paid.php:1791
1453
+ msgid "Before and after"
 
 
 
1454
  msgstr ""
1455
 
1456
+ #: includes/paid.php:1795
1457
+ msgid "Search button text"
 
 
 
 
 
 
 
 
1458
  msgstr ""
1459
 
1460
+ #: includes/paid.php:1799 templates/paid/filters_search_box.php:41
1461
+ #: addons/deprecated_filters/settings/design.php:705
1462
+ msgid "Background color"
 
1463
  msgstr ""
1464
 
1465
+ #: includes/paid.php:1804 templates/paid/filters_search_box.php:46
1466
+ msgid "Background transparency"
1467
  msgstr ""
1468
 
1469
+ #: includes/paid.php:1808 templates/paid/filters_search_box.php:50
1470
+ msgid "100%"
 
 
 
1471
  msgstr ""
1472
 
1473
+ #: includes/paid.php:1809 templates/paid/filters_search_box.php:51
1474
+ msgid "90%"
1475
  msgstr ""
1476
 
1477
+ #: includes/paid.php:1810 templates/paid/filters_search_box.php:52
1478
+ msgid "80%"
 
 
1479
  msgstr ""
1480
 
1481
+ #: includes/paid.php:1811 templates/paid/filters_search_box.php:53
1482
+ msgid "70%"
1483
  msgstr ""
1484
 
1485
+ #: includes/paid.php:1812 templates/paid/filters_search_box.php:54
1486
+ msgid "60%"
1487
  msgstr ""
1488
 
1489
+ #: includes/paid.php:1813 templates/paid/filters_search_box.php:55
1490
+ msgid "50%"
1491
  msgstr ""
1492
 
1493
+ #: includes/paid.php:1814 templates/paid/filters_search_box.php:56
1494
+ msgid "40%"
1495
  msgstr ""
1496
 
1497
+ #: includes/paid.php:1815 templates/paid/filters_search_box.php:57
1498
+ msgid "30%"
1499
  msgstr ""
1500
 
1501
+ #: includes/paid.php:1816 templates/paid/filters_search_box.php:58
1502
+ msgid "20%"
1503
  msgstr ""
1504
 
1505
+ #: includes/paid.php:1817 templates/paid/filters_search_box.php:59
1506
+ msgid "10%"
1507
  msgstr ""
1508
 
1509
+ #: includes/paid.php:1818 templates/paid/filters_search_box.php:60
1510
+ msgid "0%"
1511
  msgstr ""
1512
 
1513
+ #: includes/paid.php:1829
1514
+ msgid "Button background color"
1515
  msgstr ""
1516
 
1517
+ #: includes/paid.php:1834
1518
+ msgid "Button background color on mouse over"
1519
  msgstr ""
1520
 
1521
+ #: includes/paid.php:1839
1522
+ msgid "Button text color"
1523
  msgstr ""
1524
 
1525
+ #: includes/paid.php:1844
1526
+ msgid "Button text color on mouse over"
1527
  msgstr ""
1528
 
1529
+ #: includes/paid.php:1857 includes/paid.php:3801
1530
+ msgid "Child/Parent Limitation"
1531
  msgstr ""
1532
 
1533
+ #: includes/paid.php:1860 includes/paid.php:3804
1534
+ msgid "Child Count"
1535
  msgstr ""
1536
 
1537
+ #: includes/paid.php:1861 includes/paid.php:3805
1538
+ msgid "Parent"
 
1539
  msgstr ""
1540
 
1541
+ #: includes/paid.php:1862 includes/paid.php:1898 includes/paid.php:3806
1542
+ #: includes/paid.php:3841 includes/paid.php:3845 includes/paid.php:3849
1543
+ #: includes/paid.php:3853
1544
+ msgid "Child"
1545
  msgstr ""
1546
 
1547
+ #: includes/paid.php:1866 includes/paid.php:3811
1548
+ msgid "Child depth"
1549
  msgstr ""
1550
 
1551
+ #: includes/paid.php:1869 includes/paid.php:1908 includes/paid.php:3827
1552
+ #: includes/paid.php:3835 includes/paid.php:3849
1553
+ msgid "\"No values\" messages"
1554
  msgstr ""
1555
 
1556
+ #: includes/paid.php:1873 includes/paid.php:1912 includes/paid.php:3831
1557
+ #: includes/paid.php:3853
1558
+ msgid "\"Select previous\" messages"
1559
  msgstr ""
1560
 
1561
+ #: includes/paid.php:1877
1562
+ msgid "\"No Products\" messages"
 
1563
  msgstr ""
1564
 
1565
+ #: includes/paid.php:1882 includes/paid.php:3816
1566
+ msgid "Child count"
1567
  msgstr ""
1568
 
1569
+ #: includes/paid.php:1904 includes/paid.php:3845
1570
+ msgid "\"No products\" messages"
1571
  msgstr ""
1572
 
1573
+ #: includes/paid.php:1925 includes/paid.php:3882
1574
+ msgid "Date Month Dropdown menu"
 
1575
  msgstr ""
1576
 
1577
+ #: includes/paid.php:1931 includes/paid.php:3889
1578
+ msgid "Date Year Dropdown menu"
 
1579
  msgstr ""
1580
 
1581
+ #: includes/paid.php:1935 includes/paid.php:3895
1582
+ msgid "Date visual style"
1583
  msgstr ""
1584
 
1585
+ #: includes/paid.php:1976 includes/paid.php:3570
1586
+ msgid "Display only"
1587
  msgstr ""
1588
 
1589
+ #: includes/paid.php:1977 includes/paid.php:3571
1590
+ msgid "Remove"
1591
  msgstr ""
1592
 
1593
+ #: includes/paid.php:1979
1594
+ msgid "values selected in Include / Exclude List"
1595
  msgstr ""
1596
 
1597
+ #: includes/paid.php:2001 includes/paid.php:3763
1598
+ msgid "Use as numeric"
1599
  msgstr ""
1600
 
1601
+ #: includes/paid.php:2014 includes/paid.php:3745
1602
+ msgid "Show product count per attribute value?"
1603
  msgstr ""
1604
 
1605
+ #: includes/paid.php:2025 includes/paid.php:3778
1606
+ msgid "Values per row"
1607
  msgstr ""
1608
 
1609
+ #: includes/paid.php:2164 includes/paid.php:3101
1610
+ #: includes/widget_functions.php:398
1611
+ msgid "In stock"
1612
  msgstr ""
1613
 
1614
+ #: includes/paid.php:2172 includes/paid.php:3102
1615
+ #: includes/widget_functions.php:399
1616
+ msgid "Out of stock"
1617
  msgstr ""
1618
 
1619
+ #: includes/paid.php:2193 includes/paid.php:3105
1620
+ msgid "On sale"
1621
  msgstr ""
1622
 
1623
+ #: includes/paid.php:2201 includes/paid.php:3106
1624
+ msgid "Not on sale"
1625
  msgstr ""
1626
 
1627
+ #: includes/paid.php:3567
1628
+ msgid "Display selected values only / Remove selected values"
 
1629
  msgstr ""
1630
 
1631
+ #: includes/paid.php:3693 addons/deprecated_filters/filter_post.php:268
1632
+ msgid "1.00-100.00, 101.00-200.00, 201.00-1000.00"
1633
  msgstr ""
1634
 
1635
+ #: includes/paid.php:3694 addons/deprecated_filters/filter_post.php:269
1636
+ msgid "1.00-100.00, 100.00-200.00, 200.00-1000.00"
1637
  msgstr ""
1638
 
1639
+ #: includes/paid.php:3695 addons/deprecated_filters/filter_post.php:270
1640
+ msgid "1.00-99.99, 100.00-199.99, 200.00-999.99"
 
1641
  msgstr ""
1642
 
1643
+ #: includes/paid.php:3699 addons/deprecated_filters/filter_post.php:265
1644
+ msgid "Ranges: 1,100,200,1000"
1645
  msgstr ""
1646
 
1647
+ #: includes/paid.php:3710 addons/deprecated_filters/filter_post.php:282
1648
+ msgid "Hide first and last ranges without products"
1649
  msgstr ""
1650
 
1651
+ #: includes/paid.php:3719 includes/paid.php:3724
1652
+ #: addons/deprecated_filters/filter_post.php:287
1653
+ msgid "Show last range to the infinity"
1654
  msgstr ""
1655
 
1656
+ #: includes/paid.php:3931
1657
+ msgid "IMPORTANT FOR DATEPICKER"
1658
  msgstr ""
1659
 
1660
+ #: includes/paid.php:3932
1661
+ msgid "Datepicker required specific slug for attribute/taxonomy values"
1662
  msgstr ""
1663
 
1664
+ #: includes/paid.php:3933
1665
+ msgid "Slug must be like"
1666
  msgstr ""
1667
 
1668
+ #: includes/paid.php:3934
1669
+ msgid "Example:"
1670
  msgstr ""
1671
 
1672
+ #: includes/paid.php:3935
1673
+ msgid "For date"
1674
  msgstr ""
1675
 
1676
+ #: includes/paid.php:3935
1677
+ msgid "slug must be"
1678
  msgstr ""
1679
 
1680
+ #: includes/paid.php:3936
1681
+ msgid "Current attribute/taxonomy values"
1682
  msgstr ""
1683
 
1684
+ #: includes/paid.php:3971
1685
+ msgid "OK"
1686
  msgstr ""
1687
 
1688
+ #: includes/paid.php:3972
1689
+ msgid "Name"
1690
  msgstr ""
1691
 
1692
+ #: includes/paid.php:3973
1693
+ msgid "Slug"
1694
  msgstr ""
1695
 
1696
+ #: includes/paid.php:3974
1697
+ msgid "Date detected"
1698
  msgstr ""
1699
 
1700
+ #: includes/paid.php:3984
1701
+ msgid "Year:"
1702
  msgstr ""
1703
 
1704
+ #: includes/paid.php:3985
1705
+ msgid "Month:"
1706
  msgstr ""
1707
 
1708
+ #: includes/paid.php:3986
1709
+ msgid "Day:"
1710
  msgstr ""
1711
 
1712
+ #: includes/paid.php:3988
1713
+ msgid "Slug is incorrect"
1714
  msgstr ""
1715
 
1716
+ #: includes/paid.php:3995
1717
+ msgid "Empty attribute/taxonomy"
1718
  msgstr ""
1719
 
1720
+ #: includes/paid.php:4006
1721
+ msgid "Use specific Price Ranges text"
 
1722
  msgstr ""
1723
 
1724
+ #: includes/paid.php:4011
1725
+ msgid "Text will be used for Price Ranges"
 
1726
  msgstr ""
1727
 
1728
+ #: includes/paid.php:4016
1729
+ #: templates/single_filter/single_settings_elements.php:560
1730
+ msgid "You can use some replacements"
1731
  msgstr ""
1732
 
1733
+ #: includes/paid.php:4018
1734
+ msgid "first value, from this price"
1735
  msgstr ""
1736
 
1737
+ #: includes/paid.php:4019
1738
+ msgid "second value, to this price"
1739
  msgstr ""
1740
 
1741
+ #: includes/paid.php:4020
1742
+ #: templates/single_filter/single_settings_elements.php:561
1743
+ msgid "currency symbol($)"
1744
  msgstr ""
1745
 
1746
+ #: includes/paid.php:4021
1747
+ #: templates/single_filter/single_settings_elements.php:562
1748
+ msgid "currency code(USD)"
1749
  msgstr ""
1750
 
1751
+ #: includes/paid.php:4231
1752
+ msgid "Display only child of"
1753
  msgstr ""
1754
 
1755
+ #: includes/paid.php:4240
1756
+ msgid "Display All"
1757
  msgstr ""
1758
 
1759
+ #: includes/paid.php:4241
1760
+ msgid "Start from parent values"
1761
  msgstr ""
1762
 
1763
+ #: includes/paid.php:4242
1764
+ msgid "Child for current page value"
1765
  msgstr ""
1766
 
1767
+ #: includes/paid.php:4243
1768
+ msgid "Child for value:"
1769
  msgstr ""
1770
 
1771
+ #: includes/paid.php:4266
1772
+ msgid "Depth level"
1773
  msgstr ""
1774
 
1775
+ #: includes/paid.php:4302
1776
+ msgid "Nice URLs settings"
1777
  msgstr ""
1778
 
1779
+ #. Author of the plugin
1780
+ #: includes/visual-composer.php:21 includes/visual-composer.php:47
1781
+ msgid "BeRocket"
1782
  msgstr ""
1783
 
1784
+ #: templates/admin.php:2
1785
+ msgid ""
1786
+ "Widget will be removed in future please use <strong>AAPF Filters "
1787
+ "Group</strong> instead."
1788
  msgstr ""
1789
 
1790
+ #: templates/admin.php:3
1791
+ #, php-format
1792
+ msgid "You can add filter to %s that has limitation"
1793
  msgstr ""
1794
 
1795
+ #: templates/admin.php:3
1796
+ msgid "Filters group"
1797
  msgstr ""
1798
 
1799
+ #: templates/color_ajax.php:3
1800
+ msgid "Color pick"
1801
  msgstr ""
1802
 
1803
+ #: templates/color_ajax.php:3
1804
+ msgid "Image pick"
1805
  msgstr ""
1806
 
1807
+ #: templates/filters_group.php:4
1808
+ msgid "Custom CSS class"
1809
  msgstr ""
1810
 
1811
+ #: templates/filters_group.php:7
1812
+ msgid "use white space for multiple classes"
1813
  msgstr ""
1814
 
1815
+ #: templates/filters_group.php:12 templates/filters_group_simple.php:6
1816
+ msgid "Filters In Group"
1817
  msgstr ""
1818
 
1819
+ #: templates/filters_group.php:22 templates/filters_group_simple.php:16
1820
+ msgid "Add filter"
1821
  msgstr ""
1822
 
1823
+ #: templates/filters_group.php:39
1824
+ msgid "Width"
 
 
1825
  msgstr ""
1826
 
1827
+ #: templates/filters_group.php:48
1828
+ msgid "No one filters was created. Please create filters first"
1829
  msgstr ""
1830
 
1831
+ #: templates/filters_group.php:49 templates/filters_group.php:55
1832
+ msgid "FILTERS PAGE"
1833
  msgstr ""
1834
 
1835
+ #: templates/filters_group.php:52
1836
+ msgid "Group do not have filters. Please add filters before save it."
 
1837
  msgstr ""
1838
 
1839
+ #: templates/filters_group.php:54
1840
+ msgid "You can create new filters or edit it on"
1841
  msgstr ""
1842
 
1843
+ #: templates/filters_group_simple.php:42 templates/filter_post_simple.php:131
1844
+ msgid "Need more options? Create it on "
1845
  msgstr ""
1846
 
1847
+ #: templates/filters_group_simple.php:44 templates/filter_post_simple.php:133
1848
+ msgid " page"
1849
  msgstr ""
1850
 
1851
+ #: templates/filters_information.php:3 templates/groups_information.php:2
1852
+ msgid "Get more information on BeRocket Documentation"
1853
  msgstr ""
1854
 
1855
+ #: templates/filters_information.php:4
1856
+ msgid "How to hide filter on page load?"
1857
  msgstr ""
1858
 
1859
+ #: templates/filters_information.php:5
1860
+ #, php-format
1861
+ msgid ""
1862
+ "Enable in <strong>%s</strong> step option <strong>%s</strong> and <strong>"
1863
+ "%s</strong>"
1864
  msgstr ""
1865
 
1866
+ #: templates/filters_information.php:5 templates/single_filter/all_steps.php:20
1867
+ msgid "Additional"
1868
  msgstr ""
1869
 
1870
+ #: templates/filters_information.php:5
1871
+ #: addons/deprecated_filters/filter_post.php:439
1872
+ #: templates/single_filter/single_settings_elements.php:284
1873
+ msgid "Enable collapse option"
1874
  msgstr ""
1875
 
1876
+ #: templates/filters_information.php:5
1877
+ #: addons/deprecated_filters/filter_post.php:445
1878
+ #: templates/single_filter/single_settings_elements.php:296
1879
+ msgid "Collapse this widget on load?"
1880
  msgstr ""
1881
 
1882
+ #: templates/filters_information.php:6
1883
+ msgid "How to add reset filters button?"
1884
  msgstr ""
1885
 
1886
+ #: templates/filters_information.php:7 templates/filters_information.php:9
1887
+ #, php-format
1888
+ msgid "Select <strong>%s</strong> in step <strong>%s</strong>"
1889
  msgstr ""
1890
 
1891
+ #: templates/filters_information.php:7 templates/filters_information.php:9
1892
+ #: addons/deprecated_filters/filter_post.php:55
1893
+ #: templates/single_filter/all_steps.php:7
1894
+ msgid "Widget Type"
1895
  msgstr ""
1896
 
1897
+ #: templates/filters_information.php:8
1898
+ msgid ""
1899
+ "How to add update products button? (to filter products only after click on "
1900
+ "button)"
1901
  msgstr ""
1902
 
1903
+ #: templates/filters_information.php:26
1904
+ msgid ""
1905
+ "Title will be displayed only on admin side.<br>You can write text, that want "
1906
+ "to mark it for admin side"
1907
  msgstr ""
1908
 
1909
+ #: templates/filters_information.php:33
1910
+ msgid ""
1911
+ "Where filters must be displayed.<br>Filter will be displayed on all pages if "
1912
+ "do not have conditions.<br><strong>Please first try to add filter without "
1913
+ "any condition to check that it works</strong>"
1914
  msgstr ""
1915
 
1916
+ #: templates/filters_information.php:40
1917
  msgid ""
1918
+ "Title will be displayed as widget title.<br>You can write text, that want to "
1919
+ "display above filter"
1920
  msgstr ""
1921
 
1922
+ #: templates/filters_information.php:47
1923
+ msgid ""
1924
+ "All that can be displayed you can select there<h3>Variants:</h3><ul><li>"
1925
+ "<strong>Filter</strong>(main type) - filters by attributes, categories, "
1926
+ "price etc.</li><li><strong>Update Products button</strong> - button to apply "
1927
+ "filters to products. Filter will applies only after click on update "
1928
+ "button</li><li><strong>Reset Products button</strong> - button to disable "
1929
+ "all selected filters</li><li><strong>Selected Filters area</strong> - "
1930
+ "display selected filters and provide possibility to disable it in one "
1931
+ "place</li></ul>"
1932
  msgstr ""
1933
 
1934
+ #: templates/filters_information.php:53
1935
+ msgid ""
1936
+ "Select attribute that you need to filter by.<br>You can use for filtering "
1937
+ "price, attributes, categories, tags etc"
1938
  msgstr ""
1939
 
1940
+ #: templates/filters_information.php:57
1941
+ msgid "Filter style. This option change how filter will be look like."
 
1942
  msgstr ""
1943
 
1944
+ #: templates/filters_information.php:62
1945
+ msgid ""
1946
+ "Filter required options.<br>Those options must be setuped, because filter "
1947
+ "can work incorrect without it."
1948
  msgstr ""
1949
 
1950
+ #: templates/filters_information.php:66
1951
+ msgid "Filter Additional options. You can add/change some elements for filter"
1952
  msgstr ""
1953
 
1954
+ #: templates/filters_information.php:70 templates/filters_information.php:93
1955
+ msgid ""
1956
+ "Shortcode to use this filters in any place of your site will be displayed "
1957
+ "there<br><strong>Please use widgets if you do not know how shortcode "
1958
+ "works</strong>"
1959
  msgstr ""
1960
 
1961
+ #: templates/filters_information.php:74
1962
+ msgid "Save filter after setup to use it in widgets"
1963
  msgstr ""
1964
 
1965
+ #: templates/filters_information.php:80 templates/filters_information.php:89
1966
+ msgid ""
1967
+ "You can use widget to display filters on your shop page.<br><strong>Use "
1968
+ "sidebar, that displayed on shop page</strong>"
1969
  msgstr ""
1970
 
1971
+ #: templates/filter_post_simple.php:121
1972
+ #: addons/deprecated_filters/filter_post.php:205
1973
+ #: templates/single_filter/single_settings_elements.php:312
1974
+ msgid "Operator"
1975
  msgstr ""
1976
 
1977
+ #: templates/groups_information.php:3
1978
+ msgid ""
1979
+ "Do not use multiple filters with same attribute on one page! We will not "
1980
+ "guarantee normal filters works in that case."
1981
  msgstr ""
1982
 
1983
+ #: templates/groups_information.php:4
1984
+ msgid ""
1985
+ "P.S. No, using sub-categories for different filters is not normal. Please "
1986
+ "use attributes instead"
1987
  msgstr ""
1988
 
1989
+ #: templates/groups_information.php:6
1990
+ msgid "Group without any condition will be displayed on all pages"
1991
  msgstr ""
1992
 
1993
+ #: templates/groups_information.php:7
1994
+ msgid "Connection between condition can be AND and OR"
1995
  msgstr ""
1996
 
1997
+ #: templates/groups_information.php:8
1998
+ msgid "<strong>AND</strong> uses between condition in one section"
1999
  msgstr ""
2000
 
2001
+ #: templates/groups_information.php:9
2002
+ msgid "<strong>OR</strong> uses between different sections with conditions"
2003
  msgstr ""
2004
 
2005
+ #: templates/groups_information.php:10
2006
+ msgid "To display one group on different pages use OR condition"
2007
  msgstr ""
2008
 
2009
+ #: templates/include_exclude_list.php:3
2010
+ msgid "Include / Exclude List"
2011
  msgstr ""
2012
 
2013
+ #: addons/additional_tables/additional_tables.php:64
2014
+ msgid "Additional Tables (BETA)"
2015
  msgstr ""
2016
 
2017
+ #: addons/additional_tables/additional_tables.php:65
2018
+ msgid ""
2019
+ "Create 4 additional tables.<ul><li>Table to speed up hierarchical taxonomies "
2020
+ "recount: <strong>Product categories</strong>, <strong>Brands</strong> "
2021
+ "etc</li><li>3 tables to speed up functions for variation filtering</li></ul>"
2022
  msgstr ""
2023
 
2024
+ #: addons/additional_tables/additional_tables.php:111
2025
+ msgid ""
2026
+ "Additional tables was succesfully generated. They will be used automatically "
2027
+ "when needed."
2028
  msgstr ""
2029
 
2030
+ #: addons/additional_tables/additional_tables.php:137
2031
+ msgid ""
2032
+ "WooCommerce do not have needed table for Additional Table add-on. Add-on "
2033
+ "required WooCommerce 3.6 or newer"
2034
  msgstr ""
2035
 
2036
+ #: addons/additional_tables/additional_tables.php:139
2037
+ msgid ""
2038
+ "WooCommerce <strong>Product lookup tables</strong> right now regenerating"
2039
  msgstr ""
2040
 
2041
+ #: addons/additional_tables/additional_tables.php:142
2042
+ #, php-format
2043
+ msgid ""
2044
+ "Additional tables are generating. They will be used after generation is "
2045
+ "completed. Current status is <strong><span "
2046
+ "class=\"braapf_additional_table_status\">%d</span>%s</strong>"
2047
  msgstr ""
2048
 
2049
+ #: addons/additional_tables/additional_tables.php:150
2050
+ msgid ""
2051
+ "Seems you have some issue with Product lookup tables. Please try to remove "
2052
+ "all data from table"
2053
  msgstr ""
2054
 
2055
+ #: addons/additional_tables/additional_tables.php:150
2056
+ msgid "and regenerate it in "
2057
  msgstr ""
2058
 
2059
+ #: addons/add_classes/add_classes.php:9
2060
+ msgid "Add more classes"
2061
  msgstr ""
2062
 
2063
+ #: addons/add_classes/add_classes.php:10
2064
+ msgid ""
2065
+ "Add more CSS classes to filters. Can be using for styling or other things"
2066
  msgstr ""
2067
 
2068
+ #: addons/custom_sidebar/custom_sidebar.php:9
2069
+ msgid "Custom Sidebar"
2070
  msgstr ""
2071
 
2072
+ #: addons/custom_sidebar/sidebar_include.php:64
2073
+ msgid "Custom Sidebar Styles"
2074
  msgstr ""
2075
 
2076
+ #: addons/custom_sidebar/sidebar_include.php:68
2077
+ #: templates/paid/filters_group.php:68
2078
+ msgid "Collapse Button style"
2079
  msgstr ""
2080
 
2081
+ #: addons/custom_sidebar/sidebar_include.php:88
2082
+ #: templates/paid/filters_group.php:85
2083
+ msgid "Collapse Button Icon style"
2084
  msgstr ""
2085
 
2086
+ #: addons/custom_sidebar/sidebar_include.php:108
2087
+ msgid "Sidebar Shadow"
2088
  msgstr ""
2089
 
2090
+ #: addons/custom_sidebar/sidebar_include.php:136
2091
+ msgid "BeRocket AJAX Filters"
2092
  msgstr ""
2093
 
2094
+ #: addons/custom_sidebar/sidebar_include.php:138
2095
+ msgid "Sidebar for BeRocket AJAX Filters"
2096
  msgstr ""
2097
 
2098
+ #: addons/custom_sidebar/sidebar_include.php:151
2099
+ msgid "Close &#10005;"
2100
  msgstr ""
2101
 
2102
+ #: addons/deprecated_filters/deprecated_filters.php:9
2103
+ msgid "Deprecated Filters"
2104
  msgstr ""
2105
 
2106
+ #: addons/deprecated_filters/deprecated_filters.php:11
2107
+ msgid ""
2108
+ "<span style=\"color: red;\">IT WILL BE REMOVED IN THE FUTURE</span><br>"
2109
+ "Temporary compatibility with older filters"
2110
  msgstr ""
2111
 
2112
+ #: addons/deprecated_filters/deprecated_filters.php:94
2113
+ msgid ""
2114
+ "ATTENTION! After disabling this addon all filters will be converted to new "
2115
+ "version and there is no way to convert them back automatically."
2116
  msgstr ""
2117
 
2118
+ #: addons/deprecated_filters/deprecated_filters.php:95
2119
+ msgid "We recommend you to try it on a staging/dev/local site first."
2120
  msgstr ""
2121
 
2122
+ #: addons/deprecated_filters/deprecated_filters.php:96
2123
+ msgid ""
2124
+ "Please check this on addon deactivation (it will be deactivated when "
2125
+ "settings saved)."
2126
  msgstr ""
2127
 
2128
+ #: addons/deprecated_filters/deprecated_filters.php:98
2129
+ msgid ""
2130
+ "Filters on Front-end, how they looks and works. Some styles can differ in "
2131
+ "new version."
2132
  msgstr ""
2133
 
2134
+ #: addons/deprecated_filters/deprecated_filters.php:100
2135
+ msgid ""
2136
+ "You have Custom CSS. Most likely it won't work without this addon. You will "
2137
+ "need to update it as CSS classes were changed."
2138
  msgstr ""
2139
 
2140
+ #: addons/deprecated_filters/deprecated_filters.php:107
2141
+ msgid ""
2142
+ "You have Custom Javascript. You need to check it after turning off this "
2143
+ "addon. It can work correctly same as stop working."
2144
  msgstr ""
2145
 
2146
+ #: addons/deprecated_filters/deprecated_filters.php:110
2147
+ msgid "Do you want to disable it anyway?"
2148
  msgstr ""
2149
 
2150
+ #: addons/deprecated_filters/deprecated_filters.php:116
2151
+ msgid "Yes, disable add-on"
2152
  msgstr ""
2153
 
2154
+ #: addons/deprecated_filters/deprecated_filters.php:117
2155
+ msgid "No, turn it back"
2156
  msgstr ""
2157
 
2158
+ #: addons/deprecated_filters/deprecated_filters.php:154
2159
+ msgid "Select2"
2160
  msgstr ""
2161
 
2162
+ #: addons/deprecated_filters/deprecated_filters.php:159
2163
+ msgid "Use Select2 script for dropdown menu"
2164
  msgstr ""
2165
 
2166
+ #: addons/deprecated_filters/display_widget.php:441
2167
+ #: includes/filters/display_widget.php:482
2168
+ msgid "1 star"
2169
  msgstr ""
2170
 
2171
+ #: addons/deprecated_filters/display_widget.php:441
2172
+ #: includes/filters/display_widget.php:482
2173
+ msgid ""
2174
+ "<i class=\"fa fa-star\"></i><i class=\"fa fa-star-o\"></i><i class=\"fa fa-"
2175
+ "star-o\"></i><i class=\"fa fa-star-o\"></i><i class=\"fa fa-star-o\"></i>"
2176
  msgstr ""
2177
 
2178
+ #: addons/deprecated_filters/display_widget.php:442
2179
+ #: includes/filters/display_widget.php:483
2180
+ msgid "2 stars"
2181
  msgstr ""
2182
 
2183
+ #: addons/deprecated_filters/display_widget.php:442
2184
+ #: includes/filters/display_widget.php:483
2185
+ msgid ""
2186
+ "<i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-"
2187
+ "star-o\"></i><i class=\"fa fa-star-o\"></i><i class=\"fa fa-star-o\"></i>"
2188
  msgstr ""
2189
 
2190
+ #: addons/deprecated_filters/display_widget.php:443
2191
+ #: includes/filters/display_widget.php:484
2192
+ msgid "3 stars"
2193
  msgstr ""
2194
 
2195
+ #: addons/deprecated_filters/display_widget.php:443
2196
+ #: includes/filters/display_widget.php:484
2197
+ msgid ""
2198
+ "<i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-"
2199
+ "star\"></i><i class=\"fa fa-star-o\"></i><i class=\"fa fa-star-o\"></i>"
2200
  msgstr ""
2201
 
2202
+ #: addons/deprecated_filters/display_widget.php:444
2203
+ #: includes/filters/display_widget.php:485
2204
+ msgid "4 stars"
2205
  msgstr ""
2206
 
2207
+ #: addons/deprecated_filters/display_widget.php:444
2208
+ #: includes/filters/display_widget.php:485
2209
+ msgid ""
2210
+ "<i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-"
2211
+ "star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-star-o\"></i>"
2212
  msgstr ""
2213
 
2214
+ #: addons/deprecated_filters/display_widget.php:445
2215
+ #: includes/filters/display_widget.php:486
2216
+ msgid "5 stars"
2217
  msgstr ""
2218
 
2219
+ #: addons/deprecated_filters/display_widget.php:445
2220
+ #: includes/filters/display_widget.php:486
2221
+ msgid ""
2222
+ "<i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-"
2223
+ "star\"></i><i class=\"fa fa-star\"></i><i class=\"fa fa-star\"></i>"
2224
  msgstr ""
2225
 
2226
+ #: addons/deprecated_filters/display_widget.php:501
2227
+ #: addons/deprecated_filters/filter_post.php:382
2228
+ #: includes/filters/display_widget.php:534
2229
+ #: templates/single_filter/single_settings_elements.php:322
2230
+ msgid "Any"
2231
  msgstr ""
2232
 
2233
+ #: addons/deprecated_filters/filter_post.php:15
2234
+ msgid "ATTENTION! This filter was created with new styles and settings."
2235
  msgstr ""
2236
 
2237
+ #: addons/deprecated_filters/filter_post.php:16
2238
+ msgid ""
2239
+ "Plugin do not have feature to move it back to old(DEPRECATED) version "
2240
+ "automatically."
2241
  msgstr ""
2242
 
2243
+ #: addons/deprecated_filters/filter_post.php:17
2244
+ msgid ""
2245
+ "If you enabled old(DEPRECATED) filters addon because you have some issues "
2246
+ "with new version, then please "
2247
  msgstr ""
2248
 
2249
+ #: addons/deprecated_filters/filter_post.php:18
2250
+ msgid "CONTACT US"
 
2251
  msgstr ""
2252
 
2253
+ #: addons/deprecated_filters/filter_post.php:19
2254
+ msgid ""
2255
+ "You will need to re-create the filter while moving from new to old version."
2256
  msgstr ""
2257
 
2258
+ #: addons/deprecated_filters/filter_post.php:20
2259
+ msgid "Do you want to edit anyway?"
2260
+ msgstr ""
2261
+
2262
+ #: addons/deprecated_filters/filter_post.php:25
2263
+ msgid "Yes, edit filter"
2264
+ msgstr ""
2265
+
2266
+ #: addons/deprecated_filters/filter_post.php:26
2267
+ msgid "No, return back"
2268
+ msgstr ""
2269
+
2270
+ #: addons/deprecated_filters/filter_post.php:212
2271
+ #: templates/single_filter/single_settings_elements.php:122
2272
+ #: templates/single_filter/single_settings_elements.php:142
2273
+ msgid "Values Order"
2274
+ msgstr ""
2275
+
2276
+ #: addons/deprecated_filters/filter_post.php:215
2277
+ #: templates/single_filter/single_settings_elements.php:113
2278
+ msgid "Alpha"
2279
+ msgstr ""
2280
+
2281
+ #: addons/deprecated_filters/filter_post.php:215
2282
+ #: templates/single_filter/single_settings_elements.php:117
2283
+ msgid "Numeric"
2284
+ msgstr ""
2285
+
2286
+ #: addons/deprecated_filters/filter_post.php:221
2287
+ msgid "Order Type"
2288
+ msgstr ""
2289
+
2290
+ #: addons/deprecated_filters/filter_post.php:223
2291
+ #: templates/single_filter/single_settings_elements.php:133
2292
+ msgid "Ascending"
2293
+ msgstr ""
2294
+
2295
+ #: addons/deprecated_filters/filter_post.php:223
2296
+ #: templates/single_filter/single_settings_elements.php:137
2297
+ msgid "Descending"
2298
+ msgstr ""
2299
+
2300
+ #: addons/deprecated_filters/filter_post.php:291
2301
+ msgid "Infinity text"
2302
+ msgstr ""
2303
+
2304
+ #: addons/deprecated_filters/filter_post.php:306
2305
+ #: addons/deprecated_filters/filter_post.php:472
2306
+ msgid "Disable multiple selection?"
2307
+ msgstr ""
2308
+
2309
+ #: addons/deprecated_filters/filter_post.php:312
2310
+ msgid "Text before price:"
2311
+ msgstr ""
2312
+
2313
+ #: addons/deprecated_filters/filter_post.php:316
2314
+ msgid "after:"
2315
+ msgstr ""
2316
+
2317
+ #: addons/deprecated_filters/filter_post.php:323
2318
+ #: templates/single_filter/single_settings_elements.php:351
2319
+ msgid "Enable Slider Inputs"
2320
+ msgstr ""
2321
+
2322
+ #: addons/deprecated_filters/filter_post.php:327
2323
+ msgid "Use custom values(comma separated):"
2324
+ msgstr ""
2325
+
2326
+ #: addons/deprecated_filters/filter_post.php:329
2327
+ #: templates/single_filter/single_settings_elements.php:526
2328
+ msgid "* use numeric values only, strings will not work as expected"
2329
+ msgstr ""
2330
+
2331
+ #: addons/deprecated_filters/filter_post.php:337
2332
+ msgid "Use current product category to get child"
2333
+ msgstr ""
2334
+
2335
+ #: addons/deprecated_filters/filter_post.php:342
2336
+ msgid "Deep level:"
2337
+ msgstr ""
2338
+
2339
+ #: addons/deprecated_filters/filter_post.php:348
2340
+ msgid "Product Category:"
2341
+ msgstr ""
2342
+
2343
+ #: addons/deprecated_filters/filter_post.php:356
2344
+ msgid "None"
2345
+ msgstr ""
2346
+
2347
+ #: addons/deprecated_filters/filter_post.php:381
2348
+ #: templates/single_filter/single_settings_elements.php:320
2349
+ msgid "First Element Text"
2350
+ msgstr ""
2351
+
2352
+ #: addons/deprecated_filters/filter_post.php:387
2353
+ msgid "Multiple select"
2354
+ msgstr ""
2355
+
2356
+ #: addons/deprecated_filters/filter_post.php:392
2357
+ msgid "Advanced Settings"
2358
+ msgstr ""
2359
+
2360
+ #: addons/deprecated_filters/filter_post.php:398
2361
+ #: templates/single_filter/single_settings_elements.php:330
2362
+ msgid "Attribute Values count"
2363
+ msgstr ""
2364
+
2365
+ #: addons/deprecated_filters/filter_post.php:399
2366
+ #: templates/single_filter/single_settings_elements.php:331
2367
+ msgid "From settings"
2368
+ msgstr ""
2369
+
2370
+ #: addons/deprecated_filters/filter_post.php:400
2371
+ #: templates/single_filter/single_settings_elements.php:335
2372
+ msgid "Show/Hide button"
2373
+ msgstr ""
2374
+
2375
+ #: addons/deprecated_filters/filter_post.php:403
2376
+ #: templates/single_filter/single_settings_elements.php:338
2377
+ msgid "Always visible"
2378
+ msgstr ""
2379
+
2380
+ #: addons/deprecated_filters/filter_post.php:404
2381
+ #: templates/single_filter/single_settings_elements.php:339
2382
+ msgid "Always hidden"
2383
+ msgstr ""
2384
+
2385
+ #: addons/deprecated_filters/filter_post.php:412
2386
+ #: templates/single_filter/single_settings_elements.php:590
2387
+ msgid "Use specific number style"
2388
+ msgstr ""
2389
+
2390
+ #: addons/deprecated_filters/filter_post.php:416
2391
+ #: templates/single_filter/single_settings_elements.php:595
2392
+ msgid "Thousand Separator"
2393
+ msgstr ""
2394
+
2395
+ #: addons/deprecated_filters/filter_post.php:420
2396
+ #: templates/single_filter/single_settings_elements.php:598
2397
+ msgid "Decimal Separator"
2398
+ msgstr ""
2399
+
2400
+ #: addons/deprecated_filters/filter_post.php:424
2401
+ #: templates/single_filter/single_settings_elements.php:601
2402
+ msgid "Number Of Decimal"
2403
+ msgstr ""
2404
+
2405
+ #: addons/deprecated_filters/filter_post.php:451
2406
+ #: addons/deprecated_filters/filter_post.php:623
2407
+ msgid "Hide collapse arrow?"
2408
+ msgstr ""
2409
+
2410
+ #: addons/deprecated_filters/filter_post.php:458
2411
+ msgid "Show hierarchical values as a tree with hidden child values on load?"
2412
+ msgstr ""
2413
+
2414
+ #: addons/deprecated_filters/filter_post.php:468
2415
+ #: templates/single_filter/single_settings_elements.php:449
2416
+ msgid "Display value with color/image box?"
2417
+ msgstr ""
2418
+
2419
+ #: addons/deprecated_filters/filter_post.php:475
2420
+ #: templates/single_filter/single_settings_elements.php:461
2421
+ msgid "Size of blocks(Height x Width)"
2422
+ msgstr ""
2423
+
2424
+ #: addons/deprecated_filters/filter_post.php:479
2425
+ #: templates/single_filter/single_settings_elements.php:464
2426
+ msgid "2em x 2em"
2427
+ msgstr ""
2428
+
2429
+ #: addons/deprecated_filters/filter_post.php:480
2430
+ #: templates/single_filter/single_settings_elements.php:465
2431
+ msgid "1em x 1em"
2432
+ msgstr ""
2433
+
2434
+ #: addons/deprecated_filters/filter_post.php:481
2435
+ #: templates/single_filter/single_settings_elements.php:466
2436
+ msgid "1em x 2em"
2437
+ msgstr ""
2438
+
2439
+ #: addons/deprecated_filters/filter_post.php:482
2440
+ #: templates/single_filter/single_settings_elements.php:467
2441
+ msgid "2em x 3em"
2442
+ msgstr ""
2443
+
2444
+ #: addons/deprecated_filters/filter_post.php:483
2445
+ #: templates/single_filter/single_settings_elements.php:468
2446
+ msgid "2em x 4em"
2447
+ msgstr ""
2448
+
2449
+ #: addons/deprecated_filters/filter_post.php:484
2450
+ #: templates/single_filter/single_settings_elements.php:469
2451
+ msgid "3em x 3em"
2452
+ msgstr ""
2453
+
2454
+ #: addons/deprecated_filters/filter_post.php:485
2455
+ #: templates/single_filter/single_settings_elements.php:470
2456
+ msgid "3em x 4em"
2457
+ msgstr ""
2458
+
2459
+ #: addons/deprecated_filters/filter_post.php:486
2460
+ #: templates/single_filter/single_settings_elements.php:471
2461
+ msgid "3em x 5em"
2462
+ msgstr ""
2463
+
2464
+ #: addons/deprecated_filters/filter_post.php:487
2465
+ #: templates/single_filter/single_settings_elements.php:472
2466
+ msgid "4em x 4em"
2467
+ msgstr ""
2468
+
2469
+ #: addons/deprecated_filters/filter_post.php:488
2470
+ #: templates/single_filter/single_settings_elements.php:473
2471
+ msgid "4em x 5em"
2472
+ msgstr ""
2473
+
2474
+ #: addons/deprecated_filters/filter_post.php:489
2475
+ #: templates/single_filter/single_settings_elements.php:474
2476
+ msgid "5em x 5em"
2477
+ msgstr ""
2478
+
2479
+ #: addons/deprecated_filters/filter_post.php:490
2480
+ #: templates/single_filter/single_settings_elements.php:475
2481
+ msgid "Custom size"
2482
+ msgstr ""
2483
+
2484
+ #: addons/deprecated_filters/filter_post.php:498
2485
+ msgid "Custom size(Height x Width)"
2486
+ msgstr ""
2487
+
2488
+ #: addons/deprecated_filters/filter_post.php:505
2489
+ #: templates/single_filter/single_settings_elements.php:496
2490
+ msgid "Checked type"
2491
+ msgstr ""
2492
+
2493
+ #: addons/deprecated_filters/filter_post.php:510
2494
+ #: templates/single_filter/single_settings_elements.php:500
2495
+ msgid "Rotate"
2496
+ msgstr ""
2497
+
2498
+ #: addons/deprecated_filters/filter_post.php:511
2499
+ #: templates/single_filter/single_settings_elements.php:501
2500
+ msgid "Scale"
2501
+ msgstr ""
2502
+
2503
+ #: addons/deprecated_filters/filter_post.php:512
2504
+ #: templates/single_filter/single_settings_elements.php:502
2505
+ msgid "Blue Shadow"
2506
+ msgstr ""
2507
+
2508
+ #: addons/deprecated_filters/filter_post.php:513
2509
+ #: templates/single_filter/single_settings_elements.php:505
2510
+ msgid "Custom CSS"
2511
+ msgstr ""
2512
+
2513
+ #: addons/deprecated_filters/filter_post.php:521
2514
+ #: templates/single_filter/single_settings_elements.php:514
2515
+ msgid "Custom CSS for Checked block"
2516
+ msgstr ""
2517
+
2518
+ #: addons/deprecated_filters/filter_post.php:528
2519
+ msgid "Icons"
2520
+ msgstr ""
2521
+
2522
+ #: addons/deprecated_filters/filter_post.php:530
2523
+ msgid "Title Icons"
2524
+ msgstr ""
2525
+
2526
+ #: addons/deprecated_filters/filter_post.php:536
2527
+ msgid "Value Icons"
2528
+ msgstr ""
2529
+
2530
+ #: addons/deprecated_filters/filter_post.php:549
2531
+ #: templates/single_filter/single_settings_elements.php:370
2532
+ msgid "CSS Class"
2533
+ msgstr ""
2534
+
2535
+ #: addons/deprecated_filters/filter_post.php:551
2536
+ #: templates/single_filter/single_settings_elements.php:372
2537
+ msgid "(use white space for multiple classes)"
2538
+ msgstr ""
2539
+
2540
+ #: addons/deprecated_filters/filter_post.php:556
2541
+ msgid "Tags Cloud Height:"
2542
+ msgstr ""
2543
+
2544
+ #: addons/deprecated_filters/filter_post.php:560
2545
+ msgid "Min Font Size:"
2546
+ msgstr ""
2547
+
2548
+ #: addons/deprecated_filters/filter_post.php:564
2549
+ msgid "Max Font Size:"
2550
+ msgstr ""
2551
+
2552
+ #: addons/deprecated_filters/filter_post.php:568
2553
+ msgid "Max Tags Count:"
2554
+ msgstr ""
2555
+
2556
+ #: addons/deprecated_filters/filter_post.php:576
2557
+ #: templates/single_filter/single_settings_elements.php:534
2558
+ msgid "Use min price"
2559
+ msgstr ""
2560
+
2561
+ #: addons/deprecated_filters/filter_post.php:585
2562
+ #: templates/single_filter/single_settings_elements.php:539
2563
+ msgid "Use max price"
2564
+ msgstr ""
2565
+
2566
+ #: addons/deprecated_filters/filter_post.php:594
2567
+ msgid "Filter Box Height:"
2568
+ msgstr ""
2569
+
2570
+ #: addons/deprecated_filters/filter_post.php:598
2571
+ msgid "Scroll Theme:"
2572
+ msgstr ""
2573
+
2574
+ #: addons/deprecated_filters/filter_post.php:617
2575
+ #: templates/single_filter/single_settings_elements.php:612
2576
+ msgid "Show if nothing is selected"
2577
+ msgstr ""
2578
+
2579
+ #: addons/deprecated_filters/filter_post.php:629
2580
+ msgid "Hide this widget on load?"
2581
+ msgstr ""
2582
+
2583
+ #: addons/deprecated_filters/filter_post.php:669
2584
+ msgid "Widget Output Limitations"
2585
+ msgstr ""
2586
+
2587
+ #: addons/deprecated_filters/filter_post.php:671
2588
+ msgid "Product Category Value Limitation"
2589
+ msgstr ""
2590
+
2591
+ #: addons/deprecated_filters/filter_post.php:698
2592
+ #: templates/single_filter/single_settings_elements.php:621
2593
+ msgid "Hide button"
2594
+ msgstr ""
2595
+
2596
+ #: addons/deprecated_filters/filter_post.php:700
2597
+ #: templates/single_filter/single_settings_elements.php:623
2598
+ msgid "Do not hide"
2599
+ msgstr ""
2600
+
2601
+ #: addons/deprecated_filters/filter_post.php:701
2602
+ #: templates/single_filter/single_settings_elements.php:624
2603
+ msgid "Hide only when no filters on page"
2604
+ msgstr ""
2605
+
2606
+ #: addons/deprecated_filters/filter_post.php:702
2607
+ #: templates/single_filter/single_settings_elements.php:625
2608
+ msgid "Hide when no filters on page or page not filtered"
2609
+ msgstr ""
2610
+
2611
+ #: addons/filtering_conditions/add_conditions.php:39
2612
+ #: addons/filtering_conditions/filtering_conditions.php:9
2613
+ msgid "Nested Filters (BETA)"
2614
+ msgstr ""
2615
+
2616
+ #: addons/filtering_conditions/add_conditions.php:47
2617
+ msgid ""
2618
+ "Use this to display products only after filtering by some attribute and value"
2619
+ msgstr ""
2620
+
2621
+ #: addons/filtering_conditions/filtering_conditions.php:10
2622
+ msgid ""
2623
+ "The ability to set conditions for the filters based on other filters status"
2624
+ msgstr ""
2625
+
2626
+ #: addons/separate_link/separate_link.php:9
2627
+ msgid "Link like WooCommerce (BETA)"
2628
+ msgstr ""
2629
+
2630
+ #: addons/separate_link/separate_link.php:10
2631
+ msgid ""
2632
+ "Links after filtering will look like Woocommerce.<br>\n"
2633
+ " <i>Example:</i><br><span style=\"color: #aaf;\">https://example."
2634
+ "com/shop/?pa-color=bronze,green&pa-product_cat_operator=or&pa-"
2635
+ "product_cat=dress</span>\n"
2636
+ " <a class=\"button\" href=\"https://docs.berocket."
2637
+ "com/docs_section/link-like-woocommerce-beta\" target=\"_blank\">Read more</a>"
2638
+ msgstr ""
2639
+
2640
+ #: addons/separate_link/separate_vars.php:29
2641
+ msgid "Default operator for URLs"
2642
+ msgstr ""
2643
+
2644
+ #: addons/separate_link/separate_vars.php:33
2645
+ #: templates/single_filter/single_settings_elements.php:314
2646
+ msgid "OR"
2647
+ msgstr ""
2648
+
2649
+ #: addons/separate_link/separate_vars.php:34
2650
+ #: templates/single_filter/single_settings_elements.php:315
2651
+ msgid "AND"
2652
+ msgstr ""
2653
+
2654
+ #: addons/separate_link/separate_vars.php:37
2655
+ msgid "Default operator will not be added to the URL"
2656
+ msgstr ""
2657
+
2658
+ #: includes/addons/seo_meta_title.php:14 includes/addons/seo_meta_title.php:19
2659
+ #: includes/addons/seo_meta_title.php:53 includes/addons/seo_meta_title.php:63
2660
+ #: includes/addons/seo_meta_title.php:85
2661
+ msgid " and "
2662
+ msgstr ""
2663
+
2664
+ #: includes/addons/seo_meta_title.php:15 includes/addons/seo_meta_title.php:54
2665
+ #: includes/addons/seo_meta_title.php:86
2666
+ msgid " or "
2667
+ msgstr ""
2668
+
2669
+ #: includes/addons/seo_meta_title.php:22 includes/addons/seo_meta_title.php:69
2670
+ msgid " with "
2671
+ msgstr ""
2672
+
2673
+ #: includes/addons/seo_meta_title.php:90
2674
+ msgid " / "
2675
+ msgstr ""
2676
+
2677
+ #: includes/addons/seo_meta_title.php:93
2678
+ msgid " - "
2679
+ msgstr ""
2680
+
2681
+ #: includes/admin/admin_bar.php:35
2682
+ msgid "Filters not detected on page"
2683
+ msgstr ""
2684
+
2685
+ #: includes/compatibility/beaver-builder.php:16
2686
+ #: includes/compatibility/divi-theme-builder.php:31
2687
+ #: includes/compatibility/elementor-pro.php:13
2688
+ msgid "Apply BeRocket AJAX Filters"
2689
+ msgstr ""
2690
+
2691
+ #: includes/compatibility/beaver-builder.php:20
2692
+ #: includes/compatibility/divi-theme-builder.php:36
2693
+ #: includes/compatibility/elementor-pro.php:19
2694
+ msgid "Enable"
2695
+ msgstr ""
2696
+
2697
+ #: includes/compatibility/divi-theme-builder.php:40
2698
+ #: includes/compatibility/elementor-pro.php:15
2699
+ msgid ""
2700
+ "All Filters will be applied to this module. You need correct unique "
2701
+ "selectors to work correct"
2702
+ msgstr ""
2703
+
2704
+ #: templates/paid/filters_group.php:3
2705
+ msgid "Show filters above products"
2706
+ msgstr ""
2707
+
2708
+ #: templates/paid/filters_group.php:20
2709
+ msgid "Display filters in line"
2710
  msgstr ""
2711
 
2712
+ #: templates/paid/filters_group.php:26
2713
+ msgid "Display filters in line max count"
2714
  msgstr ""
2715
 
2716
+ #: templates/paid/filters_group.php:41
2717
+ msgid "Min Width for Filter"
2718
  msgstr ""
2719
 
2720
+ #: templates/paid/filters_group.php:47
2721
+ msgid "Show title only"
2722
  msgstr ""
2723
 
2724
+ #: templates/paid/filters_group.php:50
2725
+ msgid ""
2726
+ "Only title will be visible. Filter will be displayed after click on title "
2727
+ "and hide after click everywhere else"
2728
  msgstr ""
2729
 
2730
+ #: templates/paid/filters_group.php:54
2731
+ msgid "Display filters on mouse over"
 
2732
  msgstr ""
2733
 
2734
+ #: templates/paid/filters_group.php:57
2735
+ msgid "Display on mouse over and hide on mouse leave"
 
 
2736
  msgstr ""
2737
 
2738
+ #: templates/paid/filters_group.php:61
2739
+ msgid "Collapsed on page load"
2740
  msgstr ""
2741
 
2742
+ #: templates/paid/filters_group.php:64
2743
+ msgid ""
2744
+ "Collapse group on page load and show icon instead. When icon is clicked "
2745
+ "filters will be shown"
2746
  msgstr ""
2747
 
2748
+ #: templates/paid/filters_search_box.php:4
2749
+ msgid "Use Group as Search Box"
 
 
 
 
 
 
 
 
 
 
 
 
2750
  msgstr ""
2751
 
2752
+ #: templates/settings/design.php:6
2753
+ msgid "Show title only Styles"
2754
  msgstr ""
2755
 
2756
+ #: templates/settings/design.php:8
2757
+ #: addons/deprecated_filters/settings/design.php:11
2758
+ #: addons/deprecated_filters/settings/design.php:26
2759
+ #: addons/deprecated_filters/settings/design.php:148
2760
+ msgid "Element"
2761
  msgstr ""
2762
 
2763
+ #: templates/settings/design.php:9
2764
+ #: addons/deprecated_filters/settings/design.php:149
2765
+ #: addons/deprecated_filters/settings/design.php:706
2766
  msgid "Border color"
2767
  msgstr ""
2768
 
2769
+ #: templates/settings/design.php:10
2770
+ #: addons/deprecated_filters/settings/design.php:150
2771
  msgid "Border width"
2772
  msgstr ""
2773
 
2774
+ #: templates/settings/design.php:11
2775
+ #: addons/deprecated_filters/settings/design.php:151
2776
  msgid "Border radius"
2777
  msgstr ""
2778
 
2779
+ #: templates/settings/design.php:12
2780
+ #: addons/deprecated_filters/settings/design.php:152
2781
  msgid "Size"
2782
  msgstr ""
2783
 
2784
+ #: templates/settings/design.php:13
2785
+ #: addons/deprecated_filters/settings/design.php:153
2786
+ #: addons/deprecated_filters/settings/design.php:708
2787
  msgid "Font color"
2788
  msgstr ""
2789
 
2790
+ #: templates/settings/design.php:14
2791
+ #: addons/deprecated_filters/settings/design.php:154
2792
  msgid "Background"
2793
  msgstr ""
2794
 
2795
+ #: templates/settings/design.php:26 templates/settings/design.php:29
2796
+ #: templates/settings/design.php:32 templates/settings/design.php:53
2797
+ #: templates/settings/design.php:56 templates/settings/design.php:59
2798
+ #: templates/settings/design.php:80 templates/settings/design.php:83
2799
+ #: templates/settings/design.php:86
2800
+ #: addons/deprecated_filters/settings/design.php:65
2801
+ #: addons/deprecated_filters/settings/design.php:80
2802
+ #: addons/deprecated_filters/settings/design.php:117
2803
+ #: addons/deprecated_filters/settings/design.php:168
2804
+ #: addons/deprecated_filters/settings/design.php:171
2805
+ #: addons/deprecated_filters/settings/design.php:174
2806
+ #: addons/deprecated_filters/settings/design.php:424
2807
+ #: addons/deprecated_filters/settings/design.php:427
2808
+ #: addons/deprecated_filters/settings/design.php:430
2809
+ #: addons/deprecated_filters/settings/design.php:661
2810
+ #: addons/deprecated_filters/settings/design.php:669
2811
+ #: addons/deprecated_filters/settings/design.php:672
2812
+ #: addons/deprecated_filters/settings/design.php:685
2813
+ #: addons/deprecated_filters/settings/design.php:688
2814
+ #: addons/deprecated_filters/settings/design.php:730
2815
+ #: addons/deprecated_filters/settings/design.php:738
2816
+ #: addons/deprecated_filters/settings/design.php:751
2817
+ msgid "Theme Default"
2818
  msgstr ""
2819
 
2820
+ #: templates/settings/design.php:46
2821
+ msgid "Title opened"
2822
  msgstr ""
2823
 
2824
+ #: templates/settings/design.php:103
2825
+ #: addons/deprecated_filters/settings/design.php:35
2826
+ #: addons/deprecated_filters/settings/design.php:626
2827
+ #: addons/deprecated_filters/settings/design.php:695
2828
+ #: addons/deprecated_filters/settings/design.php:768
2829
+ msgid "Set all to theme default"
2830
  msgstr ""
2831
 
2832
+ #: templates/settings/design.php:111
2833
+ msgid "Loading icon"
2834
  msgstr ""
2835
 
2836
+ #: templates/settings/design.php:119
2837
+ msgid "Loading icon text"
2838
  msgstr ""
2839
 
2840
+ #: templates/settings/design.php:121
2841
+ msgid "Above:"
2842
  msgstr ""
2843
 
2844
+ #: templates/settings/design.php:124
2845
+ msgid "Below:"
2846
  msgstr ""
2847
 
2848
+ #: templates/settings/design.php:127
2849
+ msgid "Before:"
2850
  msgstr ""
2851
 
2852
+ #: templates/settings/design.php:130
2853
+ msgid "After:"
2854
  msgstr ""
2855
 
2856
+ #: templates/settings/design.php:136
2857
+ msgid "Show and hide description"
2858
  msgstr ""
2859
 
2860
+ #: templates/settings/design.php:138
2861
+ msgid "Show when user:"
2862
  msgstr ""
2863
 
2864
+ #: templates/settings/design.php:140
2865
+ msgid "Click"
2866
  msgstr ""
2867
 
2868
+ #: templates/settings/design.php:141
2869
+ msgid "Hovering over the icon"
2870
  msgstr ""
2871
 
2872
+ #: templates/settings/design.php:148
2873
+ msgid "Product quantity style"
2874
  msgstr ""
2875
 
2876
+ #: templates/settings/design.php:151
2877
+ msgid "4"
2878
  msgstr ""
2879
 
2880
+ #: templates/settings/design.php:152
2881
+ msgid "(4)"
2882
  msgstr ""
2883
 
2884
+ #: templates/settings/design.php:153
2885
+ msgid "[4]"
2886
  msgstr ""
2887
 
2888
+ #: templates/settings/design.php:157
2889
+ msgid "Position:"
2890
  msgstr ""
2891
 
2892
+ #: templates/settings/design.php:159 templates/settings/design.php:167
2893
+ msgid "Normal"
2894
  msgstr ""
2895
 
2896
+ #: templates/settings/design.php:160 templates/settings/design.php:168
2897
+ #: templates/single_filter/single_settings_elements.php:454
2898
+ msgid "Right"
2899
  msgstr ""
2900
 
2901
+ #: templates/settings/design.php:161
2902
+ msgid "Right from name"
2903
  msgstr ""
2904
 
2905
+ #: templates/settings/design.php:165
2906
+ msgid "Position on Image:"
2907
  msgstr ""
2908
 
2909
+ #: templates/settings/design.php:175
2910
+ msgid "Indent option for hierarchy in Drop-Down"
2911
  msgstr ""
2912
 
2913
+ #: templates/settings/design.php:178
2914
+ msgid "-"
2915
  msgstr ""
2916
 
2917
+ #: templates/settings/design.php:179
2918
+ msgid "space"
2919
  msgstr ""
2920
 
2921
+ #: templates/settings/design.php:180
2922
+ msgid "2 spaces"
2923
  msgstr ""
2924
 
2925
+ #: templates/settings/design.php:181
2926
+ msgid "tab"
2927
  msgstr ""
2928
 
2929
+ #: templates/single_filter/all_steps.php:11
2930
+ msgid "Attribute and Values"
2931
  msgstr ""
2932
 
2933
+ #: templates/single_filter/all_steps.php:14
2934
+ msgid "Style"
2935
  msgstr ""
2936
 
2937
+ #: templates/single_filter/all_steps.php:17
2938
+ msgid "Required Options"
2939
  msgstr ""
2940
 
2941
+ #: templates/single_filter/all_steps.php:23
2942
+ msgid "Save Filter"
2943
  msgstr ""
2944
 
2945
+ #: templates/single_filter/all_steps.php:30
2946
+ msgid "Filter Title"
2947
  msgstr ""
2948
 
2949
+ #: templates/single_filter/all_steps.php:31
2950
+ msgid "Text on Button"
2951
  msgstr ""
2952
 
2953
+ #: templates/single_filter/all_steps.php:32
2954
+ msgid "Empty"
2955
  msgstr ""
2956
 
2957
+ #: templates/single_filter/all_steps.php:67
2958
+ msgid ""
2959
+ "There are required steps not filled in. Please select <b>Widget Type</b>"
2960
  msgstr ""
2961
 
2962
+ #: templates/single_filter/all_steps.php:75
2963
+ msgid "There are required steps not filled in. Please select <b>Style</b>"
2964
  msgstr ""
2965
 
2966
+ #: templates/single_filter/single_settings_elements.php:162
2967
+ msgid "Limit filter values by products from selected category"
2968
  msgstr ""
2969
 
2970
+ #: templates/single_filter/single_settings_elements.php:164
2971
+ msgid "Use all attribute values"
2972
  msgstr ""
2973
 
2974
+ #: templates/single_filter/single_settings_elements.php:165
2975
+ msgid "Limit by category:"
2976
  msgstr ""
2977
 
2978
+ #: templates/single_filter/single_settings_elements.php:271
2979
+ msgid "Hierarchical"
2980
  msgstr ""
2981
 
2982
+ #: templates/single_filter/single_settings_elements.php:274
2983
+ msgid "Display hierarchical"
2984
  msgstr ""
2985
 
2986
+ #: templates/single_filter/single_settings_elements.php:275
2987
+ msgid "Display hierarchical and hide child"
2988
  msgstr ""
2989
 
2990
+ #: templates/single_filter/single_settings_elements.php:287
2991
+ msgid "Enabled with arrow"
2992
  msgstr ""
2993
 
2994
+ #: templates/single_filter/single_settings_elements.php:288
2995
+ msgid "Enabled without arrow"
2996
  msgstr ""
2997
 
2998
+ #: templates/single_filter/single_settings_elements.php:289
2999
+ msgid "Enabled without arrow on mobile"
3000
  msgstr ""
3001
 
3002
+ #: templates/single_filter/single_settings_elements.php:307
3003
+ msgid "Single Selection. Only one value can be selected at a time"
3004
  msgstr ""
3005
 
3006
+ #: templates/single_filter/single_settings_elements.php:321
3007
+ msgid "Placeholder Text"
3008
  msgstr ""
3009
 
3010
+ #: templates/single_filter/single_settings_elements.php:362
3011
+ msgid "Description do not displayed"
3012
  msgstr ""
3013
 
3014
+ #: templates/single_filter/single_settings_elements.php:380
3015
+ msgid "Filter Box Height"
3016
  msgstr ""
3017
 
3018
+ #: templates/single_filter/single_settings_elements.php:381
3019
+ msgid "Auto"
3020
  msgstr ""
3021
 
3022
+ #: templates/single_filter/single_settings_elements.php:385
3023
+ msgid "Scroll Theme"
3024
  msgstr ""
3025
 
3026
+ #: templates/single_filter/single_settings_elements.php:426
3027
+ msgid "Icon Before Title"
3028
  msgstr ""
3029
 
3030
+ #: templates/single_filter/single_settings_elements.php:430
3031
+ msgid "Icon After Title"
3032
  msgstr ""
3033
 
3034
+ #: templates/single_filter/single_settings_elements.php:436
3035
+ msgid "Icon Before Value"
 
 
3036
  msgstr ""
3037
 
3038
+ #: templates/single_filter/single_settings_elements.php:440
3039
+ msgid "Icon After Value"
3040
  msgstr ""
3041
 
3042
+ #: templates/single_filter/single_settings_elements.php:452
3043
+ msgid "Top"
3044
  msgstr ""
3045
 
3046
+ #: templates/single_filter/single_settings_elements.php:453
3047
+ msgid "Left"
3048
  msgstr ""
3049
 
3050
+ #: templates/single_filter/single_settings_elements.php:455
3051
+ msgid "Bottom"
 
 
3052
  msgstr ""
3053
 
3054
+ #: templates/single_filter/single_settings_elements.php:456
3055
+ msgid "Tooltip"
3056
  msgstr ""
3057
 
3058
+ #: templates/single_filter/single_settings_elements.php:503
3059
+ msgid "Image shadow(EXPERIMENTAL)"
 
3060
  msgstr ""
3061
 
3062
+ #: templates/single_filter/single_settings_elements.php:504
3063
+ msgid "Color Change(EXPERIMENTAL)"
 
3064
  msgstr ""
3065
 
3066
+ #: templates/single_filter/single_settings_elements.php:524
3067
+ msgid "Use custom values(comma separated)"
 
3068
  msgstr ""
3069
 
3070
+ #: templates/single_filter/single_settings_elements.php:525
3071
+ msgid "Use default price values"
3072
  msgstr ""
3073
 
3074
+ #: templates/single_filter/single_settings_elements.php:535
3075
+ #: templates/single_filter/single_settings_elements.php:540
3076
+ msgid "From Products List"
3077
  msgstr ""
3078
 
3079
+ #: templates/single_filter/single_settings_elements.php:548
3080
+ msgid "Text Before Slider Value"
3081
  msgstr ""
3082
 
3083
+ #: templates/single_filter/single_settings_elements.php:554
3084
+ msgid "Text After Slider Value"
3085
  msgstr ""
3086
 
3087
+ #: templates/single_filter/single_settings_elements.php:631
3088
+ msgid "SAVE FILTER"
3089
  msgstr ""
3090
 
3091
+ #: templates/single_filter/single_settings_elements.php:712
3092
+ msgid "Check Box"
3093
  msgstr ""
3094
 
3095
+ #: templates/single_filter/single_settings_elements.php:717
3096
+ msgid "Drop Down Menu"
3097
  msgstr ""
3098
 
3099
+ #: templates/single_filter/single_settings_elements.php:720
3100
+ msgid "Date Picker"
3101
  msgstr ""
3102
 
3103
+ #: templates/single_filter/single_settings_elements.php:723
3104
+ msgid "Slider Old"
3105
  msgstr ""
3106
 
3107
+ #: templates/single_filter/single_settings_elements.php:726
3108
+ msgid "Slider New"
3109
  msgstr ""
3110
 
3111
+ #: templates/single_filter/widget_type.php:10
3112
+ msgid "Create filters by price, attributes, categories, tags etc."
3113
  msgstr ""
3114
 
3115
+ #: templates/single_filter/widget_type.php:11
3116
+ msgid "Basic widget type. Other widget types do not work without filters"
3117
  msgstr ""
3118
 
3119
+ #: templates/single_filter/widget_type.php:20
3120
  msgid ""
3121
+ "Filters will be applied to the products only after this button will be "
3122
+ "clicked."
3123
  msgstr ""
3124
 
3125
+ #: templates/single_filter/widget_type.php:21
3126
+ msgid ""
3127
+ "If at least one update button displayed on the page, then all filters will "
3128
+ "be applied only after button clicked."
3129
+ msgstr ""
3130
+
3131
+ #: templates/single_filter/widget_type.php:29
3132
+ msgid "Clear all selected filters."
3133
  msgstr ""
3134
 
3135
+ #: templates/single_filter/widget_type.php:30
3136
  msgid ""
3137
+ "After click on Reset button all selected filters will be unselected and "
3138
+ "products updated."
3139
  msgstr ""
3140
 
3141
+ #: templates/single_filter/widget_type.php:38
3142
+ msgid "Display all selected filters."
 
3143
  msgstr ""
3144
 
3145
+ #: templates/single_filter/widget_type.php:39
3146
+ msgid "Each filter can be clicked to reset it."
 
3147
  msgstr ""
3148
 
3149
+ #: templates/single_filter/widget_type.php:40
3150
+ msgid "Also has link to reset all filters, that works same as Reset button."
 
3151
  msgstr ""
3152
 
3153
+ #: templates/single_filter/widget_type.php:43
3154
+ msgid "Select widget type that you need to create"
 
 
 
3155
  msgstr ""
3156
 
3157
+ #: addons/deprecated_filters/settings/design.php:8
3158
+ #: addons/deprecated_filters/settings/design.php:23
3159
+ msgid "Select All"
3160
  msgstr ""
3161
 
3162
+ #: addons/deprecated_filters/settings/design.php:13
3163
+ #: addons/deprecated_filters/settings/design.php:28
3164
+ msgid "Font Family"
 
 
3165
  msgstr ""
3166
 
3167
+ #: addons/deprecated_filters/settings/design.php:14
3168
+ #: addons/deprecated_filters/settings/design.php:29
3169
+ msgid "Font-Weight"
3170
  msgstr ""
3171
 
3172
+ #: addons/deprecated_filters/settings/design.php:14
3173
+ #: addons/deprecated_filters/settings/design.php:29
3174
+ msgid "(depends on font)"
 
 
3175
  msgstr ""
3176
 
3177
+ #: addons/deprecated_filters/settings/design.php:15
3178
+ #: addons/deprecated_filters/settings/design.php:30
3179
+ msgid "Font-Size"
3180
  msgstr ""
3181
 
3182
+ #: addons/deprecated_filters/settings/design.php:16
3183
+ #: addons/deprecated_filters/settings/design.php:31
3184
+ #: addons/deprecated_filters/settings/design.php:156
3185
+ msgid "Theme"
 
3186
  msgstr ""
3187
 
3188
+ #: addons/deprecated_filters/settings/design.php:48
3189
+ msgid "Select Element"
 
3190
  msgstr ""
3191
 
3192
+ #: addons/deprecated_filters/settings/design.php:59
3193
+ #: addons/deprecated_filters/settings/design.php:71
3194
+ #: addons/deprecated_filters/settings/design.php:112
3195
+ #: addons/deprecated_filters/settings/design.php:119
3196
+ #: addons/deprecated_filters/settings/design.php:134
3197
+ msgid "N/A"
3198
  msgstr ""
3199
 
3200
+ #: addons/deprecated_filters/settings/design.php:125
3201
+ msgid "Without Theme"
3202
  msgstr ""
3203
 
3204
+ #: addons/deprecated_filters/settings/design.php:146
3205
+ msgid "Checkbox / Radio"
3206
  msgstr ""
3207
 
3208
+ #: addons/deprecated_filters/settings/design.php:155
3209
+ msgid "Icon"
3210
  msgstr ""
3211
 
3212
+ #: addons/deprecated_filters/settings/design.php:636
3213
+ msgid "Line color"
3214
  msgstr ""
3215
 
3216
+ #: addons/deprecated_filters/settings/design.php:637
3217
+ msgid "Back line color"
3218
  msgstr ""
3219
 
3220
+ #: addons/deprecated_filters/settings/design.php:638
3221
+ msgid "Line height"
 
 
 
 
 
 
3222
  msgstr ""
3223
 
3224
+ #: addons/deprecated_filters/settings/design.php:639
3225
+ msgid "Line border color"
3226
  msgstr ""
3227
 
3228
+ #: addons/deprecated_filters/settings/design.php:640
3229
+ msgid "Line border width"
 
 
 
3230
  msgstr ""
3231
 
3232
+ #: addons/deprecated_filters/settings/design.php:641
3233
+ msgid "Button size"
 
 
3234
  msgstr ""
3235
 
3236
+ #: addons/deprecated_filters/settings/design.php:642
3237
+ msgid "Button color"
 
 
 
 
3238
  msgstr ""
3239
 
3240
+ #: addons/deprecated_filters/settings/design.php:643
3241
+ msgid "Button border color"
 
 
3242
  msgstr ""
3243
 
3244
+ #: addons/deprecated_filters/settings/design.php:644
3245
+ msgid "Button border width"
 
3246
  msgstr ""
3247
 
3248
+ #: addons/deprecated_filters/settings/design.php:645
3249
+ msgid "Button border radius"
3250
  msgstr ""
3251
 
3252
+ #: addons/deprecated_filters/settings/design.php:703
3253
+ msgid "Product count description before filtering with Apply Filters button"
3254
  msgstr ""
3255
 
3256
+ #: addons/deprecated_filters/settings/design.php:707
3257
+ msgid "Font size"
3258
+ msgstr ""
3259
+
3260
+ #: addons/deprecated_filters/settings/design.php:709
3261
+ msgid "Show button font size"
3262
+ msgstr ""
3263
+
3264
+ #: addons/deprecated_filters/settings/design.php:710
3265
+ msgid "Show button font color"
3266
+ msgstr ""
3267
+
3268
+ #: addons/deprecated_filters/settings/design.php:711
3269
+ msgid "Show button font color on mouse over"
3270
+ msgstr ""
3271
+
3272
+ #: addons/deprecated_filters/settings/design.php:712
3273
+ msgid "Close button size"
3274
+ msgstr ""
3275
+
3276
+ #: addons/deprecated_filters/settings/design.php:713
3277
+ msgid "Close button font color"
3278
+ msgstr ""
3279
+
3280
+ #: addons/deprecated_filters/settings/design.php:714
3281
+ msgid "Close button font color on mouse over"
3282
  msgstr ""
3283
 
3284
  #. Description of the plugin
main.php CHANGED
@@ -17,6 +17,8 @@ include_once(plugin_dir_path( __FILE__ ) . 'includes/filters/get_terms.php');
17
  include_once(plugin_dir_path( __FILE__ ) . 'includes/filters/get_terms_additional.php');
18
 
19
  class BeRocket_AAPF extends BeRocket_Framework {
 
 
20
  public static $settings_name = 'br_filters_options';
21
  public $info, $defaults, $values, $notice_array, $conditions;
22
  protected static $instance;
@@ -88,7 +90,7 @@ class BeRocket_AAPF extends BeRocket_Framework {
88
  'attribute_count' => '',
89
  'control_sorting' => '1',
90
  'seo_friendly_urls' => '1',
91
- 'seo_uri_decode' => '1',
92
  'recount_hide' => 'removeRecount',
93
  'slug_urls' => '',
94
  'seo_meta_title' => '',
@@ -222,6 +224,7 @@ class BeRocket_AAPF extends BeRocket_Framework {
222
  add_action( 'admin_init', array( $this, 'admin_init' ) );
223
  add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
224
  add_shortcode( 'br_filters', array( $this, 'shortcode' ) );
 
225
  add_action( 'init', array( $this, 'create_metadata_table' ), 999999999 );
226
  add_action( 'br_footer_script', array( $this, 'include_all_scripts' ) );
227
  add_action( 'delete_transient_wc_products_onsale', array( $this, 'delete_products_not_on_sale' ) );
@@ -247,7 +250,9 @@ class BeRocket_AAPF extends BeRocket_Framework {
247
  if ( ! empty($option['selected_area_show']) ) {
248
  add_action ( br_get_value_from_array($option, 'elements_position_hook', 'woocommerce_archive_description'), array($this, 'selected_area'), 1 );
249
  }
250
- add_action( 'wp_enqueue_scripts', array( $this, 'include_all_styles' ) );
 
 
251
  add_filter( 'is_active_sidebar', array($this, 'is_active_sidebar'), 10, 2);
252
  if( ! empty($option['child_pre_indent']) ) {
253
  add_filter('berocket_aapf_select_term_child_prefix', array($this, 'select_term_child_prefix'));
@@ -257,7 +262,6 @@ class BeRocket_AAPF extends BeRocket_Framework {
257
  new BeRocket_AAPF_addon_page_same_as_filter($option['page_same_as_filter']);
258
  }
259
  add_action('plugins_loaded', array($this, 'plugins_loaded'));
260
- add_action('after_setup_theme', array($this, 'after_setup_theme'));
261
  }
262
  if( ! empty($option['products_only']) ) {
263
  add_filter('woocommerce_is_filtered', array($this, 'woocommerce_is_filtered'));
@@ -452,7 +456,7 @@ class BeRocket_AAPF extends BeRocket_Framework {
452
  $this->info['version'] );
453
  }
454
  do_action('braapf_register_frontend_assets');
455
- if( apply_filters('bapf_isoption_ajax_site', ! empty($option['ajax_site'])) ) {
456
  self::require_all_scripts();
457
  do_action('br_footer_script');
458
  }
@@ -467,7 +471,7 @@ class BeRocket_AAPF extends BeRocket_Framework {
467
  "",
468
  $this->info['version'] );
469
  }
470
- if( empty($option['styles_in_footer']) ) {
471
  self::require_all_styles();
472
  }
473
  }
@@ -524,6 +528,10 @@ class BeRocket_AAPF extends BeRocket_Framework {
524
  }
525
  }
526
  public function init () {
 
 
 
 
527
  parent::init();
528
  $option = $this->get_option();
529
  if( ! empty($option['use_tax_for_price']) ) {
@@ -538,8 +546,16 @@ class BeRocket_AAPF extends BeRocket_Framework {
538
  }
539
  }
540
  public function plugins_loaded() {
 
 
 
 
 
 
 
 
541
  if( function_exists('wmc_get_price') ) {
542
- include(plugin_dir_path( __FILE__ ) . "includes/compatibility/woo-multi-currency.php");
543
  }
544
  if ( ((defined( 'WCML_VERSION' ) || defined('POLYLANG_VERSION')) && defined( 'ICL_LANGUAGE_CODE' )) || function_exists('wpm_get_language') ) {
545
  include_once(plugin_dir_path( __FILE__ ) . "includes/compatibility/wpml.php");
@@ -548,16 +564,13 @@ class BeRocket_AAPF extends BeRocket_Framework {
548
  include_once(plugin_dir_path( __FILE__ ) . "includes/compatibility/price-based-on-country.php");
549
  }
550
  if( defined( 'DE_DB_WOO_VERSION' ) ) {
551
- include(plugin_dir_path( __FILE__ ) . "includes/compatibility/bodycommerce.php");
552
  }
553
  if( defined( 'WCJ_PLUGIN_FILE' ) ) {
554
- include(plugin_dir_path( __FILE__ ) . "includes/compatibility/woojetpack.php");
555
- }
556
- if( defined( 'ELEMENTOR_PRO_VERSION') ) {
557
- include(plugin_dir_path( __FILE__ ) . "includes/compatibility/elementor-pro.php");
558
  }
559
  if( function_exists('relevanssi_do_query') ) {
560
- include(plugin_dir_path( __FILE__ ) . "includes/compatibility/relevanssi.php");
561
  }
562
  $option = $this->get_option();
563
  if ( ! empty($option['products_per_page']) ) {
@@ -571,16 +584,6 @@ class BeRocket_AAPF extends BeRocket_Framework {
571
  include_once(__DIR__ . "/includes/filters/dynamic_data_template.php");
572
  new BeRocket_AAPF_dynamic_data_template();
573
  require_once dirname( __FILE__ ) . '/includes/filters/display_widget.php';
574
- $filters_converted = get_option('braapf_new_filters_converted');
575
- if( empty($filters_converted) ) {
576
- require_once dirname( __FILE__ ) . '/fixes/replace_filters.php';
577
- update_option('braapf_new_filters_converted', true);
578
- }
579
- }
580
- }
581
- function after_setup_theme() {
582
- if( function_exists('et_get_theme_version') ) {
583
- include(plugin_dir_path( __FILE__ ) . "includes/compatibility/divi-theme-builder.php");
584
  }
585
  }
586
  public function register_admin_scripts(){
@@ -642,20 +645,21 @@ class BeRocket_AAPF extends BeRocket_Framework {
642
  "value" => "",
643
  ),*/
644
  'products_per_page' => array(
645
- "label" => __( 'Products Per Page', "BeRocket_AJAX_domain" ),
646
  "type" => "number",
647
  "name" => "products_per_page",
648
- "value" => $this->defaults["products_per_page"]
 
649
  ),
650
  'attribute_count' => array(
651
- "label" => __( 'Number of Attribute Values', "BeRocket_AJAX_domain" ),
652
  "type" => "number",
653
  "name" => "attribute_count",
654
  "value" => $this->defaults["attribute_count"],
655
- 'label_for' => '<br>' . __( 'Attribute Values count that will be displayed. Other values will be hidden and can be displayed by pressing the button. Option <strong>Hide the Show/Hide value(s) button in the filters</strong> must be disabled', 'BeRocket_AJAX_domain' ),
656
  ),
657
  'scroll_shop_top' => array(
658
- "label" => __( 'Scroll to the top', "BeRocket_AJAX_domain" ),
659
  "items" => array(
660
  'scroll_shop_top' => array(
661
  "label" => __( 'Selected filters position', "BeRocket_AJAX_domain" ),
@@ -680,15 +684,15 @@ class BeRocket_AAPF extends BeRocket_Framework {
680
  ),
681
  ),
682
  'recount_hide' => array(
683
- "label" => __( 'Values count and output', "BeRocket_AJAX_domain" ),
684
  "name" => "recount_hide",
685
  "type" => "selectbox",
686
  "options" => array(
687
- array('value' => 'disable', 'text' => __('All non-empty values are shown and use basic counting', 'BeRocket_AJAX_domain')),
688
- array('value' => 'removeFirst', 'text' => __('Remove empty values based on page(category/tag/etc)', 'BeRocket_AJAX_domain')),
689
- array('value' => 'recount', 'text' => __('All non-empty values are shown and filters are considered while counting attribute values', 'BeRocket_AJAX_domain')),
690
- array('value' => 'removeFirst_recount', 'text' => __('Remove empty values based on page(category/tag/etc). Filters are considered while counting attribute values and empty values based on filters are hidden', 'BeRocket_AJAX_domain')),
691
- array('value' => 'removeRecount', 'text' => __('Filters are considered while counting attribute values. Empty values are removed server side', 'BeRocket_AJAX_domain')),
692
  ),
693
  "value" => '',
694
  "class" => 'berocket_aapf_recount_hide'
@@ -712,7 +716,7 @@ class BeRocket_AAPF extends BeRocket_Framework {
712
  "type" => "checkbox",
713
  "name" => array("hide_value", 'empty'),
714
  "value" => '1',
715
- 'label_for' => __("Hide blank widgets", 'BeRocket_AJAX_domain'),
716
  ),
717
  ),
718
  ),
@@ -730,7 +734,7 @@ class BeRocket_AAPF extends BeRocket_Framework {
730
  "value" => 'woocommerce_archive_description',
731
  ),
732
  'selected_area' => array(
733
- "label" => __( 'Display Selected Filters', "BeRocket_AJAX_domain" ),
734
  'items' => array(
735
  'selected_area_show' => array(
736
  "type" => "checkbox",
@@ -750,9 +754,17 @@ class BeRocket_AAPF extends BeRocket_Framework {
750
  ),
751
  ),
752
  'Selectors' => array(
 
 
 
 
 
 
 
753
  'autoselector_set' => array(
754
  "section" => "autoselector",
755
  "value" => "",
 
756
  ),
757
  'products_holder_id' => array(
758
  "label" => __( 'Products Selector', "BeRocket_AJAX_domain" ),
@@ -760,6 +772,7 @@ class BeRocket_AAPF extends BeRocket_Framework {
760
  "name" => 'products_holder_id',
761
  "value" => $this->defaults["products_holder_id"],
762
  "class" => "berocket_aapf_products_selector",
 
763
  'label_for' => '<br>' . __("Selector for tag that is holding products. Don't change this if you don't know what it is", 'BeRocket_AJAX_domain'),
764
  ),
765
  'result_count' => array(
@@ -773,6 +786,7 @@ class BeRocket_AAPF extends BeRocket_Framework {
773
  'label_for' => '<br>' . __('Selector for tag with product result count("Showing 1–8 of 61 results"). Don\'t change this if you don\'t know what it is', 'BeRocket_AJAX_domain') . '<br>',
774
  ),
775
  ),
 
776
  ),
777
  'ordering' => array(
778
  "label" => __( 'Products Sorting Selector', "BeRocket_AJAX_domain" ),
@@ -791,6 +805,7 @@ class BeRocket_AAPF extends BeRocket_Framework {
791
  'label_for' => __("Take control over WooCommerce's sorting selectbox?", 'BeRocket_AJAX_domain'),
792
  ),
793
  ),
 
794
  ),
795
  'pagination' => array(
796
  "label" => __( 'Products Pagination Selector', "BeRocket_AJAX_domain" ),
@@ -809,6 +824,7 @@ class BeRocket_AAPF extends BeRocket_Framework {
809
  'label_for' => __('Disable AJAX Pagination', 'BeRocket_AJAX_domain') . '<br>',
810
  ),
811
  ),
 
812
  ),
813
  ),
814
  'SEO' => array(
@@ -888,16 +904,16 @@ class BeRocket_AAPF extends BeRocket_Framework {
888
  "type" => "checkbox",
889
  "name" => "products_only",
890
  "value" => '1',
891
- 'label_for' => __('Display always products when filters selected. Use this when you have categories and subcategories on shop pages, but you want to display products on filtering', 'BeRocket_AJAX_domain'),
892
  ),
893
  'use_tax_for_price' => array(
894
- "label" => __( 'Use Tax options in price filters', "BeRocket_AJAX_domain" ),
895
  "label_for"=> __( 'Only Standard tax rates will be applied for prices', "BeRocket_AJAX_domain" ),
896
  "name" => "use_tax_for_price",
897
  "type" => "selectbox",
898
  "options" => array(
899
- array('value' => '', 'text' => __('Do not use (filter price as it is set in products)', 'BeRocket_AJAX_domain')),
900
- array('value' => 'var1', 'text' => __('Use tax options', 'BeRocket_AJAX_domain')),
901
  ),
902
  "value" => '',
903
  ),
@@ -907,7 +923,7 @@ class BeRocket_AAPF extends BeRocket_Framework {
907
  "type" => "selectbox",
908
  "options" => array(
909
  array('value' => '', 'text' => __('Default', 'BeRocket_AJAX_domain')),
910
- array('value' => 'remove', 'text' => __('Remove value', 'BeRocket_AJAX_domain')),
911
  array('value' => 'leave', 'text' => __('Leave only one value', 'BeRocket_AJAX_domain')),
912
  ),
913
  "value" => '',
@@ -918,7 +934,8 @@ class BeRocket_AAPF extends BeRocket_Framework {
918
  "value" => __('Variable Products and Variations options', 'BeRocket_AJAX_domain'),
919
  ),
920
  'out_of_stock_variable' => array(
921
- "label" => __( 'Hide variations that are out of stock', "BeRocket_AJAX_domain" ),
 
922
  "items" => array(
923
  "out_of_stock_variable" => array(
924
  "type" => "selectbox",
@@ -926,11 +943,11 @@ class BeRocket_AAPF extends BeRocket_Framework {
926
  "options" => apply_filters('berocket_aapf_seo_meta_filters_hooks_list', array(
927
  array('value' => '0', 'text' => __('Disabled', 'BeRocket_AJAX_domain')),
928
  array('value' => '1', 'text' => __('Enabled', 'BeRocket_AJAX_domain')),
929
- array('value' => '2', 'text' => __('Enabled only with selected "Out of stock" filter', 'BeRocket_AJAX_domain')),
930
  )),
931
  "value" => '',
932
  "class" => "out_of_stock_variable",
933
- 'label_for' => __('Hide variable products if variations with selected filters out of stock', 'BeRocket_AJAX_domain') . '<br>',
934
  ),
935
  'out_of_stock_variable_reload' => array(
936
  "type" => "checkbox",
@@ -957,21 +974,21 @@ class BeRocket_AAPF extends BeRocket_Framework {
957
  "type" => "checkbox",
958
  "name" => "styles_in_footer",
959
  "value" => '1',
960
- 'label_for' => __('On some sites it can cause some visual problem on page loads', 'BeRocket_AJAX_domain'),
961
  ),
962
  'ajax_site' => array(
963
- "label" => __( 'Fix for sites with AJAX', "BeRocket_AJAX_domain" ),
964
  "type" => "checkbox",
965
  "name" => "ajax_site",
966
  "value" => '1',
967
- 'label_for' => __('Add JavaScript files to all pages.', 'BeRocket_AJAX_domain'),
968
  ),
969
  'search_fix' => array(
970
  "label" => __( 'Fix for search page', "BeRocket_AJAX_domain" ),
971
  "type" => "checkbox",
972
  "name" => "search_fix",
973
  "value" => '1',
974
- 'label_for' => __('Disable redirection, when search page return only one product', 'BeRocket_AJAX_domain'),
975
  ),
976
  'fixed_select2' => array(
977
  "label" => __( 'Select2 CSS', "BeRocket_AJAX_domain" ),
@@ -986,7 +1003,7 @@ class BeRocket_AAPF extends BeRocket_Framework {
986
  "value" => __('Tools', 'BeRocket_AJAX_domain'),
987
  ),
988
  'filters_turn_off' => array(
989
- "label" => __( 'Turn off all filters', "BeRocket_AJAX_domain" ),
990
  "type" => "checkbox",
991
  "name" => "filters_turn_off",
992
  "value" => '1',
@@ -1102,6 +1119,41 @@ class BeRocket_AAPF extends BeRocket_Framework {
1102
  ),
1103
  )
1104
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1105
  }
1106
  public function section_setup_wizard ( $item, $options ) {
1107
  $html = '';
@@ -1167,7 +1219,7 @@ class BeRocket_AAPF extends BeRocket_Framework {
1167
  <input class="berocket_purge_cache_input" type="hidden" name="br_filters_options[purge_cache_time]" value="'.br_get_value_from_array($options, 'purge_cache_time').'">
1168
  ' . __('Purge Cache', 'BeRocket_AJAX_domain') . '
1169
  </span>
1170
- <p>' . __('Clear attribute/custom taxonomy cache for plugin', 'BeRocket_AJAX_domain') . '</p>
1171
  <script>
1172
  jQuery(".berocket_purge_cache").click(function() {
1173
  var $this = jQuery(this);
@@ -1314,6 +1366,18 @@ function br_selected_area_show() {
1314
  }
1315
  br_selected_area_show();
1316
  jQuery(document).on('change', '.br_selected_area_show', br_selected_area_show);
 
 
 
 
 
 
 
 
 
 
 
 
1317
  </script>";
1318
  return $html;
1319
  }
@@ -1335,6 +1399,22 @@ jQuery(document).on('change', '.br_selected_area_show', br_selected_area_show);
1335
  delete_option( 'rewrite_rules' );
1336
  flush_rewrite_rules();
1337
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1338
  parent::admin_init();
1339
  add_action('berocket_fix_WC_outofstock', array($this, 'fix_WC_outofstock'), 10, 1);
1340
  $this->create_berocket_term_table();
@@ -1406,6 +1486,7 @@ jQuery(document).on('change', '.br_selected_area_show', br_selected_area_show);
1406
  add_filter( 'pre_get_posts', array( $this, 'apply_user_price' ) );
1407
  add_filter( 'pre_get_posts', array( $this, 'apply_user_filters' ), 900000 );
1408
  add_filter( 'woocommerce_shortcode_products_query', array( $this, 'woocommerce_shortcode_products_query' ), 10, 3 );
 
1409
  $shortcode_types = array(
1410
  'products',
1411
  'product',
@@ -1529,6 +1610,7 @@ jQuery(document).on('change', '.br_selected_area_show', br_selected_area_show);
1529
  'berocket_aapf_widget-script',
1530
  'the_ajax_script',
1531
  apply_filters('aapf_localize_widget_script', array(
 
1532
  'url_variable' => 'filters',
1533
  'url_mask' => '%t%[%v%]',
1534
  'url_split' => '|',
@@ -1566,12 +1648,12 @@ jQuery(document).on('change', '.br_selected_area_show', br_selected_area_show);
1566
  'no_products' => $no_products,
1567
  'recount_products' => braapf_filters_must_be_recounted(),
1568
  'pos_relative' => ( empty($br_options['pos_relative']) ? '' : $br_options['pos_relative'] ),
1569
- 'woocommerce_removes' => json_encode( array(
1570
  'result_count' => ( empty($br_options['woocommerce_removes']['result_count']) ? '' : $br_options['woocommerce_removes']['result_count'] ),
1571
  'ordering' => ( empty($br_options['woocommerce_removes']['ordering']) ? '' : $br_options['woocommerce_removes']['ordering'] ),
1572
  'pagination' => ( empty($br_options['woocommerce_removes']['pagination']) ? '' : $br_options['woocommerce_removes']['pagination'] ),
1573
- 'pagination_ajax' => ( empty($br_options['woocommerce_removes']['pagination_ajax']) ? '' : $br_options['woocommerce_removes']['pagination_ajax'] ),
1574
- ) ),
1575
  'description_show' => ( ! empty($br_options['description']['show']) ? $br_options['description']['show'] : 'click' ),
1576
  'description_hide' => ( ! empty($br_options['description']['hide']) ? $br_options['description']['hide'] : 'click' ),
1577
  'hide_sel_value' => ( empty($br_options['hide_value']['sel']) ? '' : $br_options['hide_value']['sel'] ),
@@ -1683,6 +1765,28 @@ jQuery(document).on('change', '.br_selected_area_show', br_selected_area_show);
1683
  <p>' . __( 'Update WooCommerce plugin', 'BeRocket_AJAX_domain' ) . '</p>
1684
  </div>';
1685
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1686
  public function shortcode( $atts = array() ) {
1687
  if( self::$debug_mode ) {
1688
  if( ! isset( self::$error_log['2_shortcodes'] ) )
@@ -1734,14 +1838,25 @@ jQuery(document).on('change', '.br_selected_area_show', br_selected_area_show);
1734
  return ob_get_clean();
1735
  }
1736
  public function woocommerce_shortcode_products_query( $query_vars, $atts = array(), $name = 'products' ) {
 
 
1737
  if( isset($atts['berocket_aapf']) && $atts['berocket_aapf'] === false ) {
1738
  return $query_vars;
1739
  }
1740
  if( apply_filters('berocket_aapf_wcshortcode_is_filtering', ( (! is_shop() && ! is_product_taxonomy() && ! is_product_category() && ! is_product_tag()) || ! empty($atts['berocket_aapf']) ), $query_vars, $atts, $name ) ) {
 
1741
  $query_vars = $this->woocommerce_filter_query_vars($query_vars, $atts, $name);
1742
  }
1743
  return $query_vars;
1744
  }
 
 
 
 
 
 
 
 
1745
  public function woocommerce_shortcode_no_result($atts) {
1746
  if( ! empty($atts['berocket_aapf']) ) {
1747
  wc_no_products_found();
@@ -1835,7 +1950,7 @@ jQuery(document).on('change', '.br_selected_area_show', br_selected_area_show);
1835
  $query_vars['post__not_in'] = array();
1836
  }
1837
  $query_vars['post__not_in'] = array_merge($query_vars['post__not_in'], apply_filters('berocket_add_out_of_stock_variable', array(), $custom_terms, berocket_isset($_POST['limits_arr'])));
1838
- $query_vars['post__in'] = apply_filters( 'loop_shop_post_in', $query_vars['post__in']);
1839
  if( is_array($query_vars['post__in']) ) {
1840
  $query_vars['post__in'] = array_diff($query_vars['post__in'], $query_vars['post__not_in']);
1841
  }
@@ -1843,6 +1958,11 @@ jQuery(document).on('change', '.br_selected_area_show', br_selected_area_show);
1843
  $query_vars['berocket_price'] = $_POST['price'];
1844
  }
1845
  $query_vars['berocket_filtered'] = true;
 
 
 
 
 
1846
  $br_query_vars = $query_vars;
1847
  if( ! empty($br_query_vars['tax_query']) && is_array($br_query_vars['tax_query']) ) {
1848
  foreach($br_query_vars['tax_query'] as $i => $tax_query_val) {
@@ -1856,10 +1976,8 @@ jQuery(document).on('change', '.br_selected_area_show', br_selected_area_show);
1856
  global $br_wc_query, $br_aapf_wc_footer_widget;
1857
  $br_query_vars['fields'] = 'ids';
1858
  $br_wc_query = $br_query_vars;
1859
- add_action( 'wp_footer', array( $this, 'wp_footer_widget'), 99999 );
1860
  $br_aapf_wc_footer_widget = true;
1861
- $query_vars = apply_filters('berocket_filters_query_vars_already_filtered', $query_vars, berocket_isset($_POST['terms']), berocket_isset($_POST['limits_arr']));
1862
- return $query_vars;
1863
  }
1864
  public function display_products() {
1865
  return '';
@@ -1913,6 +2031,9 @@ jQuery(document).on('change', '.br_selected_area_show', br_selected_area_show);
1913
  'post__not_in' => $query->get( 'post__not_in' ),
1914
  'post__in' => $query->get( 'post__in' ),
1915
  );
 
 
 
1916
  $args_fields = array( 'meta_key', 'tax_query', 'fields', 'where', 'join', 'meta_query', 'date_query' );
1917
  foreach ( $args_fields as $args_field ) {
1918
  if ( ! empty($args[ $args_field ]) ) {
@@ -2805,6 +2926,24 @@ jQuery(document).on('change', '.br_selected_area_show', br_selected_area_show);
2805
  $options['addons'] = array();
2806
  }
2807
  $options['addons'][] = DIRECTORY_SEPARATOR . 'deprecated_filters'. DIRECTORY_SEPARATOR . 'deprecated_filters.php';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2808
  }
2809
  update_option( 'br_filters_options', $options );
2810
  if( $previous !== '0' && ( version_compare($previous, '1.4.9.9', '<') || (version_compare($previous, '2.0', '>') && version_compare($previous, '2.9', '<') ) ) ) {
@@ -2821,9 +2960,8 @@ jQuery(document).on('change', '.br_selected_area_show', br_selected_area_show);
2821
  public function parse_header_info() {
2822
  global $braapf_parameters;
2823
  $braapf_parameters = array();
2824
- $http_headers = apache_request_headers();
2825
- $braapf_parameters['ajax_filtering'] = ! empty($http_headers['X-Braapf']);
2826
- $braapf_parameters['do_not_display_filters'] = ! empty($http_headers['X-Braapfdisable']);
2827
  }
2828
  public function no_products_block_before($teplate_name) {
2829
  if( $teplate_name == 'loop/no-products-found.php' ) {
@@ -2836,8 +2974,17 @@ jQuery(document).on('change', '.br_selected_area_show', br_selected_area_show);
2836
  }
2837
  }
2838
  public function include_all_tempate_styles() {
2839
- foreach (glob($this->info['plugin_dir'] . "/template_styles/*.php") as $filename)
2840
- {
 
 
 
 
 
 
 
 
 
2841
  include_once($filename);
2842
  }
2843
  $styles = apply_filters('BeRocket_AAPF_getall_Template_Styles', array());
17
  include_once(plugin_dir_path( __FILE__ ) . 'includes/filters/get_terms_additional.php');
18
 
19
  class BeRocket_AAPF extends BeRocket_Framework {
20
+ public static $user_can_manage = false;
21
+ public static $current_page_filters = array('added' => array());
22
  public static $settings_name = 'br_filters_options';
23
  public $info, $defaults, $values, $notice_array, $conditions;
24
  protected static $instance;
90
  'attribute_count' => '',
91
  'control_sorting' => '1',
92
  'seo_friendly_urls' => '1',
93
+ 'seo_uri_decode' => '',
94
  'recount_hide' => 'removeRecount',
95
  'slug_urls' => '',
96
  'seo_meta_title' => '',
224
  add_action( 'admin_init', array( $this, 'admin_init' ) );
225
  add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
226
  add_shortcode( 'br_filters', array( $this, 'shortcode' ) );
227
+ add_shortcode( 'brapf_next_shortcode_apply', array( $this, 'shortcode_apply' ) );
228
  add_action( 'init', array( $this, 'create_metadata_table' ), 999999999 );
229
  add_action( 'br_footer_script', array( $this, 'include_all_scripts' ) );
230
  add_action( 'delete_transient_wc_products_onsale', array( $this, 'delete_products_not_on_sale' ) );
250
  if ( ! empty($option['selected_area_show']) ) {
251
  add_action ( br_get_value_from_array($option, 'elements_position_hook', 'woocommerce_archive_description'), array($this, 'selected_area'), 1 );
252
  }
253
+ if( empty($option['styles_in_footer']) ) {
254
+ add_action( 'wp_enqueue_scripts', array( $this, 'include_all_styles' ) );
255
+ }
256
  add_filter( 'is_active_sidebar', array($this, 'is_active_sidebar'), 10, 2);
257
  if( ! empty($option['child_pre_indent']) ) {
258
  add_filter('berocket_aapf_select_term_child_prefix', array($this, 'select_term_child_prefix'));
262
  new BeRocket_AAPF_addon_page_same_as_filter($option['page_same_as_filter']);
263
  }
264
  add_action('plugins_loaded', array($this, 'plugins_loaded'));
 
265
  }
266
  if( ! empty($option['products_only']) ) {
267
  add_filter('woocommerce_is_filtered', array($this, 'woocommerce_is_filtered'));
456
  $this->info['version'] );
457
  }
458
  do_action('braapf_register_frontend_assets');
459
+ if( ! is_admin() && apply_filters('bapf_isoption_ajax_site', ! empty($option['ajax_site'])) ) {
460
  self::require_all_scripts();
461
  do_action('br_footer_script');
462
  }
471
  "",
472
  $this->info['version'] );
473
  }
474
+ if( ! is_admin() && empty($option['styles_in_footer']) ) {
475
  self::require_all_styles();
476
  }
477
  }
528
  }
529
  }
530
  public function init () {
531
+ self::$user_can_manage = current_user_can( 'manage_berocket_aapf' );
532
+ if( self::$user_can_manage && ! is_admin() ) {
533
+ include_once(plugin_dir_path( __FILE__ ) . "includes/admin/admin_bar.php");
534
+ }
535
  parent::init();
536
  $option = $this->get_option();
537
  if( ! empty($option['use_tax_for_price']) ) {
546
  }
547
  }
548
  public function plugins_loaded() {
549
+ include_once(plugin_dir_path( __FILE__ ) . "includes/compatibility/divi-theme-builder.php");
550
+ include_once(plugin_dir_path( __FILE__ ) . "includes/compatibility/beaver-builder.php");
551
+ if( defined( 'ELEMENTOR_PRO_VERSION') ) {
552
+ include_once(plugin_dir_path( __FILE__ ) . "includes/compatibility/elementor-pro.php");
553
+ }
554
+ if( class_exists('RankMath') ) {
555
+ include(plugin_dir_path( __FILE__ ) . "includes/compatibility/rank_math_seo.php");
556
+ }
557
  if( function_exists('wmc_get_price') ) {
558
+ include_once(plugin_dir_path( __FILE__ ) . "includes/compatibility/woo-multi-currency.php");
559
  }
560
  if ( ((defined( 'WCML_VERSION' ) || defined('POLYLANG_VERSION')) && defined( 'ICL_LANGUAGE_CODE' )) || function_exists('wpm_get_language') ) {
561
  include_once(plugin_dir_path( __FILE__ ) . "includes/compatibility/wpml.php");
564
  include_once(plugin_dir_path( __FILE__ ) . "includes/compatibility/price-based-on-country.php");
565
  }
566
  if( defined( 'DE_DB_WOO_VERSION' ) ) {
567
+ include_once(plugin_dir_path( __FILE__ ) . "includes/compatibility/bodycommerce.php");
568
  }
569
  if( defined( 'WCJ_PLUGIN_FILE' ) ) {
570
+ include_once(plugin_dir_path( __FILE__ ) . "includes/compatibility/woojetpack.php");
 
 
 
571
  }
572
  if( function_exists('relevanssi_do_query') ) {
573
+ include_once(plugin_dir_path( __FILE__ ) . "includes/compatibility/relevanssi.php");
574
  }
575
  $option = $this->get_option();
576
  if ( ! empty($option['products_per_page']) ) {
584
  include_once(__DIR__ . "/includes/filters/dynamic_data_template.php");
585
  new BeRocket_AAPF_dynamic_data_template();
586
  require_once dirname( __FILE__ ) . '/includes/filters/display_widget.php';
 
 
 
 
 
 
 
 
 
 
587
  }
588
  }
589
  public function register_admin_scripts(){
645
  "value" => "",
646
  ),*/
647
  'products_per_page' => array(
648
+ "label" => __( 'Products per page', "BeRocket_AJAX_domain" ),
649
  "type" => "number",
650
  "name" => "products_per_page",
651
+ "value" => $this->defaults["products_per_page"],
652
+ 'extra' => 'placeholder="'.__( 'From WooCommerce', "BeRocket_AJAX_domain" ).'"'
653
  ),
654
  'attribute_count' => array(
655
+ "label" => __( 'The number of Attribute Values', "BeRocket_AJAX_domain" ),
656
  "type" => "number",
657
  "name" => "attribute_count",
658
  "value" => $this->defaults["attribute_count"],
659
+ 'label_for' => __( 'Number of Attribute values that will be displayed. Other values will be hidden and can be displayed by pressing the button. Option <strong>Hide the Show/Hide value(s) button in the filters</strong> must be disabled', 'BeRocket_AJAX_domain' ),
660
  ),
661
  'scroll_shop_top' => array(
662
+ "label" => __( 'Scroll top', "BeRocket_AJAX_domain" ),
663
  "items" => array(
664
  'scroll_shop_top' => array(
665
  "label" => __( 'Selected filters position', "BeRocket_AJAX_domain" ),
684
  ),
685
  ),
686
  'recount_hide' => array(
687
+ "label" => __( 'Values count and output', "BeRocket_AJAX_domain" ) . '<span id="braapf_recount_hide_info" class="dashicons dashicons-editor-help"></span>',
688
  "name" => "recount_hide",
689
  "type" => "selectbox",
690
  "options" => array(
691
+ array('value' => 'disable', 'text' => __('All non-empty values are displayed; standard recounting is applied', 'BeRocket_AJAX_domain')),
692
+ array('value' => 'removeFirst', 'text' => __('All empty values are removed based on page (categories/tags/ etc.)', 'BeRocket_AJAX_domain')),
693
+ array('value' => 'recount', 'text' => __('All non-empty values are displayed; filters are applied in recounting attribute values', 'BeRocket_AJAX_domain')),
694
+ array('value' => 'removeFirst_recount', 'text' => __('All empty values are removed based on page (categories/tags/ etc.); filters are applied in recounting attribute values; all empty values based on applied filters will be hidden', 'BeRocket_AJAX_domain')),
695
+ array('value' => 'removeRecount', 'text' => __('Filters are applied in recounting attribute values; empty values are removed on the server-side', 'BeRocket_AJAX_domain')),
696
  ),
697
  "value" => '',
698
  "class" => 'berocket_aapf_recount_hide'
716
  "type" => "checkbox",
717
  "name" => array("hide_value", 'empty'),
718
  "value" => '1',
719
+ 'label_for' => __("Hide empty widgets", 'BeRocket_AJAX_domain'),
720
  ),
721
  ),
722
  ),
734
  "value" => 'woocommerce_archive_description',
735
  ),
736
  'selected_area' => array(
737
+ "label" => __( 'Display Selected Filters', "BeRocket_AJAX_domain" ) . '<span id="braapf_selected_area_show_info" class="dashicons dashicons-editor-help"></span>',
738
  'items' => array(
739
  'selected_area_show' => array(
740
  "type" => "checkbox",
754
  ),
755
  ),
756
  'Selectors' => array(
757
+ 'disable_ajax' => array(
758
+ "label" => __( 'Disable AJAX loading', "BeRocket_AJAX_domain" ),
759
+ "type" => "checkbox",
760
+ "name" => "disable_ajax_loading",
761
+ "value" => '1',
762
+ 'class' => 'berocket_disable_ajax_loading'
763
+ ),
764
  'autoselector_set' => array(
765
  "section" => "autoselector",
766
  "value" => "",
767
+ "tr_class" => "berocket_disable_ajax_loading_hide"
768
  ),
769
  'products_holder_id' => array(
770
  "label" => __( 'Products Selector', "BeRocket_AJAX_domain" ),
772
  "name" => 'products_holder_id',
773
  "value" => $this->defaults["products_holder_id"],
774
  "class" => "berocket_aapf_products_selector",
775
+ "tr_class" => "berocket_disable_ajax_loading_hide",
776
  'label_for' => '<br>' . __("Selector for tag that is holding products. Don't change this if you don't know what it is", 'BeRocket_AJAX_domain'),
777
  ),
778
  'result_count' => array(
786
  'label_for' => '<br>' . __('Selector for tag with product result count("Showing 1–8 of 61 results"). Don\'t change this if you don\'t know what it is', 'BeRocket_AJAX_domain') . '<br>',
787
  ),
788
  ),
789
+ "tr_class" => "berocket_disable_ajax_loading_hide"
790
  ),
791
  'ordering' => array(
792
  "label" => __( 'Products Sorting Selector', "BeRocket_AJAX_domain" ),
805
  'label_for' => __("Take control over WooCommerce's sorting selectbox?", 'BeRocket_AJAX_domain'),
806
  ),
807
  ),
808
+ "tr_class" => "berocket_disable_ajax_loading_hide"
809
  ),
810
  'pagination' => array(
811
  "label" => __( 'Products Pagination Selector', "BeRocket_AJAX_domain" ),
824
  'label_for' => __('Disable AJAX Pagination', 'BeRocket_AJAX_domain') . '<br>',
825
  ),
826
  ),
827
+ "tr_class" => "berocket_disable_ajax_loading_hide"
828
  ),
829
  ),
830
  'SEO' => array(
904
  "type" => "checkbox",
905
  "name" => "products_only",
906
  "value" => '1',
907
+ 'label_for' => __('Always displays products, when filters are selected. Use the option when have categories and subcategories on the pages of your shop, and you want to display products when filtering.', 'BeRocket_AJAX_domain'),
908
  ),
909
  'use_tax_for_price' => array(
910
+ "label" => __( 'Use Taxes in Price Filters', "BeRocket_AJAX_domain" ),
911
  "label_for"=> __( 'Only Standard tax rates will be applied for prices', "BeRocket_AJAX_domain" ),
912
  "name" => "use_tax_for_price",
913
  "type" => "selectbox",
914
  "options" => array(
915
+ array('value' => '', 'text' => __('Do not use (price from regular/sale field)', 'BeRocket_AJAX_domain')),
916
+ array('value' => 'var1', 'text' => __('Use taxes', 'BeRocket_AJAX_domain')),
917
  ),
918
  "value" => '',
919
  ),
923
  "type" => "selectbox",
924
  "options" => array(
925
  array('value' => '', 'text' => __('Default', 'BeRocket_AJAX_domain')),
926
+ array('value' => 'remove', 'text' => __('Delete value', 'BeRocket_AJAX_domain')),
927
  array('value' => 'leave', 'text' => __('Leave only one value', 'BeRocket_AJAX_domain')),
928
  ),
929
  "value" => '',
934
  "value" => __('Variable Products and Variations options', 'BeRocket_AJAX_domain'),
935
  ),
936
  'out_of_stock_variable' => array(
937
+ "label" => __( 'Hide out of stock variations', "BeRocket_AJAX_domain" ). '<span id="braapf_out_of_stock_variable_info" class="dashicons dashicons-editor-help"></span>',
938
+ "tr_class" => "tr_out_of_stock_variable",
939
  "items" => array(
940
  "out_of_stock_variable" => array(
941
  "type" => "selectbox",
943
  "options" => apply_filters('berocket_aapf_seo_meta_filters_hooks_list', array(
944
  array('value' => '0', 'text' => __('Disabled', 'BeRocket_AJAX_domain')),
945
  array('value' => '1', 'text' => __('Enabled', 'BeRocket_AJAX_domain')),
946
+ array('value' => '2', 'text' => __('Controlled by "Out of stock" filter', 'BeRocket_AJAX_domain')),
947
  )),
948
  "value" => '',
949
  "class" => "out_of_stock_variable",
950
+ 'label_for' => __('Hide variable products, if variations with selected filters are out of stock', 'BeRocket_AJAX_domain') . '<br>',
951
  ),
952
  'out_of_stock_variable_reload' => array(
953
  "type" => "checkbox",
974
  "type" => "checkbox",
975
  "name" => "styles_in_footer",
976
  "value" => '1',
977
+ 'label_for' => __('On some sites it can cause visual problems on page load', 'BeRocket_AJAX_domain'),
978
  ),
979
  'ajax_site' => array(
980
+ "label" => __( 'Fix for site with AJAX', "BeRocket_AJAX_domain" ),
981
  "type" => "checkbox",
982
  "name" => "ajax_site",
983
  "value" => '1',
984
+ 'label_for' => __('Add Javascript files to all pages', 'BeRocket_AJAX_domain'),
985
  ),
986
  'search_fix' => array(
987
  "label" => __( 'Fix for search page', "BeRocket_AJAX_domain" ),
988
  "type" => "checkbox",
989
  "name" => "search_fix",
990
  "value" => '1',
991
+ 'label_for' => __('Disable redirection, when a search returns only one product', 'BeRocket_AJAX_domain'),
992
  ),
993
  'fixed_select2' => array(
994
  "label" => __( 'Select2 CSS', "BeRocket_AJAX_domain" ),
1003
  "value" => __('Tools', 'BeRocket_AJAX_domain'),
1004
  ),
1005
  'filters_turn_off' => array(
1006
+ "label" => __( 'Disable all filters', "BeRocket_AJAX_domain" ),
1007
  "type" => "checkbox",
1008
  "name" => "filters_turn_off",
1009
  "value" => '1',
1119
  ),
1120
  )
1121
  );
1122
+ $tooltip_text = '<strong>' . __('Variation must be added to product with stock status out of stock.', 'BeRocket_AJAX_domain') . '</strong>'
1123
+ . '<p>' . __('If product do not have variation, then it cannot be detected as out of stock/in stock and will be displayed as without this option', 'BeRocket_AJAX_domain') . '</p>'.
1124
+ '<p>'.__('Slow down filtering.', 'BeRocket_AJAX_domain').'</p>';
1125
+ self::add_tooltip('#braapf_out_of_stock_variable_info', $tooltip_text);
1126
+
1127
+ $tooltip_text = '<strong>' . __('Will be displayed only on default WooCommerce page.', 'BeRocket_AJAX_domain') . '</strong>'
1128
+ . '<p>' . __('Default WooCommerce page are: shop page, category page, tag page, attribute page etc.', 'BeRocket_AJAX_domain') . '</p>'
1129
+ . '<p>' . __('Also it can does not work on WooCommerce pages edited with help of any page builders (Divi Builder, Elementor Builder etc.)', 'BeRocket_AJAX_domain') . '</p>';
1130
+ self::add_tooltip('#braapf_selected_area_show_info', $tooltip_text);
1131
+
1132
+ $tooltip_text = '<strong>' . __('Please read this before asking support.', 'BeRocket_AJAX_domain') . '</strong>'
1133
+ . '<p>' . __('Any option except first will slow down page load, because required some additional queries to database', 'BeRocket_AJAX_domain') . '</p>'
1134
+ . '<p><strong style="color:#0085ba;">'.__('All non-empty values are shown and use basic counting', 'BeRocket_AJAX_domain').'</strong>'
1135
+ . ' - ' . __('plugin do not recount anything. Only attribute values, that do not have products for full shop will be removed (fastest variant)', 'BeRocket_AJAX_domain') . '</p>'
1136
+ . '<p><strong style="color:#0085ba;">'.__('Remove empty values based on page(category/tag/etc)', 'BeRocket_AJAX_domain').'</strong>'
1137
+ . ' - ' . __('plugin recount products for attribute values based on page where displayed. Attribute values, that do not have products for current page will be removed', 'BeRocket_AJAX_domain') . '</p>'
1138
+ . '<p><strong style="color:#0085ba;">'.__('All non-empty values are shown and filters are considered while counting attribute values', 'BeRocket_AJAX_domain').'</strong>'
1139
+ . ' - ' . __('plugin recount products only after filtering. Only attribute values, that do not have products for full shop will be removed. You can hide other empty values after filtering with help of option', 'BeRocket_AJAX_domain') . ' <strong>'.__('Hide values', 'BeRocket_AJAX_domain').'</strong></p>'
1140
+ . '<p><strong style="color:#0085ba;">'.__('Remove empty values based on page(category/tag/etc). Filters are considered while counting attribute values and empty values based on filters are hidden', 'BeRocket_AJAX_domain').'</strong>'
1141
+ . ' - ' . __('uses previous two option together. Works slower, because recounts twice for each attribute values (not recommended)', 'BeRocket_AJAX_domain') . '</p>'
1142
+ . '<p><strong style="color:#0085ba;">'.__('Filters are considered while counting attribute values. Empty values are removed server side', 'BeRocket_AJAX_domain').'</strong>'
1143
+ . ' - ' . __('plugin recount products on page load and after filtering. All empty values will be removed based on page and selected filters', 'BeRocket_AJAX_domain') . '</p>';
1144
+ self::add_tooltip('#braapf_recount_hide_info', $tooltip_text);
1145
+ }
1146
+ public static function add_tooltip($selector, $text) {
1147
+ BeRocket_tooltip_display::add_tooltip(
1148
+ array(
1149
+ 'appendTo' => 'document.body',
1150
+ 'arrow' => true,
1151
+ 'interactive' => true,
1152
+ 'maxWidth' => '"none"'
1153
+ ),
1154
+ $text,
1155
+ $selector
1156
+ );
1157
  }
1158
  public function section_setup_wizard ( $item, $options ) {
1159
  $html = '';
1219
  <input class="berocket_purge_cache_input" type="hidden" name="br_filters_options[purge_cache_time]" value="'.br_get_value_from_array($options, 'purge_cache_time').'">
1220
  ' . __('Purge Cache', 'BeRocket_AJAX_domain') . '
1221
  </span>
1222
+ <p>' . __('Clears the attribute/custom taxonomy cache for plugin', 'BeRocket_AJAX_domain') . '</p>
1223
  <script>
1224
  jQuery(".berocket_purge_cache").click(function() {
1225
  var $this = jQuery(this);
1366
  }
1367
  br_selected_area_show();
1368
  jQuery(document).on('change', '.br_selected_area_show', br_selected_area_show);
1369
+
1370
+ function berocket_disable_ajax_loading() {
1371
+ if( jQuery('.berocket_disable_ajax_loading').prop('checked') ) {
1372
+ jQuery('.berocket_disable_ajax_loading_hide').hide();
1373
+ jQuery('.berocket_wizard_autoselectors').closest('tr').hide();
1374
+ } else {
1375
+ jQuery('.berocket_disable_ajax_loading_hide').show();
1376
+ jQuery('.berocket_wizard_autoselectors').closest('tr').show();
1377
+ }
1378
+ }
1379
+ berocket_disable_ajax_loading();
1380
+ jQuery(document).on('change', '.berocket_disable_ajax_loading', berocket_disable_ajax_loading);
1381
  </script>";
1382
  return $html;
1383
  }
1399
  delete_option( 'rewrite_rules' );
1400
  flush_rewrite_rules();
1401
  }
1402
+ if( apply_filters('BeRocket_AAPF_widget_load_file', true) ) {
1403
+ $plugins = get_option('BeRocket_Framework_plugins_version_check');
1404
+ if( empty($plugins) || ! is_array($plugins) ) {
1405
+ $plugins = array();
1406
+ }
1407
+ if( ! isset($plugins[$this->info['plugin_name']]) ) {
1408
+ $plugins[$this->info['plugin_name']] = '0';
1409
+ }
1410
+ if( version_compare($plugins[$this->info['plugin_name']], '2.9', '>') || ( version_compare($plugins[$this->info['plugin_name']], '1.5', '>=') && version_compare($plugins[$this->info['plugin_name']], '2', '<')) ) {
1411
+ $filters_converted = get_option('braapf_new_filters_converted');
1412
+ if( empty($filters_converted) ) {
1413
+ require_once dirname( __FILE__ ) . '/fixes/replace_filters.php';
1414
+ update_option('braapf_new_filters_converted', true);
1415
+ }
1416
+ }
1417
+ }
1418
  parent::admin_init();
1419
  add_action('berocket_fix_WC_outofstock', array($this, 'fix_WC_outofstock'), 10, 1);
1420
  $this->create_berocket_term_table();
1486
  add_filter( 'pre_get_posts', array( $this, 'apply_user_price' ) );
1487
  add_filter( 'pre_get_posts', array( $this, 'apply_user_filters' ), 900000 );
1488
  add_filter( 'woocommerce_shortcode_products_query', array( $this, 'woocommerce_shortcode_products_query' ), 10, 3 );
1489
+ add_filter( 'woocommerce_shortcode_products_query', array( $this, 'woocommerce_shortcode_products_query_save_query_late' ), 9000000, 3 );
1490
  $shortcode_types = array(
1491
  'products',
1492
  'product',
1610
  'berocket_aapf_widget-script',
1611
  'the_ajax_script',
1612
  apply_filters('aapf_localize_widget_script', array(
1613
+ 'disable_ajax_loading' => ! empty($br_options['disable_ajax_loading']),
1614
  'url_variable' => 'filters',
1615
  'url_mask' => '%t%[%v%]',
1616
  'url_split' => '|',
1648
  'no_products' => $no_products,
1649
  'recount_products' => braapf_filters_must_be_recounted(),
1650
  'pos_relative' => ( empty($br_options['pos_relative']) ? '' : $br_options['pos_relative'] ),
1651
+ 'woocommerce_removes' => array(
1652
  'result_count' => ( empty($br_options['woocommerce_removes']['result_count']) ? '' : $br_options['woocommerce_removes']['result_count'] ),
1653
  'ordering' => ( empty($br_options['woocommerce_removes']['ordering']) ? '' : $br_options['woocommerce_removes']['ordering'] ),
1654
  'pagination' => ( empty($br_options['woocommerce_removes']['pagination']) ? '' : $br_options['woocommerce_removes']['pagination'] ),
1655
+ 'pagination_ajax' => empty($br_options['woocommerce_removes']['pagination_ajax']),
1656
+ ),
1657
  'description_show' => ( ! empty($br_options['description']['show']) ? $br_options['description']['show'] : 'click' ),
1658
  'description_hide' => ( ! empty($br_options['description']['hide']) ? $br_options['description']['hide'] : 'click' ),
1659
  'hide_sel_value' => ( empty($br_options['hide_value']['sel']) ? '' : $br_options['hide_value']['sel'] ),
1765
  <p>' . __( 'Update WooCommerce plugin', 'BeRocket_AJAX_domain' ) . '</p>
1766
  </div>';
1767
  }
1768
+ public function shortcode_apply( $atts = array() ) {
1769
+ $atts = array_merge(array('apply' => true), $atts);
1770
+ remove_filter('berocket_aapf_wcshortcode_is_filtering', array($this, 'apply_filter_to_shortcode'));
1771
+ remove_filter('berocket_aapf_wcshortcode_is_filtering', array($this, 'not_apply_filter_to_shortcode'));
1772
+ if( $atts['apply'] === 'false') $atts['apply'] = false;
1773
+ if($atts['apply'] != 'default') {
1774
+ $atts['apply'] = (bool) $atts['apply'];
1775
+ if( $atts['apply'] ) {
1776
+ add_filter('berocket_aapf_wcshortcode_is_filtering', array($this, 'apply_filter_to_shortcode'));
1777
+ } else {
1778
+ add_filter('berocket_aapf_wcshortcode_is_filtering', array($this, 'not_apply_filter_to_shortcode'));
1779
+ }
1780
+ }
1781
+ }
1782
+ public function apply_filter_to_shortcode($enable) {
1783
+ remove_filter('berocket_aapf_wcshortcode_is_filtering', array($this, 'apply_filter_to_shortcode'));
1784
+ return true;
1785
+ }
1786
+ public function not_apply_filter_to_shortcode($enable) {
1787
+ remove_filter('berocket_aapf_wcshortcode_is_filtering', array($this, 'not_apply_filter_to_shortcode'));
1788
+ return false;
1789
+ }
1790
  public function shortcode( $atts = array() ) {
1791
  if( self::$debug_mode ) {
1792
  if( ! isset( self::$error_log['2_shortcodes'] ) )
1838
  return ob_get_clean();
1839
  }
1840
  public function woocommerce_shortcode_products_query( $query_vars, $atts = array(), $name = 'products' ) {
1841
+ global $bapf_save_shortcode_query_late;
1842
+ $bapf_save_shortcode_query_late = false;
1843
  if( isset($atts['berocket_aapf']) && $atts['berocket_aapf'] === false ) {
1844
  return $query_vars;
1845
  }
1846
  if( apply_filters('berocket_aapf_wcshortcode_is_filtering', ( (! is_shop() && ! is_product_taxonomy() && ! is_product_category() && ! is_product_tag()) || ! empty($atts['berocket_aapf']) ), $query_vars, $atts, $name ) ) {
1847
+ $bapf_save_shortcode_query_late = true;
1848
  $query_vars = $this->woocommerce_filter_query_vars($query_vars, $atts, $name);
1849
  }
1850
  return $query_vars;
1851
  }
1852
+ public function woocommerce_shortcode_products_query_save_query_late( $query_vars, $atts = array(), $name = 'products' ) {
1853
+ global $bapf_save_shortcode_query_late;
1854
+ if( $bapf_save_shortcode_query_late ) {
1855
+ $bapf_save_shortcode_query_late = false;
1856
+ $this->save_shortcode_query_vars($query_vars);
1857
+ }
1858
+ return $query_vars;
1859
+ }
1860
  public function woocommerce_shortcode_no_result($atts) {
1861
  if( ! empty($atts['berocket_aapf']) ) {
1862
  wc_no_products_found();
1950
  $query_vars['post__not_in'] = array();
1951
  }
1952
  $query_vars['post__not_in'] = array_merge($query_vars['post__not_in'], apply_filters('berocket_add_out_of_stock_variable', array(), $custom_terms, berocket_isset($_POST['limits_arr'])));
1953
+ $query_vars['post__in'] = apply_filters( 'bapf_loop_shop_post_in', $query_vars['post__in']);
1954
  if( is_array($query_vars['post__in']) ) {
1955
  $query_vars['post__in'] = array_diff($query_vars['post__in'], $query_vars['post__not_in']);
1956
  }
1958
  $query_vars['berocket_price'] = $_POST['price'];
1959
  }
1960
  $query_vars['berocket_filtered'] = true;
1961
+ $this->save_shortcode_query_vars($query_vars);
1962
+ $query_vars = apply_filters('berocket_filters_query_vars_already_filtered', $query_vars, berocket_isset($_POST['terms']), berocket_isset($_POST['limits_arr']));
1963
+ return $query_vars;
1964
+ }
1965
+ public function save_shortcode_query_vars($query_vars) {
1966
  $br_query_vars = $query_vars;
1967
  if( ! empty($br_query_vars['tax_query']) && is_array($br_query_vars['tax_query']) ) {
1968
  foreach($br_query_vars['tax_query'] as $i => $tax_query_val) {
1976
  global $br_wc_query, $br_aapf_wc_footer_widget;
1977
  $br_query_vars['fields'] = 'ids';
1978
  $br_wc_query = $br_query_vars;
 
1979
  $br_aapf_wc_footer_widget = true;
1980
+ add_action( 'wp_footer', array( $this, 'wp_footer_widget'), 99999 );
 
1981
  }
1982
  public function display_products() {
1983
  return '';
2031
  'post__not_in' => $query->get( 'post__not_in' ),
2032
  'post__in' => $query->get( 'post__in' ),
2033
  );
2034
+ $query_vars_post__in = $query->get( 'post__in' );
2035
+ $query_vars_post__in = apply_filters( 'bapf_loop_shop_post_in', $query_vars_post__in);
2036
+ $query->set( 'post__in', $query_vars_post__in );
2037
  $args_fields = array( 'meta_key', 'tax_query', 'fields', 'where', 'join', 'meta_query', 'date_query' );
2038
  foreach ( $args_fields as $args_field ) {
2039
  if ( ! empty($args[ $args_field ]) ) {
2926
  $options['addons'] = array();
2927
  }
2928
  $options['addons'][] = DIRECTORY_SEPARATOR . 'deprecated_filters'. DIRECTORY_SEPARATOR . 'deprecated_filters.php';
2929
+ new berocket_admin_notices(array(
2930
+ 'start' => 0,
2931
+ 'end' => 0,
2932
+ 'name' => 'aapf_security_risk',
2933
+ 'html' => 'AJAX Product Filters was updated and has a lot of new features, but disable Deprecated Filters in <a href="'.admin_url('admin.php?page=br-product-filters&tab=addons').'">Plugin settings -> Add-ons tab</a> to get access for all new features',
2934
+ 'righthtml' => '<a class="berocket_no_thanks">Close notice</a>',
2935
+ 'rightwidth' => 200,
2936
+ 'nothankswidth' => 200,
2937
+ 'contentwidth' => 400,
2938
+ 'subscribe' => false,
2939
+ 'priority' => 20,
2940
+ 'height' => 50,
2941
+ 'repeat' => false,
2942
+ 'repeatcount' => 1,
2943
+ 'image' => array(
2944
+ 'local' => plugin_dir_url( __FILE__ ) . 'images/attention.png',
2945
+ ),
2946
+ ));
2947
  }
2948
  update_option( 'br_filters_options', $options );
2949
  if( $previous !== '0' && ( version_compare($previous, '1.4.9.9', '<') || (version_compare($previous, '2.0', '>') && version_compare($previous, '2.9', '<') ) ) ) {
2960
  public function parse_header_info() {
2961
  global $braapf_parameters;
2962
  $braapf_parameters = array();
2963
+ $braapf_parameters['ajax_filtering'] = ! empty($_SERVER['HTTP_X_BRAAPF']);
2964
+ $braapf_parameters['do_not_display_filters'] = ! empty($_SERVER['HTTP_X_BRAAPFDISABLE']);
 
2965
  }
2966
  public function no_products_block_before($teplate_name) {
2967
  if( $teplate_name == 'loop/no-products-found.php' ) {
2974
  }
2975
  }
2976
  public function include_all_tempate_styles() {
2977
+ if ( file_exists( STYLESHEETPATH . '/braapf-template-styles' ) ) {
2978
+ foreach (glob(STYLESHEETPATH . '/braapf-template-styles/*.php') as $filename) {
2979
+ include_once($filename);
2980
+ }
2981
+ }
2982
+ if ( file_exists( TEMPLATEPATH . '/braapf-template-styles' ) ) {
2983
+ foreach (glob(TEMPLATEPATH . '/braapf-template-styles/*.php') as $filename) {
2984
+ include_once($filename);
2985
+ }
2986
+ }
2987
+ foreach (glob($this->info['plugin_dir'] . '/template_styles/*.php') as $filename) {
2988
  include_once($filename);
2989
  }
2990
  $styles = apply_filters('BeRocket_AAPF_getall_Template_Styles', array());
readme.txt CHANGED
@@ -4,8 +4,8 @@ Contributors: dholovnia, berocket
4
  Donate link: https://berocket.com/product/woocommerce-ajax-products-filter?utm_source=wordpress_org&utm_medium=donate&utm_campaign=ajax_filters
5
  Tags: filters, product filters, ajax product filters, ajax filter, ajax filter widget, color filter, size filter, product onsale filter, product preview, product category filter, product reset filter, product sort by filter, stock filter, product tag filter, price range filter, price box filter, advanced product filters, woocommerce filters, woocommerce product filters, woocommerce products filter, woocommerce ajax product filters, widget, plugin, woocommerce item filters, filters plugin, ajax filters plugin, filter woocommerce products, filter woocommerce products plugin, wc filters, wc filters products, wc products filters, wc ajax products filters, wc product filters, wc advanced product filters, woocommerce layered nav, woocommerce layered navigation, ajax filtered nav, ajax filtered navigation, price filter, ajax price filter, woocommerce product sorting, sidebar filter, sidebar ajax filter, taxonomy filter, category filter, attribute filter, attributes filter, woocommerce product sort, ajax products filter plugin for woocommerce, rocket, berocket, berocket woocommerce ajax products filter
6
  Requires at least: 5.0
7
- Tested up to: 5.4
8
- Stable tag: 1.4.2.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -15,26 +15,26 @@ WooCommerce AJAX Product Filters - Advanced product filtering ability for your W
15
 
16
  WooCommerce AJAX Product Filters - Advanced product filtering ability for your WooCommerce shop. Add unlimited filters with one widget.
17
 
18
- = New Feature in version 1.3 =
19
-
20
- &#9989; New admin settings design
21
- &#9989; New filters post type and group with filters
22
- &#9989; Possibility to filter WooCommerce shortcode
23
- &#9989; Display filters on any pages(filters will work only on pages with products)
24
- &#9989; Condition to select pages where filters/groups must be displayed
25
- &#9989; Option to hide filters on mobile, tablet or desktop
26
- &#9989; Filter by Product Tags
27
- &#9989; Better work with variations
28
- &#9989; Hierarchical category tree
29
- &#9989; Color and image type of filters
30
- &#9989; SEO Title, Description and Header with added filters
31
- &#9989; Filters can be collapsed by clicking on title, option to collapse filter on start
32
- &#9989; Price Filter Custom Min and Max values
33
- &#9989; Option to Set Values for the Price Slider Manually
34
- &#9989; Add custom CSS on admin settings page
35
- &#9989; Show icons before/after widget title and/or before/after values
36
- &#9989; Scroll top position can be controlled by the admin
37
- &#9989; More functionality and Enhancements
38
 
39
  = Features: =
40
 
@@ -76,9 +76,10 @@ WooCommerce AJAX Product Filters - Advanced product filtering ability for your W
76
  [Admin Demo](https://berocket.com/product/woocommerce-ajax-products-filter?utm_source=wordpress_org&utm_medium=admin_demo&utm_campaign=ajax_filters#try-admin) - Get access to this plugin's admin and try it from inside. Change things and watch how they work.
77
 
78
  = Premium plugin video =
79
- [youtube https://youtu.be/8gaMj-IxUj0]
80
- [youtube https://youtu.be/KMjHgOA-4gM]
81
- [youtube https://youtu.be/yo0vx5kSlLU]
 
82
  *we don't have video with free plugin right now but we are working on it*
83
 
84
  = Compatibility with WooCommerce plugins =
@@ -184,6 +185,34 @@ You can try this plugin's admin side [here](https://berocket.com/product/woocomm
184
 
185
  == Changelog ==
186
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
187
  = 1.4.2.2 =
188
  * Fix - Critical error with older WooCommerce Product Table
189
 
4
  Donate link: https://berocket.com/product/woocommerce-ajax-products-filter?utm_source=wordpress_org&utm_medium=donate&utm_campaign=ajax_filters
5
  Tags: filters, product filters, ajax product filters, ajax filter, ajax filter widget, color filter, size filter, product onsale filter, product preview, product category filter, product reset filter, product sort by filter, stock filter, product tag filter, price range filter, price box filter, advanced product filters, woocommerce filters, woocommerce product filters, woocommerce products filter, woocommerce ajax product filters, widget, plugin, woocommerce item filters, filters plugin, ajax filters plugin, filter woocommerce products, filter woocommerce products plugin, wc filters, wc filters products, wc products filters, wc ajax products filters, wc product filters, wc advanced product filters, woocommerce layered nav, woocommerce layered navigation, ajax filtered nav, ajax filtered navigation, price filter, ajax price filter, woocommerce product sorting, sidebar filter, sidebar ajax filter, taxonomy filter, category filter, attribute filter, attributes filter, woocommerce product sort, ajax products filter plugin for woocommerce, rocket, berocket, berocket woocommerce ajax products filter
6
  Requires at least: 5.0
7
+ Tested up to: 5.4.2
8
+ Stable tag: 1.5
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
15
 
16
  WooCommerce AJAX Product Filters - Advanced product filtering ability for your WooCommerce shop. Add unlimited filters with one widget.
17
 
18
+ = New Feature in version 1.5 =
19
+
20
+ &#9989; New styles for filters: Checkbox, Select, Slider, Color, Image
21
+ &#9989; New slider styles
22
+ &#9989; New buttons styles
23
+ &#9989; Selected filters area horizontal styles
24
+ &#9989; Single selection for check
25
+ &#9989; Select and Select2 can be displayed on same time
26
+ &#9989; Collapse widget option with different settings
27
+ &#9989; Less JavaScript and HTML code for same result.
28
+ &#9989; More compatibility with themes and plugins
29
+ &#9989; Better compatibility with Divi Builder, Beaver Builder, Elementor Builder
30
+ &#9989; Relevanssi compatibility
31
+ &#9989; More ways to customize filters and add additional functionality
32
+ &#9989; Option to set how hierarchical attribute must be displayed
33
+ &#9989; Separate admin title and frontend title
34
+ &#9989; Back button in browser on AJAX
35
+ &#9989; All JavaScript in one minified file
36
+ &#9989; All CSS Styles in one minified file
37
+ &#9989; Checked style for image element style
38
 
39
  = Features: =
40
 
76
  [Admin Demo](https://berocket.com/product/woocommerce-ajax-products-filter?utm_source=wordpress_org&utm_medium=admin_demo&utm_campaign=ajax_filters#try-admin) - Get access to this plugin's admin and try it from inside. Change things and watch how they work.
77
 
78
  = Premium plugin video =
79
+ [youtube https://youtu.be/PQTXzp9Tpbc]
80
+ [youtube https://youtu.be/Ltz82Zs5pl0]
81
+ [youtube https://youtu.be/GA3O1F6YVNE]
82
+ [youtube https://youtu.be/GPA77L0XBxM]
83
  *we don't have video with free plugin right now but we are working on it*
84
 
85
  = Compatibility with WooCommerce plugins =
185
 
186
  == Changelog ==
187
 
188
+ = 1.5 =
189
+ * Enhancement - New styles for filters: Checkbox, Select, Slider, Color, Image
190
+ * Enhancement - New slider styles
191
+ * Enhancement - New buttons styles
192
+ * Enhancement - Selected filters area horizontal styles
193
+ * Enhancement - Single selection for check
194
+ * Enhancement - Select and Select2 can be displayed on same time
195
+ * Enhancement - Collapse widget option with different settings
196
+ * Enhancement - Less JavaScript and HTML code for same result.
197
+ * Enhancement - More compatibility with themes and plugins
198
+ * Enhancement - Better compatibility with Divi Builder, Beaver Builder, Elementor Builder
199
+ * Enhancement - Relevanssi compatibility
200
+ * Enhancement - More ways to customize filters and add additional functionality
201
+ * Enhancement - Option to set how hierarchical attribute must be displayed
202
+ * Enhancement - Separate admin title and frontend title
203
+ * Enhancement - Back button in browser on AJAX
204
+ * Enhancement - All JavaScript in one minified file
205
+ * Enhancement - All CSS Styles in one minified file
206
+ * Enhancement - Checked style for image element style
207
+ * Fix - Incompatibility with some themes
208
+ * Fix - Some incompatibility with Windows server
209
+ * Fix - Some incompatibility with MariaDB
210
+ * Fix - Some issues with Nested Filters
211
+ * Fix - A lot of small fixes
212
+
213
+ = 1.4.2.3 =
214
+ * Enhancement - Compatibility version: Wordpress 5.4.1 and WooCommerce 4.1
215
+
216
  = 1.4.2.2 =
217
  * Fix - Critical error with older WooCommerce Product Table
218
 
template_styles/checkbox.php CHANGED
@@ -20,3 +20,31 @@ if( ! class_exists('BeRocket_AAPF_Template_Style_checkbox') ) {
20
  }
21
  new BeRocket_AAPF_Template_Style_checkbox();
22
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  }
21
  new BeRocket_AAPF_Template_Style_checkbox();
22
  }
23
+ if( ! class_exists('BeRocket_AAPF_Template_Style_checkbox_hide') ) {
24
+ class BeRocket_AAPF_Template_Style_checkbox_hide extends BeRocket_AAPF_Template_Style_checkbox {
25
+ function __construct() {
26
+ parent::__construct();
27
+ $this->data['slug'] = 'checkbox_hide';
28
+ $this->data['name'] = 'Checkbox Hide';
29
+ $this->data['name_price'] = 'Price Ranges Hide';
30
+ $this->data['image'] = plugin_dir_url( __FILE__ ) . 'images/checkbox-hide.png';
31
+ $this->data['image_price'] = plugin_dir_url( __FILE__ ) . 'paid/images/checkbox-hide-price.png';
32
+ $this->data['sort_pos'] = '1900';
33
+ }
34
+ function template_full($template, $terms, $berocket_query_var_title) {
35
+ $template = parent::template_full($template, $terms, $berocket_query_var_title);
36
+ if( ! isset($template['template']['attributes']) || ! is_array($template['template']['attributes']) ) {
37
+ $template['template']['attributes'] = array();
38
+ }
39
+ if( ! isset($template['template']['attributes']['class']) ) {
40
+ $template['template']['attributes']['class'] = array();
41
+ }
42
+ if( ! is_array($template['template']['attributes']['class']) ) {
43
+ $template['template']['attributes']['class'] = array($template['template']['attributes']['class']);
44
+ }
45
+ $template['template']['attributes']['class'][] = 'bapf_hideckbox';
46
+ return $template;
47
+ }
48
+ }
49
+ new BeRocket_AAPF_Template_Style_checkbox_hide();
50
+ }
template_styles/color.php CHANGED
@@ -63,6 +63,25 @@ if( ! class_exists('BeRocket_AAPF_Template_Style_color') ) {
63
  new BeRocket_AAPF_Template_Style_color();
64
  }
65
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  if( ! class_exists('BeRocket_AAPF_Template_Style_image') ) {
67
  class BeRocket_AAPF_Template_Style_image extends BeRocket_AAPF_Template_Style {
68
  function __construct() {
63
  new BeRocket_AAPF_Template_Style_color();
64
  }
65
 
66
+ if( ! class_exists('BeRocket_AAPF_Template_Style_color_woborder') ) {
67
+ class BeRocket_AAPF_Template_Style_color_woborder extends BeRocket_AAPF_Template_Style_color {
68
+ function __construct() {
69
+ parent::__construct();
70
+ $this->data['slug'] = 'color_woborder';
71
+ $this->data['name'] = 'Color without border';
72
+ $this->data['image'] = plugin_dir_url( __FILE__ ) . 'images/color_woborder.png';
73
+ $this->data['version'] = '1.0';
74
+ $this->data['sort_pos'] = '900';
75
+ }
76
+ function template_full($template_content, $terms, $berocket_query_var_title) {
77
+ $template_content = parent::template_full($template_content, $terms, $berocket_query_var_title);
78
+ $template_content['template']['attributes']['class']['img_woborder'] = 'bapf_clr_woborder';
79
+ return $template_content;
80
+ }
81
+ }
82
+ new BeRocket_AAPF_Template_Style_color_woborder();
83
+ }
84
+
85
  if( ! class_exists('BeRocket_AAPF_Template_Style_image') ) {
86
  class BeRocket_AAPF_Template_Style_image extends BeRocket_AAPF_Template_Style {
87
  function __construct() {
template_styles/images/button_default.png CHANGED
Binary file
template_styles/images/checkbox-hide.png ADDED
Binary file
template_styles/images/checkbox.png CHANGED
Binary file
template_styles/images/color.png CHANGED
Binary file
template_styles/images/color_woborder.png ADDED
Binary file
template_styles/images/image.png CHANGED
Binary file
template_styles/images/image_woborder.png CHANGED
Binary file
template_styles/images/new-slider-big.png CHANGED
Binary file
template_styles/images/new-slider-modern.png CHANGED
Binary file
template_styles/images/new-slider-round.png CHANGED
Binary file
template_styles/images/new-slider-sharp.png CHANGED
Binary file
template_styles/images/new-slider-square.png CHANGED
Binary file
template_styles/images/new-slider.png CHANGED
Binary file
template_styles/images/radio.png CHANGED
Binary file
template_styles/images/select.png CHANGED
Binary file
template_styles/images/select2.png CHANGED
Binary file
template_styles/images/select2classic.png CHANGED
Binary file
template_styles/images/selected_filters_area-inline.png CHANGED
Binary file
template_styles/images/selected_filters_area.png CHANGED
Binary file
template_styles/images/slider-after.png CHANGED
Binary file
template_styles/images/slider.png CHANGED
Binary file
template_styles/images/square.png CHANGED
Binary file
template_styles/select.php CHANGED
@@ -12,6 +12,7 @@ if( ! class_exists('BeRocket_AAPF_Template_Style_select') ) {
12
  'image' => plugin_dir_url( __FILE__ ) . 'images/select.png',
13
  'version' => '1.0',
14
  'sort_pos' => '1',
 
15
  'image_price' => plugin_dir_url( __FILE__ ) . 'paid/images/select-price.png',
16
  );
17
  parent::__construct();
@@ -27,6 +28,8 @@ if( ! class_exists('BeRocket_AAPF_Template_Style_select2') ) {
27
  $this->data['name'] = 'Select2';
28
  $this->data['image'] = plugin_dir_url( __FILE__ ) . 'images/select2.png';
29
  $this->data['sort_pos'] = '900';
 
 
30
  }
31
  function enqueue_all() {
32
  do_action('bapf_select2_load');
@@ -53,6 +56,8 @@ if( ! class_exists('BeRocket_AAPF_Template_Style_select2_classic') ) {
53
  $this->data['slug'] = 'select2classic';
54
  $this->data['name'] = 'Select2 Classic';
55
  $this->data['image'] = plugin_dir_url( __FILE__ ) . 'images/select2classic.png';
 
 
56
  }
57
  function template_full($template, $terms, $berocket_query_var_title) {
58
  $template = parent::template_full($template, $terms, $berocket_query_var_title);
12
  'image' => plugin_dir_url( __FILE__ ) . 'images/select.png',
13
  'version' => '1.0',
14
  'sort_pos' => '1',
15
+ 'name_price' => 'Price Ranges Select',
16
  'image_price' => plugin_dir_url( __FILE__ ) . 'paid/images/select-price.png',
17
  );
18
  parent::__construct();
28
  $this->data['name'] = 'Select2';
29
  $this->data['image'] = plugin_dir_url( __FILE__ ) . 'images/select2.png';
30
  $this->data['sort_pos'] = '900';
31
+ $this->data['name_price'] = 'Price Ranges Select2';
32
+ $this->data['image_price'] = plugin_dir_url( __FILE__ ) . 'paid/images/select2-price.png';
33
  }
34
  function enqueue_all() {
35
  do_action('bapf_select2_load');
56
  $this->data['slug'] = 'select2classic';
57
  $this->data['name'] = 'Select2 Classic';
58
  $this->data['image'] = plugin_dir_url( __FILE__ ) . 'images/select2classic.png';
59
+ $this->data['name_price'] = 'Price Ranges Select2 Classic';
60
+ $this->data['image_price'] = plugin_dir_url( __FILE__ ) . 'paid/images/select2classic-price.png';
61
  }
62
  function template_full($template, $terms, $berocket_query_var_title) {
63
  $template = parent::template_full($template, $terms, $berocket_query_var_title);
template_styles/square.php CHANGED
@@ -10,7 +10,9 @@ if( ! class_exists('BeRocket_AAPF_Template_Style_example') ) {
10
  'style_file' => 'css/square.css',
11
  'script_file' => '',
12
  'image' => plugin_dir_url( __FILE__ ) . 'images/square.png',
13
- 'version' => '1.0'
 
 
14
  );
15
  parent::__construct();
16
  }
10
  'style_file' => 'css/square.css',
11
  'script_file' => '',
12
  'image' => plugin_dir_url( __FILE__ ) . 'images/square.png',
13
+ 'version' => '1.0',
14
+ 'name_price' => 'Price Ranges Square',
15
+ 'image_price' => plugin_dir_url( __FILE__ ) . 'paid/images/square-price.png',
16
  );
17
  parent::__construct();
18
  }
templates/color_ajax.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php extract($berocket_query_var_color); ?>
2
  <div class="br_accordion">
3
- <h3><?php if( $type == 'color' ) { _e('Color pick', 'BeRocket_AJAX_domain'); } elseif( $type == 'image' ) { _e('Image pick', 'BeRocket_AJAX_domain'); } ?></h3>
4
  <div>
5
  <?php if ( is_array(berocket_isset($terms)) ) {
6
  if( $type == 'color' ) {?>
1
  <?php extract($berocket_query_var_color); ?>
2
  <div class="br_accordion">
3
+ <h3><?php if( $type == 'color' ) { _e('Color selection', 'BeRocket_AJAX_domain'); } elseif( $type == 'image' ) { _e('Image selection', 'BeRocket_AJAX_domain'); } ?></h3>
4
  <div>
5
  <?php if ( is_array(berocket_isset($terms)) ) {
6
  if( $type == 'color' ) {?>
templates/filter_post_simple.php CHANGED
@@ -18,28 +18,7 @@ $custom_taxonomies = array_combine($custom_taxonomies, $custom_taxonomies);
18
  <label class="br_admin_center"><?php _e('Filter By', 'BeRocket_AJAX_domain') ?></label>
19
  <select id="<?php echo 'filter_type'; ?>" name="<?php echo $post_name.'[filter_type]'; ?>" class="berocket_aapf_widget_admin_filter_type_select br_select_menu_left">
20
  <?php
21
- $filter_type_array = array(
22
- 'attribute' => array(
23
- 'name' => __('Attribute', 'BeRocket_AJAX_domain'),
24
- 'sameas' => 'attribute',
25
- ),
26
- 'tag' => array(
27
- 'name' => __('Tag', 'BeRocket_AJAX_domain'),
28
- 'sameas' => 'tag',
29
- ),
30
- 'all_product_cat' => array(
31
- 'name' => __('Product Category', 'BeRocket_AJAX_domain'),
32
- 'sameas' => 'custom_taxonomy',
33
- 'attribute' => 'product_cat',
34
- ),
35
- );
36
- if ( function_exists('wc_get_product_visibility_term_ids') ) {
37
- $filter_type_array['_rating'] = array(
38
- 'name' => __('Rating', 'BeRocket_AJAX_domain'),
39
- 'sameas' => '_rating',
40
- );
41
- }
42
- $filter_type_array = apply_filters('berocket_filter_filter_type_array', $filter_type_array, $instance);
43
  if( ! array_key_exists($instance['filter_type'], $filter_type_array) ) {
44
  foreach($filter_type_array as $filter_type_key => $filter_type_val) {
45
  $instance['filter_type'] = $filter_type_key;
@@ -64,7 +43,6 @@ $custom_taxonomies = array_combine($custom_taxonomies, $custom_taxonomies);
64
  <div class="br_admin_half_size_right berocket_aapf_widget_admin_filter_type_ berocket_aapf_widget_admin_filter_type_attribute" <?php if ( $instance['filter_type'] and $instance['filter_type'] != 'attribute') echo 'style="display: none;"'; ?>>
65
  <label class="br_admin_center"><?php _e('Attribute', 'BeRocket_AJAX_domain') ?></label>
66
  <select id="<?php echo 'attribute'; ?>" name="<?php echo $post_name.'[attribute]'; ?>" class="berocket_aapf_widget_admin_filter_type_attribute_select br_select_menu_right">
67
- <option <?php if ( $instance['attribute'] == 'price' ) echo 'selected'; ?> value="price"><?php _e('Price', 'BeRocket_AJAX_domain') ?></option>
68
  <?php foreach ( $attributes as $k => $v ) { ?>
69
  <option <?php if ( $instance['attribute'] == $k ) echo 'selected'; ?> value="<?php echo $k ?>"><?php echo $v ?></option>
70
  <?php } ?>
18
  <label class="br_admin_center"><?php _e('Filter By', 'BeRocket_AJAX_domain') ?></label>
19
  <select id="<?php echo 'filter_type'; ?>" name="<?php echo $post_name.'[filter_type]'; ?>" class="berocket_aapf_widget_admin_filter_type_select br_select_menu_left">
20
  <?php
21
+ $filter_type_array = braapf_single_filter_edit_elements::get_all_filter_type_array(array());
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  if( ! array_key_exists($instance['filter_type'], $filter_type_array) ) {
23
  foreach($filter_type_array as $filter_type_key => $filter_type_val) {
24
  $instance['filter_type'] = $filter_type_key;
43
  <div class="br_admin_half_size_right berocket_aapf_widget_admin_filter_type_ berocket_aapf_widget_admin_filter_type_attribute" <?php if ( $instance['filter_type'] and $instance['filter_type'] != 'attribute') echo 'style="display: none;"'; ?>>
44
  <label class="br_admin_center"><?php _e('Attribute', 'BeRocket_AJAX_domain') ?></label>
45
  <select id="<?php echo 'attribute'; ?>" name="<?php echo $post_name.'[attribute]'; ?>" class="berocket_aapf_widget_admin_filter_type_attribute_select br_select_menu_right">
 
46
  <?php foreach ( $attributes as $k => $v ) { ?>
47
  <option <?php if ( $instance['attribute'] == $k ) echo 'selected'; ?> value="<?php echo $k ?>"><?php echo $v ?></option>
48
  <?php } ?>
templates/filters/checkbox.php CHANGED
@@ -65,4 +65,6 @@ foreach( $terms as $i => $term ) {
65
  }
66
  $template_content['template']['content']['filter']['content']['list']['content'] = $terms_content;
67
  $template_content = apply_filters('BeRocket_AAPF_template_full_content', $template_content, $terms, $berocket_query_var_title);
68
- echo BeRocket_AAPF_Template_Build($template_content);
 
 
65
  }
66
  $template_content['template']['content']['filter']['content']['list']['content'] = $terms_content;
67
  $template_content = apply_filters('BeRocket_AAPF_template_full_content', $template_content, $terms, $berocket_query_var_title);
68
+ if( count($template_content['template']['content']['filter']['content']['list']['content']) > 0 ) {
69
+ echo BeRocket_AAPF_Template_Build($template_content);
70
+ }
templates/filters_group.php CHANGED
@@ -63,132 +63,3 @@
63
  );
64
  ?>
65
  </div>
66
- <script>
67
- jQuery(document).on('click', '.berocket_add_filter_to_group', function(event) {
68
- event.preventDefault();
69
- if( ! jQuery('.berocket_filter_added_'+jQuery('.berocket_filter_list').val()).length ) {
70
- var html = '<li class="berocket_filter_added_'+jQuery('.berocket_filter_list').val()+'"><i class="fa fa-bars"></i> ';
71
- html += '<input type="hidden" name="'+jQuery('.berocket_filter_added_list').data('name')+'" value="'+jQuery('.berocket_filter_list').val()+'">';
72
- html += jQuery('.berocket_filter_list').find(':selected').data('name');
73
- html += ' <small>ID:'+jQuery('.berocket_filter_list').val()+'</small>';
74
- html += '<i class="fa fa-times"></i>';
75
- html += ' <a class="berocket_edit_filter fas fa-pencil-alt" target="_blank" href="'+jQuery('.berocket_filter_added_list').data('url')+'?post='+jQuery('.berocket_filter_list').val()+'&action=edit"></a>';
76
- html += '<div class="berocket_hidden_clickable_options">';
77
- html += '<?php _e('Width', 'BeRocket_AJAX_domain'); ?><input type="text" name="<?php echo $post_name; ?>[filters_data]['+jQuery('.berocket_filter_list').val()+'][width]" placeholder="100%" value="">';
78
- html += '</div>';
79
- html += '</li>';
80
- jQuery('.berocket_filter_added_list').append(jQuery(html));
81
- } else {
82
- jQuery('.berocket_filter_added_'+jQuery('.berocket_filter_list').val()).css('background-color', '#ee3333').clearQueue().animate({backgroundColor:'#eeeeee'}, 1000);
83
- }
84
- });
85
- jQuery(document).on('click', '.berocket_filter_added_list .fa-times', function(event) {
86
- jQuery(this).parents('li').first().remove();
87
- });
88
- jQuery(document).ready(function() {
89
- jQuery('#post').on('submit', function(e) {
90
- if( jQuery('.berocket_filter_added_list input[name="br_filters_group[filters][]"]').length == 0 ) {
91
- e.preventDefault();
92
- jQuery(document).trigger('braapf_group_required_filters');
93
- }
94
- });
95
- if(typeof(jQuery( ".berocket_filter_added_list" ).sortable) == 'function') {
96
- jQuery( ".berocket_filter_added_list" ).sortable({axis:"y", handle:".fa-bars", placeholder: "berocket_sortable_space"});
97
- }
98
- });
99
- </script>
100
- <style>
101
- .button.berocket_add_filter_to_group {
102
- margin-right: 8px;
103
- margin-left: 5px;
104
- }
105
- .berocket_filter_added_list li {
106
- font-size: 2em;
107
- border: 1px solid #2c3b48;
108
- padding: 0;
109
- line-height: 40px;
110
- height: 40px;
111
- border-right-width: 3px;
112
- background-color: rgb(238, 238, 238);
113
- }
114
- .berocket_filter_added_list li .fa-bars {
115
- margin-right: 0.5em;
116
- cursor: move;
117
- background-color: #2c3b48;
118
- line-height: 41px;
119
- padding: 0 5px;
120
- color: white;
121
- font-size: 16px;
122
- position: relative;
123
- top: -3px;
124
- }
125
- .berocket_filter_added_list small {
126
- font-size: 0.5em;
127
- vertical-align: middle;
128
- }
129
- .berocket_filter_added_list li .fa-times {
130
- margin-left: 0.5em;
131
- margin-right: 0.5em;
132
- cursor: pointer;
133
- float: right;
134
- line-height: 40px;
135
- font-size: 16px;
136
- position: relative;
137
- top: 1px;
138
- }
139
- .berocket_filter_added_list .berocket_edit_filter {
140
- vertical-align: middle;
141
- font-size: 0.6em;
142
- float: right;
143
- line-height: 40px;
144
- display: inline-block;
145
- color: #2c3b48;
146
- margin-left: 0.5em;
147
- margin-right: 0.5em;
148
- }
149
- .berocket_filter_added_list li .fa-times:hover,
150
- .berocket_filter_added_list .berocket_edit_filter:hover {
151
- color: black;
152
- }
153
- .berocket_filter_added_list .berocket_sortable_space {
154
- border: 2px dashed #aaa;
155
- background: white;
156
- font-size: 2em;
157
- height: 1.1em;
158
- box-sizing: content-box;
159
- padding: 5px;
160
- }
161
- .berocket_filter_groups {
162
- margin-top: 20px;
163
- }
164
- .berocket_filter_added_list .berocket_hidden_clickable_options {
165
- font-size: 12px;
166
- float: right;
167
- margin-right: 10px;
168
- display: none;
169
- }
170
- .berocket_hidden_clickable_options input{
171
- width: 100px;
172
- }
173
- .berocket_filter_added_list.berocket_hidden_clickable_enabled .berocket_hidden_clickable_options {
174
- display: inline-block;
175
- }
176
- @media screen and (max-width: 600px) {
177
- .berocket_filter_added_list small,
178
- .berocket_filter_added_list .berocket_edit_filter {
179
- display: none;
180
- }
181
- .berocket_filter_added_list li {
182
- position: relative;
183
- }
184
- .berocket_filter_added_list li .fa-times {
185
- position: absolute;
186
- top: 1px;
187
- right: 0;
188
- background-color: rgb(238, 238, 238);
189
- margin: 0;
190
- padding: 0 10px;
191
- line-height: 38px;
192
- }
193
- }
194
- </style>
63
  );
64
  ?>
65
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
templates/filters_information.php CHANGED
@@ -2,19 +2,28 @@
2
  echo '<p><a class="berocket_aapf_filter_setup_wizard button" href="#support">', __( 'SETUP WIZARD', 'BeRocket_AJAX_domain' ), '</a></p>';
3
  echo '<a href="http://berocket.com/docs/plugin/woocommerce-ajax-products-filter#post_product_filters" target="_blank">' . __('Get more information on BeRocket Documentation', 'BeRocket_AJAX_domain') . '</a>';
4
  echo '<h3>', __( 'How to hide filter on page load?', 'BeRocket_AJAX_domain' ), '</h3>';
5
- echo '<p>', sprintf(__( 'Enable in <strong>%s</strong> option <strong>%s</strong>', 'BeRocket_AJAX_domain' ), __('Advanced Settings', 'BeRocket_AJAX_domain'), __('Hide this widget on load?', 'BeRocket_AJAX_domain')), '</p>';
6
  echo '<h3>', __( 'How to add reset filters button?', 'BeRocket_AJAX_domain' ), '</h3>';
7
- echo '<p>', sprintf(__( 'Select <strong>%s</strong> in option <strong>%s</strong>', 'BeRocket_AJAX_domain' ), __('Reset Products button', 'BeRocket_AJAX_domain'), __('Widget Type', 'BeRocket_AJAX_domain')), '</p>';
8
  echo '<h3>', __( 'How to add update products button? (to filter products only after click on button)', 'BeRocket_AJAX_domain' ), '</h3>';
9
- echo '<p>', sprintf(__( 'Select <strong>%s</strong> in option <strong>%s</strong>', 'BeRocket_AJAX_domain' ), __('Update Products button', 'BeRocket_AJAX_domain'), __('Widget Type', 'BeRocket_AJAX_domain')), '</p>';
10
 
11
  ?>
12
  <script>
 
 
 
 
 
 
 
 
 
13
  function berocket_aapf_single_filter_messages_list_start() {
14
  var elements = [
15
  {
16
  selector:'#titlediv',
17
- text:'<?php _e('Title will be displayed as widget title.<br>You can write text, that want to display above filter', 'BeRocket_AJAX_domain') ?>',
18
  disable_inside:false,
19
  execute:berocket_message_updater_execute,
20
  execute_after:berocket_message_updater_execute_after
@@ -27,29 +36,41 @@ function berocket_aapf_single_filter_messages_list_start() {
27
  execute_after:berocket_message_updater_execute_after
28
  },
29
  {
30
- selector:'.berocketwizard_widget_type',
31
- text:'<?php _e('All that can be displayed you can select there<h3>Variants:</h3><ul><li><strong>Filter</strong>(main type) - filters by attributes, categories, price etc.</li><li><strong>Update Products button</strong> - button to apply filters to products. Filter will applies only after click on update button</li><li><strong>Reset Products button</strong> - button to disable all selected filters</li><li><strong>Selected Filters area</strong> - display selected filters and provide possibility to disable it in one place</li></ul>', 'BeRocket_AJAX_domain') ?>'
32
- },
33
- {
34
- selector:'.berocketwizard_attribute',
35
- text:'<?php _e('Select attribute that you need to filter by.<br>You can use for filtering price, attributes, categories, tags etc', 'BeRocket_AJAX_domain') ?>',
36
  disable_inside:false,
37
  execute:berocket_message_updater_execute,
38
  execute_after:berocket_message_updater_execute_after
39
  },
40
  {
41
- selector:'.br_type_select_block',
42
- text:'<?php _e('Filter selection type. This option change how filter will be look like.', 'BeRocket_AJAX_domain') ?>',
43
- disable_inside:false,
44
- execute:berocket_message_updater_execute,
45
- execute_after:berocket_message_updater_execute_after
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  },
47
  {
48
  selector:'#meta_box_shortcode',
49
  text:'<?php _e('Shortcode to use this filters in any place of your site will be displayed there<br><strong>Please use widgets if you do not know how shortcode works</strong>', 'BeRocket_AJAX_domain') ?>',
50
  },
51
  {
52
- selector:'#submitpost .button',
53
  text:'<?php _e('Save filter after setup to use it in widgets', 'BeRocket_AJAX_domain') ?>',
54
  },
55
  ];
2
  echo '<p><a class="berocket_aapf_filter_setup_wizard button" href="#support">', __( 'SETUP WIZARD', 'BeRocket_AJAX_domain' ), '</a></p>';
3
  echo '<a href="http://berocket.com/docs/plugin/woocommerce-ajax-products-filter#post_product_filters" target="_blank">' . __('Get more information on BeRocket Documentation', 'BeRocket_AJAX_domain') . '</a>';
4
  echo '<h3>', __( 'How to hide filter on page load?', 'BeRocket_AJAX_domain' ), '</h3>';
5
+ echo '<p>', sprintf(__( 'Enable in <strong>%s</strong> step option <strong>%s</strong> and <strong>%s</strong>', 'BeRocket_AJAX_domain' ), __('Additional', 'BeRocket_AJAX_domain'), __('Enable minimization option', 'BeRocket_AJAX_domain'), __('Minimize this widget on load?', 'BeRocket_AJAX_domain')), '</p>';
6
  echo '<h3>', __( 'How to add reset filters button?', 'BeRocket_AJAX_domain' ), '</h3>';
7
+ echo '<p>', sprintf(__( 'Select <strong>%s</strong> in step <strong>%s</strong>', 'BeRocket_AJAX_domain' ), __('Reset Products button', 'BeRocket_AJAX_domain'), __('Widget Type', 'BeRocket_AJAX_domain')), '</p>';
8
  echo '<h3>', __( 'How to add update products button? (to filter products only after click on button)', 'BeRocket_AJAX_domain' ), '</h3>';
9
+ echo '<p>', sprintf(__( 'Select <strong>%s</strong> in step <strong>%s</strong>', 'BeRocket_AJAX_domain' ), __('Update Products button', 'BeRocket_AJAX_domain'), __('Widget Type', 'BeRocket_AJAX_domain')), '</p>';
10
 
11
  ?>
12
  <script>
13
+ function braapf_set_wizard_widget_type() {
14
+ setTimeout(function() {
15
+ jQuery('#braapf_widget_type_filter').trigger('click');
16
+ }, 500);
17
+ }
18
+ function braapf_set_wizard_filter_type() {
19
+ jQuery('#braapf_filter_type').val('all_product_cat').trigger('change');
20
+ jQuery('#braapf_style_color').trigger('click');
21
+ }
22
  function berocket_aapf_single_filter_messages_list_start() {
23
  var elements = [
24
  {
25
  selector:'#titlediv',
26
+ text:'<?php _e('Title will be displayed only on admin side.<br>You can write text, that want to mark it for admin side', 'BeRocket_AJAX_domain') ?>',
27
  disable_inside:false,
28
  execute:berocket_message_updater_execute,
29
  execute_after:berocket_message_updater_execute_after
36
  execute_after:berocket_message_updater_execute_after
37
  },
38
  {
39
+ selector:'.braapf_filter_title',
40
+ text:'<?php _e('Title will be displayed as widget title.<br>You can write text, that want to display above filter', 'BeRocket_AJAX_domain') ?>',
 
 
 
 
41
  disable_inside:false,
42
  execute:berocket_message_updater_execute,
43
  execute_after:berocket_message_updater_execute_after
44
  },
45
  {
46
+ selector:'.braapf_widget_type',
47
+ text:'<?php _e('All that can be displayed you can select there<h3>Variants:</h3><ul><li><strong>Filter</strong>(main type) - filters by attributes, categories, price etc.</li><li><strong>Update Products button</strong> - button to apply filters to products. Filter will applies only after click on update button</li><li><strong>Reset Products button</strong> - button to disable all selected filters</li><li><strong>Selected Filters area</strong> - display selected filters and provide possibility to disable it in one place</li></ul>', 'BeRocket_AJAX_domain') ?>',
48
+ execute_after:braapf_set_wizard_widget_type
49
+ },
50
+
51
+ {
52
+ selector:'.brsbs_attribute_setup .berocket_sbs_content',
53
+ text:'<?php _e('Select attribute that you need to filter by.<br>You can use for filtering price, attributes, categories, tags etc', 'BeRocket_AJAX_domain') ?>'
54
+ },
55
+ {
56
+ selector:'.brsbs_style .berocket_sbs_content',
57
+ text:'<?php _e('Filter style. This option change how filter will be look like.', 'BeRocket_AJAX_domain') ?>',
58
+ execute:braapf_set_wizard_filter_type
59
+ },
60
+ {
61
+ selector:'.brsbs_required',
62
+ text:'<?php _e('Filter required options.<br>Those options must be setuped, because filter can work incorrect without it.', 'BeRocket_AJAX_domain') ?>'
63
+ },
64
+ {
65
+ selector:'.brsbs_additional .berocket_sbs_content',
66
+ text:'<?php _e('Filter Additional options. You can add/change some elements for filter', 'BeRocket_AJAX_domain') ?>'
67
  },
68
  {
69
  selector:'#meta_box_shortcode',
70
  text:'<?php _e('Shortcode to use this filters in any place of your site will be displayed there<br><strong>Please use widgets if you do not know how shortcode works</strong>', 'BeRocket_AJAX_domain') ?>',
71
  },
72
  {
73
+ selector:'.brsbs_save .button',
74
  text:'<?php _e('Save filter after setup to use it in widgets', 'BeRocket_AJAX_domain') ?>',
75
  },
76
  ];
templates/settings/design.php CHANGED
@@ -43,7 +43,7 @@ $fonts_list = g_fonts_list();
43
  </td>
44
  </tr>
45
  <tr class="br_onlyTitle_title_radio_settings">
46
- <td><?php _e('Title opened', 'BeRocket_AJAX_domain') ?></td>
47
  <td class="admin-column-color">
48
  <div class="br_colorpicker_field" data-color="<?php echo br_get_value_from_array($options, array('styles_input', 'onlyTitle_titleopened', 'bcolor'), '000000') ?>"></div>
49
  <input class="br_border_color_set" type="hidden" value="<?php echo br_get_value_from_array($options, array('styles_input', 'onlyTitle_titleopened', 'bcolor')) ?>" name="br_filters_options[styles_input][onlyTitle_titleopened][bcolor]" />
@@ -118,7 +118,7 @@ $fonts_list = g_fonts_list();
118
  <tr>
119
  <th scope="row"><?php _e('Loading icon text', 'BeRocket_AJAX_domain') ?></th>
120
  <td>
121
- <span><?php _e('Above:', 'BeRocket_AJAX_domain') ?> </span><input name="br_filters_options[ajax_load_text][top]" type='text' value='<?php echo br_get_value_from_array($options, array('ajax_load_text', 'top',)); ?>'/>
122
  </td>
123
  <td>
124
  <span><?php _e('Below:', 'BeRocket_AJAX_domain') ?> </span><input name="br_filters_options[ajax_load_text][bottom]" type='text' value='<?php echo br_get_value_from_array($options, array('ajax_load_text', 'bottom')); ?>'/>
@@ -145,7 +145,7 @@ $fonts_list = g_fonts_list();
145
  </table>
146
  <table class="form-table">
147
  <tr>
148
- <th scope="row"><?php _e('Product quantity style', 'BeRocket_AJAX_domain') ?></th>
149
  <td>
150
  <select name="br_filters_options[styles_input][product_count]">
151
  <option <?php echo ( $options['styles_input']['product_count'] ) ? 'selected' : '' ?> value=""><?php _e('4', 'BeRocket_AJAX_domain') ?></option>
@@ -172,7 +172,7 @@ $fonts_list = g_fonts_list();
172
  </table>
173
  <table class="form-table">
174
  <tr>
175
- <th scope="row"><?php _e('Indent option for hierarchy in Drop-Down', 'BeRocket_AJAX_domain') ?></th>
176
  <td>
177
  <select name="br_filters_options[child_pre_indent]">
178
  <option <?php echo ( $options['child_pre_indent'] ) ? 'selected' : '' ?> value=""><?php _e('-', 'BeRocket_AJAX_domain') ?></option>
43
  </td>
44
  </tr>
45
  <tr class="br_onlyTitle_title_radio_settings">
46
+ <td><?php _e('Title when opened', 'BeRocket_AJAX_domain') ?></td>
47
  <td class="admin-column-color">
48
  <div class="br_colorpicker_field" data-color="<?php echo br_get_value_from_array($options, array('styles_input', 'onlyTitle_titleopened', 'bcolor'), '000000') ?>"></div>
49
  <input class="br_border_color_set" type="hidden" value="<?php echo br_get_value_from_array($options, array('styles_input', 'onlyTitle_titleopened', 'bcolor')) ?>" name="br_filters_options[styles_input][onlyTitle_titleopened][bcolor]" />
118
  <tr>
119
  <th scope="row"><?php _e('Loading icon text', 'BeRocket_AJAX_domain') ?></th>
120
  <td>
121
+ <span><?php _e('Above:', 'BeRocket_AJAX_domain') ?> </span><input name="br_filters_options[ajax_load_text][top]" type='text' value='<?php echo br_get_value_from_array($options, array('ajax_load_text', 'top')); ?>'/>
122
  </td>
123
  <td>
124
  <span><?php _e('Below:', 'BeRocket_AJAX_domain') ?> </span><input name="br_filters_options[ajax_load_text][bottom]" type='text' value='<?php echo br_get_value_from_array($options, array('ajax_load_text', 'bottom')); ?>'/>
145
  </table>
146
  <table class="form-table">
147
  <tr>
148
+ <th scope="row"><?php _e('Style for number of products', 'BeRocket_AJAX_domain') ?></th>
149
  <td>
150
  <select name="br_filters_options[styles_input][product_count]">
151
  <option <?php echo ( $options['styles_input']['product_count'] ) ? 'selected' : '' ?> value=""><?php _e('4', 'BeRocket_AJAX_domain') ?></option>
172
  </table>
173
  <table class="form-table">
174
  <tr>
175
+ <th scope="row"><?php _e('Indent for hierarchy in Drop-Down', 'BeRocket_AJAX_domain') ?></th>
176
  <td>
177
  <select name="br_filters_options[child_pre_indent]">
178
  <option <?php echo ( $options['child_pre_indent'] ) ? 'selected' : '' ?> value=""><?php _e('-', 'BeRocket_AJAX_domain') ?></option>
templates/single_filter/single_settings_elements.php CHANGED
@@ -151,7 +151,7 @@ if( ! class_exists('braapf_single_filter_edit_elements') ) {
151
  static function cat_value_limit($settings_name, $braapf_filter_settings) {
152
  echo '<div class="braapf_attribute_setup_flex">';
153
  echo '<div class="braapf_cat_value_limit braapf_full_select_full">';
154
- $cat_value_limit = br_get_value_from_array($braapf_filter_setings, 'cat_value_limit', '0');
155
  $hrterms = berocket_aapf_get_terms(array(
156
  'taxonomy' => 'product_cat',
157
  'hide_empty' => false
@@ -159,12 +159,12 @@ if( ! class_exists('braapf_single_filter_edit_elements') ) {
159
  'disable_recount' => true,
160
  'hierarchical' => true
161
  ));
162
- echo '<label for="braapf_cat_value_limit">' . __('Limit filter values by products from selected category', 'BeRocket_AJAX_domain') . '</label>';
163
  echo '<select id="braapf_cat_value_limit" name="'.$settings_name.'[cat_value_limit]">';
164
  echo '<option value="">' . __('Use all attribute values', 'BeRocket_AJAX_domain') . '</option>';
165
  echo '<optgroup label="'.__('Limit by category:', 'BeRocket_AJAX_domain').'">';
166
  foreach($hrterms as $hrterm) {
167
- echo '<option value="'.$hrterm->slug.'"'.($cat_value_limit == $hrterm->slug ? ' selected' : '').'>';
168
  for( $i = 0; $i < $hrterm->depth; $i++ ) {
169
  echo '- ';
170
  }
@@ -182,9 +182,22 @@ if( ! class_exists('braapf_single_filter_edit_elements') ) {
182
  $templates = array();
183
  foreach($styles as $style_id => $style_data) {
184
  $JQdata = '';
 
 
 
185
  foreach($style_data as $data_name => $data_value) {
186
  if( (is_string($data_value) || is_numeric($data_value)) && ! in_array($data_name, array('this', 'file', 'style_file', 'script_file')) ) {
187
- $JQdata .= ' data-'. $data_name.'="'.$data_value.'"';
 
 
 
 
 
 
 
 
 
 
188
  }
189
  }
190
  if( ! isset($templates[$style_data['template'].'+'.$style_data['specific']]) ) {
@@ -268,7 +281,7 @@ if( ! class_exists('braapf_single_filter_edit_elements') ) {
268
  echo '<div class="braapf_attribute_setup_flex">';
269
  $widget_collapse = br_get_value_from_array($braapf_filter_settings, 'widget_collapse', '');
270
  echo '<div class="braapf_widget_collapse braapf_half_select_full">';
271
- echo '<label for="braapf_widget_collapse">' . __('Enable collapse option', 'BeRocket_AJAX_domain') . '</label>';
272
  echo '<select id="braapf_widget_collapse" name="'.$settings_name.'[widget_collapse]">';
273
  echo '<option value=""'.($widget_collapse == "" ? ' selected' : '').'>' . __('Disabled', 'BeRocket_AJAX_domain') . '</option>';
274
  echo '<option value="with_arrow"'.($widget_collapse == "with_arrow" ? ' selected' : '').'>' . __('Enabled with arrow', 'BeRocket_AJAX_domain') . '</option>';
@@ -280,7 +293,7 @@ if( ! class_exists('braapf_single_filter_edit_elements') ) {
280
  $widget_is_hide = br_get_value_from_array($braapf_filter_settings, 'widget_is_hide', '0');
281
  echo '<p>';
282
  echo '<input id="braapf_widget_is_hide" type="checkbox" name="' . $settings_name . '[widget_is_hide]"' . ( empty($widget_is_hide) ? '' : ' checked' ) . ' value="1">';
283
- echo '<label for="braapf_widget_is_hide">'.__('Collapse this widget on load?', 'BeRocket_AJAX_domain').'</label>';
284
  echo '</p>';
285
  echo '</div>';
286
  echo '</div>';
@@ -304,7 +317,7 @@ if( ! class_exists('braapf_single_filter_edit_elements') ) {
304
  echo '</div>';
305
  echo '<div class="braapf_select_first_element_text braapf_half_select_full">';
306
  $select_first_element_text = br_get_value_from_array($braapf_filter_settings, 'select_first_element_text', '');
307
- echo '<label class="braapf_select_first_element_text_for_single" for="braapf_select_first_element_text">'.__('First Element Text', 'BeRocket_AJAX_domain').'</label>';
308
  echo '<label class="braapf_select_first_element_text_for_multiple" for="braapf_select_first_element_text">'.__('Placeholder Text', 'BeRocket_AJAX_domain').'</label>';
309
  echo '<input id="braapf_select_first_element_text" type="text" name="' . $settings_name . '[select_first_element_text]" value="'.$select_first_element_text.'" placeholder="'.__('Any', 'BeRocket_AJAX_domain').'">';
310
  echo '</div>';
@@ -314,7 +327,7 @@ if( ! class_exists('braapf_single_filter_edit_elements') ) {
314
  echo '<div class="braapf_attribute_setup_flex">';
315
  echo '<div class="braapf_attribute_count braapf_half_select_full">';
316
  $attribute_count = br_get_value_from_array($braapf_filter_settings, 'attribute_count', '');
317
- echo '<label for="braapf_attribute_count">'.__('Attribute Values count', 'BeRocket_AJAX_domain').'</label>';
318
  echo '<input id="braapf_attribute_count" type="text" name="' . $settings_name . '[attribute_count]" value="'.$attribute_count.'" placeholder="'.__('From settings', 'BeRocket_AJAX_domain').'">';
319
  echo '</div>';
320
  echo '<div class="braapf_attribute_count_show_hide braapf_half_select_full">';
@@ -335,7 +348,7 @@ if( ! class_exists('braapf_single_filter_edit_elements') ) {
335
  $enable_slider_inputs = br_get_value_from_array($braapf_filter_settings, 'enable_slider_inputs', '0');
336
  echo '<p>';
337
  echo '<input id="braapf_enable_slider_inputs" type="checkbox" name="' . $settings_name . '[enable_slider_inputs]"' . ( empty($enable_slider_inputs) ? '' : ' checked' ) . ' value="1">';
338
- echo '<label for="braapf_enable_slider_inputs">'.__('Enable Slider Inputs', 'BeRocket_AJAX_domain').'</label>';
339
  echo '</p>';
340
  echo '</div>';
341
  echo '</div>';
@@ -364,12 +377,12 @@ if( ! class_exists('braapf_single_filter_edit_elements') ) {
364
  echo '<div class="braapf_attribute_setup_flex">';
365
  echo '<div class="braapf_height braapf_half_select_full">';
366
  $height = br_get_value_from_array($braapf_filter_settings, 'height', '');
367
- echo '<label for="braapf_height">'.__('Filter Box Height', 'BeRocket_AJAX_domain').'</label>';
368
  echo '<input min="0" id="braapf_height" type="text" name="' . $settings_name . '[height]" value="'.$height.'" placeholder="'.__('Auto', 'BeRocket_AJAX_domain').'">';
369
  echo '</div>';
370
  echo '<div class="braapf_scroll_theme braapf_half_select_full">';
371
  $scroll_theme = br_get_value_from_array($braapf_filter_settings, 'scroll_theme', '');
372
- echo '<label for="braapf_scroll_theme">' . __('Scroll Theme', 'BeRocket_AJAX_domain') . '</label>';
373
  $scroll_themes = array(
374
  "light",
375
  "dark",
@@ -433,7 +446,7 @@ if( ! class_exists('braapf_single_filter_edit_elements') ) {
433
  echo '<div class="braapf_attribute_setup_flex">';
434
  echo '<div class="braapf_use_value_with_color braapf_half_select_full">';
435
  $use_value_with_color = br_get_value_from_array($braapf_filter_settings, 'use_value_with_color', '');
436
- echo '<label for="braapf_use_value_with_color">' . __('Display value with color/image box?', 'BeRocket_AJAX_domain') . '</label>';
437
  echo '<select id="braapf_use_value_with_color" name="'.$settings_name.'[use_value_with_color]">';
438
  echo '<option value=""'.($use_value_with_color == "" ? ' selected' : '').'>' . __('Disabled', 'BeRocket_AJAX_domain') . '</option>';
439
  echo '<option value="top"'.($use_value_with_color == "top" ? ' selected' : '').'>' . __('Top', 'BeRocket_AJAX_domain') . '</option>';
@@ -480,14 +493,14 @@ if( ! class_exists('braapf_single_filter_edit_elements') ) {
480
  echo '<div class="braapf_attribute_setup_flex">';
481
  echo '<div class="braapf_color_image_checked braapf_half_select_full">';
482
  $color_image_checked = br_get_value_from_array($braapf_filter_settings, 'color_image_checked', '');
483
- echo '<label for="braapf_color_image_checked">' . __('Checked type', 'BeRocket_AJAX_domain') . '</label>';
484
  echo '<select id="braapf_color_image_checked" name="'.$settings_name.'[color_image_checked]">';
485
  $color_image_sizes = array(
486
  'brchecked_default' => __('Default', 'BeRocket_AJAX_domain'),
487
  'brchecked_rotate' => __('Rotate', 'BeRocket_AJAX_domain'),
488
  'brchecked_scale' => __('Scale', 'BeRocket_AJAX_domain'),
489
  'brchecked_shadow' => __('Blue Shadow', 'BeRocket_AJAX_domain'),
490
- 'brchecked_image_shadow' => __('Image shadow(EXPERIMENTAL)', 'BeRocket_AJAX_domain'),
491
  'brchecked_hue_rotate' => __('Color Change(EXPERIMENTAL)', 'BeRocket_AJAX_domain'),
492
  'brchecked_custom' => __('Custom CSS', 'BeRocket_AJAX_domain'),
493
  );
@@ -518,12 +531,12 @@ if( ! class_exists('braapf_single_filter_edit_elements') ) {
518
  echo '<div class="braapf_attribute_setup_flex">';
519
  echo '<div class="braapf_min_price braapf_half_select_full">';
520
  $min_price = br_get_value_from_array($braapf_filter_settings, 'min_price', '');
521
- echo '<label for="braapf_min_price">'.__('Use min price', 'BeRocket_AJAX_domain').'</label>';
522
  echo '<input min="0" id="braapf_min_price" type="number" name="' . $settings_name . '[min_price]" value="'.$min_price.'" placeholder="'.__('From Products List', 'BeRocket_AJAX_domain').'">';
523
  echo '</div>';
524
  echo '<div class="braapf_max_price braapf_half_select_full">';
525
  $max_price = br_get_value_from_array($braapf_filter_settings, 'max_price', '');
526
- echo '<label for="braapf_max_price">'.__('Use max price', 'BeRocket_AJAX_domain').'</label>';
527
  echo '<input min="0" id="braapf_max_price" type="number" name="' . $settings_name . '[max_price]" value="'.$max_price.'" placeholder="'.__('From Products List', 'BeRocket_AJAX_domain').'">';
528
  echo '</div>';
529
  echo '</div>';
@@ -532,13 +545,13 @@ if( ! class_exists('braapf_single_filter_edit_elements') ) {
532
  echo '<div class="braapf_attribute_setup_flex">';
533
  echo '<div class="braapf_text_before_price braapf_half_select_full">';
534
  $text_before_price = br_get_value_from_array($braapf_filter_settings, 'text_before_price', '');
535
- echo '<label for="braapf_text_before_price">'.__('Text Before Slider Value', 'BeRocket_AJAX_domain').'
536
  <span id="braapf_text_before_price_info" class="dashicons dashicons-editor-help"></span></label>';
537
  echo '<input id="braapf_text_before_price" type="text" name="' . $settings_name . '[text_before_price]" value="'.$text_before_price.'">';
538
  echo '</div>';
539
  echo '<div class="braapf_text_after_price braapf_half_select_full">';
540
  $text_after_price = br_get_value_from_array($braapf_filter_settings, 'text_after_price', '');
541
- echo '<label for="braapf_text_after_price">'.__('Text After Slider Value', 'BeRocket_AJAX_domain').'
542
  <span id="braapf_text_after_price_info" class="dashicons dashicons-editor-help"></span></label>';
543
  echo '<input id="braapf_text_after_price" type="text" name="' . $settings_name . '[text_after_price]" value="'.$text_after_price.'">';
544
  echo '</div>';
@@ -579,13 +592,13 @@ if( ! class_exists('braapf_single_filter_edit_elements') ) {
579
  echo '</div>';
580
  echo '<div class="braapf_number_style_elements braapf_half_select_full">';
581
  $number_style_thousand_separate = br_get_value_from_array($braapf_filter_settings, 'number_style_thousand_separate', '');
582
- echo '<label for="braapf_number_style_thousand_separate">'.__('Thousand Separator', 'BeRocket_AJAX_domain').'</label>';
583
  echo '<input id="braapf_number_style_thousand_separate" type="text" name="' . $settings_name . '[number_style_thousand_separate]" value="'.$number_style_thousand_separate.'">';
584
  $number_style_decimal_separate = br_get_value_from_array($braapf_filter_settings, 'number_style_decimal_separate', '');
585
- echo '<label for="braapf_number_style_decimal_separate">'.__('Decimal Separator', 'BeRocket_AJAX_domain').'</label>';
586
  echo '<input id="braapf_number_style_decimal_separate" type="text" name="' . $settings_name . '[number_style_decimal_separate]" value="'.$number_style_decimal_separate.'">';
587
  $number_style_decimal_number = br_get_value_from_array($braapf_filter_settings, 'number_style_decimal_number', '');
588
- echo '<label for="braapf_number_style_decimal_number">'.__('Number Of Decimal', 'BeRocket_AJAX_domain').'</label>';
589
  echo '<input min=0 id="braapf_number_style_decimal_number" type="number" name="' . $settings_name . '[number_style_decimal_number]" value="'.$number_style_decimal_number.'">';
590
  echo '</div>';
591
  echo '</div>';
151
  static function cat_value_limit($settings_name, $braapf_filter_settings) {
152
  echo '<div class="braapf_attribute_setup_flex">';
153
  echo '<div class="braapf_cat_value_limit braapf_full_select_full">';
154
+ $cat_value_limit = br_get_value_from_array($braapf_filter_settings, 'cat_value_limit', '0');
155
  $hrterms = berocket_aapf_get_terms(array(
156
  'taxonomy' => 'product_cat',
157
  'hide_empty' => false
159
  'disable_recount' => true,
160
  'hierarchical' => true
161
  ));
162
+ echo '<label for="braapf_cat_value_limit">' . __('Limit filter values by products from the selected category', 'BeRocket_AJAX_domain') . '</label>';
163
  echo '<select id="braapf_cat_value_limit" name="'.$settings_name.'[cat_value_limit]">';
164
  echo '<option value="">' . __('Use all attribute values', 'BeRocket_AJAX_domain') . '</option>';
165
  echo '<optgroup label="'.__('Limit by category:', 'BeRocket_AJAX_domain').'">';
166
  foreach($hrterms as $hrterm) {
167
+ echo '<option value="'.urldecode($hrterm->slug).'"'.($cat_value_limit == urldecode($hrterm->slug) ? ' selected' : '').'>';
168
  for( $i = 0; $i < $hrterm->depth; $i++ ) {
169
  echo '- ';
170
  }
182
  $templates = array();
183
  foreach($styles as $style_id => $style_data) {
184
  $JQdata = '';
185
+ if( empty($style_data['image']) || ! file_exists(plugin_dir_path($style_data['file']) . str_replace(plugin_dir_url($style_data['file']), '', $style_data['image'])) ) {
186
+ $style_data['image'] = plugin_dir_url( BeRocket_AJAX_filters_file ) . 'images/without-preview.png';
187
+ }
188
  foreach($style_data as $data_name => $data_value) {
189
  if( (is_string($data_value) || is_numeric($data_value)) && ! in_array($data_name, array('this', 'file', 'style_file', 'script_file')) ) {
190
+ $JQdata_ok = true;
191
+ if( in_array($data_name, array('image_price', 'image')) ) {
192
+ $JQdata_ok = false;
193
+ $path = plugin_dir_path($style_data['file']) . str_replace(plugin_dir_url($style_data['file']), '', $data_value);
194
+ if( file_exists($path) ) {
195
+ $JQdata_ok = true;
196
+ }
197
+ }
198
+ if($JQdata_ok) {
199
+ $JQdata .= ' data-'. $data_name.'="'.$data_value.'"';
200
+ }
201
  }
202
  }
203
  if( ! isset($templates[$style_data['template'].'+'.$style_data['specific']]) ) {
281
  echo '<div class="braapf_attribute_setup_flex">';
282
  $widget_collapse = br_get_value_from_array($braapf_filter_settings, 'widget_collapse', '');
283
  echo '<div class="braapf_widget_collapse braapf_half_select_full">';
284
+ echo '<label for="braapf_widget_collapse">' . __('Enable minimization option', 'BeRocket_AJAX_domain') . '</label>';
285
  echo '<select id="braapf_widget_collapse" name="'.$settings_name.'[widget_collapse]">';
286
  echo '<option value=""'.($widget_collapse == "" ? ' selected' : '').'>' . __('Disabled', 'BeRocket_AJAX_domain') . '</option>';
287
  echo '<option value="with_arrow"'.($widget_collapse == "with_arrow" ? ' selected' : '').'>' . __('Enabled with arrow', 'BeRocket_AJAX_domain') . '</option>';
293
  $widget_is_hide = br_get_value_from_array($braapf_filter_settings, 'widget_is_hide', '0');
294
  echo '<p>';
295
  echo '<input id="braapf_widget_is_hide" type="checkbox" name="' . $settings_name . '[widget_is_hide]"' . ( empty($widget_is_hide) ? '' : ' checked' ) . ' value="1">';
296
+ echo '<label for="braapf_widget_is_hide">'.__('Minimize the widget on load?', 'BeRocket_AJAX_domain').'</label>';
297
  echo '</p>';
298
  echo '</div>';
299
  echo '</div>';
317
  echo '</div>';
318
  echo '<div class="braapf_select_first_element_text braapf_half_select_full">';
319
  $select_first_element_text = br_get_value_from_array($braapf_filter_settings, 'select_first_element_text', '');
320
+ echo '<label class="braapf_select_first_element_text_for_single" for="braapf_select_first_element_text">'.__('Text of the first element', 'BeRocket_AJAX_domain').'</label>';
321
  echo '<label class="braapf_select_first_element_text_for_multiple" for="braapf_select_first_element_text">'.__('Placeholder Text', 'BeRocket_AJAX_domain').'</label>';
322
  echo '<input id="braapf_select_first_element_text" type="text" name="' . $settings_name . '[select_first_element_text]" value="'.$select_first_element_text.'" placeholder="'.__('Any', 'BeRocket_AJAX_domain').'">';
323
  echo '</div>';
327
  echo '<div class="braapf_attribute_setup_flex">';
328
  echo '<div class="braapf_attribute_count braapf_half_select_full">';
329
  $attribute_count = br_get_value_from_array($braapf_filter_settings, 'attribute_count', '');
330
+ echo '<label for="braapf_attribute_count">'.__('Number of Attribute values', 'BeRocket_AJAX_domain').'</label>';
331
  echo '<input id="braapf_attribute_count" type="text" name="' . $settings_name . '[attribute_count]" value="'.$attribute_count.'" placeholder="'.__('From settings', 'BeRocket_AJAX_domain').'">';
332
  echo '</div>';
333
  echo '<div class="braapf_attribute_count_show_hide braapf_half_select_full">';
348
  $enable_slider_inputs = br_get_value_from_array($braapf_filter_settings, 'enable_slider_inputs', '0');
349
  echo '<p>';
350
  echo '<input id="braapf_enable_slider_inputs" type="checkbox" name="' . $settings_name . '[enable_slider_inputs]"' . ( empty($enable_slider_inputs) ? '' : ' checked' ) . ' value="1">';
351
+ echo '<label for="braapf_enable_slider_inputs">'.__('Enable Slider input fields', 'BeRocket_AJAX_domain').'</label>';
352
  echo '</p>';
353
  echo '</div>';
354
  echo '</div>';
377
  echo '<div class="braapf_attribute_setup_flex">';
378
  echo '<div class="braapf_height braapf_half_select_full">';
379
  $height = br_get_value_from_array($braapf_filter_settings, 'height', '');
380
+ echo '<label for="braapf_height">'.__('Height of the Filter Block', 'BeRocket_AJAX_domain').'</label>';
381
  echo '<input min="0" id="braapf_height" type="text" name="' . $settings_name . '[height]" value="'.$height.'" placeholder="'.__('Auto', 'BeRocket_AJAX_domain').'">';
382
  echo '</div>';
383
  echo '<div class="braapf_scroll_theme braapf_half_select_full">';
384
  $scroll_theme = br_get_value_from_array($braapf_filter_settings, 'scroll_theme', '');
385
+ echo '<label for="braapf_scroll_theme">' . __('Scrollbar theme', 'BeRocket_AJAX_domain') . '</label>';
386
  $scroll_themes = array(
387
  "light",
388
  "dark",
446
  echo '<div class="braapf_attribute_setup_flex">';
447
  echo '<div class="braapf_use_value_with_color braapf_half_select_full">';
448
  $use_value_with_color = br_get_value_from_array($braapf_filter_settings, 'use_value_with_color', '');
449
+ echo '<label for="braapf_use_value_with_color">' . __('Display value next to color/image?', 'BeRocket_AJAX_domain') . '</label>';
450
  echo '<select id="braapf_use_value_with_color" name="'.$settings_name.'[use_value_with_color]">';
451
  echo '<option value=""'.($use_value_with_color == "" ? ' selected' : '').'>' . __('Disabled', 'BeRocket_AJAX_domain') . '</option>';
452
  echo '<option value="top"'.($use_value_with_color == "top" ? ' selected' : '').'>' . __('Top', 'BeRocket_AJAX_domain') . '</option>';
493
  echo '<div class="braapf_attribute_setup_flex">';
494
  echo '<div class="braapf_color_image_checked braapf_half_select_full">';
495
  $color_image_checked = br_get_value_from_array($braapf_filter_settings, 'color_image_checked', '');
496
+ echo '<label for="braapf_color_image_checked">' . __('Selected value style', 'BeRocket_AJAX_domain') . '</label>';
497
  echo '<select id="braapf_color_image_checked" name="'.$settings_name.'[color_image_checked]">';
498
  $color_image_sizes = array(
499
  'brchecked_default' => __('Default', 'BeRocket_AJAX_domain'),
500
  'brchecked_rotate' => __('Rotate', 'BeRocket_AJAX_domain'),
501
  'brchecked_scale' => __('Scale', 'BeRocket_AJAX_domain'),
502
  'brchecked_shadow' => __('Blue Shadow', 'BeRocket_AJAX_domain'),
503
+ 'brchecked_image_shadow' => __('Drop-shadow(EXPERIMENTAL)', 'BeRocket_AJAX_domain'),
504
  'brchecked_hue_rotate' => __('Color Change(EXPERIMENTAL)', 'BeRocket_AJAX_domain'),
505
  'brchecked_custom' => __('Custom CSS', 'BeRocket_AJAX_domain'),
506
  );
531
  echo '<div class="braapf_attribute_setup_flex">';
532
  echo '<div class="braapf_min_price braapf_half_select_full">';
533
  $min_price = br_get_value_from_array($braapf_filter_settings, 'min_price', '');
534
+ echo '<label for="braapf_min_price">'.__('Use custom minimum price', 'BeRocket_AJAX_domain').'</label>';
535
  echo '<input min="0" id="braapf_min_price" type="number" name="' . $settings_name . '[min_price]" value="'.$min_price.'" placeholder="'.__('From Products List', 'BeRocket_AJAX_domain').'">';
536
  echo '</div>';
537
  echo '<div class="braapf_max_price braapf_half_select_full">';
538
  $max_price = br_get_value_from_array($braapf_filter_settings, 'max_price', '');
539
+ echo '<label for="braapf_max_price">'.__('Use custom maximum price', 'BeRocket_AJAX_domain').'</label>';
540
  echo '<input min="0" id="braapf_max_price" type="number" name="' . $settings_name . '[max_price]" value="'.$max_price.'" placeholder="'.__('From Products List', 'BeRocket_AJAX_domain').'">';
541
  echo '</div>';
542
  echo '</div>';
545
  echo '<div class="braapf_attribute_setup_flex">';
546
  echo '<div class="braapf_text_before_price braapf_half_select_full">';
547
  $text_before_price = br_get_value_from_array($braapf_filter_settings, 'text_before_price', '');
548
+ echo '<label for="braapf_text_before_price">'.__('Text before Slider value', 'BeRocket_AJAX_domain').'
549
  <span id="braapf_text_before_price_info" class="dashicons dashicons-editor-help"></span></label>';
550
  echo '<input id="braapf_text_before_price" type="text" name="' . $settings_name . '[text_before_price]" value="'.$text_before_price.'">';
551
  echo '</div>';
552
  echo '<div class="braapf_text_after_price braapf_half_select_full">';
553
  $text_after_price = br_get_value_from_array($braapf_filter_settings, 'text_after_price', '');
554
+ echo '<label for="braapf_text_after_price">'.__('Text after Slider value', 'BeRocket_AJAX_domain').'
555
  <span id="braapf_text_after_price_info" class="dashicons dashicons-editor-help"></span></label>';
556
  echo '<input id="braapf_text_after_price" type="text" name="' . $settings_name . '[text_after_price]" value="'.$text_after_price.'">';
557
  echo '</div>';
592
  echo '</div>';
593
  echo '<div class="braapf_number_style_elements braapf_half_select_full">';
594
  $number_style_thousand_separate = br_get_value_from_array($braapf_filter_settings, 'number_style_thousand_separate', '');
595
+ echo '<label for="braapf_number_style_thousand_separate">'.__('Thousands separator', 'BeRocket_AJAX_domain').'</label>';
596
  echo '<input id="braapf_number_style_thousand_separate" type="text" name="' . $settings_name . '[number_style_thousand_separate]" value="'.$number_style_thousand_separate.'">';
597
  $number_style_decimal_separate = br_get_value_from_array($braapf_filter_settings, 'number_style_decimal_separate', '');
598
+ echo '<label for="braapf_number_style_decimal_separate">'.__('Decimal separator', 'BeRocket_AJAX_domain').'</label>';
599
  echo '<input id="braapf_number_style_decimal_separate" type="text" name="' . $settings_name . '[number_style_decimal_separate]" value="'.$number_style_decimal_separate.'">';
600
  $number_style_decimal_number = br_get_value_from_array($braapf_filter_settings, 'number_style_decimal_number', '');
601
+ echo '<label for="braapf_number_style_decimal_number">'.__('Number of digits after decimal point', 'BeRocket_AJAX_domain').'</label>';
602
  echo '<input min=0 id="braapf_number_style_decimal_number" type="number" name="' . $settings_name . '[number_style_decimal_number]" value="'.$number_style_decimal_number.'">';
603
  echo '</div>';
604
  echo '</div>';
templates/single_filter/widget_type.php CHANGED
@@ -6,28 +6,38 @@ $widget_types = apply_filters('braapf_new_widget_edit_page_widget_types', array(
6
  'filter' => array(
7
  'value' => 'filter',
8
  'name' => __('Filter', 'BeRocket_AJAX_domain'),
9
- 'image' => plugin_dir_url( BeRocket_AJAX_filters_file ) . 'assets/admin/images/filters.png'
 
 
 
10
  ),
11
  'update_button' => array(
12
  'value' => 'update_button',
13
  'name' => __('Update Products button', 'BeRocket_AJAX_domain'),
14
  'image' => plugin_dir_url( BeRocket_AJAX_filters_file ) . 'assets/admin/images/apply_filters.png',
15
  'templates' => array('button'),
16
- 'specific' => array('elements')
 
 
17
  ),
18
  'reset_button' => array(
19
  'value' => 'reset_button',
20
  'name' => __('Reset Products button', 'BeRocket_AJAX_domain'),
21
  'image' => plugin_dir_url( BeRocket_AJAX_filters_file ) . 'assets/admin/images/clear_filters.png',
22
  'templates' => array('button'),
23
- 'specific' => array('elements')
 
 
24
  ),
25
  'selected_area' => array(
26
  'value' => 'selected_area',
27
  'name' => __('Selected Filters area', 'BeRocket_AJAX_domain'),
28
  'image' => plugin_dir_url( BeRocket_AJAX_filters_file ) . 'assets/admin/images/selected_filters.png',
29
  'templates' => array('selected_filters'),
30
- 'specific' => array('elements')
 
 
 
31
  ),
32
  ));
33
  echo '<p>'.__('Select widget type that you need to create', 'BeRocket_AJAX_domain').'</p>';
@@ -48,6 +58,7 @@ foreach($widget_types as $widget_slug => $widget_type) {
48
  'type' => 'tag',
49
  'tag' => 'div',
50
  'attributes'=> array(
 
51
  'class' => array(
52
  'braapf_widget_type_'.$widget_slug
53
  )
@@ -123,5 +134,8 @@ foreach($widget_types as $widget_slug => $widget_type) {
123
  if( ! empty($widget_type['specific']) && is_array($widget_type['specific']) && count($widget_type['specific']) ) {
124
  $widget_types_build['template']['content'][$widget_slug]['content']['input']['attributes']['data-specific'] = json_encode($widget_type['specific']);
125
  }
 
 
 
126
  }
127
  echo BeRocket_AAPF_Template_Build($widget_types_build);
6
  'filter' => array(
7
  'value' => 'filter',
8
  'name' => __('Filter', 'BeRocket_AJAX_domain'),
9
+ 'image' => plugin_dir_url( BeRocket_AJAX_filters_file ) . 'assets/admin/images/filters.png',
10
+ 'info' => '<p>' . __('Create filters by price, attributes, categories, tags etc.', 'BeRocket_AJAX_domain') . '</p>'
11
+ . '<p>' . __('Basic widget type. Other widget types do not work without filters', 'BeRocket_AJAX_domain') . '</p>'
12
+ . '<p><small>' . __('Plugin do not have possibility to filter products by post meta') . '</small></p>'
13
  ),
14
  'update_button' => array(
15
  'value' => 'update_button',
16
  'name' => __('Update Products button', 'BeRocket_AJAX_domain'),
17
  'image' => plugin_dir_url( BeRocket_AJAX_filters_file ) . 'assets/admin/images/apply_filters.png',
18
  'templates' => array('button'),
19
+ 'specific' => array('elements'),
20
+ 'info' => '<p>' . __('Filters will be applied to the products only after this button will be clicked.', 'BeRocket_AJAX_domain') . '</p>'
21
+ . '<p>' . __('If at least one update button displayed on the page, then all filters will be applied only after button clicked.', 'BeRocket_AJAX_domain') . '</p>'
22
  ),
23
  'reset_button' => array(
24
  'value' => 'reset_button',
25
  'name' => __('Reset Products button', 'BeRocket_AJAX_domain'),
26
  'image' => plugin_dir_url( BeRocket_AJAX_filters_file ) . 'assets/admin/images/clear_filters.png',
27
  'templates' => array('button'),
28
+ 'specific' => array('elements'),
29
+ 'info' => '<p>' . __('Clear all selected filters.', 'BeRocket_AJAX_domain') . '</p>'
30
+ . '<p>' . __('After click on Reset button all selected filters will be unselected and products updated.', 'BeRocket_AJAX_domain') . '</p>'
31
  ),
32
  'selected_area' => array(
33
  'value' => 'selected_area',
34
  'name' => __('Selected Filters area', 'BeRocket_AJAX_domain'),
35
  'image' => plugin_dir_url( BeRocket_AJAX_filters_file ) . 'assets/admin/images/selected_filters.png',
36
  'templates' => array('selected_filters'),
37
+ 'specific' => array('elements'),
38
+ 'info' => '<p>' . __('Display all selected filters.', 'BeRocket_AJAX_domain') . '</p>'
39
+ . '<p>' . __('Each filter can be clicked to reset it.', 'BeRocket_AJAX_domain') . '</p>'
40
+ . '<p>' . __('Also has link to reset all filters, that works same as Reset button.', 'BeRocket_AJAX_domain') . '</p>'
41
  ),
42
  ));
43
  echo '<p>'.__('Select widget type that you need to create', 'BeRocket_AJAX_domain').'</p>';
58
  'type' => 'tag',
59
  'tag' => 'div',
60
  'attributes'=> array(
61
+ 'id' => 'braapf_widget_type_'.$widget_slug.'_div',
62
  'class' => array(
63
  'braapf_widget_type_'.$widget_slug
64
  )
134
  if( ! empty($widget_type['specific']) && is_array($widget_type['specific']) && count($widget_type['specific']) ) {
135
  $widget_types_build['template']['content'][$widget_slug]['content']['input']['attributes']['data-specific'] = json_encode($widget_type['specific']);
136
  }
137
+ if( ! empty($widget_type['info']) ) {
138
+ BeRocket_AAPF::add_tooltip('#braapf_widget_type_'.$widget_slug.'_div', $widget_type['info']);
139
+ }
140
  }
141
  echo BeRocket_AAPF_Template_Build($widget_types_build);
wizard/main.php CHANGED
@@ -134,12 +134,12 @@ if( ! class_exists('BeRocket_selector_wizard_woocommerce') ) {
134
 
135
  public function remove_products_ended() {
136
  add_action('pre_get_posts', array($this, 'products_per_page_more'), 999999999999999);
137
- $args = array("post_type" => "product", "s" => 'BeRocketSelectorsTest', 'posts_per_page' => 100);
138
  $query = get_posts( $args );
139
  if( is_array($query) ) {
140
  echo count($query);
141
  foreach($query as $product) {
142
- wp_delete_post($product->ID, true);
143
  }
144
  }
145
  $term = get_term_by('name', 'BeRocketSelectors', 'product_cat');
134
 
135
  public function remove_products_ended() {
136
  add_action('pre_get_posts', array($this, 'products_per_page_more'), 999999999999999);
137
+ $args = array("post_type" => "product", "s" => 'BeRocketSelectorsTest', 'posts_per_page' => 100, 'fields' => 'ids');
138
  $query = get_posts( $args );
139
  if( is_array($query) ) {
140
  echo count($query);
141
  foreach($query as $product) {
142
+ wp_delete_post($product, true);
143
  }
144
  }
145
  $term = get_term_by('name', 'BeRocketSelectors', 'product_cat');
wizard/wizard.js CHANGED
@@ -515,7 +515,7 @@ function berocket_wizard_autoselector_end_error() {
515
  }
516
  jQuery('.berocket_autoselector').prop('disabled', false);
517
  BeRocket_set_autoselector_load_position(100);
518
- jQuery('.berocket_autoselector_load .berocket_autoselector_action').text('Error: '+$('.berocket_autoselector_load .berocket_autoselector_action').text());
519
  jQuery('.berocket_autoselect_spin').hide();
520
  jQuery('.berocket_autoselector_load .berocket_line').css('background-color', '#bb3333');
521
  jQuery('.berocket_autoselect_error').show();
515
  }
516
  jQuery('.berocket_autoselector').prop('disabled', false);
517
  BeRocket_set_autoselector_load_position(100);
518
+ jQuery('.berocket_autoselector_load .berocket_autoselector_action').text('Error: '+jQuery('.berocket_autoselector_load .berocket_autoselector_action').text());
519
  jQuery('.berocket_autoselect_spin').hide();
520
  jQuery('.berocket_autoselector_load .berocket_line').css('background-color', '#bb3333');
521
  jQuery('.berocket_autoselect_error').show();
woocommerce-filters.php CHANGED
@@ -3,14 +3,14 @@
3
  * Plugin Name: Advanced AJAX Product Filters for WooCommerce
4
  * Plugin URI: https://wordpress.org/plugins/woocommerce-ajax-filters/?utm_source=free_plugin&utm_medium=plugins&utm_campaign=ajax_filters
5
  * Description: Unlimited AJAX products filters to make your shop perfect
6
- * Version: 1.5beta
7
  * Author: BeRocket
8
  * Requires at least: 5.0
9
  * Author URI: https://berocket.com?utm_source=free_plugin&utm_medium=plugins&utm_campaign=ajax_filters
10
  * Text Domain: BeRocket_AJAX_domain
11
  * Domain Path: /languages/
12
- * WC tested up to: 4.1
13
  */
14
- define( "BeRocket_AJAX_filters_version", '1.5beta' );
15
  define( "BeRocket_AJAX_filters_file", __FILE__ );
16
  include_once('main.php');
3
  * Plugin Name: Advanced AJAX Product Filters for WooCommerce
4
  * Plugin URI: https://wordpress.org/plugins/woocommerce-ajax-filters/?utm_source=free_plugin&utm_medium=plugins&utm_campaign=ajax_filters
5
  * Description: Unlimited AJAX products filters to make your shop perfect
6
+ * Version: 1.5
7
  * Author: BeRocket
8
  * Requires at least: 5.0
9
  * Author URI: https://berocket.com?utm_source=free_plugin&utm_medium=plugins&utm_campaign=ajax_filters
10
  * Text Domain: BeRocket_AJAX_domain
11
  * Domain Path: /languages/
12
+ * WC tested up to: 4.2
13
  */
14
+ define( "BeRocket_AJAX_filters_version", '1.5' );
15
  define( "BeRocket_AJAX_filters_file", __FILE__ );
16
  include_once('main.php');