var gallery_animating=!1;(function(){function check_webp_feature(feature,callback){var kTestImages={lossy:"UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",lossless:"UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA==",alpha:"UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAARBxAR/Q9ERP8DAABWUDggGAAAABQBAJ0BKgEAAQAAAP4AAA3AAP7mtQAAAA=="};var img=new Image();img.onload=function(){var result=(img.width>0)&&(img.height>0);callback(feature,result)};img.onerror=function(){callback(feature,!1)};img.src="data:image/webp;base64,"+kTestImages[feature]} check_webp_feature('lossy',function(feature,isSupported){if(isSupported){document.body.classList.add("webp")}else document.body.classList.add("no-webp")});document.querySelectorAll('#how ol li').forEach(function(el,i){var nel=document.createElement("mark");nel.innerHTML=i+1;el.insertBefore(nel,el.firstChild)})})();if(document.querySelector('.splide_image_gallery')){var splide=new Splide('.splide_image_gallery',{type:'loop',gap:'8px',lazyLoad:'nearby',padding:{right:'8%',left:'8%',},}).mount();splide.on('move',function(index){let el=document.querySelector('#gallery .caption[data-index="'+index+'"]');let caption=el?el.innerHTML:!1;if(caption)document.querySelector(".splide-caption").innerHTML=caption})} if(document.querySelector('.splide_shop'))var shop_splide=new Splide('.splide_shop',{focus:"center",arrows:!1,pagination:!1,gap:"5%",breakpoints:{800:{type:'loop',gap:"10%",perPage:1.8,padding:{right:'8%',left:'8%'},},570:{type:'loop',gap:"10%",perPage:1.3,padding:{right:'8%',left:'8%'},},}}).mount()