<?php 
/*
Widget Name: Search Filter
Description: Search Filter
Author: Theplus
Author URI: https://posimyth.com
*/
namespace TheplusAddons\Widgets;

use Elementor\Widget_Base;
use Elementor\Controls_Manager;
use Elementor\Utils;
use Elementor\Core\Schemes\Color;
use Elementor\Group_Control_Typography;
use Elementor\Group_Control_Border;
use Elementor\Core\Schemes\Typography;
use Elementor\Group_Control_Background;
use Elementor\Group_Control_Box_Shadow;

use TheplusAddons\Theplus_Element_Load;
if (!defined('ABSPATH'))
    exit; // Exit if accessed directly

class ThePlus_Search_Filter extends Widget_Base {

	public function get_name() {
		return 'tp-search-filter';
	}

    public function get_title() {
        return esc_html__('WP Filters', 'theplus');
    }

    public function get_icon() {
        return 'fa fa-sort-size-up-alt theplus_backend_icon';
    }

    public function get_categories() {
        return array('plus-search-filter');
    }
		
	public function get_keywords() {
		return ['search','filter','search filter','product filter','wp filter'];
	}
	
    protected function register_controls() {
		$this->start_controls_section('FilterArea_section',
			[
				'label' => esc_html__('Filter Area','theplus'),
				'tab' => Controls_Manager::TAB_CONTENT,
			]
		);
        $repeater = new \Elementor\Repeater();
        $repeater->add_control('filteroption',
			[
				'label'=>esc_html__('Filter Type','theplus'),
				'type'=>Controls_Manager::SELECT,
				'default'=>'wpfilter',
				'options'=>[
					'wpfilter'=>esc_html__('WP Filter','theplus'),
                    'Woofilter'=>esc_html__('Woo Filter','theplus'),
                    'extrafilter'=>esc_html__('Filter Meta','theplus'),
				],
			]
		);
        $repeater->add_control('WpFilterType',
            [
                'label'=>esc_html__('Select Source','theplus'),
                'type'=>Controls_Manager::SELECT,
                'default'=>'',
                'options'=>[
                    ''=>esc_html__('Select Source','theplus'),
                    'alphabet'=>esc_html__('Alphabet Filter','theplus'),
                    'checkbox' => esc_html__('CheckBox','theplus'),
                    'date'=>esc_html__('Date Picker','theplus'),
                    'drop_down' => esc_html__('Drop Down','theplus'),
                    'radio' => esc_html__('Radio Button','theplus'),
                    'range' => esc_html__('Range Slider','theplus'),
                    'search'=>esc_html__('Search Input','theplus'),
                    'tabbing'=>esc_html__('Tabbing Filter','theplus'),
                    'autocomplete'=>esc_html__('Autocomplete','theplus'),
                ],
                'condition'=>[
                    'filteroption'=>'wpfilter',
                ],
            ]
        );
        $repeater->add_control('WooFilterType',
			[
				'label'=>esc_html__('Select Source','theplus'),
				'type'=>Controls_Manager::SELECT,
				'default'=>'',
				'options'=>[
					''=>esc_html__('Select Source','theplus'),
                    'button'=>esc_html__('Button','theplus'),
                    'color'=>esc_html__('Color','theplus'),
                    'image'=>esc_html__('Image','theplus'),
                    'rating'=>esc_html__('Rating','theplus'),
				],
                'condition'=>[
					'filteroption'=>'Woofilter',
				],
			]
		);
        $repeater->add_control('ExFilterType',
            [
                'label'=>esc_html__('Select Source','theplus'),
                'type'=>Controls_Manager::SELECT,
                'default'=>'filter_tag',
                'options'=>[
                    'filter_tag'=>esc_html__('Filter Tag','theplus'),
                    'filter_reset'=>esc_html__('Filter Reset','theplus'),
                    'total_results'=>esc_html__('Search Results','theplus'),
                    'Column_results'=>esc_html__('Filter Column','theplus'),
                ],
                'condition' => [
                    'filteroption'=>'extrafilter',
                ],
            ]
        );
        $repeater->add_control('ContentType',
			[
				'label' => esc_html__('Select Type','theplus'),
				'type' => Controls_Manager::SELECT,
				'default' => '',
				'options' => [
                    ''=>esc_html__('Select Source','theplus'),
					'taxonomy'=>esc_html__('Taxonomy','theplus'),
                    'acf_conne'=>esc_html__('ACF connection','theplus'),
                    'pods_conne'=>esc_html__('PODs connection','theplus'),
                    'toolset_conne'=>esc_html__('Toolset connection','theplus'),
                    'metabox_conne'=>esc_html__('Metabox connection','theplus'),
				],
                'condition' => [
                    'filteroption' => ['wpfilter','Woofilter'],
				],
                'conditions'=>[
					'relation'=>'or',
					'terms'=>[
                        ['name'=>'WpFilterType','operator'=>'in','value'=>['checkbox','date','drop_down','search','tabbing','radio','range','autocomplete']],
                        ['name'=>'WooFilterType','operator'=>'in','value'=>['color','image','button','rating']],
					],
				],
			]
		);
        $repeater->add_control('TaxonomyType',
			[
				'label'=>esc_html__('Select Taxonomy','theplus'),
				'type'=>Controls_Manager::SELECT,
				'default'=>'',
                'options'=>theplus_get_post_taxonomies(),
                'condition'=>[
                    'filteroption'=>['wpfilter','Woofilter'],
                    'ContentType'=>'taxonomy'
				],
                'conditions' => [
					'relation'=>'or',
					'terms'=>[
                        ['name'=>'WpFilterType','operator'=>'in','value'=>['checkbox','date','drop_down','tabbing','radio']],
                        ['name'=>'WooFilterType','operator'=>'in','value'=>['color','image','button']],
					],
				],
			]
		);
        $repeater->add_control('pAttr',
			[
				'label'=>esc_html__('Select Attributes','theplus'),
				'type'=>Controls_Manager::SELECT,
				'default'=>'',
				'options'=>theplus_get_woocommerce_taxonomies(),
                'condition'=>[
                    'filteroption'=>['Woofilter'],
                    'ContentType'=>'taxonomy',
					'TaxonomyType'=>'product_attr',
				],
                'conditions'=>[
					'relation'=>'or',
					'terms'=>[
                        ['name'=>'WooFilterType','operator'=>'in','value'=>['color','image','button']],
					],
				],
			]
		);
        $repeater->add_control('acfKey',
            [
                'label'=>__('Connection Key','theplus'),
                'type'=>Controls_Manager::TEXT,
                'default'=>'',
                'placeholder'=>__('Enter Key','theplus'),
                'condition'=>[
                    'filteroption'=>['wpfilter','Woofilter'],
                    'ContentType'=>['acf_conne','pods_conne','toolset_conne','metabox_conne'],
                ],
                'conditions'=>[
                    'relation'=>'or',
                    'terms'=>[
                        ['name'=>'WpFilterType','operator'=>'in','value'=>['checkbox','date','drop_down','search','tabbing','radio','range','autocomplete']],
                        ['name'=>'WooFilterType','operator'=>'in','value'=>['color','image','button','rating']],
                    ],
                ],
            ]
        );
        $repeater->add_control('ColorPickerKey',
            [
                'label'=>__('ACF ColorPicker','theplus'),
                'type'=>Controls_Manager::TEXT,
                'default'=>'',
                'placeholder'=>__('Enter ACF Key','theplus'),
                'condition'=>[
                    'filteroption'=>'Woofilter',
                    'ContentType'=>['acf_conne','pods_conne','toolset_conne','metabox_conne'],
                ],
                'conditions'=>[
                    'relation'=>'or',
                    'terms'=>[
                        ['name'=>'WooFilterType','operator'=>'===','value'=>'color'],
                    ],
                ],
            ]
        );
        $repeater->add_control('placeholder',
			[
				'label'=>__('Placeholder Text','theplus'),
				'type'=>Controls_Manager::TEXT,
				'default'=>'',
				'placeholder'=>__('Type your keyword to search...','theplus'),
                'condition'=>[
					'filteroption'=>'wpfilter',
                    'WpFilterType'=>['search']
				],
			]
		);
        $repeater->add_control('GenericFilter',
            [
                'label'=>__('Generic Filters','theplus'),
                'type'=>Controls_Manager::POPOVER_TOGGLE,
                'label_off'=>__('Default','theplus'),
                'label_on'=>__('Custom','theplus'),
                'return_value'=>'yes',
                'default'=>'yes',
                'condition'=>[
                    'filteroption'=>'wpfilter',
                    'WpFilterType'=>'search',
                ],
            ]
        );
        $repeater->start_popover();
        $repeater->add_control('haddingGF',
            [
                'label'=>__('Generic Filters','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'after'
            ]
        );
        $repeater->add_control('sintitle',
            [
                'label'=>esc_html__('Search in Title','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>esc_html__('Show','theplus'),
                'label_off'=>esc_html__('Hide','theplus'),
                'default'=>'yes',
            ]
        );
        $repeater->add_control('sincontent',
            [
                'label'=>esc_html__('Search in Content','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>esc_html__('Show','theplus'),
                'label_off'=>esc_html__('Hide','theplus'),
                'default'=>'',
            ]
        );
        $repeater->add_control('sinname',
            [
                'label'=>esc_html__('Search in Name','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>esc_html__('Show','theplus'),
                'label_off'=>esc_html__('Hide','theplus'),
                'default'=>'',
            ]
        );
        $repeater->add_control('sinexcerpt',
            [
                'label'=>esc_html__('Search in Excerpt','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>esc_html__('Show','theplus'),
                'label_off'=>esc_html__('Hide','theplus'),
                'default'=>'',
            ]
        );
        $repeater->add_control('sincategory',
            [
                'label'=>esc_html__('Search in Category','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>esc_html__('Show','theplus'),
                'label_off'=>esc_html__('Hide','theplus'),
                'default'=>'',
            ]
        );
        $repeater->add_control('sinTags',
            [
                'label'=>esc_html__('Search in Tags','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>esc_html__('Show','theplus'),
                'label_off'=>esc_html__('Hide','theplus'),
                'default'=>'',
            ]
        );
        $repeater->add_control('SearchMatch',
            [
                'label'=>__('Search Type','theplus'),
                'type'=>Controls_Manager::SELECT,
                'multiple'=>true,
                'options'=>[
                    'otheroption'=>__('Default','theplus'),
                    'fullMatch'=>__('Full Match','theplus'),
                ],
                'default'=>'otheroption',
            ]
        );
        $repeater->end_popover();
        $repeater->add_control('layout_date',
			[
				'label'=>__('Date layout','theplus'),
				'type'=>Controls_Manager::SELECT,
				'default'=>'style-1',
				'options'=>[
					'style-1'=>__('Default','theplus'),
					'style-2'=>__('Custom','theplus'),
				],
                'condition'=>[
                    'filteroption'=>'wpfilter',
                    'WpFilterType'=>'date',
                ],
			]
		);
        $repeater->add_control('lableDisable',
			[
				'label'=>__('Show Label','theplus'),
				'type'=>Controls_Manager::SWITCHER,
				'label_on'=>__('Show','theplus'),
				'label_off'=>__('Hide','theplus'),
				'return_value'=>'yes',
				'default'=>'yes',
                'condition'=>[
                    'filteroption'=> 'wpfilter',
                    'WpFilterType'=> 'date',
                    'layout_date'=> 'style-1'
                ],
			]
		);
        $repeater->add_control('lableOne_date',
			[
				'label'=>__('First Label','theplus'),
				'type'=>Controls_Manager::TEXT,
				'default'=>__('Start','theplus'),
				'placeholder'=>__('Enter First Label','theplus'),
                'condition'=>[
                    'filteroption'=> 'wpfilter',
                    'WpFilterType'=> 'date',
                    'lableDisable'=> 'yes',
                    'layout_date'=> 'style-1'
                ],
			]
		);
        $repeater->add_control('lableTwo_date',
			[
				'label'=>__('Second Label','theplus'),
				'type'=>Controls_Manager::TEXT,
				'default'=>__('End','theplus'),
				'placeholder'=>__('Enter Second Label','theplus'),
                'condition'=>[
                    'filteroption'=> 'wpfilter',
                    'WpFilterType'=> 'date',
                    'lableDisable'=> 'yes',
                    'layout_date'=> 'style-1'
                ],
			]
		);
        $repeater->add_control('lableStyleDate',
			[
				'label'=>__('Border Style','theplus'),
				'type'=>Controls_Manager::SELECT,
				'default' =>'default',
				'options'=>[
					'default'=>__('Default','theplus'),
					'inline'=>__('Inline','theplus'),
				],
                'condition'=>[
                    'filteroption'=> 'wpfilter',
                    'WpFilterType'=> 'date',
                    'lableDisable'=> 'yes',
                    'layout_date'=> 'style-1',
                ],
			]
		);

        $repeater->add_control('CustomDateFilter',
            [
                'label'=>__('Custom Filters','theplus'),
                'type'=>Controls_Manager::POPOVER_TOGGLE,
                'label_off'=>__('Default','theplus'),
                'label_on'=>__('Custom','theplus'),
                'return_value'=>'yes',
                'default'=>'yes',
                'condition'=>[
                    'filteroption'=>'wpfilter',
                    'WpFilterType'=>'date',
                    'layout_date'=>'style-2',
                ],
            ]
        );
        $repeater->start_popover();
        $repeater->add_control('CustomDatehadding',
            [
                'label'=>__('Custom Date','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'after'
            ]
        );      
        $repeater->add_control('Datemultiselect',
            [
                'label'=>__('Date Option','theplus'),
                'type'=>Controls_Manager::SELECT2,
                'multiple'=>true,
                'options'=>[
                    'AutoApplyEn' =>__('Auto Apply','theplus'),
                    'showDropdownsEn'=>__('Show Dropdowns','theplus'),
                    'showranges'=>__('Show Ranges','theplus'),
                    'alwaysShowCalendars'=>__('Show Calendar','theplus'),
                    'showWeekNumbers'=>__('Show WeekNumber','theplus'),
                    'linkedCalendars'=>__('Show linked Calendar','theplus'),
                    'showCustomRangeLabel'=>__('show CustomRange Label','theplus'),
                ],
                'default'=>['showranges','alwaysShowCalendars'],
            ]
        );
        $repeater->add_control('Rangemultiselect',
            [
                'label'=>__('Date Range Option','theplus'),
                'type'=>Controls_Manager::SELECT2,
                'multiple'=>true,
                'options'=>[
                    'today' =>__('Today','theplus'),
                    'yesterday'=>__('Yesterday','theplus'),
                    'Last7Days'=>__('Last 7 Days','theplus'),
                    'Last30Days'=>__('Last 30 Days','theplus'),
                    'ThisMonth'=>__('This Month','theplus'),
                    'LastMonth'=>__('Last Month','theplus'),
                ],
                'default'=>['today','Last7Days','ThisMonth'],
                'condition'=>[
                    'Datemultiselect'=>'showranges',
                ],
            ]
        );

        $repeater->add_control('Applybtntxt',
            [
                'label'=>__('Apply Button Text','theplus'),
                'type'=>Controls_Manager::TEXT,
                'default'=>__('Apply','theplus'),
                'placeholder'=>__('Enter Button Text','theplus'),
                'condition'=>[
                    'Datemultiselect'=>'alwaysShowCalendars',
                    'Datemultiselect!'=>'AutoApplyEn',
                ],
            ]
        );
        $repeater->add_control('Applybtnclass',
            [
                'label'=>__('Apply Button class','theplus'),
                'type'=>Controls_Manager::TEXT,
                'default'=>'',
                'placeholder'=>__('Enter Button class','theplus'),
                'condition'=>[
                    'Datemultiselect'=>'alwaysShowCalendars',
                    'Datemultiselect!'=>'AutoApplyEn',
                ],
            ]
        );
        $repeater->add_control('Cancelbtntxt',
            [
                'label'=>__('Cancel Button Text','theplus'),
                'type'=>Controls_Manager::TEXT,
                'default'=>__('Cancel','theplus'),
                'placeholder'=>__('Enter Button Text','theplus'),
                'condition'=>[
                    'Datemultiselect'=>'alwaysShowCalendars',
                    'Datemultiselect!'=>'AutoApplyEn',
                ],
            ]
        );
        $repeater->add_control('Cancelbtnclass',
            [
                'label'=>__('Cancel Button class','theplus'),
                'type'=>Controls_Manager::TEXT,
                'default'=>'',
                'placeholder'=>__('Enter Button class','theplus'),
                'condition'=>[
                    'Datemultiselect'=>'alwaysShowCalendars',
                    'Datemultiselect!'=>'AutoApplyEn',
                ],
            ]
        );
        $repeater->add_control('Customlabletxt',
            [
                'label'=>__('Custom label Text','theplus'),
                'type'=>Controls_Manager::TEXT,
                'default'=>__('Custom','theplus'),
                'placeholder'=>__('Enter Custom label Text','theplus'),
                'condition'=>[
                    'Datemultiselect'=>'showCustomRangeLabel',
                ],
            ]
        );

        $repeater->add_control('daysOfWeek',
            [
                'label'=>__('Days Of Week','theplus'),
                'type'=>Controls_Manager::TEXTAREA,
                'rows'=>2,
                'default'=>__('Su | Mo | Tu | We | Th | Fr | Sa','theplus'),
                'placeholder'=>__('Enter Days of week','theplus'),
                'condition'=>[
                    'Datemultiselect'=>'alwaysShowCalendars',
                ],
            ]
        );
        $repeater->add_control('monthNames',
            [
                'label'=>__('Month Name','theplus'),
                'type'=>Controls_Manager::TEXTAREA,
                'rows'=>2,
                'default'=>__('January | February | March | April | May | June | July | August | September | October | November | December','theplus'),
                'placeholder'=>__('Enter Days of week','theplus'),
                'condition'=>[
                    'Datemultiselect'=>'alwaysShowCalendars',
                ],
            ]
        );

        $repeater->add_control('DropsPosition',
            [
                'label'=>__('Drops Position','theplus'),
                'type'=>Controls_Manager::SELECT,
                'default'=>'auto',
                'options'=>[
                    'up' =>__('UP','theplus'),
                    'down'=>__('Down','theplus'),
                    'auto'=>__('Auto','theplus'),
                ],
            ]
        );
        $repeater->add_control('opensPosition',
            [
                'label'=>__('Opens Position','theplus'),
                'type'=>Controls_Manager::SELECT,
                'default'=>'left',
                'options'=>[
                    'left'=>__('Left','theplus'),
                    'center'=>__('Center','theplus'),
                    'right'=>__('Right','theplus'),
                ],
            ]
        );

        $repeater->add_control('DateDefaultSelect',
            [
                'label'=>__('Default Select','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>__('Show','theplus'),
                'label_off'=>__('Hide','theplus'),
                'return_value'=>'yes',
                'default'=>'',
            ]
        );
        $repeater->add_control('start_date',
            [
                'label'=>__('Start Date','theplus'),
                'type'=>Controls_Manager::DATE_TIME,
                'picker_options'=>1,
                'condition'=>[
                    'DateDefaultSelect'=>'yes',
                ],
            ]
        );
        $repeater->add_control('end_date',
            [
                'label'=>__('End Date','theplus'),
                'type'=>Controls_Manager::DATE_TIME,
                'picker_options'=>1,
                'separator'=>'after',
                'condition'=>[
                    'DateDefaultSelect'=>'yes',
                ],
            ]
        );
        $repeater->add_control('DateDisplay',
            [
                'label'=>__('Display Date','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>__('Show','theplus'),
                'label_off'=>__('Hide','theplus'),
                'return_value'=>'yes',
                'default'=>'',
            ]
        );
        $repeater->add_control('min_date',
            [
                'label'=>__('Start Date','theplus'),
                'type'=>Controls_Manager::DATE_TIME,
                'picker_options'=>0,
                'condition'=>[
                    'DateDisplay'=>'yes',
                ],
            ]
        );
        $repeater->add_control('max_date',
            [
                'label'=>__('End Date','theplus'),
                'type'=>Controls_Manager::DATE_TIME,
                'picker_options'=>0,
                'separator'=>'after',
                'condition'=>[
                    'DateDisplay'=>'yes',
                ],
            ]
        );
        $repeater->add_control('YearDisplay',
            [
                'label'=>__('Display Date Year','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>__('Show','theplus'),
                'label_off'=>__('Hide','theplus'),
                'return_value'=>'yes',
                'default'=>'',
            ]
        );
        $repeater->add_control('Min_DateYear',
            [
                'label'=>__('Min Year','theplus'),
                'type'=>Controls_Manager::TEXT,
                'default'=>'',
                'placeholder'=>__('2020','theplus'),
                'condition'=>[
                    'YearDisplay'=>'yes',
                ],
            ]
        );
        $repeater->add_control('Max_DateYear',
            [
                'label'=>__('Max Year','theplus'),
                'type'=>Controls_Manager::TEXT,
                'default'=>'',
                'placeholder'=>__('2020','theplus'),
                'condition'=>[
                    'YearDisplay'=>'yes',
                ],
            ]
        );
        $repeater->end_popover();

        $repeater->add_control('AlphabetType',
			[
				'label'=>__('Alphabet Type','theplus'),
				'type'=>Controls_Manager::SELECT2,
				'multiple'=>true,
				'options'=>[
					'alphabet'=>__('Alphabet (A-Z)','theplus'),
					'number'=>__('Number (0-9)','theplus')
				],
				'default'=>['alphabet'],
                'condition'=>[
                    'filteroption'=>'wpfilter',
                    'WpFilterType'=>'alphabet',
				],
			]
		);

        $repeater->add_control('TabbingContent',
			[
				'label'=>__('Select Media','theplus'),
				'type'=>Controls_Manager::SELECT,
				'default'=>'none',
				'options'=> [
					'none'=>__('None','theplus'),
					'icon'=>__('Icon','theplus'),
					'image'=>__('Image','theplus'),
				],
                'condition'=>[
                    'filteroption'=>'wpfilter',
                    'WpFilterType'=>'tabbing',
				],
			]
		);
        $repeater->add_control('TabbingIconlib',
            [
                'label'=>__('Icon Library','theplus'),
                'type'=>Controls_Manager::ICONS,
                'condition' => [
                    'WpFilterType'=>'tabbing',
                    'TabbingContent'=>'icon',
                ],
                'default'=>[
                    'value'=>'fa fa-bank',
                    'library'=>'solid',
                ],
                'condition'=>[
                    'WpFilterType'=>'tabbing',
                    'TabbingContent'=>'icon',
				],
            ]
        );
        $repeater->add_control('TabbingImage',
			[
				'label'=>__('Choose Image','theplus'),
				'type'=>Controls_Manager::MEDIA,
				'default'=>[
					'url'=>Utils::get_placeholder_image_src(),
				],
                'condition'=>[
                    'WpFilterType'=>'tabbing',
                    'TabbingContent'=>'image',
				],
			]
		);

		$repeater->add_control('DDtitle',
			[
				'label'=>__('Default Title','theplus'),
				'type'=>Controls_Manager::TEXT,
				'default'=>__('All Data','theplus'),
				'placeholder'=>__('Enter Default','theplus'),
                'condition'=>[
                    'filteroption'=>'wpfilter',
                    'ContentType'=>['taxonomy','acf_conne','pods_conne','toolset_conne','metabox_conne'],
                    'WpFilterType'=>'drop_down',
                ],
			]
		);
        $repeater->add_control('layout_style',
			[
				'label'=>__('Layout','theplus'),
				'type'=>Controls_Manager::SELECT,
				'default'=>'style-1',
				'options'=>[
					'style-1'=>__('Style-1','theplus'),
					'style-2'=>__('Style-2','theplus'),
				],
                'condition'=>[
                    'filteroption'=>'wpfilter',
                    'WpFilterType'=>['checkbox','drop_down','radio'],
                ],
			]
		);
        $repeater->add_control('Imageshow',
            [
                'label'=>__('Show Image','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>__('Show','theplus'),
                'label_off'=>__('Hide','theplus'),
                'return_value'=>'yes',
                'default'=>'',
                'condition'=>[
                    'filteroption'=>'wpfilter',
                    'ContentType'=>'taxonomy',
                    'WpFilterType'=>['checkbox','drop_down','radio','tabbing'],
                ],
            ]
        );
        $repeater->add_control('WooFiltersSort',
            [
                'label'=>__('Woo Sorting','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>__('Show','theplus'),
                'label_off'=>__('Hide','theplus'),
                'return_value'=>'yes',
                'default'=>'',
                'condition'=>[
                    'filteroption'=>'wpfilter',
                    'ContentType'=>'taxonomy',
                ],
                'conditions'=>[
                    'relation'=>'AND',
                    'terms'=>[
                        ['name'=>'WpFilterType','operator'=>'!==','value'=>''],
                        ['name'=>'WpFilterType','operator'=>'!==','value'=>'alphabet'],
                        ['name'=>'WpFilterType','operator'=>'!==','value'=>'checkbox'],
                        ['name'=>'WpFilterType','operator'=>'!==','value'=>'date'],
                        ['name'=>'WpFilterType','operator'=>'!==','value'=>'radio'],
                        ['name'=>'WpFilterType','operator'=>'!==','value'=>'range'],
                        ['name'=>'WpFilterType','operator'=>'!==','value'=>'search'],
                    ],
                ],
            ]
        );
        $repeater->add_control('WooFiltersSelect',
			[
				'label'=>__('Select','theplus'),
				'type'=>Controls_Manager::SELECT2,
				'multiple'=>true,
				'options'=>[
					'featured'=>__('Featured','theplus'),
					'on_sale'=>__('On sale','theplus'),
                    'top_sales'=>__('Top Sales','theplus'),
                    'instock'=>__('In Stock','theplus'),
                    'outofstock'=>__('Out of Stock','theplus'),
				],
				'default'=>['on_sale'],
                'condition'=>[
                    'filteroption'=>'wpfilter',
                    'ContentType'=>'taxonomy',
                    'WooFiltersSort'=>'yes'
                ],
                'conditions'=>[
                    'relation'=>'AND',
                    'terms'=>[
                        ['name'=>'WpFilterType','operator'=>'!==','value'=>''],
                        ['name'=>'WpFilterType','operator'=>'!==','value'=>'alphabet'],
                        ['name'=>'WpFilterType','operator'=>'!==','value'=>'checkbox'],
                        ['name'=>'WpFilterType','operator'=>'!==','value'=>'date'],
                        ['name'=>'WpFilterType','operator'=>'!==','value'=>'radio'],
                        ['name'=>'WpFilterType','operator'=>'!==','value'=>'range'],
                        ['name'=>'WpFilterType','operator'=>'!==','value'=>'search'],
                    ],
                ],
			]
		);
        $repeater->add_control('showCount',
			[
				'label'=>__('Show Count','theplus'),
				'type'=>Controls_Manager::SWITCHER,
				'label_on'=>__( 'Show', 'theplus' ),
				'label_off'=>__( 'Hide', 'theplus' ),
				'return_value'=>'yes',
				'default'=>'yes',
                'condition'=>[
                    'filteroption' => ['wpfilter','Woofilter'],
                    'ContentType'=>'taxonomy'
				],
                'conditions'=>[
                    'relation'=>'AND',
                    'terms'=>[
                        ['name'=>'WpFilterType','operator'=>'!==','value'=>'alphabet'],
                        ['name'=>'WpFilterType','operator'=>'!==','value'=>'date'],
                        ['name'=>'WpFilterType','operator'=>'!==','value'=>'search'],
                        ['name'=>'WpFilterType','operator'=>'!==','value'=>'range'],
                    ],
                ],
			]
		);
        $repeater->add_control('showtickIcon',
			[
				'label'=>__('Show Tick icon','theplus'),
				'type'=>Controls_Manager::SWITCHER,
				'label_on'=>__('Show','theplus'),
				'label_off'=>__('Hide','theplus'),
				'return_value'=>'yes',
				'default'=>'',
                'condition'=>[
                    'filteroption'=>'wpfilter',
                    'WpFilterType'=>'tabbing',
                ],
			]
		);
        $repeater->add_control('showChild',
            [
                'label'=>__('Show Child Category','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>__('Show','theplus'),
                'label_off'=>__('Hide','theplus'),
                'return_value'=>'yes',
                'default'=>'yes',
                'condition'=>[
                    'filteroption'=>['wpfilter'],
                    'ContentType'=>'taxonomy',
                ],
                'conditions' => [
                    'relation' => 'or',
                    'terms' => [						
                        ['name' => 'WpFilterType', 'operator' => '===', 'value' => 'checkbox'],
                        ['name' => 'WpFilterType', 'operator' => '===', 'value' => 'radio'],
                    ],
                ],
            ]
        );
        $repeater->add_control('exclude_category_switch',
            [
                'label'=>__('Exclude','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>__('Show','theplus'),
                'label_off'=>__('Hide','theplus'),
                'return_value'=>'yes',
                'default'=>'',
                'condition'=>[
                    'filteroption'=>['wpfilter'],
                    'ContentType'=>'taxonomy',
                ],
                'conditions' => [
                    'relation' => 'or',
                    'terms' => [						
                        ['name' => 'WpFilterType', 'operator' => '===', 'value' => 'checkbox'],
                        ['name' => 'WpFilterType', 'operator' => '===', 'value' => 'radio'],
                    ],
                ],
            ]
        );
        $repeater->add_control('exclude_category',
            [
                'label' => esc_html__( 'Exclude Category', 'theplus' ),
                'type' => Controls_Manager::TEXTAREA,
                'rows' => 2,
                'default' => esc_html__( '', 'theplus' ),
                'placeholder' => esc_html__( 'Enter Exclude Id', 'theplus' ),
                'condition'=>[
                    'filteroption'=>['wpfilter'],
                    'ContentType'=>'taxonomy',
                    'exclude_category_switch'=>'yes'
                ],
                'conditions' => [
                    'relation' => 'or',
                    'terms' => [
                        ['name' => 'WpFilterType', 'operator' => '===', 'value' => 'checkbox'],
                        ['name' => 'WpFilterType', 'operator' => '===', 'value' => 'radio'],
                    ],
                ],
            ]
        );
        $repeater->add_control('Range_note',
			[
				'label'=>esc_html__('Note : Works in Products.','theplus'),
				'type'=>Controls_Manager::HEADING,                
                'condition'=>[
                    'filteroption'=>'wpfilter',
                    'ContentType'=>'taxonomy',
                    'WpFilterType'=>'range',
			    ],
            ]
        );	
        $repeater->add_control('maxPrice',
			[
				'label'=>__('Maximum Price','theplus'),
				'type'=>Controls_Manager::NUMBER,
				'step'=>25,
				'default'=>10000,
                'condition'=>[
                    'filteroption'=>'wpfilter',
                    'WpFilterType'=>'range',
                    'ContentType'=>['taxonomy','pods_conne','toolset_conne','metabox_conne'],
				],
			]
		);
        $repeater->add_control('minPrice',
			[
				'label'=>__('Minimum Price','theplus'),
				'type'=>Controls_Manager::NUMBER,
				'step'=>10,
				'default'=>0,
                'condition'=>[
                    'filteroption'=>'wpfilter',
                    'WpFilterType'=>'range',
                    'ContentType'=>['taxonomy','pods_conne','toolset_conne','metabox_conne'],
				],
			]
		);
        $repeater->add_control('steps',
			[
				'label'=>__('Steps','theplus'),
				'type'=>Controls_Manager::NUMBER,
				'step'=>5,
				'default'=>100,
                'condition'=>[
                    'filteroption'=>'wpfilter',
                    'WpFilterType'=>'range',
                    'ContentType'=>['taxonomy','pods_conne','toolset_conne','metabox_conne'],
				],
			]
		);
        $repeater->add_control('rpricesymbol',
			[
				'label' => esc_html__( 'Price Symbol', 'theplus' ),
				'type' => Controls_Manager::TEXT,
				'default' => esc_html__( '₹', 'theplus' ),
				'placeholder' => esc_html__( 'Enter Price Symbol', 'theplus' ),
                'condition'=>[
                    'filteroption'=>'wpfilter',
                    'WpFilterType'=>'range',
				],
			]
		);
        $repeater->add_control('ColumnChange',
			[
				'label'=>__('Column Change','theplus'),
				'type'=>Controls_Manager::SELECT2,
				'multiple'=>true,
				'options'=>[
                    '12'=>__('Column 1','theplus'),
                    '6'=>__('Column 2','theplus'),
                    '4'=>__('Column 3','theplus'),
                    '3'=>__('Column 4','theplus'),
				],
				'default'=>['2','12'],
                'condition'=>[
                    'filteroption'=> 'extrafilter',
                    'ExFilterType'=> 'Column_results',
				],
			]
		);
        $repeater->add_control('ShowMorePen',
            [
                'label'=>__('Show More','theplus'),
                'type'=>Controls_Manager::POPOVER_TOGGLE,
                'label_off'=>__('Default','theplus'),
                'label_on'=>__('Custom','theplus'),
                'return_value'=>'yes',
                'default'=>'',
                'condition'=>[
                    'filteroption'=> 'wpfilter',
                    'WpFilterType'=> ['checkbox','radio','tabbing'],
                ],
            ]
        );
        $repeater->start_popover();
        $repeater->add_control('ShowMore',
            [
                'label'=>__('ShowMore','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>__('Show','theplus'),
                'label_off'=>__('Hide','theplus'),
                'return_value'=>'yes',
                'default'=>'',
                'condition'=>[
                    'filteroption'=>'wpfilter',
                    'WpFilterType'=>['checkbox','radio','tabbing'],
                ],
            ]
        );
        $repeater->add_control('MoreDefault',
            [
                'label'=>__('Default Display','theplus'),
                'type'=>Controls_Manager::NUMBER,
                'min'=>0,
                'max'=>100,
                'step'=>1,
                'default'=>3,
                'condition'=>[
                    'filteroption'=>'wpfilter',
                    'WpFilterType'=>['checkbox','radio','tabbing'],
                    'ShowMore'=>'yes',
                ],
            ]
        );
        $repeater->add_control('showmoretxt',
            [
                'label'=>__('ShowMore Text','theplus'),
                'type'=>Controls_Manager::TEXT,
                'default'=>__('Show More','theplus'),
                'placeholder'=>__('Enter Value','theplus'),
                'condition'=>[
                    'filteroption'=>'wpfilter',
                    'WpFilterType'=>['checkbox','radio','tabbing'],
                    'ShowMore'=>'yes',
                ],
            ]
        );
        $repeater->add_control('showlesstxt',
            [
                'label'=>__('ShowLess Text','theplus'),
                'type'=>Controls_Manager::TEXT,
                'default'=>__('Show Less','theplus'),
                'placeholder'=>__('Enter Value','theplus'),
                'condition'=>[
                    'filteroption'=>'wpfilter',
                    'WpFilterType'=>['checkbox','radio','tabbing'],
                    'ShowMore'=>'yes',
                ],
            ]
        );
        $repeater->add_control('scrollOn',
            [
                'label'=>__('Scroll Height','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>__('Show','theplus'),
                'label_off'=>__('Hide','theplus'),
                'return_value'=>'yes',
                'default'=>'',
                'condition'=>[
                    'filteroption'=>'wpfilter',
                    'WpFilterType'=>['checkbox','radio','tabbing'],
                    'ShowMore'=>'yes',
                ],
            ]
        );
        $repeater->add_responsive_control('height_scroll',
            [
                'label'=>__('Height','theplus'),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>[ 'px', '%' ],
                'separator'=>'after',
                'range'=>[
                    'px'=>[
                        'min' => 1,
                        'max' => 1000,
                        'step' => 5,
                    ],
                    '%'=>[
                        'min' => 1,
                        'max' => 100,
                    ],
                ],
                'default'=>[
                    'unit'=>'px',
                    'size'=>'',
                ],
                'condition'=>[
                    'filteroption'=>'wpfilter',
                    'WpFilterType'=>['checkbox','radio','tabbing'],
                    'ShowMore'=>'yes',
                    'scrollOn'=>'yes',
                ],
            ]
        );
        $repeater->end_popover();
        $repeater->add_control('reset_enable',
            [
                'label' => esc_html__( 'Fix Reset Button', 'theplus' ),
                'type' => Controls_Manager::SWITCHER,
                'label_on' => esc_html__( 'Show', 'theplus' ),
                'label_off' => esc_html__( 'Hide', 'theplus' ),
                'return_value' => 'yes',
                'default' => '',
                'condition'=>[
                    'filteroption'=>'extrafilter',
                    'ExFilterType'=>'filter_reset',
                ],
            ]
        );
        $repeater->add_control('resettext',
            [
                'type' => Controls_Manager::TEXT,
                'label' => esc_html__( 'Reset Button text', 'theplus' ),
                'default' => 'Reset all',
                'placeholder' => esc_html__( 'Enter your text', 'theplus' ),
                'condition'=>[
                    'filteroption'=>'extrafilter',
                    'ExFilterType'=>'filter_reset',
                ],
            ]
        );

        $repeater->add_control('tooltip',
			[
				'label'=>__('Tooltip','theplus'),
				'type'=>Controls_Manager::SWITCHER,
				'label_on'=>__('Show','theplus'),
				'label_off'=>__('Hide','theplus'),
				'return_value'=>'yes',
				'default'=>'',
                'separator'=>'before',
                'condition'=>[
                    'filteroption'=>'Woofilter',
                    'WooFilterType'=>['color','image','button'],
				],
			]
		);
        $repeater->add_control('RDesktop_column',
			[
				'label'=>esc_html__( 'Desktop', 'theplus' ),
				'type'=>Controls_Manager::SELECT,
				'default'=>'3',
				'options'=>theplus_get_columns_list(),
				'condition'=>[
                    'filteroption' => 'Woofilter',
                    'WooFilterType'=>['color','image','button'],
				],
			]
		);
		$repeater->add_control('RTablet_column',
			[
				'label' => esc_html__( 'Tablet', 'theplus' ),
				'type' => Controls_Manager::SELECT,
				'default' => '4',
				'options' => theplus_get_columns_list(),
				'condition' => [
                    'filteroption'=>'Woofilter',
                    'WooFilterType'=>['color','image','button'],
				],
			]
		);
		$repeater->add_control('RMobile_column',
			[
				'label'=>esc_html__('Mobile','theplus'),
				'type'=>Controls_Manager::SELECT,
				'default'=>'6',
				'options'=>theplus_get_columns_list(),
				'condition'=>[
                    'filteroption'=>'Woofilter',
                    'WooFilterType'=>['color','image','button'],
				],
			]
		);
        $repeater->add_control('FRemove_style',
			[
				'label'=>__('Tag Position','theplus'),
				'type'=>Controls_Manager::SELECT,
				'default'=>'end',
				'options'=>[
					'start'=>__('Start','theplus'),
					'end'=>__('End','theplus'),
				],
                'condition'=>[
                    'filteroption'=>'extrafilter',
                    'ExFilterType'=>'filter_reset',
				],
			]
		);
        $repeater->add_control('FTR_txt',
			[
				'label'=>__('Total Results Text','theplus'),
				'type'=>Controls_Manager::TEXTAREA,
				'rows'=>2,
				'default'=>__('Showing {visible_product_no} of {total_product_no} results','theplus'),
				'placeholder'=>__('Enter Total Message','theplus'),
                'condition'=>[
                    'filteroption'=>'extrafilter',
                    'ExFilterType'=>'total_results',
				],
			]
		);
        $repeater->add_control('FTR_Note',
			[
				'label'=>esc_html__('Note : You can include dynamic tags like {visible_product_no} and {total_product_no} here.','theplus'),
				'type'=>Controls_Manager::HEADING,
                'condition'=>[
                    'filteroption'=>['extrafilter'],
                    'ExFilterType'=>'total_results',
				],
			]   
		);
        $repeater->add_control('HadingPopup',
			[
				'label'=>__('Heading setting','theplus'),
				'type'=>Controls_Manager::POPOVER_TOGGLE,
				'label_off'=>__('Default','theplus'),
				'label_on'=>__('Custom','theplus'),
				'return_value'=>'yes',
				'default'=>'yes',
                'condition' => [
                    'filteroption' => ['wpfilter','Woofilter'],
				],
			]
		);
		$repeater->start_popover();
        $repeater->add_control('headingOn',
            [
                'label'=>__('Enable Heading','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>__('Show','theplus'),
                'label_off'=>__('Hide','theplus'),
                'return_value'=>'yes',
                'default'=>'yes',
                'condition' => [
                    'filteroption' => ['wpfilter','Woofilter'],
                ],
            ]
        );
        $repeater->add_control('fieldTitle',
            [
                'label'=>__('Title Text','theplus'),
                'type'=>Controls_Manager::TEXT,
                'default'=>__('Category','theplus'),
                'placeholder'=>__('Enter Title Text','theplus'),
                'condition' => [
                    'headingOn' => 'yes'
                ],
            ]
        );
        $repeater->add_control('Titlelayout',
			[
				'label'=>__('Layout','theplus'),
				'type'=>Controls_Manager::SELECT,
				'default'=>'default',
				'options'=>[
					'default'=>__('Default','theplus'),
					'inline'=>__('inline','theplus'),
				],
                'condition' => [
                    'headingOn' => 'yes'
                ],
			]
		);
        $repeater->add_control('DDwidth',
			[
				'label'=>__('Title Label Width','theplus'),
				'type'=>Controls_Manager::SLIDER,
				'size_units'=>['px','%'],
				'range'=>[
					'px'=>[
						'min'=>0,
						'max'=>1000,
						'step'=>5,
					],
					'%'=>[
						'min'=>0,
						'max'=>100,
					],
				],
				'default'=>[
					'unit'=>'%',
					'size'=>'',
				],
				'selectors' => [
					'{{WRAPPER}} .tp-search-filter .tp-search-form {{CURRENT_ITEM}} .tp-title-inline'=>'width:{{SIZE}}{{UNIT}};',
				],
                'condition'=>[
                    'headingOn' => 'yes',
                    'Titlelayout'=>'inline',
                ],
			]
		);
        $repeater->add_control('Toggdisable',
            [
                'label'=>__('Toggle Disable','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>__('Show','theplus'),
                'label_off'=>__('Hide','theplus'),
                'return_value'=>'yes',
                'default'=>'yes',
                'condition'=>[
                    'headingOn' => 'yes',
                ],
            ]
        );
        $repeater->add_control('ToggDef',
            [
                'label'=>__('Default Toggle On','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>__('Show','theplus'),
                'label_off'=>__('Hide','theplus'),
                'return_value'=>'yes',
                'default'=>'yes',
                'condition'=>[
                    'headingOn' => 'yes',
                    'Toggdisable'=>'yes',
                ],
            ]
        );
        $repeater->add_control('showIcon',
            [
                'label'=>__('Show Icon','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>__('Show','theplus'),
                'label_off'=>__('Hide','theplus'),
                'return_value'=>'yes',
                'default'=>'yes',
                'condition' => [
                    'headingOn' => 'yes',
                ],
            ]
        );
        $repeater->add_control('Iconlib',
            [
                'label'=>__('Icon Library','theplus'),
                'type'=>Controls_Manager::ICONS,
                'default'=>[
                    'value'=>'fas fa-university',
                    'library'=>'solid',
                ],
                'condition' => [
                    'headingOn' => 'yes',
                    'showIcon' => 'yes',
                ],
            ]
        );
        $repeater->end_popover();

        $this->add_control('searchField',
            [
				'label'=>esc_html__('Search Field','theplus'),
                'type'=>Controls_Manager::REPEATER,
                'default'=>[ 
                    ['filteroption'=>'wpfilter']
                ],
				'fields'=>$repeater->get_controls(),
                'title_field'=>'{{{ fieldTitle }}}',
            ]
        ); 
		$this->end_controls_section();

        /*columns start*/
		$this->start_controls_section('columns_manage_section',
			[
				'label' => esc_html__( 'Columns Manage', 'theplus' ),
				'tab' => Controls_Manager::TAB_CONTENT,
			]
		);
		$this->add_control('desktop_column',
			[
				'label'=>esc_html__('Desktop','theplus'),
				'type'=>Controls_Manager::SELECT,
				'default'=>'12',
				'options'=>theplus_get_columns_list(),
			]
		);
		$this->add_control('tablet_column',
			[
				'label'=>esc_html__('Tablet','theplus'),
				'type'=>Controls_Manager::SELECT,
				'default'=>'12',
				'options'=>theplus_get_columns_list(),
			]
		);
		$this->add_control('mobile_column',
			[
				'label'=>esc_html__('Mobile','theplus'),
				'type'=>Controls_Manager::SELECT,
				'default'=>'12',
				'options'=>theplus_get_columns_list(),
			]
		);
		$this->add_responsive_control('columnSpace',
			[
				'label'=>esc_html__('Columns Gap / Space Between','theplus'),
				'type'=>Controls_Manager::DIMENSIONS,
				'size_units'=>['px','%'],
				'default'=>[
					'top'=>0,
					'right'=>0,
					'bottom'=>0,
					'left'=>0,
				],
				'separator'=>'before',
				'selectors'=>[
					'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				],
			]
		);
		$this->add_responsive_control('columnSpaceMargin',
			[
				'label'=>esc_html__('Columns Margin','theplus'),
				'type'=>Controls_Manager::DIMENSIONS,
				'size_units'=>['px','%'],				
				'selectors'=>[
					'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				],
			]
		);
		$this->end_controls_section();
		/*columns end*/

        /*Extra start */
        $this->start_controls_section('ExtraOption_section',
			[
				'label' => esc_html__('Extra Option','theplus'),
				'tab' => Controls_Manager::TAB_CONTENT,
			]
		);  
        $this->add_control('FilterBtnPen',
            [
                'label'=>__('Filter Toggle Button','theplus'),
                'type'=>Controls_Manager::POPOVER_TOGGLE,
                'label_off'=>__('Default','theplus'),
                'label_on'=>__('yes','theplus'),
                'return_value'=>'yes',
                'default'=>'',
            ]
        );
        $this->start_popover();
        $this->add_control('FilterBtn',
			[
				'label'=>__('Filter Toggle Button','theplus'),
				'type'=>Controls_Manager::SWITCHER,
				'label_on'=>__('Show','theplus'),
				'label_off'=>__('Hide','theplus'),
				'return_value'=>'yes',
				'default'=>'',
			]
		);
        $this->add_control('TogBtnNum',
            [
                'label'=>__('Default Filters','theplus'),
                'type'=>Controls_Manager::NUMBER,
                'step'=>1,
                'default'=>3,
                'condition'=>[
                    'FilterBtn'=>'yes'
                ],
            ]
        );
        $this->add_control('TogBtnPos',
            [
                'label'=>__('Button Style','theplus'),
                'type'=>Controls_Manager::SELECT,
                'default'=> 'relative',
                'options'=> [
                    'fix'=>__('Fix','theplus'),
                    'relative'=>__('Relative','theplus')
                ],
                'condition' => [
                    'FilterBtn' => 'yes'
                ],
            ]
        );
        $this->add_control('TogBtnTitle',
            [
                'label' => __('Show More','theplus'),
                'type' => Controls_Manager::TEXT,
                'default' => __('Show More','theplus'),
                'placeholder' => __('Enter Text','theplus'),
                'condition' => [
                    'FilterBtn' => 'yes'
                ],
            ]
        );
        $this->add_control('TogBtnTitleLess',
            [
                'label' => __('Show Less','theplus'),
                'type' => Controls_Manager::TEXT,
                'default' => __('Show Less','theplus'),
                'placeholder' => __('Enter Text','theplus'),
                'condition' => [
                    'FilterBtn' => 'yes'
                ],
            ]
        );
        $this->add_control('ToggleMedia',
            [
                'label'=>__('Button Icon','theplus'),
                'type'=>Controls_Manager::SELECT,
                'default'=> 'icon',
                'options'=> [
                    ''=>__('None','theplus'),
                    'icon'=>__('Icon','theplus'),
                    'image'=>__('Image','theplus')
                ],
                'condition' => [
                    'FilterBtn' => 'yes'
                ],
            ]
        );
        $this->add_control('ToggleBtnIcon',
            [
                'label'=>__('Select Button Icon','theplus'),
                'type'=>Controls_Manager::ICONS,
                'condition' => [
                    'FilterBtn'=>'yes',
                    'ToggleMedia'=>'icon'
                ],
                'default'=>[
                    'value'=>'fas fa-sliders-h',
                    'library'=>'solid',
                ],
            ]
        );
        $this->add_control('Toggleimage',
            [
                'label'=>__('Choose Image','theplus'),
                'type'=>Controls_Manager::MEDIA,
                'default'=>[
                    'url'=>Utils::get_placeholder_image_src(),
                ],
                'condition'=>[
                    'FilterBtn'=>'yes',
                    'ToggleMedia'=>'image'
                ],
            ]
        );
        $this->add_control('TogMPosition',
            [
                'label'=>__('Icon Position','theplus'),
                'type'=>Controls_Manager::SELECT,
                'options'=> [
                    'start'=>__('Before','theplus'),
                    'end'=>__('After','theplus')
                ],
                'default'=> 'start',
                'condition' => [
                    'FilterBtn'=>'yes',
                    'TogBtnTitle!'=>'',
                    'ToggleMedia!'=>''
                ],
            ]
        );
        $this->end_popover();

        $this->add_control('AjaxbuttonPen',
            [
                'label'=>__('Ajax Button Enable','theplus'),
                'type'=>Controls_Manager::POPOVER_TOGGLE,
                'label_off'=>__('Default','theplus'),
                'label_on'=>__('yes','theplus'),
                'return_value'=>'yes',
                'default'=>'',
            ]
        );
        $this->start_popover();
        $this->add_control('HaddingAjaxBtn',
			[
				'type'=>Controls_Manager::RAW_HTML,
				'raw'=>__('Ajax Button','theplus'),
				'content_classes'=>'tp-ajax-button',
				'separator'=>'after',
			]
		);
        $this->add_control('Ajaxbutton',
            [
                'label'=>__('Ajax Button Enable','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>__('Show','theplus'),
                'label_off'=>__('Hide','theplus'),
                'return_value'=>'yes',
                'default'=>'',
            ]
        );
        $this->add_control('Ajaxbtntxt',
			[
				'label'=>__('Button Text','theplus'),
				'type'=>Controls_Manager::TEXT,
				'default'=>__('Click Me','theplus'),
				'placeholder'=>__('Type your title here','theplus'),
                'condition' => [
                    'Ajaxbutton'=>'yes'
                ],
			]
		);
        $this->add_control('AjaxLoadbtntxt',
			[
				'label'=>__('Loading Text','theplus'),
				'type'=>Controls_Manager::TEXT,
				'default'=>__('Loadding','theplus'),
				'placeholder'=>__('Type Your loading Text','theplus'),
                'condition' => [
                    'Ajaxbutton'=>'yes'
                ],
			]
		);
        $this->add_control('AjaxloadiconOn',
            [
                'label'=>__('Loadding Icon Enable','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>__('Show','theplus'),
                'label_off'=>__('Hide','theplus'),
                'return_value'=>'yes',
                'default'=>'',
                'condition' => [
                    'Ajaxbutton'=>'yes'
                ],
            ]
        );
        $this->add_control('AjaxbtnMedia',
            [
                'label'=>__('Button Icon','theplus'),
                'type'=>Controls_Manager::SELECT,
                'default'=> '',
                'options'=> [
                    ''=>__('None','theplus'),
                    'icon'=>__('Icon','theplus'),
                    'image'=>__('Image','theplus')
                ],
                'condition' => [
                    'Ajaxbutton'=>'yes'
                ],
            ]
        );
        $this->add_control('AjaxBtnIcon',
            [
                'label'=>__('Select Button Icon','theplus'),
                'type'=>Controls_Manager::ICONS,
                'condition' => [
                    'FilterBtn'=>'yes',
                    'ToggleMedia'=>'icon'
                ],
                'default'=>[
                    'value'=>'fas fa-sliders-h',
                    'library'=>'solid',
                ],
                'condition' => [
                    'Ajaxbutton'=>'yes',
                    'AjaxbtnMedia'=>'icon'
                ],
            ]
        );
        $this->add_control('AjaxBtnimage',
            [
                'label'=>__('Choose Image','theplus'),
                'type'=>Controls_Manager::MEDIA,
                'default'=>[
                    'url'=>Utils::get_placeholder_image_src(),
                ],
                'condition'=>[
                    'Ajaxbutton'=>'yes',
                    'AjaxbtnMedia'=>'image'
                ],
            ]
        );
        $this->add_control('AjaxBtnPosition',
            [
                'label'=>__('Icon Position','theplus'),
                'type'=>Controls_Manager::SELECT,
                'options'=> [
                    'start'=>__('Before','theplus'),
                    'end'=>__('After','theplus')
                ],
                'default'=> 'start',
                'condition' => [
                    'Ajaxbutton'=>'yes',
                    'Ajaxbtntxt!'=>'',
                    'AjaxbtnMedia!'=>''
                ],
            ]
        );
        $this->end_popover();

        $this->add_control('archivepen',
            [
                'label'=>__('Archive Page Options','theplus'),
                'type'=>Controls_Manager::POPOVER_TOGGLE,
                'label_off'=>__('Default','theplus'),
                'label_on'=>__('yes','theplus'),
                'return_value'=>'yes',
                'default'=>'yes',
            ]
        );
        $this->start_popover();
        $this->add_control('enable_archive',
            [
                'label'=>__('Only Active Archive Category','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>__('Show','theplus'),
                'label_off'=>__('Hide','theplus'),
                'return_value'=>'yes',
                'default'=>'',
                'description' => esc_html__("If enabled, If will show category & It's subcategory of current archive page. If disabled, It will show all categories in filter"),
            ]
        );
        $this->add_control('enable_archivefiled',
            [
                'label'=>__('Show All Button','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>__('Show','theplus'),
                'label_off'=>__('Hide','theplus'),
                'return_value'=>'yes',
                'default'=>'',
                'description' => esc_html__("If enabled, It will have button for showing all remaining categories."),
                'condition'=>[
					'enable_archive'=>'yes',
				],
            ]
        );
        $this->add_control('archive_showall',
			[
				'label'=>esc_html__('Button Text','theplus'),
				'type'=>Controls_Manager::TEXT,
				'default'=>esc_html__('Show All','theplus'),
				'placeholder'=>esc_html__('Show All','theplus'),
                'condition'=>[
					'enable_archive'=>'yes',
					'enable_archivefiled'=>'yes',
				],
			]
		);
        $this->end_popover();

        $this->add_control('fieldorderpen',
            [
                'label'=>__('Field Order','theplus'),
                'type'=>Controls_Manager::POPOVER_TOGGLE,
                'label_off'=>__('Default','theplus'),
                'label_on'=>__('yes','theplus'),
                'return_value'=>'yes',
                'default'=>'yes',
            ]
        );
        $this->start_popover();
        $this->add_control('fieldorder',
            [
                'label'=>__('Sorting','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>__('Enable','theplus'),
                'label_off'=>__('Disable','theplus'),
                'return_value'=>'yes',
                'description' => esc_html__('For Tabing, Checkbox, Dropdown and Radio','theplus'),
                'default'=>'',
            ]
        );
        $this->add_control('orderpost',
            [
                'label'=>__('Order','theplus'),
                'type'=>Controls_Manager::SELECT,
                'options'=> [
                    'ASC'=>__('ASC','theplus'),
                    'DESC'=>__('DESC','theplus')
                ],
                'default'=> 'DESC',
                'condition' => [
                    'fieldorder'=>'yes',
                ],
            ]
        );
        $this->add_control('orderbypost',
            [
                'label'=>__('Orderby','theplus'),
                'type'=>Controls_Manager::SELECT,
                'options'=> [
                    'none'=>__('none','theplus'),
                    'author'=>__('Author','theplus'),
                    'date'=>__('Date','theplus'),
                    'ID'=>__('ID','theplus'),
                    'name'=>__('Name','theplus'),
                    'parent'=>__('Parent','theplus'),
                    'rand'=>__('Rand','theplus'),
                    'title'=>__('Title','theplus'),
                ],
                'default'=> 'parent',
                'condition' => [
                    'fieldorder'=>'yes',
                ],
            ]
        );
        $this->end_popover();

        $this->add_control('URLParameter',
            [
                'label'=>__('URL Parameter','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>__('Show','theplus'),
                'label_off'=>__('Hide','theplus'),
                'return_value'=>'yes',
                'default'=>'',
            ]
		);  
        $this->add_control('URLParameterNote',
			[
				'label'=>esc_html__('Note : By enabling this option, You will have semantic URLs with all selected filters as a URL postfix. It\'s make filter pages SEO Friendly.','theplus'),
				'type'=>Controls_Manager::HEADING,
                'separator'=>'after',
				'condition'=>[
					'URLParameter'=>'yes',
				],
			]   
		);
        $this->add_control('Ftagtitle',
            [
                'label'=>__('Filtertag Title Enable','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>__('Show','theplus'),
                'label_off'=>__('Hide','theplus'),
                'return_value'=>'yes',
                'default'=>'',
            ]
        );
        $this->add_control('delayload',
            [
                'label' => esc_html__( 'Ajax Load Delay', 'theplus' ),
                'type' => Controls_Manager::NUMBER,
                'min' => 0.1,
                'max' => 2,
                'step' => 0.1,
                'default' => 0.5,
                'separator'=>'before',
            ]
        );
        $this->add_control('ErrorMsg',
			[
				'label'=>__('Post Not Found Message','theplus'),
				'type'=>Controls_Manager::TEXTAREA,
				'rows'=>2,
				'default'=>__('Sorry! No Results Found! Try Again.','theplus'),
				'placeholder'=>__('Enter Error Message','theplus'),
			]
		);
        $this->end_controls_section();
        /*Extra start*/
		/*style start*/
        /*Title start*/
        $this->start_controls_section('FieldTitle_styling',
            [
                'label' => esc_html__('Title','theplus'),
                'tab' => Controls_Manager::TAB_STYLE			
            ]
        );
        $this->add_responsive_control('titlePad',
            [
                'label'=>__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-field-title'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_responsive_control('titleMar',
            [
                'label'=>__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'separator'=>'after',
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-field-title'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Typography::get_type(),
            [
                'name'=>'TitleTypo',
                'label'=>esc_html__('Typography','theplus'),
                'scheme'=>Typography::TYPOGRAPHY_1,
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-field-title .tp-title-text',
            ]
        );
		$this->add_responsive_control('TitleSvgIconTypo',
            [
                'label'=>__( 'Svg Icon Size', 'theplus' ),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>[ 'px'],
                'range'=>[
                    'px'=>[
                        'min' => 1,
                        'max' => 150,
                        'step' => 1,
                    ],
                ],
                'default'=>[
                    'unit'=>'px',
                    'size'=>'20',
                ],
                'selectors' => [
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-field-title .tp-title-icon svg'=>'width:{{SIZE}}{{UNIT}}; height:{{SIZE}}{{UNIT}};',
                ],
            ]
        );
        $this->start_controls_tabs('Title_Ntabs');
        $this->start_controls_tab('Title_Normal',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );
        $this->add_control('titletxtNrcolor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-field-title .tp-title-text'=>'color:{{VALUE}}',
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-field-title .tp-title-icon svg'=>'fill:{{VALUE}}',
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-field-title .tp-title-icon'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->add_control('titleIconNrcolor',
            [
                'label'=>__('Toggle Icon Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-field-title .tp-title-toggle'=>'color:{{VALUE}}',					
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'titleNbackground',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-field-title',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'TitleNBg',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-field-title',
            ]
        );
        $this->add_responsive_control('titleNBBrs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-field-title'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'titleNboxshadow',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .field-col .tp-field-title',
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('Title_Htabs',
            [
                'label' => esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('titletxtHrcolor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .field-col:hover .tp-field-title .tp-title-text'=>'color:{{VALUE}}',
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-field-title .tp-title-icon svg'=>'fill:{{VALUE}}',
                    '{{WRAPPER}} .field-col:hover .tp-field-title .tp-title-icon'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->add_control('titleIconHrcolor',
            [
                'label'=>__('Toggle Icon Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .field-col:hover .tp-field-title .tp-title-toggle'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'titleHbackground',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .field-col:hover .tp-field-title',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'TitleHBg',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col:hover .tp-field-title',
            ]
        );
        $this->add_responsive_control('titleHBBrs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col:hover .tp-field-title'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'titleHboxshadow',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .field-col:hover .tp-field-title',
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();
        $this->end_controls_section();
        /*Title End*/

        /*Alphabet start*/
        $this->start_controls_section('AlphabetSection',
            [
                'label'=>esc_html__('Alphabet','theplus'),
                'tab'=>Controls_Manager::TAB_STYLE			
            ]
        );  
        $this->add_responsive_control('AlphabetPad',
            [
                'label'=>__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-alphabet-content'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_responsive_control('AlphabetMar',
            [
                'label'=>__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'separator'=>'after',
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-alphabet-content'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Typography::get_type(),
            [
                'name'=>'AlphabetTypo',
                'label'=>esc_html__('Typography','theplus'),
                'scheme'=>Typography::TYPOGRAPHY_1,
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-alphabet-content',
            ]
        );
        $this->start_controls_tabs('Alphabet_tab');
        $this->start_controls_tab('Alphabet_Normal',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );
        $this->add_control('AlfNColor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-alphabet-content'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'AlfNbackground',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-alphabet-content',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'AlfNborder',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-alphabet-content',
            ]
        );
        $this->add_responsive_control('AlphaNBRds',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-alphabet-content'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('Alphabet_Hover',
            [
                'label' => esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('AlfHColor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-alphabet-content:hover'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'AlfHground',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-alphabet-content:hover',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'AlfHborder',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-alphabet-content:hover',
            ]
        );
        $this->add_responsive_control('AlphaHBRds',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-alphabet-content:hover'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('Alphabet_Active',
            [
                'label' => esc_html__('Active','theplus')
            ]
        );
        $this->add_control('AlfActiveColor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .field-col .tp-alphabet-content .tp-alphabet-item.active'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'ActAbackground',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .field-col .tp-alphabet-content .tp-alphabet-item.active',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'AlfAborder',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .field-col .tp-alphabet-content .tp-alphabet-item.active',
            ]
        );
        $this->add_responsive_control('AlphaABRds',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-alphabet-content .tp-alphabet-item.active'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('AlphaBox_hadding',
            [
                'label'=>__('Box Options','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
            ]
        );
        $this->add_responsive_control('AlphabetBPad',
            [
                'label'=>__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-alphabet-wrapper'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_responsive_control('AlphabetBMar',
            [
                'label'=>__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-alphabet-wrapper'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );

        $this->start_controls_tabs('AlphabetBox_tab');
        $this->start_controls_tab('AlphabetBox_Normal',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );  
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'Aplha_Nbg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-alphabet-wrapper',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'AlphaBNsd',
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-alphabet-wrapper',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'Alph_BoxN',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-alphabet-wrapper',
            ]
        );
        $this->add_responsive_control('Alph_NBoxBrs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-alphabet-wrapper'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('AlphabetBox_Hover',
            [
                'label' => esc_html__('Hover','theplus')
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'Aplha_Hbg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-alphabet-wrapper:hover',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'AlphaBHsd',
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-alphabet-wrapper:hover',			
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'Alph_BoxH',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-alphabet-wrapper:hover',
            ]
        );
        $this->add_responsive_control('Alph_HBoxBrs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-alphabet-wrapper:hover'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();
        $this->end_controls_section();

        /*Checkbox start*/
		$this->start_controls_section('CheckBox_styling',
            [
                'label'=>esc_html__('Check Box','theplus'),
                'tab'=>Controls_Manager::TAB_STYLE,
            ]
        );
        $this->add_responsive_control('checkSize',
            [
                'label'=>__( 'Size', 'theplus' ),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>[ 'px', '%' ],
                'range'=>[
                    'px'=>[
                        'min' => 1,
                        'max' => 100,
                        'step' => 5,
                    ],
                    '%'=>[
                        'min' => 1,
                        'max' => 100,
                    ],
                ],
                'default'=>[
                    'unit'=>'px',
                    'size'=>'',
                ],
                'selectors' => [
                    '{{WRAPPER}} .tp-toggle-div .tp-checkBox .tp-check-icon'=>'width:{{SIZE}}{{UNIT}}; height:{{SIZE}}{{UNIT}}; min-width:{{SIZE}}{{UNIT}}; min-height:{{SIZE}}{{UNIT}};',
                ],
            ]
        );
        $this->add_responsive_control('leftOffset',
            [
                'label' => __( 'Offset Left', 'theplus' ),
                'type' => Controls_Manager::SLIDER,
                'size_units' => [ 'px', '%' ],
                'range' => [
                    'px' => [
                        'min' => 1,
                        'max' => 100,
                        'step' => 5,
                    ],
                    '%' => [
                        'min' => 1,
                        'max' => 100,
                    ],
                ],
                'default' => [
                    'unit' => 'px',
                    'size' => '',
                ],
                'selectors' => [
                    '{{WRAPPER}} .tp-toggle-div .tp-checkBox .tp-check-icon' => 'margin-right: {{SIZE}}{{UNIT}};',
                ],
            ]
        );
        $this->start_controls_tabs('CB_tabs');
        $this->start_controls_tab('CB_Normal',
            [
                'label' => esc_html__('Normal','theplus')
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'checkBg',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-toggle-div .tp-checkBox .tp-check-icon',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name' => 'checkBorder',
                'label' => esc_html__('Border','theplus'),
                'selector' => '{{WRAPPER}} .tp-toggle-div .tp-checkBox .tp-check-icon'
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('CB_Focus',
            [
                'label' => esc_html__('Focus','theplus')
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'checkedkBg',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-checkBox input[type=checkbox]:checked+label .tp-check-icon',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'checkedkBor',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-checkBox input[type=checkbox]:checked+label .tp-check-icon'
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();
        $this->add_responsive_control('checkBradius',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-toggle-div .tp-checkBox .tp-check-icon'=>'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );

        $this->add_control('CB_Heading',
            [
                'label'=>__('Select Checkbox Icon','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before'
            ]
        );
        $this->add_responsive_control('checkIconSize',
            [
                'label'=>__('Size','theplus'),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>['px','%'],
                'range'=>[
                    'px'=>[
                        'min'=>1,
                        'max'=>100,
                        'step'=>5,
                    ],
                    '%'=>[
                        'min'=>1,
                        'max'=>100,
                    ],
                ],
                'default'=>[
                    'unit' => 'px',
                    'size' => '',
                ],
                'selectors'=>[
                    '{{WRAPPER}} .tp-toggle-div .tp-checkBox .tp-check-icon .checkbox-icon' => 'width:{{SIZE}}{{UNIT}};',
                ],
            ]
        );
        $this->start_controls_tabs('CBI_tabs');
        $this->start_controls_tab('CBI_Normal',
            [
                'label'=>esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('cheIcHvrColor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-checkBox input[type=checkbox]+label:hover .tp-check-icon .checkbox-icon'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('CBI_Focus',
            [
                'label'=>esc_html__('Checked','theplus')
            ]
        );
        $this->add_control('chekedIconColor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-checkBox input[type=checkbox]:checked+label .tp-check-icon .checkbox-icon'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('CBL_Heading',
            [
                'label' => __('Label','theplus'),
                'type' => Controls_Manager::HEADING,
                'separator' => 'before'
            ]
        );
        $this->add_group_control(Group_Control_Typography::get_type(),
            [
                'name' => 'chlabelTypo',
                'label' => esc_html__( 'Typography', 'theplus' ),
                'scheme' => Typography::TYPOGRAPHY_1,
                'selector' => '{{WRAPPER}} .tp-toggle-div .tp-checkBox .tp-clabel'
            ]
        );
        $this->start_controls_tabs('CBL_tabs');
        $this->start_controls_tab( 'CBL_Normal',
            [
                'label' => esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('chlabelColor',
            [
                'label' => __('Color','theplus'),
                'type' => Controls_Manager::COLOR,
                'selectors' => [
                    '{{WRAPPER}} .tp-toggle-div .tp-checkBox .tp-clabel'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab( 'CBL_Focus',
            [
                'label' => esc_html__('Checked','theplus')
            ]
        );
        $this->add_control('chkedLaColor',
            [
                'label' => __('Color','theplus'),
                'type' => Controls_Manager::COLOR,
                'selectors' => [
                    '{{WRAPPER}} .tp-toggle-div .tp-checkBox input[type=checkbox]:checked+label .tp-clabel'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('CBcount_Heading',
            [
                'label' => __('Counter','theplus'),
                'type' => Controls_Manager::HEADING,
                'separator' => 'before'
            ]
        );
        $this->add_responsive_control('Ck_countpad',
			[
				'label'=> __('Inner Padding','theplus'),
				'type'=>Controls_Manager::DIMENSIONS,
				'size_units'=>['px','%'],
				'selectors'=>[
					'{{WRAPPER}} .tp-search-filter .field-col .tp-checkBox.style-2 .tp-field-Counter'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				],
			]
		);
        $this->add_responsive_control('Ck_countmargin',
			[
				'label'=> __('Margin','theplus'),
				'type'=>Controls_Manager::DIMENSIONS,
				'size_units'=>['px','%'],
				'separator'=>'after',
				'selectors'=>[
					'{{WRAPPER}} .tp-search-filter .field-col .tp-checkBox.style-2 .tp-field-Counter'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				],
			]
		);
        $this->add_group_control(Group_Control_Typography::get_type(),
			[
				'name'=>'Ck_countTypo',
				'label'=>__('Typography','theplus'),
				'scheme'=>Typography::TYPOGRAPHY_1,
				'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-checkBox.style-2 .tp-field-Counter',
			]
		);
        $this->start_controls_tabs('Ck_count_tabs');
            $this->start_controls_tab('Ck_count_Normal',
                [
                    'label'=>esc_html__('Normal','theplus')
                ]
            );  
        $this->add_control('Ck_countNColor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-checkBox.style-2 .tp-field-Counter'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'Ck_countBgN',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-checkBox.style-2 .tp-field-Counter',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'Ck_countTxtBN',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-checkBox.style-2 .tp-field-Counter',
            ]
        );
        $this->add_responsive_control('Ck_countTxtBRsN',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-checkBox.style-2 .tp-field-Counter'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'Ck_countBsdN',
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-checkBox.style-2 .tp-field-Counter',
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('Ck_count_Hover',
            [
                'label'=>esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('Ck_countHColor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-checkBox.style-2:hover .tp-field-Counter'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'Ck_countBgH',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-checkBox.style-2:hover .tp-field-Counter',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'Ck_countTxtBH',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-checkBox.style-2:hover .tp-field-Counter',
            ]
        );
        $this->add_responsive_control('Ck_countTxtBRsH',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-checkBox.style-2:hover .tp-field-Counter'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'Ck_countBsdH',
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-checkBox.style-2:hover .tp-field-Counter',
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('TogIcon_Heading',
            [
                'label'=>__('Toggle Icon','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before'
            ]
        );
        $this->add_responsive_control('togplusiconSize',
            [
                'label'=>__('Size','theplus'),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>['px'],
                'range'=>[
                    'px'=>[
                        'min' => 1,
                        'max' => 100,
                        'step' => 2,
                    ],
                ],
                'default'=>[
                    'unit'=>'px',
                    'size'=>'',
                ],
                'selectors' => [
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-checkBox .tog-plus'=>'font-size:{{SIZE}}{{UNIT}};',
                ],
            ]
        );
        $this->add_responsive_control('togplusiconalign',
            [
                'label'=>__('Position','theplus'),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>['px'],
                'range'=>[
                    'px'=>[
                        'min' => -100,
                        'max' => 100,
                        'step' => 2,
                    ],
                ],
                'default'=>[
                    'unit'=>'px',
                    'size'=>'',
                ],
                'selectors' => [
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-checkBox .tp-toggle'=>'right:{{SIZE}}{{UNIT}};',
                ],
            ]
        );
        $this->start_controls_tabs('togplus_tabs');
        $this->start_controls_tab('togplus_Normal',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );
        $this->add_control('togNColor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-checkBox .tp-toggle'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('togplus_Focus',
            [
                'label'=>esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('togHColor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-checkBox .tp-toggle:hover'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('CkImage_Heading',
            [
                'label'=>__('Image','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
            ]
        );
        $this->add_control('ckimageWidth',
            [
                'label'=>__('Width','theplus'),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>['px','%'],
                'range'=>[
                    'px'=>[
                        'min'=>0,
                        'max'=>1000,
                        'step'=>5,
                    ],
                    '%'=>[
                        'min'=>0,
                        'max'=>100,
                    ],
                ],
                'default'=>[
                    'unit'=>'px',
                    'size'=>'',
                ],
                'selectors' => [
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-checkBox .tp-checkbox-thumbimg'=>'width:{{SIZE}}{{UNIT}};',
                ],
            ]
        );
        $this->add_responsive_control('ckOffsetsH',
            [
                'label'=>esc_html__('Image Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-checkBox .tp-checkbox-thumbimg'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->start_controls_tabs('Ckimg_tabs');
        $this->start_controls_tab('Ckimg_Normal',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'ckimg_Nb',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-checkBox .tp-checkbox-thumbimg',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'ckimg_Nbsd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-checkBox .tp-checkbox-thumbimg',
            ]
        );
        $this->add_responsive_control('ckbrsN',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-checkBox .tp-checkbox-thumbimg'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('Ckimg_Focus',
            [
                'label'=>esc_html__('Hover','theplus')
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'ckimg_Hb',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-checkBox:hover .tp-checkbox-thumbimg',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'ckimg_Hbsd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-checkBox:hover .tp-checkbox-thumbimg',
            ]
        );
        $this->add_responsive_control('ckbrsH',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-checkBox:hover .tp-checkbox-thumbimg'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        /*Ck Scroll Bar*/
        $this->add_control('Ck_showmore_Heading',
            [
                'label'=>__('Scroll Bar','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
            ]
        );
        $this->start_controls_tabs('Ck_scrollC_style');
        $this->start_controls_tab('Ck_scrollC_Bar',
            [
                'label'=>esc_html__('Scrollbar','theplus'),
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'Ck_ScrollBg',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-checkBox.tp-normal-scroll::-webkit-scrollbar',
            ]
        );
        $this->add_responsive_control('Ck_ScrollWidth',
            [
                'type'=>Controls_Manager::SLIDER,
                'label'=>esc_html__('Width','theplus'),
                'size_units'=>['px'],
                'range'=>[
                    'px'=>[
                        'min' => 1,
                        'max' => 100,
                        'step' => 1,
                    ],
                ],
                'render_type'=>'ui',
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-checkBox.tp-normal-scroll::-webkit-scrollbar'=>'width:{{SIZE}}{{UNIT}};',
                ],
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('Ck_scrollC_Tmb',
            [
                'label' => esc_html__('Thumb','theplus'),
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'Ck_ThumbBg',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-checkBox.tp-normal-scroll::-webkit-scrollbar-thumb',
            ]
        );
        $this->add_responsive_control('Ck_ThumbBrs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=> [
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-checkBox.tp-normal-scroll'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',				
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'Ck_ThumbBsw',
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-checkBox.tp-normal-scroll',			
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('Ck_scrollC_Trk',
            [
                'label'=>esc_html__('Track','theplus'),
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'Ck_TrackBg',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-checkBox.tp-normal-scroll::-webkit-scrollbar-track',
            ]
        );
        $this->add_responsive_control('Ck_TrackBRs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>[ 'px', '%' ],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-checkBox.tp-normal-scroll::-webkit-scrollbar-track'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',				
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'Ck_TrackBsw',
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-checkBox.tp-normal-scroll::-webkit-scrollbar-track',
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('CkBox_hadding',
            [
                'label'=>__('Box Options','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
            ]
        );
        $this->add_responsive_control('CkBPad',
            [
                'label'=>__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-checkBox'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_responsive_control('CkBMar',
            [
                'label'=>__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-checkBox'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );

        $this->start_controls_tabs('CkBox_tab');
        $this->start_controls_tab('CkBox_Normal',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );  
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'CkB_Nbg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-checkBox',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'CkBNsd',
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-checkBox',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'Ck_BoxN',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-checkBox',
            ]
        );
        $this->add_responsive_control('Ck_NBoxBrs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-checkBox'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('CkB_Hover',
            [
                'label' => esc_html__('Hover','theplus')
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'CkB_Hbg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-checkBox:hover',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'CkBHsd',
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-checkBox:hover',			
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'CkB_BoxH',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-checkBox:hover',
            ]
        );
        $this->add_responsive_control('CkB_HBoxBrs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-checkBox:hover'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->end_controls_section();
        /*Checkbox end*/

        /*Datepicker Start*/
        $this->start_controls_section('datesection',
            [
                'label'=>esc_html__('DatePicker','theplus'),
                'tab'=>Controls_Manager::TAB_STYLE,
            ]
        );
        $this->add_control('Date_Style',
			[
				'label'=>__('Date layout','theplus'),
				'type'=>Controls_Manager::SELECT,
				'default'=>'default',
				'options'=>[
					'default'=>__('Default','theplus'),
					'custom'=>__('Custom','theplus'),
				],
			]
		);
        $this->add_control('DatelableHadding',
            [
                'label'=>__('Lable Option','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
                'condition' => [
					'Date_Style'=>'default',
				],
            ]
        );
        $this->add_group_control(Group_Control_Typography::get_type(),
            [
                'name'=>'datelabletypo',
                'label'=>esc_html__('Lable Typography','theplus'),
                'scheme'=>Typography::TYPOGRAPHY_1,
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-date-wrap > div > label',
                'condition' => [
					'Date_Style'=>'default',
				],
            ]
        );
        $this->add_control('datelablepad',
            [
                'label'=>__('Lable Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-date-wrap > div > label'=>'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
                'condition' => [
					'Date_Style'=>'default',
				],
            ]
        );
        $this->start_controls_tabs('Datelbltabs',
            [
                'condition' => [
                    'Date_Style'=>'default',
                ]
            ]
        );
        $this->start_controls_tab('Datelbl_Normal',
            [
                'label' => esc_html__('Normal','theplus')
            ]
        );
        $this->add_control('Datelbl_Ncolor',
            [
                'label'=>__('lable Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-date-wrap > div > label'=>'color: {{VALUE}}',
                ],
                'condition' => [
					'Date_Style'=>'default',
				]
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('Datelbl_Hover',
            [
                'label' => esc_html__('Hover','theplus')
            ]
        );  
        $this->add_control('Datelbl_Hcolor',
            [
                'label'=>__('lable Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-date-wrap:hover > div > label'=>'color: {{VALUE}}',
                ],
                'condition' => [
					'Date_Style'=>'default',
				]
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('DatepickerHadding',
            [
                'label'=>__('Datepicker Option','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
                'condition' => [
                    'Date_Style'=>'default',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Typography::get_type(),
            [
                'name'=>'datetypo',
                'label'=>esc_html__('Date Typography','theplus'),
                'scheme'=>Typography::TYPOGRAPHY_1,
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-date-wrap > div > input[type=date]',
                'condition' => [
                    'Date_Style'=>'default',
                ]
            ]
        );
        $this->add_control('Datepickerepad',
            [
                'label'=>__('Datepicker Inner Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-date-wrap > div > input[type=date]'=>'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
                'condition' => [
                    'Date_Style'=>'default',
                ],
            ]
        );
        $this->start_controls_tabs('Datepickertabs',
            [
                'condition' => [
                    'Date_Style'=>'default',
                ]
            ]
        );
        $this->start_controls_tab('datepicker_Normal',
            [
                'label' => esc_html__('Normal','theplus')
            ]
        );
        $this->add_control('Datepicker_Ncolor',
            [
                'label'=>__('Placeholder Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-date-wrap > div > input[type=date]'=>'color: {{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'DatepickerNBg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-date-wrap > div > input[type=date]',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'Datepicker_NBorder',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-date-wrap > div > input[type=date]',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'Datepicker_Nshadow',
                'label'=>__( 'Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-date-wrap > div > input[type=date]',
            ]
        );
        $this->add_control('DatepickericonNCr',
            [
                'label'=>__('Icon Opacity','theplus'),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>['px'],
                'range'=>[
                    'px'=>[
                        'min'=>0.1,
                        'max'=>1,
                        'step'=>0.1,
                    ],
                ],
                'default'=>[
                    'unit'=>'px',
                    'size'=>'',
                ],
                'render_type'=>'ui',
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-date-wrap input[type=date]::-webkit-calendar-picker-indicator'=>'filter:invert({{SIZE}});',
                ],
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('datepicker_Hover',
            [
                'label' => esc_html__('Hover','theplus')
            ]
        );  
        $this->add_control('Datepicker_Hcolor',
            [
                'label'=>__('Placeholder Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-date-wrap:hover > div > input[type=date]'=>'color: {{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'DatepickerHBg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-date-wrap:hover > div > input[type=date]',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'Datepicker_HBorder',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-date-wrap:hover > div > input[type=date]',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'Datepicker_Hshadow',
                'label'=>__( 'Box Shadow', 'theplus' ),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-date-wrap:hover > div > input[type=date]',
            ]
        );
        $this->add_control('DatepickericonHCr',
            [
                'label'=>__('Icon Opacity','theplus'),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>['px'],
                'range'=>[
                    'px'=>[
                        'min'=>0.1,
                        'max'=>1,
                        'step'=>0.1,
                    ],
                ],
                'default'=>[
                    'unit'=>'px',
                    'size'=>'',
                ],
                'render_type'=>'ui',
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-date-wrap:hover input[type=date]::-webkit-calendar-picker-indicator'=>'filter:invert({{SIZE}});',
                ],
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('Date_input_cus',
            [
                'label'=>__('Input Options','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
                'condition'=>[
                    'Date_Style'=>'custom',
                ]
            ]
        );
        $this->add_responsive_control('DateInp_cuspad',
            [
                'label'=>__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-custom-date'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
                'condition'=>[
                    'Date_Style'=>'custom',
                ],
            ]
        );
        $this->add_responsive_control('DateInp_cusmar',
            [
                'label'=>__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-custom-date'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
                'condition'=>[
                    'Date_Style'=>'custom',
                ],
            ]
        );
        $this->start_controls_tabs('Dateinput_tab',
            [
                'condition'=>[
                    'Date_Style'=>'custom',
                ],
            ]
        );
        $this->start_controls_tab('Dateinput_Normal',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );
        $this->add_control('DateinputNcr',
            [
                'label'=>__('Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-custom-date'=>'color: {{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'DateinputNBg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-custom-date',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'DateinputNB',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-custom-date',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'DateinputNsd',
                'label'=>__( 'Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-custom-date',
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('Dateinput_Hover',
            [
                'label' => esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('DateinputHcr',
            [
                'label'=>__('Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-custom-date:hover'=>'color: {{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'DateinputHBg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-custom-date:hover',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'DateinputHB',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-custom-date:hover',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'DateinputHsd',
                'label'=>__( 'Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-custom-date:hover',
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('DateRange_hadding',
            [
                'label'=>__('Date Range Options','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
                'condition'=>[
                    'Date_Style'=>'custom',
                ],
            ]
        );
        $this->add_responsive_control('DateRangepad',
            [
                'label'=>__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '.daterangepicker div.ranges'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
                'condition'=>[
                    'Date_Style'=>'custom',
                ],
            ]
        );
        $this->add_responsive_control('DateRangemar',
            [
                'label'=>__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '.daterangepicker div.ranges'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
                'condition'=>[
                    'Date_Style'=>'custom',
                ],
            ]
        );
        $this->add_control('DateRangewidth',
			[
				'label'=>__('Width','theplus'),
				'type'=>Controls_Manager::SLIDER,
				'size_units'=>['px','%'],
				'range'=>[
					'px'=>[
						'min'=>0,
						'max'=>1000,
						'step'=>5,
					],
					'%'=>[
						'min'=>0,
						'max'=>100,
					],
				],
				'default'=>[
					'unit'=>'px',
					'size'=>'',
				],
				'selectors'=>[
					'.daterangepicker div.ranges ul'=>'width:{{SIZE}}{{UNIT}};',
				],
                'condition'=>[
                    'Date_Style'=>'custom',
                ],
			]
		);
        $this->add_group_control(Group_Control_Typography::get_type(),
            [
                'name'=>'DateRangetypo',
                'label'=>esc_html__('Date Typography','theplus'),
                'scheme'=>Typography::TYPOGRAPHY_1,
                'selector'=>'.daterangepicker div.ranges li',
                'condition'=>[
                    'Date_Style'=>'custom',
                ],
            ]
        );

        $this->start_controls_tabs('Daterange_tab',
            [
                'condition'=>[
                    'Date_Style'=>'custom',
                ],
            ]
        );
        $this->start_controls_tab('Daterange_Normal',
            [
                'label' => esc_html__('Normal','theplus')
            ]
        );
        $this->add_control('DaterangeNcr',
            [
                'label'=>__('Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '.daterangepicker div.ranges ul li'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'DaterangeNBg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'.daterangepicker div.ranges ul li',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'DaterangeNsd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'.daterangepicker div.ranges ul li',
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('Daterange_Hover',
            [
                'label' => esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('DaterangeHcr',
            [
                'label'=>__('Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '.daterangepicker div.ranges ul li:hover'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'DaterangeHBg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'.daterangepicker div.ranges ul li:hover',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'DaterangeHsd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'.daterangepicker div.ranges ul li:hover',
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('Daterange_active',
            [
                'label' => esc_html__('Active','theplus')
            ]
        );
        $this->add_control('DaterangeAcr',
            [
                'label'=>__('Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '.daterangepicker div.ranges ul li.active'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'DaterangeABg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'.daterangepicker div.ranges ul li.active',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'DaterangeAsd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'.daterangepicker div.ranges ul li.active',
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('Datecalendar_hadding',
            [
                'label'=>__('Calendar Options','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
                'condition'=>[
                    'Date_Style'=>'custom',
                ],
            ]
        );
        $this->add_responsive_control('DateCalendar_pad',
            [
                'label'=>__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '.daterangepicker div.drp-calendar.left,.daterangepicker div.drp-calendar.right'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
                'condition'=>[
                    'Date_Style'=>'custom',
                ],
            ]
        );
        $this->add_responsive_control('DateCalendar_mar',
            [
                'label'=>__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '.daterangepicker div.drp-calendar.left,.daterangepicker div.drp-calendar.right'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
                'condition'=>[
                    'Date_Style'=>'custom',
                ],
            ]
        );
        $this->start_controls_tabs('DateCalendar_tab',
            [
                'condition'=>[
                    'Date_Style'=>'custom',
                ],
            ]
        );
        $this->start_controls_tab('DateCalendar_normal',
            [
                'label' => esc_html__('Normal','theplus')
            ]
        );  
        $this->add_control('DateCalendarNcr',
            [
                'label'=>__('Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '.daterangepicker div.drp-calendar.left,.daterangepicker div.drp-calendar.right,.daterangepicker div.calendar-table,.daterangepicker select.monthselect,.daterangepicker select.yearselect,.daterangepicker td:not(.active).available'=>'color: {{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'DateCalendarNBg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'.daterangepicker div.drp-calendar.left,.daterangepicker div.drp-calendar.right,.daterangepicker div.calendar-table,.daterangepicker select.monthselect,.daterangepicker select.yearselect,.daterangepicker td:not(.active).available',
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('DateCalendar_hover',
            [
                'label' => esc_html__('Hover','theplus')
            ]
        );  
        $this->add_control('DateCalendarHcr',
            [
                'label'=>__('Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '.daterangepicker:hover div.drp-calendar.left,.daterangepicker:hover div.drp-calendar.right,.daterangepicker:hover div.calendar-table,.daterangepicker:hover select.monthselect,.daterangepicker:hover select.yearselect,.daterangepicker:hover  td:not(.active).available'=>'color: {{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'DateCalendarHBg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'.daterangepicker:hover div.drp-calendar.left,.daterangepicker:hover div.drp-calendar.right,.daterangepicker:hover div.calendar-table,.daterangepicker:hover select.monthselect,.daterangepicker:hover select.yearselect,.daterangepicker:hover  td:not(.active).available',
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('DateCalendar_active',
            [
                'label' => esc_html__('Active','theplus')
            ]
        );  
        $this->add_control('DateCalendarAcr',
            [
                'label'=>__('Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[ 'div.daterangepicker td.active, div.daterangepicker td.active:hover'=>'color: {{VALUE}}']
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'DateCalendarABg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'div.daterangepicker td.active, div.daterangepicker td.active:hover',
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('DateDropdown_hadding',
            [
                'label'=>__('Monath & Year Options','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
                'condition'=>[ 'Date_Style'=>'custom' ],
            ]
        );
        $this->add_responsive_control('DateDropdown_Pad',
            [
                'label'=>__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[ 'div.daterangepicker select.monthselect, div.daterangepicker select.yearselect'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};' ],
                'condition'=>[ 'Date_Style'=>'custom' ],
            ]
        );
        $this->add_responsive_control('DateDropdown_mar',
            [
                'label'=>__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[ 'div.daterangepicker select.monthselect, div.daterangepicker select.yearselect'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};' ],
                'condition'=>[ 'Date_Style'=>'custom' ],
            ]
        );
        $this->add_group_control(Group_Control_Typography::get_type(),
            [
                'name'=>'DateDropdownTypo',
                'label'=>esc_html__('Date Typography','theplus'),
                'scheme'=>Typography::TYPOGRAPHY_1,
                'selector'=>'div.daterangepicker select.monthselect, div.daterangepicker select.yearselect',
                'condition'=>[
                    'Date_Style'=>'custom'
                ],
            ]
        );
        $this->start_controls_tabs('DateDropdown_tab',
            [
                'condition'=>[ 'Date_Style'=>'custom' ],
            ]
        );
        $this->start_controls_tab('DateDropdown_normal',
            [
                'label' => esc_html__('Normal','theplus')
            ]
        );
        $this->add_control('DateDropdownNcr',
            [
                'label'=>__('Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[ 'div.daterangepicker select.monthselect, div.daterangepicker select.yearselect'=>'color:{{VALUE}}' ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'DateDropdownNBg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'div.daterangepicker select.monthselect, div.daterangepicker select.yearselect',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'DateDropdownNB',
                'label'=>__('Border','theplus'),
                'selector'=>'div.daterangepicker select.monthselect, div.daterangepicker select.yearselect',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'DateDropdownNsd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'div.daterangepicker select.monthselect, div.daterangepicker select.yearselect',
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('DateDropdown_Hover',
            [
                'label' => esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('DateDropdownHcr',
            [
                'label'=>__('Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[ 'div.daterangepicker select.monthselect:hover, div.daterangepicker select.yearselect:hover'=>'color:{{VALUE}}' ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'DateDropdownHBg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'div.daterangepicker select.monthselect:hover, div.daterangepicker select.yearselect:hover',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'DateDropdownHB',
                'label'=>__('Border','theplus'),
                'selector'=>'div.daterangepicker:hover select.monthselect, div.daterangepicker:hover select.yearselect',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'DateDropdownHsd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'div.daterangepicker select.monthselect:hover, div.daterangepicker select.yearselect:hover',
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('DateIcon_hadding',
            [
                'label'=>__('Icon Button Options','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
                'condition'=>[ 'Date_Style'=>'custom' ],
            ]
        );
        $this->add_responsive_control('DateIcon_Pad',
            [
                'label'=>__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[ 'div.daterangepicker th.prev, div.daterangepicker th.next'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};' ],
                'condition'=>[ 'Date_Style'=>'custom' ],
            ]
        );

        $this->start_controls_tabs('DateIconBtn_tab',
            [
                'condition'=>[
                    'Date_Style'=>'custom',
                ],
            ]
        );
        $this->start_controls_tab('DateIconBtn_normal',
            [
                'label' => esc_html__('Normal','theplus')
            ]
        ); 
        $this->add_control('DateIconBtnNcr',
            [
                'label'=>__('Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[ 'div.daterangepicker th.prev, div.daterangepicker th.next'=>'color:{{VALUE}}' ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'DateIconBtnNBg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'div.daterangepicker th.prev, div.daterangepicker th.next',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'DateIconBtnNB',
                'label'=>__('Border','theplus'),
                'selector'=>'div.daterangepicker th.prev, div.daterangepicker th.next',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'DateIconBtnNsd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'div.daterangepicker th.prev, div.daterangepicker th.next',
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('DateIconBtn_hover',
            [
                'label' => esc_html__('Hover','theplus')
            ]
        ); 
        $this->add_control('DateIconBtnHcr',
            [
                'label'=>__('Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[ 'div.daterangepicker th.prev:hover, div.daterangepicker th.next:hover'=>'color:{{VALUE}}' ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'DateIconBtnHBg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'div.daterangepicker th.prev:hover, div.daterangepicker th.next:hover',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'DateIconBtnHB',
                'label'=>__('Border','theplus'),
                'selector'=>'div.daterangepicker th.prev:hover, div.daterangepicker th.next:hover',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'DateIconBtnHsd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'div.daterangepicker th.prev:hover, div.daterangepicker th.next:hover',
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('Datefooter_hadding',
            [
                'label'=>__('Date Footer Options','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
                'condition'=>[ 'Date_Style'=>'custom' ],
            ]
        );
        $this->add_responsive_control('Datefooter_Pad',
            [
                'label'=>__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[ 'div.daterangepicker div.drp-buttons'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};' ],
                'condition'=>[ 'Date_Style'=>'custom' ],
            ]
        );
        $this->add_control('Datefooterlablecr',
            [
                'label'=>__('lable Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[ 'div.daterangepicker .drp-buttons .drp-selected'=>'color:{{VALUE}}' ]
            ]
        );
        $this->start_controls_tabs('Datefooter_tab',
            [
                'condition'=>[
                    'Date_Style'=>'custom',
                ],
            ]
        );
        $this->start_controls_tab('Datefooter_Normal',
            [
                'label' => esc_html__('Normal','theplus')
            ]
        ); 
        $this->add_control('Datefooter_Ncr',
            [
                'label'=>__('Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[ '.daterangepicker div.drp-buttons button.cancelBtn, .daterangepicker div.drp-buttons button.applyBtn'=>'color:{{VALUE}}']
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'Datefooter_NBg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'.daterangepicker div.drp-buttons button.cancelBtn, .daterangepicker div.drp-buttons button.applyBtn',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'Datefooter_NB',
                'label'=>__('Border','theplus'),
                'selector'=>'.daterangepicker div.drp-buttons button.cancelBtn, .daterangepicker div.drp-buttons button.applyBtn',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'Datefooter_Nsd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'.daterangepicker div.drp-buttons button.cancelBtn, .daterangepicker div.drp-buttons button.applyBtn',
            ]
        );
        $this->add_control('Datefooter_NBRs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[ '.daterangepicker div.drp-buttons button.cancelBtn, .daterangepicker div.drp-buttons button.applyBtn'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};' ],
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('Datefooter_Hcancel',
            [
                'label' => esc_html__('Hover','theplus')
            ]
        ); 
        $this->add_control('Datefooter_Hcr',
            [
                'label'=>__('Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[ '.daterangepicker div.drp-buttons button.cancelBtn:hover, .daterangepicker div.drp-buttons button.applyBtn:hover'=>'color:{{VALUE}}']
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'Datefooter_HBg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'.daterangepicker div.drp-buttons button.cancelBtn:hover, .daterangepicker div.drp-buttons button.applyBtn:hover',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'Datefooter_HB',
                'label'=>__('Border','theplus'),
                'selector'=>'.daterangepicker div.drp-buttons button.cancelBtn:hover, .daterangepicker div.drp-buttons button.applyBtn:hover',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'Datefooter_Hsd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'.daterangepicker div.drp-buttons button.cancelBtn:hover, .daterangepicker div.drp-buttons button.applyBtn:hover',
            ]
        );
        $this->add_control('Datefooter_HBRs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[ '.daterangepicker div.drp-buttons button.cancelBtn:hover, .daterangepicker div.drp-buttons button.applyBtn:hover'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};' ],
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('DateBox_hadding',
            [
                'label'=>__('Box Options','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
            ]
        );
        $this->add_responsive_control('DateBPad',
            [
                'label'=>__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-date-wrap'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_responsive_control('DateBMar',
            [
                'label'=>__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-date-wrap'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );

        $this->start_controls_tabs('DateBox_tab');
        $this->start_controls_tab('DateBox_Normal',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );  
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'DateB_Nbg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-date-wrap',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'Date_BoxN',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-date-wrap',
            ]
        );
        $this->add_responsive_control('Date_NBoxBrs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-date-wrap'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'DateBNsd',
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-date-wrap',
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('DateB_Hover',
            [
                'label' => esc_html__('Hover','theplus')
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'DateB_Hbg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-date-wrap:hover',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'DateB_BoxH',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-date-wrap:hover',
            ]
        );
        $this->add_responsive_control('DateB_HBoxBrs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-date-wrap:hover'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'DateBHsd',
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-date-wrap:hover',			
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->end_controls_section();
        /*Datepicker End*/

        /*DropDown start*/
		$this->start_controls_section('Select_styling',
            [
                'label'=>esc_html__('DropDown','theplus'),
                'tab'=>Controls_Manager::TAB_STYLE,				
            ]
        );
        $this->add_responsive_control('selepad',
            [
                'label'=>esc_html__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_responsive_control('selemar',
            [
                'label'=>esc_html__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'separator'=>'after',
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_control('DDwidth',
			[
				'label'=>__('Width','theplus'),
				'type'=>Controls_Manager::SLIDER,
				'size_units'=>['px','%'],
				'range'=>[
					'px'=>[
						'min'=>0,
						'max'=>1000,
						'step'=>5,
					],
					'%'=>[
						'min'=>0,
						'max'=>100,
					],
				],
				'default'=>[
					'unit'=>'%',
					'size'=>'',
				],
				'selectors' => [
					'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-select'=>'width:{{SIZE}}{{UNIT}};',
				],
			]
		);
        $this->add_group_control(Group_Control_Typography::get_type(),
            [
                'name'=>'SelectTypo',
                'label'=>esc_html__('Typography','theplus'),
                'scheme'=>Typography::TYPOGRAPHY_1,
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select'
            ]
        );
        $this->start_controls_tabs('Select_tabs');
        $this->start_controls_tab('Select_Normal',
            [
                'label' => esc_html__('Normal','theplus')
            ]
        );
        $this->add_control('seletxtColor',
            [
                'label' => __('Color','theplus'),
                'type' => Controls_Manager::COLOR,
                'selectors' => [
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'selebgType',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select,{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-sbar-dropdown-menu',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'seleNBorder',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select'
            ]
        );
        $this->add_responsive_control('seleNbrs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'seleNBshadow',
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select',			
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('Select_Hover',
            [
                'label'=>esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('seletxtFcolor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select:hover'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'seleFbgType',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select:hover',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'seleFBorder',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select:hover'
            ]
        );
        $this->add_responsive_control('seleHbrs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select:hover'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'selFBshadow',
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select:hover',			
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('DD_innerHeading',
			[
				'label'=>__('DropDown Inner','theplus'),
				'type'=>Controls_Manager::HEADING,
				'separator'=>'before',
			]
		);
        $this->add_control('DDenableimge',
			[
				'label'=>__('Show Backend Only','theplus'),
				'type'=>Controls_Manager::SWITCHER,
				'label_on'=>__('Show','theplus' ),
				'label_off'=>__('Hide','theplus' ),
				'return_value'=>'block',
				'default'=>'',
                'selectors' => [
                    '{{WRAPPER}} .tp-search-filter.tp-searchfilter-backend .tp-toggle-div .tp-select .tp-sbar-dropdown-menu'=>'display:{{value}};',
                ],
			]
		);
        $this->start_controls_tabs('SelectInn_tabs');
        $this->start_controls_tab('SelectInn_Normal',
            [
                'label' => esc_html__('Normal','theplus')
            ]
        );  
        $this->add_control('selectInnCrN',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'selectInnBgCrN',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'selectInnBN',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu'
            ]
        );
        $this->add_responsive_control('selectInnBrsN',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'selectInnBSdN',
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu',
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('SelectInn_Hover',
            [
                'label'=>esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('selectInnCrF',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu:hover'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'selectInnBgCrf',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu:hover',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'selectInnBf',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu:hover'
            ]
        );
        $this->add_responsive_control('selectInnBrsf',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu:hover'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'selectInnBSdf',
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu:hover',
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('SelectInn_Select',
            [
                'label'=>esc_html__('select','theplus')
            ]
        );
        $this->add_control('selectInnCrH',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu .tp-searchbar-li:hover'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'selectInnBgCrH',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu .tp-searchbar-li:hover',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'selectInnBH',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu .tp-searchbar-li:hover'
            ]
        );
        $this->add_responsive_control('selectInnBrsH',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu .tp-searchbar-li:hover'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'selectInnBSdH',
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu .tp-searchbar-li:hover',
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('selectcount_Heading',
            [
                'label' => __('Counter','theplus'),
                'type' => Controls_Manager::HEADING,
                'separator' => 'before'
            ]
        );
        $this->add_control('select_counterimageWidth',
            [
                'label'=>__('Width','theplus'),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>['px','%'],
                'range'=>[
                    'px'=>[
                        'min'=>0,
                        'max'=>1000,
                        'step'=>5,
                    ],
                    '%'=>[
                        'min'=>0,
                        'max'=>100,
                    ],
                ],
                'default'=>[
                    'unit'=>'px',
                    'size'=>'',
                ],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-select.style-2 .tp-sbar-dropdown-menu .tp-dd-counttxt'=>'width:{{SIZE}}{{UNIT}};height:{{SIZE}}{{UNIT}}',
                ],
            ]
        );
        $this->add_responsive_control('select_countmargin',
            [
                'label'=> __('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'separator'=>'after',
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-select.style-2 .tp-sbar-dropdown-menu .tp-dd-counttxt'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Typography::get_type(),
            [
                'name'=>'select_countTypo',
                'label'=>__('Typography','theplus'),
                'scheme'=>Typography::TYPOGRAPHY_1,
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-select.style-2 .tp-sbar-dropdown-menu .tp-dd-counttxt',
            ]
        );
        $this->start_controls_tabs('select_count_tabs');
        $this->start_controls_tab('select_count_Normal',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );  
        $this->add_control('select_countNColor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-select .tp-sbar-dropdown-menu .tp-dd-counttxt'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'select_countBgN',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-select .tp-sbar-dropdown-menu .tp-dd-counttxt',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'select_countTxtBN',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-select .tp-sbar-dropdown-menu .tp-dd-counttxt',
            ]
        );
        $this->add_responsive_control('select_countTxtBRsN',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-select .tp-sbar-dropdown-menu .tp-dd-counttxt'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'select_countBsdN',
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-select .tp-sbar-dropdown-menu .tp-dd-counttxt',
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('select_count_Hover',
            [
                'label'=>esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('select_countHColor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-select .tp-sbar-dropdown-menu:hover .tp-dd-counttxt'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'select_countBgH',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-select .tp-sbar-dropdown-menu:hover .tp-dd-counttxt',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'select_countTxtBH',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-select .tp-sbar-dropdown-menu:hover .tp-dd-counttxt',
            ]
        );
        $this->add_responsive_control('select_countTxtBRsH',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-select .tp-sbar-dropdown-menu:hover .tp-dd-counttxt'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'select_countBsdH',
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-select .tp-sbar-dropdown-menu:hover .tp-dd-counttxt',
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();
        $this->add_control('DDImage_Heading',
            [
                'label'=>__('Image','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
            ]
        );
        $this->add_control('DDimageWidth',
            [
                'label'=>__('Width','theplus'),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>['px','%'],
                'range'=>[
                    'px'=>[
                        'min'=>0,
                        'max'=>1000,
                        'step'=>5,
                    ],
                    '%'=>[
                        'min'=>0,
                        'max'=>100,
                    ],
                ],
                'default'=>[
                    'unit'=>'px',
                    'size'=>'',
                ],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu .tp-dd-thumbimg'=>'width:{{SIZE}}{{UNIT}};',
                ],
            ]
        );
        $this->add_responsive_control('DDOffsetsH',
            [
                'label'=>esc_html__('Image Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu .tp-dd-thumbimg'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->start_controls_tabs('DDimg_tabs');
        $this->start_controls_tab('DDimg_Normal',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'DDimg_Nb',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu .tp-dd-thumbimg',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'DDimg_Nbsd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu .tp-dd-thumbimg',
            ]
        );
        $this->add_responsive_control('DDbrsN',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu .tp-dd-thumbimg'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('DDimg_Focus',
            [
                'label'=>esc_html__('Hover','theplus')
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'DDimg_Hb',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu .tp-dd-thumbimg:hover',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'DDimg_Hbsd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu .tp-dd-thumbimg:hover',
            ]
        );
        $this->add_responsive_control('DDbrsH',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu .tp-dd-thumbimg:hover'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        /*DD Scroll Bar*/
        $this->add_control('DDScrollBarTab',
            [
                'label'=>__('Scroll Bar','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
            ]
        );
        $this->add_control('DDScrollheight',
			[
				'label'=>__('Height','theplus'),
				'type'=>Controls_Manager::SLIDER,
				'size_units'=>['px','%'],
				'range'=>[
					'px'=>[
						'min'=>0,
						'max'=>1000,
						'step'=>5,
					],
				],
				'default'=>[
					'unit'=>'px',
					'size'=>'',
				],
				'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu'=>'max-height:{{SIZE}}{{UNIT}};',
                ],
			]
		);
        $this->start_controls_tabs('DDscrollC_style');
        $this->start_controls_tab('DDscrollC_Bar',
            [
                'label'=>esc_html__('Scrollbar','theplus'),
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'DDScrollBg',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu::-webkit-scrollbar',
            ]
        );
        $this->add_responsive_control('DDScrollWidth',
            [
                'type'=>Controls_Manager::SLIDER,
                'label'=>esc_html__('Width','theplus'),
                'size_units'=>['px'],
                'range'=>[
                    'px'=>[
                        'min' => 1,
                        'max' => 100,
                        'step' => 1,
                    ],
                ],
                'render_type'=>'ui',
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu::-webkit-scrollbar'=>'width:{{SIZE}}{{UNIT}};',
                ],
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('DDscrollC_Tmb',
            [
                'label' => esc_html__('Thumb','theplus'),
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'DDThumbBg',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu::-webkit-scrollbar-thumb',
            ]
        );
        $this->add_responsive_control('DDThumbBrs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=> [
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',				
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'DDThumbBsw',
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu',			
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('DDscrollC_Trk',
            [
                'label'=>esc_html__('Track','theplus'),
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'DDTrackBg',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu::-webkit-scrollbar-track',
            ]
        );
        $this->add_responsive_control('DDTrackBRs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>[ 'px', '%' ],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu::-webkit-scrollbar-track'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',				
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'DDTrackBsw',
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-select .tp-sbar-dropdown-menu::-webkit-scrollbar-track',
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();
        $this->end_controls_section();
        /*DropDown End*/

        /*Radio start*/
		$this->start_controls_section('Radio_styling',
            [
                'label' => esc_html__('Radio Button','theplus'),
                'tab' => Controls_Manager::TAB_STYLE,				
            ]
        );
        $this->add_control('radioSize',
			[
				'label'=>__('Size','theplus'),
				'type'=>Controls_Manager::SLIDER,
				'size_units'=>['px','%'],
				'range'=>[
					'px'=>[
						'min'=>1,
						'max'=>100,
						'step'=>5,
					],
					'%'=>[
						'min'=>1,
						'max'=>100,
					],
				],
				'default'=>[
					'unit'=>'px',
					'size'=>'',
				],
				'selectors'=>[
					'{{WRAPPER}} .tp-toggle-div .tp-radio .tp-radio-icon'=>'width:{{SIZE}}{{UNIT}}; height:{{SIZE}}{{UNIT}}; line-height:{{SIZE}}{{UNIT}};',
				],
			]
		);
        $this->add_control('raleftOffset',
			[
				'label'=>__('Offset Left','theplus'),
				'type'=>Controls_Manager::SLIDER,
				'size_units'=>['px','%'],
				'range'=>[
					'px'=>[
						'min'=>1,
						'max'=>100,
						'step'=>5,
					],
					'%'=>[
						'min'=>1,
						'max'=>100,
					],
				],
				'default'=>[
					'unit'=>'px',
					'size'=>'',
				],
				'selectors'=>[
					'{{WRAPPER}} .tp-toggle-div .tp-radio .tp-radio-icon'=>'margin-right:{{SIZE}}{{UNIT}};',
				],
			]
		);
        $this->start_controls_tabs('Radio_tabs');
        $this->start_controls_tab('Radio_Normal',
            [
                'label' => esc_html__('Normal','theplus')
            ]
        );
        $this->add_control('radioNCr',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-radio input[type=radio]+label .tp-radio-icon svg'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'radioBorder',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-toggle-div .tp-radio .tp-radio-icon'
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('Radio_Focus',
            [
                'label'=>esc_html__('Checked','theplus')
            ]
        );
        $this->add_control('radioHCr',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-radio input[type=radio]:checked+label .tp-radio-icon svg'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'radiocheBor',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-radio input[type=radio]:checked+label .tp-radio-icon'
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();
        $this->add_responsive_control('radioBradius',
			[
				'label'=>esc_html__('Border Radius','theplus'),
				'type'=>Controls_Manager::DIMENSIONS,
				'size_units'=>[ 'px', '%' ],
				'selectors'=>[
					'{{WRAPPER}} .tp-toggle-div .tp-radio .tp-radio-icon'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
				],
			]
		);
        $this->add_control('RadioIcon_Heading',
			[
				'label'=>__('Radio Icon','theplus'),
				'type'=>Controls_Manager::HEADING,
				'separator'=>'before'
			]
		);
        $this->add_control('radioIconSize',
			[
				'label'=>__('Size','theplus'),
				'type'=>Controls_Manager::SLIDER,
				'size_units'=>[ 'px', '%' ],
				'range'=>[
					'px' => [
						'min'=>1,
						'max'=>100,
						'step'=>5,
					],
					'%' => [
						'min'=>1,
						'max'=>100,
					],
				],
				'default' => [
					'unit'=>'px',
					'size'=>'',
				],
				'selectors'=>[
					'{{WRAPPER}} .tp-toggle-div .tp-radio .tp-radio-icon .radioIcon'=>'width:{{SIZE}}{{UNIT}};',
				],
			]
		);
        $this->start_controls_tabs( 'RDI_tabs' );
        $this->start_controls_tab( 'RDI_Normal',
            [
                'label' => esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('roIcHvrColor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-radio input[type=radio]+label:hover .tp-radio-icon .radioIcon'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('RDI_Focus',
            [
                'label' => esc_html__('Checked','theplus')
            ]
        );
        $this->add_control('rocheIconColor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-radio input[type=radio]:checked+label .tp-radio-icon .radioIcon'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();
        $this->add_control('RadioLable_Heading',
            [
                'label'=>__('Label','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before'
            ]
        );
        $this->add_group_control(Group_Control_Typography::get_type(),
            [
                'name'=>'rolabelTypo',
                'label'=>esc_html__('Typography','theplus'),
                'scheme'=>Typography::TYPOGRAPHY_1,
                'selector'=>'{{WRAPPER}} .tp-toggle-div .tp-radio .tp-rlabel'
            ]
        );
        $this->start_controls_tabs('RadioLable_tabs');
        $this->start_controls_tab('RadioLable_Normal',
            [
                'label'=>esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('rolabelColor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-toggle-div .tp-radio .tp-rlabel'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('RadioLable_Focus',
            [
                'label'=>esc_html__('Checked','theplus')
            ]
        );
        $this->add_control('rokedLaColor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-toggle-div .tp-radio input[type=radio]:checked+label .tp-rlabel'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('Rdcount_Heading',
            [
                'label' => __('Counter','theplus'),
                'type' => Controls_Manager::HEADING,
                'separator' => 'before'
            ]
        );
        $this->add_responsive_control('Rd_countpad',
            [
                'label'=> __('Inner Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-radio.style-2 .tp-field-Counter'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_responsive_control('Rd_countmargin',
            [
                'label'=> __('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'separator'=>'after',
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-radio.style-2 .tp-field-Counter'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Typography::get_type(),
            [
                'name'=>'Rd_countTypo',
                'label'=>__('Typography','theplus'),
                'scheme'=>Typography::TYPOGRAPHY_1,
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-radio.style-2 .tp-field-Counter',
            ]
        );
        $this->start_controls_tabs('Rd_count_tabs');
        $this->start_controls_tab('Rd_count_Normal',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );  
        $this->add_control('Rd_countNColor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-radio.style-2 .tp-field-Counter'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'Rd_countBgN',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-radio.style-2 .tp-field-Counter',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'Rd_countTxtBN',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-radio.style-2 .tp-field-Counter',
            ]
        );
        $this->add_responsive_control('Rd_countTxtBRsN',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-radio.style-2 .tp-field-Counter'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'Rd_countBsdN',
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-radio.style-2 .tp-field-Counter',
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('Rd_count_Hover',
            [
                'label'=>esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('Rd_countHColor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-radio.style-2:hover .tp-field-Counter'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'Rd_countBgH',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-radio.style-2:hover .tp-field-Counter',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'Rd_countTxtBH',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-radio.style-2:hover .tp-field-Counter',
            ]
        );
        $this->add_responsive_control('Rd_countTxtBRsH',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-radio.style-2:hover .tp-field-Counter'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'Rd_countBsdH',
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-radio.style-2:hover .tp-field-Counter',
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('RadioTogIcon_Head',
            [
                'label'=>__('Toggle Icon','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before'
            ]
        );
        $this->add_responsive_control('RadioTogsize',
            [
                'label'=>__('Size','theplus'),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>['px'],
                'range'=>[
                    'px'=>[
                        'min' => 1,
                        'max' => 100,
                        'step' => 2,
                    ],
                ],
                'default'=>[
                    'unit'=>'px',
                    'size'=>'',
                ],
                'selectors' => [
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-radio .tog-plus'=>'font-size:{{SIZE}}{{UNIT}};',
                ],
            ]
        );
        $this->add_responsive_control('radiotognalign',
            [
                'label'=>__('Position','theplus'),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>['px'],
                'range'=>[
                    'px'=>[
                        'min' => -100,
                        'max' => 100,
                        'step' => 2,
                    ],
                ],
                'default'=>[
                    'unit'=>'px',
                    'size'=>'',
                ],
                'selectors' => [
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-radio .tp-toggle'=>'right:{{SIZE}}{{UNIT}};',
                ],
            ]
        );
        $this->start_controls_tabs('radiotogplus_tabs');
        $this->start_controls_tab('radiotogplus_Normal',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );
        $this->add_control('radiotogNColor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-radio .tp-toggle'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('radiotogplus_Focus',
            [
                'label'=>esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('radiotogHColor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-radio .tp-toggle:hover'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('RdImage_Heading',
            [
                'label'=>__('Image','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
            ]
        );
        $this->add_control('RdimageWidth',
            [
                'label'=>__('Width','theplus'),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>['px','%'],
                'range'=>[
                    'px'=>[
                        'min'=>0,
                        'max'=>1000,
                        'step'=>5,
                    ],
                    '%'=>[
                        'min'=>0,
                        'max'=>100,
                    ],
                ],
                'default'=>[
                    'unit'=>'px',
                    'size'=>'',
                ],
                'selectors' => [
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-radio .tp-radio-thumbimg'=>'width:{{SIZE}}{{UNIT}};',
                ],
            ]
        );
        $this->add_responsive_control('RdOffsetsH',
            [
                'label'=>esc_html__('Image Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-radio .tp-radio-thumbimg'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->start_controls_tabs('Rdimg_tabs');
        $this->start_controls_tab('Rdimg_Normal',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'Rdimg_Nb',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-radio .tp-radio-thumbimg',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'Rdimg_Nbsd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-radio .tp-radio-thumbimg',
            ]
        );
        $this->add_responsive_control('RdbrsN',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-radio .tp-radio-thumbimg'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('Rdimg_Focus',
            [
                'label'=>esc_html__('Hover','theplus')
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'Rdimg_Hb',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-radio .tp-radio-thumbimg:hover',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'Rdimg_Hbsd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-radio .tp-radio-thumbimg:hover',
            ]
        );
        $this->add_responsive_control('RdbrsH',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-radio .tp-radio-thumbimg:hover'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        /*Ck Scroll Bar*/
        $this->add_control('rd_showmore_Heading',
            [
                'label'=>__('Scroll Bar','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
            ]
        );
        $this->start_controls_tabs('rd_scrollC_style');
        $this->start_controls_tab('rd_scrollC_Bar',
            [
                'label'=>esc_html__('Scrollbar','theplus'),
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'rd_ScrollBg',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-radio.tp-normal-scroll::-webkit-scrollbar',
            ]
        );
        $this->add_responsive_control('rd_ScrollWidth',
            [
                'type'=>Controls_Manager::SLIDER,
                'label'=>esc_html__('Width','theplus'),
                'size_units'=>['px'],
                'range'=>[
                    'px'=>[
                        'min' => 1,
                        'max' => 100,
                        'step' => 1,
                    ],
                ],
                'render_type'=>'ui',
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-radio.tp-normal-scroll::-webkit-scrollbar'=>'width:{{SIZE}}{{UNIT}};',
                ],
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('rd_scrollC_Tmb',
            [
                'label' => esc_html__('Thumb','theplus'),
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'rd_ThumbBg',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-radio.tp-normal-scroll::-webkit-scrollbar-thumb',
            ]
        );
        $this->add_responsive_control('rd_ThumbBrs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=> [
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-radio.tp-normal-scroll'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',				
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'rd_ThumbBsw',
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-radio.tp-normal-scroll',			
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('rd_scrollC_Trk',
            [
                'label'=>esc_html__('Track','theplus'),
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'rd_TrackBg',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-radio.tp-normal-scroll::-webkit-scrollbar-track',
            ]
        );
        $this->add_responsive_control('rd_TrackBRs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>[ 'px', '%' ],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-radio.tp-normal-scroll::-webkit-scrollbar-track'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',				
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'rd_TrackBsw',
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-radio.tp-normal-scroll::-webkit-scrollbar-track',
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('RdBox_hadding',
            [
                'label'=>__('Box Options','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
            ]
        );
        $this->add_responsive_control('RdBPad',
            [
                'label'=>__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-radio'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_responsive_control('RdBMar',
            [
                'label'=>__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-radio'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );

        $this->start_controls_tabs('RdBox_tab');
        $this->start_controls_tab('RdBox_Normal',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );  
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'RdBox_Nbg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-radio',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'RdBoxNsd',
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-radio',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'Rd_BoxN',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-radio',
            ]
        );
        $this->add_responsive_control('Rd_NBoxBrs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-radio'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('RdB_Hover',
            [
                'label' => esc_html__('Hover','theplus')
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'RdB_Hbg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-radio:hover',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'RdBHsd',
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-radio:hover',			
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'RdB_BoxH',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-radio:hover',
            ]
        );
        $this->add_responsive_control('RdB_HBoxBrs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-wp-radio:hover'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();
        $this->end_controls_section();
        /*Radio End*/

        /*Range start*/
        $this->start_controls_section('RangeSection',
            [
                'label'=>esc_html__('Range slider','theplus'),
                'tab'=>Controls_Manager::TAB_STYLE			
            ]
        );  
        $this->add_control('RangePadding',
            [
                'label'=>__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-range-silder'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_control('RangeMar',
            [
                'label'=>__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-range-silder'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_responsive_control('RangeWid',
            [
                'label'=>__('Width','theplus'),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>['px','%'],
                'range'=>[
                    'px'=>[
                        'min'=>1,
                        'max'=>500,
                        'step'=>5,
                    ],
                    '%'=>[
                        'min'=>1,
                        'max'=>500,
                    ],
                ],
                'default'=>[
                    'unit'=>'%',
                    'size'=>'',
                ],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-range-silder .tp-range'=>'width:{{SIZE}}{{UNIT}};',
                ],
            ]
        );
        $this->start_controls_tabs('Rangeatab');
        $this->start_controls_tab('Rangeatab_Normal',
            [
                'label' => esc_html__('Normal','theplus')
            ]
        );  
        $this->add_control('RangeLineNCr',
            [
                'label'=>__('Line Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-range-silder .noUi-connects'=>'background:{{VALUE}}',
                ]
            ]
        );
        $this->add_control('RangeAcLineNCr',
            [
                'label'=>__('Active Line Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-range-silder .noUi-connect'=>'background:{{VALUE}}',
                ]
            ]
        );
        $this->add_control('RangeBtnLineNCr',
            [
                'label'=>__('Button Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-range-silder .noUi-handle'=>'background:{{VALUE}}',
                ]
            ]
        );
        $this->add_responsive_control('RangeNBrs',
            [
                'label'=>__('Button Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-range-silder .noUi-handle'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('Rangeatab_Hover',
            [
                'label' => esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('RangeLineHCr',
            [
                'label'=>__('Line Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-range-silder:hover .noUi-connects'=>'background:{{VALUE}}',
                ]
            ]
        );
        $this->add_control('RangeAcLineHCr',
            [
                'label'=>__('Active Line Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-range-silder:hover .noUi-connect'=>'background:{{VALUE}}',
                ]
            ]
        );
        $this->add_control('RangeBtnLineHCr',
            [
                'label'=>__('Button Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-range-silder:hover .noUi-handle'=>'background:{{VALUE}}',
                ]
            ]
        );
        $this->add_responsive_control('RangeHBrs',
            [
                'label'=>__('Button Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-range-silder:hover .noUi-handle'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('RangeTips_had',
            [
                'label'=>__('Tooltips Options','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
            ]
        );
        $this->add_control('RangeTpPad',
            [
                'label'=>__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-range-silder .noUi-tooltip'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_control('RangeTpMar',
            [
                'label'=>__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'separator'=>'after',
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-range-silder .noUi-tooltip'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_responsive_control('RangeTpWid',
            [
                'label'=>__('Position','theplus'),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>['px','%'],
                'range'=>[
                    'px'=>[
                        'min'=>-500,
                        'max'=>500,
                        'step'=>5,
                    ],
                    '%'=>[
                        'min'=>-300,
                        'max'=>300,
                    ],
                ],
                'default'=>[
                    'unit'=>'%',
                    'size'=>'',
                ],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-range-silder .noUi-tooltip'=>'bottom:{{SIZE}}{{UNIT}};',
                ],
            ]
        );
        $this->start_controls_tabs('RangeTptab');
        $this->start_controls_tab('RangeTptab_Normal',
            [
                'label' => esc_html__('Normal','theplus')
            ]
        ); 
        $this->add_control('RangeTpNCr',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-range-silder .noUi-tooltip'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'RangeNTPBg',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-range-silder .noUi-tooltip',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'RangeNTPB',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-range-silder .noUi-tooltip'
            ]
        );
        $this->add_responsive_control('RangeNTPBrs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>[ 'px', '%' ],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-range-silder .noUi-tooltip'=>'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'RangeNTpshadow',
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-range-silder .noUi-tooltip',			
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('RangeTptab_Hover',
            [
                'label' => esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('RangeTpHCr',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-range-silder:hover .noUi-tooltip'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'RangeHTPBg',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-range-silder:hover .noUi-tooltip',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'RangeHTPB',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-range-silder:hover .noUi-tooltip'
            ]
        );
        $this->add_responsive_control('RangeHTPBrs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>[ 'px', '%' ],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-range-silder:hover .noUi-tooltip'=>'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'RangeHTpshadow',
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-range-silder:hover .noUi-tooltip',			
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();
        $this->end_controls_section();
        /*Range End*/

		/*SearchInput start*/
		$this->start_controls_section('SearchInput_styling',
            [
                'label' => esc_html__('Search Input', 'theplus'),
                'tab' => Controls_Manager::TAB_STYLE,				
            ]
        ); 
        $this->add_responsive_control('SiPad',
            [
                'label'=>__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-search-wrap .tp-search-input'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_responsive_control('SiMar',
            [
                'label'=>__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'separator'=>'after',
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-search-wrap .tp-search-input'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Typography::get_type(),
			[
				'name'=>'SearchInputTypo',
				'label'=>esc_html__('Typography','theplus'),
				'scheme'=>Typography::TYPOGRAPHY_1,
				'selector'=>'{{WRAPPER}} .tp-search-wrap .tp-search-input',
			]
		);
        $this->start_controls_tabs('SI_tabs');
        $this->start_controls_tab('SI_Normal',
            [
                'label' => esc_html__('Normal','theplus')
            ]
        );  
        $this->add_control('textPlNCr',
            [
                'label'=>__('Placeholder Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-search-wrap .tp-search-input::placeholder'=>'color:{{VALUE}}',
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-search-wrap .tp-search-input:-ms-input-placeholder'=>'color:{{VALUE}}',
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-search-wrap .tp-search-input:-ms-input-placeholder'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->add_control('textNCr',
            [
                'label'=>__( 'Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-search-wrap .tp-search-input'=>'color: {{VALUE}}'
                ]
            ]
        );
        $this->add_control('iconNcolor',
            [
                'label'=>__('Icon Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-search-wrap .tp-search-icon'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'inbgType',
                'types'=>[ 'classic', 'gradient' ],
                'selector'=>'{{WRAPPER}} .tp-search-wrap .tp-search-input',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'inNBorder',
                'label'=>esc_html__( 'Border', 'theplus' ),
                'selector'=>'{{WRAPPER}} .tp-search-wrap .tp-search-input'
            ]
        );
        $this->add_responsive_control('inNBrs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-wrap .tp-search-input'=>'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'inNBshadow',
                'selector'=>'{{WRAPPER}} .tp-search-wrap .tp-search-input',			
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('SI_Focus',
            [
                'label' => esc_html__('Focus','theplus')
            ]
        );  
        $this->add_control('textPlHCr',
            [
                'label'=>__('Placeholder Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-search-wrap .tp-search-input:focus::placeholder'=>'color:{{VALUE}}',
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-search-wrap .tp-search-input:focus:-ms-input-placeholder'=>'color:{{VALUE}}',
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-search-wrap .tp-search-input:focus:-ms-input-placeholder'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->add_control('intxtFcolor',
            [
                'label'=>__('Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-search-wrap .tp-search-input:focus'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->add_control('iconHFcolor',
            [
                'label'=>__('Icon Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-search-wrap .tp-search-input:focus + .tp-search-icon'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'inFbgType',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-search-input:focus',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'inFBorder',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-search-wrap .tp-search-input:focus'
            ]
        );
        $this->add_responsive_control('inhBrs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>[ 'px', '%' ],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-search-wrap .tp-search-input'=>'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'inFBshadow',
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-search-wrap .tp-search-input:focus',			
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('searchBox_hadding',
            [
                'label'=>__('Box Options','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
            ]
        );
        $this->add_responsive_control('searchBPad',
            [
                'label'=>__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-search-wrap'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_responsive_control('searchBMar',
            [
                'label'=>__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-search-wrap'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );

        $this->start_controls_tabs('searchBox_tab');
        $this->start_controls_tab('searchBox_Normal',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );  
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'search_Nbg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-search-wrap',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'searchBNsd',
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-search-wrap',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'search_BoxN',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-search-wrap',
            ]
        );
        $this->add_responsive_control('search_NBoxBrs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-search-wrap'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('searchBox_Hover',
            [
                'label' => esc_html__('Hover','theplus')
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'search_Hbg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-search-wrap:hover',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'searchHsd',
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-search-wrap:hover',			
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'search_BoxH',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-search-wrap:hover',
            ]
        );
        $this->add_responsive_control('search_HBoxBrs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-search-wrap:hover'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();
		$this->end_controls_section();
		/*SearchInput end*/

        /*Tabs Button start*/
        $this->start_controls_section('TabsSection',
            [
                'label'=>esc_html__('Tab Button','theplus'),
                'tab'=>Controls_Manager::TAB_STYLE,
            ]
        );      
        $this->add_responsive_control('TabInpadding',
            [
                'label'=>__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing .tp-tabbing-wrapper'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_responsive_control('TabInmargin',
            [
                'label'=>__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'separator'=>'after',
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing .tp-tabbing-wrapper'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Typography::get_type(),
            [
                'name'=>'TabTypo',
                'label'=>esc_html__('Typography','theplus'),
                'scheme'=>Typography::TYPOGRAPHY_1,
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper',
            ]
        );
		$this->add_responsive_control('TabSvgIconTypo',
            [
                'label'=>__( 'Svg Icon Size', 'theplus' ),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>[ 'px'],
                'range'=>[
                    'px'=>[
                        'min' => 1,
                        'max' => 150,
                        'step' => 1,
                    ],
                ],
                'default'=>[
                    'unit'=>'px',
                    'size'=>'20',
                ],
                'selectors' => [
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper svg'=>'width:{{SIZE}}{{UNIT}}; height:{{SIZE}}{{UNIT}};',
                ],
            ]
        );
        $this->start_controls_tabs('tabControl');
        $this->start_controls_tab('tab_Normal',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );  
        $this->add_control('TabNColor',
            [
                'label'=>__('Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper'=>'color:{{VALUE}}',
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper svg'=>'fill:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control( Group_Control_Background::get_type(),
            [
                'name'=>'TabNBg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper',
            ]
        );
        $this->add_group_control( Group_Control_Border::get_type(),
            [
                'name'=>'TabNborder',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper',
            ]
        );
        $this->add_responsive_control('TabNbrs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_control('CounterNTabhadding',
            [
                'label'=>__('Counter Options','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
            ]
        );
        $this->add_control('TabshowColor',
            [
                'label'=>__('Count Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper .tp-tabbing-counter'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->add_control('TabshowBgColor',
            [
                'label'=>__('Count Background Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper .tp-tabbing-counter'=>'Background:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control( Group_Control_Background::get_type(),
            [
                'name'=>'CounterNBg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper .tp-tabbing-counter',
            ]
        );
        $this->add_group_control( Group_Control_Border::get_type(),
            [
                'name'=>'CounterNborder',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper .tp-tabbing-counter',
            ]
        );
        $this->add_responsive_control('CounterNbrs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper .tp-tabbing-counter'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('tab_Hover',
            [
                'label'=>esc_html__('Hover','theplus')
            ]
        ); 
        $this->add_control('TabHColor',
            [
                'label'=>__('Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper:hover'=>'color:{{VALUE}}',
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper:hover svg'=>'fill:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'TabHBg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper:hover',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'TabHborder',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper:hover',
            ]
        );
        $this->add_responsive_control('TabHbrs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper:hover'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_control('CounterHTabhadding',
            [
                'label'=>__('Counter Options','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
            ]
        );
        $this->add_control('counterHColor',
            [
                'label'=>__('Count Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper:hover .tp-tabbing-counter'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->add_control('counterHBgColor',
            [
                'label'=>__('Count Background Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper:hover .tp-tabbing-counter'=>'Background:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'counterHBg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper:hover .tp-tabbing-counter',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'counterHborder',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper:hover .tp-tabbing-counter',
            ]
        );
        $this->add_responsive_control('CounterHbrs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper:hover .tp-tabbing-counter'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('tab_Active',
            [
                'label' => esc_html__('Active','theplus')
            ]
        );
        $this->add_control('TabAshowColor',
            [
                'label'=>__('Count Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper.active .tp-tabbing-counter'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->add_control('TabAshowBgColor',
            [
                'label'=>__('Count Background Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper.active .tp-tabbing-counter'=>'Background:{{VALUE}}',
                ]
            ]
        );
        $this->add_control('TabAColor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper.active'=>'color:{{VALUE}}',
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper.active svg'=>'fill:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'TabABg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper.active',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'TabAborder',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper.active',
            ]
        );
        $this->add_responsive_control('TabAbrs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper.active'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('TabImage_Heading',
            [
                'label'=>__('Image','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
            ]
        );
        $this->add_control('TabimageWidth',
            [
                'label'=>__('Width','theplus'),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>['px','%'],
                'range'=>[
                    'px'=>[
                        'min'=>0,
                        'max'=>1000,
                        'step'=>5,
                    ],
                    '%'=>[
                        'min'=>0,
                        'max'=>100,
                    ],
                ],
                'default'=>[
                    'unit'=>'px',
                    'size'=>'',
                ],
                'selectors' => [
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-tabbing .tp-dy-tabbing-thumbimg'=>'width:{{SIZE}}{{UNIT}};',
                ],
            ]
        );
        $this->add_responsive_control('TabOffsetsH',
            [
                'label'=>esc_html__('Image Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-tabbing .tp-dy-tabbing-thumbimg'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->start_controls_tabs('Tabimg_tabs');
        $this->start_controls_tab('Tabimg_Normal',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'Tabimg_Nb',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-tabbing .tp-dy-tabbing-thumbimg',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'Tabimg_Nbsd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-tabbing .tp-dy-tabbing-thumbimg',
            ]
        );
        $this->add_responsive_control('TabbrsN',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-tabbing .tp-dy-tabbing-thumbimg'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('Tabimg_Focus',
            [
                'label'=>esc_html__('Hover','theplus')
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'Tabimg_Hb',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-tabbing:hover .tp-dy-tabbing-thumbimg',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'Tabimg_Hbsd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-tabbing:hover .tp-dy-tabbing-thumbimg',
            ]
        );
        $this->add_responsive_control('TabbrsH',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-tabbing:hover .tp-dy-tabbing-thumbimg'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        /*Tick Scroll Bar*/
        $this->add_control('TabTick_Heading',
            [
                'label'=>__('Tick Icon','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
            ]
        );
        $this->start_controls_tabs('Tab_Tick_style');
        $this->start_controls_tab('Tab_Tick_Bar',
            [
                'label'=>esc_html__('Normal','theplus'),
            ]
        );
        $this->add_control('TickNColor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper .tp-tick-contener'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('Tab_Tick_Tmb',
            [
                'label' => esc_html__('Hover','theplus'),
            ]
        );
        $this->add_control('TickHColor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper:hover .tp-tick-contener'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        /*Tab Scroll Bar*/
        $this->add_control('Tab_showmore_Heading',
            [
                'label'=>__('Scroll Bar','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
            ]
        );
        $this->start_controls_tabs('Tab_scrollC_style');
        $this->start_controls_tab('Tab_scrollC_Bar',
            [
                'label'=>esc_html__('Scrollbar','theplus'),
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'Tab_ScrollBg',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-tabbing.tp-normal-scroll::-webkit-scrollbar',
            ]
        );
        $this->add_responsive_control('Tab_ScrollWidth',
            [
                'type'=>Controls_Manager::SLIDER,
                'label'=>esc_html__('Width','theplus'),
                'size_units'=>['px'],
                'range'=>[
                    'px'=>[
                        'min' => 1,
                        'max' => 100,
                        'step' => 1,
                    ],
                ],
                'render_type'=>'ui',
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-tabbing.tp-normal-scroll::-webkit-scrollbar'=>'width:{{SIZE}}{{UNIT}};',
                ],
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('Tab_scrollC_Tmb',
            [
                'label' => esc_html__('Thumb','theplus'),
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'Tab_ThumbBg',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-tabbing.tp-normal-scroll::-webkit-scrollbar-thumb',
            ]
        );
        $this->add_responsive_control('Tab_ThumbBrs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=> [
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-tabbing.tp-normal-scroll'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',				
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'Tab_ThumbBsw',
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-tabbing.tp-normal-scroll',			
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('Tab_scrollC_Trk',
            [
                'label'=>esc_html__('Track','theplus'),
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'Tab_TrackBg',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-tabbing.tp-normal-scroll::-webkit-scrollbar-track',
            ]
        );
        $this->add_responsive_control('Tab_TrackBRs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>[ 'px', '%' ],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-tabbing.tp-normal-scroll::-webkit-scrollbar-track'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',				
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'Tab_TrackBsw',
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .field-col .tp-tabbing.tp-normal-scroll::-webkit-scrollbar-track',
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('BoxTabhadding',
            [
                'label'=>__('Box Options','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before',
            ]
        );
        $this->add_group_control(Group_Control_Typography::get_type(),
            [
                'name'=>'TabCounterTypo',
                'label'=>esc_html__('Typography','theplus'),
                'scheme'=>Typography::TYPOGRAPHY_1,
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing-wrapper .tp-tabbing-counter',
            ]
        );
        $this->add_responsive_control('Tabpadding',
            [
                'label'=>__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_responsive_control('Tabmargin',
            [
                'label'=>__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'TabBoxBg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient',],
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'TabBoxB',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing',
            ]
        );
        $this->add_responsive_control('TabBoxBrs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-tabbing'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        ); 
        $this->end_controls_section();
        /*Tab Button End*/

        /*Button Field Start*/
		$this->start_controls_section('ButtonField_styling',
            [
                'label'=>esc_html__('Woo Button Field','theplus'),
                'tab'=>Controls_Manager::TAB_STYLE,				
            ]
        );
        $this->add_responsive_control('BtnPad',
            [
                'label'=>esc_html__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-buttonBox .tp-color-opt'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_responsive_control('Btnmar',
            [
                'label'=>esc_html__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'separator'=>'after',
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-buttonBox .tp-color-opt'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_responsive_control('butnSize',
            [
                'label'=>__('Size','theplus'),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>[ 'px', '%' ],
                'range'=>[
                    'px'=>[
                        'min'=>1,
                        'max'=>100,
                        'step'=>5,
                    ],
                    '%'=>[
                        'min'=>1,
                        'max'=>100,
                    ],
                ],
                'default'=>[
                    'unit'=>'px',
                    'size'=>'',
                ],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-buttonBox .tp-color-opt'=>'width:{{SIZE}}{{UNIT}}; height:{{SIZE}}{{UNIT}}; line-height:{{SIZE}}{{UNIT}};',
                ],
            ]
        );
        $this->start_controls_tabs('Button_tabs');
        $this->start_controls_tab('ButtonB_Normal',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'butnBor',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-buttonBox .tp-color-opt'
            ]
        );
        $this->add_responsive_control('butnNBradius',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>['px','%'],
                'range'=>[
                    'px'=>[
                        'min'=>1,
                        'max'=>100,
                        'step'=>5,
                    ],
                    '%'=>[
                        'min'=>1,
                        'max'=>100,
                    ],
                ],
                'default'=>[
                    'unit'=>'px',
                    'size'=>'',
                ],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-buttonBox .tp-color-opt'=>'border-radius:{{SIZE}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'btnNSw',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-buttonBox .tp-color-opt',
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('ButtonB_Checked',
            [
                'label' => esc_html__('Checked','theplus')
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'btnBorchebor',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-buttonBox input[type=radio]:checked+label .tp-color-opt'
            ]
        );
        $this->add_responsive_control('butnHBradius',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>['px','%'],
                'range'=>[
                    'px'=>[
                        'min'=>1,
                        'max'=>100,
                        'step'=>5,
                    ],
                    '%'=>[
                        'min'=>1,
                        'max'=>100,
                    ],
                ],
                'default'=>[
                    'unit'=>'px',
                    'size'=>'',
                ],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-buttonBox input[type=radio]:checked+label .tp-color-opt'=>'border-radius:{{SIZE}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'btnHSw',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-buttonBox input[type=radio]:checked+label .tp-color-opt',
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();
        $this->end_controls_section();
        /*Button Field Start*/

        /*Color Field Start*/
		$this->start_controls_section('ColorField_styling',
            [
                'label'=>esc_html__('Woo Color Field','theplus'),
                'tab'=>Controls_Manager::TAB_STYLE,				
            ]
        );
        $this->add_responsive_control('colorPad',
            [
                'label'=>esc_html__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-woo-color'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_responsive_control('colorMar',
            [
                'label'=>esc_html__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'separator'=>'after',
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-woo-color'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_responsive_control('colorSize',
			[
				'label'=>__('Size','theplus'),
				'type'=>Controls_Manager::SLIDER,
				'size_units'=>[ 'px', '%' ],
				'range'=>[
					'px'=>[
						'min'=>1,
						'max'=>100,
						'step'=>5,
					],
					'%'=>[
						'min'=>1,
						'max'=>100,
					],
				],
				'default'=>[
					'unit'=>'px',
					'size'=>'',
				],
				'selectors'=>[
					'{{WRAPPER}} .tp-toggle-div .tp-colorBox .tp-color-opt'=>'width:{{SIZE}}{{UNIT}}; height:{{SIZE}}{{UNIT}};',
				],
			]
		);
        $this->start_controls_tabs('Color_tabs');
        $this->start_controls_tab('ColorB_Normal',
            [
                'label'=>esc_html__('Hover','theplus')
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'colorBor',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-toggle-div .tp-colorBox span.tp-color-opt'
            ]
        );
        $this->add_responsive_control('colorNBradius',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-colorBox span.tp-color-opt'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('ColorB_Checked',
            [
                'label' => esc_html__('Checked','theplus')
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'Colorchebor',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-toggle-div .tp-colorBox input[type=checkbox]:checked+label span.tp-color-opt'
            ]
        );
        $this->add_responsive_control('colorHBradius',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-toggle-div .tp-colorBox input[type=checkbox]:checked+label span.tp-color-opt'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('BoxCr_Heading',
            [
                'label'=> __('Box Option','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before'
            ]
        );
        $this->add_responsive_control('wooCrBPad',
            [
                'label'=>esc_html__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-woo-color'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_responsive_control('wooCrBMar',
            [
                'label'=>esc_html__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-woo-color'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );    
        $this->add_group_control(Group_Control_Background::get_type(),
			[
				'name'=>'bCrBG',
				'label'=>__('Background','theplus'),
				'types'=>['classic','gradient','video'],
				'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-woo-color',
			]
		);
        $this->add_group_control(Group_Control_Border::get_type(),
			[
				'name'=>'bCrB',
				'label'=>__('Border','theplus'),
				'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-woo-color',
			]
		);
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
			[
				'name'=>'bCrbsd',
				'label'=>__('Box Shadow','theplus'),
				'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-woo-color',
			]
		);
        $this->end_controls_section();
        /*Color Field End*/

        /*Image Field Start*/
		$this->start_controls_section('ImageField_styling',
            [
                'label' => esc_html__('Woo Image Field','theplus'),
                'tab' => Controls_Manager::TAB_STYLE,				
            ]
        );
        $this->add_responsive_control('imgPadding',
			[
				'label'=>esc_html__('Padding','theplus'),
				'type'=>Controls_Manager::DIMENSIONS,
				'size_units'=>['px','%'],
				'selectors'=>[
					'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-imgBox'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
				],
			]
		);
        $this->add_responsive_control('imgmargin',
            [
                'label'=>esc_html__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-imgBox'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->start_controls_tabs('Image_tabs');
        $this->start_controls_tab('ImageB_Normal',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'imgBor',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-imgBox .woo-img-tag'
            ]
        );
        $this->add_responsive_control('imgNBradius',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-imgBox .woo-img-tag'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'ImageNSw',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-imgBox .woo-img-tag',
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('ImageB_Checked',
            [
                'label'=>esc_html__('Checked','theplus')
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'imgBorchebor',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-imgBox input[type=checkbox]:checked+label .woo-img-tag'
            ]
        );
        $this->add_responsive_control('imgHBradius',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-imgBox input[type=checkbox]:checked+label .woo-img-tag'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'ImageHSw',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-imgBox input[type=checkbox]:checked+label .woo-img-tag',
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();
            
        $this->add_control('BOxImg_Heading',
            [
                'label'=> __('Box Option','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before'
            ]
        );
        $this->add_responsive_control('wooimgBPad',
            [
                'label'=>esc_html__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-woo-image'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_responsive_control('wooimgBMar',
            [
                'label'=>esc_html__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-woo-image'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );    
        $this->add_group_control(Group_Control_Background::get_type(),
			[
				'name'=>'bImgBG',
				'label'=>__('Background','theplus'),
				'types'=>['classic','gradient','video'],
				'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-woo-image',
			]
		);
        $this->add_group_control(Group_Control_Border::get_type(),
			[
				'name'=>'bImgB',
				'label'=>__('Border','theplus'),
				'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-woo-image',
			]
		);
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
			[
				'name'=>'bImgbsd',
				'label'=>__('Box Shadow','theplus'),
				'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-woo-image',
			]
		);
        $this->end_controls_section();
        /*image Field Start*/

        /*Rating ⭐ Start*/
		$this->start_controls_section('Ratingsection',
            [
                'label' => esc_html__('Woo Rating','theplus'),
                'tab' => Controls_Manager::TAB_STYLE,				
            ]
        );
        $this->add_responsive_control('starPad',
            [
                'label'=>esc_html__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-star-rating .tp-start-icon'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_responsive_control('starMar',
            [
                'label'=>esc_html__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-star-rating .tp-start-icon'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->start_controls_tabs('Startabs');
        $this->start_controls_tab('StarNormal',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );
        $this->add_control('StarNCr',
            [
                'label'=>__('Star Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    // '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-star-rating .tp-start-icon'=>'color:{{VALUE}}',
                    '{{WRAPPER}} .tp-search-filter .tp-star-rating label'=>'color:{{VALUE}}',
                    '{{WRAPPER}} .tp-search-filter .tp-star-rating label~label'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->add_control('StarNBgCr',
            [
                'label'=>__('Star Background Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-star-rating .tp-start-icon'=>'Background:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'StarNB',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-star-rating .tp-start-icon'
            ]
        );
        $this->add_responsive_control('StarNBRs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-star-rating .tp-start-icon'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'StarNBSd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-star-rating .tp-start-icon',
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('StarHover',
            [
                'label'=>esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('StarHCr',
            [
                'label'=>__('Star Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-star-rating label:hover'=>'color:{{VALUE}}',
                    '{{WRAPPER}} .tp-search-filter .tp-star-rating label:hover~label'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->add_control('StarHBgCr',
            [
                'label'=>__('Star Background Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-star-rating:hover .tp-start-icon'=>'Background:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'StarHB',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-star-rating:hover .tp-start-icon'
            ]
        );
        $this->add_responsive_control('StarHBRs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-star-rating:hover .tp-start-icon'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'StarHBSd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-star-rating:hover .tp-start-icon',
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();
        $this->add_control('RatingBoxHead',
            [
                'label'=>__('Box Option','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before'
            ]
        );
        $this->add_responsive_control('Ratingalign',
            [
                'label'=>__('Rating Alignment','theplus'),
                'type'=>Controls_Manager::CHOOSE,
                'options'=>[
                    'left' => [
                        'title'=>esc_html__( 'Left','theplus'),
                        'icon'=>'eicon-text-align-left',
                    ],
                    'center' => [
                        'title'=>esc_html__( 'Center','theplus'),
                        'icon'=>'eicon-text-align-center',
                    ],
                    'right' => [
                        'title'=>esc_html__('Right', 'theplus'),
                        'icon'=>'eicon-text-align-right',
                    ],
                ],
                'default'=>'center',
                'toggle'=>true,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-star-rating'=>'justify-content:{{VALUE}};',
                ],
            ]
        );
        $this->add_responsive_control('RatingPad',
            [
                'label'=>esc_html__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-star-rating'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_responsive_control('RatingMar',
            [
                'label'=>esc_html__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-star-rating'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->start_controls_tabs('Ratingtabs');
        $this->start_controls_tab('RatingNormal',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );  
        $this->add_control('RatingNBgCr',
            [
                'label'=>__('Star Background Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-star-rating'=>'Background:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'RatingNB',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-star-rating'
            ]
        );
        $this->add_responsive_control('RatingNBRs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-star-rating'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'RatingNBSd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-star-rating',
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('RatingHover',
            [
                'label'=>esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('RatinghBgCr',
            [
                'label'=>__('Star Background Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-star-rating:hover'=>'Background:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'RatingHB',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-star-rating:hover'
            ]
        );
        $this->add_responsive_control('RatingHBRs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-star-rating:hover'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'RatingHBSd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-star-rating:hover',
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();
        $this->end_controls_section();
        /* Rating End */

        /* Tooltip Field Start */
        $this->start_controls_section('TooltipField_styling',
            [
                'label'=>esc_html__('Woo Tooltip','theplus'),
                'tab'=>Controls_Manager::TAB_STYLE,				
            ]
        );  
        $this->add_responsive_control('ToolPad',
            [
                'label'=>esc_html__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-tooltip'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_responsive_control('ToolMar',
            [
                'label'=>esc_html__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'separator'=>'after',
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-tooltip'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_responsive_control('ToolPositon',
            [
                'label'=>__('Top Offset','theplus'),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>['px','%'],
                'range'=>[
                    'px'=>[
                        'min'=>1,
                        'max'=>100,
                        'step'=>5,
                    ],
                    '%'=>[
                        'min'=>1,
                        'max'=>100,
                    ],
                ],
                'default'=>[
                    'unit'=>'px',
                    'size'=>'',
                ],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-tooltip'=>'bottom:{{SIZE}}{{UNIT}};',
                ],
            ]
        );
        $this->add_control('ToolTxtCr',
            [
                'label'=>__('Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-tooltip'=>'color:{{VALUE}}',
                ]
            ]
        );
		$this->add_control('ToolArrowCr',
            [
                'label'=>__('Arrow Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-tooltip::after'=>'border-right-color:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'ToolBg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-tooltip',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'ToolB',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-tooltip'
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'ToolSd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-tooltip',
            ]
        );
        $this->end_controls_section();
        /* Tooltip Field End */

        /* Autocomplate Start */
        $this->start_controls_section('Autocomplate_styling',
            [
                'label'=>esc_html__('Autocomplete','theplus'),
                'tab'=>Controls_Manager::TAB_STYLE			
            ]
        );
        $this->add_responsive_control('acpadding',
            [
                'label'=>esc_html__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-autocomplete-wrap .tp-search-input-autocomplete'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->start_controls_tabs('actabs');
        $this->start_controls_tab('acnormal',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );
        $this->add_control('acNCr',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-autocomplete-wrap .tp-search-input-autocomplete'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->add_control('acNBgCr',
            [
                'label'=>__('Background Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-autocomplete-wrap .tp-search-input-autocomplete'=>'Background:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'acNB',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-autocomplete-wrap .tp-search-input-autocomplete'
            ]
        );
        $this->add_responsive_control('acNBRs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-autocomplete-wrap .tp-search-input-autocomplete'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'acNBSd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-autocomplete-wrap .tp-search-input-autocomplete',
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('achover',
            [
                'label'=>esc_html__('hover','theplus')
            ]
        );
        $this->add_control('achCr',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-autocomplete-wrap:hover .tp-search-input-autocomplete'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->add_control('achBgCr',
            [
                'label'=>__('Background Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-autocomplete-wrap:hover .tp-search-input-autocomplete'=>'Background:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'achB',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-autocomplete-wrap:hover .tp-search-input-autocomplete'
            ]
        );
        $this->add_responsive_control('achBRs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-autocomplete-wrap:hover .tp-search-input-autocomplete'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'achBSd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-autocomplete-wrap:hover .tp-search-input-autocomplete',
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('acbox_heading',
            [
                'label'=> __('Box Option','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before'
            ]
        );
        $this->add_responsive_control('acboxBPad',
            [
                'label'=>esc_html__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-autocomplete-wrap'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_responsive_control('acboxBMar',
            [
                'label'=>esc_html__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-autocomplete-wrap'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
			[
				'name'=>'acboxbBG',
				'label'=>__('Background','theplus'),
				'types'=>['classic','gradient','video'],
				'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-autocomplete-wrap',
			]
		);
        $this->add_group_control(Group_Control_Border::get_type(),
			[
				'name'=>'acboxbB',
				'label'=>__('Border','theplus'),
				'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-autocomplete-wrap',
			]
		);
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
			[
				'name'=>'acboxbsd',
				'label'=>__('Box Shadow','theplus'),
				'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-div .tp-autocomplete-wrap',
			]
		);
        $this->end_controls_section();
        /* Autocomplate End */

        /* Filter Tag start */
        $this->start_controls_section('FilterTag_styling',
            [
                'label'=>esc_html__('Filter Tag','theplus'),
                'tab'=>Controls_Manager::TAB_STYLE			
            ]
        ); 
        $this->add_responsive_control('tagPadding',
			[
				'label'=>esc_html__('Padding','theplus'),
				'type'=>Controls_Manager::DIMENSIONS,
				'size_units'=>['px','%'],
				'default'=>[
					'top'=>'',
					'right'=>'',
					'bottom'=>'',
					'left'=>'',
				],
				'selectors'=>[
					'{{WRAPPER}} .tp-search-filter .tp-filter-tag-wrap .tp-filter-container .tp-filter-tag'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
				]
			]
		);
        $this->add_responsive_control('tagMar',
			[
				'label'=>esc_html__('Margin','theplus'),
				'type'=>Controls_Manager::DIMENSIONS,
				'size_units'=>['px','%'],
                'separator'=>'after',
				'default'=>[
					'top'=>'',
					'right'=>'',
					'bottom'=>'',
					'left'=>'',
				],
				'selectors' => [
					'{{WRAPPER}} .tp-search-filter .tp-filter-tag-wrap .tp-filter-container .tp-filter-tag'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
				]
			]
		);
        $this->add_group_control(Group_Control_Typography::get_type(),
			[
                'name'=>'Fttexttypo',
				'label'=>__('Typography','theplus'),				
				'selector'=>'{{WRAPPER}} .tp-search-filter .tp-filter-tag-wrap .tp-filter-container .tp-filter-tag',
			]
		);
        $this->add_group_control(Group_Control_Typography::get_type(),
            [
                'name'=>'Fticonttypo',
                'label'=>__('Typography','theplus'),				
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-filter-tag-wrap .tp-filter-container .tp-tag-link',
            ]
        );  
        $this->start_controls_tabs('FilterTag_tabs');
        $this->start_controls_tab('FilterTag_Normal',
            [
                'label' => esc_html__('Normal','theplus')
            ]
        );
        $this->add_control('tagColor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-filter-tag-wrap .tp-filter-container .tp-filter-tag'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->add_control('iconColor',
            [
                'label'=>__('Icon Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-filter-tag-wrap .tp-filter-container .tp-tag-link i'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'tagBgtypr',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-filter-tag-wrap .tp-filter-tag',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'FtNb',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-filter-tag-wrap .tp-filter-tag',
            ]
        );
        $this->add_responsive_control('ftagNBBrs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'default'=>[
                    'top'=>'',
                    'right'=>'',
                    'bottom'=>'',
                    'left'=>'',
                ],
                'selectors' => [
                    '{{WRAPPER}} .tp-search-filter .tp-filter-tag-wrap .tp-filter-tag'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ]
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('FilterTag_Checked',
            [
                'label' => esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('tagHColor',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-filter-tag-wrap .tp-filter-container:hover .tp-filter-tag'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->add_control('iconHcolor',
            [
                'label'=>__('Icon Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-filter-tag-wrap .tp-filter-container:hover .tp-tag-link i'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'tagHbgType',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-filter-tag-wrap .tp-filter-tag:hover',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'FtHb',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-filter-tag-wrap .tp-filter-tag:hover',
            ]
        );
        $this->add_responsive_control('ftagHBBrs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'default'=>[
                    'top'=>'',
                    'right'=>'',
                    'bottom'=>'',
                    'left'=>'',
                ],
                'selectors' => [
                    '{{WRAPPER}} .tp-search-filter .tp-filter-tag-wrap .tp-filter-tag:hover'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ]
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();
        $this->end_controls_section();
        /* Filter Tag End */

        /* Filter Reset start */
        $this->start_controls_section('filterReset_section',
            [
                'label'=>__('Filter Reset Button','theplus'),
                'tab'=>Controls_Manager::TAB_STYLE,
            ]
        );  
        $this->add_responsive_control('FiterResetPad',
            [
                'label'=>__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-filter-meta span.tp-tag-reset'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_responsive_control('FiterResetmar',
            [
                'label'=>__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'separator'=>'after',
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-filter-meta span.tp-tag-reset'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Typography::get_type(),
            [
                'name'=>'filterResetTypo',
                'label'=>__('Typography','theplus'),				
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-filter-meta span.tp-tag-reset',
            ]
        );
        $this->start_controls_tabs('FRTab');
        $this->start_controls_tab('FRN',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );

        $this->add_control('FRnCR',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-filter-meta span.tp-tag-reset'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->add_control('FRiconNCR',
            [
                'label'=>__('Icon Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-filter-meta span.tp-tag-reset .tp-tag-link i'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'FRNBGCr',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-filter-meta span.tp-tag-reset',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'FRNB',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-filter-meta span.tp-tag-reset',
            ]
        );
        $this->add_responsive_control('FRNBrs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'default'=>[
                    'top'=>'',
                    'right'=>'',
                    'bottom'=>'',
                    'left'=>'',
                ],
                'selectors' => [
                    '{{WRAPPER}} .tp-search-filter .tp-filter-meta span.tp-tag-reset'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ]
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'FRNSd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-filter-meta span.tp-tag-reset',
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('FRH',
            [
                'label'=>esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('FRiconHCR',
            [
                'label'=>__('Icon Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-filter-meta span.tp-tag-reset:hover .tp-tag-link i'=>'color:{{VALUE}}'
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'FRHBGCr',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-filter-meta span.tp-tag-reset:hover',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'FRHB',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-filter-meta span.tp-tag-reset:hover',
            ]
        );
        $this->add_responsive_control('FRHBrs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'default'=>[
                    'top'=>'',
                    'right'=>'',
                    'bottom'=>'',
                    'left'=>'',
                ],
                'selectors' => [
                    '{{WRAPPER}} .tp-search-filter .tp-filter-meta span.tp-tag-reset:hover'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ]
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'FRHSd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-filter-meta span.tp-tag-reset:hover',
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();
        $this->end_controls_section();
        /* Filter Reset End */

        /* Filter TotalResult End */
        $this->start_controls_section('totalresult_section',
            [
                'label'=>__('Total Result (Filter Meta)','theplus'),
                'tab'=>Controls_Manager::TAB_STYLE,
            ]
        );
        $this->add_control('Totalalign',
			[
				'label'=>esc_html__('Text Alignment','theplus'),
				'type'=>Controls_Manager::CHOOSE,
				'options'=>[
					'flex-start'=>[
						'title'=>esc_html__('Left','theplus'),
						'icon'=>'fa fa-align-left',
					],
					'center'=>[
						'title'=>esc_html__( 'Center','theplus'),
						'icon'=>'fa fa-align-center',
					],
					'flex-end'=>[
						'title'=>esc_html__('Right','theplus'),
						'icon'=>'fa fa-align-right',
					],
				],
				'default'=>'left',
				'toggle'=>false,
				'selectors'=>[
					'{{WRAPPER}} .tp-search-filter .tp-search-form .tp-total-results-wrap'=>'justify-content:{{VALUE}}'
				]
			]
		);
        $this->add_responsive_control('TRtxtPad',
            [
                'label'=>__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-total-results-wrap'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_responsive_control('TRtxtmar',
            [
                'label'=>__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'separator'=>'after',
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-total-results-wrap'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Typography::get_type(),
            [
                'name'=>'TRtxttypo',
                'label'=>__('Typography','theplus'),
                'scheme'=>Typography::TYPOGRAPHY_1,
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-total-results-wrap',
            ]
        );
        $this->start_controls_tabs('TRTab');
        $this->start_controls_tab('TRN',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );  
        $this->add_control('TRNCR',
            [
                'label'=>__('Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-total-results-wrap .tp-total-results-txt'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'TRNBg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-total-results-wrap',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'TRB',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-total-results-wrap',
            ]
        );
        $this->add_responsive_control('TRNBRs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'], 
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-total-results-wrap'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'TRNBrsd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-total-results-wrap',
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('TRH',
            [
                'label'=>esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('TRHCR',
            [
                'label'=>__('Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-total-results-wrap:hover .tp-total-results-txt'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'TRHBg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-total-results-wrap:hover',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'TRHB',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-total-results-wrap:hover',
            ]
        );
        $this->add_responsive_control('TRHBrs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'], 
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-total-results-wrap'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'TRHBrSd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-total-results-wrap',
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();
        $this->end_controls_section();
        /* Filter TotalResult End */

        /* Filter Column start */
        $this->start_controls_section('ColumnFilterStyle',
            [
                'label'=>esc_html__('Column Filter (Filter Meta)','theplus'),
                'tab'=>Controls_Manager::TAB_STYLE			
            ]
        ); 
        $this->add_control('Cl_padding',
            [
                'label'=>__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-column-result-wrap .tp-column-label'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_control('Cl_margin',
            [
                'label'=>__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'separator'=>'after',
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-column-result-wrap .tp-column-label'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Typography::get_type(),
            [
                'name'=>'Cl_Typo',
                'label'=>esc_html__('Typography','theplus'),
                'scheme'=>Typography::TYPOGRAPHY_1,
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-column-result-wrap .tp-column-label',
            ]
        );
        $this->start_controls_tabs('Cl_Tab');
        $this->start_controls_tab('Cl_Normal',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );
        $this->add_control('Cl_Ncr',
            [
                'label'=>__('Icon Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-column-result-wrap .tp-column-label svg'=>'fill:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'Cl_NBg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-column-result-wrap .tp-column-label svg',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'Cl_NB',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-column-result-wrap .tp-column-label svg',
            ]
        );
        $this->add_responsive_control('Cl_NBrs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'], 
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-column-result-wrap .tp-column-label svg'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'Cl_NBsd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-column-result-wrap .tp-column-label svg',
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('Cl_Hover',
            [
                'label'=>esc_html__('Hover','theplus')
            ]
        ); 
        $this->add_control('Cl_Hcr',
            [
                'label'=>__('Icon Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-column-result-wrap .tp-column-label:hover svg'=>'fill:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'Cl_HBg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-column-result-wrap .tp-column-label:hover svg',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'Cl_HB',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-column-result-wrap .tp-column-label:hover svg',
            ]
        );
        $this->add_responsive_control('Cl_HBrs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'], 
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-column-result-wrap .tp-column-label:hover svg'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'Cl_HBsd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-column-result-wrap .tp-column-label:hover svg',
            ]
        );

        $this->end_controls_tab();
        $this->start_controls_tab('Cl_Active',
            [
                'label'=>esc_html__('Active','theplus')
            ]
        ); 
        $this->add_control('Cl_Acr',
            [
                'label'=>__('Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-column-result-wrap .tp-column-label.active svg'=>'fill:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'Cl_ABg',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-column-result-wrap .tp-column-label.active svg',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'Cl_AB',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-column-result-wrap .tp-column-label.active svg',
            ]
        );
        $this->add_responsive_control('Cl_ABrs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'], 
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-column-result-wrap .tp-column-label.active svg'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'Cl_ABsd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-column-result-wrap .tp-column-label.active svg',
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('Cl_Heading',
            [
                'label'=> __('Box Option','theplus'),
                'type'=>Controls_Manager::HEADING,
                'separator'=>'before'
            ]
        );
        $this->add_responsive_control('cl_BPad',
            [
                'label'=>esc_html__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-column-result-wrap'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );
        $this->add_responsive_control('cl_BMAr',
            [
                'label'=>esc_html__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-column-result-wrap'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
                ],
            ]
        );    
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'cl_BG',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient','video'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-column-result-wrap',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'cl_BB',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-column-result-wrap',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'cl_Bsd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-column-result-wrap',
            ]
        );
        $this->end_controls_section();
        /* Filter Column end */

        /* Showmore start */
        $this->start_controls_section('ShowmoreSection',
            [
                'label'=>esc_html__('Showmore / Showless','theplus'),
                'tab'=>Controls_Manager::TAB_STYLE			
            ]
        ); 
        $this->add_control('showmorealign',
            [
                'label'=>esc_html__('ShowMore Alignment','theplus'),
                'type'=>Controls_Manager::CHOOSE,
                'options'=>[
                    'flex-start'=> [
						'title' => esc_html__( 'Left', 'theplus' ),
						'icon'  => 'eicon-text-align-left',
					],
					'center' => [
						'title' => esc_html__( 'Center', 'theplus' ),
						'icon'  => 'eicon-text-align-center',
					],
					'flex-end' => [
						'title' => esc_html__( 'Right', 'theplus' ),
						'icon'  => 'eicon-text-align-right',
					],
                ],
                'default'=>'flex-start',
                'toggle'=>false,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .tp-tabbing-redmore'=>'justify-content:{{VALUE}}'
                ]
            ]
        );
        $this->add_control('ShowPadding',
            [
                'label'=>__('More Text Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-filter-readmore'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_control('ShowMargin',
            [
                'label'=>__('More Text Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'separator'=>'after',
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-filter-readmore'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Typography::get_type(),
            [
                'name'=>'MoreTypo',
                'label'=>esc_html__('Typography','theplus'),
                'scheme'=>Typography::TYPOGRAPHY_1,
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-filter-readmore',
            ]
        );
        $this->start_controls_tabs('BasicTab');
        $this->start_controls_tab('BasicNormal',
            [
                'label' => esc_html__('Normal','theplus')
            ]
        );
        $this->add_control('ShowMANCr',
            [
                'label'=>__('ShowMore Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-filter-readmore.ShowMore'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->add_control('ShowlNCr',
            [
                'label'=>__('ShowLess Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-filter-readmore.Showless'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'showNBg',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-filter-readmore',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'showNB',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-filter-readmore'
            ]
        );
        $this->add_responsive_control('showNBrs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>[ 'px', '%' ],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-filter-readmore'=>'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'showNsd',
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-filter-readmore',			
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab( 'BasicHover',
            [
                'label' => esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('ShowMAHCr',
            [
                'label'=>__('ShowMore Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-filter-readmore.ShowMore:hover'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->add_control('ShowlHCr',
            [
                'label'=>__('ShowLess Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-filter-readmore.Showless:hover'=>'color:{{VALUE}}',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'showHBg',
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-filter-readmore:hover',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'showHB',
                'label'=>esc_html__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-filter-readmore:hover'
            ]
        );
        $this->add_responsive_control('showHBrs',
            [
                'label'=>esc_html__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>[ 'px', '%' ],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .field-col .tp-filter-readmore:hover'=>'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'showHsd',
                'selector'=>'{{WRAPPER}} .tp-search-filter .field-col .tp-filter-readmore:hover',			
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();
        $this->end_controls_section();
        /*Showmore End*/

        /*Filter button start*/
        $this->start_controls_section('FilterBtnsection',
            [
                'label'=>esc_html__('Filter Toggle Button','theplus'),
                'tab'=>Controls_Manager::TAB_STYLE,
                'condition'=>[
                    'FilterBtn'=>'yes',
                ],
            ]
        );
        $this->add_control('BtnColumnSetting',
			[
				'label'=>__('Columns option','theplus'),
				'type'=>Controls_Manager::POPOVER_TOGGLE,
				'label_off'=>__('Default','theplus'),
				'label_on'=>__('Custom','theplus'),
				'return_value'=>'yes',
				'default'=>''
			]
		);
        $this->start_popover();
        $this->add_control('EnableBtnColumn',
			[
				'label'=>__('Enable','theplus'),
				'type'=>Controls_Manager::SWITCHER,
				'label_on'=>__('Show','theplus'),
				'label_off'=>__('Hide','theplus'),
				'return_value'=>'yes',
				'default'=>'',
			]
		);
		$this->add_control('BtnDesktop',
			[
				'label' => esc_html__( 'Desktop', 'theplus' ),
				'type' => Controls_Manager::SELECT,
				'default' => 3,
				'options' => theplus_get_columns_list(),
                'condition'=>[
                    'EnableBtnColumn'=>'yes',
                ],
			]
		);
		$this->add_control('BtnTablet',
			[
				'label'=>esc_html__('Tablet','theplus'),
				'type'=>Controls_Manager::SELECT,
				'default'=>3,
				'options'=>theplus_get_columns_list(),
                'condition'=>[
                    'EnableBtnColumn'=>'yes',
                ],
			]
		);
		$this->add_control('BtnMobile',
			[
				'label'=>esc_html__('Mobile','theplus'),
				'type'=>Controls_Manager::SELECT,
				'default'=>3,
				'options'=>theplus_get_columns_list(),
                'condition'=>[
                    'EnableBtnColumn'=>'yes',
                ],
			]
		);
		$this->end_popover();

        $this->add_control('TogBtnalign',
            [
                'label'=>esc_html__('Button Alignment','theplus'),
                'type'=>Controls_Manager::CHOOSE,
                'options'=>[
                    'left'=>[
                        'title'=>esc_html__('Left','theplus'),
                        'icon'=>'fa fa-align-left',
                    ],
                    'center'=>[
                        'title'=>esc_html__( 'Center','theplus'),
                        'icon'=>'fa fa-align-center',
                    ],
                    'right'=>[
                        'title'=>esc_html__('Right','theplus'),
                        'icon'=>'fa fa-align-right',
                    ],
                ],
                'default'=>'right',
                'toggle'=>false,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-button-filter'=>'justify-content:{{VALUE}}'
                ],
                'condition'=>[
                    'FilterBtn'=>'yes',
                ],
            ]
        );
        $this->add_control('TogBtnalignRela',
			[
				'label'=>esc_html__('Button Alignment','theplus'),
				'type'=>Controls_Manager::CHOOSE,
				'options'=>[
					'start'=>[
						'title'=>esc_html__( 'Top', 'theplus' ),
						'icon'=>'fa fa-chevron-up',
					],
					'center'=>[
						'title'=>esc_html__( 'Center', 'theplus' ),
						'icon'=>'eicon-text-align-center',
					],
					'end'=>[
						'title'=>esc_html__( 'Bottom', 'theplus' ),
						'icon'=>'fa fa-chevron-down',
					],								
				],
				'selectors'=>[
					'{{WRAPPER}} .tp-search-filter .tp-button-filter'=>'align-items:{{VALUE}};',					
				],
				'condition'=>[
                    'FilterBtn'=>'yes',
                ],
				'toggle'=>true,
			]
		);
        $this->add_responsive_control('FBtnPad',
            [
                'label'=>__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-button'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
                'condition' => [
                    'FilterBtn'=>'yes',
                ],
            ]
        );
        $this->add_responsive_control('FBtnmar',
            [
                'label'=>__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'separator'=>'after',
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-button'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
                'condition' => [
                    'FilterBtn'=>'yes',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Typography::get_type(),
            [
                'name'=>'FBtntxt',
                'label'=>__('Typography','theplus'),
                'scheme'=>Typography::TYPOGRAPHY_1,
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-button .tp-button-text',
                'condition'=>[
                    'FilterBtn'=>'yes',
                ]
            ]
        );
        $this->add_responsive_control('TogIconsize',
            [
                'label'=>__('Icon or Image Size','theplus'),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>['px','%'],
                'range'=>[
                    'px'=>[
                        'min'=>0,
                        'max'=>1000,
                        'step'=>5,
                    ],
                    '%'=>[
                        'min'=>0,
                        'max'=>100,
                    ],
                ],
                'default'=>[
                    'unit'=>'px',
                    'size'=>'',
                ],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-button .tp-button-icon'=>'font-size:{{SIZE}}{{UNIT}};',
					'{{WRAPPER}} .tp-search-filter .tp-toggle-button .tp-button-icon svg'=>'width:{{SIZE}}{{UNIT}};height:{{SIZE}}{{UNIT}};',
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-button .tp-button-ImageTag'=>'width:{{SIZE}}{{UNIT}};',
                ],
                'condition'=>[
                    'FilterBtn'=>'yes',
                ]
            ]
        );
        $this->start_controls_tabs('FilterBtnTab');
        $this->start_controls_tab('ToggleBtnN',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );  
        $this->add_control('FbtextNCr',
            [
                'label'=>__('Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-button .tp-button-text'=>'color:{{VALUE}}',
                ],
                'condition' => [
                    'FilterBtn'=>'yes',
                ]
            ]
        );
        $this->add_control('FbIconNCr',
            [
                'label'=>__('Icon Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-button .tp-button-icon'=>'color:{{VALUE}}',
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-button .tp-button-icon svg'=>'fill:{{VALUE}}',
                ],
                'condition' => [
                    'FilterBtn'=>'yes',
                    'ToggleMedia'=>'icon'
                ],
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'TogNBG',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-button',
                'condition' => [
                    'FilterBtn'=>'yes',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'TogNBorder',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-button',
                'condition' => [
                    'FilterBtn'=>'yes',
                ]
            ]
        );
        $this->add_responsive_control('TogNBRs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'], 
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-button-filter .tp-toggle-button'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
                'condition' => [
                    'FilterBtn'=>'yes',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'TogNshadow',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-button',
                'condition' => [
                    'FilterBtn'=>'yes',
                ]
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('ToggleBtnH',
            [
                'label'=>esc_html__('Hover','theplus'),
            ]
        );
        $this->add_control('FbtextHCr',
            [
                'label'=>__('Text Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-button:hover .tp-button-text'=>'color:{{VALUE}}',
                ],
                'condition' => [
                    'FilterBtn'=>'yes',
                ]
            ]
        );
        $this->add_control('FbIconHCr',
            [
                'label'=>__('Icon Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-button:hover .tp-button-icon'=>'color:{{VALUE}}',
                    '{{WRAPPER}} .tp-search-filter .tp-toggle-button:hover .tp-button-icon svg'=>'fill:{{VALUE}}',
                ],
                'condition' => [
                    'FilterBtn'=>'yes',
                    'ToggleMedia'=>'icon'
                ],
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'TogHBG',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-button:hover',
                'condition' => [
                    'FilterBtn'=>'yes',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'TogHBorder',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-button:hover',
                'condition' => [
                    'FilterBtn'=>'yes',
                ]
            ]
        );
        $this->add_responsive_control('TogHBRs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'], 
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-button-filter .tp-toggle-button:hover'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
                'condition' => [
                    'FilterBtn'=>'yes',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'TogHshadow',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-toggle-button:hover',
                'condition' => [
                    'FilterBtn'=>'yes',
                ]
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();
        $this->add_responsive_control('TogMPadd',
            [
                'label'=>__('Media Padding','theplus'),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>['px','%'],
                'range'=>[
                    'px'=>[
                        'min'=>0,
                        'max'=>1000,
                        'step'=>5,
                    ],
                    '%'=>[
                        'min'=>0,
                        'max'=>100,
                    ],
                ],
                'default'=>[
                    'unit'=>'px',
                    'size'=>'',
                ],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-button-filter .tp-toggle-button.start .tp-button-text'=>'padding-left:{{SIZE}}{{UNIT}};',
                    '{{WRAPPER}} .tp-search-filter .tp-button-filter .tp-toggle-button.end .tp-button-text'=>'padding-right:{{SIZE}}{{UNIT}};',
                ],
            ]
        );
        $this->end_controls_section();
        /*Filter Button End*/
        
        /*Filter AjaxButton start*/
        $this->start_controls_section('ajaxbtn_section',
            [
                'label'=>esc_html__('Ajax Button','theplus'),
                'tab'=>Controls_Manager::TAB_STYLE,
                'condition'=>[
                    'Ajaxbutton'=>'yes',
                ],
            ]
        );
        $this->add_control('ajaxBtnalign',
            [
                'label'=>esc_html__('Button Alignment','theplus'),
                'type'=>Controls_Manager::CHOOSE,
                'options'=>[
                    'left'=>[
                        'title'=>esc_html__('Left','theplus'),
                        'icon'=>'fa fa-align-left',
                    ],
                    'center'=>[
                        'title'=>esc_html__( 'Center','theplus'),
                        'icon'=>'fa fa-align-center',
                    ],
                    'right'=>[
                        'title'=>esc_html__('Right','theplus'),
                        'icon'=>'fa fa-align-right',
                    ],
                ],
                'default'=>'',
                'toggle'=>false,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .tp-ajaxbtn-filter'=>'justify-content:{{VALUE}}'
                ],
            ]
        );
		$this->add_control('ajaxBtnalignheight',
			[
				'label'=>__('Button Position','theplus'),
				'type'=>Controls_Manager::SELECT,
				'default'=>'center',
				'options'=>[
					'flex-start'=>__('Top','theplus'),
					'center'=>__('Center','theplus'),
					'flex-end'=>__('End','theplus'),
					'stretch'=>__('stretch','theplus'),
				],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .tp-ajaxbtn-filter'=>'align-items:{{VALUE}}'
                ],
			]
		);
        $this->add_responsive_control('ajaxBtnPad',
            [
                'label'=>__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .tp-ajax-button'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_responsive_control('ajaxBtnmar',
            [
                'label'=>__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'separator'=>'after',
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .tp-ajax-button'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Typography::get_type(),
            [
                'name'=>'ajaxBtntypo',
                'label'=>__('Typography','theplus'),
                'scheme'=>Typography::TYPOGRAPHY_1,
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .tp-ajax-button',                
            ]
        );
        $this->add_responsive_control('ajaxBtnmediasize',
            [
                'label'=>__('Icon or Image Size','theplus'),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>['px','%'],
                'range'=>[
                    'px'=>[
                        'min'=>0,
                        'max'=>1000,
                        'step'=>5,
                    ],
                    '%'=>[
                        'min'=>0,
                        'max'=>100,
                    ],
                ],
                'default'=>[
                    'unit'=>'px',
                    'size'=>'',
                ],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-ajaxbtn-filter .tp-ajaxbtn-icon'=>'font-size:{{SIZE}}{{UNIT}};',
					 '{{WRAPPER}} .tp-search-filter .tp-ajaxbtn-filter .tp-ajaxbtn-icon svg'=>'width:{{SIZE}}{{UNIT}};height:{{SIZE}}{{UNIT}};',
                    '{{WRAPPER}} .tp-search-filter .tp-ajaxbtn-filter .tp-ajaxbtn-ImageTag'=>'width:{{SIZE}}{{UNIT}};',
                ],
                'condition'=>[
                    'AjaxbtnMedia!'=>''
                ]
            ]
        );
        $this->start_controls_tabs('ajaxBtnTab');
        $this->start_controls_tab('ajaxBtnN',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );
        $this->add_control('ajaxBtnNCr',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-ajaxbtn-filter .tp-ajax-button'=>'color:{{VALUE}}',
                ],
            ]
        );
        $this->add_control('ajaxbtnIconNCr',
            [
                'label'=>__('Icon Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-ajaxbtn-filter .tp-ajax-button .tp-ajaxbtn-icon'=>'color:{{VALUE}}',
                    '{{WRAPPER}} .tp-search-filter .tp-ajaxbtn-filter .tp-ajax-button .tp-ajaxbtn-icon svg'=>'fill:{{VALUE}}',
                ],
                'condition' => [                       
                    'AjaxbtnMedia!'=>''
                ],
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'ajaxbtnNBG',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-ajaxbtn-filter .tp-ajax-button',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'ajaxbtnNBorder',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-ajaxbtn-filter .tp-ajax-button',
                'condition' => [
                    'FilterBtn'=>'yes',
                ],
            ]
        );
        $this->add_responsive_control('ajaxbtnBRs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'], 
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-ajaxbtn-filter .tp-ajax-button'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
                'condition' => [
                    'FilterBtn'=>'yes',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'ajaxbtnshadow',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-ajaxbtn-filter .tp-ajax-button',
                'condition' => [
                    'FilterBtn'=>'yes',
                ],
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('ajaxBtnH',
            [
                'label'=>esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('ajaxBtnHCr',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-ajaxbtn-filter .tp-ajax-button:hover'=>'color:{{VALUE}}',
                ],
            ]
        );
        $this->add_control('ajaxbtnIconHCr',
            [
                'label'=>__('Icon Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-ajaxbtn-filter .tp-ajax-button:hover .tp-ajaxbtn-icon'=>'color:{{VALUE}}',
                    '{{WRAPPER}} .tp-search-filter .tp-ajaxbtn-filter .tp-ajax-button:hover .tp-ajaxbtn-icon svg'=>'fill:{{VALUE}}',
                ],
                'condition' => [
                    'Ajaxbutton'=>'yes',
                    'AjaxbtnMedia!'=>''
                ],
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'ajaxbtnHBG',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-ajaxbtn-filter .tp-ajax-button:hover',
                'condition' => [
                    'Ajaxbutton'=>'yes',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'ajaxbtnHBorder',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-ajaxbtn-filter .tp-ajax-button:hover',
                'condition' => [
                    'FilterBtn'=>'yes',
                ]
            ]
        );
        $this->add_responsive_control('ajaxbtHBRs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'], 
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-ajaxbtn-filter .tp-ajax-button:hover'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
                'condition' => [
                    'FilterBtn'=>'yes',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'ajaxbtHshadow',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-ajaxbtn-filter .tp-ajax-button:hover',
                'condition' => [
                    'FilterBtn'=>'yes',
                ]
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('ajaxBtnA',
            [
                'label'=>esc_html__('Active','theplus')
            ]
        );
        $this->add_control('ajaxBtnACr',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-ajaxbtn-filter .tp-ajax-button.active'=>'color:{{VALUE}}',
                ],
                'condition'=>[
                    'Ajaxbutton'=>'yes',
                ]
            ]
        );
        $this->add_control('ajaxbtnIconACr',
            [
                'label'=>__('Icon Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-ajaxbtn-filter .tp-ajax-button.active .tp-ajaxbtn-icon'=>'color:{{VALUE}}',
                ],
                'condition' => [
                    'Ajaxbutton'=>'yes',
                    'AjaxbtnMedia!'=>''
                ],
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'ajaxbtnABG',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-ajaxbtn-filter .tp-ajax-button.active',
                'condition' => [
                    'Ajaxbutton'=>'yes',
                ]
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'ajaxbtnABorder',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-ajaxbtn-filter .tp-ajax-button.active',
                'condition' => [
                    'Ajaxbutton'=>'yes',
                ]
            ]
        );
        $this->add_responsive_control('ajaxbtABRs',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'], 
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-ajaxbtn-filter .tp-ajax-button.active'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
                'condition' => [
                    'Ajaxbutton'=>'yes',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'ajaxbtAshadow',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-ajaxbtn-filter .tp-ajax-button.active',
                'condition'=>[
                    'Ajaxbutton'=>'yes',
                ]
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->add_control('ajaxbtnSpinner',
            [
                'label'=>__('BackEnd Enable Spinner','theplus'),
                'type'=>Controls_Manager::SWITCHER,
                'label_on'=>__('Show','theplus'),
                'label_off'=>__('Hide','theplus'),
                'return_value'=>'inline-flex',
                'default'=>'',
                'separator'=>'before',
                'condition'=>[
                    'Ajaxbutton'=>'yes',
                    'AjaxloadiconOn'=>'yes',
                ],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter.tp-searchfilter-backend .tp-ajaxbtn-spinner-loader'=>'display:{{VALUE}}',
                ],
            ]
        );
        $this->add_control('AjaxBtnlayout',
			[
				'label'=>__('layout','theplus'),
				'type'=>Controls_Manager::SELECT,
				'default'=>'style-1',
				'options' => [
					'style-1'=>__('Style-1','theplus'),
					'style-2'=>__('Style-2','theplus'),
					'style-3'=>__('Style-3','theplus'),
				],
                'condition'=>[
                    'Ajaxbutton'=>'yes',
                    'AjaxloadiconOn'=>'yes',
                ],
			]
		);
        $this->add_control('ajaxBtnsprACr',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-ajax-button.active .tp-ajaxbtn-spinner-loader.style-1,{{WRAPPER}} .tp-search-filter .tp-ajax-button.active .tp-ajaxbtn-spinner-loader.style-2,{{WRAPPER}} .tp-search-filter .tp-ajax-button.active .tp-ajaxbtn-spinner-loader.style-3'=>'border-top-color:{{VALUE}}',
                    '{{WRAPPER}} .tp-search-filter .tp-ajax-button.active .tp-ajaxbtn-spinner-loader.style-2,{{WRAPPER}} .tp-search-filter .tp-ajax-button.active .tp-ajaxbtn-spinner-loader.style-3'=>'border-bottom-color:{{VALUE}}',
                    '{{WRAPPER}} .tp-search-filter .tp-ajax-button.active .tp-ajaxbtn-spinner-loader.style-3'=>'border-left-color:{{VALUE}}'
                ],
                'condition'=>[
                    'Ajaxbutton'=>'yes',
                    'AjaxloadiconOn'=>'yes',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'ajaxBtnsprABCr',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-ajax-button.active .tp-ajaxbtn-spinner-loader',
                'condition' => [
                    'Ajaxbutton'=>'yes',
                ]
            ]
        );    
        $this->end_controls_tab();
        $this->end_controls_tabs();
        $this->end_controls_section();
        /*Filter AjaxButton End*/

        /*Archive Option start*/
		$this->start_controls_section('archive_section',
            [
                'label'=>esc_html__('Archive showMore Option','theplus'),
                'tab'=>Controls_Manager::TAB_STYLE,
                'condition' => [
                    'enable_archive'=>'yes',
                    'enable_archivefiled'=>'yes',
                ]
            ]
        );
        $this->add_control('archivenalign',
            [
                'label'=>esc_html__('Button Alignment','theplus'),
                'type'=>Controls_Manager::CHOOSE,
                'options'=>[
                    'left'=>[
                        'title'=>esc_html__('Left','theplus'),
                        'icon'=>'fa fa-align-left',
                    ],
                    'center'=>[
                        'title'=>esc_html__( 'Center','theplus'),
                        'icon'=>'fa fa-align-center',
                    ],
                    'right'=>[
                        'title'=>esc_html__('Right','theplus'),
                        'icon'=>'fa fa-align-right',
                    ],
                ],
                'default'=>'',
                'toggle'=>false,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .tp-archive-readmore'=>'justify-content:{{VALUE}}'
                ],
            ]
        );
        $this->add_responsive_control('archivePad',
            [
                'label'=>__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .tp-archive-readmore'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->start_controls_tabs('archivemoreTab');
        $this->start_controls_tab('archivemoreN',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        );
        $this->add_control('archivemoreNCr',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .tp-archive-readmore'=>'color:{{VALUE}}',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'archivemoreNBG',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .tp-archive-readmore',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'archivemoreNBorder',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .tp-archive-readmore',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'archiveNshadow',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .tp-archive-readmore',
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('archivemoreH',
            [
                'label'=>esc_html__('Hover','theplus')
            ]
        );
        $this->add_control('archivemoreHCr',
            [
                'label'=>__('Color','theplus'),
                'type'=>Controls_Manager::COLOR,
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter .tp-search-form .tp-archive-readmore:hover'=>'color:{{VALUE}}',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'archivemoreHBG',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .tp-archive-readmore:hover',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'archivemoreHBorder',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .tp-archive-readmore:hover',
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'archiveHshadow',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter .tp-search-form .tp-archive-readmore:hover',
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();

        $this->end_controls_section();

        /*Background Option start*/
		$this->start_controls_section('BG_section',
            [
                'label'=>esc_html__('Background Option','theplus'),
                'tab'=>Controls_Manager::TAB_STYLE,
            ]
        );
        $this->add_control('Bg_Padding',
            [
                'label'=>__('Padding','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors' => [
                    '{{WRAPPER}} .tp-search-filter'=>'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_control('Bg_Margin',
            [
                'label'=>__('Margin','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors' => [
                    '{{WRAPPER}} .tp-search-filter'=>'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->start_controls_tabs('BGControl');
        $this->start_controls_tab('BGo_Normal',
            [
                'label'=>esc_html__('Normal','theplus')
            ]
        ); 	
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'formBGN',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'formBN',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter',
            ]
        );
        $this->add_responsive_control('formBBrN',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'formNsd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter',
            ]
        );
        $this->add_control('secbackdropshadown',
            [
                'label'=>esc_html__('Backdrop Filter','theplus'),
                'type'=>Controls_Manager::POPOVER_TOGGLE,
                'label_off'=>__('Default','theplus'),
                'label_on'=>__('Custom','theplus'),
                'return_value'=>'yes',
            ]
        );
        $this->add_control('secbackdropshadown_blur',
            [
                'label'=>esc_html__('Blur','theplus'),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>['px'],
                'range'=>[
                    'px'=>[
                        'max'=>100,
                        'min'=>1,
                        'step'=>1,
                    ],
                ],
                'default'=>[
                    'unit'=>'px',
                    'size'=>10,
                ],
                'condition'=>[
                    'secbackdropshadown'=>'yes',
                ],
            ]
        );
        $this->add_control('secbackdropshadown_grayscale',
            [
                'label'=>esc_html__('Grayscale','theplus'),
                'type'=>Controls_Manager::SLIDER,
                'size_units'=>['px'],
                'range'=>[
                    'px'=>[
                        'max'=>1,
                        'min'=>0,
                        'step'=>0.1,
                    ],
                ],
                'default'=>[
                    'unit'=>'px',
                    'size'=>0,
                ],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter'=>'-webkit-backdrop-filter:grayscale({{secbackdropshadown_grayscale.SIZE}})  blur({{secbackdropshadown_blur.SIZE}}{{secbackdropshadown_blur.UNIT}}) !important;backdrop-filter:grayscale({{secbackdropshadown_grayscale.SIZE}})  blur({{secbackdropshadown_blur.SIZE}}{{secbackdropshadown_blur.UNIT}}) !important;',
                ],
                'condition'=>[
                    'secbackdropshadown'=>'yes',
                ],
            ]
        );
        $this->end_controls_tab();
        $this->start_controls_tab('BGo_Hover',
            [
                'label'=>esc_html__('Hover','theplus')
            ]
        ); 
        $this->add_group_control(Group_Control_Background::get_type(),
            [
                'name'=>'formBGH',
                'label'=>__('Background','theplus'),
                'types'=>['classic','gradient'],
                'selector'=>'{{WRAPPER}} .tp-search-filter:hover',
            ]
        );
        $this->add_group_control(Group_Control_Border::get_type(),
            [
                'name'=>'formBH',
                'label'=>__('Border','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter:hover',
            ]
        );
        $this->add_responsive_control('formBBrH',
            [
                'label'=>__('Border Radius','theplus'),
                'type'=>Controls_Manager::DIMENSIONS,
                'size_units'=>['px','%','em'],
                'selectors'=>[
                    '{{WRAPPER}} .tp-search-filter:hover'=>'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->add_group_control(Group_Control_Box_Shadow::get_type(),
            [
                'name'=>'formHsd',
                'label'=>__('Box Shadow','theplus'),
                'selector'=>'{{WRAPPER}} .tp-search-filter:hover',
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();
        $this->end_controls_section();
        /*Background Option End*/
        /*style end*/
	}

	protected function render() {
        $output='';
        $settings = $this->get_settings_for_display();
        $ElementerID = $this->get_unique_selector();
        $PageID = get_the_ID();
		$WidgetId = uniqid("wp-filter-");
        $desktop_class = 'tp-col-lg-'.$settings['desktop_column'];
        $tablet_class = 'tp-col-md-'.$settings['tablet_column'];
        $mobile_class = 'tp-col-sm-'.$settings['mobile_column'];
        $mobile_class .= ' tp-col-'.$settings['mobile_column'];
        $DefType = !empty($settings['TogBtnPos']) ? $settings['TogBtnPos'] : 'relative';
        
        $FieldArr=[];
        $FilterField=$ResultTag=$FTR_txt='';
        $searchField = !empty($settings['searchField']) ? $settings['searchField'] : [];
        if(!empty($searchField)){
            foreach ($searchField as $index => $Filter) {
                $RepeaterClass = 'elementor-repeater-item-' .esc_attr($Filter['_id']);
                $FilterOption = isset($Filter['filteroption']) ? $Filter['filteroption'] :'';
                $Wp_Type = isset($Filter['WpFilterType']) ? $Filter['WpFilterType'] :'';
                $Woo_Type = isset($Filter['WooFilterType']) ? $Filter['WooFilterType'] :'';
                $Ex_Type = isset($Filter['ExFilterType']) ? $Filter['ExFilterType'] :'filter_tag';
                $ContentType = isset($Filter['ContentType']) ? $Filter['ContentType'] :'';
                $Title = isset($Filter['fieldTitle']) ? $Filter['fieldTitle'] : 'Category';
                $pAttr = !empty($Filter['pAttr']) ? $Filter['pAttr'] :'';
                $ShowCount = !empty($Filter['showCount']) ? 'yes' :'';
                $tooltip = !empty($Filter['tooltip']) ? 'yes' :'';
                $ShowChild = !empty($Filter['showChild']) ? 'yes' :'';
                $Titlelayout = ($Filter['Titlelayout'] == 'inline') ? 'tp-layout-inline' :'';
               
                if($FilterOption == 'extrafilter'){
                    if( $Ex_Type == 'filter_tag' ){
                        $ResultTag .= '<div class="tp-filter-tag-wrap"></div>';
                    }else if($Ex_Type == 'filter_reset'){
                        $ResetEnable = !empty($Filter['reset_enable']) ? true : false;
                        $TagRemovePos = !empty($Filter['FRemove_style']) ? $Filter['FRemove_style'] : '';
                        $Resettext = !empty($Filter['resettext']) ? $Filter['resettext'] : '';

                        $ResettextArray = array( 'Resettext' => $Resettext );
                        $Resetdata = 'data-resetbtndata="'.htmlspecialchars(json_encode($ResettextArray, true), ENT_QUOTES, 'UTF-8').'"';

                        $ResultTag .= '<div class="tp-filter-removetag '.esc_attr($TagRemovePos).' hide" '.$Resetdata.'></div>';

                        if($ResetEnable){
                            $ResultTag .= '<span class="tp-tag-reset-contener"><a class="tp-tag-link" data-type="fix_tagremove" data-name="fix_tagremove" data-id="fix_tagremove"><span class="tp-tag-reset"><i class="fa fa-times" aria-hidden="true"></i> '.esc_html($Resettext).'</span></a></span>';
                        }
                    }else if($Ex_Type == 'total_results'){
                        $FTR_txt = !empty($Filter['FTR_txt']) ? $Filter['FTR_txt'] : '';

                        $FilterField .= '<div class="field-col '.esc_attr($desktop_class).' '.esc_attr($tablet_class).' '.esc_attr($mobile_class).' ">';
                            $FilterField .= '<div class="tp-total-results-wrap">';
                                $FilterField .= '<span class="tp-total-resulttxt-org hide">'.esc_html($FTR_txt).'</span>';
                                $FilterField .= '<span class="tp-total-results-txt">'.esc_html($FTR_txt).'</span>';
                            $FilterField .= '</div>';
                        $FilterField .= '</div>';
                    }else if($Ex_Type == 'Column_results'){
                        $columnMerge = $this->tp_search_column($settings['desktop_column'], $settings['tablet_column'], $settings['mobile_column']);
                        $ResultTag .= $this->tp_column_change($Filter, $columnMerge);
                    }
                }else{
                    $FilterField .= '<div class="field-col '.esc_attr($Titlelayout).' '.esc_attr($RepeaterClass).' '.esc_attr($desktop_class).' '.esc_attr($tablet_class).' '.esc_attr($mobile_class).' ">';
                        $TaxonomyTT = isset($Filter['TaxonomyType']) ? $Filter['TaxonomyType'] : '';
                        if($ContentType == 'acf_conne'){
                            $acfKey='';
                            if(class_exists('acf')){
                                $acfKey = !empty($Filter['acfKey']) ? $Filter['acfKey'] : '';
                                $cusField = acf_get_field($acfKey);
                                $TaxonomyTT = !empty($cusField['name']) ? $cusField['name'] : '';
                                $CPKey = !empty($Filter['ColorPickerKey']) ? $Filter['ColorPickerKey'] : '';
                            }else{
                                $FilterField .= $this->Filter_ErrorShow('Install & Activate ACF Plugin to use this Option.');
                            }
                        }else if($ContentType == 'pods_conne'){
                            if(class_exists('PodsInit')){
                                $TaxonomyTT = !empty($Filter['acfKey']) ? $Filter['acfKey'] : '';

                                if($Woo_Type == 'color'){
                                    $TaxonomyTT = !empty($Filter['ColorPickerKey']) ? $Filter['ColorPickerKey'] : '';
                                }
                            }else{
                                $FilterField .= $this->Filter_ErrorShow('Install & Activate PODs Plugin to use this Option.');
                            }
                        }else if($ContentType == 'toolset_conne'){
                            if( is_plugin_active( 'types/wpcf.php' ) ){
                                $TaxonomyTT = !empty($Filter['acfKey']) ? 'wpcf-'.esc_attr($Filter['acfKey']) : ''; 

                                if($Woo_Type == 'color'){
                                    $TaxonomyTT = !empty($Filter['ColorPickerKey']) ? 'wpcf-'.$Filter['ColorPickerKey'] : '';
                                }
                            }else{
                                $FilterField .= $this->Filter_ErrorShow('Install & Activate Toolset Plugin to use this Option.');
                            }      
                        }else if($ContentType == 'metabox_conne'){
                            if( class_exists( 'RWMB_Field' ) ){
                                $TaxonomyTT = !empty($Filter['acfKey']) ? $Filter['acfKey'] : ''; 
                               
                                if($Woo_Type == 'color'){
                                    $TaxonomyTT = !empty($Filter['ColorPickerKey']) ? $Filter['ColorPickerKey'] : '';
                                }
                            }else{
                                $FilterField .= $this->Filter_ErrorShow('Install & Activate Toolset Plugin to use this Option.');
                            }      
                        }

                        $WooSorting = !empty($Filter['WooFiltersSort']) ? $Filter['WooFiltersSort'] : '';
                        if($FilterOption == 'wpfilter'){
                            if($Wp_Type == 'alphabet'){
                                $FilterField .= $this->tp_alphabet($Filter);
                                $FieldArr['alphabet'][] = array(
                                    'name' => 'alphabet',
                                    'id' => uniqid('alphabet'),
                                    'field' => 'alphabet',
                                    'type' => 'taxonomy',
                                );
                            }else if($Wp_Type == 'checkbox'){
                                $FilterField .= $this->tp_filter_content($Filter);
                                $FieldArr['checkBox'][] = array(
                                    'name' => $TaxonomyTT,
                                    'id' => uniqid($TaxonomyTT),
                                    'field' => 'checkBox',
                                    'type' => $ContentType,
                                );
                            }else if($Wp_Type == 'drop_down'){
                                $FilterField .= $this->tp_filter_content($Filter);
                                if(!empty($WooSorting)){
                                    $FieldArr['select'][] = array(
                                        'name' => 'woo_SgDropDown',
                                        'id' => uniqid('woo_SgDropDown-'),
                                        'field' => 'woo_SgDropDown',
                                        'type' => $ContentType,
                                    );
                                }else{
                                    $FieldArr['select'][] = array(
                                        'name' => $TaxonomyTT,
                                        'id' => uniqid($TaxonomyTT),
                                        'field' => 'DropDown',
                                        'type' => $ContentType,
                                    );
                                }
                            }else if($Wp_Type == 'date'){
                                $layout_Type = (!empty($Filter['layout_date'])) ? $Filter['layout_date'] : 'style-1';
                                $FilterField .= $this->tp_filter_content($Filter);

                                if($ContentType == "taxonomy"){
                                    $TaxonomyTT = 'tp-datepicker1';
                                }
                                $FieldArr['date'][] = $this->tp_filter_aaray($TaxonomyTT, $ContentType, 'date', $layout_Type);
                            }else if($Wp_Type == 'radio'){
                                $FilterField .= $this->tp_filter_content($Filter);
                                $FieldArr['radio'][] = array(
                                    'name'=>$TaxonomyTT,
                                    'id'=>uniqid($TaxonomyTT),
                                    'field'  => 'radio',
                                    'type' => $ContentType,
                                );
                            }else if($Wp_Type == 'search'){
                                if($ContentType == 'taxonomy'){
                                    $TaxonomyTT = 'search';
                                }

                                $FilterField .= $this->tp_filter_content($Filter);
                                $FieldArr['search'][] = $this->tp_filter_aaray($TaxonomyTT, $ContentType, 'search');
                            }else if($Wp_Type == 'tabbing'){
                                $FilterField .= $this->tp_filter_content($Filter);
                                if(!empty($WooSorting)){
                                    $FieldArr['tabbing'][] = array(
                                        'name' => 'woo_SgTabbing',
                                        'id' => uniqid('woo_SgTabbing-'),
                                        'field' => 'woo_SgTabbing',
                                        'type' => $ContentType,
                                    );
                                }else{
                                    $FieldArr['tabbing'][] = $this->tp_filter_aaray($TaxonomyTT, $ContentType, 'tabbing');
                                }
                            }else if($Wp_Type == 'range'){
                                $FilterField .= $this->tp_filter_content($Filter);
                            }else if($Wp_Type == 'autocomplete'){
                                if( empty($TaxonomyTT) ){
                                    $FieldName = 'autocomplete-'.$Filter['_id'];
                                }else{
                                    $FieldName = $TaxonomyTT;
                                }
                              
                                $FilterField .= $this->tp_filter_content($Filter);
                                $FieldArr['autocomplete'][] = $this->tp_filter_aaray($FieldName, $ContentType, 'autocomplete');
                            }else if(empty($Wp_Type)){
                                $FilterField .= $this->Filter_ErrorShow('Select Source');
                            }
                        }else if($FilterOption == 'Woofilter'){
                            if($Woo_Type == 'button'){
                                if($ContentType == 'taxonomy'){
                                    $TaxonomyTT = $pAttr;
                                }

                                $FilterField .= $this->tp_filter_content($Filter);
                                $FieldArr['button'][] = array(
                                    'name' => $TaxonomyTT,
                                    'id'=> uniqid($TaxonomyTT),
                                    'field' => 'button',
                                    'type' => $ContentType,
                                );
                            }else if($Woo_Type == 'color'){
                                if($ContentType == 'taxonomy'){
                                    $TaxonomyTT = $pAttr;
                                }

                                $FilterField .= $this->tp_filter_content($Filter);
                                $FieldArr['color'][] = $this->tp_filter_aaray($TaxonomyTT, $ContentType, 'color');
                            }else if($Woo_Type == 'image'){
                                if($ContentType == 'taxonomy'){
                                    $TaxonomyTT = $pAttr;
                                }

                                $FilterField .= $this->tp_filter_content($Filter);
                                $FieldArr['image'][] = array(
                                    'name' => $TaxonomyTT,
                                    'id' => uniqid($TaxonomyTT),
                                    'field' => 'image',
                                    'type' => $ContentType,
                                );
                            }else if($Woo_Type == 'rating'){
                                if($ContentType == 'taxonomy'){
                                    $TaxonomyTT = 'rating';
                                }

                                $FilterField .= $this->tp_filter_content($Filter, $TaxonomyTT);
                                $FieldArr['rating'][] = array(
                                    'name' => $TaxonomyTT,
                                    'id' => uniqid('rating'),
                                    'field' => 'rating',
                                    'type' => $ContentType,
                                );
                            }else if(empty($Woo_Type)){
                                $FilterField .= $this->Filter_ErrorShow('Select Source');
                            }
                        }
                    $FilterField .= '</div>';
                }
            }
        }
       
        $ErrorMsg = json_encode( array(
            'errormsg' => !empty($settings['ErrorMsg']) ? $settings['ErrorMsg'] : '',
        ), true);

        $JSData = json_encode( array(
            'URLParameter' => !empty($settings['URLParameter']) ? 1 : 0,
            'errormsg' => !empty($settings['ErrorMsg']) ? $settings['ErrorMsg'] : '',
            'security' => wp_create_nonce("theplus-searchfilter"),
            'FilterTitle' => !empty($settings['Ftagtitle']) ? 1 : 0,
            'AjaxButton' => !empty($settings['Ajaxbutton']) ? 1 : 0,
            'delayload' => !empty($settings['delayload']) ? $settings['delayload'] : 0.3,
          
        ), true);
 
        $Backclass = (\Elementor\Plugin::$instance->editor->is_edit_mode()) ? 'tp-searchfilter-backend' : '';

        $output .= '<div class="tp-search-filter '.esc_attr($Backclass).' '.esc_attr($WidgetId).'" data-id="'.esc_attr($WidgetId).'" data-basic=\''.$JSData.'\' data-errordata= \''.$ErrorMsg.'\'  data-connection="tp_list" onSubmit="return false;" >';
            $output .= '<div class="tp-filter-meta">'. $ResultTag .'</div>'; 
                $output .= '<form class="tp-search-form" data-field=\''.json_encode($FieldArr).'\' >';
                    $output .= '<div class="tp-toggle-div">';
                        $output .= ($DefType == 'fix') ? $this->tp_filter_button($settings) : '';
                        $output .= '<div class="tp-row">';
                            $output .= $FilterField;
                            $output .= $this->tp_ajax_button($settings);
                            $output .= ($DefType == 'relative') ? $this->tp_filter_button($settings) : '';
                        $output .= '</div>';
                    $output .= '</div>';
                $output .= '</form>';
        $output .= '</div>';

		echo $output;
	}

    Protected function tp_filter_content($Repeater){
        $output='';
        $settings = $this->get_settings_for_display();
        $Uid = !empty($Repeater['_id']) ? $Repeater['_id'] : uniqid();
        $Filter_Option = isset($Repeater['filteroption']) ? $Repeater['filteroption'] :'';
        $Wp_Type = isset($Repeater['WpFilterType']) ? $Repeater['WpFilterType'] :'';
        $Woo_Type = isset($Repeater['WooFilterType']) ? $Repeater['WooFilterType'] :'';
        $ContentType = isset($Repeater['ContentType']) ? $Repeater['ContentType'] : '';
        $Title = isset($Repeater['fieldTitle']) ? $Repeater['fieldTitle'] : 'Category';
        $ShowCount = !empty($Repeater['showCount']) ? 'yes' :'';
        $ShowChild = !empty($Repeater['showChild']) ? 'yes' :'';
        $tooltip = !empty($Repeater['tooltip']) ? 'yes' :'';
        $fieldorder = !empty($settings['fieldorder']) ? 'yes' :'';
        $orderpost = (!empty($fieldorder) && !empty($settings['orderpost'])) ? $settings['orderpost'] : 'ACE';
        $orderbypost = (!empty($fieldorder) && !empty($settings['orderbypost'])) ? $settings['orderbypost'] : 'parent';

        $attr_class='';
        if($Filter_Option == 'Woofilter'){
            $attr_class .= isset($Repeater['RDesktop_column']) ? ' tp-col-lg-'.esc_attr($Repeater['RDesktop_column']) : 'tp-col-lg-3';
            $attr_class .= isset($Repeater['RTablet_column']) ? ' tp-col-md-'.esc_attr($Repeater['RTablet_column']) : 'tp-col-md-4';
            $attr_class .= isset($Repeater['RMobile_column']) ? ' tp-col-sm-'.esc_attr($Repeater['RMobile_column']) : 'tp-col-md-4';
            $attr_class .= isset($Repeater['RMobile_column']) ? ' tp-col-'.esc_attr($Repeater['RMobile_column']) : 'tp-col-4';
        }

        if($ContentType == 'taxonomy'){
            $category=[];
            $Taxonomy=!empty($Repeater['TaxonomyType']) ? $Repeater['TaxonomyType'] : '';
            $pAttr=!empty($Repeater['pAttr']) ? $Repeater['pAttr'] :'';

            if($Wp_Type != 'search' && $Wp_Type != 'range' && $Woo_Type != 'rating' && $Wp_Type != 'autocomplete'){
                if(!empty($Taxonomy)){
                    $sequence = [];
                    $attrSlug = ($Taxonomy != 'product_attr') ? $Taxonomy : $pAttr;	
                    $cat_args = [
                        'taxonomy' => $attrSlug,
                        'parent' => 0, 
                        'show_count' => 1,
                        'hierarchical' => true,
                        'hide_empty' => 1,
                        'order' => $orderpost,
                        'orderby' => $orderbypost,                        
                    ];
                    $tax_terms = get_terms($cat_args);
                    $sequence = $this->hierarchical_sub_category_tree( $attrSlug );

                    foreach ($tax_terms as $value) {
                        $ImageURL='';
                        $TermId = !empty($value->term_id) ? $value->term_id :'';

                        if( ($Taxonomy == 'category' || $Taxonomy == 'post_tag' || $Taxonomy == 'product_tag') && !empty($TermId) ){
                            $ImageURL = get_term_meta($TermId, 'tp_taxonomy_image', true);
                        }else if( ($Taxonomy == 'product_cat') && !empty($TermId)){
                            $GetImgID = get_term_meta($TermId, 'thumbnail_id', true);

                            $GetImgurl = wp_get_attachment_image_src($GetImgID, 'tp-image-grid');
                            if(!empty($GetImgurl)){
                                $ImageURL = $GetImgurl[0];
                            }
                        }else if( !empty($TermId) ){
                            $ImageURL = get_term_meta($TermId, 'tp_taxonomy_image', true);
                        }

                        $sub_args = array(  
                            'taxonomy' => $attrSlug,
                            'child_of' => $TermId,
                            'orderby' => 'parent',
                            'hierarchical'  => true,
                            'hide_empty' => 1,
                        );
                        $sub_categories = get_categories($sub_args);

                        $count='';
                        if( !empty($value->count) ){
                            $count = $value->count;
                        }else if( !empty($sub_categories) ){
                            $count = count($sub_categories);
                        }

                        $category[$TermId] = array(
                            'name' => !empty($value->name) ? $value->name : '',
                            'slug' => !empty($value->slug) ? $value->slug : '',
                            'count' => !empty($count) ? $count : '',
                            'child' => $sub_categories,
                            'image' => !empty($ImageURL) ? $ImageURL : '',
                            'tax_terms' => $tax_terms,
                            'child_sequence' => $sequence,
                        );
                    }
                }else{
                    $output .= $this->Filter_ErrorShow('Select Taxonomy Option');
                } 
            }

            if($Filter_Option == 'wpfilter'){
                if($Wp_Type =='search'){
                    $output .= $this->tp_text_field($Uid,'searTxt',$Repeater);
                }else if($Wp_Type == 'checkbox' && !empty($category)){
                    $output .= $this->tp_checkbox($category, $Title, $Taxonomy, $ShowCount, $pAttr, $ShowChild, $Repeater);
                }else if($Wp_Type == 'drop_down' && !empty($category)){
                    $output .= $this->tp_drop_down($category, $Title, $Taxonomy, $ShowCount, $pAttr, $Repeater);
                }else if($Wp_Type == 'date'){
                    $output .= $this->tp_date($Title, 'tp-datepicker1', $Repeater);
                }else if($Wp_Type == 'tabbing' && !empty($category)){
                    $output .= $this->tp_tabbing_filter($category,$Taxonomy,$ShowCount,$Repeater);
                }else if($Wp_Type == 'radio' && !empty($category)){
                    $output .= $this->tp_radio($category, $Title, $Taxonomy, $ShowCount, $pAttr, $ShowChild, $Repeater);
                }else if($Wp_Type == 'range'){
                    $MaxPrice = !empty($Repeater['maxPrice']) ? $Repeater['maxPrice'] : 10000;
                    $MinPrice = !empty($Repeater['minPrice']) ? $Repeater['minPrice'] : 0;
                    $Steps = !empty($Repeater['steps']) ? $Repeater['steps'] : 100;
                    $output .= $this->tp_range($Title, $MaxPrice, $MinPrice, $Steps, 'price', $Repeater);
                }else if($Wp_Type == 'autocomplete'){
                    $FieldName = 'autocomplete-'.$Repeater['_id'];
                    $output .= $this->tp_autocomplete($FieldName, $Repeater);
                }
            }else if($Filter_Option == 'Woofilter'){
                if($Woo_Type == 'button' && !empty($category)){
                    $output .= $this->tp_button_field($category, $Taxonomy, $ShowCount, $pAttr, $tooltip, $attr_class, $Repeater);
                }else if($Woo_Type == 'color' && !empty($category)){
                    $output .= $this->tp_color_field($category, $Taxonomy, $ShowCount, $pAttr, $tooltip, $attr_class, $Repeater);
                }else if($Woo_Type == 'image'){
                    $output .= $this->tp_image_field($category, $Taxonomy, $ShowCount, $pAttr, $tooltip, $attr_class, $Repeater);
                }else if($Woo_Type == 'rating'){
                    $output .= $this->tp_rating($Repeater,'rating');
                }
            }
        }else if($ContentType == 'acf_conne'){
            $acfArr=[];
            if(class_exists('ACF')){
                $acfKey=!empty($Repeater['acfKey']) ? $Repeater['acfKey'] : '';
                $cusField=acf_get_field($acfKey);
                $cusType=!empty($cusField['type']) ? $cusField['type'] : '';
                $cusName=!empty($cusField['name']) ? $cusField['name'] : '';

                if(!empty($cusField) && !empty($cusField['choices'])){
                    foreach($cusField['choices'] as $value => $data){
                        $acfArr[$value] = array( "name" => $data );
                    }
                }

                if($Filter_Option == 'wpfilter'){
                    if($Wp_Type =='search'){
                        $output .= $this->tp_text_field($Uid, $acfKey, $Repeater);
                    }else if($Wp_Type == 'checkbox'){
                        $output .= $this->tp_checkbox($acfArr, $Title, $cusName,'','','', $Repeater);
                    }else if($Wp_Type == 'date'){
                        $output .= $this->tp_date($Title, $acfKey, $Repeater);
                    }else if($Wp_Type == 'drop_down'){
                        $output .= $this->tp_drop_down($acfArr, $Title, $cusName,'','', $Repeater);
                    }else if($Wp_Type == 'radio'){
                        $output .= $this->tp_radio($acfArr, $Title, $cusName,'','','', $Repeater);
                    }else if($Wp_Type == 'range'){
                        $Max = (!empty($cusField) && !empty($cusField['max'])) ? $cusField['max'] : 10000;
                        $Min = (!empty($cusField) && !empty($cusField['min'])) ? $cusField['min'] : 0;
                        $step = (!empty($cusField) && !empty($cusField['step'])) ? $cusField['step'] : 5;

                        $output .=  $this->tp_range($Title, $Max, $Min, $step, $cusName, $Repeater);
                    }else if($Wp_Type == 'tabbing'){
                        $data=[];
                        global $post,$wpdb;
                        $PubliStatus = 'publish';
                        $PrepareQ = $wpdb->prepare("SELECT {$wpdb->posts}.ID FROM {$wpdb->posts} WHERE {$wpdb->posts}.post_status=%s", $PubliStatus);
                            $GetResult = $wpdb->get_results($PrepareQ);
                            if(is_array($GetResult)){
                                $data=[];
                                foreach ($GetResult as $key => $one) {
                                    $AcfCrName = get_field($acfKey, $one->ID);
                                    if(!empty($AcfCrName)){
                                        $array2 = explode("|", $AcfCrName);
                                        
                                        foreach ($array2 as $key => $two) {
                                            $value = str_replace(' ', '-', ltrim(rtrim($two)));
                                            $data[$value] = array('name' => $value);
                                        }
                                    }
                                }
                            }
                        $output .= $this->tp_tabbing_filter($data,$acfKey,$ShowCount,$Repeater);
                    }
                }else if($Filter_Option == 'Woofilter'){
                    if($Woo_Type =='rating'){
                        $output .= $this->tp_rating($Repeater, $cusName);
                    }else if($Woo_Type == 'color'){
                        $CPKey = !empty($Repeater['ColorPickerKey']) ? $Repeater['ColorPickerKey'] : '';
                        global $post,$wpdb;
                            $PrepareQ = $wpdb->prepare("SELECT {$wpdb->posts}.ID FROM {$wpdb->posts} WHERE {$wpdb->posts}.post_status='publish'");
                            $GetResult = $wpdb->get_results($PrepareQ);
                            if(is_array($GetResult)){
                                $data=[];
                                foreach ($GetResult as $key => $one) {
                                    $AcfCrName = get_field($acfKey, $one->ID);
                                    $ColorCode = get_field($CPKey, $one->ID);

                                    $ColorName = str_replace(' ', '-', $AcfCrName);
                                    $i=0;
                                    if(!empty($ColorName)){
                                        $count[$ColorName]++;
                                    }
                                    if(!empty($ColorName) && !empty($ColorCode) ){
                                        $data[$ColorName] = array(
                                            'name' => $ColorName,
                                            'code' => $ColorCode,
                                            'count' => $count
                                        );
                                    }
                                }
                            }
                        $output .= $this->tp_color_field($data, $Taxonomy, $ShowCount, $CPKey, $tooltip, $attr_class, $Repeater);
                    }else if($Woo_Type == 'image'){
                        $data=[];
                        global $post,$wpdb;
                            $PrepareQ = $wpdb->prepare("SELECT {$wpdb->posts}.ID FROM {$wpdb->posts} WHERE {$wpdb->posts}.post_status='publish'");
                            $GetResult = $wpdb->get_results($PrepareQ);
                            if(is_array($GetResult)){
                                foreach ($GetResult as $key => $one) {
                                    $AcfCrName = get_field($acfKey, $one->ID);
                                    if( !empty($AcfCrName) ){
                                        $data[$AcfCrName['ID']] = array(
                                            'name' => $AcfCrName['ID'],
                                            'title' => $AcfCrName['title'],
                                            'url' => $AcfCrName['sizes']['thumbnail'],
                                        );
                                    }
                                }
                            }
                        $output .= $this->tp_image_field($data, $Taxonomy, $ShowCount, $acfKey, $tooltip, $attr_class, $Repeater);
                    }else if($Woo_Type == 'button'){
                        $data=[];
                        global $post,$wpdb;
                        $PrepareQ = $wpdb->prepare("SELECT {$wpdb->posts}.ID FROM {$wpdb->posts} WHERE {$wpdb->posts}.post_status='publish'");
                        $GetResult = $wpdb->get_results($PrepareQ);
                        if(is_array($GetResult)){
                            foreach ($GetResult as $key => $one) {
                                $Name = get_field($acfKey, $one->ID);
                                if(!empty($Name)){
                                    $data[$Name] = array('name' => $Name);
                                }
                            }
                        }
                        $output .= $this->tp_button_field($data, $Taxonomy, $ShowCount, $acfKey, $tooltip, $attr_class, $Repeater);
                    }
                }
            }
        }else if($ContentType == 'toolset_conne'){
            if( is_plugin_active('types/wpcf.php') ){
                $acfArr = [];
                $acfKey = !empty($Repeater['acfKey']) ? 'wpcf-'.esc_attr($Repeater['acfKey']) : '';
                $Taxonomy = !empty($Repeater['TaxonomyType']) ? $Repeater['TaxonomyType'] : '';
                if($Filter_Option == 'wpfilter'){
                    if($Wp_Type == 'search'){
                        $output .= $this->tp_text_field($Uid, $acfKey, $Repeater);
                    }else if($Wp_Type == 'tabbing'){
                        $Conn_values = $this->tp_connection_values($acfKey, $ContentType);
                        $output .= $this->tp_tabbing_filter($Conn_values, $acfKey, $ShowCount, $Repeater);
                    }else if($Wp_Type == 'date'){
                        $output .= $this->tp_date($Title, $acfKey, $Repeater);
                    }else if($Wp_Type == 'checkbox'){
                        if(!empty($acfKey)){
                            global $post,$wpdb;
                            $DB_Result = $wpdb->get_results( $wpdb->prepare( "SELECT {$wpdb->postmeta}.post_id FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->posts}.ID = {$wpdb->postmeta}.post_id AND {$wpdb->posts}.post_status = %s AND {$wpdb->postmeta}.meta_key = %s ", "publish", $acfKey ) );

                            foreach($DB_Result as $data){
                                if( !empty($data) && !empty($data->post_id) ){
                                    $chk = get_post_field( $acfKey, $data->post_id );

                                    foreach($chk as $data1){
                                        $acfArr[$data1[0]] = array("name" => $data1[0]);
                                    }
                                }
                            }
                        }

                        $output .= $this->tp_checkbox($acfArr, $Title, $acfKey,'','','', $Repeater);
                    }else if($Wp_Type == 'radio'){
                        if(!empty($acfKey)){
                            global $post,$wpdb;
                            $DB_Result = $wpdb->get_results( $wpdb->prepare( "SELECT {$wpdb->postmeta}.post_id FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->posts}.ID = {$wpdb->postmeta}.post_id AND {$wpdb->posts}.post_status = %s AND {$wpdb->postmeta}.meta_key = %s ", "publish", $acfKey ) );

                            foreach($DB_Result as $data){
                                if( !empty($data) && !empty($data->post_id) ){
                                    $chk = get_post_field($acfKey, $data->post_id);
                                    if(!empty($chk)){
                                        $acfArr[$chk] = array("name" => $chk);
                                    }
                                }
                            }
                        }
                        $output .= $this->tp_radio($acfArr, $Title, $acfKey,'','','', $Repeater);
                    }else if($Wp_Type == 'range'){
                        $Max = !empty($Repeater['maxPrice']) ? $Repeater['maxPrice'] : 10000;
                        $Min = !empty($Repeater['minPrice']) ? $Repeater['minPrice'] : 0;
                        $step = !empty($Repeater['steps']) ? $Repeater['steps'] : 100;

                        $output .=  $this->tp_range($Title, $Max, $Min, $step, $acfKey, $Repeater);
                    }else if($Wp_Type == 'drop_down'){
                        if(!empty($acfKey)){
                            global $post,$wpdb;
                            $DB_Result = $wpdb->get_results( $wpdb->prepare( "SELECT {$wpdb->postmeta}.post_id FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->posts}.ID = {$wpdb->postmeta}.post_id AND {$wpdb->posts}.post_status = %s AND {$wpdb->postmeta}.meta_key = %s ", "publish", $acfKey ) );

                            foreach($DB_Result as $key => $data){
                                if( !empty($data) && !empty($data->post_id) ){
                                    $chk = get_post_field($acfKey, $data->post_id);
                                    if( !empty($chk) ){
                                        $acfArr[$chk] = array("name" => $chk);
                                    }
                                }
                            }
                        }

                        $output .= $this->tp_drop_down($acfArr, $Title, $acfKey,'','', $Repeater);
                    }else if($Wp_Type == 'autocomplete'){
                        $output .= $this->tp_autocomplete($acfKey, $Repeater);
                    }
                }else if($Filter_Option == 'Woofilter'){
                    if($Woo_Type == 'rating'){
                        $output .= $this->tp_rating($Repeater, $acfKey);
                    }else if($Woo_Type == 'color'){
                        $data=[];
                        $CPKey = !empty($Repeater['ColorPickerKey']) ? 'wpcf-'.$Repeater['ColorPickerKey'] : '';

                        global $post,$wpdb;
                        $GetResult = $wpdb->get_results( $wpdb->prepare( "SELECT {$wpdb->postmeta}.post_id, {$wpdb->postmeta}.meta_value, {$wpdb->postmeta}.meta_key FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->posts}.ID = {$wpdb->postmeta}.post_id AND {$wpdb->posts}.post_status = %s AND {$wpdb->postmeta}.meta_key = %s ", "publish", $CPKey ) );

                        if( is_array($GetResult) && !empty($GetResult) ){
                            foreach ( $GetResult as $one ) {
                                $CrName=$count=[];
                                $PostId = $one->post_id;
                                $MetaValue = $one->meta_value;

                                if( !empty($acfKey) ){
                                    $CrName = get_post_meta($PostId, $acfKey, false);
                                }

                                if( !empty($one->meta_value) ){
                                    if( !empty($count[$one->meta_value]) ){
                                        $count[$one->meta_value]++;
                                    }else{
                                        $count[$one->meta_value] = 1;
                                    }
                                }

                                $data[$one->meta_value] = array(
                                    'name' => !empty($CrName[0]) ? $CrName[0] : $MetaValue,
                                    'code' => $one->meta_value,
                                    'count' => $count,
                                );
                            }
                        }
                        $output .= $this->tp_color_field($data, $Taxonomy, $ShowCount, $CPKey, $tooltip, $attr_class, $Repeater);
                    }else if($Woo_Type == 'image'){
                        $data=[];
                        if(!empty($acfKey)){
                            global $post,$wpdb;
                            $GetResult = $wpdb->get_results( $wpdb->prepare( "SELECT {$wpdb->postmeta}.post_id, {$wpdb->postmeta}.meta_value, {$wpdb->postmeta}.meta_key FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->posts}.ID = {$wpdb->postmeta}.post_id AND {$wpdb->posts}.post_status = %s AND {$wpdb->postmeta}.meta_key = %s ", "publish", $acfKey ) );

                            if( is_array($GetResult) && !empty($GetResult) ){
                                foreach ($GetResult as $key => $one) {
                                    $data[$one->meta_value] = array(
                                        'name' => $one->meta_value,
                                        'title' => $one->meta_key,
                                        'url' => $one->meta_value,
                                    );
                                }
                            }
                        }
                        $output .= $this->tp_image_field($data, $Taxonomy, $ShowCount, $acfKey, $tooltip, $attr_class, $Repeater);
                    }else if($Woo_Type == 'button'){
                        $data=[];
                        global $post,$wpdb;
                        $GetResult = $wpdb->get_results( $wpdb->prepare( "SELECT {$wpdb->postmeta}.post_id, {$wpdb->postmeta}.meta_value, {$wpdb->postmeta}.meta_key FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->posts}.ID = {$wpdb->postmeta}.post_id AND {$wpdb->posts}.post_status = %s AND {$wpdb->postmeta}.meta_key = %s ", "publish", $acfKey ) );

                        if( is_array($GetResult) && !empty($GetResult) ){
                            foreach ($GetResult as $one) {
                                if( !empty($one) ){
                                    $array2 = explode( "|", $one->meta_value );

                                    foreach ($array2 as $two) {
                                        $data[trim($two)] = array( 'name' => trim($two) );
                                    }
                                }
                            }
                        }
                        $output .= $this->tp_button_field($data, $Taxonomy, $ShowCount, $acfKey, $tooltip, $attr_class, $Repeater);
                    }
                }
            }
        }else if($ContentType == 'pods_conne'){
            if( class_exists('PodsInit') ){
                $acfArr = [];
                $acfKey = !empty($Repeater['acfKey']) ? $Repeater['acfKey'] : '';
                $Taxonomy = !empty($Repeater['TaxonomyType']) ? $Repeater['TaxonomyType'] : '';

                if($Filter_Option == 'wpfilter'){
                    if($Wp_Type == 'search'){
                        $output .= $this->tp_text_field($Uid, $acfKey, $Repeater);
                    }else if($Wp_Type == 'tabbing'){
                        global $post,$wpdb;
                        $DB_Result = $wpdb->get_results( $wpdb->prepare( "SELECT {$wpdb->postmeta}.post_id, {$wpdb->postmeta}.meta_value FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->posts}.post_name = %s AND {$wpdb->posts}.post_status = %s AND {$wpdb->posts}.post_type = %s AND {$wpdb->postmeta}.meta_key = %s ", $acfKey, "publish", "_pods_field", $acfKey ) );

                        if( !empty($DB_Result) ){
                            foreach ($DB_Result as $value) {
                                $array2 = explode("|", $value->meta_value);

                                foreach ($array2 as $two) {
                                    $Data[trim($two)] = array('name' => trim($two));
                                }
                            }
                        }
                        $output .= $this->tp_tabbing_filter($Data, $acfKey, $ShowCount, $Repeater);
                    }else if($Wp_Type == 'date'){
                        $output .= $this->tp_date($Title, $acfKey, $Repeater);
                    }else if($Wp_Type == 'checkbox'){
                        global $post,$wpdb;
                        $DB_Result = $wpdb->get_results( $wpdb->prepare( "SELECT {$wpdb->postmeta}.post_id, {$wpdb->postmeta}.meta_key, {$wpdb->postmeta}.meta_value FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->postmeta}.post_id = {$wpdb->posts}.ID And {$wpdb->postmeta}.meta_key = %s AND {$wpdb->posts}.post_status = %s ", $acfKey, "publish" ) );

                        if( !empty($DB_Result) ){
                            foreach ($DB_Result as $value) {
                                $array2 = explode("|", $value->meta_value);

                                foreach ($array2 as $two) {
                                    $acfArr[trim($two)] = array( "name" => trim($two) );
                                }
                            }
                        }

                        $output .= $this->tp_checkbox($acfArr, $Title, $acfKey,'','','', $Repeater);
                    }else if($Wp_Type == 'radio'){
                        global $post,$wpdb;
                        $DB_Result = $wpdb->get_results( $wpdb->prepare( "SELECT {$wpdb->postmeta}.post_id, {$wpdb->postmeta}.meta_key, {$wpdb->postmeta}.meta_value FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->postmeta}.post_id = {$wpdb->posts}.ID And {$wpdb->postmeta}.meta_key = %s AND {$wpdb->posts}.post_status = %s ", $acfKey, "publish" ) );

                        if( !empty($DB_Result) ){
                            foreach ($DB_Result as $key => $value) {
                                $array2 = explode("|", $value->meta_value);

                                foreach ($array2 as $two) {
                                    $acfArr[trim($two)] = array("name" => trim($two));
                                }
                            }
                        }
                        $output .= $this->tp_radio($acfArr, $Title, $acfKey,'','','', $Repeater);
                    }else if($Wp_Type == 'range'){
                        $Max = !empty($Repeater['maxPrice']) ? $Repeater['maxPrice'] : 10000;
                        $Min = !empty($Repeater['minPrice']) ? $Repeater['minPrice'] : 0;
                        $step = !empty($Repeater['steps']) ? $Repeater['steps'] : 100;

                        $output .=  $this->tp_range($Title, $Max, $Min, $step, $acfKey, $Repeater);
                    }else if($Wp_Type == 'drop_down'){
                        global $post,$wpdb;
                        $DB_Result = $wpdb->get_results( $wpdb->prepare( "SELECT {$wpdb->postmeta}.post_id, {$wpdb->postmeta}.meta_key, {$wpdb->postmeta}.meta_value FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->postmeta}.post_id = {$wpdb->posts}.ID And {$wpdb->postmeta}.meta_key = %s AND {$wpdb->posts}.post_status = %s ", $acfKey, "publish" ) );

                        if( !empty($DB_Result) ){
                            foreach ($DB_Result as $value) {
                                $array2 = explode("|", $value->meta_value);

                                foreach ($array2 as $two) {
                                    $acfArr[trim($two)] = array("name" => trim($two));
                                }
                            }
                        }
                        $output .= $this->tp_drop_down($acfArr, $Title, $acfKey,'','', $Repeater);
                    }else if($Wp_Type == 'autocomplete'){
                        $output .= $this->tp_autocomplete($acfKey, $Repeater);
                    }
                }else if($Filter_Option == 'Woofilter'){
                    if($Woo_Type == 'rating'){
                        $output .= $this->tp_rating($Repeater, $acfKey);
                    }else if($Woo_Type == 'color'){
                        $data=[];
                        $CPKey = !empty($Repeater['ColorPickerKey']) ? $Repeater['ColorPickerKey'] : '';
                        global $post,$wpdb;

                        $DB_Result = $wpdb->get_results( $wpdb->prepare( "SELECT {$wpdb->postmeta}.post_id, {$wpdb->postmeta}.meta_key, {$wpdb->postmeta}.meta_value FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->postmeta}.post_id = {$wpdb->posts}.ID And {$wpdb->postmeta}.meta_key = %s AND {$wpdb->posts}.post_status = %s ", $CPKey, "publish" ) );

                        foreach ($DB_Result as $value) {
                            $CrName = [];
                            $PostId = $value->post_id;
                            $MetaValue = $value->meta_value;

                            if( !empty($acfKey) ){
                                $CrName = get_post_meta($PostId, $acfKey, false);
                            }

                            if( !empty($MetaValue) ){
                                if( !empty($count[$MetaValue]) ){
                                    $count[$MetaValue]++;
                                }else{
                                    $count[$MetaValue] = 1;
                                }
                            }

                            $data[$MetaValue] = array(
                                'name' => !empty($CrName[0]) ? $CrName[0] : $MetaValue,
                                'code' => $MetaValue,
                                'count' => $count,
                            );
                        }
                        $output .= $this->tp_color_field($data, $Taxonomy, $ShowCount, $CPKey, $tooltip, $attr_class, $Repeater);
                    }else if($Woo_Type == 'image'){
                        $data=[];
                        if(!empty($acfKey)){
                            global $post,$wpdb;
                            $GetResult = $wpdb->get_results( $wpdb->prepare( "SELECT {$wpdb->postmeta}.post_id, {$wpdb->postmeta}.meta_value, {$wpdb->posts}.guid, {$wpdb->posts}.post_title FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->postmeta}.meta_key = %s AND {$wpdb->postmeta}.meta_value = {$wpdb->posts}.ID ", $acfKey ) );

                            if( is_array($GetResult) && !empty($GetResult) ){
                                foreach ($GetResult as $one) {
                                    $data[$one->meta_value] = array(
                                        'name' => $one->meta_value,
                                        'title' => $one->post_title,
                                        'url' => $one->guid,
                                    );
                                }
                            }
                        }
                        $output .= $this->tp_image_field($data, $Taxonomy, $ShowCount, $acfKey, $tooltip, $attr_class, $Repeater);
                    }else if($Woo_Type == 'button'){
                        $data=[];
                        global $post,$wpdb;
                        $DB_Result = $wpdb->get_results( $wpdb->prepare( "SELECT {$wpdb->postmeta}.post_id, {$wpdb->postmeta}.meta_value FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->postmeta}.meta_key = %s And {$wpdb->postmeta}.post_id = {$wpdb->posts}.ID AND {$wpdb->posts}.post_status = %s ", $acfKey, "publish" ) );

                        if( !empty($DB_Result) ){                            
                            foreach ($DB_Result as $value) {
                                $array2 = explode("|", $value->meta_value);
                                foreach ($array2 as $two) {
                                    $data[trim($two)] = array( 'name' => trim($two) );
                                }
                            }
                        }
                        $output .= $this->tp_button_field($data, $Taxonomy, $ShowCount, $acfKey, $tooltip, $attr_class, $Repeater);
                    }
                }
            }
        }else if($ContentType == 'metabox_conne'){
            if( class_exists( 'RWMB_Field' ) ){
                $acfArr = [];
                $acfKey = !empty($Repeater['acfKey']) ? $Repeater['acfKey'] : '';
                $Taxonomy = !empty($Repeater['TaxonomyType']) ? $Repeater['TaxonomyType'] : '';

                if($Filter_Option == 'wpfilter'){
                    if($Wp_Type == 'search'){
                        $output .= $this->tp_text_field($Uid, $acfKey, $Repeater);
                    }else if($Wp_Type == 'tabbing'){
                        global $post,$wpdb;
                        $DB_Result = $wpdb->get_results( $wpdb->prepare( "SELECT {$wpdb->postmeta}.post_id, {$wpdb->postmeta}.meta_key, {$wpdb->postmeta}.meta_value FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->postmeta}.post_id = {$wpdb->posts}.ID And {$wpdb->postmeta}.meta_key = %s AND {$wpdb->posts}.post_status = %s ", $acfKey, "publish" ) );

                        if( !empty($DB_Result) ){
                            foreach ($DB_Result as $value) {
                                $array2 = explode("|", $value->meta_value);

                                foreach ($array2 as $two) {
                                    $Data[ trim($two) ] = array( "name" => trim($two) );
                                }
                            }
                        }
                        $output .= $this->tp_tabbing_filter($Data, $acfKey, $ShowCount, $Repeater);
                    }else if($Wp_Type == 'date'){
                        $output .= $this->tp_date($Title, $acfKey, $Repeater);
                    }else if($Wp_Type == 'checkbox'){
                        global $post,$wpdb;
                        $DB_Result = $wpdb->get_results( $wpdb->prepare( "SELECT {$wpdb->postmeta}.post_id, {$wpdb->postmeta}.meta_key, {$wpdb->postmeta}.meta_value FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->postmeta}.post_id = {$wpdb->posts}.ID And {$wpdb->postmeta}.meta_key = %s AND {$wpdb->posts}.post_status = %s ", $acfKey, "publish" ) );
                        
                        if( !empty($DB_Result) ){
                            foreach ($DB_Result as $value) {
                                $array2 = explode("|", $value->meta_value);

                                foreach ($array2 as $two) {
                                    $acfArr[trim($two)] = array("name" => trim($two));
                                }
                            }
                        }

                        $output .= $this->tp_checkbox($acfArr, $Title, $acfKey,'','','', $Repeater);
                    }else if($Wp_Type == 'radio'){
                        global $post,$wpdb;
                        $DB_Result = $wpdb->get_results( $wpdb->prepare( "SELECT {$wpdb->postmeta}.post_id, {$wpdb->postmeta}.meta_key, {$wpdb->postmeta}.meta_value FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->postmeta}.post_id = {$wpdb->posts}.ID And {$wpdb->postmeta}.meta_key = %s AND {$wpdb->posts}.post_status = %s ", $acfKey, "publish" ) );

                        if(!empty($DB_Result)){
                            foreach ($DB_Result as $value) {
                                $array2 = explode("|", $value->meta_value);

                                foreach ($array2 as $two) {
                                    $acfArr[trim($two)] = array("name" => trim($two));
                                }
                            }
                        }
                        $output .= $this->tp_radio($acfArr, $Title, $acfKey,'','','', $Repeater);
                    }else if($Wp_Type == 'range'){
                        $Max = !empty($Repeater['maxPrice']) ? $Repeater['maxPrice'] : 10000;
                        $Min = !empty($Repeater['minPrice']) ? $Repeater['minPrice'] : 0;
                        $Step = !empty($Repeater['steps']) ? $Repeater['steps'] : 100;

                        $output .=  $this->tp_range($Title, $Max, $Min, $Step, $acfKey, $Repeater);
                    }else if($Wp_Type == 'drop_down'){
                        global $post,$wpdb;
                        $DB_Result = $wpdb->get_results( $wpdb->prepare( "SELECT {$wpdb->postmeta}.post_id, {$wpdb->postmeta}.meta_key, {$wpdb->postmeta}.meta_value FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->postmeta}.post_id = {$wpdb->posts}.ID And {$wpdb->postmeta}.meta_key = %s AND {$wpdb->posts}.post_status = %s ", $acfKey, "publish" ) );

                        if( !empty($DB_Result) ){
                            foreach ($DB_Result as $value) {
                                $array2 = explode("|", $value->meta_value);

                                foreach ($array2 as $two) {
                                    $acfArr[trim($two)] = array("name" => trim($two));
                                }
                            }
                        }
                        $output .= $this->tp_drop_down($acfArr, $Title, $acfKey,'','', $Repeater);
                    }else if($Wp_Type == 'autocomplete'){
                        $output .= $this->tp_autocomplete($acfKey, $Repeater);
                    }
                }else if($Filter_Option == 'Woofilter'){
                    if($Woo_Type == 'rating'){
                        $output .= $this->tp_rating($Repeater, $acfKey);
                    }else if($Woo_Type == 'color'){
                        $data=[];
                        $CPKey = !empty($Repeater['ColorPickerKey']) ? $Repeater['ColorPickerKey'] : '';
                        global $post,$wpdb;

                        $DB_Result = $wpdb->get_results( $wpdb->prepare( "SELECT {$wpdb->postmeta}.post_id, {$wpdb->postmeta}.meta_key, {$wpdb->postmeta}.meta_value FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->postmeta}.post_id = {$wpdb->posts}.ID And {$wpdb->postmeta}.meta_key = %s AND {$wpdb->posts}.post_status = %s ", $CPKey, "publish" ) );

                        foreach ($DB_Result as $value) {
                            $CrName = [];
                            $PostId = (!empty($value) && !empty($value->post_id)) ? $value->post_id : ''; 
                            $MetaValue = (!empty($value) && !empty($value->meta_value)) ? $value->meta_value : '';

                            if( !empty($acfKey) ){
                                $CrName = get_post_meta( $PostId, $acfKey, false );
                            }

                            if( !empty($MetaValue) ){
                                if( !empty($count[$MetaValue]) ){
                                    $count[$MetaValue]++;
                                }else{
                                    $count[$MetaValue] = 1;
                                }
                            }

                            $data[$MetaValue] = array(
                                'name' => !empty($CrName[0]) ? $CrName[0] : $MetaValue,
                                'code' => $MetaValue,
                                'count' => $count,
                            );
                        }   
                        $output .= $this->tp_color_field($data, $Taxonomy, $ShowCount, $CPKey, $tooltip, $attr_class, $Repeater);
                    }else if($Woo_Type == 'image'){
                        $data=[];
                        if(!empty($acfKey)){
                            global $post,$wpdb;
                            $GetResult = $wpdb->get_results( $wpdb->prepare( "SELECT {$wpdb->postmeta}.post_id, {$wpdb->postmeta}.meta_value, {$wpdb->posts}.guid, {$wpdb->posts}.post_title FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->postmeta}.meta_key = %s AND {$wpdb->postmeta}.meta_value = {$wpdb->posts}.ID ", $acfKey ) );

                            if( is_array($GetResult) && !empty($GetResult) ){
                                foreach ($GetResult as $one) {
                                    $data[$one->meta_value] = array(
                                        'name' => $one->meta_value,
                                        'title' => $one->post_title,
                                        'url' => $one->guid,
                                    );
                                }
                            }
                            $output .= $this->tp_image_field($data, $Taxonomy, $ShowCount, $acfKey, $tooltip, $attr_class, $Repeater);
                        }
                    }else if($Woo_Type == 'button'){
                        $data=[];
                        global $post,$wpdb;
                        $DB_Result = $wpdb->get_results( $wpdb->prepare( "SELECT {$wpdb->postmeta}.post_id, {$wpdb->postmeta}.meta_key, {$wpdb->postmeta}.meta_value FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->postmeta}.post_id = {$wpdb->posts}.ID And {$wpdb->postmeta}.meta_key = %s AND {$wpdb->posts}.post_status = %s ", $acfKey, "publish" ) );

                        if( !empty($DB_Result) ){
                            foreach ($DB_Result as $value) {
                                $array2 = explode("|", $value->meta_value);

                                foreach ($array2 as $two) {
                                    $data[trim($two)] = array("name" => trim($two));
                                }
                            }
                        }
                        $output .= $this->tp_button_field($data, $Taxonomy, $ShowCount, $acfKey, $tooltip, $attr_class, $Repeater);

                    }
                }
            }
        }else{
            $output .= $this->Filter_ErrorShow('Select Type');
        }
        return $output;
    }

    Protected function hierarchical_sub_category_tree($attrSlug) {
        $ChildSpace = array(  
            'taxonomy' => $attrSlug,
            'orderby' => 'parent',
            'hierarchical'  => true,
            'hide_empty' => 1,
        );
        $ChildSpaCat = get_categories($ChildSpace);

        $a1=$a2=$a3=$a4=$a5=$sequence=[];
        foreach($ChildSpaCat as $prod_cat){
            if($prod_cat->parent == 0){
                $a1[] = $prod_cat->term_id;
                $sequence[$prod_cat->term_id] = '1';
            }
        }
        foreach($ChildSpaCat as $c1){
            foreach($a1 as $p2){
                if($c1->parent == $p2){
                    $a2[] = $c1->term_id;
                    $sequence[$c1->term_id] = '2';
                }
            }			
        }
        foreach($ChildSpaCat as $c1){
            foreach($a2 as $p3){
                if( $c1->parent == $p3 ){
                    $a3[] = $c1->term_id;
                    $sequence[$c1->term_id] = '3';
                }
            }
        }
        foreach($ChildSpaCat as $c1){
            foreach($a3 as $p4){
                if($c1->parent == $p4){
                    $a4[] = $c1->term_id;
                    $sequence[$c1->term_id] = '4';
                }
            }			
        }
        foreach($ChildSpaCat as $c1){
            foreach($a4 as $p5){
                if( $c1->parent == $p5 ){
                    $a5[] = $c1->term_id;
                    $sequence[$c1->term_id] = '4';
                }
            }
        }
        return $sequence;
    }

    Protected function tp_filter_aaray($TaxonomyTT, $ContentType, $Field, $layout_Type=''){
        $array = array(
            'name' => $TaxonomyTT,
            'id' => uniqid($TaxonomyTT),
            'field' => $Field,
            'type' => $ContentType,
        );

        if( $Field == 'date'){
            $Date = array('layout'=>$layout_Type);
            $array = array_merge($array, $Date);
        }
        return $array;
    }

    protected function tp_connection_values($ConnectionKey, $ContentType){
        global $post,$wpdb;

        $Data = [];
        $KeyName='';
        $PubliStatus = 'publish';
        $GetResult = $wpdb->get_results( $wpdb->prepare("SELECT {$wpdb->posts}.ID FROM {$wpdb->posts} WHERE {$wpdb->posts}.post_status = %s ", $PubliStatus) );
        if(!empty($GetResult) && is_array($GetResult)){
            foreach ($GetResult as $one) {
                if($ContentType == "toolset_conne"){
                    $KeyName = get_post_field( $ConnectionKey , $one->ID );
                }

                if(!empty($KeyName)){
                    $array2 = explode("|", $KeyName);

                    foreach ($array2 as $two) {
                        $value = str_replace(' ', '-', ltrim(rtrim($two)));
                        $Data[$value] = array('name' => $value);
                    }
                }
            }
        }

        return $Data;
    }

    Protected function tp_filter_title($Repeater){
        $output='';
        $HeadingOn = !empty($Repeater['headingOn']) ? $Repeater['headingOn'] : '';
        
        if(!empty($HeadingOn)){
            $title = !empty($Repeater['fieldTitle']) ? $Repeater['fieldTitle'] : '';
            $DiableToggle = !empty($Repeater['Toggdisable']) ? true : false;
            $showIcon = !empty($Repeater['showIcon']) ? true : false;
            $Titlelayout = ($Repeater['Titlelayout'] == 'inline') ? 'tp-title-inline' :'';

            $DataValue = json_encode(array(
                'ToggleOn' => $DiableToggle,
                'DefaultValue' => !empty($Repeater['ToggDef']) ? true : false,
            ),true);

            $output .= '<div class="tp-field-title '.esc_attr($Titlelayout).'" data-ShowData='.esc_attr($DataValue).' >';
                if(!empty($showIcon) && !empty($Repeater['Iconlib']) && !empty($Repeater['Iconlib']['value'])){
                    ob_start();
                        \Elementor\Icons_Manager::render_icon($Repeater['Iconlib'],['aria-hidden'=>'true']);
                        $Icon = ob_get_contents();
                    ob_end_clean();	
                    $output .= '<span class="tp-title-icon">'.$Icon.'</span>';
                }
                $output .= '<span class="tp-title-text">'.esc_html($title).'</span>';
                if(!empty($DiableToggle)){
                    $output .= '<span class="tp-title-toggle">';
                        $output .= '<i class="fas fa-angle-up tp-toggle-up" aria-hidden="true"></i>';
                        $output .= '<i class="fas fa-angle-down tp-toggle-down" aria-hidden="true"></i>';
                    $output .= '</span>';
                }
            $output .= '</div>';
        }
        return $output;
    }

    protected function tp_text_field($WidgetId,$key,$Repeater){
        $op='';
        $Placeholder = !empty($Repeater['placeholder']) ? $Repeater['placeholder'] :'';

        $GFilter=[];
		if(!empty($Repeater['GenericFilter'])){
			$GFilter = array(
                'GFEnable'=> 1,
                'GFSType' => !empty($Repeater['SearchMatch']) ? $Repeater['SearchMatch'] : 'otheroption',
				'GFTitle' => !empty($Repeater['sintitle']) ? 1 : 0,
				'GFContent' => !empty($Repeater['sincontent']) ? 1 : 0,
				'GFName' => !empty($Repeater['sinname']) ? 1 : 0,
				'GFExcerpt' => !empty($Repeater['sinexcerpt']) ? 1 : 0,
				'GFCategory' => !empty($Repeater['sincategory']) ? 1 : 0,
				'GFTags' => !empty($Repeater['sinTags']) ? 1 : 0,
			);
		}else{
            $GFilter = array('GFEnable'=> 0);
        }

        $GFarray = json_encode($GFilter, true);

        $op .= $this->tp_filter_title($Repeater);
        $op .= '<div class="tp-search-wrap">';
            $op .= '<input id="search" class="form-control tp-search-input" type="text" name="search" placeholder="'.esc_attr($Placeholder).'" data-key="'.esc_attr($key).'" data-genericfilter='.$GFarray.'  data-title="search" />';
            $op .= '<i class="fas fa-search tp-search-icon" aria-hidden="true"></i>';
        $op .= '</div>';
        return $op;
    }

    protected function tp_drop_down( $data, $label, $name, $showCnt, $attr, $Repeater ){
        $output='';
        $output .= $this->tp_filter_title($Repeater);

        $WooSorting = !empty($Repeater['WooFiltersSort']) ? $Repeater['WooFiltersSort'] : '';
        $DefaultTitle = !empty($Repeater['DDtitle']) ? $Repeater['DDtitle'] : '';
        $ImageON = !empty($Repeater['Imageshow']) ? $Repeater['Imageshow'] : '';
        $layout_style = !empty($Repeater['layout_style']) ? $Repeater['layout_style'] : 'style-1';

        if(!empty($WooSorting)){
            $WooFiltersSelect = !empty($Repeater['WooFiltersSelect']) ? $Repeater['WooFiltersSelect'] : [];
            $WooName=[''=> $DefaultTitle ];
            if(!empty($WooFiltersSelect)){
                foreach ($WooFiltersSelect as $val) {
                    if($val == "featured"){ $WooName[$val] = 'Featured';
                    }else if($val == "on_sale"){ $WooName[$val] = 'On sale';
                    }else if($val == "top_sales"){ $WooName[$val] = 'Top Sales';
                    }else if($val == "instock"){ $WooName[$val] = 'In Stock';
                    }else if($val == "outofstock"){ $WooName[$val] = 'Out of Stock';
                    }
                }
            }

            $output .= '<div class="tp-select tp-woo-sorting">';
                $output .= '<div class="tp-select-dropdown">';
                    $output .= '<span>'.esc_html__($DefaultTitle).'</span>';
                    $output .= '<i class="fas fa-chevron-down tp-dd-icon"></i>';
                $output .= '</div>';
                $output .= '<input type="hidden" name="woo_SgDropDown" id="woo_SgDropDown" data-txtval="">';
                $output .= '<ul class="tp-sbar-dropdown-menu">';
                    foreach($WooName as $key => $item){
                        $output .= '<li id="'.esc_attr($key).'" class="tp-searchbar-li" >';
                            $output .= '<div class="tp-dd-labletxt" >'.esc_html__($item).'</div>';
                        $output .= '</li>';
                    }
                $output .= '</ul>';
            $output .= '</div>';
        }else{
            $output .= '<div class="tp-select '.esc_attr($layout_style).'">';
                $output .= '<div class="tp-select-dropdown">';
                    $output .= '<span>'.esc_html__($DefaultTitle).'</span>';
                    $output .= '<i class="fas fa-chevron-down tp-dd-icon"></i>';
                $output .= '</div>';
                $output .= '<input type="hidden" name="'.esc_attr($name).'" id="'.esc_attr($name).'" data-title="" data-txtval="">';
                $output .= '<ul class="tp-sbar-dropdown-menu">';
                $output .= '<li id="" class="tp-searchbar-li" >'.esc_html__($DefaultTitle).'</li>';
                    foreach($data as $value => $label){
                        $DataName = !empty($label['name']) ? $label['name'] : '';
                        $DataCount = !empty($label['count']) ? $label['count'] : '';
                        $DataImage = !empty($label['image']) ? $label['image'] : '';

                        $output .= '<li id="'.esc_attr($value).'" class="tp-searchbar-li" >';
                            if(!empty($ImageON) && !empty($DataImage)){
                                $output .= '<div class="tp-dd-lableImg" ><img src="'.esc_html($DataImage).'" class="tp-dd-thumbimg" /></div>';   
                            }

                            if($layout_style == 'style-1'){
                                $output .= '<div class="tp-dd-labletxt" >'.esc_html($DataName).'</div>';
                                $output .= !empty($showCnt) ? '<div class="tp-dd-counttxt" >('.esc_html($DataCount).')</div>' : '';
                            }else if($layout_style == 'style-2'){
                                $output .= '<div class="tp-dd-contener" >';
                                    $output .= '<div class="tp-dd-labletxt" >'.esc_html($DataName).'</div>';
                                    $output .= !empty($showCnt) ? '<div class="tp-dd-counttxt" >'.esc_html($DataCount).'</div>' : '';
                                $output .= '</div>';
                            }
                        $output .= '</li>';
                    }
                $output .= '</ul>';
            $output .= '</div>';
        }
        return $output;
    }

    protected function tp_checkbox($data, $label, $name, $showCnt, $attr, $showchild, $Repeater){
        $settings = $this->get_settings_for_display();
        $output = '';
        $output .= '<input name="checkhidden" type="hidden" value="'.esc_attr($name).'">';
        $output .= $this->tp_filter_title($Repeater);
        $TPPrefix = $this->tp_unique_widget_id($name, $Repeater);
        $Taxonomy=!empty($Repeater['TaxonomyType']) ? $Repeater['TaxonomyType'] : '';
        $ImageON=!empty($Repeater['Imageshow']) ? $Repeater['Imageshow'] : '';
        $layout_style = !empty($Repeater['layout_style']) ? $Repeater['layout_style'] : 'style-1';
        $Archivpage = !empty($settings['enable_archive']) ? true : false;
        $ArchivMore = !empty($settings['enable_archivefiled']) ? true : false;
        $Archive_showall = !empty($settings['archive_showall']) ? $settings['archive_showall'] : '';
        $exclude_category_switch = !empty($Repeater['exclude_category_switch']) ? true : false;
        $ExcludeCategory = !empty($Repeater['exclude_category']) ? explode(",",$Repeater['exclude_category']) : '';
        
        $CatName='';
        if( is_archive() && !\Elementor\Plugin::$instance->editor->is_edit_mode() ){
            global $wp_query;
			$query_var = $wp_query->query_vars;

            if( isset($query_var['cat']) ){
                $CatName = $query_var['category_name'];
            }
            if( isset($query_var['tag']) ){
                $CatName = $query_var['tag'];
            }
            if( !empty($query_var) && isset($query_var['taxonomy']) && isset($query_var[$query_var['taxonomy']]) ){
                $CatName = $query_var[$query_var['taxonomy']];
            }
        }
        
        $output .= '<div class="tp-wp-checkBox tb-checkBox-data" data-tpprefix="'.esc_attr($TPPrefix).'">';
            $ArchiveName=$classArchive='';
            if(!empty($exclude_category_switch) && !empty($ExcludeCategory)){
                foreach($data as $key => $Perent){
                    if ( in_array($key, $ExcludeCategory) ){
                        unset($data[$key]);
                    }
                }   
            }
            if(is_archive() && !\Elementor\Plugin::$instance->editor->is_edit_mode()){
                foreach($data as $value => $label){
                    $DataName = !empty($label['slug']) ? $label['slug'] : '';
                    if( !empty($CatName) && strtolower($CatName) == strtolower($DataName) ){
                        $EnableChecked = "checked";
                        $ArchiveName = $value;
                        $output .= $this->tp_checkbox_html($Repeater, $label, $value, $TPPrefix, $name, $EnableChecked, $classArchive);
                    }
                }

                if( empty($ArchiveName) ){
                    foreach($data as $key => $Perent){
                        $DataChild = !empty($Perent['child']) ? $Perent['child'] :[];
                        if( !empty($DataChild) ){
                            foreach($DataChild as $value => $label){
                                $DataName = (!empty($label) && !empty($label->slug)) ? $label->slug : '';

                                if( !empty($CatName) && strtolower($CatName) == strtolower($DataName) ){
                                    $EnableChecked = "checked";
                                    $ArchiveName = $value;
                                    $label = json_decode(json_encode($label), true);
                                    $output .= $this->tp_checkbox_html($Repeater, $label, $value, $TPPrefix, $name, $EnableChecked, $classArchive);
                                }
                            }
                        }
                    }
                }
            }
            
            foreach($data as $value => $label){
                $EnableChecked="";
                $DataName = !empty($label['name']) ? $label['name'] : '';

                if( is_archive() && !\Elementor\Plugin::$instance->editor->is_edit_mode() ){
                    if(!empty($CatName) && strtolower($CatName) == strtolower($DataName)){
                        $EnableChecked = "checked";
                    }
                    if(!empty($Archivpage)){
                        $classArchive = "tp-archive-hidden";
                    }
                }

                if($ArchiveName != $value){
                    $output .= $this->tp_checkbox_html($Repeater, $label, $value, $TPPrefix, $name, $EnableChecked, $classArchive);
                }
            }

            if(!empty($ArchivMore)){
                $output .= $this->tp_archive_more($Repeater);
            }

            $output .= $this->tp_showmore_content($Repeater, 'checkbox');
        $output .= '</div>';

        return $output;
    }

    protected function tp_checkbox_html($Repeater, $label, $value, $TPPrefix, $name, $EnableChecked, $classArchive){
        $showCnt = !empty($Repeater['showCount']) ? 'yes' :'';
        $showchild = !empty($Repeater['showChild']) ? 'yes' :'';
        $ImageON=!empty($Repeater['Imageshow']) ? $Repeater['Imageshow'] : '';
        $Taxonomy=!empty($Repeater['TaxonomyType']) ? $Repeater['TaxonomyType'] : '';
        $layout_style = !empty($Repeater['layout_style']) ? $Repeater['layout_style'] : 'style-1';
        
        $DataName = !empty($label['name']) ? $label['name'] : '';
        $DataCount = !empty($label['count']) ? $label['count'] : '';
        $Datachild = !empty($label['child']) ? $label['child'] : '';
        $DataImage = !empty($label['image']) ? $label['image'] : '';
        $child_sequence = !empty($label['child_sequence']) ? $label['child_sequence'] : [];

        $output = '<div class="tp-checkBox '.esc_attr($layout_style).' '.esc_attr($classArchive).'">';
            $output .= '<div class="tp-group">';
                $output .= '<div class="tp-group-one">';
                    $output .= '<input type="checkbox" name="'.esc_attr($name).'" value="'.esc_attr($value).'" id="'.esc_attr($TPPrefix).esc_attr($value).'" data-title="'.esc_attr($DataName).'" '.$EnableChecked.'/>';
                    $output .= '<label for="'.esc_attr($TPPrefix).esc_attr($value).'" class="tp-lable">';
                        $output .= '<span class="tp-check-icon">';
                            $output .= '<svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="check" class="checkbox-icon svg-inline--fa fa-check fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">';
                                $output .= '<path fill="currentColor" d="M435.848 83.466L172.804 346.51l-96.652-96.652c-4.686-4.686-12.284-4.686-16.971 0l-28.284 28.284c-4.686 4.686-4.686 12.284 0 16.971l133.421 133.421c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-28.284-28.284c-4.686-4.686-12.284-4.686-16.97 0z"></path>';
                            $output .= '</svg>';
                        $output .= '</span>';

                        if(!empty($DataImage) && !empty($ImageON)){
                            $output .= '<span class="tp-checkbox-Img"><img src="'.esc_html($DataImage).'" class="tp-checkbox-thumbimg" /></span>';
                        }

                        $output .= '<div class="tp-field-content">';
                            $output .= '<span class="tp-field-label">'.$DataName.'</span>';
                            $output .= ($layout_style == 'style-1' && !empty($showCnt)) ? '<span class="tp-field-Counter">('.$DataCount.')</span>' : '';
                        $output .= '</div>';
                    $output .= '</label>';
                $output .= '</div>';
                $output .= '<div class="tp-group-two">';
                    if(!empty($Datachild) && !empty($showchild)){
                        $output .= '<span class="tp-toggle">';
                            $output .= '<i class="tog-plus fa fa-plus" aria-hidden="true"></i>';
                            $output .= '<i class="tog-minus fa fa-minus" aria-hidden="true"></i>';
                        $output .= '</span>';
                    }
                    $output .= ($layout_style == 'style-2' && !empty($showCnt)) ? '<span class="tp-field-Counter">'.$DataCount.'</span>' : '';
                $output .= '</div>';
            $output .= '</div>';

            if(!empty($Datachild) && !empty($showchild)){
                $output .= '<div class="tp-child-taxo">';
                    foreach( $Datachild as $key => $child ){
                        $ImageURL='';
                        $TermId = !empty($child->term_id) ? $child->term_id : '';
                        $ChildName = !empty($child->name) ? $child->name : '';
                        $ChildCount = !empty($child->category_count) ? $child->category_count : '';
                        $Parent = !empty($child->parent) ? $child->parent : '';

                        if( ($Taxonomy == 'product_cat') && !empty($TermId)){
                            $GetImgID = get_term_meta($TermId, 'thumbnail_id', true);
                            $GetImgurl = wp_get_attachment_image_src($GetImgID, 'tp-image-grid');
                            if(!empty($GetImgurl)){
                                $ImageURL = $GetImgurl[0];
                            }
                        }
                        $SubCName = 0;
                        if( !empty( $child_sequence[$TermId] ) ){
                            $SubCName = 'tp-childsequence-'.$child_sequence[$TermId];
                        }

                        $output .= '<div class="tp-child-checkbox '.esc_attr($SubCName).'">';
                            $output .= '<input type="checkbox" name="'.esc_attr($name).'" value="'.esc_attr($TermId).'" id="'.esc_attr($TPPrefix).esc_attr($TermId).'" data-title="'.esc_attr($ChildName).'"/>';
                            $output .= '<label for="'.esc_attr($TPPrefix).esc_attr($TermId).'" >';
                                $output .= '<span class="tp-check-icon">';
                                    $output .= '<svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="check" class="checkbox-icon svg-inline--fa fa-check fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">';
                                        $output .= '<path fill="currentColor" d="M435.848 83.466L172.804 346.51l-96.652-96.652c-4.686-4.686-12.284-4.686-16.971 0l-28.284 28.284c-4.686 4.686-4.686 12.284 0 16.971l133.421 133.421c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-28.284-28.284c-4.686-4.686-12.284-4.686-16.97 0z"></path>';
                                    $output .= '</svg>';
                                $output .= '</span>';
                                if(!empty($ImageURL) && !empty($ImageON)){
                                    $output .= '<span class="tp-checkbox-Img"><img src="'.esc_html($ImageURL).'" class="tp-checkbox-thumbimg" /></span>';
                                }

                                $output .= '<div class="tp-field-content">';
                                    $output .= '<span class="tp-field-label">'.$ChildName.'</span>';
                                        if($layout_style == 'style-1'){
                                            $output .= '<span class="tp-field-Counter">('.$ChildCount.')</span>';
                                        }else if($layout_style == 'style-2'){
                                            $output .= '<span class="tp-field-Counter">'.$ChildCount.'</span>';
                                        }
                                $output .= '</div>';
                        $output .= '</div>';
                    }
                $output .= '</div>';
            }
        $output .= '</div>';

        return $output;
    }

    protected function tp_radio($data, $label, $name, $showCnt, $attr, $showchild, $Repeater){
        $settings = $this->get_settings_for_display();
        $TPPrefix = $this->tp_unique_widget_id($name, $Repeater);
        $Taxonomy = !empty($Repeater['TaxonomyType']) ? $Repeater['TaxonomyType'] : '';
        $ImageON = !empty($Repeater['Imageshow']) ? $Repeater['Imageshow'] : '';
        $layout_style = !empty($Repeater['layout_style']) ? $Repeater['layout_style'] : 'style-1';

        $Archivpage = !empty($settings['enable_archive']) ? true : false;
        $ArchivMore = !empty($settings['enable_archivefiled']) ? true : false;
        $Archive_showall = !empty($settings['archive_showall']) ? $settings['archive_showall'] : '';

        $exclude_category_switch = !empty($Repeater['exclude_category_switch']) ? true : false;
        $ExcludeCategory = !empty($Repeater['exclude_category']) ? explode(",",$Repeater['exclude_category']) : '';

        $CatName='';
        if(!empty($exclude_category_switch) && !empty($ExcludeCategory)){
            foreach($data as $key => $Perent){
                if ( in_array($key, $ExcludeCategory) ){
                    unset($data[$key]);
                }
            }   
        }
        if( is_archive() && !\Elementor\Plugin::$instance->editor->is_edit_mode() ){
            global $wp_query;
			$query_var = $wp_query->query_vars;

            if( isset($query_var['cat']) ){
                $CatName = $query_var['category_name'];
            }
            if( isset($query_var['tag']) ){
                $CatName = $query_var['tag'];
            }
            if( !empty($query_var) && isset($query_var['taxonomy']) && isset($query_var[$query_var['taxonomy']]) ){
                $CatName = $query_var[$query_var['taxonomy']];
            }
        }

        $output = '';
        $output .= '<input name="radiohidden" type="hidden" value="'.esc_attr($name).'">';
        $output .= $this->tp_filter_title($Repeater);

        $output .= '<div class="tp-wp-radio tb-checkBox-data" data-tpprefix="'.esc_attr($TPPrefix).'">';
            $ArchiveName=$classArchive='';
            if(is_archive() && !\Elementor\Plugin::$instance->editor->is_edit_mode()){
                foreach($data as $value => $label){
                    $DataName = !empty($label['slug']) ? $label['slug'] : '';
                    $EnableChecked="";

                    if(!empty($CatName) && strtolower($CatName) == strtolower($DataName)){
                        $EnableChecked = "checked";
                        $ArchiveName = $value;
                        $output .= $this->tp_radio_html($Repeater, $label, $value, $TPPrefix, $name, $EnableChecked, $classArchive);
                    }
                }

                if( empty($ArchiveName) ){
                    foreach($data as $key => $Perent){
                        $DataChild = !empty($Perent['child']) ? $Perent['child'] :[];
                        if( !empty($DataChild) ){
                            foreach($DataChild as $value => $label){
                                $DataName = (!empty($label) && !empty($label->slug)) ? $label->slug : '';

                                if( !empty($CatName) && strtolower($CatName) == strtolower($DataName) ){
                                    $EnableChecked = "checked";
                                    $ArchiveName = $value;
                                    $label = json_decode(json_encode($label), true);
                                    $output .= $this->tp_radio_html($Repeater, $label, $value, $TPPrefix, $name, $EnableChecked, $classArchive);
                                }
                            }
                        }
                    }
                }
            }
            
            foreach($data as $value => $label){
                $RadioName = !empty($label['name']) ? $label['name'] : '';
                $EnableChecked="";
                
                if(is_archive() && !\Elementor\Plugin::$instance->editor->is_edit_mode()){
                    if(!empty($CatName) && strtolower($CatName) == strtolower($RadioName)){
                        $EnableChecked = "checked";
                    }
                    if(!empty($Archivpage)){
                        $classArchive = "tp-archive-hidden";
                    }
                }

                if($ArchiveName != $value){
                    $output .= $this->tp_radio_html($Repeater, $label, $value, $TPPrefix, $name, $EnableChecked, $classArchive);
                }
            }   

            if(!empty($ArchivMore)){
                $output .= $this->tp_archive_more($Repeater);
            }
           
            $output .= $this->tp_showmore_content($Repeater, 'radio');
        $output .= '</div>';

        return $output;
    }

    protected function tp_radio_html($Repeater, $label, $value, $TPPrefix, $name, $EnableChecked, $classArchive){
        $showCnt = !empty($Repeater['showCount']) ? 'yes' :'';
        $showchild = !empty($Repeater['showChild']) ? 'yes' :'';
        $ImageON = !empty($Repeater['Imageshow']) ? $Repeater['Imageshow'] : '';
        $Taxonomy = !empty($Repeater['TaxonomyType']) ? $Repeater['TaxonomyType'] : '';
        $layout_style = !empty($Repeater['layout_style']) ? $Repeater['layout_style'] : 'style-1';
        $RadioName = !empty($label['name']) ? $label['name'] : '';
        $RadioCount = !empty($label['count']) ? $label['count'] : '';
        $DataImage = !empty($label['image']) ? $label['image'] : '';
        $child_sequence = !empty($label['child_sequence']) ? $label['child_sequence'] : [];

        $output = '<div class="tp-radio '.esc_attr($layout_style).' '.esc_attr($classArchive).'">';
            $output .= '<div class="tp-group">';
                $output .= '<div class="tp-group-one">';
                    $output .= '<input type="radio" name="'.esc_attr($name).'" value="'.esc_attr($value).'" id="'.esc_attr($TPPrefix).esc_attr($value).'" data-title="'.esc_attr($RadioName).'" '.$EnableChecked.'/>';
                    $output .= '<label for="'.esc_attr($TPPrefix).esc_attr($value).'" class="tp-lable">';
                        $output .= '<span class="tp-radio-icon">';
                            $output .= '<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="scrubber" class="radioIcon svg-inline--fa fa-scrubber fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 312c-35.3 0-64-28.7-64-64s28.7-64 64-64 64 28.7 64 64-28.7 64-64 64z"></path></svg>';
                        $output .= '</span>';
                        
                        if(!empty($DataImage) && !empty($ImageON)){
                            $output .= '<span class="tp-radio-Img"><img src="'.esc_html($DataImage).'" class="tp-radio-thumbimg" /></span>';
                        }

                        $output .= '<div class="tp-field-content">';
                            $output .= '<span class="tp-field-label">'.$RadioName.'</span>';
                            $output .= ($layout_style == 'style-1' && !empty($RadioCount)) ? '<span class="tp-field-Counter">('.$RadioCount.')</span>' : '';
                        $output .= '</div>';

                    $output .= '</label>';
                $output .= '</div>';

                $output .= '<div class="tp-group-two">';
                    if(!empty($label['child']) && !empty($showchild)){
                        $output .= '<span class="tp-toggle"><i class="tog-plus fa fa-plus" aria-hidden="true"></i><i class="tog-minus fa fa-minus" aria-hidden="true"></i></span>';
                    }
                    $output .= ($layout_style == 'style-2' && !empty($showCnt)) ? '<span class="tp-field-Counter">'.$RadioCount.'</span>' : '';
                $output .= '</div>';
            $output .= '</div>';

            if(!empty($label['child']) && !empty($showchild)){
                $output .= '<div class="tp-child-taxo">';
                    foreach( $label['child'] as $child ){
                        $ChildTermId = !empty($child->term_id) ? $child->term_id : '';
                        $childName = !empty($child->name) ? $child->name : '';
                        $CategoryCount = !empty($child->category_count) ?$child->category_count : 0;
                        $ParentID = !empty($child->parent) ? $child->parent : '';  

                        $ImageURL='';
                        if( ($Taxonomy == 'product_cat') && !empty($ChildTermId)){
                            $GetImgID = get_term_meta($ChildTermId, 'thumbnail_id', true);
                            $GetImgurl = wp_get_attachment_image_src($GetImgID, 'tp-image-grid');
                            if(!empty($GetImgurl)){
                                $ImageURL = $GetImgurl[0];
                            }
                        }

                        $SubCName = 0;
                        if( !empty( $child_sequence[$ChildTermId] ) ){
                            $SubCName = 'tp-childsequence-'.$child_sequence[$ChildTermId];
                        }

                        $output .= '<div class="tp-child-checkbox '.esc_attr($SubCName).'">';
                            $output .= '<input type="radio" name="'.esc_attr($name).'" value="'.esc_attr($ChildTermId).'" id="'.esc_attr($TPPrefix).esc_attr($ChildTermId).'" data-title="'.esc_attr($childName).'" />';
                            $output .= '<label for="'.esc_attr($TPPrefix).esc_attr($ChildTermId).'" >';
                                $output .= '<span class="tp-radio-icon">';
                                    $output .= '<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="scrubber" class="radioIcon svg-inline--fa fa-scrubber fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 312c-35.3 0-64-28.7-64-64s28.7-64 64-64 64 28.7 64 64-28.7 64-64 64z"></path></svg>';
                                $output .= '</span>';
                                if(!empty($ImageURL) && !empty($ImageON)){
                                    $output .= '<span class="tp-radio-Img"><img src="'.esc_html($ImageURL).'" class="tp-radio-thumbimg" /></span>';
                                }

                                $output .= '<div class="tp-field-content">';
                                        $output .= '<span class="tp-field-label">'.esc_html($childName).'</span>';
                                    if( $layout_style == 'style-1' && !empty($showCnt) ){
                                        $output .= '<span class="tp-field-Counter">('.esc_html($CategoryCount).')</span>';
                                    }else if( $layout_style == 'style-2' && !empty($showCnt) ){
                                        $output .= '<span class="tp-field-Counter">'.esc_html($CategoryCount).'</span>';
                                    }
                                $output .= '</div>';
                        $output .= '</div>';
                    }
                $output .= '</div>';
            }
        $output .= '</div>';

        return $output;
    }

    protected function tp_range($label,$max,$min,$step,$key,$Repeater){
        $sildAttr=[];
        $sildAttr['maxValue'] = $max;
        $sildAttr['minValue'] = $min;
        $sildAttr['stepValue'] = (int)$step;
        $sildAttr['type'] = isset($Repeater['ContentType']) ? $Repeater['ContentType'] :'';
        $sildAttr['field'] = 'range';
        $sildAttr['name'] = $key;
        $sildAttr['pricesymbol'] = !empty($Repeater['rpricesymbol']) ? $Repeater['rpricesymbol'] : '';

        $op='';
        $op .= $this->tp_filter_title($Repeater);
        $op .= '<div class="tp-range-silder">';
            $op .= '<div class="tp-range" data-sliderattr=\''.json_encode($sildAttr).'\' ></div>';
        $op .= '</div>';

        return $op;
    }

    protected function tp_date($title,$key,$Repeater){
        $lableOn = !empty($Repeater['lableDisable']) ? 1:0;
        $lableOne = (!empty($lableOn) && !empty($Repeater['lableOne_date'])) ? $Repeater['lableOne_date'] : '';
        $lableTwo = (!empty($lableOn) && !empty($Repeater['lableTwo_date'])) ? $Repeater['lableTwo_date'] : '';
        $lableStyle = (!empty($lableOn) && !empty($Repeater['lableStyleDate'])) ? $Repeater['lableStyleDate'] : 'default';
        $layout_date = (!empty($Repeater['layout_date'])) ? $Repeater['layout_date'] : 'style-1';

        $DateStyle='';
        if(!empty($lableOn) && $lableStyle == 'inline'){
            $DateStyle = "tp-date-inline";
        }
    
        $op='';
        $op .= $this->tp_filter_title($Repeater);
        if($layout_date == 'style-1'){
            $op .= '<div class="tp-date-wrap '.esc_attr($DateStyle).' '.esc_attr($layout_date).'">';
                $op .= '<div class="tp-date">';
                    if(!empty($lableOn) && !empty($lableOne)){
                        $op .= '<label for="tp-date1">'.esc_html($lableOne).'</label>';
                    }
                    $op .= '<input id="'.esc_attr($key).'" name="tp-date" type="date" class="tp-datepicker1" date-key="'.esc_attr($key).'">';
                $op .= '</div>';
                $op .= '<div class="tp-date1">';
                    if(!empty($lableOn) && !empty($lableTwo)){
                        $op .= '<label for="tp-date2">'.esc_html($lableTwo).'</label>';
                    }
                    $op .= '<input id="'.esc_attr($key).'" name="tp-date" type="date" class="tp-datepicker1">';
                $op .= '</div>';
            $op .= '</div>';
        }else if($layout_date == 'style-2'){
            $Datemultiselect = (!empty($Repeater['Datemultiselect'])) ? $Repeater['Datemultiselect'] : [];
            $DateOption = [];
			if (is_array($Datemultiselect)) {
				foreach ($Datemultiselect as $value) {
					$DateOption[] = $value;
				}
		    }

            $AutoApply = (in_array('AutoApplyEn', $DateOption)) ? true : false;
            $ShowDD = (in_array('showDropdownsEn', $DateOption)) ? true : false;
            $ShowCalendars = (in_array('alwaysShowCalendars', $DateOption)) ? true : false;
            $showranges = (in_array('showranges', $DateOption)) ? true : false;
            $showWeekNumber = (in_array('showWeekNumbers', $DateOption)) ? true : false;
            $linkedCalendars = (in_array('linkedCalendars', $DateOption)) ? true : false;
            $ShowCustomRangeLabel = (in_array('showCustomRangeLabel', $DateOption)) ? true : false;

            $today=$yesterday=$Last7Days=$Last30Days=$ThisMonth=$LastMonth=false;
            if( !empty($showranges) ){
                $Rangemultiselect = (!empty($Repeater['Rangemultiselect'])) ? $Repeater['Rangemultiselect'] : [];
                $RangeOption = [];
                if (is_array($Rangemultiselect)) {
                    foreach ($Rangemultiselect as $value) {
                        $RangeOption[] = $value;
                    }
                }
                $today = (in_array('today', $RangeOption)) ? true : false;
                $yesterday = (in_array('yesterday', $RangeOption)) ? true : false;
                $Last7Days = (in_array('Last7Days', $RangeOption)) ? true : false;
                $Last30Days = (in_array('Last30Days', $RangeOption)) ? true : false;
                $ThisMonth = (in_array('ThisMonth', $RangeOption)) ? true : false;
                $LastMonth = (in_array('LastMonth', $RangeOption)) ? true : false;
            }

            $Week=$Month=[];
            $AplBtnTxt=$ApplyBtnclass=$CancelBtnTxt=$CancelBtnclass='';
            if( !empty($ShowCalendars) ){
                $DaysOfWeek = (!empty($Repeater['daysOfWeek'])) ? explode("|", $Repeater['daysOfWeek'] ) : explode("|", 'Su | Mo | Tu | We | Th | Fr | Sa');
                $MonthNames = (!empty($Repeater['monthNames'])) ? explode("|", $Repeater['monthNames'] ) : explode("|", 'January | February | March | April | May | June | July | August | September | October | November | December');

                if (is_array($DaysOfWeek)) {
                    foreach ($DaysOfWeek as $val) {
                        $Week[] = ltrim(rtrim($val));
                    }
                }
                if (is_array($MonthNames)) {
                    foreach ($MonthNames as $val) {
                        $Month[] = ltrim(rtrim($val));
                    }
                }
                if( empty($AutoApply) ){
                    $AplBtnTxt = (!empty($Repeater['Applybtntxt'])) ? $Repeater['Applybtntxt'] : '';
                    $ApplyBtnclass = (!empty($Repeater['Applybtnclass'])) ? $Repeater['Applybtnclass'] : '';
                    $CancelBtnTxt = (!empty($Repeater['Cancelbtntxt'])) ? $Repeater['Cancelbtntxt'] : '';
                    $CancelBtnclass = (!empty($Repeater['Cancelbtnclass'])) ? $Repeater['Cancelbtnclass'] : '';
                }    
            }

            $CustomLabelTxt = (!empty($ShowCustomRangeLabel) && !empty($Repeater['Customlabletxt'])) ? $Repeater['Customlabletxt'] : '';
            $DropsPosition = !empty($Repeater['DropsPosition']) ? $Repeater['DropsPosition'] : '';
            $OpensPosition = !empty($Repeater['opensPosition']) ? $Repeater['opensPosition'] : '';
            $DefaultSelect = !empty($Repeater['DateDefaultSelect']) ? 1 : 0;
            $start_date = (!empty($DefaultSelect) && !empty($Repeater['start_date'])) ? $this->tp_custom_date($Repeater['start_date']) : 0;
            $end_date = (!empty($DefaultSelect) && !empty($Repeater['end_date'])) ? $this->tp_custom_date($Repeater['end_date']) : 0;
            $DateDisplay = !empty($Repeater['DateDisplay']) ? 1 : 0;
            $Min_date = (!empty($DateDisplay) && !empty($Repeater['min_date'])) ? $this->tp_custom_date($Repeater['min_date']) : 0;
            $Max_date = (!empty($DateDisplay) && !empty($Repeater['max_date'])) ? $this->tp_custom_date($Repeater['max_date']) : 0;
            $YearDisplay = !empty($Repeater['YearDisplay']) ? 1 : 0;
            $Min_DateYear = (!empty($YearDisplay) && !empty($Repeater['Min_DateYear'])) ? $Repeater['Min_DateYear'] : '';
            $Max_DateYear = (!empty($YearDisplay) && !empty($Repeater['Max_DateYear'])) ? $Repeater['Max_DateYear'] : '';

            $CustomDate = json_encode( array(
                'ShowCalendars'=>$ShowCalendars,
                'showranges'=>$showranges,
                'AutoApplyBtn'=>$AutoApply,
                'showDropdown'=>$ShowDD,
                'ShowWeekNumber'=>$showWeekNumber,
                'linkedCalendar'=>$linkedCalendars,
                'ShowCustomRangeLabel'=>$ShowCustomRangeLabel,
                'DefaultSelect' => $DefaultSelect,
                'StartDate' => $start_date,
                'EndDate' => $end_date,
                'DisplayDate' => $DateDisplay,
                'Min_date' => $Min_date,
                'Max_date' => $Max_date,
                'DisplayYear' => $YearDisplay,
                'Min_Year' => $Min_DateYear,
                'Max_Year' => $Max_DateYear,
                'ApplyBtntxt' => $AplBtnTxt,
                'ApplyBtnclass' => $ApplyBtnclass,
                'CancelBtntxt' => $CancelBtnTxt,
                'CancelBtnclass' => $CancelBtnclass,
                'CustomLabelTxt' => $CustomLabelTxt,
                'DropsPosition' => $DropsPosition,
                'OpensPosition' => $OpensPosition,
                'RangesOption' => array(
                    'today'=>$today,
                    'yesterday'=>$yesterday,
                    'Last7Days'=>$Last7Days,
                    'Last30Days'=>$Last30Days,
                    'ThisMonth'=>$ThisMonth,
                    'LastMonth'=>$LastMonth,
                ),
                'locale' => array(
                    'Week'=>$Week,
                    'Months'=> $Month
                ),
            ), true);

            $op .= '<div class="tp-date-wrap '.esc_attr($layout_date).'" data-CustomDate= \''.$CustomDate.'\'>';
                $op .= '<input type="text" name="tp-date" id="'.esc_attr($key).'" class="tp-custom-date '.esc_attr($key).'" date-key="'.esc_attr($key).'" autocomplete="off" />';
            $op .= '</div>';
        }

        return $op;
    }

    protected function tp_custom_date($date){
        $FinalDate='';
        $ConverDate = getdate( strtotime($date) );
        if(!empty($ConverDate)){
            $Month = ( !empty($ConverDate) && !empty($ConverDate['mon']) ) ? $ConverDate['mon'] : '';
            $MDate = ( !empty($ConverDate) && !empty($ConverDate['mday']) ) ? $ConverDate['mday'] : '';
            $Year = ( !empty($ConverDate) && !empty($ConverDate['year']) ) ? $ConverDate['year'] : '';

            $FinalDate = $Month .'/'. $MDate .'/'. $Year;
        }

        return $FinalDate;
    }

    protected function tp_rating($Repeater, $name){
        $TPPrefix = $this->tp_unique_widget_id($name, $Repeater);
        $op='';
        $op .= $this->tp_filter_title($Repeater);
        $op .= '<div class="tp-star-rating" data-tpprefix="'.esc_attr($TPPrefix).'">';
            for ($i=1; $i<=5; $i++) {
                $value = 6-$i;
                $op .= '<input type="radio" name="'.esc_attr($name).'" class="stars-'.esc_attr($value).'" id="'.esc_attr($TPPrefix).esc_attr($value).'" value="'.esc_attr($value).'" data-title="'.esc_attr($value).'" />';
                $op .= '<label for="'.esc_attr($TPPrefix).esc_attr($value).'" class="star tp-start-icon">&#9733;</label>';
            }
        $op .= '</div>';
        return $op;
    }

    protected function tp_alphabet($Repeater){
        $output='';
        $AlphabetType = !empty($Repeater['AlphabetType']) ? $Repeater['AlphabetType'] : array('alphabet');
        $Number = array(0,1,2,3,4,5,6,7,8,9);
        $character = array('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');

        $AlphaBet=[];
        if( count($AlphabetType) == 2 ){
            $AlphaBet = array_merge($character, $Number);
        }else{
            foreach ($AlphabetType as $Num) {
                if( $Num == 'alphabet' ){
                    $AlphaBet = $character;
                }else if( $Num == 'number' ){
                    $AlphaBet = $Number;
                }
            }
        }

        $output .= $this->tp_filter_title($Repeater);
        $output .= '<div class="tp-alphabet-wrapper">';
            foreach ($AlphaBet as $key => $value) {
                $output .= '<div class="tp-alphabet-content">
                    <label class="tp-alphabet-item" >
                        <input type="checkbox" class="tp-alphabet-input" id="tp-'.esc_attr($value).'" name="alphabet" value="'.esc_attr($value).'" data-title="'.esc_attr($value).'">
                        <span class="tp-alphabet-button">'.esc_html($value).'</span>
                    </label>
                </div>';
            }
        $output .= '</div>'; 

        return $output;
    }

    protected function tp_tabbing_filter($data, $name, $showCnt, $Repeater){
        $settings = $this->get_settings_for_display();
        $output='';
        $WooSorting = !empty($Repeater['WooFiltersSort']) ? $Repeater['WooFiltersSort'] : '';
        $TabbingMedia = !empty($Repeater['TabbingContent']) ? $Repeater['TabbingContent'] : '';
        $ImageON=!empty($Repeater['Imageshow']) ? $Repeater['Imageshow'] : '';
        $TickIcon=!empty($Repeater['showtickIcon']) ? 'tp-tick-enable' : '';

        $Archivpage = !empty($settings['enable_archive']) ? true : false;
        $ArchivMore = !empty($settings['enable_archivefiled']) ? true : false;
        $Archive_showall = !empty($settings['archive_showall']) ? $settings['archive_showall'] : '';
        $output .= $this->tp_filter_title($Repeater);

        if(!empty($WooSorting)){
            $WooFiltersSelect = !empty($Repeater['WooFiltersSelect']) ? $Repeater['WooFiltersSelect'] : [];
            $WooName=[];
            if(!empty($WooFiltersSelect)){
                foreach ($WooFiltersSelect as $val) {
                    if($val == "featured"){ $WooName[$val] = 'Featured';
                    }else if($val == "on_sale"){ $WooName[$val] = 'On sale';
                    }else if($val == "top_sales"){ $WooName[$val] = 'Top Sales';
                    }else if($val == "instock"){ $WooName[$val] = 'In Stock';
                    }else if($val == "outofstock"){ $WooName[$val] = 'Out of Stock';
                    }
                }
            }

            $output .= '<div class="tp-tabbing tp-wootab-sorting '.esc_attr($TickIcon).'">';
                foreach ($WooName as $key => $value) {
                    $output .= '<div class="tp-tabbing-wrapper">';
                        $output .= '<label class="tp-tabbing-item">';
                            if($TabbingMedia == 'icon'){
                                if( !empty($Repeater['TabbingIconlib']) ){
                                    ob_start();
                                        \Elementor\Icons_Manager::render_icon( $Repeater['TabbingIconlib'], [ 'aria-hidden' => 'true' ]);
                                        $list_img = ob_get_contents();
                                    ob_end_clean();
                                    $output .= '<span class="tp-tabbing-media">'.$list_img.'</span>';
                                }
                            }else if($TabbingMedia == 'image'){
                                $Image = !empty($Repeater['TabbingImage']) ? $Repeater['TabbingImage']['url'] : THEPLUS_ASSETS_URL.'images/tp-placeholder.jpg';
                                $output .= '<span class="tp-tabbing-media"><img src="'.$Image.'" class="tp-tabbing-image" alt="atl"></span>';
                            }
                            $output .= '<input type="checkbox" class="tp-tabbing-input" id="woo_SgTabbing" name="woo_SgTabbing" value="'.esc_attr($key).'" data-title="'.esc_attr($value).'">';
                            $output .= '<span class="tp-tabbing-button">'.esc_html($value).'</span>';
                        $output .= '</label>';
                    $output .= '</div>';
                }
                $output .= $this->tp_showmore_content($Repeater, 'tabbing');
            $output .= '</div>';
        }else{
            $ArchiveName=$classArchive=$CatName='';
            if( is_archive() && !\Elementor\Plugin::$instance->editor->is_edit_mode() ){
                global $wp_query;
                $query_var = $wp_query->query_vars;
    
                if( isset($query_var['cat']) ){
                    $CatName = $query_var['category_name'];
                }
                if( isset($query_var['tag']) ){
                    $CatName = $query_var['tag'];
                }
                if( !empty($query_var) && isset($query_var['taxonomy']) && isset($query_var[$query_var['taxonomy']]) ){
                    $CatName = $query_var[$query_var['taxonomy']];
                }
            }

            $output .= '<div class="tp-tabbing '.esc_attr($TickIcon).'">';
                if(is_archive() && !\Elementor\Plugin::$instance->editor->is_edit_mode()){
                    foreach ($data as $key => $value) {
                        $DataName = !empty($value['name']) ? $value['name'] : '';

                        if(!empty($CatName) && strtolower($CatName) == strtolower($DataName)){
                            $ArchiveName = $DataName;
                            $ArchiveActive = "active"; 
                            $output .= $this->tp_tabbing_html($Repeater, $value, $key, $name, $ArchiveActive, $classArchive);
                        }
                    }
                }

                foreach ($data as $key => $value) {
                    $DataName = !empty($value['name']) ? $value['name'] : '';
                    $Count = !empty($value['count']) ? $value['count'] : '';
                    $DataImage = !empty($value['image']) ? $value['image'] : '';
                    $ArchiveActive = "";

                    if(is_archive() && !\Elementor\Plugin::$instance->editor->is_edit_mode()){
                        if(!empty($CatName) && strtolower($CatName) == strtolower($DataName)){
                            $ArchiveActive = "active"; 
                        }
                        if(!empty($Archivpage)){
                            $classArchive = "tp-archive-hidden";
                        }
                    }
    
                    if( strtolower($ArchiveName) != strtolower($DataName) ){
                        $output .= $this->tp_tabbing_html($Repeater, $value, $key, $name, $ArchiveActive, $classArchive);
                    }
                }

                if(!empty($ArchivMore)){
                    $output .= $this->tp_archive_more($Repeater);
                }

                $output .= $this->tp_showmore_content($Repeater, 'tabbing');
            $output .= '</div>';
        }
        return $output;
    }

    protected function tp_tabbing_html($Repeater, $value, $key, $name, $ArchiveActive, $classArchive){
        $TabbingMedia = !empty($Repeater['TabbingContent']) ? $Repeater['TabbingContent'] : '';
        $ImageON=!empty($Repeater['Imageshow']) ? $Repeater['Imageshow'] : '';
        $TickIcon=!empty($Repeater['showtickIcon']) ? 'tp-tick-enable' : '';
        $showCnt = !empty($Repeater['showCount']) ? 'yes' :'';
        $DataName = !empty($value['name']) ? $value['name'] : '';
        $Count = !empty($value['count']) ? $value['count'] : '';
        $DataImage = !empty($value['image']) ? $value['image'] : '';
        $EnableChecked = !empty($ArchiveActive) ? "checked" : '';

        $output = '<div class="tp-tabbing-wrapper '.$ArchiveActive.' '.$classArchive.'">';
            $output .= '<label class="tp-tabbing-item">';
                $output .= '<input type="checkbox" class="tp-tabbing-input" id="tp-'.esc_attr($key).'" name="'.esc_attr($name).'" value="'.esc_attr($key).'" data-title="'.esc_attr($DataName).'" '.$EnableChecked.'>';
                if($TabbingMedia == 'icon'){
                    if( !empty($Repeater['TabbingIconlib']) ){
                        ob_start();
                            \Elementor\Icons_Manager::render_icon( $Repeater['TabbingIconlib'], [ 'aria-hidden' => 'true' ]);
                            $list_img = ob_get_contents();
                        ob_end_clean();

                        $output .= '<span class="tp-tabbing-media">'.$list_img.'</span>';
                    }
                }else if($TabbingMedia == 'image'){
                    $Image = !empty($Repeater['TabbingImage']) ? $Repeater['TabbingImage']['url'] : THEPLUS_ASSETS_URL.'images/tp-placeholder.jpg';
                    $output .= '<span class="tp-dy-tabbing-Img"><img src="'.esc_url($Image).'" class="tp-dy-tabbing-thumbimg" alt="atl"></span>';
                }

                if(!empty($DataImage) && !empty($ImageON)){
                    $output .= '<span class="tp-dy-tabbing-Img"><img src="'.esc_url($DataImage).'" class="tp-dy-tabbing-thumbimg"/></span>';
                }

                    $output .= '<span class="tp-tabbing-button">'.esc_html($DataName).'</span>';
                if(!empty($showCnt)){
                    $output .= '<span class="tp-tabbing-counter">'.esc_html($Count).'</span>';
                }
            $output .= '</label>';
        $output .= '</div>';

        return $output;
    }

    protected function tp_color_field($data, $name, $showCnt, $attr, $tooltip, $class, $Repeater){
        $ContentType = isset($Repeater['ContentType']) ? $Repeater['ContentType'] : '';
        $TPPrefix = $this->tp_unique_widget_id($name, $Repeater);
        $op = '';
        $op .= $this->tp_filter_title($Repeater);
        $op .= '<div class="tp-woo-color tp-row" data-tpprefix="'.esc_attr($TPPrefix).'">';

        foreach($data as $value => $label){
            $DataName = !empty($label['name']) ? $label['name'] : '';
            $inputvalue = $value;
            if( $ContentType == 'taxonomy' ){
                $color = get_term_meta( $value, 'product_attribute_color', true );
            }else if( $ContentType == 'acf_conne' ){
                $color = $label['code'];
                $inputvalue = $label['code'];
                $value = str_replace( array( '#' ), '', $label['code']);
            }else if( $ContentType == 'toolset_conne' || $ContentType == 'pods_conne' || $ContentType == 'metabox_conne' ){
                $color = $label['code'];
                $inputvalue = $label['code'];
                $value = str_replace( array( '#' ), '', $label['code']);
            }

            $op .= '<div class="tp-colorBox '.esc_attr($class).'">';
                $op .= '<input type="checkbox" name="'.esc_attr($attr).'" value="'.esc_attr($inputvalue).'" id="'.esc_attr($TPPrefix).esc_attr($value).'" data-title="'.esc_attr($DataName).'" />';
                $op .= '<label for="'.esc_attr($TPPrefix).esc_attr($value).'"> ';
                    $op .= '<div class="tp-color-wrap">';
                        $op .= '<span style="background-color:'.esc_attr($color).'" class="tp-color-opt"></span>';
                            if(!empty($tooltip)){
                                if(!empty($showCnt)){
                                    $count = !empty($label['count']) ? $label['count'] : '';
                                    $op .= '<span class="tp-tooltip">'.esc_html($DataName).'('.esc_html($count).') </span>';
                                }else{
                                    $op .= '<span class="tp-tooltip">'.esc_html(ucwords($DataName)).' </span>';
                                }
                            }
                    $op .= '</div>';
                $op .= '</label>';

            $op .= '</div>';
        }
        $op .= '</div>';

        return $op;
    }  

    protected function tp_button_field( $data, $name, $showCnt, $attr, $tooltip, $class, $Repeater ){
        $TPPrefix = $this->tp_unique_widget_id($name, $Repeater);
        $op = '';
        $op .= $this->tp_filter_title($Repeater);
        $op .= '<div class="tp-woo-button tp-row" data-tpprefix="'.esc_attr($TPPrefix).'">';

        foreach($data as $value => $label){
            $Name = !empty($label['name']) ? $label['name'] : '';

            $op .= '<div class="tp-buttonBox '.esc_attr($class).'">';
                $op .= '<input type="radio" name="'.esc_attr($attr).'" value="'.esc_attr($value).'" id="'.esc_attr($TPPrefix).esc_attr($value).'" data-title="'.esc_attr($Name).'" />';
                $op .= '<label for="'.esc_attr($TPPrefix).esc_attr($value).'"> ';
                    $op .= '<div class="tp-color-wrap">';
                        $op .= '<span class="tp-color-opt">'.esc_html($Name).'</span>';
                        if( !empty($tooltip) ){
                            if( !empty($showCnt) ){
                                $count = !empty($label['count']) ? $label['count'] : '';
                                $op .= '<span class="tp-tooltip">'.esc_html($Name).'('.esc_html($count).') </span>';
                            }else{
                                $op .= '<span class="tp-tooltip">'.esc_html($Name).' </span>';
                            }
                        }
                    $op .= '</div>';
                $op .= '</label>';
            $op .= '</div>';
        }
        $op .= '</div>';

        return $op;
    }

    protected function tp_image_field( $data, $name, $showCnt, $attr, $tooltip, $class, $Repeater ){
        $ContentType = isset($Repeater['ContentType']) ? $Repeater['ContentType'] : '';
        $TPPrefix = $this->tp_unique_widget_id($name, $Repeater);
        $op = '';
        $op .= $this->tp_filter_title($Repeater);

        $op .= '<div class="tp-woo-image tp-row" data-tpprefix="'.esc_attr($TPPrefix).'">';
            foreach($data as $value => $label){
                $DataTitle = $DataName = !empty($label['name']) ? $label['name'] : '';
                if($ContentType == 'taxonomy'){
                    $attachment_id = absint( get_term_meta( $value, 'product_attribute_image', true ) );
                    $imageSrc = wp_get_attachment_image_src( $attachment_id, 'thumbnail' );
                    $image = !empty($imageSrc[0]) ? $imageSrc[0] : THEPLUS_ASSETS_URL.'images/tp-placeholder.jpg';
                }else if($ContentType == 'acf_conne'){
                    $image = !empty($label['url']) ? $label['url'] : THEPLUS_ASSETS_URL.'images/tp-placeholder.jpg';
                    $DataTitle = !empty($label['title']) ? $label['title'] : '';
                }else{
                    $image = !empty($label['url']) ? $label['url'] : THEPLUS_ASSETS_URL.'images/tp-placeholder.jpg';
                    $DataTitle = !empty($label['title']) ? $label['title'] : '';
                }

                $op .= '<div class="tp-imgBox tp-col '.esc_attr($class).'">';
                    $op .= '<input type="checkbox" name="'.esc_attr($attr).'" value="'.esc_attr($value).'" id="'.esc_attr($TPPrefix).esc_attr($value).'" data-title="'.esc_attr($DataTitle).'" />';
                    $op .= '<label for="'.esc_attr($TPPrefix).esc_attr($value).'"> ';
                        $op .= '<div class="tp-img-wrap">';
                            $op .= '<span class="tp-img-opt">';
                                $op .= '<img src="'.esc_url($image).'" class="woo-img-tag" alt="'.esc_html__('Attr_img','theplus').'" >';
                            $op .= '</span>';
                            if(!empty($tooltip)){
                                if(!empty($showCnt)){
                                    $count = !empty($label['count']) ? $label['count'] : '';
                                    $op .= '<span class="tp-tooltip">'.esc_html($DataTitle).'('.esc_html($count).') </span>';
                                }else{
                                    $op .= '<span class="tp-tooltip">'.esc_html($DataTitle).' </span>';
                                }
                            }
                        $op .= '</div>';
                    $op .= '</label>';
                $op .= '</div>';
            }
        $op .= '</div>';
        return $op;
    }

    Protected function tp_autocomplete($name, $Repeater){
        $TPPrefix = $this->tp_unique_widget_id($name, $Repeater);

        $output = '';
        $output .= $this->tp_filter_title($Repeater);
        $output .= '<div class="tp-autocomplete-wrap" data-tpprefix="'.esc_attr($TPPrefix).'" >';
        $output .= '<svg xmlns="http://www.w3.org/2000/svg" class="tp-nearme tp-autocomplete-icon" viewBox="0 0 512 512"><path d="M176 256C176 211.8 211.8 176 256 176C300.2 176 336 211.8 336 256C336 300.2 300.2 336 256 336C211.8 336 176 300.2 176 256zM256 0C273.7 0 288 14.33 288 32V66.65C368.4 80.14 431.9 143.6 445.3 224H480C497.7 224 512 238.3 512 256C512 273.7 497.7 288 480 288H445.3C431.9 368.4 368.4 431.9 288 445.3V480C288 497.7 273.7 512 256 512C238.3 512 224 497.7 224 480V445.3C143.6 431.9 80.14 368.4 66.65 288H32C14.33 288 0 273.7 0 256C0 238.3 14.33 224 32 224H66.65C80.14 143.6 143.6 80.14 224 66.65V32C224 14.33 238.3 0 256 0zM128 256C128 326.7 185.3 384 256 384C326.7 384 384 326.7 384 256C384 185.3 326.7 128 256 128C185.3 128 128 185.3 128 256z"/></svg>';
            $output .= '<input type="text" id="tp-autocomplete-input" class="tp-search-input-autocomplete" name="'.esc_attr($name).'" placeholder="location" autocomplete="off" data-location="" />';
        $output .= '</div>';

        return $output;
    }

    Protected function tp_showmore_content($Repeater, $value){
        $ShowMore = !empty($Repeater['ShowMore']) ? $Repeater['ShowMore'] : false;
        $Moretxt = !empty($Repeater['showmoretxt']) ? $Repeater['showmoretxt'] : '';
        $ScrollOn = !empty($Repeater['scrollOn']) ? true : false;

        $op='';
        if(!empty($ShowMore)){
            $ShowMoreData = json_encode(array(
                'className' => $value,
                'ShowOn' => $ShowMore,
                'ShowValue' => !empty($Repeater['MoreDefault']) ? (int)$Repeater['MoreDefault'] : 3,
                'ShowMoretxt' => $Moretxt,
                'Showlesstxt' => !empty($Repeater['showlesstxt']) ? $Repeater['showlesstxt'] : '',
                'ScrollclassName' => 'tp-normal-scroll',
                'scrollOn' => $ScrollOn,
                'scrollheight' => (!empty($Repeater['height_scroll'])) ? (int)$Repeater['height_scroll']['size'] : 150,
            ), true);

            $op .= '<div class="tp-tabbing-redmore">';
                $op .= '<a class="tp-filter-readmore ShowMore" data-ShowMore="'.esc_attr($ShowMoreData).'" >'.esc_html($Moretxt).'</a>';
            $op .= '</div>';
        }

        return $op;
    }

    Protected function tp_filter_button($settings){
        $FilterBtn = !empty($settings['FilterBtn']) ? $settings['FilterBtn'] : false;
        $DefNumber = !empty($settings['TogBtnNum']) ? $settings['TogBtnNum'] : 3;
        $TextBtn = !empty($settings['TogBtnTitle']) ? $settings['TogBtnTitle'] : '';        
        $TogBtnTitleLess = !empty($settings['TogBtnTitleLess']) ? $settings['TogBtnTitleLess'] : '';
        $MediaBtn = !empty($settings['ToggleMedia']) ? $settings['ToggleMedia'] : '';
        $MediaPos = !empty($settings['TogMPosition']) ? $settings['TogMPosition'] : 'start';
        $IconBtn = (!empty($settings['ToggleBtnIcon']) && !empty($settings['ToggleBtnIcon']['value'])) ? $settings['ToggleBtnIcon']['value'] : 'fas fa-sliders-h';
        $ImageBtn = (!empty($settings['Toggleimage']) && !empty($settings['Toggleimage']['url'])) ? $settings['Toggleimage']['url'] : THEPLUS_ASSETS_URL .'images/placeholder-grid.jpg';

        $Btncolumn='';
        $BtnColumnOn = !empty($settings['EnableBtnColumn']) ? 1 : 0;
        if(!empty($BtnColumnOn)){
            $BtnDesktop = !empty($settings['BtnDesktop']) ? $settings['BtnDesktop'] : 6;
            $BtnTablet = !empty($settings['BtnTablet']) ? $settings['BtnTablet'] : 6;
            $BtnMobile = !empty($settings['BtnMobile']) ? $settings['BtnMobile'] : 6;
            $Btncolumn = $this->tp_search_column($BtnDesktop, $BtnTablet, $BtnMobile);
        }

        $BtnValue = json_encode( array( 'Number'=>$DefNumber, 'showmore'=>$TextBtn, 'showless'=>$TogBtnTitleLess, ), true);

        $GetMedia='';
        if($MediaBtn == 'icon' && !empty($settings['ToggleBtnIcon'])){
            ob_start();
                \Elementor\Icons_Manager::render_icon($settings['ToggleBtnIcon'],['aria-hidden'=>'true']);
                $Icon = ob_get_contents();
            ob_end_clean();	
            $GetMedia = '<span class="tp-button-icon">'.$Icon.'</span>';
        }else if($MediaBtn == 'image' && !empty($ImageBtn)){
            $GetMedia = '<span class="tp-button-Image"><img src="'.esc_url($ImageBtn).'" class="tp-button-ImageTag" ></span>';
        }

        $op='';
        if(!empty($FilterBtn)){
            $op .= '<div class="tp-button-filter '.esc_attr($Btncolumn).'" data-Button-Filter= \''.$BtnValue.'\'>';
                $op .= '<button class="tp-toggle-button '.esc_attr($MediaPos).'">';
                    $op .= ($MediaPos == 'start') ? $GetMedia : '';
                    $op .= (!empty($TextBtn)) ? '<span class="tp-button-text">'.esc_html($TextBtn).'</span>' : '';
                    $op .= ($MediaPos == 'end') ? $GetMedia : '';
                $op .= '</button>';
            $op .= '</div>';
        }

        return $op;
    }

    Protected function tp_ajax_button($settings){
        $op='';
        $AjaxBtn = !empty($settings['Ajaxbutton']) ? 1 : 0;
		$BtnColumn = $this->tp_search_column($settings['desktop_column'], $settings['tablet_column'], $settings['mobile_column']);
		
        if(!empty($AjaxBtn)){
            $AjaxBtnTxt = !empty($settings['Ajaxbtntxt']) ? $settings['Ajaxbtntxt'] : '';
            $AjaxbtnMedia = !empty($settings['AjaxbtnMedia']) ? $settings['AjaxbtnMedia'] : '';
            $AjaxBtnIcon = !empty($settings['AjaxBtnIcon']) ? $settings['AjaxBtnIcon'] : '';
            $AjaxBtnPosition = !empty($settings['AjaxBtnPosition']) ? $settings['AjaxBtnPosition'] : '';
            $AjaxBtnimage = (!empty($settings['AjaxBtnimage']) && !empty($settings['AjaxBtnimage']['url'])) ? $settings['AjaxBtnimage']['url'] : THEPLUS_ASSETS_URL .'images/placeholder-grid.jpg';
            $AjaxloadiconOn = !empty($settings['AjaxloadiconOn']) ? 1 : 0;
            $AjaxBtnlayout = !empty($settings['AjaxBtnlayout']) ? $settings['AjaxBtnlayout'] : 'style-1';
            
            $AjaxData = json_encode( array(
                'AjaxBtnTxt' => $AjaxBtnTxt,
                'AjaxLoaddingtxt' => !empty($settings['AjaxLoadbtntxt']) ? $settings['AjaxLoadbtntxt'] : '',
                'Ajaxloadicon' => $AjaxloadiconOn,
            ), true);

            $GetMedia='';
            if( $AjaxbtnMedia == 'icon' && !empty($AjaxBtnIcon) ){
                ob_start();
                    \Elementor\Icons_Manager::render_icon( $AjaxBtnIcon, ['aria-hidden'=>'true'] );
                    $Icon = ob_get_contents();
                ob_end_clean();	
                $GetMedia = '<span class="tp-ajaxbtn-icon">'.$Icon.'</span>';
            }else if( $AjaxbtnMedia == 'image' && !empty($AjaxBtnimage) ){
                $GetMedia = '<span class="tp-ajaxbtn-Image"><img src="'.esc_url($AjaxBtnimage).'" class="tp-ajaxbtn-ImageTag" ></span>';
            }

            $op .= '<div class="tp-ajaxbtn-filter '.esc_attr($BtnColumn).'">';
                $op .= '<button class="tp-ajax-button '.esc_attr($AjaxBtnPosition).'" data-ajaxbutton= \''.$AjaxData.'\'>';
                    $op .= ($AjaxBtnPosition == 'start') ? $GetMedia : '';
                    $op .= !empty($AjaxBtnTxt) ? '<span class="tp-ajaxbtn-text">'.esc_html($AjaxBtnTxt).'</span>' : '';
                    $op .= ($AjaxBtnPosition == 'end') ? $GetMedia : '';
                    $op .= !empty($AjaxloadiconOn) ? '<span class="tp-ajaxbtn-spinner-loader '.$AjaxBtnlayout.'"></span>' : '';
                $op .= '</button>';
            $op .= '</div>';
        }

        return $op;
    }

    protected function tp_column_change($Filter, $columnMerge){
        $output='';
        $ColumnChange = !empty($Filter['ColumnChange']) ? array_reverse($Filter['ColumnChange']) : [];

        if($ColumnChange){
            $output .= '<div class="field-col '.esc_attr($columnMerge).'">';
                $output .= '<div class="tp-column-result-wrap">';

                    foreach ($ColumnChange as $value) {
                        $Icon='';
                        if($value == '12'){
                            $Icon = '<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="25.000000pt" height="25.000000pt" viewBox="0 0 125.000000 125.000000" preserveAspectRatio="xMidYMid meet"><g transform="translate(0.000000,125.000000) scale(0.100000,-0.100000)" ><path d="M12 1238 c-17 -17 -17 -1209 0 -1226 17 -17 1209 -17 1226 0 17 17 17 1209 0 1226 -17 17 -1209 17 -1226 0z m1223 -613 l0 -610 -610 0 -610 0 -3 600 c-1 330 0 606 3 613 3 10 131 12 612 10 l608 -3 0 -610z"/><path d="M354 867 c-2 -8 -4 -52 -2 -98 l3 -84 95 0 95 0 0 95 0 95 -93 3 c-71 2 -94 0 -98 -11z m181 -87 l0 -85 -85 0 -85 0 -3 74 c-2 41 -1 80 2 88 4 11 25 13 88 11 l83 -3 0 -85z"/><path d="M640 810 c0 -6 53 -10 140 -10 87 0 140 4 140 10 0 6 -53 10 -140 10 -87 0 -140 -4 -140 -10z"/><path d="M640 740 c0 -6 53 -10 140 -10 87 0 140 4 140 10 0 6 -53 10 -140 10 -87 0 -140 -4 -140 -10z"/><path d="M354 547 c-2 -8 -4 -52 -2 -98 l3 -84 95 0 95 0 0 95 0 95 -93 3 c-71 2 -94 0 -98 -11z m181 -87 l0 -85 -85 0 -85 0 -3 74 c-2 41 -1 80 2 88 4 11 25 13 88 11 l83 -3 0 -85z"/><path d="M640 490 c0 -6 53 -10 140 -10 87 0 140 4 140 10 0 6 -53 10 -140 10 -87 0 -140 -4 -140 -10z"/><path d="M640 420 c0 -6 53 -10 140 -10 87 0 140 4 140 10 0 6 -53 10 -140 10 -87 0 -140 -4 -140 -10z"/></g></svg>';
                        }else if($value == '6'){
                            $Icon = '<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="25.000000pt" height="25.000000pt" viewBox="0 0 125.000000 125.000000" preserveAspectRatio="xMidYMid meet"><g transform="translate(0.000000,125.000000) scale(0.100000,-0.100000)"><path d="M12 1238 c-17 -17 -17 -1209 0 -1226 17 -17 1209 -17 1226 0 17 17 17 1209 0 1226 -17 17 -1209 17 -1226 0z m1223 -613 l0 -610 -610 0 -610 0 -3 600 c-1 330 0 606 3 613 3 10 131 12 612 10 l608 -3 0 -610z"/><path d="M377 874 c-12 -13 -8 -179 5 -192 18 -18 162 -16 177 2 8 9 11 46 9 103 l-3 88 -90 3 c-50 1 -94 0 -98 -4z m178 -94 l0 -85 -85 0 -85 0 -3 74 c-2 41 -1 80 2 88 4 11 25 13 88 11 l83 -3 0 -85z"/><path d="M697 874 c-12 -13 -8 -179 5 -192 18 -18 162 -16 177 2 8 9 11 46 9 103 l-3 88 -90 3 c-50 1 -94 0 -98 -4z m178 -94 l0 -85 -85 0 -85 0 -3 74 c-2 41 -1 80 2 88 4 11 25 13 88 11 l83 -3 0 -85z"/><path d="M377 554 c-12 -13 -8 -179 5 -192 18 -18 162 -16 177 2 8 9 11 46 9 103 l-3 88 -90 3 c-50 1 -94 0 -98 -4z m178 -94 l0 -85 -85 0 -85 0 -3 74 c-2 41 -1 80 2 88 4 11 25 13 88 11 l83 -3 0 -85z"/><path d="M697 554 c-12 -13 -8 -179 5 -192 18 -18 162 -16 177 2 8 9 11 46 9 103 l-3 88 -90 3 c-50 1 -94 0 -98 -4z m178 -94 l0 -85 -85 0 -85 0 -3 74 c-2 41 -1 80 2 88 4 11 25 13 88 11 l83 -3 0 -85z"/></g></svg>';
                        }else if($value == '4'){
                            $Icon = '<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="25.000000pt" height="25.000000pt" viewBox="0 0 125.000000 125.000000" preserveAspectRatio="xMidYMid meet"><g transform="translate(0.000000,125.000000) scale(0.100000,-0.100000)"><path d="M12 1238 c-17 -17 -17 -1209 0 -1226 17 -17 1209 -17 1226 0 17 17 17 1209 0 1226 -17 17 -1209 17 -1226 0z m1223 -613 l0 -610 -610 0 -610 0 -3 600 c-1 330 0 606 3 613 3 10 131 12 612 10 l608 -3 0 -610z"/><path d="M214 867 c-2 -8 -4 -52 -2 -98 l3 -84 95 0 95 0 0 95 0 95 -93 3 c-71 2 -94 0 -98 -11z m181 -87 l0 -85 -85 0 -85 0 -3 74 c-2 41 -1 80 2 88 4 11 25 13 88 11 l83 -3 0 -85z"/><path d="M534 867 c-2 -8 -4 -52 -2 -98 l3 -84 95 0 95 0 0 95 0 95 -93 3 c-71 2 -94 0 -98 -11z m181 -87 l0 -85 -85 0 -85 0 -3 74 c-2 41 -1 80 2 88 4 11 25 13 88 11 l83 -3 0 -85z"/><path d="M854 867 c-2 -8 -4 -52 -2 -98 l3 -84 95 0 95 0 0 95 0 95 -93 3 c-71 2 -94 0 -98 -11z m181 -87 l0 -85 -85 0 -85 0 -3 74 c-2 41 -1 80 2 88 4 11 25 13 88 11 l83 -3 0 -85z"/><path d="M214 547 c-2 -8 -4 -52 -2 -98 l3 -84 95 0 95 0 0 95 0 95 -93 3 c-71 2 -94 0 -98 -11z m181 -87 l0 -85 -85 0 -85 0 -3 74 c-2 41 -1 80 2 88 4 11 25 13 88 11 l83 -3 0 -85z"/><path d="M534 547 c-2 -8 -4 -52 -2 -98 l3 -84 95 0 95 0 0 95 0 95 -93 3 c-71 2 -94 0 -98 -11z m181 -87 l0 -85 -85 0 -85 0 -3 74 c-2 41 -1 80 2 88 4 11 25 13 88 11 l83 -3 0 -85z"/><path d="M854 547 c-2 -8 -4 -52 -2 -98 l3 -84 95 0 95 0 0 95 0 95 -93 3 c-71 2 -94 0 -98 -11z m181 -87 l0 -85 -85 0 -85 0 -3 74 c-2 41 -1 80 2 88 4 11 25 13 88 11 l83 -3 0 -85z"/></g></svg>';
                        }else if($value == '3'){
                            $Icon = '<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="25.000000pt" height="25.000000pt" viewBox="0 0 125.000000 125.000000" preserveAspectRatio="xMidYMid meet"><g transform="translate(0.000000,125.000000) scale(0.100000,-0.100000)" ><path d="M12 1238 c-17 -17 -17 -1209 0 -1226 17 -17 1209 -17 1226 0 17 17 17 1209 0 1226 -17 17 -1209 17 -1226 0z m1223 -613 l0 -610 -610 0 -610 0 -3 600 c-1 330 0 606 3 613 3 10 131 12 612 10 l608 -3 0 -610z"/><path d="M114 867 c-2 -8 -4 -52 -2 -98 l3 -84 95 0 95 0 0 95 0 95 -93 3 c-71 2 -94 0 -98 -11z m181 -87 l0 -85 -85 0 -85 0 -3 74 c-2 41 -1 80 2 88 4 11 25 13 88 11 l83 -3 0 -85z"/><path d="M394 867 c-2 -8 -4 -52 -2 -98 l3 -84 95 0 95 0 0 95 0 95 -93 3 c-71 2 -94 0 -98 -11z m181 -87 l0 -85 -85 0 -85 0 -3 74 c-2 41 -1 80 2 88 4 11 25 13 88 11 l83 -3 0 -85z"/><path d="M674 867 c-2 -8 -4 -52 -2 -98 l3 -84 95 0 95 0 0 95 0 95 -93 3 c-71 2 -94 0 -98 -11z m181 -87 l0 -85 -85 0 -85 0 -3 74 c-2 41 -1 80 2 88 4 11 25 13 88 11 l83 -3 0 -85z"/><path d="M954 867 c-2 -8 -4 -52 -2 -98 l3 -84 95 0 95 0 0 95 0 95 -93 3 c-71 2 -94 0 -98 -11z m181 -87 l0 -85 -85 0 -85 0 -3 74 c-2 41 -1 80 2 88 4 11 25 13 88 11 l83 -3 0 -85z"/><path d="M114 547 c-2 -8 -4 -52 -2 -98 l3 -84 95 0 95 0 0 95 0 95 -93 3 c-71 2 -94 0 -98 -11z m181 -87 l0 -85 -85 0 -85 0 -3 74 c-2 41 -1 80 2 88 4 11 25 13 88 11 l83 -3 0 -85z"/><path d="M394 547 c-2 -8 -4 -52 -2 -98 l3 -84 95 0 95 0 0 95 0 95 -93 3 c-71 2 -94 0 -98 -11z m181 -87 l0 -85 -85 0 -85 0 -3 74 c-2 41 -1 80 2 88 4 11 25 13 88 11 l83 -3 0 -85z"/><path d="M674 547 c-2 -8 -4 -52 -2 -98 l3 -84 95 0 95 0 0 95 0 95 -93 3 c-71 2 -94 0 -98 -11z m181 -87 l0 -85 -85 0 -85 0 -3 74 c-2 41 -1 80 2 88 4 11 25 13 88 11 l83 -3 0 -85z"/><path d="M954 547 c-2 -8 -4 -52 -2 -98 l3 -84 95 0 95 0 0 95 0 95 -93 3 c-71 2 -94 0 -98 -11z m181 -87 l0 -85 -85 0 -85 0 -3 74 c-2 41 -1 80 2 88 4 11 25 13 88 11 l83 -3 0 -85z"/></g></svg>';
                        }

                        $output .= '<label class="tp-column-label">';
                            $output .= '<input type="radio" class="tp-column-input" name="columninput" value="'.esc_attr($value).'" />';
                            $output .= '<span class="tp-column-Icon" >'.$Icon.'</span>';
                        $output .= '</label>';
                    }

                $output .= '</div>';
            $output .= '</div>';
        }

        return $output;
    }

    Protected function Filter_ErrorShow($Massage){
        return "<div class='Sf-Error-Handal'> {$Massage} </div>";
    }

    protected function tp_search_column($Desktop, $Tablet, $Mobile){
		$column = 'tp-col-lg-'.esc_attr($Desktop);
		$column .= ' tp-col-md-'.esc_attr($Tablet);
		$column .= ' tp-col-sm-'.esc_attr($Mobile);
		$column .= ' tp-col-'.esc_attr($Mobile);
		return $column;
	}

    protected function tp_unique_widget_id($name, $Repeater){
        $TPPrefix = '';
        $WidgetId = $this->get_id();
        $filteroption = !empty($Repeater['filteroption']) ? $Repeater['filteroption'] :'';

        if($filteroption == 'Woofilter'){
            $WooFilterType = !empty($Repeater['WooFilterType']) ? $Repeater['WooFilterType'] :'';
            $Woo_Type = array("color", "button", "image", "rating");
            if($name == 'product_attr' && in_array($WooFilterType, $Woo_Type) ){
                $name = !empty($Repeater['pAttr']) ? $Repeater['pAttr'] :''; 
            }
        }

        $TPPrefix = 'tp-'.esc_attr($name).'-'.esc_attr($WidgetId);
        return $TPPrefix;
    }

    protected function tp_archive_more($Repeater){
        $settings = $this->get_settings_for_display();
        $Archive_showall = !empty($settings['archive_showall']) ? $settings['archive_showall'] : '';

        return '<div class="tp-archive-readmore">'.esc_html($Archive_showall).'</div>';
    }

    protected function content_template() {
       
    }
}