import{d as s,aa as m,z as n,X as e,c as l,g as c,f,b as u}from"./index-abd7b0d3.js";import{I as h}from"./ItemsListing-6dc88bbd.js";import"./ItemContextMenu.vue_vue_type_style_index_0_scoped_7aadaa8c_lang-8ee75bda.js";import"./eventbus-3394fed7.js";import"./VListItem-623fa258.js";import"./VChip-13179554.js";import"./VList-856decd1.js";import"./VCard-61a799ef.js";import"./VCardText-199b0fb3.js";import"./VMenu-1534bcb0.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./ListItem-09177683.js";import"./Button-e561c42b.js";import"./VTextField-8263a3db.js";import"./VVirtualScroll-d9ad5563.js";import"./VSpacer-a55bbc93.js";/* empty css              */import"./Alert-3496524c.js";import"./VAlert-6f0f39d0.js";import"./Container-62927d7c.js";import"./Toolbar-6ade126e.js";import"./VToolbar-9761d31e.js";import"./VInfiniteScroll-6a5d71a2.js";import"./layout-8d36d037.js";const J=s({__name:"BrowseView",props:{path:{}},setup(i){const t=i,{t:r}=m(),a=n(()=>!t.path||t.path=="root"?r("browse"):e("bp6")?r("browse")+" | "+t.path:e("bp3")?t.path:r("browse")),p=async function(o){return await u.browse(o.offset,o.limit,t.path)};return(o,d)=>(l(),c("section",null,[f(h,{itemtype:"browse","show-provider":!1,"show-library":!1,"show-favorites-only-filter":!1,"show-track-number":!1,"load-paged-data":p,"sort-keys":["original","name","name_desc"],title:a.value,path:o.path,"allow-key-hooks":!0,icon:"mdi-folder-outline"},null,8,["title","path"])]))}});export{J as default};
