import{x as s,af as m,c as n,R as e,y as l,D as c,n as u,I as f}from"./index-CmG5Lu4c.js";import{I as h}from"./ItemsListing-Coo-fYjR.js";import"./ItemContextMenu.vue_vue_type_style_index_0_scoped_3a9a25e3_lang-DDAWVj5t.js";import"./ProviderIcon.vue_vue_type_script_setup_true_lang-3rkrFzvc.js";import"./VListItem-B8naaqXT.js";import"./VChip-BTF3BXxF.js";import"./VList-B3rYhbT8.js";import"./VMenu-Cq7Is-YL.js";import"./VCard-CydYR8T2.js";import"./VCardText-BBnD13q2.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./eventbus-CGRXT3Tn.js";import"./ListItem-oqytiPeb.js";import"./VCheckbox-B2EKci9b.js";import"./VCheckboxBtn-B3luQs9_.js";import"./VSpacer-icVgDxg4.js";/* empty css              */import"./PanelviewItemCompact-bT5_S05b.js";import"./Container-S0AVaCVQ.js";import"./VContainer-BlIut0Ek.js";import"./Toolbar-D6_sJyDo.js";import"./VToolbar-Digny4I4.js";import"./VTextField-BdHUeHhi.js";import"./VInfiniteScroll-BsiPw7TI.js";import"./layout-ChM0Bb5g.js";import"./VRow-C-ThHV-Q.js";import"./VVirtualScroll-QvVcc1QG.js";import"./VAlert-DMLWOftx.js";const P=s({__name:"BrowseView",props:{path:{}},setup(i){const t=i,{t:o}=m(),p=n(()=>!t.path||t.path=="root"?o("browse"):e("bp6")?o("browse")+" | "+t.path:e("bp3")?t.path:o("browse")),a=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":a,"sort-keys":["original","name","name_desc"],title:p.value,path:r.path,"allow-key-hooks":!0,icon:"mdi-folder-outline"},null,8,["title","path"])]))}});export{P as default};
