jQuery(document).ready(function(e){function i(){return window.innerWidth<360?1:window.innerWidth<480?2:window.innerWidth<768?3:window.innerWidth<1024?4:6}function n(){return window.innerWidth<768?1:window.innerWidth<1024?2:3}var o=e(window),s={vars:{}};e(".layer-slider").flexslider({animation:storexmas_slider_value.storexmas_animation_effect,animationLoop:!0,slideshow:!0,slideshowSpeed:storexmas_slider_value.storexmas_slideshowSpeed,animationSpeed:storexmas_slider_value.storexmas_animationSpeed,smoothHeight:!0}),e(".multi-slider").flexslider({animation:"slide",animationLoop:!0,slideshow:!0,slideshowSpeed:storexmas_slider_value.storexmas_slideshowSpeed,animationSpeed:storexmas_slider_value.storexmas_animationSpeed,smoothHeight:!0,itemWidth:200,itemMargin:20,move:1,minItems:n(),maxItems:n()}),e(".brand-slider").flexslider({animation:"slide",animationLoop:!0,slideshow:!0,controlNav:!1,smoothHeight:!1,slideshowSpeed:3e3,animationSpeed:700,itemWidth:200,itemMargin:15,move:1,minItems:i(),maxItems:i()}),o.resize(function(){var e=i(),e=n();s.vars.minItems=e,s.vars.maxItems=e})});