"use strict";!function(a){a(document).ready(function(){var t=1200,e=992,s=768,i=480,d=a(".ct-js-slick");a(".ct-js-slick").each(function(){var t=a(this).find(".item").first().height();a(this).css("height",t+"px")}),a().slick&&d.length>0&&d.each(function(){var d=a(this),r=parseInt(validatedata(d.attr("data-items"),1),10),n=parseInt(validatedata(d.attr("data-items-xs"),r),10),o=parseInt(validatedata(d.attr("data-items-sm"),n),10),l=parseInt(validatedata(d.attr("data-items-md"),o),10),p=parseInt(validatedata(d.attr("data-items-lg"),l),10),c=parseBoolean(d.attr("data-accessibility"),!0),h=parseBoolean(d.attr("data-adaptiveHeight"),!1),v=parseBoolean(d.attr("data-autoplay"),!1),g=parseBoolean(d.attr("data-arrows"),!0),u=parseBoolean(d.attr("data-centerMode"),!1),f=parseBoolean(d.attr("data-dots"),!1),m=parseBoolean(d.attr("data-draggable"),!0),k=parseBoolean(d.attr("data-fade"),!1),b=parseBoolean(d.attr("data-focusOnSelect"),!1),B=parseBoolean(d.attr("data-infinite"),!0),w=parseBoolean(d.attr("data-mobileFirst"),!0),I=parseBoolean(d.attr("data-pauseOnHover"),!0),S=parseBoolean(d.attr("data-pauseOnDotsHover"),!1),x=parseBoolean(d.attr("data-swipe"),!0),T=parseBoolean(d.attr("data-swipeToSlide"),!0),y=parseBoolean(d.attr("data-touchMove"),!0),O=parseBoolean(d.attr("data-useCSS"),!0),_=parseBoolean(d.attr("data-variableWidth"),!1),A=parseBoolean(d.attr("data-vertical"),!1),F=parseBoolean(d.attr("data-rtl"),!1),H=validatedata(d.attr("data-asNavFor")),C=validatedata(d.attr("data-appendArrows")),M=validatedata(d.attr("data-prevArrow"),'<button type="button" class="slick-nav slick-prev"></button>'),j=validatedata(d.attr("data-nextArrow"),'<button type="button" class="slick-nav slick-next"></button>'),z=validatedata(d.attr("data-centerPadding"),"50px"),P=validatedata(d.attr("data-cssEase"),"ease"),D=validatedata(d.attr("data-easing"),"linear"),E=validatedata(d.attr("data-lazyLoad"),"ondemand"),L=validatedata(d.attr("data-respondTo"),"window"),N=validatedata(d.attr("data-slide")),W=(validatedata(d.attr("data-animations"),!0),parseInt(validatedata(d.attr("data-edgeFriction"),.15),10)),Q=parseInt(validatedata(d.attr("data-initialSlide"),0),10),q=parseInt(validatedata(d.attr("data-autoplaySpeed"),5e3),10),G=parseInt(validatedata(d.attr("data-slidesToScroll"),1),10),J=parseInt(validatedata(d.attr("data-speed"),300),10),K=parseInt(validatedata(d.attr("data-touchThreshold"),5),10);if(d.attr("data-height")){var R=d.attr("data-height")+"px";R.indexOf("%")>-1?(d.css("min-height",device_height*(parseInt(device_height,10)/100)),d.find(".slick-list").css("min-height",device_height*(parseInt(R,10)/100)),d.find(".slick-track").css("min-height",device_height*(parseInt(R,10)/100)),d.find(".item").each(function(){a(this).css("min-height",device_height*(parseInt(R,10)/100))})):(d.css("min-height",parseInt(R,10)+"px"),d.find(".slick-list").css("min-height",parseInt(R,10)+"px"),d.find(".slick-track").css("min-height",parseInt(R,10)+"px"),d.find(".item").each(function(){a(this).css("min-height",parseInt(R,10)+"px")}))}d.slick({slidesToShow:r,accessibility:c,adaptiveHeight:h,autoplay:v,autoplaySpeed:q,arrows:g,asNavFor:H,appendArrows:C,prevArrow:M,nextArrow:j,centerMode:u,centerPadding:z,cssEase:P,dots:f,draggable:m,fade:k,focusOnSelect:b,easing:D,edgeFriction:W,infinite:B,initialSlide:Q,lazyLoad:E,mobileFirst:w,pauseOnHover:I,pauseOnDotsHover:S,respondTo:L,slide:N,slidesToScroll:G,speed:J,swipe:x,swipeToSlide:T,touchMove:y,touchThreshold:K,useCSS:O,variableWidth:_,vertical:A,rtl:F}),d.hasClass("ct-slick--parallaxMode")&&(d.on("beforeChange",function(){d.find(".item").css("background-attachment","scroll")}),d.on("afterChange",function(){d.find(".item").css("background-attachment","fixed")})),d.slick("setOption","responsive",[{breakpoint:t,settings:{slidesToShow:p}}],!0),d.slick("setOption","responsive",[{breakpoint:e,settings:{slidesToShow:l}}],!0),d.slick("setOption","responsive",[{breakpoint:s,settings:{slidesToShow:o}}],!0),d.slick("setOption","responsive",[{breakpoint:i,settings:{slidesToShow:n}}],!0),d.on("setPosition",function(){set_text_color(),set_font_size(),set_background(),set_height()})})})}(jQuery);