(function ($) {
    $.block_meetourcoachs_default = function (element, options) {
        var defaults = {
            class_name_drawerel: ""
        }
        var plugin = this;
        plugin.settings = {}
        var $element = $(element),
            element = element;
        plugin.init = function () {
            plugin.settings = $.extend({}, defaults, options);
            $element.find('.slider').slick({
                dots: true,
                infinite: true,
                slidesToShow: 3,
                slidesToScroll: 3,
                arrows: false,
                responsive: [
                    {
                        breakpoint: 992,
                        settings: {
                            arrows: false,
                            slidesToShow: 2,
                            slidesToScroll: 2
                        }
                    },
                    {
                        breakpoint: 767,
                        settings: {
                            arrows: false,
                            slidesToShow: 2,
                            slidesToScroll: 2
                        }
                    },
                    {
                        breakpoint: 575,
                        settings: {
                            arrows: false,
                            slidesToShow: 1,
                            slidesToScroll: 1
                        }
                    },
                    {
                        breakpoint: 375,
                        settings: {
                            arrows: false,
                            slidesToShow: 1,
                            slidesToScroll: 1
                        }
                    }
                    ]
            });


            $element.find('.image-employee').hover(function (e) {
                $(this).addClass('hover');
            }, function () {
                $(this).removeClass('hover');
            });
        };
        plugin.example_function = function () {
        };
        plugin.init();
    }

    $.fn.block_meetourcoachs_default = function (options) {

        return this.each(function () {

            if (undefined == $(this).data('block_meetourcoachs_default')) {
                var plugin = new $.block_meetourcoachs_default(this, options);
                $(this).data('block_meetourcoachs_default', plugin);
            }
        });
    }
})(jQuery);
