1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6796],{93037:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/course/[url]/[id]",function(){return l(50629)}])},50629:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return es}});var s=l(85893),r=l(45151),i=l(74581),n=l(19864),a=l(2592),o=l.n(a),c=l(8193),d=l(63750),u=l(15378),m=l(34614),x=l(26840),h=l(37945),p=l(59335),g=l(67294),b=l(1852);function v(e){let{learnings:t=[],thumbnail:l,activeTab:r,setActiveTab:i,floatingTabCertificate:n,setFloatingTabCertificate:a}=e,[c,v]=(0,g.useState)(!1),j=(0,b.useMediaQuery)({maxWidth:760}),w=()=>{v(!0)},y=()=>{v(!1)},k=(e,t)=>{a(!1),i(t)};return(0,s.jsx)(s.Fragment,{children:!0==n?(0,s.jsx)("div",{className:"mt-[20px] ".concat(o().contentWrapper),children:(0,s.jsxs)(p.Tabs,{value:r,children:[(0,s.jsxs)(p.TabsHeader,{className:"bg-transparent gap-4",indicatorProps:{className:"bg-transparent text-black dark:text-white py-2"},children:[(0,s.jsx)(p.Tab,{className:"w-fit px-5 bg-transparent shadow-none text-black dark:text-white font-semibold ".concat("certificate"===r?"border-[#194A7A] dark:border-[#D81B60] border-b-[2px] shadow-none text-black dark:text-white":" text-black shadow-none border-b-[2px] border-black dark:border-white dark:text-white"," "),value:"Info",onClick:e=>k(e,"Info"),children:(0,s.jsx)("p",{className:"font-[400] sm:text-xl",children:"Info"})}),l&&(0,s.jsx)(p.Tab,{className:"w-fit px-5 bg-transparent shadow-none text-black dark:text-white font-semibold ".concat("Info"===r?"border-[#194A7A] dark:border-[#D81B60] border-b-[2px] shadow-none text-black dark:text-white":" text-black shadow-none border-b-[2px] border-black dark:border-white dark:text-white"," "),value:"certificate",onClick:e=>k(e,"certificate"),children:(0,s.jsx)("p",{className:"font-[400] sm:text-xl",children:"Certificate"})})]}),(0,s.jsxs)(p.TabsBody,{children:["Info"===r&&(0,s.jsxs)(p.TabPanel,{value:"Info",children:[(0,s.jsx)("div",{onClick:w,style:{cursor:"pointer"},children:(0,s.jsx)("img",{src:l,className:"w-80 aspect-video",alt:"thumbnail"})}),(0,s.jsxs)(u.u_,{isOpen:c,onClose:y,children:[(0,s.jsx)(m.Z,{className:"fixed inset-0 opacity-80 !bg-white"}),(0,s.jsxs)(x.h,{bg:"transparent",boxShadow:"none",className:"overflow-hidden ".concat(j?"w-[400px]":"min-w-[800px]"," !mb-0 ").concat(j?"!mt-20":"!mt-0"),children:[(0,s.jsx)("div",{onClick:()=>y(),className:"fixed top-10 ".concat(j?"right-5 p-1":"right-20 p-2"," rounded-full border-double border-4 transition-transform transform hover:scale-110 ").concat(c?"bg-black border-white":"bg-white border-black"),children:(0,s.jsx)(d.r0L,{size:j?12:28,color:c?"white":"black",className:"cursor-pointer"})}),(0,s.jsx)("div",{className:"flex justify-center ".concat(j?"py-2":"p-0"," m-0 ").concat(j?"":"h-[100vh]"," overflow-hidden"),children:(0,s.jsx)(h.E,{src:l,alt:"full-screen",objectFit:"contain",className:"w-full ".concat(j?"":"h-[100vh]")})})]})]})]}),"certificate"===r&&(0,s.jsxs)(p.TabPanel,{value:"certificate",children:[(0,s.jsx)("div",{onClick:w,style:{cursor:"pointer"},children:(0,s.jsx)("img",{src:l,className:"w-80 aspect-video",alt:"thumbnail"})}),(0,s.jsxs)(u.u_,{isOpen:c,onClose:y,children:[(0,s.jsx)(m.Z,{className:"fixed inset-0 opacity-80 !bg-white"}),(0,s.jsxs)(x.h,{bg:"transparent",boxShadow:"none",className:"overflow-hidden ".concat(j?"w-[400px]":"min-w-[800px]"," !mb-0 ").concat(j?"!mt-20":"!mt-0"),children:[(0,s.jsx)("div",{onClick:()=>y(),className:"fixed top-10 ".concat(j?"right-5 p-1":"right-20 p-2"," rounded-full border-double border-4 transition-transform transform hover:scale-110 ").concat(c?"bg-black border-white":"bg-white border-black"),children:(0,s.jsx)(d.r0L,{size:j?12:28,color:c?"white":"black",className:"cursor-pointer"})}),(0,s.jsx)("div",{className:"flex justify-center ".concat(j?"py-2":"p-0"," m-0 ").concat(j?"":"h-[100vh]"," overflow-hidden"),children:(0,s.jsx)(h.E,{src:l,alt:"full-screen",objectFit:"contain",className:"w-full ".concat(j?"":"h-[100vh]")})})]})]})]})]})]})}):(0,s.jsx)("div",{className:"mt-[20px] ".concat(o().contentWrapper),children:(0,s.jsxs)(p.Tabs,{value:r,children:[(0,s.jsxs)(p.TabsHeader,{className:"bg-transparent gap-4",indicatorProps:{className:"bg-transparent text-black dark:text-white py-2"},children:[(0,s.jsx)(p.Tab,{className:"w-fit px-5 bg-transparent shadow-none text-black dark:text-white font-semibold ".concat("Info"===r?"border-[#194A7A] dar
1k:border-[#D81B60] border-b-[2px] shadow-none text-black dark:text-white":" text-black shadow-none border-b-[2px] border-black dark:border-white dark:text-white"),value:"Info",onClick:e=>k(e,"Info"),children:(0,s.jsx)("p",{className:"font-[400] sm:text-xl",children:"Info"})}),l&&(0,s.jsx)(p.Tab,{className:"w-fit px-5 bg-transparent shadow-none text-black dark:text-white font-semibold ".concat("certificate"===r?"border-[#194A7A] dark:border-[#D81B60] border-b-[2px] shadow-none text-black dark:text-white":" text-black shadow-none border-b-[2px] border-black dark:border-white dark:text-white"),value:"certificate",onClick:e=>k(e,"certificate"),children:(0,s.jsx)("p",{className:"font-[400] sm:text-xl",children:"Certificate"})})]}),(0,s.jsxs)(p.TabsBody,{children:["Info"===r&&(0,s.jsx)(p.TabPanel,{value:"Info",children:(0,s.jsx)(f,{learnings:t})}),"certificate"===r&&(0,s.jsxs)(p.TabPanel,{value:"certificate",children:[(0,s.jsx)("div",{onClick:w,style:{cursor:"pointer"},children:(0,s.jsx)("img",{src:l,className:"w-80 aspect-video",alt:"thumbnail"})}),(0,s.jsxs)(u.u_,{isOpen:c,onClose:y,children:[(0,s.jsx)(m.Z,{className:"fixed inset-0 opacity-80 !bg-white"}),(0,s.jsxs)(x.h,{bg:"transparent",boxShadow:"none",className:"overflow-hidden ".concat(j?"w-[400px]":"min-w-[800px]"," !mb-0 ").concat(j?"!mt-[46%]":"!mt-0"),children:[(0,s.jsx)("div",{onClick:()=>y(),className:"fixed top-10 ".concat(j?"right-5 p-1":"right-20 p-2"," rounded-full border-double border-4 transition-transform transform hover:scale-110 ").concat(c?"bg-black border-white":"bg-white border-black"),children:(0,s.jsx)(d.r0L,{size:j?12:28,color:c?"white":"black",className:"cursor-pointer"})}),(0,s.jsx)("div",{className:"flex justify-center ".concat(j?"py-2":"p-0"," m-0 ").concat(j?"":"h-[100vh]"," overflow-hidden"),children:(0,s.jsx)(h.E,{src:l,alt:"full-screen",objectFit:"contain",className:"w-full ".concat(j?"":"h-[100vh]")})})]})]})]})]})]})})})}function f(e){let{learnings:t}=e,l=Math.ceil(t.length/2),r=t.slice(0,l),i=t.slice(l);return(0,s.jsxs)("div",{className:"grid sm:grid-cols-2 grid-cols-1 text-[14px] gap-[12px]",children:[r.map((e,t)=>(null==e?void 0:e.value)&&(0,s.jsxs)("span",{className:"flex text-black dark:text-white gap-[12px]",children:[(0,s.jsx)(c.bzc,{className:o().icon}),(0,s.jsx)("p",{children:null==e?void 0:e.value})]},t+1)),i.map((e,t)=>(null==e?void 0:e.value)&&(0,s.jsxs)("span",{className:"flex text-black dark:text-white gap-[12px]",children:[(0,s.jsx)(c.bzc,{className:o().icon}),(0,s.jsx)("p",{children:null==e?void 0:e.value})]},t+1))]})}var j=l(59688),w=l(53204),y=l(87471),k=l(35359),N=l(29504),D=l.n(N),C=l(23695),_=l.n(C),S=l(95478),I=l(59342),A=l(90573),P=l(33229),E=l(8387),M=l(47311),T=l(30381),F=l.n(T),B=l(41664),L=l.n(B),O=l(11163),R=l(81277),q=l(86501),J=l(50067),z=l(22546),G=l(38137),Z=l(71128),H=l(20021),W=l(89583),Q=l(52490),V=l(42203),Y=l(55788),U=l(39327),X=l(25675),K=l.n(X);let $=e=>{let{courseId:t,userData:l,EligibleJobsFetched:r}=e,[i,n]=(0,g.useState)([]),[a,o]=(0,g.useState)([]),[c,d]=(0,g.useState)(""),[u,m]=(0,g.useState)([]),[x,h]=(0,g.useState)(!1),[p,b]=(0,g.useState)(),[v,f]=(0,g.useState)([]),j=async()=>{var e;let t=await (0,G.h)("/course/list-All-purchased-coursesId","post",{purchaseIds:null==l?void 0:null===(e=l.purchases)||void 0===e?void 0:e.map(e=>e._id)});m(t.data);let s=t.data.map(e=>e._id);f(t.data.map(e=>e._id)),await w(s,l._id)},w=async(e,t)=>{try{let l=await (0,G.h)("/jobbuildo/getStudentCourseProgress","post",{courseIds:e,userId:t});n(l.data)}catch(e){console.error("Error fetching course progress:",e)}},y=async()=>{try{r&&(o(r.jobRoles),d(r.industry))}catch(e){console.log("error",e)}};(0,g.useEffect)(()=>{l&&j()},[l]),(0,g.useEffect)(()=>{y()},[r]);let k=[{title:"Lab Assistant, Field Technician, Assistant Geologist",icon:"/assets/jobs_icons/lab_assitant.png"},{title:"Senior Geotechnical Engineer",icon:"/assets/jobs_icons/senior_geotechnical.png"},{title:"Junior Civil Surveyor",icon:"/assets/jobs_icons/junior_civil.png"},{title:"Land Surveyor",icon:"/assets/jobs_icons/land.png"},{title:"Professional Surveyor, Registered Surveyor",icon:"/assets/jobs_icons/professional_sur.png"},{title:"Geotech Design Engineer, 3D Plaxis Engineer",icon:"/assets/jobs_icons/geotech_engineer.png"},{title:"AutoCAD Draughtsman, Junior Architectural Designer/ Assistant Design Engineer",icon:"/assets/jobs_icons/autocad.png"},{title:"Design Engineer, Interior designer, 3D Visulizer",icon:"/assets/jobs_icons/design_engineer.png"},{title:"Building Information Modelling (BIM) Engineer, MEP Engineer, Architectural Consultant",icon:"/assets/jobs_icons/building_information.png"},{title:"Structural Consultant, BIM Structural Engineer",icon:"/assets/jobs_icons/structural_consultant.png"},{title:"structural engineer",icon:"/assets/jobs_icons/structural_engineer.png"},{title:"Junior structural engineer",icon:"/assets/jobs_icons/junior_structural.png"},{title:"Junior planning engineer",icon:"/assets/jobs_icons/junior_planing.png"},{title:"Assistant Manager- Planning,Senior Planning Engineer",icon:"/assets/jobs_icons/assistant_engineer.png"},{title:"Deputy Project Manager (DPM), Project Manager (PM), Construction Manager",icon:"/assets/jobs_icons/dupty_engineer.png"},{title:"Civil Site Engineer, Project Engineer, Senior Engineer",icon:"/assets/jobs_icons/civil_site.png"},{title:"Quantity Surveyor, QA/QC, Billing Engineer",icon:"/assets/jobs_icons/quantitive_engineer.png"},{title:"Contacts Manager, Tendering Engineer, Property Valuer",icon:"/assets/jobs_icons/contract_manger.png"},{title:"Safety manager",icon:"/assets/jobs_icons/safety_manager.png"},{title:"site Safety Engineer",icon:"/assets/jobs_icons/site_safety.png"},{title:"Safety officer",icon:"/assets/jobs_icons/safety.png"}].map(e=>{let l=e.title.toLowerCase().trim(),s=l.split(/,\s*|\s+and\s+/),r=a.find(e=>{var t;let l=null==e?void 0:null===(t=e.role)||void 0===t?void 0:t.toLowerCase().trim();return s.includes(l)});if(r){let l=r.requiredCourses.map(e=>e.courseId),s=l.filter(e=>u.some(t=>{let l=t._id===e,s=new Date(t.validityDate)>=new Date;return l&&s})),n=l.filter(e=>u.some(t=>{let l=t._id===e,s=new Date(t.validityDate)>=new Date;return l&&s})),a=l.filter(e=>!u.some(t=>t._id===e)),o=n.map(e=>{let t=i.find(t=>t._id===e);return{courseId:e,isCompleted:!!t&&t.isCompleted}});a.map(e=>({courseId:e,potentialProgress:0}));let c=s.map(e=>{let t=i.find(t=>t._id===e);return{courseId:e,isCompleted:!!t&&t.isCompleted}}),d=s.map(e=>{let t=u.find(t=>t._id===e);return{courseId:e,validityDate:t.validityDate}}),m=s.length/l.length*100,x=c.filter(e=>e.isCompleted),h=l.length;x.length;let p=c.some(e=>!e.isCompleted&&e.courseId===t),g=o.some(e=>!e.isCompleted&&e.courseId===t),b=a.length?1/h*100:0;return{...e,coursesRequired:r.requiredCourses||[],coursesDone:s,finalMatchedCourses:d,progress:m,coursesWithProgress:c,completedCourses:x,isPropCourseIncomplete:p,potentialProgress:p?100/h:0,potentialProgressofEnrolld:b,coursesWithProgressofenrolled:o,ispropcourseInenrolled:g}}return null}).filter(e=>null!==e),N=e=>{b(e),h(!0)};return(0,s.jsx)("div",{className:"grid mt-[25px] sm:grid-cols-2 gap-[1rem] w-full",children:k.map((e,t)=>{var l,r;return(0,s.jsxs)("div",{className:"relative dark:bg-gray-900 bg-blue-gray-50 dark:text-white text-black p-5 border-2 dark:border-white rounded-lg shadow-lg min-w-[251px] w-auto sm:max-w-[350px] sm:w-auto h-auto flex flex-col justify-between border-blue-gray-300",style:{boxShadow:"0 0 15px rgba(255, 255, 255, 0.1)"},children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex gap-3",children:[(0,s.jsx)("div",{className:"absolute top-[1.5rem] left-3 w-[3.8rem] h-[3rem] sm:w-[6rem] sm:h-[5rem] rounded text-xs",children:(0,s.jsx)(K(),{src:null==e?void 0:e.icon,alt:"job_icon",width:50,height:50,className:"object-contain"})}),(0,s.jsx)("div",{className:"ml-[5rem] ",children:e.title.split(",").map((e,t)=>(0,s.jsxs)("p",{className:"mb-[0.01rem]",children:["⢠",e.trim()]},t))})]}),(0,s.jsx)("div",{onClick:()=>N(e),className:"flex justify-end mt-4 sm:mb-[2rem] mb-2",children:(0,s.jsx)("button",{className:"border border-yellow-800 text-yellow-800 px-4 py-1 rounded-full transition",onClick:()=>N(e),children:"View Detail"})})]}),(0,s.jsxs)("div",{className:"flex flex-col justify-between text-sm items-start w-[92%] sm:absolute sm:bottom-0 mt-[1rem] sm:mt-[6rem] mb-2",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 sm:mb-4",children:[(0,s.jsx)("span",{className:"bg-green-500 w-3 h-3 rounded-full"})," ","Enrolled",(0,s.jsxs)("span",{className:" mr-2",children:[null===(l=e.coursesDone)||void 0===l?void 0:l.length,"/",null===(r=e.coursesRequired)||void 0===r?void 0:r.length]})]}),(0,s.jsxs)("div",{className:"bg-gray-300 rounded-md h-5 w-full sm:mt-1 mt-[1.25rem] flex relative",children:[(0,s.jsx)("div",{className:"".concat(e.coursesWithProgressofenrolled?"bg-[rgba(12,185,18,1)] ":"bg-green-500"," h-5 rounded text-center text-xs font-semibold text-white"),style:{backgroundColor:"linear-gradient(90deg, #2BFF27 0%, #FFFFFF 96.74%)",width:"".concat(100*e.coursesDone.length/e.coursesRequired.length,"%")},children:Math.floor(100*e.coursesDone.length/e.coursesRequired.length)>0&&"".concat(Math.floor(100*e.coursesDone.length/e.coursesRequired.length),"%")}),!1==e.ispropcourseInenrolled&&(0,s.jsxs)("div",{className:"h-5 flex-1 relative rounded-e-md",style:{background:"linear-gradient(to right, rgba(43,255,39,1) ".concat(Math.floor(e.potentialProgressofEnrolld/2),"%, rgba(255,255,255,1) ").concat(Math.floor(e.potentialProgressofEnrolld),"%)"),width:"100%"},children:[(0,s.jsx)("div",{className:"absolute top-0 right-0 h-full w-1 bg-green-500",style:{left:"".concat(Math.floor(e.potentialProgressofEnrolld),"%")}}),(0,s.jsxs)("div",{className:" absolute right-[20rem] bottom-4 text-sm flex",style:{left:"".concat(Math.floor(e.potentialProgressofEnrolld)/4,"%")},children:["+",Math.floor(e.potentialProgressofEnrolld),"%"]})]})]}),x&&(0,s.jsx)(ee,{job:p,industry:c,eligibleJobs:k,onClose:()=>h(!1),isOpen:x})]})]},t)})})},ee=e=>{var t,l;let{job:r,industry:i,eligibleJobs:n,onClose:a,isOpen:o}
1=e,d=(0,O.useRouter)(),{coursesRequired:u,coursesDone:m,finalMatchedCourses:x,coursesPurchasedNotCompleted:h,completedCourses:p=[],coursesWithProgress:g,potentialProgressofEnrolld:b,coursesWithProgressofenrolled:v}=r;return(0,s.jsx)("div",{className:" fixed shadow-2xl inset-0 flex items-center justify-center z-100 bg-blue-gray-50 dark:bg-black dark:bg-opacity-20 transition-opacity duration-300",children:(0,s.jsxs)("div",{style:{boxShadow:"0 0 30px rgba(255, 255, 255, 0.4)"},className:"dark:border-white border-blue-gray-500 border-[2px] relative bg-blue-gray-300 dark:bg-[rgba(35,35,35,1)] text-white\n dark:text-white sm:p-8 p-4 rounded-xl dark:shadow-2xl sm:w-full sm:max-w-3xl sm:h-auto sm:max-h-[150%] h-auto sm:mb-[10rem] mb-[28rem] w-[89%]\n transform transition-transform duration-300 scale-105 overflow-auto ".concat(o?"dark:bg-opacity-20 bg-opacity-80":""),children:[(0,s.jsx)("button",{onClick:a,className:" border-white border-[2px] sticky float-right top-0 right-0 z-50 text-black dark:text-white rounded-xl p-2 bg-blue-gray-50 dark:bg-[rgba(35,35,35,1)] hover:bg-blue-gray-100 dark:hover:bg-red-600 transition-colors duration-200 shadow-lg",children:(0,s.jsx)(Y.$iT,{size:24})}),(0,s.jsx)("div",{className:"flex sm:flex-row flex-col sm:justify-between mb-6 relative ",children:(0,s.jsx)("div",{children:(0,s.jsxs)("div",{className:"flex sm:flex-row flex-col justify-between sm:gap-[8rem] mr-4 gap-4 items-center",children:[(0,s.jsxs)("p",{className:" flex gap-3 items-center sm:text-base font-bold",children:["Industry:",(0,s.jsx)("span",{className:" font-[1000] text-pink-600",children:"Building"})]}),(0,s.jsxs)("p",{className:" flex gap-3 items-center sm:text-base font-bold",children:["Sector:",(0,s.jsx)("span",{className:" font-[1000] text-pink-600",children:i})]})]})})}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex sm:gap-3 gap-1 mb-4",children:[(0,s.jsx)("p",{children:"JOB POSTS:"}),(0,s.jsx)("div",{className:"sm:text-base text-xs leading-relaxed font-bold ",children:r.title.split(",").map((e,t)=>(0,s.jsxs)("p",{className:"mb-[0.2rem]",children:["⢠",e.trim()]},t))})]}),(0,s.jsx)("div",{className:" sm:w-[620px] flex relative sm:mt-[5rem] mt-[1rem] mb-3 gap-2",children:(0,s.jsx)("div",{className:"w-[450px] flex flex-col",children:(0,s.jsxs)("div",{className:"flex flex-col justify-between text-sm items-start sm:w-[92%] sm:absolute sm:bottom-0 sm:mt-[6rem] mb-2",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 sm:mb-4",children:[(0,s.jsx)("span",{className:"bg-green-500 w-3 h-3 rounded-full"})," ","Enrolled",(0,s.jsxs)("span",{className:" mr-2 ",children:[null===(t=r.coursesDone)||void 0===t?void 0:t.length,"/",null===(l=r.coursesRequired)||void 0===l?void 0:l.length]})]}),(0,s.jsxs)("div",{className:"bg-gray-300 rounded-md h-5 w-full sm:mt-1 mt-4 flex relative",children:[(0,s.jsx)("div",{className:"".concat(r.coursesWithProgressofenrolled?"bg-[rgba(12,185,18,1)] ":"bg-green-500"," h-5 rounded text-center text-xs font-semibold text-white"),style:{backgroundColor:"linear-gradient(90deg, #2BFF27 0%, #FFFFFF 96.74%)",width:"".concat(100*r.coursesDone.length/r.coursesRequired.length,"%")},children:Math.floor(100*r.coursesDone.length/r.coursesRequired.length)>0&&"".concat(Math.floor(100*r.coursesDone.length/r.coursesRequired.length),"%")}),!1==r.ispropcourseInenrolled&&(0,s.jsxs)("div",{className:"h-5 flex-1 relative rounded-e-md",style:{background:"linear-gradient(to right, rgba(43,255,39,1) ".concat(Math.floor(r.potentialProgressofEnrolld/2),"%, rgba(255,255,255,1) ").concat(Math.floor(r.potentialProgressofEnrolld),"%)"),width:"100%"},children:[(0,s.jsx)("div",{className:"absolute top-0 right-0 h-full w-1 bg-green-500",style:{left:"".concat(Math.floor(r.potentialProgressofEnrolld),"%")}}),(0,s.jsxs)("div",{className:" absolute right-[20rem] bottom-4 text-sm flex",style:{left:"".concat(Math.floor(r.potentialProgressofEnrolld)/4,"%")},children:["+",Math.floor(r.potentialProgressofEnrolld),"%"]})]})]})]})})})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"sm:text-xl text-lg my-4",children:"Courses & Skills needed for the Job Post"}),(0,s.jsx)("ul",{className:"divide-y divide-gray-300",children:u.map((e,t)=>{let l=x.find(t=>t.courseId===e.courseId),r=m.includes(e.courseId),i=Array.isArray(p)&&p.some(t=>t.courseId===e.courseId),n=l?new Date(l.validityDate):null,a=new Date,o="",u="",h="",g=null,b=null;return i?(o="bg-green-600",u="",h="border-2 border-green-900 text-center rounded-full p-4",g=(0,s.jsx)(U.jbV,{className:"w-[1.5rem] h-[1.5rem] border-2 border-green-900 text-center rounded-full text-green-900 "}),b=null):r&&n&&n>a?(o=" bg-blue-gray-500",u="Resume Learning",h="px-2 bg-white text-pink-600 rounded-md border-2 border-pink-600 transition-colors duration-200 shadow-md",g=(0,s.jsx)(c.BTk,{className:"w-[1.5rem] h-[1.5rem] rounded"}),b="/course_l/".concat((null==e?void 0:e.url)||(null==e?void 0:e.courseName),"/").concat(e.courseId)):(o="bg-blue-900",u="Enroll Now",h="bg-pink-600 text-sm sm:text-base text-white px-3 rounded-md border-2 border-white",g=(0,s.jsx)(c.YfK,{className:"w-[1.5rem] h-[1.5rem] rounded"}),b="/course/".concat((null==e?void 0:e.url)||(null==e?void 0:e.courseName),"/").concat(e.courseId)),(0,s.jsxs)("li",{className:"p-1 sm:p-4 flex sm:flex-row flex-col justify-between rounded-lg shadow-sm mb-4 transition-transform duration-200 transform hover:scale-105 ".concat(o),children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 ml-[1rem]",children:[(0,s.jsx)("img",{src:e.thumbnail,alt:"job_icon",className:"sm:w-[5rem] w-[3rem] sm:h-[3rem] h-[3rem] object-contain items-center"}),(0,s.jsx)("div",{className:"flex flex-col space-y-1",children:(0,s.jsx)("span",{className:"sm:text-base text-sm font-semibold text-white",children:e.courseName})})]}),(0,s.jsxs)("div",{className:"flex gap-3 ml-[1rem]",children:[u&&(0,s.jsx)("button",{onClick:()=>b?d.push(b):null,className:"sm:py-2 px-1 text-center flex items-center space-x-2 ".concat(h),children:(0,s.jsx)("span",{children:u})}),g]})]},t)})})]})]})})};var et=l(9008),el=l.n(et);function es(e){var t,l,a,o,c,d,u,m,x,p,b,f,N,C,T,B,Y,U,X,K,ee,et,es,er,ei,en;let{}=e,{ref:ea,visible:eo}=(0,k.Z)(),ec=(0,O.useRouter)(),[ed,eu]=(0,g.useState)(null),[em,ex]=(0,g.useState)(""),[eh,ep]=(0,g.useState)({}),[eg,eb]=(0,g.useState)({}),[ev,ef]=(0,g.useState)(0),[ej,ew]=(0,g.useState)(!0),[ey,ek]=(0,g.useState)([]),[eN,eD]=(0,g.useState)({}),[eC,e_]=(0,g.useState)(!1),[eS,eI]=(0,g.useState)([]),{userData:eA}=(0,g.useContext)(Z.x_),[eP,eE]=(0,g.useState)(0),[eM,eT]=(0,g.useState)({}),[eF,eB]=(0,g.useState)(!1),[eL,eO]=(0,g.useState)("Info"),[eR,eq]=(0,g.useState)(!1),[eJ,ez]=(0,g.useState)({}),[eG,eZ]=(0,g.useState)(""),eH=async()=>{try{var e;let t=await (0,G.h)("/zoom/listMeetings/".concat(em),"get");(null==t?void 0:null===(e=t.data)||void 0===e?void 0:e.length)>0&&ek(null==t?void 0:t.data)}catch(e){console.log(e)}};(0,g.useEffect)(()=>
1{if(null==ec?void 0:ec.query){var e;ex(null===(e=ec.query)||void 0===e?void 0:e.id),eZ(ec.query.url)}},[ec.query]),(0,g.useEffect)(()=>{var e,t,l,s;let r=0;if((null==eh?void 0:null===(e=eh.courseDetail)||void 0===e?void 0:null===(t=e.courseContents)||void 0===t?void 0:t.length)>0){let e=0,t=0;if(null==eh||null===(l=eh.courseDetail)||void 0===l||null===(s=l.courseContents)||void 0===s||s.map(l=>{var s,i,n,a,o,c;(null==l?void 0:null===(s=l.totalDuration)||void 0===s?void 0:s.DD)>0&&(e+=(null==l?void 0:null===(a=l.totalDuration)||void 0===a?void 0:a.DD)*8),(null==l?void 0:null===(i=l.totalDuration)||void 0===i?void 0:i.HH)>0&&(e+=null==l?void 0:null===(o=l.totalDuration)||void 0===o?void 0:o.HH),(null==l?void 0:null===(n=l.totalDuration)||void 0===n?void 0:n.MM)>0&&(t+=parseInt(null==l?void 0:null===(c=l.totalDuration)||void 0===c?void 0:c.MM)),(null==l?void 0:l.totalDocuments)&&(r+=null==l?void 0:l.totalDocuments)}),e+=t/60,eE(r),e>0){ef(Math.ceil(e));let t=parseInt(e/8),l=e%8,s={days:0,hours:0};t>0&&(s.days=t),e>0&&(s.hours=l),eb(s)}}},[eh]),(0,g.useEffect)(()=>{var e;let t=!1;for(let l=0;l<(null==eA?void 0:null===(e=eA.purchases)||void 0===e?void 0:e.length);l++){let e=eA.purchases[l];if((null==e?void 0:e.courseDetail)===(null==eh?void 0:eh._id)){t=!0;break}}e_(t)},[null==eA?void 0:eA.purchases,null==eh?void 0:eh._id]);let eW=async()=>{try{let e=await (0,G.h)("/timmerBanner/getAllTimmerBanner","get");eT(e.data)}catch(e){console.log(e)}};(0,g.useEffect)(()=>{eW()},[eF]);let eQ=null!==(en=null==eh?void 0:null===(t=eh.courseDetail)||void 0===t?void 0:t.description)&&void 0!==en?en:"",eV={replace:e=>{let{attribs:t,children:l}=e;if(!t)return;let r=t.class?"".concat(t.class," text-black dark:text-white pb-[6px]"):"text-black dark:text-white pb-[6px]",i=t.style?{...eY(t.style)}:{};return t.href?(0,s.jsx)("a",{href:t.href,className:" text-blue-600 underline",style:i,rel:t.rel,target:t.target,children:(0,M.du)(l,eV)}):(0,s.jsx)("div",{className:r,style:i,children:(0,M.du)(l,eV)})}},eY=e=>e.split(";").reduce((e,t)=>{let[l,s]=t.split(":").map(e=>e.trim());return l&&s&&(e[l]=s),e},{}),eU=(0,M.ZP)(eQ,eV),eX=async e=>{try{var t,l;ew(!0);let s=await (0,G.h)("/course/getPreFetchedCourseData/".concat(e),"get");if(!(null==s?void 0:s.data))throw Error("No prefetched course data available");let{courseData:r={},crackJobs:i={}}=s.data;Array.isArray(null==r?void 0:r.packageSkills)&&(r.packageSkills=r.packageSkills.map(e=>({...e,isPackage:!0}))),ep(r),eu(Array.isArray(null==r?void 0:null===(t=r.faq)||void 0===t?void 0:null===(l=t[0])||void 0===l?void 0:l.faqs)?r.faq[0].faqs:[]),ez(i)}catch(e){console.error("Error fetching prefetched course data:",e),q.Am.error("Failed to load course details")}finally{ew(!1)}};(0,g.useEffect)(()=>{em&&(eX(em),eH())},[em]);let[eK,e$]=(0,g.useState)(""),[e0,e1]=(0,g.useState)(),[e2,e5]=(0,g.useState)("");(0,g.useEffect)(()=>{e$("https://civilguruji.com/course/".concat((null==eh?void 0:eh.url)||encodeURIComponent(null==eh?void 0:eh.name),"/").concat(null==eh?void 0:eh._id));let e=null==eh?void 0:eh.prices,t=e&&e[0];e1(null==t?void 0:t.discountedPrice);let l=Math.round((null==eh?void 0:eh.totalSubModules)*.16);e5("P".concat(l,"D")||0)},[eh]);let e4=e=>{try{return JSON.stringify(e)}catch(e){return console.error("Error generating JSON-LD:",e),"{}"}},e3={"@context":"https://schema.org","@type":"Course",name:(null==eh?void 0:eh.name)||"Course Name Not Available",description:(null==eh?void 0:eh.seoMetaDescription)||"Description Not Available",publisher:{"@type":"Organization",name:"Civil Guruji Private Limited",url:"https://civilguruji.com/"},provider:{"@type":"Organization",name:"Civil Guruji Private Limited",url:"https://civilguruji.com/"},offers:[{"@type":"Offer",category:"Paid",priceCurrency:"INR",price:"number"==typeof e0?e0.toFixed(2):"0.00",url:eK,availability:"https://schema.org/InStock"}],totalHistoricalEnrollment:(null==eh?void 0:eh.learnerCount)||0,datePublished:(null==eh?void 0:eh.createdAt)?new Date(eh.createdAt).toISOString().split("T")[0]:"Date Not Available",educationalLevel:"Advanced",availableLanguage:["hi","es"],hasCourseInstance:[{"@type":"CourseInstance",courseMode:"Online",location:{"@type":"Place",name:"Civil Guruji",url:"https://civilguruji.com"},instructor:[{"@type":"Person",name:"Civil Guruji",description:"Expert Trainers at Civil Guruji"}],courseWorkload:e2,prerequisites:"Civil engineering background",educationalLevel:"Advanced"}],aggregateRating:{"@type":"AggregateRating",ratingValue:(null==eh?void 0:eh.rating)?parseFloat(eh.rating).toFixed(1):0,ratingCount:Math.max(Math.round((null==eh?void 0:eh.learnerCount)*.5),1)||10,reviewCount:Math.max(Math.round((null==eh?void 0:eh.learnerCount)*.2),1)||4,bestRating:"5",worstRating:"1"},image:(null==eh?void 0:eh.thumbnail)||"Image Not Available"},e8={"@context":"https://schema.org/","@type":"FAQPage",mainEntity:Array.isArray(ed)?ed.map(e=>({"@type":"Question",name:(null==e?void 0:e.question)||"Question Not Available",acceptedA
1nswer:{"@type":"Answer",text:(null==e?void 0:e.explanation)||"Answer Not Available"}})):[]},e6={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"All Courses",item:"https://civilguruji.com/civil-engineering-courses"},{"@type":"ListItem",position:2,name:(null==eh?void 0:null===(l=eh.category)||void 0===l?void 0:null===(a=l[0])||void 0===a?void 0:a.name)||"Category",item:"https://civilguruji.com/courses/".concat(null==eh?void 0:null===(o=eh.category)||void 0===o?void 0:null===(c=o[0])||void 0===c?void 0:c._id)},{"@type":"ListItem",position:3,name:(null==eh?void 0:eh.name)||"Course Name",item:"https://civilguruji.com/course/".concat((null==eh?void 0:eh.url)||(null==eh?void 0:eh.name),"/").concat(em)}]};return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(w.Z,{customHeader:eo?null:(0,s.jsx)(s.Fragment,{}),childrenHeight:eo?"":"100vh",children:[console.log(null==eh?void 0:eh.seoTitle),(0,s.jsxs)(el(),{children:[(0,s.jsx)("title",{children:(null==eh?void 0:eh.seoTitle)||"Title Not Available"}),(0,s.jsx)("meta",{name:"description",content:(null==eh?void 0:eh.seoMetaDescription)||"Description Not Available"}),(0,s.jsx)("link",{rel:"canonical",href:eK||"URL Not Available"}),(0,s.jsx)("script",{type:"application/ld+json",children:e4(e3)}),(null==ed?void 0:ed.length)>0&&(0,s.jsx)("script",{type:"application/ld+json",children:e4(e8)}),(0,s.jsx)("script",{type:"application/ld+json",children:JSON.stringify(e6)})]}),(0,s.jsx)(Q.Z,{isTBanner:eF,setIsTBanner:eB,currentRoute:"course"}),(0,s.jsxs)("div",{className:" timebanner1 bg-white dark:bg-black ".concat(Array.isArray(null==eM?void 0:eM.courses)?"flex flex-col relative":""," "),children:[eo?null:(0,s.jsx)("div",{className:"".concat(eF?"top-20":"fixed top-0"," dark:bg-[#151515] bg-white shadow-md z-[50] left-0 right-0 py-[15px] px-[15px] flex justify-between items-center ").concat(eF?"":"flex "),children:(0,s.jsxs)("div",{className:"w-[70%] ",children:[(0,s.jsx)("h1",{className:"sm:text-[24px] text-[1.15rem] font-semibold sm:font-[700] capitalize mb-[10px] leading-[22px]",children:null==eh?void 0:eh.name}),(0,s.jsx)("div",{className:"hidden sm:block ",children:(0,s.jsxs)("span",{id:"rating",children:[(0,s.jsxs)("p",{children:[null==eh?void 0:eh.rating," ",(0,s.jsx)(y.Z,{value:null==eh?void 0:eh.rating})]}),(0,s.jsxs)("h2",{className:"ml-[10px]",children:["Enrolled engineers (",null==eh?void 0:eh.learnerCount,"+)"]})]})})]})}),(0,s.jsx)("div",{className:"".concat(_().timmerbanner_padding," wrapper !mt-[1px] !pt-[80px] ").concat(D().container," "),children:ej?(0,s.jsx)(H.Z,{}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:" sm:mt-[5rem] mt-[3rem] pt-[2rem] pb-[0.1rem]",children:(0,s.jsxs)("button",{onClick:()=>ec.back(),className:" flex items-center hover:underline pt-[2px] w-fit text-[#F51653] rounded-[4px] hover:scale-[1.1] ",children:[(0,s.jsx)(W.x_l,{className:"mr-[5px]"}),"Back"]})}),(0,s.jsxs)("div",{className:D().breadcrumbs,children:[(0,s.jsx)(L(),{href:"/civil-engineering-courses",children:"All Courses"}),(0,s.jsx)("span",{children:">"}),(0,s.jsx)(L(),{href:"/training/".concat(null==eh?void 0:null===(d=eh.category)||void 0===d?void 0:null===(u=d[0])||void 0===u?void 0:u.categoryUrl,"/").concat(null==eh?void 0:null===(m=eh.category)||void 0===m?void 0:null===(x=m[0])||void 0===x?void 0:x._id),className:"sm:block hidden",children:null==eh?void 0:null===(p=eh.category)||void 0===p?void 0:null===(b=p[0])||void 0===b?void 0:b.name}),(0,s.jsx)("span",{children:">"}),(0,s.jsx)(L(),{href:"/course/".concat((null==eh?void 0:eh.url)||(null==eh?void 0:eh.name),"/").concat(em),children:null==eh?void 0:eh.name})]}),(0,s.jsxs)("div",{className:D().content,children:[(0,s.jsxs)("div",{className:"sm:w-[70%] w-full order-2 sm:order-first overflow-hidden",children:[(0,s.jsxs)("div",{className:D().courseInfo,children:[(0,s.jsx)("h3",{className:"text-[25px] font-semibold sm:text-3xl mb-2",ref:ea,children:null==eh?void 0:eh.name}),(0,s.jsx)("div",{style:{color:"red"},className:" text-black ",children:(0,s.jsxs)("p",{className:"text-blue-500",children:[" ",eU]})}),(0,s.jsx)("div",{className:"custom-html-content",dangerouslySetInnerHTML:{__html:null==eh?void 0:eh.htmlDescription}}),(0,s.jsxs)("span",{style:{display:"flex",alignItems:"flex-start"},id:"rating",children:[(0,s.jsxs)("p",{style:{display:"flex",alignItems:"center"},children:[null==eh?void 0:eh.rating," ",(0,s.jsx)(y.Z,{value:null==eh?void 0:eh.rating})]}),(0,s.jsxs)("p",{className:"text-black",children:["Enrolled engineers (",null==eh?void 0:eh.learnerCount,")"]})]}),(0,s.jsx)("div",{children:(0,s.jsxs)("p",{className:"text-black dark:text-gray-400",children:["Last updated on"," ",F()(null==eh?void 0:eh.updatedAt).format("MMMM DD, YYYY")]})})]}),(0,s.jsx)(R.Mi,{direction:"up",triggerOnce:!0,children:(0,s.jsx)("div",{className:" w-full sm:w-full mx-auto px-[10px]",children:(0,s.jsxs)(S.m,{position:"relative",variant:"unstyled",children:[(0,s.jsxs)(I.t,{className:" w-fit bg-transparent gap-4",indicatorProps:{className:"dark:bg-[#D81B60] bg-[#194A7A] text-white rounded-full py-2"},children:[" ",(null==eJ?void 0:null===(f=eJ.jobRoles)||void 0===f?void 0:f.length)>0&&(0,s.jsx)(A.O,{_selected:{bg:"#D81B60"},mx:"2",border:"1px solid #D81B60",borderRadius:"full",className:" rounded-full px-[10px] sm:px-[50px] w-full flex items-center justify-center font-semibold py-2 border-[1px] border-[#194A7A] dar
1k:border-[#D81B60] ".concat("Crack Jobs"===eL?"dark:bg-[#D81B60] bg-[#194A7A] text-white":" text-black dark:text-white"," "),value:"Crack Jobs",onClick:()=>eO("Crack Jobs"),children:(0,s.jsx)("p",{className:"whitespace-nowrap text-[14px] sm:text-[1rem] font-bold ".concat("Crack Jobs"===eL?"text-white":""),children:"Crack Jobs"})}),(null==eh?void 0:eh.skillsText)&&(0,s.jsx)(A.O,{_selected:{bg:"#D81B60"},mx:"2",border:"1px solid #D81B60",borderRadius:"full",children:(0,s.jsxs)("p",{className:"whitespace-nowrap text-[14px] sm:text-[1rem] font-bold ".concat("Skills"===eL?"text-white":""),children:[" ","Skills"]})}),(null==eh?void 0:eh.learningDuration)&&(0,s.jsx)(A.O,{_selected:{color:"white",bg:"#D81B60"},mx:"2",border:"1px solid #D81B60",borderRadius:"full",className:" rounded-full px-[10px] sm:px-[50px] w-full flex items-center justify-center font-semibold py-2 border-[1px] border-[#194A7A] dark:border-[#D81B60] ".concat("Learning Duration"===eL?"dark:bg-[#D81B60] bg-[#194A7A] text-white":" text-black dark:text-white"," "),value:"Learning Duration",onClick:()=>eO("Learning Duration"),children:(0,s.jsx)("p",{className:"whitespace-nowrap text-[14px] sm:text-[1rem] font-bold ".concat("Learning Duration"===eL?"text-white":""),children:"Learning Duration"})})]}),(0,s.jsxs)(P.n,{children:[(null==eJ?void 0:null===(N=eJ.jobRoles)||void 0===N?void 0:N.length)>0&&(0,s.jsx)(E.x,{className:"w-full",value:"Crack Jobs",children:(0,s.jsx)($,{courseId:null==eh?void 0:eh._id,userData:eA,EligibleJobsFetched:eJ})}),(null==eh?void 0:eh.skillsText)&&(0,s.jsx)(E.x,{value:"Skills",children:(0,s.jsx)("span",{className:"font-[500] text-black dark:text-[#d4d4d8]",children:null==eh?void 0:eh.skillsText})}),(null==eh?void 0:eh.learningDuration)&&(0,s.jsx)(E.x,{children:(0,s.jsx)("textarea",{className:"border-0 !bg-transparent font-bold pb-2 text-black sm:pb-0 dark:text-[#d4d4d8] focus:outline-none resize-none overflow-hidden",rows:(null==eh?void 0:null===(C=eh.learningDuration)||void 0===C?void 0:C.split("\n").length)||1,defaultValue:null==eh?void 0:eh.learningDuration,readOnly:!0})})]})]})})}),(null==eh?void 0:null===(T=eh.courseDetail)||void 0===T?void 0:null===(B=T.learningObjectives)||void 0===B?void 0:B.length)>1&&(null==eh?void 0:null===(Y=eh.courseDetail)||void 0===Y?void 0:Y.learningObjectives[0].value)&&(0,s.jsx)(R.Mi,{direction:"up",triggerOnce:!0,children:(0,s.jsx)(v,{setFloatingTabCertificate:eq,floatingTabCertificate:eR,thumbnail:null==eh?void 0:null===(U=eh.courseDetail)||void 0===U?void 0:null===(X=U.certificate)||void 0===X?void 0:X.sampleCertificate,activeTab:eL,setActiveTab:eO,learnings:null==eh?void 0:null===(K=eh.courseDetail)||void 0===K?void 0:K.learningObjectives})}),(0,s.jsx)(R.Mi,{direction:"up",triggerOnce:!0,children:(0,s.jsx)(i.Z,{contents:null==eh?void 0:null===(ee=eh.courseDetail)||void 0===ee?void 0:ee.courseContents,courseData:eh,meetingsData:ey,displayPlan:eN})}),(0,s.jsxs)(R.Mi,{direction:"up",triggerOnce:!0,children:[(null==eh?void 0:null===(et=eh.studentsGotJob)||void 0===et?void 0:et.length)>0&&(0,s.jsxs)("div",{className:" dark:bg-[#0e0e12] border border-gray-600 rounded-[5px] px-[20px] py-[20px] ",style:{margin:"2rem 0 2rem 0"},children:[(0,s.jsx)("div",{className:D().feedbacks}),(null==eh?void 0:null===(es=eh.studentsGotJob)||void 0===es?void 0:es.length)>0&&(0,s.jsxs)("div",{className:"flex flex-col py-[2rem] px-[1rem] items-start justify-center",children:[(0,s.jsx)("h3",{className:"text-[24px] font-bold underline ",children:"Engineer Got Job"}),(0,s.jsx)("div",{className:'className=" flex items-center justify-start gap-[15px] mt-[15px] w-fit overflow-hidden',children:(0,s.jsx)(z.tq,{slidesPerView:"auto",spaceBetween:20,modules:[J.pt],className:"courseCards",autoplay:{delay:1e3,disableOnInteraction:!1},children:(null==eh?void 0:eh.studentsGotJob)&&(null==eh?void 0:null===(er=eh.studentsGotJob)||void 0===er?void 0:er.length)>0&&(null==eh?void 0:eh.studentsGotJob.map((e,t)=>(0,s.jsx)(z.o5,{style:{cursor:"pointer"},children:(0,s.jsxs)("div",{className:"".concat(D().jobCard," overflow-hidden"),children:[(0,s.jsx)("div",{className:D().Imagepart,children:(0,s.jsx)(h.E,{className:"object-cover ",width:"80px",height:"80px",alt:"image",priority:!0,src:G.v+"/".concat(null==e?void 0:e.image)})}),(0,s.jsx)("div",{className:"".concat(D().DetailsPart," whitespace-pre-wrap w-[80px]"),children:null==e?void 0:e.name})]})},t)))})})]})]}),(null==eh?void 0:null===(ei=eh.skills)||void 0===ei?void 0:ei.length)>0||(null==eh?void 0:eh.packageSkills.length)>0?(0,s.jsx)(r.default,{title:"Similar Related course",courses:(null==eh?void 0:eh.skills)&&(null==eh?void 0:eh.packageSkills)?eh.skills.concat(eh.packageSkills):(null==eh?void 0:eh.skills)||(null==eh?void 0:eh.packageSkills)||[],parentCourseId:null==eh?void 0:eh._id,isDetail:!0}):null,(0,s.jsx)("div",{className:" dark:bg-[#0e0e12] border-[1px] dark:border-white border-black bg-[#F5F5F5] shadow-lg rounded-[5px] overflow-hidden px-[20px] py-[20px] ",style:{margin:"2rem 0 2rem 0"},children:(0,s.jsx)(j.Z,{course:eh.name})}),(null==ed?void 0:ed.length)>0&&(0,s.jsx)(V.Z,{isPackage:!1,faqData:ed,setFaqData:eu})]})]}),(0,s.jsx)(n.Z,{userData:eA,activeTab:eL,setActiveTab:eO,setFloatingTabCertificate:eq,floatingTabCertificate:eR,totalLearningHours:ev,courseData:eh,displayPlan:eN,setDisplayPlan:eD,pricePlans:eS,setPricePlans:eI,totalDocuments:eP,isRefralLink:ec.query.affiliationId||null})]})]})})]}),(null==eh?void 0:eh.rtfContent)&&(0,s.jsx)("div",{className:" sm:mr-14 sm:ml-14 p-3 mb-2",children:(0,s.jsx)("div",{className:"custom-html-content",dangerouslySetInnerHTML:{__html:eh.rtfContent}})})]})})}},37945:function(e,t,l){"use strict";l.d(t,{E:function(){return c}});var s=l(85893),r=l(8297),i=l(49381);let n=(0,i.G)(function(e,t){let{htmlWidth:l,htmlHeight:r,alt:i,...n}=e;return(0,s.jsx)("img",{width:l,height:r,ref:t,alt:i,...n})});n.displayName="NativeImage";var a=l(65566),o=l(37430);let c=(0,i.G)(function(e,t){let{fallbackSrc:l,fallback:i,src:c,srcSet:d,align:u,fit:m,loading:x,ignoreFallback:h,crossOrigin:p,fallbackStrategy:g="beforeLoadOrError",referrerPolicy:b,...v}=e,f=null!=x||h||!(void 0!==l||void 0!==i),j=(0,a.d)({...e,crossOrigin:p,ignoreFallback:f}),w=(0,a.z)(j,g),y={ref:t,objectFit:m,objectPosition:u,...f?v:(0,r.C)(v,["onError","onLoad"])};return w?i||(0,s.jsx)(o.m.img,{as:n,className:"chakra-image__placeholder",src:l,...y}):(0,s.jsx)(o.m.img,{as:n,src:c,srcSet:d,crossOrigin:p,loading:x,referrerPolicy:b,className:"chakra-image",...y})});c.displayName="Image"}},function(e){e.O(0,[9866,4617,4090,7627,5937,1057,1860,6302,402,2016,3445,4911,3578,1277,6818,2944,3204,5264,6238,5295,3825,9774,2888,179],function(){return e(e.s=93037)}),_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.