import{ct as l,cy as a,aD as d,cg as u,ch as g,F as x,ci as f,cj as j,j as o,e as h}from"./vendor-BKmmeuxg.js";import{T as C}from"./tabs-D0Mbb5M5.js";import{T as b,a as I,b as T}from"./tabs-Ifouhv9A.js";import{D as N}from"./layout-DkwBWm5d.js";import{n as t}from"./index.browser-OxPLOBIU.js";import S from"./exam-update-header-DAe5lDS0.js";import v from"./attempts-BFrjDP3X.js";import y from"./basic-BOISpdaF.js";import E from"./info-B5_RfStm.js";import D from"./media-vPfaZb-w.js";import F from"./pricing-BTZ-LwoY.js";import k from"./questions-C0lKZaPp.js";import B from"./resources-Czm0Zrvc.js";import L from"./seo-BdnTzjGE.js";import R from"./settings-DvFQoACn.js";import"./utils-DxSsnXxD.js";import"./sidebar-BYcYxQeZ.js";import"./index-WW_1X1qx.js";import"./button-BpNwv2aE.js";import"./separator-_3LZ_wAA.js";import"./sheet-DSvHVmaW.js";import"./tooltip-BsX7Z6vz.js";import"./main-_V386djS.js";import"./index-D9-QKOod.js";import"./appearance-D2z3xcjR.js";import"./dropdown-menu-DO-po5c1.js";import"./app-BytVvUs_.js";/* empty css            */import"./language-BFZ7KItL.js";import"./notification-CYMPYbAP.js";import"./popover-B4kBsMuI.js";import"./scroll-area-C8HGru-R.js";import"./app-logo-CmnEIwal.js";import"./accordion-CNBvFN43.js";import"./route-B4ZMN77y.js";import"./avatar-j28afJTV.js";import"./use-lang-YfV87_zl.js";import"./input-error-LaPr_4wd.js";import"./loading-button-BnTVAMJ7.js";import"./dialog-B2gN9MvT.js";import"./label-HmIcv5Yx.js";import"./select-CD9o3HN1.js";import"./richtor-CRcM6Du2.js";import"./table-filter-D1fnjeZE.js";import"./debounce-CWHP_ANh.js";import"./table-page-size-OCfjNXER.js";import"./table-footer-B-sB7gNG.js";import"./table-header-DVkEnG6Y.js";import"./table-DWOXv4Pu.js";import"./card-D9_SJYq6.js";import"./exam-attempt-review-BMPZmXSY.js";import"./question-status-icon-ClKO4JNY.js";import"./badge-AQfLLMpR.js";import"./question-type-badge-C65yTFrV.js";import"./input-DM0goJrn.js";import"./exam-attempt-table-columns-mGsCmY5c.js";import"./combobox-Byd5-E0j.js";import"./textarea-CyndvowL.js";import"./inertia-SZXqLvQm.js";import"./faq-form-BWaHarSu.js";import"./outcome-form-DLrxTbQY.js";import"./requirement-form-B8LAuHMc.js";import"./checkbox-BBZKtHnN.js";import"./radio-group-C0C2vfl-.js";import"./course-durations-B0f021Xm.js";import"./data-sort-modal-B2Yf_crJ.js";import"./delete-modal-D1GJlb1P.js";import"./question-dialog-DeJfEfRF.js";import"./fill-blank-form-D0Ep5llL.js";import"./listening-form-JPfVJits.js";import"./chunked-uploader-input-D0XPVOTS.js";import"./matching-form-DGgyfKHG.js";import"./multiple-choice-form-Dm-x1oeK.js";import"./ordering-form-DjRuOH93.js";import"./short-answer-form-Ct6uyXHG.js";import"./resource-form-DMd6KRIv.js";import"./file-metadata-CAFSN-Sn.js";const w=m=>{const{tab:e,exam:n}=m,r=[{id:t(),name:"Questions",slug:"questions",Icon:l,Component:k},{id:t(),name:"Resources",slug:"resources",Icon:a,Component:B},{id:t(),name:"Attempts",slug:"attempts",Icon:a,Component:v},{id:t(),name:"Basic",slug:"basic",Icon:d,Component:y},{id:t(),name:"Pricing",slug:"pricing",Icon:u,Component:F},{id:t(),name:"Settings",slug:"settings",Icon:g,Component:R},{id:t(),name:"Info",slug:"info",Icon:x,Component:E},{id:t(),name:"Media",slug:"media",Icon:f,Component:D},{id:t(),name:"SEO",slug:"seo",Icon:j,Component:L}];return o.jsxs("section",{className:"space-y-8",children:[o.jsx(S,{}),o.jsxs(C,{value:e??r[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(b,{className:"horizontal-tabs-list space-y-1",children:r.map(({id:s,name:p,slug:i,Icon:c})=>o.jsxs(I,{value:i,className:"horizontal-tabs-trigger",onClick:()=>h.get(route("exams.edit",{exam:n.id,tab:i})),children:[o.jsx(c,{className:"h-4 w-4"}),o.jsx("span",{children:p})]},s))})}),o.jsx("div",{className:"col-span-full md:col-span-3",children:r.map(({id:s,slug:p,Component:i})=>o.jsx(T,{value:p,className:"m-0",children:o.jsx(i,{})},s))})]})]})};w.layout=m=>o.jsx(N,{children:m});export{w as default};
