import{d as m,aa as l,r as u,z as c,W as i,c as f,g as d,f as h,b as w}from"./index-dc4d9f26.js";import{I as b}from"./ItemsListing-9290f7b8.js";import"./VCheckbox-f1104d05.js";import"./eventbus-a8c2de56.js";import"./VListItem-65135f8c.js";import"./VCheckboxBtn-3cfb51c2.js";import"./VList-4daf9b39.js";import"./VCardText-fea590bb.js";import"./VCard-299e9447.js";import"./VMenu-44fbbe6a.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./ListItem-6e7890fa.js";import"./Button-d230f8d5.js";import"./VSpacer-cde6537e.js";/* empty css              */import"./PanelviewItemCompact-105c1437.js";import"./VAlert-562d62e3.js";import"./Container-43bdd9c6.js";import"./Toolbar-8f128710.js";import"./VToolbar-131f9d53.js";import"./VTextField-e3de4b3e.js";import"./VVirtualScroll-73f2affe.js";import"./VInfiniteScroll-da869181.js";import"./layout-64805198.js";const K=m({__name:"BrowseView",props:{path:{}},setup(s){const t=s,{t:o}=l(),a=u(!1),p=c(()=>!t.path||t.path=="root"?o("browse"):i("bp6")?o("browse")+" | "+t.path:i("bp3")?t.path:o("browse")),n=async function(e){const r=await w.browse(e.offset,e.limit,t.path);return a.value=r.total!=null,r};return(e,r)=>(f(),d("section",null,[h(b,{itemtype:"browse","show-provider":!1,"show-library":!1,"show-favorites-only-filter":!1,"show-track-number":!1,"load-paged-data":n,"sort-keys":a.value?["original","name","name_desc"]:["original"],title:p.value,path:e.path,"allow-key-hooks":!0,icon:"mdi-folder-outline","no-server-side-sorting":!0},null,8,["sort-keys","title","path"])]))}});export{K as default};
