import{j as t,H as e,L as m,cI as s}from"./vendor-rThclpOQ.js";import{B as a}from"./button-ZcsoqUQn.js";import{u as p}from"./use-lang-BK6P2WMc.js";import{D as l}from"./layout-Dtu8Rjtg.js";import n from"./blog-form-DqCyv1pg.js";import"./index-DquVdLUg.js";import"./utils-8KAaAB9H.js";import"./sidebar-Buyv7mEV.js";import"./separator-Cir9hccx.js";import"./sheet-BfC102Vr.js";import"./tooltip-WOIaUmuC.js";import"./main-CC75Iw88.js";import"./sonner-CgbrDmPW.js";import"./index-CWNIUFqh.js";import"./appearance-Bwg83W1G.js";import"./dropdown-menu-Cm0H42C1.js";import"./app-BsPpMpSR.js";/* empty css            */import"./language-BmlkXzFK.js";import"./notification-Bti7isEF.js";import"./popover-otAaS-4X.js";import"./scroll-area-BCwyUKIK.js";import"./app-logo-Bj2M2lhk.js";import"./accordion-by19KtHq.js";import"./route-B4ZMN77y.js";import"./avatar-BsP_s7dr.js";import"./combobox-BcY46xTj.js";import"./input-error-Br4ngfdE.js";import"./card-HXna_7vU.js";import"./input-BeqyurrI.js";import"./label-CtY1vfZY.js";import"./select-u0okJC03.js";import"./inertia-SZXqLvQm.js";import"./richtor-BYY1_E6w.js";const d=({blog:r})=>{const{dashboard:i,button:o}=p();return t.jsxs(t.Fragment,{children:[t.jsx(e,{title:r?o.update:o.create+" "+i.blog}),t.jsxs("div",{className:"space-y-6",children:[t.jsx("div",{className:"flex items-center justify-between",children:t.jsxs("div",{className:"flex items-center gap-4",children:[t.jsx(a,{variant:"outline",size:"icon",asChild:!0,children:t.jsx(m,{href:route("blogs.index"),children:t.jsx(s,{className:"h-4 w-4"})})}),t.jsxs("h1",{className:"text-xl font-semibold",children:[r?o.update:o.create," ",i.blog]})]})}),t.jsx(n,{})]})]})};d.layout=r=>t.jsx(l,{children:r});export{d as default};
