import{d as s,a7 as m,x as n,V as e,c as l,h as c,f as u,b as f}from"./index-Zc-wk74_.js";import{I as h}from"./ItemsListing-BLy3orFl.js";import"./VCheckbox-D5GHrdOX.js";import"./eventbus-C0P6qNPg.js";import"./VListItem-CCUcPpLz.js";import"./VCheckboxBtn-Ct-7Y74e.js";import"./VList-Dusd_5Ye.js";import"./VCardText-hY73Mfke.js";import"./VCard-C45UgMrt.js";import"./VMenu-DClF7_xn.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./ListItem-UibH6rGC.js";import"./Button-D7IzaK38.js";import"./VSpacer-CkJvldNK.js";/* empty css              */import"./PanelviewItemCompact-B7b1ByGO.js";import"./VAlert-vUskc6_6.js";import"./Container-DGS7HYh8.js";import"./Toolbar-vaceze9C.js";import"./VToolbar-Dq9qTrL6.js";import"./VTextField-CBev3KF6.js";import"./VInfiniteScroll-Cg0KRQkn.js";import"./layout-7-Oykuky.js";import"./VVirtualScroll-Dejhj8p2.js";const K=s({__name:"BrowseView",props:{path:{}},setup(i){const t=i,{t:o}=m(),a=n(()=>!t.path||t.path=="root"?o("browse"):e("bp6")?o("browse")+" | "+t.path:e("bp3")?t.path:o("browse")),p=async function(r){return await f.browse(t.path)};return(r,w)=>(l(),c("section",null,[u(h,{itemtype:"browse","show-provider":!1,"show-library":!1,"show-favorites-only-filter":!1,"show-track-number":!1,"load-items":p,"sort-keys":["original","name","name_desc"],title:a.value,path:r.path,"allow-key-hooks":!0,icon:"mdi-folder-outline"},null,8,["title","path"])]))}});export{K as default};
