import{v as n,O 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-b12bd80e.js";import{_ as d}from"./ItemsListing.vue_vue_type_style_index_0_lang-a1cd4f47.js";import"./ListviewItem-96050575.js";import"./VBadge-ee40611b.js";import"./Container-559ac507.js";import"./forwardRefs-ccde8f15.js";import"./VMenu-29f14170.js";/* empty css              */import"./VInput-07934be9.js";import"./VSlideGroup-59a451fd.js";import"./VCard-ff384e61.js";import"./VCardText-a5346cc1.js";import"./VTooltip-7261e542.js";import"./PanelviewItem.vue_vue_type_style_index_0_lang-9e7798b1.js";import"./contextmenu-1ea20272.js";import"./Alert-49bdea68.js";import"./VAlert-b44bc40e.js";import"./VToolbar-4a427573.js";import"./VTextField-7036077f.js";import"./VVirtualScroll-36f43258.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};
