PageSourceSearch

https://lstore.si/cdn/shop/t/10/assets/custom.js?v=86049194493830088771729264977

js lstore.si collected 2026-09-25 09:56:50 UTC 51,259 bytes, 2 lines download raw bytes

1var html_tag=document.documentElement,isMobile=!1,a_js_animations=window.filepaths.a_js_animations,a_css_animations=window.filepaths.a_css_animations,readMoreText=window.translations.readmore_text;function isTouchDevice(){"use strict";return!!window.matchMedia("(pointer: coarse)").matches}(window.mobileCheck()||isTouchDevice())&&(isMobile=!0);function toggle_dropdowns_simple(el){"use strict";el.classList.contains("toggle")?el.classList.remove("toggle"):el.classList.add("toggle")}function linkSmallPopup(em){"use strict";em.getElementsByClassName("inner")[0].clientWidth<em.getElementsByClassName("inner-text")[0].clientWidth?em.classList.add("longer"):em.classList.remove("longer")}function findClass(className,array){"use strict";for(var elementsArray=[].slice.call(array),index=0;index<elementsArray.length;index++){var element=elementsArray[index];if(element.className.indexOf(className)!==-1)return!0}return!1}function append_url(el,content,className,href,access){"use strict";if(!findClass(className,Array.from(el.children))){var link=createElementWithClass("a",className);href?link.href=href:(link.href="./",link.setAttribute("role","button")),access===!0&&(link.setAttribute("tabindex",-1),link.setAttribute("aria-hidden",!0),link.setAttribute("focusable",!1)),link.innerHTML+=content,el.appendChild(link)}}function wrap(el,wrapper,className){"use strict";el.parentNode.insertBefore(wrapper,el),className&&wrapper.classList.add(className),wrapper.appendChild(el)}function new_css(id,href,media){"use strict";if(!document.getElementById(id)){var a=document.createElement("link"),b=document.querySelectorAll("link[id]");media===void 0&&(media="screen"),a.setAttribute("id",id),a.setAttribute("rel","stylesheet"),a.setAttribute("href",href),a.setAttribute("media",media),a.setAttribute("id",id),b.length?Array.from(b).forEach(function(el){el.after(a)}):document.head.appendChild(a)}}function loadRes(u,c,i){"use strict";if(html_tag.classList.contains(i))return c(),!0;var s=document.createElement("script");return s.src=u,s.async=!0,s.onload=c,document.body.appendChild(s),html_tag.classList.contains(i)||html_tag.classList.add(i),!0}window.darkMode=function(){if(Cookies.get("darkmode")=="on"||html_tag.classList.contains("day-switched")&&Cookies.get("darkmode")!="off")document.documentElement.classList.add("day-switched");else if(Cookies.get("darkmode")==null){var link_day_timer=document.querySelector(".link-day.timer");if(link_day_timer){var now=new Date,show_from=new Date,show_until=new Date,show_from_hours=parseInt(link_day_timer.getAttribute("data-show-from")),show_until_hours=parseInt(link_day_timer.getAttribute("data-show-until"));show_from.setHours(show_from_hours),show_from.setMinutes(0,0,0),show_until.setHours(show_until_hours),show_until.setMinutes(0,0,0),show_from>show_until&&now>show_until?show_until.setDate(show_until.getDate()+1):show_from>show_until&&now<show_until&&show_from.setDate(show_from.getDate()-1),show_from<now&&show_until>now&&document.documentElement.classList.add("day-switched")}}},darkMode();function create_slider(el,settings,minSlides){"use strict";var sliderElement=el,sliderFigure=el.closest("figure"),divContent,items,paginationClass,dots,dots_cont,dost_cont2,dost_cont3,prev,next;if(el.children.length>1&&(el.tagName.toLowerCase()==="ul"&&(el.setAttribute("role","none"),Array.from(el.children).forEach(function(child){child.setAttribute("role","none"),child.classList.add("li")})),items=sliderElement.children,minSlides||(minSlides=1),items.length>parseFloat(minSlides))){if(paginationClass=settings&&settings.pagination&&settings.pagination.el||".swiper-pagination",paginationClass=paginationClass.replace(/\./g," ").trim(),dots=createElementWithClass("span",paginationClass),prev=createElementWithClass("a","swiper-button-prev"),next=createElementWithClass("a","swiper-button-next"),sliderElement.classList.add("s4wi"),prev.classList.add("swiper-button-nav"),next.classList.add("swiper-button-nav"),prev.setAttribute("role","button"),next.setAttribute("role","button"),el.hasAttribute("style")){const sl_dl=getComputedStyle(el).getPropertyValue("--nav_delay");sl_dl.trim()!==""&&(prev.setAttribute("data-sal","fade"),next.setAttribute("data-sal","fade"),prev.setAttribute("data-sal-
1delay",sl_dl),next.setAttribute("data-sal-delay",sl_dl))}return Array.from(items).forEach(el2=>wrap(el2,document.createElement("div"),"swiper-slide")),sliderElement.innerHTML='<div class="swiper-outer"><div class="swiper-wrapper">'+sliderElement.innerHTML+'</div></div> <div class="swiper-custom-pagination"></div>',dots_cont=sliderElement.getElementsByClassName("swiper-custom-pagination")[0],dost_cont2=createElementWithClass("div","swiper-custom-bullets"),settings&&settings.pagination?(settings.pagination.el=settings.pagination.el||"."+paginationClass,dots_cont.appendChild(prev),dots_cont.appendChild(dost_cont2),dost_cont3=sliderElement.getElementsByClassName("swiper-custom-bullets")[0],dost_cont3.appendChild(dots),append_url(dost_cont3,"Play/Pause","play-pause"),dots_cont.appendChild(createElementWithClass("span","swiper-custom-fraction")),dots_cont.appendChild(next)):(sliderElement.appendChild(prev),sliderElement.appendChild(next)),new Swiper(sliderElement.children[0],settings)}return null}function clone_with_class(el,cl1,cl2){"use strict";var cln=el.cloneNode(!0);cln.classList.add(cl1),el.after(cln),el.classList.add(cl2)}function randomize(el){"use strict";el.setAttribute("data-random",Math.floor(Math.random()*1e4)+1)}function new_js(el){"use strict";var tag=document.createElement("script");tag.setAttribute("defer",!0),tag.src=el,document.body.appendChild(tag)}function throttle(callback,delay){let timeoutId;return function(){timeoutId||(timeoutId=setTimeout(()=>{callback(),timeoutId=null},delay))}}function checkIfImageExists(url,callback){"use strict";const img=new Image;img.src=url,img.complete?callback(!0):(img.onload=()=>{callback(!0)},img.onerror=()=>{callback(!1)})}var root_styles=document.querySelector(":root"),header_id=document.getElementsByClassName("shopify-section-header")[0],header_main=document.getElementById("header"),header_outer=document.getElementById("header-outer"),logo_id=document.getElementById("logo"),nav_id=document.getElementById("nav"),nav_outer=document.getElementById("nav-outer"),nav_top_outer=document.getElementById("nav-top-outer"),nav_outer_clone,m6fr_is_first=document.getElementsByClassName("m6fr-is-first");let isDelayedCssVars=!1;function delayedCssVars(){if(isDelayedCssVars)return;if(isDelayedCssVars=!0,nav_top_outer&&root_styles.style.setProperty("--nav_top_h",nav_top_outer.clientHeight+"px"),header_outer){const header_outer_height=header_outer.clientHeight+"px";root_styles.style.setProperty("--header_height_static",header_outer_height),nav_outer&&(header_outer&&!nav_outer.classList.contains("sticky")?root_styles.style.setProperty("--header_height",header_outer_height):root_styles.style.setProperty("--header_height",nav_outer.clientHeight+"px"))}header_id&&root_styles.style.setProperty("--header_height_full",header_id.clientHeight+"px");const announcementBar=document.querySelector(".shopify-section-announcement-bar");announcementBar&&root_styles.style.setProperty("--ann_height",announcementBar.clientHeight+"px")}window.addEventListener("resize",function(){isDelayedCssVars=!1,delayedCssVars()});const HD_req=[".m6fr, #logo.text-center"];!isDelayedCssVars&&HD_req.some(selector=>document.querySelector(selector))&&(delayedCssVars(),isDelayedCssVars=!0),m6fr_is_first.length&&html_tag.classList.add("has-first-m6fr-wide");let scrollbarWidthCalculated=!1;function getScrollbarWidth(){"use strict";scrollbarWidthCalculated||(root_styles.style.setProperty("--scrollbar_width",window.innerWidth-html_tag.getBoundingClientRect().width+"px"),scrollbarWidthCalculated=!0)}const SB_req=[".m6bx.wide",".m6fr.wide",".m6pr.fullwidth",".m6fr.fullwidth",".l4ft.fullwidth",".media-wide",".media-wide-mobile"];SB_req.some(selector=>document.querySelector(selector))&&getScrollbarWidth();let isCustomDropHeight=!1;function customDropHeight(){isCustomDropHeight||(isCustomDropHeight=!0,header_outer&&root_styles.style.setProperty("--drop_nav_mah",window.innerHeight-header_outer.clientHeight+"px"))}window.addEventListener("resize",function(){isCustomDropHeight=!1,customDropHeight()}),window.headerHeight=function(){header_outer=document.getElementById("header-outer"),nav_outer=document.getElementById("nav-outer"),header_outer&&nav_outer&&!nav_outer.classList.contains("sticky")&&!header_outer.classList.contains("no-sticky")||html_tag.classList.add("is-no-sticky"),header_outer&&header_outer.classList.contains("no-sticky")&&html_tag.classList.add("header-static"),header_outer&&(header_outer.classList.contains("transparent")&&html_tag.classList.add("has-transparent-header"),header_outer.classList.contains("has-shadow")&&html_tag.classList.add("header-has-shadow")),html_tag.classList.add("dm-ready")},headerHeight(),nav_outer||(nav_outer_clone=document.createElement("div"),nav_outer_clone.innerHTML='<nav id="nav"></nav>',nav_outer_clone.setAttribute("id","nav-outer"),nav_outer_clone.classList.add("mobile-nav-container"),header_outer&&header_outer.appendChild(nav_outer_clone)),document.addEventListener("DOMContentLoaded",function(){"use strict";var header_id2,header_inner,footer_id=document.getElementsByClassName("shopify-section-footer")[0],content_id=document.getElementById("content"),logo_
1id2=document.getElementById("logo"),nav_main,nav_id2=document.getElementById("nav"),search_id=document.getElementById("search"),top_bar=document.getElementsByClassName("shopify-section-announcement-bar"),top_bar_children,root_id=document.getElementById("root"),nav_top_id=document.getElementById("nav-top"),Default={utils:{start:function(){html_tag.classList.add("js")},dom:function(){window.transparentHeader=function(){if(content_id=document.getElementById("content"),header_outer=document.getElementById("header-outer"),content_id&&header_outer){var ffa=content_id.children[0],ffc,ffd=!1,ffe=!1;if(ffa!==void 0)if(ffc=ffa.children[0],ffa.classList.contains("shopify-section")&&header_outer.hasAttribute("data-transparent")&&(ffd=!0),(ffc!==void 0&&ffc.classList.contains("m6bx")&&ffc.classList.contains("wide")||ffc!==void 0&&ffc.classList.contains("m6fr")&&ffc.classList.contains("wide"))&&(ffe=!0),document.querySelectorAll('.shopify-section-header ~ [class*="shopify-section-announcement-bar"]').length&&(ffd=!1),ffd===!0&&ffe===!0&&ffc.classList.contains("wide-transparent")){header_outer.classList.add("transparent"),html_tag.classList.add("has-first-m6fr-wide"),ffc.classList.contains("m6bx")?html_tag.classList.add("has-first-m6bx-wide"):html_tag.classList.remove("has-first-m6bx-wide"),ffc.classList.contains("flexible-section")?html_tag.classList.add("has-first-flexbile-wide"):html_tag.classList.remove("has-first-flexbile-wide"),html_tag.classList.remove("fixed-sticky"),setTimeout(function(){html_tag.classList.remove("fixed-sticky")},1),ffc.classList.add("is-first-m6fr-wide");var firstSlide=ffa.querySelectorAll(".swiper-slide-active article").length>0?ffa.querySelectorAll(".swiper-slide-active article")[0]:ffa.querySelectorAll("article")[0],palette=firstSlide.getAttribute("data-color-palette");palette!=null&&setTimeout(function(){root_styles.style.setProperty("--transparent_header_fg","var(--"+palette.replace("_gradient","")+"_fg)"),root_styles.style.setProperty("--transparent_header_bg","var(--"+palette+"_bg)"),root_styles.style.setProperty("--transparent_header_btn_bg","var(--"+palette.replace("_gradient","")+"_btn_bg)"),root_styles.style.setProperty("--transparent_header_btn_fg","var(--"+palette.replace("_gradient","")+"_btn_fg)")},0)}else header_outer.classList.remove("transparent"),html_tag.classList.remove("has-first-m6fr-wide"),html_tag.classList.remove("m6fr-is-first"),html_tag.classList.remove("has-first-flexbile-wide")}},transparentHeader()},forms:function(){var form_children,select_tag=document.getElementsByTagName("select");window.formZindex=function(){select_tag.length&&Array.from(select_tag).forEach(function(el){el.parentNode.classList.add("has-select"),el.closest("p")!==null&&el.closest("p").classList.add("has-select"),el.addEventListener("change",function(){el.classList.add("changed")})}),form_children=document.querySelectorAll("form > *, fieldset > *, .no-zindex, .no-zindex > *, .has-select, .f8pr > *, .l4cl form p, .f8pr-container > *"),form_children.length&&Array.from(form_children).forEach(function(el,index){el.style.zIndex=form_children.length-index})},window.formZindex(),select_tag=document.getElementsByTagName("select"),select_tag.length&&Array.from(select_tag).forEach(function(el){el.addEventListener("change",function(){el.classList.add("changed")})}),window.checkLimit=function(){var check_limit=document.querySelectorAll(".check[data-limit]");check_limit.length&&Array.from(check_limit).forEach(function(el){if(!el.classList.contains("check-limit-initialized")){el.classList.add("check-limit-initialized");var tag_limit="span",limit,trigger,nextAll=!1,last_desc;(el.tagName.toLowerCase()==="ul"||el.tagName.toLowerCase()==="ol")&&(tag_limit="li"),limit=createElementWithClass(tag_limit,"limit"),trigger=el.children[el.dataset.limit-1],trigger!==void 0&&(nextAll=[].filter.call(trigger.parentNode.children,function(htmlElement){return htmlElement.previousElementSibling===trigger?nextAll=!0:nextAll}),nextAll.forEach(function(em){em.classList.contains("hidden")||em.classList.add("hidden-check")}),limit.innerText="+"+Math.abs(el.querySelectorAll("li:not(.hidden, .tip-cont)").length-el.dataset.limit),el.append(limit),last_desc=el.querySelectorAll("li.hidden")[0],last_desc!==void 0&&el.appendChild(el.querySelectorAll("li.hidden")[0]))}})},checkLimit()},top:function(){window.header=function(){if(header_main=document.getElementById("header"),header_id2=document.getElementsByClassName("shopify-section-header")[0],header_inner=document.getElementById("header-inner"),header_outer=document.getElementById("header-outer"),logo_
1id2=document.getElementById("logo"),nav_id2=document.getElementById("nav"),nav_outer=document.getElementById("nav-outer"),logo_id2){var logo_text=logo_id2.querySelectorAll("span");logo_text.length&&html_tag.classList.add("logo-is-text"),logo_id2.classList.contains("text-center")&&html_tag.classList.add("logo-text-center")}nav_id2&&(nav_id2.closest("#header-inner")!==null?html_tag.classList.add("has-compact-nav"):html_tag.classList.remove("has-compact-nav"));let hasJustify=(nav_outer.classList.contains("have-text-justify")||nav_outer.classList.contains("text-justify"))&&nav_outer.closest("#header-inner")!==null;function countNavDist(el,em){const d=el.dataset.copy,f=nav_id2.querySelector(`.show-all li[data-copy="${d}"]`);el.classList.contains("temp-hidden")&&(el.classList.remove("temp-hidden"),f&&f.classList.remove("temp-hidden"));const nav_id_offset=el.closest("#header-inner")!==null?nav_id2.offsetLeft:0,jf=el.closest("#nav-outer").classList.contains("text-justify")||el.closest("#nav-outer").classList.contains("have-text-justify")?0:el.clientWidth,el_off=html_tag.getAttribute("dir")==="rtl"?nav_id2.clientWidth-el.offsetLeft-el.clientWidth-nav_id_offset:el.offsetLeft-nav_id_offset;let el_tr;el.parentElement.querySelectorAll(".temp-hidden:not(.show-all)").length>0?el_tr=1.4:el_tr=0,nav_id2.getBoundingClientRect().width<el_off+el.getBoundingClientRect().width+jf+em*el_tr?hasJustify?(el.previousElementSibling&&el.previousElementSibling.classList.add("temp-hidden"),f&&f.previousElementSibling&&f.previousElementSibling.classList.add("temp-hidden")):(el.classList.add("temp-hidden"),f&&f.classList.add("temp-hidden")):hasJustify?(el.previousElementSibling&&el.previousElementSibling.classList.remove("temp-hidden"),f&&f.previousElementSibling&&f.previousElementSibling.classList.remove("temp-hidden")):(el.classList.remove("temp-hidden"),f&&f.classList.remove("temp-hidden"))}function countNavDistF(el,em,en){const mdm=Math.abs(parseFloat(getComputedStyle(el).getPropertyValue("margin-right"))),mdf=nav_outer.classList.contains("text-justify")&&!isNaN(mdm)?.5*mdm:0,replaceTextClass=(originalClass,replacementClass)=>{nav_outer.classList.contains(originalClass)&&(nav_outer.classList.remove(originalClass),nav_outer.classList.add(replacementClass))};el.clientWidth>nav_id2.clientWidth+mdf?(html_tag.classList.add("has-long-nav"),replaceTextClass("text-center","have-text-center"),replaceTextClass("text-justify","have-text-justify"),replaceTextClass("text-end","have-text-end"),em.length&&(en=em[0].clientWidth),Array.from(el.children).forEach(function(eo){countNavDist(eo,en);let resizeHandler=function(){!html_tag.classList.contains("search-compact-active")&&html_tag.classList.contains("has-compact-nav")&&countNavDist(eo,en)};window.addEventListener("resize",throttle(resizeHandler,200))})):(html_tag.classList.remove("has-long-nav"),replaceTextClass("have-text-center","text-center"),replaceTextClass("have-text-justify","text-justify"),replaceTextClass("have-text-end","text-end"))}if(nav_id2){var nmu=nav_id2.querySelectorAll("[data-type]")[0],nml,nms=0,nmt,all_submenu,logo_img;if(nmu&&(nml=nmu.querySelectorAll("li.show-all"),Array.from(nmu.children).forEach(function(el,index){el.setAttribute("data-copy",nmu.children.length-index)}),nml.length)){let calcLogoOffset=function(){header_main&&logo_id2&&logo_id2.classList.contains("text-center")&&root_styles.style.setProperty("--logo_offset",logo_id2.offsetLeft/header_main.clientWidth*100+"%")},callback=function(mutationList,observer2){mutationList.forEach(function(mutation){if(mutation.type==="attributes"&&mutation.attributeName==="class"){var temp_hidden=nav_id2.getElementsByClassName("temp-hidden");nav_id2.classList.add("tr"),html_tag.classList.add("has-long-nav"),Array.from(temp_hidden).forEach(function(el){el.classList.remove("temp-hidden")}),countNavDistF(nmu,nml,nms),nav_id2.classList.remove("tr")}})};all_submenu=createElementWithClass("ul","show-all-submenu"),nml[0].appendChild(all_submenu),nmt=nml[0].closest("ul").children,Array.from(nmt).forEach(function(el){var clone_me=el.cloneNode(!0);nml[0].querySelectorAll(".show-all-submenu")[0].appendChild(clone_me)}),Array.from(nav_id2.querySelectorAll('.show-all-submenu [class*="l4cl"]')).forEac
1h(function(el){el.setAttribute("data-class",el.getAttribute("class")),el.removeAttribute("class")}),logo_img=logo_id2.querySelector("img"),nav_outer.closest("#header-inner")!==null?(calcLogoOffset(),setTimeout(function(){if(logo_img)logo_img.complete&&(calcLogoOffset(),countNavDistF(nmu,nml,nms)),logo_img.addEventListener("load",function(){calcLogoOffset(),countNavDistF(nmu,nml,nms)}),countNavDistF(nmu,nml,nms),header_outer.classList.add("ready"),window.dispatchEvent(new Event("resize"));else{const temp_hidden=nav_id2.querySelectorAll(".temp-hidden");html_tag.classList.add("has-long-nav"),temp_hidden.length>0&&temp_hidden.forEach(el=>el.classList.remove("temp-hidden")),countNavDistF(nmu,nml,nms),header_outer.classList.add("ready")}},250)):(countNavDistF(nmu,nml,nms),header_outer.classList.add("ready")),window.addEventListener("resize",function(){calcLogoOffset();var temp_hidden=nav_id2.getElementsByClassName("temp-hidden");html_tag.classList.add("has-long-nav"),header_outer.classList.remove("ready"),Array.from(temp_hidden).forEach(function(el){el.classList.remove("temp-hidden")}),countNavDistF(nmu,nml,nms),header_outer.classList.add("ready")}),new MutationObserver(callback).observe(nav_outer,{attributes:!0})}Array.from(nav_id2.querySelectorAll('li.sub > a[href="#"]')).forEach(function(el){el.parentElement.classList.add("empty-url")}),Array.from(nav_id2.querySelectorAll("a > .s1bx")).forEach(function(el){el.parentElement.classList.add("has-s1bx")})}},header()},footer:function(){window.footer=function(){footer_id=document.querySelector(".shopify-section-footer"),footer_id&&Array.from(footer_id.querySelectorAll("h1, h2, h3, h4, h5, h6")).forEach(function(el){append_url(el,"Close","header-toggle"),el.querySelector("a.header-toggle").addEventListener("click",function(e){toggle_dropdowns_simple(el.parentElement),e.preventDefault()})})},footer(),window.background=function(){document.querySelector("#background.done")&&document.querySelector("#background.done").remove();var background_id=document.getElementById("background");background_id&&header_outer&&header_outer.classList.contains("transparent")&&html_tag.classList.add("has-background"),background_id&&!background_id.classList.contains("static")&&(background_id.parentNode.id==="content"||background_id.parentNode.classList.contains("shopify-section"))&&(document.getElementById("root").appendChild(background_id),background_id.classList.add("done"))},background()},mobile:function(){isMobile?html_tag.classList.add("mobile"):html_tag.classList.add("no-mobile")},done:function(){new_js(window.filepaths.a_js_scripts_async),Shopify.designMode&&new_js(window.filepaths.a_js_backend_listeners)},ratings:function(){window.ratings=function(){var rating_element=document.querySelectorAll("[data-val][data-of]:not(.rating-initialized)");rating_element.length&&Array.from(rating_element).forEach(function(el){var reviewsElem=createElementWithClass("span","rating-label"),reviewsHead=createElementWithClass("span","rating-head"),reviewsHead_strong=el.querySelector(".strong"),reviews=el.innerHTML,rating=el.dataset.val,total=el.dataset.of;el.classList.contains("s1ld")?reviewsElem.innerHTML='<span class="bar" style="width: '+rating/total*100+'%;"></span>':(el.innerHTML="",el.append(createRatingsHtmlElement(rating,total)),reviewsElem.innerHTML=reviews),el.appendChild(reviewsElem),reviewsHead_strong!==null&&(reviewsHead.innerHTML=reviewsHead_strong.innerHTML),el.prepend(reviewsHead),el.classList.add("rating-initialized")})},ratings()},backgrounds:function(){var align_middle=document.getElementsByClassName("align-middle"),align_center=document.getElementsByClassName("align-center");align_middle.length&&Array.from(align_middle).forEach(function(el){var em=el.parentNode,en=em.parentNode;(el.previousElementSibling===null&&el.nextElementSibling===null&&em.id==="content"||el.previousElementSibling===null&&el.nextElementSibling===null&&em.previousElementSibling===null&&em.nextElementSibling===null&&en.id==="content")&&document.getElementById("content").classList.add("align-center")}),align_center.length&&Array.from(align_center).forEach(function(el){var em=el.parentNode,en=em.parentNode;(el.previousElementSibling===null&&el.nextElementSibling===null&&em.id==="content"||el.previousElementSibling===null&&el.nextElementSibling===null&&em.previousElementSibling===null&&em.nextElementSibling===null&&en.id==="content")&&document.getElementById("content").classList.add("align-center-static")})},swipers:function(){var module_featured,list_panel_slider,list_testimonials,list_static,list_usp,popup_a,list_collection_slider,list_product_slider,data_update_product_slider,autoplay_top_int,media_flexible,list_collection=document.getElementsByClassName("l4cl");
1list_collection.length&&Array.from(list_collection).forEach(function(el){Array.from(el.querySelectorAll("li")).forEach(function(em){em.querySelectorAll("picture ~ picture").length&&em.classList.add("has-picture-picture")})}),window.moduleFeaturedSlider=function(){module_featured=document.querySelectorAll(".m6fr:not(.s4wi)"),module_featured.length&&Array.from(module_featured).forEach(function(el){var pagination_type="bullets",autoplay_int=!1,total_sl=el.children.length,featuredSlider;el.getAttribute("data-autoplay")&&(autoplay_int={delay:parseFloat(el.getAttribute("data-autoplay"))}),randomize(el),el.children.length>1&&el.classList.contains("wide")&&Array.from(el.children).forEach(function(em){wrap(em,document.createElement("div"),"article-container")}),featuredSlider=create_slider(el,{direction:"horizontal",loop:!0,autoHeight:!0,autoplay:autoplay_int,threshold:50,pagination:{el:".swiper-pagination-"+el.getAttribute("data-random"),clickable:!0,type:pagination_type,renderBullet:function(index,className){return'<span class="'+className+'">'+(index+1)+"<span class='prg'></span></span>"}},navigation:{nextEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-next',prevEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-prev'},on:{slideChangeTransitionStart:function(swiper){var active_content=swiper.el.querySelectorAll('.swiper-slide[data-swiper-slide-index="'+swiper.realIndex+'"] article')[0];if(typeof active_content<"u"&&el.setAttribute("data-active-content",active_content.getAttribute("class")),swiper.realIndex>0?el.classList.add("changed"):el.classList.remove("changed"),swiper.realIndex+1===total_sl?el.classList.add("last-slide-active"):el.classList.remove("last-slide-active"),el.classList.contains("is-first-m6fr-wide")&&html_tag.classList.contains("has-first-m6fr-wide")&&!html_tag.classList.contains("has-first-flexbile-wide")){var palette=active_content.getAttribute("data-color-palette");root_styles.style.setProperty("--transparent_header_fg","var(--"+palette.replace("_gradient","")+"_fg)"),root_styles.style.setProperty("--transparent_header_bg","var(--"+palette+"_bg)"),root_styles.style.setProperty("--transparent_header_btn_bg","var(--"+palette.replace("_gradient","")+"_btn_bg)"),root_styles.style.setProperty("--transparent_header_btn_fg","var(--"+palette.replace("_gradient","")+"_btn_fg)")}},resize:function(swiper){typeof Shopify<"u"&&Shopify.designMode&&Array.from(featuredSlider.slides).forEach(function(slide){featuredSlider.slideNext(0)}),setTimeout(function(){featuredSlider.updateAutoHeight()},500)}}}),featuredSlider!==null&&el.getAttribute("data-autoplay")&&!el.classList.contains("no-controls")&&(el.style.setProperty("--autoplay_duration",el.getAttribute("data-autoplay")+"ms"),el.getElementsByClassName("play-pause")[0].addEventListener("click",function(e){el.classList.contains("paused")?(el.classList.remove("paused"),featuredSlider.autoplay.start()):(el.classList.add("paused"),featuredSlider.autoplay.stop()),e.preventDefault()})),!isMobile&&featuredSlider!==null&&el.getAttribute("data-autoplay")&&!el.classList.contains("paused")&&el.addEventListener("mouseleave",function(){el.classList.remove("paused"),featuredSlider.autoplay.start()}),window.addEventListener("resize",function(event){html_tag.classList.add("resized"),featuredSlider!==null&&featuredSlider.updateAutoHeight()},!0),setTimeout(function(){featuredSlider!==null&&featuredSlider.updateAutoHeight()},500)})},moduleFeaturedSlider(),window.topBar=function(){top_bar=document.querySelectorAll(".shopify-section-announcement-bar:not(.s4wi)"),top_bar.length&&Array.from(top_bar).forEach(function(el){top_bar_children=el.children[0],el!==null&&el.children.length>1&&(autoplay_top_int=!1,el.hasAttribute("data-autoplay")&&(autoplay_top_int={delay:parseFloat(el.getAttribute("data-autoplay")),pauseOnMouseEnter:!0,disableOnInteraction:!1}),el.getElementsByClassName("no-arrows").length&&el.classList.add("no-arrows"),el.getElementsByClassName("size-m").length&&el.classList.add("size-m"),el.getElementsByClassName("size-l").length&&el.classList.add("size-l"),el.getElementsByClassName("animated").length&&el.classList.add("animated"),randomize(el),create_slider(el,{direction:"horizontal",loop:!0,autoHeight:!0,spaceBetween:window.innerWidth*.5,autoplay:autoplay_top_int,pagination:!1,navigation:{nextEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-next',prevEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-prev'}}))})}
1,topBar(),window.listPanelSlider=function(){list_panel_slider=document.getElementsByClassName("l4ps"),list_panel_slider.length&&Array.from(list_panel_slider).forEach(function(el){var pagination_type="bullets",autoplay_int=!1,total_sl=el.children.length;el.getAttribute("data-autoplay")&&(autoplay_int={delay:parseFloat(el.getAttribute("data-autoplay")),pauseOnMouseEnter:!0,disableOnInteraction:!1}),randomize(el),create_slider(el,{direction:"horizontal",loop:!1,autoHeight:!0,lazy:{loadPrevNext:!0},autoplay:autoplay_int,pagination:{el:".swiper-pagination-"+el.getAttribute("data-random"),clickable:!0,type:pagination_type},navigation:{nextEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-next',prevEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-prev'},on:{slideChangeTransitionStart:function(swiper){swiper.realIndex>0?swiper.$el[0].parentNode.classList.add("changed"):swiper.$el[0].parentNode.classList.remove("changed"),swiper.realIndex+1===total_sl?swiper.$el[0].parentNode.classList.add("last-slide-active"):swiper.$el[0].parentNode.classList.remove("last-slide-active")}}})})},listPanelSlider(),window.listTestimonialsSlider=function(){if(list_testimonials=document.querySelectorAll(".l4ts:not
1(.l4ts-initialized)"),list_testimonials.length){let removeClassByPrefix=function(el,prefix){for(var i=el.classList.length-1;i>=0;i--)el.classList[i].startsWith(prefix)&&el.classList.remove(el.classList[i])};Array.from(list_testimonials).forEach(function(el){el.classList.add("l4ts-initialized");var items,pagination_type="bullets",autoplay_int=!1,total_sl=el.children.length,loopme=!1,mainSlider,options,hidden_el;if(el.classList.contains("width-25")?items=[4,2,1]:el.classList.contains("width-50")?items=[2,2,1]:el.classList.contains("width-100")?items=[1,1,1]:items=[3,2,1],el.classList.contains("slider-aside")&&(items=[1,1,1],loopme=!1),el.getAttribute("data-autoplay")&&(autoplay_int={delay:parseFloat(el.getAttribute("data-autoplay")),pauseOnMouseEnter:!0,disableOnInteraction:!1}),randomize(el),options={direction:"horizontal",loop:loopme,autoHeight:!0,spaceBetween:32,slidesPerView:items[0],slidesPerGroup:items[0],autoplay:autoplay_int,pagination:{el:".swiper-pagination-"+el.getAttribute("data-random"),clickable:!0,type:pagination_type},navigation:{nextEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-next',prevEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-prev'},on:{slideChangeTransitionStart:function(swiper){swiper.realIndex>0?swiper.el.parentNode.classList.add("changed"):swiper.el.parentNode.classList.remove("changed"),swiper.realIndex+1===total_sl?swiper.el.parentNode.classList.add("last-slide-active"):swiper.el.parentNode.classList.remove("last-slide-active")},activeIndexChange:function(swiper){var activeIndex=this.activeIndex,pt=swiper.el.parentNode.querySelectorAll(".l4ts-aside > li");Array.from(pt).forEach(function(em,index){em.classList.remove("active"),activeIndex===index&&em.classList.add("active"),removeClassByPrefix(em,"palette-"),index===activeIndex?el.getAttribute("data-color-palette")!==null&&em.setAttribute("class",el.getAttribute("data-color-palette")+" "+em.getAttribute("class")):el.getAttribute("data-main-color-palette")!==null&&em.setAttribute("class",el.getAttribute("data-main-color-palette")+" "+em.getAttribute("class"))})}},breakpoints:{0:{simulateTouch:!1,allowTouchMove:!1},761:{slidesPerView:items[1],slidesPerGroup:items[1],simulateTouch:!0,allowTouchMove:!0},1001:{slidesPerView:items[0],slidesPerGroup:items[0],simulateTouch:!0,allowTouchMove:!0}}},el.classList.contains("slider")&&el.children.length>items[2]&&create_slider(el,options),el.classList.contains("slider-aside")&&el.children.length>1){mainSlider=create_slider(el,options);var sidebar_cont=document.querySelectorAll('[data-random="'+el.getAttribute("data-random")+'"]')[0],sidebar_nav=document.createElement("div");sidebar_nav.classList.add("l4ts-aside"),sidebar_cont.prepend(sidebar_nav),Array.from(sidebar_cont.getElementsByTagName("li")).forEach(function(em,index){append_url(em,"Go to slide","slider-aside-arrow");var clone_me=em.cloneNode(!0);clone_me.removeAttribute("data-shopify-editor-block"),clone_me.getElementsByClassName("s1us").length||clone_me.classList.add("hidden"),index>0&&(removeClassByPrefix(clone_me,"palette-"),el.getAttribute("data-main-color-palette")!==null&&clone_me.setAttribute("class",el.getAttribute("data-main-color-palette")+" "+clone_me.getAttribute("class"))),sidebar_cont.getElementsByClassName("l4ts-aside")[0].appendChild(clone_me)}),sidebar_cont.querySelectorAll(".l4ts-aside > .li:first-child")[0].classList.add("active"),el.hasAttribute("data-max")&&(hidden_el=el.querySelectorAll(".l4ts-aside > .li:not(.hidden)"),Array.from(hidden_el).forEach(function(em,index){index>parseFloat(el.getAttribute("data-max"))-1&&em.classList.add("hidden")})),Array.from(sidebar_cont.getElementsByClassName("slider-aside-arrow")).forEach(function(em,i){em.addEventListener("click",function(e){mainSlider.slideTo(i),em.tagName.toLowerCase()==="a"&&e.preventDefault()})})}})}},listTestimonialsSlider(),window.listStaticSlider=function(){list_static=document.querySelectorAll(".l4st:not(.l4st-initialized)"),list_static.length&&Array.from(list_static).forEach(function(el){if(el.classList.add("l4st-initialized"),!el.classList.contains("mobile-list")){var pagination_type="bullets",autoplay_int=!1,total_sl=el.children.length,cloned_mobile,firstFeatured,cln;el.getAttribute("data-autoplay")&&(autoplay_int={delay:parseFloat(el.getAttribute("data-autoplay")),pauseOnMouseEnter:!0,disableOnInteraction:!1}),randomize(el),clone_with_class(el,"mobile-only","mobile-hide"),cloned_mobile=el.nextElementSibling,firstFeatured=cloned_mobile.children[0],cloned_mobile.classList.contains("mobile-only")&&(cloned_mobile.hasAttribute("id")&&cloned_mobile.removeAttribute("id"),firstFeatured!==void 0&&firstFeatured.classList.contains("header")&&(cln=firstFeatured.cloneNode(!0),el.before(cln),firstFeatured.classList.add("mobile-hide"),wrap(el.previousSibling,document.createElement("ul"),"mobile-featured"),el.previousSibling.classList.add("l4st","mobile-only"),firstFeatured.remove()),create_slider(cloned_mobile,{direction:"horizontal",loop:!0,autoHeight:!0,spaceBetween:16,autoplay:autoplay_int,pagination:{el:".swiper-pagination-"+el.getAttribute("data-random"),clickable:!0,type:pagination_type},navigation:{nextEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-next',prevEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-prev'},on:{slideChangeTransitionStart:function(swiper){swiper.realIndex>0?swiper.el.parentNode.classList.add("changed"):swiper.el.parentNode.classList.remove("changed"),swiper.realIndex+1===total_sl?swiper.el.parentNode.classList.add("last-slide-active"):swiper.el.parentNode.classList.remove("last-slide-active")}}}))}})},listStaticSlider(),window.listUspSlider=function(){list_usp=document.querySelectorAll(".l4us:not(.l4us-initialized)"),list_usp.length&&Array.from(list_usp).forEac
1h(function(el,in1){var options,autoplay_int=!1,autowidth_int=1,isSwiper,innerText;if(el.classList.add("l4us-initialized"),Array.from(el.querySelectorAll(".swiper-button-prev, .swiper-button-next")).forEach(function(em){em.remove()}),Array.from(el.querySelectorAll("li")).forEach(function(em,in2){if(el.closest(".shopify-section-header")!==null){var innerText2=em.innerHTML,linkable,linkedPopup,isSwiper2;em.setAttribute("data-index","usp-"+in1+in2),em.innerHTML='<span class="outer"><span class="inner"><span class="nowrap">'+innerText2+'</span></span> <a href="./" class="linked" data-popup="'+em.getAttribute("data-index")+'">'+readMoreText+'</a> <span class="inner-text">'+innerText2+"</span></span>",em.setAttribute("data-index","usp-"+in1+in2),Array.from(el.querySelectorAll(".inner-text a")).forEach(function(en){en.setAttribute("tabindex","-1")}),em.classList.add("rendered"),linkedPopup=document.createElement("div");var cls=em.className.split(" ");linkedPopup.classList.add("popup-a","made-by-l4us"),linkedPopup.setAttribute("data-title",em.getAttribute("data-index")),linkedPopup.innerHTML='<p class="'+cls.join(" ")+'">'+innerText2+"</p>",root_id.appendChild(linkedPopup)}el.classList.contains("slider")&&(append_url(em,"Prev","swiper-button-prev"),append_url(em,"Next","swiper-button-next"))}),el.children.length>1&&el.classList.contains("slider")||el.classList.contains("slider-mobile")){el.getAttribute("data-autoplay")&&(autoplay_int={delay:parseFloat(el.getAttribute("data-autoplay")),pauseOnMouseEnter:!0,disableOnInteraction:!1}),randomize(el),el.classList.contains("inline")&&el.classList.contains("slider")&&(autowidth_int="auto");let space_between=20;el.classList.contains("inline")&&(el.classList.contains("slider")||el.closest("#nav-top-outer")!==null)||(space_between=window.innerWidth*.5),autowidth_int="auto",options={direction:"horizontal",loop:!0,loopedSlides:4,pagination:!1,autoplay:autoplay_int,slidesPerView:autowidth_int,autoHeight:!0,spaceBetween:space_between,navigation:{nextEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-next',prevEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-prev'},breakpoints:{0:{slidesPerView:1,space_between:20},761:{slidesPerView:autowidth_int,space_between}}},el.classList.contains("slider-mobile")?(clone_with_class(el,"mobile-only","mobile-hide"),el.nextElementSibling.removeAttribute("id"),el.nextElementSibling.classList.contains("mobile-only")&&(el.nextElementSibling.hasAttribute("id")&&el.nextElementSibling.removeAttribute("id"),Array.from(el.nextElementSibling.children).forEach(function(em){var cln=em.cloneNode(!0);el.nextElementSibling.appendChild(cln)}),create_slider(el.nextElementSibling,options))):el.classList.contains("slider")&&(Array.from(el.children).forEach(function(em){var cln=em.cloneNode(!0);el.appendChild(cln)}),create_slider(el,options))}})},listUspSlider(),popup_a=document.getElementsByClassName("popup-a"),popup_a.length&&Array.from(popup_a).forEach(function(el){Array.from(el.getElementsByClassName("l4cl")).forEach(function(el2){el2.classList.add("in-popup")})}),window.listCollectionSlider=function(){list_collection_slider=document.querySelectorAll(".l4cl:not(.in-popup, .s4wi)"),list_collection_slider.length&&Array.from(list_collection_slider).forEach(function(el){var items,hasImg=!1,autoHeight=!0,loopMe=!1,firstFeatured=el.children[0],spacing=30,spacing_real=parseFloat(getComputedStyle(el).getPropertyValue("--cols_spacing")),cln,parent_li,collectionSlider;spacing_real>0&&(spacing=spacing_real),firstFeatured!==void 0&&firstFeatured.classList.contains("featured")&&(cln=firstFeatured.cloneNode(!0),el.before(cln),firstFeatured.classList.add("mobile-hide"),wrap(el.previousSibling,document.createElement("ul"),"mobile-featured"),el.previousSibling.classList.add("l4cl")),el.getAttribute("data-distance")&&(spacing=parseFloat(el.getAttribute("data-distance"))),el.classList.contains("slider")&&(typeof el.querySelectorAll("figure")[0]<"u"&&!el.classList.contains("align-center")?(hasImg=!0,el.querySelectorAll("figure")[0].classList.add("first-image")):el.classList.add("no-img"),el.classList.contains("text-ju
1stify")?(items=["auto","auto","auto"],autoHeight=!0):el.classList.contains("width-5")?items=[20,6,4]:el.classList.contains("width-9")?items=[11,6,4]:el.classList.contains("width-10")?items=[10,6,4]:el.classList.contains("width-11")?items=[9,6,4]:el.classList.contains("width-12")?items=[8,6,4]:el.classList.contains("width-14")?items=[7,6,4]:el.classList.contains("width-16")?items=[6,5,3]:el.classList.contains("width-20")?items=[5,5,3]:el.classList.contains("width-25")?items=[4,4,3]:el.classList.contains("width-33")?items=[3,3,3]:el.classList.contains("width-50")?items=[2,2,2]:el.classList.contains("width-100")?items=[1,1,1]:items=[4,4,3],randomize(el),el.classList.contains("slider")&&el.children.length>items[2]&&(parent_li=el.closest("li.sub"),collectionSlider=create_slider(el,{direction:"horizontal",loop:loopMe,autoHeight,slidesPerView:items[0],spaceBetween:spacing,navigation:{nextEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-next',prevEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-prev'},breakpoints:{0:{simulateTouch:!1,allowTouchMove:!1},761:{slidesPerView:items[2],simulateTouch:!0,allowTouchMove:!0},1001:{slidesPerView:items[1],simulateTouch:!0,allowTouchMove:!0},1101:{slidesPerView:items[0],simulateTouch:!0,allowTouchMove:!0}},on:{afterInit:function(swiper){if(hasImg===!0){var h=swiper.el.getElementsByClassName("first-image")[0].clientHeight+"px";swiper.navigation.prevEl[0].style.height=h,swiper.navigation.nextEl[0].style.height=h}},resize:function(swiper){if(hasImg===!0){var h=swiper.el.getElementsByClassName("first-image")[0].clientHeight+"px";swiper.navigation.prevEl[0].style.height=h,swiper.navigation.nextEl[0].style.height=h}},update:function(swiper){if(hasImg===!0){var h=swiper.el.getElementsByClassName("first-image")[0].clientHeight+"px";swiper.navigation.prevEl[0].style.height=h,swiper.navigation.nextEl[0].style.height=h}}}}),parent_li?.addEventListener("mouseenter",function(){collectionSlider.update()})))})},listCollectionSlider(),window.listProductSlider=function(){list_product_slider=document.querySelectorAll(".l4pr:not(.list-product-initialized)"),list_product_slider.length&&Array.from(list_product_slider).forEach(function(el){el.classList.add("list-product-initialized");var mainSliderElement=el,children=mainSliderElement.children,qttChildren=children.length,qttChildCount,total_sl=el.children.length,spaceBetween_dist=0,spaceBetween_real=parseFloat(getComputedStyle(el).getPropertyValue("--spacing")),mainSlider,slides,initial_slide=0,slidesPerView=1,firstModel=el.querySelectorAll("a > .model-3d:first-child model-viewer[poster]");children.length&&Array.from(children).forEach(function(el2,index){qttChildCount=qttChildren-index,el2.classList.contains("has-anchor")||el2.setAttribute("id","section-product-"+qttChildCount)}),Array.from(firstModel).forEach(function(em){var staticPoster=document.createElement("img"),staticPosterWrapper=document.createElement("picture");staticPoster.setAttribute("src",em.getAttribute("poster")),staticPoster.setAttribute("data-src",em.getAttribute("poster")),staticPosterWrapper.prepend(staticPoster),staticPosterWrapper.classList.add("just-poster"),em.hasAttribute("alt")&&staticPoster.setAttribute("alt",em.getAttribute("alt")),em.closest("a").prepend(staticPosterWrapper)}),slides=mainSliderElement.cloneNode(!0).children,randomize(el),el.closest(".m6pn:not(.m6pr-wide)")!==null?el.classList.add("in-m6pn"):el.classList.contains("slider")||(clone_with_class(el,"mobile-only","mobile-hide"),mainSliderElement=el.nextElementSibling,el.hasAttribute("id")&&(el.nextElementSibling.setAttribute("id",el.getAttribute("id")),el.setAttribute("id",el.getAttribute("id")+"-desktop"))),el.classList.contains("offset")&&el.closest(".m6pn")===null&&(slidesPerView="auto",spaceBetween_dist=el.dataset.spacing),el.classList.contains("offset")&&spaceBetween_real>=0&&(spaceBetween_dist=spaceBetween_real),el.getAttribute("data-featured_media_position")&&(initial_slide=parseFloat(el.getAttribute("data-featured_media_position"))-1),(mainSliderElement.classList.contains("slider")||mainSliderElement.classList.contains("mobile-only")||mainSliderElement.classList.contains("in-m6pn"))&&(mainSlider=create_slider(mainSliderElement,{direction:"horizontal",loop:!1,autoHeight:!0,preloadImages:!1,initialSlide:initial_slide,spaceBetween:spaceBetween_dist,slidesPerView,pagination:{el:".swiper-pagination-"+el.getAttribute("data-random"),clickable:!0,renderBullet:function(index,className){if(slides[index]!==void 0){var finalSpan=document.createElement("a"),img_type,add_class,img,divFlex,divNo,moreLink,icon,span,a_thumb,a_thumb_img,a_thumb_pic,a_thumb_pic_class;if(finalSpan.classList.add(className),slides[index].hasAttribute("class")&&(add_class=sli
1des[index].getAttribute("class"),add_class.includes("portrait")&&finalSpan.classList.add("portrait"),add_class.includes("landscape")&&finalSpan.classList.add("landscape"),add_class.includes("auto")&&(finalSpan.classList.add("auto"),finalSpan.classList.remove("landscape","portrait"))),slides[index].querySelector("picture")?img_type="picture":img_type="img",img=slides[index].querySelector(img_type),a_thumb=img.closest("a[data-gallery-thumb]"),a_thumb_img=document.createElement("img"),a_thumb_pic=document.createElement("picture"),a_thumb!==null&&img!==null){if(a_thumb_img.setAttribute("src",a_thumb.getAttribute("data-gallery-thumb")),a_thumb_pic_class=a_thumb.querySelectorAll("picture[class]")[0],a_thumb_pic_class){var classes=a_thumb_pic_class.getAttribute("class").split(" ");Array.from(classes).forEach(function(str){a_thumb_pic.classList.add(str)})}a_thumb_img.setAttribute("alt","Thumbnail"),a_thumb_pic.appendChild(a_thumb_img),finalSpan.appendChild(a_thumb_pic)}else img&&finalSpan.appendChild(img);return divFlex=document.createElement("span"),divNo=document.createElement("span"),divNo.classList.add("crnt-no"),icon=slides[index].querySelector("i[class^=icon-]"),icon&&divFlex.appendChild(icon),finalSpan.appendChild(divFlex),finalSpan.appendChild(divNo),finalSpan.outerHTML}}},navigation:{nextEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-next',prevEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-prev'},breakpoints:{0:{spaceBetween:0,slidesPerView:1},761:{spaceBetween:spaceBetween_dist}},on:{afterInit:function(swiper){const labels=swiper.el.getElementsByClassName("label");labels.length>0&&swiper.el.parentNode.appendChild(labels[0])},activeIndexChange:function(swiper){const crt=swiper.activeIndex+1,isCrtGreaterThanNine=crt>9;Array.from(mainSliderElement.getElementsByClassName("crnt-no")).forEach(function(em){em.innerText=crt,isCrtGreaterThanNine?em.classList.add("high"):em.classList.remove("high")}),Array.from(swiper.el.querySelectorAll("video")).forEach(function(video){video.pause()});const activeSlide=swiper.slides[swiper.activeIndex];if(activeSlide){const video=activeSlide.querySelector("video");video&&video.play()}}}}))})},listProductSlider(),window.mediaFlexible=function(){media_flexible=document.getElementsByClassName("media-flexible"),media_flexible.length&&Array.from(media_flexible).forEach(function(el){if(!el.parentElement.classList.contains("flexible-stack")&&(el.classList.contains("slider-mobile")||el.parentElement.classList.contains("mobile-static"))&&!el.classList.contains("media-flexible-initialized")){var cloned_mobile,link,emc,pt=el.parentElement,tag=document.createElement("div"),fl=pt.querySelectorAll(".media-flexible:not(.mobile-hide-media-flexible) > *:not(.mobile-hide-media-flexible)");el.parentElement.getElementsByClassName("media-flexible-mobile").length||(tag.classList.add("media-flexible-mobile"),el.after(tag),el.classList.add("mobile-hide"),cloned_mobile=pt.getElementsByClassName("media-flexible-mobile")[0],Array.from(fl).forEach(function(em){emc=em.cloneNode(!0),cloned_mobile.appendChild(emc)}),cloned_mobile.classList.contains("media-flexible-mobile")&&(cloned_mobile.classList.remove("media-flexible"),cloned_mobile.classList.remove("mobile-hide"),cloned_mobile.hasAttribute("id")&&cloned_mobile.removeAttribute("id"),Array.from(cloned_mobile.children).forEach(function(el2){el2.classList.contains("mobile-hide")&&el2.remove()}),randomize(cloned_mobile),cloned_mobile.classList.contains("s4wi")||create_slider(cloned_mobile,{direction:"horizontal",loop:!0,autoHeight:!0,pagination:{el:".swiper-pagination-"+cloned_mobile.getAttribute("data-random"),clickable:!0,type:"bullets",renderBullet:function(index,className){return'<span class="'+className+'">'+(index+1)+"<span class='prg'></span></span>"}},on:{slideChangeTransitionStart:function(swiper){var active_content=swiper.el.querySelectorAll('.swiper-slide[data-swiper-slide-index="'+swiper.realIndex+'"] > *')[0];typeof active_content<"u"&&el.setAttribute("data-active-content",active_content.getAttribute("data-color-palette"))}}}))),el.classList.add("media-flexible-initialized")}})},mediaFlexible()}}};Default.utils.start(),Default.utils.dom(),Default.utils.mobile(),Default.utils.top(),Default.utils.forms(),Default.utils.footer(),Default.utils.swipers(),Default.utils.ratings(),Default.utils.backgrounds(),Default.utils.done()});/*!*/window.sals=function(){var data_sal=document.querySelectorAll("[data-sal]");data_sal.length&&loadRes(a_js_animations,function(){"use strict";new_css("animations-css",a_css_animations),sal({threshold:.2,once:!0})})},sals();function countPrefixSuffix(){var input_prefix,input_suffix;input_prefix=document.querySelectorAll(".input-prefix > span:first-child"),input_prefix.length&&Array.from(input_prefix).forEac
1h(function(el){var c=el.nextElementSibling;html_tag.getAttribute("dir")==="rtl"?c.style.paddingRight=el.offsetWidth+"px":c.style.paddingLeft=el.offsetWidth+"px"}),input_suffix=document.querySelectorAll(".input-suffix > span:first-child"),input_suffix.length&&Array.from(input_suffix).forEach(function(el){var c=el.nextElementSibling;html_tag.getAttribute("dir")==="rtl"?c.style.paddingLeft=el.offsetWidth+"px":c.style.paddingRight=el.offsetWidth+"px"})}setTimeout(function(){countPrefixSuffix()},500),window.addEventListener("showAlert",function(event){var messageText=event.detail.message,messageType=event.detail.type,messageHeader=event.detail.header?event.detail.header:!1,messageOrigin=event.detail.origin?"message-"+event.detail.origin:!1,messageLocation=event.detail.location?event.detail.location:"footer",messageColor="";switch(messageType){case"success":messageColor="valid",messageHeader||(messageHeader=window.translations.general_alerts_success_text);break;case"info":messageColor="alert",messageHeader||(messageHeader=window.translations.general_alerts_info_text);break;case"error":messageColor="error",messageHeader||(messageHeader=window.translations.general_alerts_error_text);break;default:messageColor="valid",messageHeader||(messageHeader="")}var message='<li class="overlay-'+messageColor+" "+messageOrigin+'"><span>'+messageText+"</span></li>",list_alerts=document.querySelector(".l4al:not(.inline)");(list_alerts===null||messageLocation=="cartpanel")&&(list_alerts=document.createElement("ul"),list_alerts.classList.add("l4al"),messageLocation=="footer"?document.getElementById("root").appendChild(list_alerts):messageLocation=="cartpanel"&&document.getElementById("cart")?(list_alerts.setAttribute("data-delay",2e3),document.getElementById("cart").insertBefore(list_alerts,document.getElementById("cart").querySelector(".l4ca"))):document.getElementById("root").appendChild(list_alerts)),(messageOrigin&&list_alerts.getElementsByClassName(messageOrigin).length==0||!messageOrigin)&&(list_alerts.innerHTML+=message),typeof window.listAlertsAsync<"u"&&window.listAlertsAsync()},!1),window.lazyVideo=function(){var lazyVideos=[].slice.call(document.querySelectorAll("video.lazy"));if("IntersectionObserver"in window){var lazyVideoObserver=new IntersectionObserver(function(entries,observer){entries.forEach(function(video){if(video.isIntersecting){for(var source in video.target.children){var videoSource=video.target.children[source];typeof videoSource.tagName=="string"&&videoSource.tagName==="SOURCE"&&(videoSource.src=videoSource.dataset.src)}video.target.load(),video.target.classList.remove("lazy"),lazyVideoObserver.unobserve(video.target)}})});lazyVideos.forEach(function(lazyVideo2){lazyVideoObserver.observe(lazyVideo2)})}},document.addEventListener("DOMContentLoaded",function(){lazyVideo()});
2//# sourceMappingURL=/cdn/shop/t/10/assets/custom.js.map?v=86049194493830088771729264977

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.