import e from"./TopBar.8fff2b71.js";import i from"./Container.f87d9f62.js";import m from"./Content.e22a1fd6.js";import n from"./Page.3927bdbf.js";import a from"./PageHeader.a5f457a5.js";import p from"./PageHeaderTitle.3ed783af.js";import s from"./PageBody.dec1fae1.js";import f from"./Button.f17dffc9.js";import u from"./List.d5d221b1.js";import l from"./ListItem.ee1e88fb.js";import d from"./StatusBubble.4f1d8322.js";import _ from"./NotificationBadge.b6fae3d5.js";import c from"./MainLayout.17290af6.js";import b from"./IconBox.e6c961ac.js";import v from"./IconGlobe.07030b80.js";import g from"./IconStorage.ef2b2e41.js";import y from"./IconButton.eadc8d3d.js";import T from"./IconMore.eb5410da.js";import S from"./EmptyImage.4bfdf9ac.js";import B from"./Modal.a59fc373.js";import h from"./ModalContainer.51de3ea9.js";import w from"./FormInput.7debc7c5.js";import x from"./FormActions.83ccca91.js";import I from"./Dropdown.d1060583.js";import k from"./DropdownList.02c48c2f.js";import H from"./DropdownListItem.ac31464c.js";import P from"./DropdownListItemButton.13731730.js";import C from"./SettingsLayout.3305573b.js";import D from"./SettingsSegment.e8fdfb41.js";import L from"./Pagination.a93b6f75.js";import M from"./Tabs.7a570edb.js";import R from"./Table.5d32c28c.js";import F from"./TableHead.1eed799b.js";import j from"./TableHeader.44bdf327.js";import O from"./TableRow.6382a60a.js";import $ from"./TableBody.c78326a3.js";import z from"./TableData.c69a64ca.js";import{n as A}from"./plugin-vue2_normalizer.000ba15c.js";import"./TopBar.27b84f08.js";import"./IconMoon.ade3e41b.js";import"./IconSun.8809e5d7.js";import"./IconSearch.27dac870.js";import"./Breadcrumbs.d39e2491.js";import"./BreadcrumbsItem.da3f8155.js";import"./TopBarTabBarContainer.3bdb2bb3.js";import"./TabBar.c1d45ed5.js";import"./TabBarItem.e9886f0a.js";import"./Confirm.888708f1.js";import"./Notification.d432029f.js";import"./IconDanger.2f6e115d.js";import"./IconWarning.ca92fb65.js";import"./IconSuccess.09b85716.js";import"./IconInfo.ad7662f9.js";import"./SearchPalette.282fdde5.js";import"./notification.db2f2ae7.js";import"./app.79e1f42d.js";import"./IconClose.edb7c8fd.js";import"./Form.2cdcadd9.js";import"./FormGroup.efd02a6a.js";import"./Label.9d0d3ee0.js";import"./ErrorText.b141a597.js";import"./HelperText.14a7ed0b.js";import"./IconClipboard.8551be1b.js";import"./IconKey.455a255f.js";const E={metaInfo(){return{title:`${this.__("Servers")}`}},layout:c,components:{TopBar:e,Container:i,Content:m,Page:n,PageHeader:a,PageHeaderTitle:p,PageBody:s,Button:f,List:u,IconButton:y,IconMore:T,ListItem:l,StatusBubble:d,NotificationBadge:_,IconBox:b,IconGlobe:v,IconStorage:g,EmptyImage:S,Modal:B,ModalContainer:h,FormInput:w,FormActions:x,Dropdown:I,DropdownList:k,DropdownListItem:H,DropdownListItemButton:P,SettingsSegment:D,SettingsLayout:C,Tabs:M,Table:R,TableHead:F,TableHeader:j,TableRow:O,TableBody:$,TableData:z,Pagination:L},props:{server:Object,sites:Object},data(){return{breadcrumbs:[{title:this.$page.props.settings.name,to:"/"},{title:this.server.name,to:this.route("servers.show",this.server.id)}]}},methods:{}};var G=function(){var t=this,r=t._self._c;return r("Page",[r("TopBar",{attrs:{breadcrumbs:t.breadcrumbs}}),r("Content",[r("Container",[r("PageHeader",{scopedSlots:t._u([{key:"start",fn:function(){return[r("PageHeaderTitle",[t._v(t._s(t.server.name))])]},proxy:!0},t.can("sites","create")?{key:"end",fn:function(){return[r("Button",{attrs:{as:"inertia-link",href:t.route("sites.index",{create:!0,server:t.server.id})}},[t._v(t._s(t.__("Create site")))])]},proxy:!0}:null],null,!0)}),r("PageBody",[r("SettingsLayout",{scopedSlots:t._u([{key:"nav",fn:function(){return[r("Tabs",{attrs:{server:t.server}})]},proxy:!0},{key:"segments",fn:function(){return[r("SettingsSegment",{scopedSlots:t._u([{key:"title",fn:function(){return[t._v(t._s(t.__("Sites")))]},proxy:!0},{key:"content",fn:function(){return[r("div",[r("Table",{attrs:{caption:"Site list overview"}},[r("TableHead",[r("TableRow",[r("TableHeader",[t._v(t._s(t.__("Domain")))]),r("TableHeader")],1)],1),r("TableBody",t._l(t.sites.data,function(o){return r("TableRow",{key:o.id},[r("TableData",[t._v(" "+t._s(o.domain)+" ")]),r("TableData",[r("inertia-link",{staticClass:"text-primary font-medium",attrs:{href:t.route("sites.show",o.id)}},[t._v(" "+t._s(t.__("Manage"))+" ")])],1)],1)}),1)],1)],1),r("pagination",{attrs:{links:t.sites}})]},proxy:!0}])})]},proxy:!0}])})],1)],1)],1)],1)},N=[],q=A(E,G,N,!1,null,null,null,null);const or=q.exports;export{or as default};
