function opacityArrow(){var n=$(".wrapper-carousel"),t=100*n.scrollLeft()/($(".carousel").width()-n.width());t.toFixed(2)==0?$(".column-animation-container .slider-animation-prev").css("opacity","0.55"):$(".column-animation-container .slider-animation-prev").css("opacity","1");t.toFixed(2)==100?$(".column-animation-container .slider-animation-next").css("opacity","0.55"):$(".column-animation-container .slider-animation-next").css("opacity","1")}function nextPrev(){if($(window).width()<520){$(".carousel").css("width",($(".item").width()+15)*$(".item").length);$("button.next").on("click",function(n){n.preventDefault();$(".wrapper-carousel").animate({scrollLeft:"+="+($(".item").width()+15)},1e3,"swing")});$("button.prev").on("click",function(n){n.preventDefault();$(".wrapper-carousel").animate({scrollLeft:"-="+($(".item").width()+15)},1e3,"swing")})}}var currentY=0,slider2=document.querySelector(".wrapper-carousel"),isDown2=!1,startX,scrollLeft2,elements2=document.getElementsByClassName("item"),arrayEl2=[],i=0,counter2=document.getElementById("counter-new-slider");Array.from(elements2).forEach(function(n){i++;var t=$(n).position();arrayEl2.push({counter:i,position:t.left})});$(window).ready(function(){$(".column-animation-container").length&&($(".item").hover(function(){let n=$(this).find(".container-circle");$(n).removeClass("out").addClass("over")},function(){let n=$(this).find(".container-circle");$(n).removeClass("over").addClass("out")}),counter2.innerHTML="1/"+arrayEl2.length,nextPrev())});$(window).resize(function(){$(window).width()<520?$(".carousel").css("width",($(".item").width()+20)*$(".item").length):$(".carousel").css("width","100%");$(".column-animation-container").length&&nextPrev()});$(".wrapper-carousel").scroll(function(){if($(".column-animation-container").length){var n=$(this);arrayEl2.forEach(function(t){t.position*(2/3)<\/div>