1import{t as h,p as V}from"./app.js";import{B as p}from"./Breakpoints.js";import"./swiper.js";const f={name:"SoylentInPageNavigation",components:{SoylentLink:V},props:["element"],data:function(){return{windowWidth:window.innerWidth}},computed:{colStyle:function(){let n=1;return this.windowWidth>=1024?n=this.element.data.amount_cols_1024:this.windowWidth>=p?n=this.element.data.amount_cols_768:this.windowWidth>=425&&(n=2),{width:100/n+"%"}}},methods:{onResize:function(){this.windowWidth=window.innerWidth}},mounted(){this.$nextTick(()=>{window.addEventListener("resize",this.onResize)})},beforeUnmount(){window.removeEventListener("resize",this.onResize)}},r=window.Vue.renderList,d=window.Vue.Fragment,e=window.Vue.openBlock,t=window.Vue.createElementBlock,a=window.Vue.toDisplayString,c=window.Vue.createTextVNode,y=window.Vue.resolveComponent,w=window.Vue.withCtx,u=window.Vue.createVNode,k=window.Vue.createCommentVNode,m=window.Vue.createElementVNode,N=window.Vue.normalizeStyle,g=window.Vue.normalizeClass,v={class:"navigation"},x={key:0,class:"sub-menu"};function z(n,S,s,C,E,_){const l=y("SoylentLink");return e(),t("div",{class:g(["element",s.element.type,s.element.subtype])},[m("div",v,[(e(!0),t(d,null,r(this.element.data.items,o=>(e(),t("ul",{style:N(_.colStyle),class:"menu-group",key:o.id},[m("li",null,[u(l,{class:"--text-size-xl",url:o.url},{default:w(()=>[c(a(o.label),1)]),_:2},1032,["url"]),o.items?(e(),t("ul",x,[(e(!0),t(d,null,r(o.items,i=>(e(),t("li",{key:i.id},[u(l,{url:i.url},{default:w(()=>[c(a(i.label),1)]),_:2},1032,["url"])]))),128))])):k("",!0)])],4))),128))])],2)}const R=h(f,[["render",z]]);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.