import{d as s,a7 as m,x as n,C as e,c as l,h as c,f as u,b as f}from"./index-BcUYXcPq.js";import{I as h}from"./ItemsListing-HGPehT6Y.js";import"./ItemContextMenu.vue_vue_type_style_index_0_scoped_85c6bb69_lang-CQtpREte.js";import"./ProviderIcon.vue_vue_type_script_setup_true_lang-B54PMsCQ.js";import"./VListItem-DC0X47Q4.js";import"./VCheckboxBtn-DvMOQpng.js";import"./VList-BKlimdrv.js";import"./VCardText-D-aWL0fz.js";import"./VCard-Dx-t9yLE.js";import"./VMenu-7bd_kTRb.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./eventbus-CGRXT3Tn.js";import"./ListItem-Cq4V-Lz8.js";import"./Button-70QbWoUa.js";import"./VCheckbox-BEPbmvTc.js";import"./VSpacer-G9Q32ju2.js";/* empty css              */import"./PanelviewItemCompact-w04R_lVh.js";import"./VAlert-DbYDqcUs.js";import"./Container-BixSAZes.js";import"./VContainer-CoH7hbKx.js";import"./Toolbar-CtV0cu85.js";import"./VToolbar-B-HEXsGH.js";import"./VTextField-rtqk6KCF.js";import"./VInfiniteScroll-BVPAk5NO.js";import"./layout-B1VfN3Kd.js";import"./VRow-CBTscIT0.js";import"./VVirtualScroll-BfIwRbDJ.js";const Q=s({__name:"BrowseView",props:{path:{}},setup(i){const t=i,{t:o}=m(),p=n(()=>!t.path||t.path=="root"?o("browse"):e("bp6")?o("browse")+" | "+t.path:e("bp3")?t.path:o("browse")),a=async function(r){return await f.browse(t.path)};return(r,w)=>(l(),c("section",null,[u(h,{itemtype:"browse","show-provider":!1,"show-library":!1,"show-favorites-only-filter":!1,"show-track-number":!1,"load-items":a,"sort-keys":["original","name","name_desc"],title:p.value,path:r.path,"allow-key-hooks":!0,icon:"mdi-folder-outline"},null,8,["title","path"])]))}});export{Q as default};
