PageSourceSearch

https://absolutematrimony.com/_next/static/chunks/pages/onboard/graduation-7033df632522b31c.js

js absolutematrimony.com collected 2026-09-26 16:57:00 UTC 8,085 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7875],{13236:function(e,a,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/onboard/graduation",function(){return t(29020)}])},25211:function(e,a,t){"use strict";t.d(a,{Z:function(){return Dots}});var i=t(85893);t(67294);var n=t(97480),s=t.n(n);function Dots(e){let{active:a=1}=e,t=[];for(let e=0;e<21;e++)t.push({enabaled:e+1});return(0,i.jsx)("div",{className:s().dots,children:t.map(e=>(0,i.jsx)("div",{className:"".concat(e.enabaled<=a?s().enabaled:s().dot)},e.enabaled))})}},29020:function(e,a,t){"use strict";t.a(e,async function(e,i){try{t.r(a),t.d(a,{default:function(){return Graduation}});var n=t(85893),s=t(67294),o=t(82175);t(16310);var r=t(9008),c=t.n(r),l=t(47379),d=t(93915),u=t.n(d),m=t(4830),h=t(11163);t(9669);var g=t(33299),p=t(25211),_=t(22920),x=t(14887),f=e([x]);function Graduation(){var e,a;let t=(0,h.useRouter)(),i=null===(a=(0,g.useSession)().data)||void 0===a?void 0:null===(e=a.user)||void 0===e?void 0:e.id,deleteItem=async(e,a)=>{a._id&&await x.b.delete("/api/graduation_detail?id=".concat(i,"&post_id=").concat(a._id));let t=[...r.values.graduations];t.splice(e,1),r.setFieldValue("graduations",t)};function handleFormChange(e,a,t){let i=[...r.values.graduations];"is_highest_qulification"===a?(i=i.map(e=>({...e,[a]:!1})))[t]={...i[t],[a]:e.target.checked}:i[t]={...i[t],[a]:e.target.value},r.setFieldValue("graduations",i)}let r=(0,o.TA)({initialValues:{graduations:[{college_name:"",course_certification:null,degree:"",is_highest_qulification:!1,passout:"",university_name:""}],course_certification:""},onSubmit:async e=>{for(let a of e.graduations){let t=a._id;a.course_certification=e.course_certification,t?await _.Am.promise(x.b.put("/api/graduation_detail?id=".concat(i,"&post_id=").concat(t),a),{pending:"Adding graduation detail...",success:"Occupation details updated successfully.",error:"An error occurs while adding detail."}):(a.user_id=i,await _.Am.promise(x.b.post("/api/graduation_detail",a),{pending:"Adding graduation detail...",success:"Occupation details saved successfully.",error:"An error occurs while adding detail."}))}t.push("/onboard/occupation")}}),{handleSubmit:d,handleChange:f,values:v}=r;return(0,s.useEffect)(()=>{if(i)try{x.b.get("/api/graduation_detail?id=".concat(i)).then(e=>{let a=[{university_name:e.data.university_name,college_name:e.data.college_name,degree:e.data.degree,passout:e.data.passout,course_certification:e.data.course_certification,is_highest_qulification:e.data.is_highest_qulification},...v.graduations];Array.isArray(e.data)?(r.setValues({...r.values,graduations:[...e.data]}),e.data.map(e=>{r.setFieldValue("course_certification",e.course_certification?e.course_certification:"")})):r.setValues({graduations:[...a]})})}catch(e){console.error("data fetch error:",e)}},[i]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(c(),{children:[(0,n.jsx)("title",{children:"Matrimony Onboard || Graduation"}),(0,n.jsx)("meta",{name:"title",content:"Absolutematrimony"}),(0,n.jsx)("meta",{name:"description",content:"Absolute Matrimony is a division of Ultra Rich Weddings Limited, with more than a decade of experience and expertise in match making."}),(0,n.jsx)("meta",{property:"og:type",content:"website"}),(0,n.jsx)("meta",{property:"og:url",content:"https://absolutematrimony.com/"}),(0,n.jsx)("meta",{property:"og:title",content:"Absolutematrimony"}),(0,n.jsx)("meta",{property:"og:description",content:"Absolute Matrimony is a division of Ultra Rich Weddings Limited, with more than a decade of experience and expertise in match making."}),(0,n.jsx)("meta",{property:"og:image",content:"/images/absolutematrimony-post.jpg"}),(0,n.jsx)("meta",{property:"twitter:card",content:"summary_large_image"}),(0,n.jsx)("meta",{property:"twitter:url",content:"https://absolutematrimony.com/"}),(0,n.jsx)("meta",{property:"twitter:title",content:"Absolutematrimony"}),(0,n.jsx)("meta",{property:"twitter:description",content:"Absolute Matrimony is a division of Ultra Rich Weddings Limited, with more than a decade of experience and expertise in match making."}),(0,n.jsx)("meta",{property:"twitter:image",content:"/images/absolutematrimony-post.jpg"}),(0,n.jsx)("link",{rel:"icon",type:"image/svg+xml",href:"/images/favicon.svg"}),(0,n.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,n.jsxs)(l.Z,{children:[(0,n.jsx)(p.Z,{active:13}),(0,n.jsxs)("form",{className:u().maritalStatus,onSubmit:r.handleSubmit,children:[(0,n.jsx)("h3",{className:"form-title",children:"Graduation Details"}),v.graduations.map((e,a)=>(0,n.jsxs)("div",{className:"row box",children:[0!=a&&(0,n.jsx)("div",{className:"gradient-text ".concat(u().rightText),children:(0,n.jsx)("p",{onClick:()=>deleteItem(a,e),children:"Remove"})}),(0,n.jsx)("div",{className:"".concat(u().radioInput," ").concat(u().rightText),children:(0,n.jsxs)("div",{className:"custom-checkbox",children:[(0,n.jsx)("input",{type:"radio",id:"is_highest_qulification",name:"is_highest_qulification",checked:e.is_highest_qulification,value:!!e.is_highest_qulification,onChange:e=>
1handleFormChange(e,"is_highest_qulification",a),onBlur:e=>handleFormChange(e,"is_highest_qulification",a)}),(0,n.jsx)("span",{className:"checkmark"}),(0,n.jsx)("label",{htmlFor:"is_highest_qulification",className:"gradient-text",children:"Mark as Highest Qualification"})]})}),(0,n.jsx)("div",{className:"col-md-6",children:(0,n.jsx)("div",{className:"form-controls",children:(0,n.jsx)("input",{type:"text",id:"values.graduations[".concat(a,"].university_name"),name:"values.graduations[".concat(a,"].university_name"),className:"custom-input",placeholder:"University Name",value:e.university_name,onChange:e=>handleFormChange(e,"university_name",a),onBlur:e=>handleFormChange(e,"university_name",a)})})}),(0,n.jsx)("div",{className:"col-md-6",children:(0,n.jsx)("div",{className:"form-controls",children:(0,n.jsx)("input",{type:"text",id:"values.graduations[".concat(a,"].college_name"),name:"values.graduations[".concat(a,"].college_name"),className:"custom-input",placeholder:"College Name",value:e.college_name,onChange:e=>handleFormChange(e,"college_name",a),onBlur:e=>handleFormChange(e,"college_name",a)})})}),(0,n.jsx)("div",{className:"col-md-6",children:(0,n.jsx)("div",{className:"form-controls",children:(0,n.jsx)("input",{type:"text",id:"values.graduations[".concat(a,"].degree"),name:"values.graduations[".concat(a,"].degree"),className:"custom-input",placeholder:"Degree",value:e.degree,onChange:e=>handleFormChange(e,"degree",a),onBlur:e=>handleFormChange(e,"degree",a)})})}),(0,n.jsx)("div",{className:"col-md-6",children:(0,n.jsx)("div",{className:"form-controls",children:(0,n.jsx)("input",{type:"text",id:"values.graduations[".concat(a,"].passout"),name:"values.graduations[".concat(a,"].passout"),className:"custom-input",placeholder:"Year of Passout",value:e.passout,onChange:e=>handleFormChange(e,"passout",a),onBlur:e=>handleFormChange(e,"passout",a)})})})]},a)),(0,n.jsx)("div",{className:"gradient-text ".concat(u().rightText," ").concat(u().addMore),onClick:()=>{r.setValues({graduations:[...r.values.graduations,{college_name:"",degree:"",is_highest_qulification:!1,passout:"",university_name:"",course_certification:""}]})},children:(0,n.jsx)("p",{children:"Add More + Post Graduation "})}),(0,n.jsx)("div",{className:"col-md-12",children:(0,n.jsx)("div",{className:"form-controls",children:(0,n.jsx)("input",{type:"text",id:"course_certification",name:"course_certification",className:"custom-input",placeholder:"Certification Course (Optional)",value:r.values.course_certification,onChange:r.handleChange})})}),(0,n.jsxs)("div",{className:u().buttons,children:[(0,n.jsx)(m.Z,{label:"Back",variant:"borderBtn",onClick:()=>t.push("/onboard/education")}),(0,n.jsx)(m.Z,{label:"Next",type:"submit"})]})]})]})]})}x=(f.then?(await f)():f)[0],i()}catch(e){i(e)}})},97480:function(e){e.exports={dots:"Dots_dots__FBm_B",dot:"Dots_dot__x81dP",enabaled:"Dots_enabaled__LPIWp"}}},function(e){e.O(0,[1664,5675,7539,1023,9505,2175,6310,1894,1102,3047,9774,2888,179],function(){return e(e.s=13236)}),_N_E=e.O()}]);

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.