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-CbqyiSMI.js";import{I as h}from"./ItemsListing-B7YbZVJx.js";import"./VCheckbox-Csgo84SF.js";import"./eventbus-obT-FP9Y.js";import"./VListItem-BYxrnyeM.js";import"./VCheckboxBtn-DxTJLbWV.js";import"./VList-2BQBE8QJ.js";import"./VCardText-_gwoREqT.js";import"./VCard-B6sm4saY.js";import"./VMenu-1DOA9SEI.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./ListItem-B7bHYA4R.js";import"./Button-CLDMkOkF.js";import"./VSpacer-CmYIZFzH.js";/* empty css              */import"./PanelviewItemCompact-Dd6pj0K-.js";import"./VAlert-DwqXkxqj.js";import"./Container-w-OCNvyc.js";import"./Toolbar-acHr9fKA.js";import"./VToolbar-BG8y1FYY.js";import"./VTextField-BgfrdRes.js";import"./VInfiniteScroll-DYhI3uXA.js";import"./layout-CR-LchnQ.js";import"./VVirtualScroll-ChC1ngc2.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};
