import{v as n,Q as l,aa as c,c as u,K as a,y as h,E as f,l as w,L as b}from"./index-d30f8f91.js";import{_ as d}from"./ItemsListing.vue_vue_type_style_index_0_lang-9bcf123f.js";import"./ListviewItem-af5f032d.js";import"./VBadge-e63fec5e.js";import"./Container-7b7ef2f1.js";import"./forwardRefs-c06b0d84.js";import"./VMenu-1af7e2f1.js";/* empty css              */import"./VCheckboxBtn-9fd04a36.js";import"./VSlideGroup-291987af.js";import"./VCard-968036d6.js";import"./VCardText-fa5e2de2.js";import"./VTooltip-95ea0886.js";import"./PanelviewItem.vue_vue_type_style_index_0_lang-799fdbe5.js";import"./contextmenu-4317d264.js";import"./Alert-1923ff54.js";import"./VAlert-bf6dc5bc.js";import"./VToolbar-4806f7a1.js";import"./VTextField-78398f74.js";import"./VVirtualScroll-cc57ac98.js";const A=n({__name:"BrowseView",props:{path:{}},setup(s){const t=s,{t:o}=l();c();const p=u(()=>!t.path||t.path=="root"?o("browse"):a("bp6")?o("browse")+" | "+t.path:a("bp3")?t.path:o("browse")),i=async function(e){const r=[];return await b.browse(t.path,m=>{r.push(...m)}),r};return(e,r)=>(h(),f("section",null,[w(d,{itemtype:"browse","show-provider":!1,"show-library":!1,"show-favorites-only-filter":!1,"show-track-number":!1,"load-items":i,"sort-keys":["original","name","name_desc"],title:p.value,path:e.path,"allow-key-hooks":!0},null,8,["title","path"])]))}});export{A as default};
