1import{r as t,a3 as n,a2 as X,Z as o}from"./vendor-mui-D5pLRgDb.js";import{g as i,U as ee,S as oe,T as ne,l as ae,c as te,d as le,v as re,M as P,A as ie,a as se}from"./index-BSFWpFMK.js";import{a as _,T as ce}from"./InputFields-BJUL-RVv.js";import{S as de}from"./Select-BphtUsk_.js";import"./__commonjsHelpers__-BosuxZz1.js";import"./vendor-sweetalert2-CokzRhbv.js";import"./CheckBox-Dkb41L1G.js";const me=[{icon:"fileTextIcon",heading:"Customised Courses",description:"Our courses are specifically tailored to align with each university syllabus, ensuring that every important topic is covered adequately."},{icon:"bookOpenIcon",heading:"Industry-Aligned Knowledge",description:"We deliver engaging, industry-focused content laced with abundant practice problems, honing the skills students need to thrive professionally."},{icon:"awardIcon",heading:"Comprehensive Assessments",description:"Each course comes with rigorous assessments, with problems which cannot be found on the internet. Measure students' annual progress, or use these for mid-term or end-of-term exams."}],ge=[{subjectName:"Foundation of programming",language:"using C, C++, Java, Python",redirectLink:`${i()}/learn/course/college-programming-c`},{subjectName:"Data structures",language:"in C++ and Java",redirectLink:`${i()}/learn/course/college-data-structures-cpp`},{subjectName:"Web development",language:"using JS / HTML / CSS",redirectLink:`${i()}/learn/topic/web-development`},{subjectName:"Design and analysis of algorithms",language:"using C++, Java and Python",redirectLink:`${i()}/learn/course/college-design-analysis-algorithms`},{subjectName:"Object oriented programming",language:"in Java",redirectLink:`${i()}/learn/course/college-oops-java`},{subjectName:"DBMS & Analytics",language:"using SQL",redirectLink:`${i()}/learn/course/college-dbms-sql`},{subjectName:"Placement preparation for Coding rounds",language:"using C++, Java and Python",redirectLink:`${i()}/learn/course/college-placement-prep`},{subjectName:"Operating Systems in Practice",redirectLink:`${i()}/learn/course/operating-system`}],he=[{id:1,name:"Director"},{id:2,name:"Principal"},{id:3,name:"Head of Department"},{id:4,name:"Professor"},{id:5,name:"Training and Placement Officer"},{id:6,name:"Student"},{id:7,name:"Other"}],_e=[{urlClass:"collegeIcon1"},{urlClass:"collegeIcon2"},{urlClass:"collegeIcon3"},{urlClass:"collegeIcon4"},{urlClass:"collegeIcon5"},{urlClass:"collegeIcon6"},{urlClass:"collegeIcon7"},{urlClass:"collegeIcon8"},{urlClass:"collegeIcon9"},{urlClass:"collegeIcon10"},{urlClass:"collegeIcon11"},{urlClass:"collegeIcon12"},{urlClass:"collegeIcon13"},{urlClass:"collegeIcon14"},{urlClass:"collegeIcon15"},{urlClass:"collegeIcon16"}],ue="_wideSection_ixvhw_7",Ce="_topContainer_ixvhw_11",ve="_leftScrollableContainer_ixvhw_35",pe="_mobileGetInTouch_ixvhw_43",Ie="_mobileGetInTouchButton_ixvhw_43",we="_getInTouchText_ixvhw_57",xe="_arrow_ixvhw_62",fe="_topContainerHeading_ixvhw_85",be="_codechefLogo_ixvhw_103",Ne="_logoText_ixvhw_116",Se="_topContainerSubHeading_ixvhw_119",Te="_leftScrollableCardContainer_ixvhw_134",ye="_leftScrollableCard_ixvhw_134",ke="_fileTextIcon_ixvhw_167",Fe="_bookOpenIcon_ixvhw_172",He="_awardIcon_ixvhw_177",Le="_checkCircleIcon_ixvhw_182",Ee="_cardHeading_ixvhw_187",De="_cardDescription_ixvhw_196",Ge="_desktopForm_ixvhw_212",Pe="_mobileGForm_ixvhw_217",Re="_mobileFormContainer_ixvhw_221",We="_mobileFormHeading_ixvhw_231",Me="_topRightFormWideContainer_ixvhw_256",Be="_topRightFormContainer_ixvhw_262",Ae="_form_ixvhw_268",$e="_formGroup_ixvhw_268",qe="_select_ixvhw_293",je="_error_ixvhw_299",Oe="_responseMessageContainer_ixvhw_341",Ue="_responseSavedIcon_ixvhw_355",Je="_messageHeading_ixvhw_360",Ve="_messageDescription_ixvhw_367",Ke="_exploreMore_ixvhw_375",Qe="_exploreMoretext_ixvhw_378",Ye="_emailContainer_ixvhw_456",Ze="_midContainer_ixvhw_468",ze="_waveWideContainer_ixvhw_481",Xe="_waveContainer_ixvhw_512",eo="_waveContainerHeading_ixvhw_541",oo="_waveCardContainer_ixvhw_560",no="_courseLink_ixvhw_587",ao="_waveCard_ixvhw_560",to="_darkText_ixvhw_622",lo="_sliderWideContainer_ixvhw_626",ro="_collegeImageCardsContainer_ixvhw_632",io="_collegeImageCardSliderContainer_ixvhw_640",so="_collegeImageCardSlider_ixvhw_640",co="_collegeImageCardContainer_ixvhw_649",mo="_collegeImageCard_ixvhw_632",go="_collegeImage_ixvhw_632",ho="_collegeName_ixvhw_671",_o="_sliderButtons_ixvhw_683",uo="_prev_ixvhw_697",Co="_next_ixvhw_715",vo="_testimonialCardsContainer_ixvhw_736",po="_cardSliderContainer_ixvhw_757",Io="_cardSlider_ixvhw_757",wo="_testimonialCard_ixvhw_736",xo="_testimonialPara_ixvhw_793",fo="_testimonialDetails_ixvhw_809",bo="_testimonialInfo_ixvhw_815",No="_testimonialImage_ixvhw_825",So="_testimonialAuthor_ixvhw_830",To="_testimonialAuthorName_i
1xvhw_835",yo="_testimonialAuthorDesignation_ixvhw_841",ko="_testimonialAuthorCollege_ixvhw_848",Fo="_quoteMark_ixvhw_854",Ho="_bottomContainer_ixvhw_905",Lo="_collaborationWideContainer_ixvhw_910",Eo="_collaborationContainer_ixvhw_915",Do="_collaborationStats_ixvhw_922",Go="_collaborationStatsInfo_ixvhw_934",Po="_infoCount_ixvhw_939",Ro="_infoTitle_ixvhw_944",Wo="_partnerColleges_ixvhw_967",Mo="_partnerCollegesTitle_ixvhw_976",Bo="_partnerCollegesImageContainer_ixvhw_986",Ao="_partnerCollegesImageCard_ixvhw_1002",$o="_partnerCollegesImage_ixvhw_986",qo="_collegeIcon1_ixvhw_1015",jo="_collegeIcon2_ixvhw_1023",Oo="_collegeIcon3_ixvhw_1031",Uo="_collegeIcon4_ixvhw_1039",Jo="_collegeIcon5_ixvhw_1047",Vo="_collegeIcon6_ixvhw_1055",Ko="_collegeIcon7_ixvhw_1063",Qo="_collegeIcon8_ixvhw_1071",Yo="_collegeIcon9_ixvhw_1079",Zo="_collegeIcon10_ixvhw_1087",zo="_collegeIcon11_ixvhw_1095",Xo="_collegeIcon12_ixvhw_1103",en="_collegeIcon13_ixvhw_1111",on="_collegeIcon14_ixvhw_1119",nn="_collegeIcon15_ixvhw_1127",an="_collegeIcon16_ixvhw_1135",e={wideSection:ue,topContainer:Ce,leftScrollableContainer:ve,mobileGetInTouch:pe,mobileGetInTouchButton:Ie,getInTouchText:we,arrow:xe,topContainerHeading:fe,codechefLogo:be,logoText:Ne,topContainerSubHeading:Se,leftScrollableCardContainer:Te,leftScrollableCard:ye,fileTextIcon:ke,bookOpenIcon:Fe,awardIcon:He,checkCircleIcon:Le,cardHeading:Ee,cardDescription:De,desktopForm:Ge,mobileGForm:Pe,mobileFormContainer:Re,mobileFormHeading:We,topRightFormWideContainer:Me,topRightFormContainer:Be,form:Ae,formGroup:$e,select:qe,error:je,responseMessageContainer:Oe,responseSavedIcon:Ue,messageHeading:Je,messageDescription:Ve,exploreMore:Ke,exploreMoretext:Qe,emailContainer:Ye,midContainer:Ze,waveWideContainer:ze,waveContainer:Xe,waveContainerHeading:eo,waveCardContainer:oo,courseLink:no,waveCard:ao,darkText:to,sliderWideContainer:lo,collegeImageCardsContainer:ro,
1collegeImageCardSliderContainer:io,collegeImageCardSlider:so,collegeImageCardContainer:co,collegeImageCard:mo,collegeImage:go,collegeName:ho,sliderButtons:_o,prev:uo,next:Co,testimonialCardsContainer:vo,cardSliderContainer:po,cardSlider:Io,testimonialCard:wo,testimonialPara:xo,testimonialDetails:fo,testimonialInfo:bo,testimonialImage:No,testimonialAuthor:So,testimonialAuthorName:To,testimonialAuthorDesignation:yo,testimonialAuthorCollege:ko,quoteMark:Fo,bottomContainer:Ho,collaborationWideContainer:Lo,collaborationContainer:Eo,collaborationStats:Do,collaborationStatsInfo:Go,infoCount:Po,infoTitle:Ro,partnerColleges:Wo,partnerCollegesTitle:Mo,partnerCollegesImageContainer:Bo,partnerCollegesImageCard:Ao,partnerCollegesImage:$o,collegeIcon1:qo,collegeIcon2:jo,collegeIcon3:Oo,collegeIcon4:Uo,collegeIcon5:Jo,collegeIcon6:Vo,collegeIcon7:Ko,collegeIcon8:Qo,collegeIcon9:Yo,collegeIcon10:Zo,collegeIcon11:zo,collegeIcon12:Xo,collegeIcon13:en,collegeIcon14:on,collegeIcon15:nn,collegeIcon16:an};function Cn(){const{dispatch:s}=t.useContext(ee),c=t.useRef(null),d=t.useRef(null),[tn,R]=t.useState(!0),[ln,W]=t.useState(!0),[rn,M]=t.useState(!1),[sn,B]=t.useState(!1),[u,A]=t.useState(""),[g,$]=t.useState(""),[m,q]=t.useState(""),[C,j]=t.useState(""),[N,O]=t.useState(""),[h,U]=t.useState(""),[S,T]=t.useState(""),[y,v]=t.useState(""),[k,p]=t.useState(""),[F,H]=t.useState(""),[L,I]=t.useState(""),[w,J]=t.useState(!1),x=t.useRef(null),f=t.useRef(null),V=a=>{A(a),T("")},K=a=>{$(a),v("")},Q=a=>{q(a),p("")},Y=a=>{j(a),H("")},Z=a=>{U(a),h?.length>5e3?I("Requirement cannot exceed 5000 characters"):I("")},E=()=>o("div",{className:e.topRightFormContainer,children:n("div",{className:e.responseMessageContainer,children:[o("i",{className:e.responseSavedIcon}),o("p",{className:e.messageHeading,children:"Thank you!"}),o("p",{className:e.messageDescription,children:"We will get in touch with you shortly"}),o("a",{href:`${i()}/learn`,className:e.exploreMore,children:o("p",{className:`${e.messageDescription} ${e.exploreMoretext}`,children:"Check Learn catalog"})})]})}),z=async a=>{if(a.preventDefault(),u.trim()===""){T("Please add your name");return}if(g.trim()===""){v("Please add your email ID");return}if(!/^\S+@\S+\.\S+$/.test(g)){v("Please add a valid email ID");return}if(m.trim()===""){p("Please add your phone number");return}if(!/^[\d\s+-]+$/.test(m)||m.length>20){p("Please add a valid phone number");return}if(C.trim()===""){H("Please add your college/university name");return}if(h?.length>5e3){I("Requirement cannot exceed 5000 characters");return}await s(P(!0,"ajax"));try{await ie.post("/api/college-program-response",{name:u,email:g,contact:m,college:C,designation:N,requirement:h})&&J(!0)}catch(l){se(l)}finally{await s(P(!1,""))}},D=()=>{x.current&&x.current.scrollIntoView({behavior:"smooth"}),f.current&&f.current.scrollIntoView({behavior:"smooth"})};t.useEffect(()=>{s(oe("100%")),s(ne(!1)),s(ae(!0)),s(te(!1)),s(le("College Program"))},[]),t.useEffect(()=>{const a=()=>{if(c.current){const r=c.current,b=r.scrollWidth-r.clientWidth;R(r.scrollLeft===0),M(r.scrollLeft>=b)}},l=()=>{if(d.current){const r=d.current,b=r.scrollWidth-r.clientWidth;W(r.scrollLeft===0),B(r.scrollLeft>=b)}};return c.current&&c.current.addEventListener("scroll",a),d.current&&d.current.addEventListener("scroll",l),()=>{c.current&&d.current&&(c.current.removeEventListener("scroll",a),d.current.removeEventListener("scroll",l))}},[]);const G=()=>o("div",{className:e.topRightFormContainer,children:n("form",{onSubmit:z,className:e.form,children:[n("div",{className:e.formGroup,children:[o("label",{children:"Name"}),o(_,{placeholder:"Enter your name",value:u,handleChange:V}),S&&o("span",{className:e.error,children:S})]}),n("div",{className:e.formGroup,children:[o("label",{children:"Email"}),o(_,{placeholder:"Enter email",value:g,handleChange:K}),y&&o("span",{className:e.error,children:y})]}),n("div",{className:e.formGroup,children:[o("label",{children:"Contact"}),o(_,{placeholder:"Enter Phone Number",value:m,handleChange:Q}),k&&o("span",{className:e.error,children:k})]}),n("div",{className:e.formGroup,children:[o("label",{children:"College/University name"}),o(_,{placeholder:"Enter college name",value:C,handleChange:Y}),F&&o("span",{className:e.error,children:F})]}),n("div",{className:e.formGroup,children:[o("label",{children:"Designation"}),o(de,{props:{},options:he,selectedKey:N,required:!0,handleChange:O,name:"designation"})]}),n("div",{className:e.formGroup,children:[o("label",{children:"Share your requirement"}),o(ce,{placeholder:"Share your requirement",value:h,handleChange:Z,defaultStyles:{},rows:4}),L&&o("span",{className:e.error,children:L})]}),o("div",{className:e.submit,children:o(re,{type:"primary",title:"Get in touch"})}),n("div",{className:e.emailContainer,children:["You can also get in touch with us at"," ",o("a",{href:"mailto:[email protected]",children:"[email protected]"})]})]})});return n(X,{children:[o("section",{className:e.wideSection,children:n("section",{className:e.topContainer,children:[n("div",{className:e.leftScrollableContainer,children:[n("div",{className:e.leftScrollableContainerHeading,children:[n("div",{className:e.topContainerHeading,children:[o("i",{className:e.codechefLogo})," ",o("p",{className:e.logoText,children:"FOR COLLEGES"})]}),o("p",{className:e.topContainerSubHeading,children:"Bring CodeChef to your college"})]}),o("div",{className:e.mobileGetInTouch,children:n("button",{className:e.mobileGetInTouchButton,type:"button",onClick:D,children:[o("p",{className:e.getInTouchText,children:"Get in touch"})," ",o("div",{className:e.arrow})]})}),o("div",{className:e.leftScrollableCardContainer,children:me.map((a,l)=>n("div",{className:e.leftScrollableCard,children:[o("i",{className:e[a.icon]}),o("p",{className:e.cardHeading,children:a.heading}),o("p",{className:e.cardDescription,children:a.description})]},l))})]}),o("div",{className:`${e.topRightFormWideContainer} ${e.desktopForm}`,ref:f,children:w?E():G()})]})}),o("section",{className:e.mobileGForm,children:n("div",{className:e.mobileFormContainer,children:[o("p",{className:e.mobileFormHeading,children:w?"":"Get in touch to learn more"}),o("div",{className:e.topRightFormWideContainer,ref:x,children:w?E():G()})]})}),o("section",{className:e.midContainer,children:o("div",{className:e.waveWideContainer,children:n("div",{className:e.waveContainer,children:[o("div",{className:e.waveContainerHeading,children:"We help Universities with courses like..."}),o("div",{className:e.waveCardContainer,children:ge.map((a,l)=>o("a",{href:a.redirectLink,className:e.courseLink,children:n("div",{className:e.waveCard,children:[o("span",{className:e.darkText,children:a.subjectName})," ",o("span",{children:a.language})]},l)}))})]})})}),o("section",{className:e.bottomContainer,children:o("div",{className:e.collaborationWideContainer,children:n("div",{className:e.collaborationContainer,children:[n("div",{className:e.collaborationStats,children:[n("div",{className:e.collaborationStatsInfo,children:[o("p",{className:e.infoCount,children:"25+"}),o("p",{className:e.infoTitle,children:"College Programs"})]}),n("div",{className:e.collaborationStatsInfo,children:[o("p",{className:e.infoCount,children:"150+"}),o("p",{className:e.infoTitle,children:"MOUs Signed"})]}),n("div",{className:e.collaborationStatsInfo,children:[o("p",{className:e.infoCount,children:"30,000+"}),o("p",{className:e.infoTitle,children:"Registered Students"})]})]}),o("div",{className:e.getInTouchButton,children:o("button",{type:"button",onClick:D,children:"Get in touch"})}),n("div",{className:e.partnerColleges,children:[o("p",{className:e.partnerCollegesTitle,children:"Our partner colleges"}),o("div",{className:e.partnerCollegesImageContainer,children:_e.map((a,l)=>o("div",{className:e.partnerCollegesImageCard,children:o("i",{className:`${e.partnerCollegesImage} ${e[a.urlClass]}`})},l))})]})]})})})]})}export{Cn as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.