1import{c as e}from"./index.CislQVYa.js";import{S as t}from"./page.js";function r(){return{handleResize:null,resizeTimer:null,splide:null,initSplide(){const i=this.$refs.splide;i&&(this.splide=new t(i,{gap:28,padding:e(),pagination:!0,breakpoints:{480:{fixedWidth:296,gap:32}}}),this.splide.on("overflow",s=>{this.splide.options={drag:s}}),this.splide.mount())},init(){this.initSplide(),this.handleResize=()=>{clearTimeout(this.resizeTimer??void 0),this.resizeTimer=setTimeout(()=>{this.splide&&(this.splide.options={padding:e()})},100)},window.addEventListener("resize",this.handleResize)},destroy(){window.removeEventListener("resize",this.handleResize),clearTimeout(this.resizeTimer??void 0),this.splide?.destroy(),this.splide=null}}}export{r as default};
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.