import{l as m,N as l,a8 as c,c as u,v as h,B as f,j as w,I as a,J as b}from"./index-a9406375.js";import{_ as d}from"./ItemsListing.vue_vue_type_style_index_0_lang-1030adfc.js";import"./ListviewItem-581a5a9d.js";import"./VBadge-7bedf590.js";import"./ListItem-4d766283.js";import"./VImg-587dd6c1.js";import"./VMenu-c481067f.js";import"./VCheckboxBtn-75d17b72.js";import"./VCard-9c841067.js";import"./VTooltip-272de438.js";import"./PanelviewItem.vue_vue_type_style_index_0_lang-d3692f9a.js";import"./contextmenu-4c94374f.js";import"./Alert-4ea96656.js";import"./Container-8778664d.js";import"./VToolbar-302db6bb.js";import"./VTextField-9486fd80.js";import"./VVirtualScroll-3e4f7a37.js";const z=m({__name:"BrowseView",props:{path:{}},setup(s){const t=s,{t:e}=l();c();const p=u(()=>!t.path||t.path=="root"?e("browse"):a("bp6")?e("browse")+" | "+t.path:a("bp3")?t.path:e("browse")),i=async function(r){const o=[];return await b.browse(t.path,n=>{o.push(...n)}),o};return(r,o)=>(h(),f("section",null,[w(d,{itemtype:"browse","show-provider":!1,"show-library":!1,"show-favorites-only-filter":!1,"show-track-number":!1,"load-items":i,"sort-keys":["original","name","name_desc"],title:p.value,path:r.path,"allow-key-hooks":!0},null,8,["title","path"])]))}});export{z as default};
