import e from"./TopBar.27b84f08.js";import a from"./Breadcrumbs.d39e2491.js";import o from"./TopBarTabBarContainer.3bdb2bb3.js";import s from"./TabBar.c1d45ed5.js";import{n as i}from"./plugin-vue2_normalizer.000ba15c.js";import"./Container.f87d9f62.js";import"./Dropdown.d1060583.js";import"./DropdownList.02c48c2f.js";import"./DropdownListItem.ac31464c.js";import"./IconMoon.ade3e41b.js";import"./IconSun.8809e5d7.js";import"./IconSearch.27dac870.js";import"./IconButton.eadc8d3d.js";import"./BreadcrumbsItem.da3f8155.js";import"./TabBarItem.e9886f0a.js";const n={components:{TopBar:e,Breadcrumbs:a,TabBar:s,TopBarTabBarContainer:o},props:{breadcrumbs:Array},data(){return{tabBars:[{title:this.__("Dashboard"),to:this.route("dashboard"),active:this.route().current("dashboard")},{title:this.__("Sites"),to:this.route("sites.index"),active:this.route().current("sites.*")},Object.keys(this.$page.props.auth.can).length&&(this.$page.props.auth.can.servers.create||this.$page.props.auth.can.servers.update||this.$page.props.auth.can.servers.delete)?{title:this.__("Servers"),to:this.route("servers.index")}:null]}}};var p=function(){var r=this,t=r._self._c;return t("TopBar",{scopedSlots:r._u([{key:"breadcrumbs",fn:function(){return[t("Breadcrumbs",{attrs:{items:r.breadcrumbs}})]},proxy:!0},{key:"tab-bar",fn:function(){return[t("TopBarTabBarContainer",[t("TabBar",{attrs:{items:r.tabBars}})],1)]},proxy:!0}])})},m=[],u=i(n,p,m,!1,null,null,null,null);const S=u.exports;export{S as default};
