var frontend_block_horizontal_scroller;(()=>{"use strict";var e,t={};(e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})})(t),window.stackableHorizontalScroller=new class{init=()=>{const e=document.querySelectorAll(".stk-block-horizontal-scroller > .stk-block-content");let t=null,o=0,n=0;e.forEach((e=>{const l=function(t){const l=t.clientX-n;e.scrollTo({left:o-l}),t.preventDefault()},s=function(){document.body.removeEventListener("mousemove",l),document.body.removeEventListener("mouseup",s),e.style.cursor="";const o=e.scrollLeft;e.classList.remove("stk--snapping-deactivated");const n=e.scrollLeft;e.classList.add("stk--snapping-deactivated"),e.scrollLeft=o,e.scrollTo({left:n,behavior:"smooth"}),t=setTimeout((()=>{e.classList.remove("stk--snapping-deactivated")}),500)};e.addEventListener("mousedown",(function(c){e.style.cursor="grabbing",clearTimeout(t),e.classList.add("stk--snapping-deactivated"),o=e.scrollLeft,n=c.clientX,document.body.addEventListener("mousemove",l),document.body.addEventListener("mouseup",s)}))}))}},e=window.stackableHorizontalScroller.init,"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e()),frontend_block_horizontal_scroller=t})();