"use strict";var woostifyInitSliderFirstTab=function(){var t=document.querySelectorAll('.woostify-products-tab-widget[data-layout="carousel-layout"]');t.length&&t.forEach((function(t){var e=t.querySelector(".woostify-products-tab-content");if(e){var o=t.querySelectorAll(".products .product"),a=e.querySelector(".products"),s=e.getAttribute("data-arrows"),i=e.getAttribute("data-dots"),n=e.getAttribute("data-columns")||4,r=e.getAttribute("data-columns-tablet")||3,c=e.getAttribute("data-columns-mobile")||2,l=t.querySelector(".woostify-product-tab-arrows-container"),u=get_svg_icon("angle-left"),d=get_svg_icon("angle-right");if(o.length>n){a&&"function"==typeof woostifyRemoveClassPrefix&&woostifyRemoveClassPrefix(a,"columns");tns({container:a||!1,items:c,controls:!!s,controlsContainer:l||!1,nav:!!i,controlsText:[u,d],gutter:0,loop:!1,responsive:{600:{items:r,gutter:15},992:{items:n,gutter:30}}})}else l&&l.classList.add("hidden")}}))},woostifyProductTab=function(){var t=document.querySelectorAll(".woostify-products-tab-widget");t.length&&t.forEach((function(t){var e=t.querySelectorAll(".woostify-products-tab-btn"),o=t.getAttribute("data-layout");if(e.length)for(var a=0,s=e.length;af){var e=r.querySelector(".products");e&&"function"==typeof woostifyRemoveClassPrefix&&woostifyRemoveClassPrefix(e,"columns");var a=get_svg_icon("angle-left"),s=get_svg_icon("angle-right");tns({container:e||!1,items:y,controls:!!u,controlsContainer:i||!1,nav:!!d,controlsText:[a,s],gutter:0,loop:!1,responsive:{600:{items:g,gutter:15},992:{items:f,gutter:30}}})}else i&&i.classList.add("hidden");"function"==typeof woostifySwatchList&&woostifySwatchList(),"function"==typeof woostifyQuickView&&woostifyQuickView(),"function"==typeof woostifyCountdownUrgency&&woostifyCountdownUrgency()}})):console.log("Status Code: "+t.status)})).finally((function(){t.classList.remove("loading"),e.classList.add("ready"),b(),r.removeAttribute("data-columns"),r.removeAttribute("data-columns-tablet"),r.removeAttribute("data-columns-mobile"),r.removeAttribute("data-query")}))}}}}))};document.addEventListener("DOMContentLoaded",(function(){woostifyInitSliderFirstTab(),woostifyProductTab()}));