1import{_ as h,S as V,B as p}from"./app.js";import"./swiper.js";const y={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)}},d=window.Vue.renderList,r=window.Vue.Fragment,e=window.Vue.openBlock,t=window.Vue.createElementBlock,a=window.Vue.toDisplayString,c=window.Vue.createTextVNode,f=window.Vue.resolveComponent,w=window.Vue.withCtx,u=window.Vue.createVNode,k=window.Vue.createCommentVNode,_=window.Vue.createElementVNode,N=window.Vue.normalizeStyle,S=window.Vue.normalizeClass,g={class:"navigation"},v={key:0,class:"sub-menu"};function x(n,z,s,C,E,m){const l=f("SoylentLink");return e(),t("div",{class:S(["element",s.element.type,s.element.subtype])},[_("div",g,[(e(!0),t(r,null,d(this.element.data.items,o=>(e(),t("ul",{style:N(m.colStyle),class:"menu-group",key:o.id},[_("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",v,[(e(!0),t(r,null,d(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 W=h(y,[["render",x]]);export{W 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.