import{d as n,k as l,a1 as c,l as u,G as a,c as h,h as f,f as w,b}from"./index-43311bc3.js";import{_ as d}from"./ItemsListing.vue_vue_type_style_index_0_lang-784b9943.js";import"./ListviewItem-2b5b6af3.js";import"./VBadge-fcbfaeb4.js";import"./Container-9a0c901a.js";import"./forwardRefs-651c2bd6.js";import"./Button-8f8a6597.js";import"./VMenu-7c64b634.js";/* empty css              */import"./VInput-54c6b2cd.js";import"./VSlideGroup-390b1a05.js";import"./VCard-6b86821e.js";import"./VCardText-bdb89c1f.js";import"./VTooltip-6463f4cd.js";import"./PanelviewItem.vue_vue_type_style_index_0_lang-c2c2aaac.js";import"./contextmenu-7f33cf6e.js";import"./Alert-95d71572.js";import"./VAlert-8faad15a.js";import"./VToolbar-b1ca2657.js";import"./VTextField-9b7f128a.js";import"./VVirtualScroll-898a23a9.js";import"./layout-679c2edc.js";const J=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{J as default};
