import{d as s,a2 as m,x as n,V as e,c as l,h as c,f as u,b as f}from"./index-BXI2qIml.js";import{I as h}from"./ItemsListing-Dm2I73m8.js";import"./VCheckbox-CHc9r84S.js";import"./eventbus-BJAYFFrB.js";import"./VListItem-BqDOQjsf.js";import"./VCheckboxBtn-D9hm3Yab.js";import"./VList-Oj0sJwE3.js";import"./VCardText-Cn4KBJZu.js";import"./VCard-zMIp_65-.js";import"./VMenu-B1bAKgcw.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./ListItem-BKs0yHtA.js";import"./Button-B3YUuwUS.js";import"./VSpacer-BPlqGA6z.js";/* empty css              */import"./PanelviewItemCompact-CN1qE3EN.js";import"./VAlert-fx710Vuu.js";import"./Container-CyLsZkwx.js";import"./Toolbar-BIkV8o49.js";import"./VToolbar-7C-gZgX7.js";import"./VTextField-B9f9UP4e.js";import"./VInfiniteScroll-BrsQ2CdR.js";import"./layout-DdVnEUE9.js";import"./VVirtualScroll-BfYXPzfs.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};
