import{x as s,ae as m,c as n,R as e,y as l,D as c,n as u,I as f}from"./index-3OxajW06.js";import{I as h}from"./ItemsListing-BEQ6KrAM.js";import"./ItemContextMenu.vue_vue_type_style_index_0_scoped_3a9a25e3_lang-CeAv8-PF.js";import"./ProviderIcon.vue_vue_type_script_setup_true_lang-BCYbQGjf.js";import"./VListItem-Chb8UPjb.js";import"./VChip-CJqEYpNt.js";import"./VList-6o6GYwqq.js";import"./VCardText-DfI0lPZt.js";import"./VCard-BtLQOX9b.js";import"./VMenu-BqhB0qWS.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./eventbus-CGRXT3Tn.js";import"./ListItem-Bi560fvx.js";import"./VCheckbox-Dp9AwJQb.js";import"./VCheckboxBtn-Be-snH-E.js";import"./VTooltip-RaLuCrOc.js";import"./VSpacer-D0kMQk_0.js";/* empty css              */import"./PanelviewItemCompact-DUNG6yOD.js";import"./Container-BGMYC4UX.js";import"./VContainer-D9OC0DI7.js";import"./Toolbar-Bk5QllK0.js";import"./VToolbar-HzJOtCLw.js";import"./VTextField-PZO_9G2I.js";import"./VInfiniteScroll-DJk7AvQI.js";import"./layout-BYG8T7Sc.js";import"./VRow-CFzciOM8.js";import"./VVirtualScroll-DVYtO6nk.js";import"./VAlert-CbrNX-A8.js";const Q=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{Q as default};
