{"version":3,"file":"Rvce.CmjtO2Ve.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/2fAqvy7WfLGEKXfBMEeX/RQWOXXr7OHhe7cV25msn/Rvce.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState}from\"react\";export default function RVCEForm(){const departmentsMap={\"Undergraduate (B.E.)\":[\"Aerospace Engineering\",\"Artificial Intelligence & Machine Learning\",\"Biotechnology\",\"Chemical Engineering\",\"Civil Engineering\",\"Computer Science & Engineering\",\"Electrical & Electronics Engineering\",\"Electronics & Communication Engineering\",\"Electronics & Instrumentation Engineering\",\"Industrial Engineering & Management\",\"Information Science & Engineering\",\"Mechanical Engineering\",\"Telecommunication Engineering\"],\"Postgraduate (M.Tech)\":[\"Structural Engineering\",\"Highway Technology\",\"Product Design & Manufacturing\",\"VLSI Design & Embedded Systems\",\"Digital Communication\",\"Power Electronics\",\"Software Engineering\",\"Thermal Power Engineering\",\"Machine Design\",\"Construction Technology & Management\",\"Environmental Engineering\",\"Embedded Systems\",\"Artificial Intelligence & Machine Learning\",\"Data Science\"],MCA:[\"MCA\"]};const[selectedProgram,setSelectedProgram]=useState(\"\");const[departments,setDepartments]=useState([]);const handleProgramChange=e=>{const program=e.target.value;setSelectedProgram(program);setDepartments(departmentsMap[program]||[]);};const labelStyle={fontSize:\"14px\",fontWeight:\"600\",marginBottom:\"10px\",color:\"#ffffff\"};const selectStyle={width:\"100%\",padding:\"12px\",borderRadius:\"8px\",border:\"1.5px solid #ccc\",fontSize:\"14px\",backgroundColor:\"#fff\",color:\"#000\",boxSizing:\"border-box\"};return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{marginBottom:\"24px\",width:\"100%\"},children:[/*#__PURE__*/_jsx(\"label\",{style:labelStyle,children:\"Select Program\"}),/*#__PURE__*/_jsxs(\"select\",{style:selectStyle,onChange:handleProgramChange,value:selectedProgram,children:[/*#__PURE__*/_jsx(\"option\",{value:\"\",children:\"Select...\"}),Object.keys(departmentsMap).map(program=>/*#__PURE__*/_jsx(\"option\",{value:program,children:program},program))]})]}),/*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\"},children:[/*#__PURE__*/_jsx(\"label\",{style:labelStyle,children:\"Select Department / Specialization\"}),/*#__PURE__*/_jsxs(\"select\",{style:selectStyle,disabled:!selectedProgram,children:[/*#__PURE__*/_jsx(\"option\",{value:\"\",children:\"Select...\"}),departments.map(dept=>/*#__PURE__*/_jsx(\"option\",{value:dept,children:dept},dept))]})]})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"RVCEForm\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Rvce.map"],"mappings":"yHAAqF,SAAwB,GAAU,CAAC,IAAM,EAAe,CAAC,uBAAuB,CAAC,wBAAwB,6CAA6C,gBAAgB,uBAAuB,oBAAoB,iCAAiC,uCAAuC,0CAA0C,4CAA4C,sCAAsC,oCAAoC,yBAAyB,gCAAgC,CAAC,wBAAwB,CAAC,yBAAyB,qBAAqB,iCAAiC,iCAAiC,wBAAwB,oBAAoB,uBAAuB,4BAA4B,iBAAiB,uCAAuC,4BAA4B,mBAAmB,6CAA6C,eAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAM,CAAC,EAAgB,GAAoBA,EAAS,GAAG,CAAM,CAAC,EAAY,GAAgBA,EAAS,EAAE,CAAC,CAAO,EAAoB,GAAG,CAAC,IAAM,EAAQ,EAAE,OAAO,MAAM,EAAmB,EAAQ,CAAC,EAAe,EAAe,IAAU,EAAE,CAAC,EAAS,EAAW,CAAC,SAAS,OAAO,WAAW,MAAM,aAAa,OAAO,MAAM,UAAU,CAAO,EAAY,CAAC,MAAM,OAAO,QAAQ,OAAO,aAAa,MAAM,OAAO,mBAAmB,SAAS,OAAO,gBAAgB,OAAO,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