JQuery a JavaScript Converter Online
// this worked for me
https://www.workversatile.com/jquery-to-javascript-converter/
Better Barracuda
// this worked for me
https://www.workversatile.com/jquery-to-javascript-converter/
There is no i guess:D
(e.prototype.buildOut = function () {
var e = this;
(e.$slides = e.$slider.children(e.options.slide + ":not(.slick-cloned)").addClass("slick-slide")),
(e.slideCount = e.$slides.length),
e.$slides.each(function (e, t) {
i(t)
.attr("data-slick-index", e)
.data("originalStyling", i(t).attr("style") || "");
}),
e.$slider.addClass("slick-slider"),
(e.$slideTrack = 0 === e.slideCount ? i('<div class="slick-track"/>').appendTo(e.$slider) : e.$slides.wrapAll('<div class="slick-track"/>').parent()),
(e.$list = e.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent()),
e.$slideTrack.css("opacity", 0),
(!0 === e.options.centerMode || !0 === e.options.swipeToSlide) && (e.options.slidesToScroll = 1),
i("img[data-lazy]", e.$slider).not("[src]").addClass("slick-loading"),
e.setupInfinite(),
e.buildArrows(),
e.buildDots(),
e.updateDots(),
e.setSlideClasses("number" == typeof e.currentSlide ? e.currentSlide : 0),
!0 === e.options.draggable && e.$list.addClass("draggable");
}),
if(isMobile.any()){
body.classList.add('touch');
let arrow=document.querySelectorAll('.arrow');
for(i=0; i<arrow.length; i++){
let thisLink=arrow[i].previousElementSibling;
let subMenu=arrow[i].nextElementSibling;
let thisArrow=arrow[i];
thisLink.classList.add('parent');
arrow[i].addEventListener('click', function(){
subMenu.classList.toggle('open');
thisArrow.classList.toggle('active');
});
}
}
<script id="1841251525">
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-P8JX648');
</script>
3weschools