import{dh as u,di as g,b3 as f,bx as x,dj as j,dk as C,dl as b,dm as h,j as o,aX as I}from"./react-vendor-xYZnmIII.js";import{T as v}from"./tabs-eeNoRD9t.js";import{y as T,z as N,D as y}from"./ui-components-CQM92IK3.js";import{D as k}from"./layout-DC6VQ8xV.js";import{n as i}from"./index.browser-OxPLOBIU.js";import D from"./assignment-B9znl0uU.js";import F from"./basic-DmDBCshe.js";import L from"./course-update-header-BGfB5iQV.js";import S from"./curriculum-B5th06se.js";import z from"./info-d8PWxVHo.js";import P from"./live-class-Be4VLZ7q.js";import w from"./media-Q9w_O4pP.js";import A from"./pricing-BhmpRnPc.js";import B from"./seo-BfmRTEq2.js";import E from"./submissions-SCS_JEHv.js";import"./inertia-vendor-cBbDTmhJ.js";import"./ui-vendor-Ds9iwIxa.js";import"./interactive-vendor-B1OgcAgP.js";import"./main-CnGu8e_N.js";import"./theme-colors-CLpwvDr4.js";import"./appearance-5ivIjthu.js";import"./language-C7bQIqs2.js";import"./notification-C3MPMjX2.js";import"./app-logo-BQGZ7CFC.js";import"./route-D0xh7FtZ.js";import"./use-lang-Dg6I_Fym.js";import"./table-header-CjMHr8CW.js";import"./assignment-table-column-CjVLB7yU.js";import"./assignment-form-C7WpgAVu.js";import"./datetime-picker-By0-QSwT.js";import"./input-error-_LAmvivg.js";import"./loading-button-D7aXR3K4.js";import"./date-Burj_6Bf.js";import"./inertia-FIn3q7f1.js";import"./richtor-BECSBxkh.js";import"./combobox-BOClc6J1.js";import"./course-languages-DcPHNS0l.js";import"./data-sort-modal-CwRlZIXA.js";import"./delete-modal-h3jQBOO6.js";import"./lesson-form-CpfpVD4T.js";import"./chunked-uploader-input-dQEAsxxf.js";import"./file-metadata-CAFSN-Sn.js";import"./question-questions-CpUs1p0T.js";import"./question-form-AivXFWFF.js";import"./tag-input-DsZaHbN4.js";import"./quiz-form-z5jSgEoZ.js";import"./section-form-C7bxRGTC.js";import"./resource-modal-DwtdRsUk.js";import"./resource-form-CZc2lZ2_.js";import"./resource-list-ydtbLvvs.js";import"./faq-form-DY5Fob9j.js";import"./outcome-form-D5yJUfYI.js";import"./requirement-form-CrMZ90mb.js";import"./live-class-form-C60YhvYc.js";import"./live-class-status-qV1qMwk9.js";import"./video-player-C1vwhm7_.js";import"./course-durations-B0f021Xm.js";import"./table-filter-BQQ7Rmfc.js";import"./debounce-CWHP_ANh.js";import"./table-page-size-CzF8rJAG.js";import"./table-footer-Dfs_f5Wf.js";import"./submissions-table-column-14rET-hj.js";import"./grade-submission-dialog-DoFHoRn3.js";import"./assignment-grade-form-CIWwEVFF.js";const M=t=>{const{tab:s,assignment:e,course:l,translate:c}=t,{button:r}=c,a=[{id:i(),name:r.curriculum,slug:"curriculum",Icon:u,Component:S},{id:i(),name:r.live_class,slug:"live-class",Icon:g,Component:P},{id:i(),name:"Assignment",slug:"assignment",Icon:f,Component:e?E:D},{id:i(),name:r.basic,slug:"basic",Icon:x,Component:F},{id:i(),name:r.pricing,slug:"pricing",Icon:j,Component:A},{id:i(),name:r.info,slug:"info",Icon:C,Component:z},{id:i(),name:r.media,slug:"media",Icon:b,Component:w},{id:i(),name:r.seo,slug:"seo",Icon:h,Component:B}];return o.jsxs("section",{className:"space-y-8",children:[o.jsx(L,{}),o.jsxs(v,{value:s!=null?s:a[0].slug,className:"grid grid-rows-1 gap-5 md:grid-cols-4",children:[o.jsx("div",{className:"col-span-full md:col-span-1",children:o.jsx(T,{className:"horizontal-tabs-list space-y-1",children:a.map(({id:p,name:n,slug:m,Icon:d})=>o.jsxs(N,{value:m,className:"horizontal-tabs-trigger",onClick:()=>I.get(route("courses.edit",{course:l.id,tab:m})),children:[o.jsx(d,{className:"h-4 w-4"}),o.jsx("span",{children:n})]},p))})}),o.jsx("div",{className:"col-span-full md:col-span-3",children:a.map(({id:p,slug:n,Component:m})=>o.jsx(y,{value:n,className:"m-0",children:o.jsx(m,{})},p))})]})]})};M.layout=t=>o.jsx(k,{children:t});export{M as default};
