PageSourceSearch

https://keeron.com/_next/static/chunks/pages/mentor/[courseId]/student-profile/[studentId]-fb80798685bf082e.js

js keeron.com collected 2026-10-05 08:02:26 UTC 5,481 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[874],{26519:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mentor/[courseId]/student-profile/[studentId]",function(){return r(16491)}])},98610:function(e,t,r){"use strict";var o=r(85893);r(67294);var n=r(57747),u=r(93717),s=r(22338),d=r(36948),i=r(22757),l=r(22797),a=r(88919),c=r(53854),v=r(25675),p=r.n(v),g=r(55506),f=r(49422),m=r(11163);let x=e=>{var t;let{title:r,href:v}=e,x=(0,m.useRouter)();return(0,o.jsxs)(n.xu,{children:[(0,o.jsx)(u.k,{...I,children:(0,o.jsxs)(s.W,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[(0,o.jsx)(a.Z,{href:v,...Z,children:(0,o.jsxs)(u.k,{align:"center",cursor:"pointer",children:[(0,o.jsx)(d.J,{as:c.C4H,fontSize:"md",color:"secondary.900",mr:2}),(0,o.jsx)(i.X,{...h,children:r})]})}),(null==x?void 0:null===(t=x.query)||void 0===t?void 0:t.packageId)?null:(0,o.jsxs)(u.k,{align:"center",children:[(0,o.jsx)(l.r,{isChecked:!1,colorScheme:"green",mr:6}),(0,o.jsx)(p(),{src:g.Z,alt:"badge1_icon",width:"40",height:"40"})]})]})}),(0,o.jsx)(n.xu,{pt:"70px",children:(0,o.jsx)(f.Z,{})})]})};t.Z=x;let h={fontWeight:700,fontSize:"20px",color:" rgba(0, 0, 0, 0.92)",mr:4},I={bg:"white",py:6,borderRadius:"8px",pos:"fixed",left:0,right:0,shadow:"0px 1px 8px rgba(0, 0, 0, 0.04)",zIndex:1},Z={_hover:{textDecor:"none"}}},71459:function(e,t,r){"use strict";var o=r(85893),n=r(83671),u=r(61668),s=r(17209),d=r(11163),i=r(67294),l=r(59927),a=r(39491);let c=(e,t)=>{let{roles:r,additionalExpression:c=!0,additionalExpressionCallable:v=()=>!0,layout:p="default",redirectUrl:g}=t,f=t=>{var f,m;let{user:x,isAuthenticated:h,isInitialised:I,isLoginInProgress:Z,isLogoutInProgress:y}=(0,n.Z)(),[,j]=(0,u.Z)(),C=(0,d.useRouter)(),[,w]=(0,s.Z)(),_={layout:p,user:x,isAuthenticated:h,isInitialised:I};(0,i.useEffect)(()=>{var e,o;if((null==C?void 0:null===(e=C.query)||void 0===e?void 0:e.appUserId)&&(null==C?void 0:null===(o=C.query)||void 0===o?void 0:o.requestFrom))j(!1);else if(!I||Z||y||(0,l.r5)(q,r)&&c&&v(t))I&&!Z&&(0,l.r5)(q,r)&&c&&v(t)&&w({layout:p});else{let n=g||("default"!==p?"/".concat(p,"/login?redirection=").concat(C.asPath):"/?redirection=".concat(C.asPath));n.includes("/transaction-history?activeTab=2&courseId=")&&localStorage.setItem("redirectTo",null==n?void 0:n.replace("/?redirection=","")),C.push(n)}return()=>{!I||Z||y||(0,l.r5)(q,r)&&c&&v(_)||j(!0)}},[x,p]);let q=(null==x?void 0:x.Roles)||[];return(null==C?void 0:null===(f=C.query)||void 0===f?void 0:f.appUserId)&&(null==C?void 0:null===(m=C.query)||void 0===m?void 0:m.requestFrom)?(0,o.jsx)(e,{...t}):!I||Z||y?(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(a.Z,{})}):(0,l.r5)(q,r)&&c&&v(t)?(0,o.jsx)(e,{...t,data:_}):(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(a.Z,{})})};return f};t.Z=c},3171:function(e,t,r){"use strict";var o=r(67848),n=r(645);let u=(e,t,r)=>{let{data:u}=(0,o.a)(["courseCardDetails",e],()=>n.Z.getCourseDetailsByCourseId(e)),{data:s,isLoading:d}=(0,o.a)(["courseStudentList",t,r],()=>n.Z.getStudentListByCourseId(r));return{courseCardDetails:u,courseStudentList:s,isLoading:d}};t.Z=u},16491:function(e,t,r){"use strict";r.r(t);var o=r(85893),n=r(57747),u=r(71459),s=r(67294),d=r(98610),i=r(39244),l=r(91185),a=r(72365),c=r(41592),v=r(11163),p=r(3171);let g=()=>{var e,t,r,u,g;let f=(0,v.useRouter)(),{publicProfileInfo:m,setPublicProfileInfo:x}=(0,l.Z)(),{courseCardDetails:h}=(0,p.Z)(f.query.courseId),{profileData:I}=(0,c.k)(f.query.studentId),{profileImageUrl:Z}=(0,a.q)(null==I?void 0:null===(e=I.data)||void 0===e?void 0:e.profileImage),y=(null==I?void 0:null===(t=I.data)||void 0===t?void 0:null===(r=t.profileImage)||void 0===r?void 0:r.includes("googleusercontent.com"))&&(null==I?void 0:null===(u=I.data)||void 0===u?void 0:u.profileImage);return(0,s.useEffect)(()=>{x({...m,data:{...(0,i.d0)(null==I?void 0:I.data),profileImage:y||Z},publicViewStatus:"student"})},[JSON.stringify(I),Z,f.query.studentId]),(0,o.jsx)(n.xu,{children:(0,o.jsx)(d.Z,{title:null==h?void 0:null===(g=h.data)||void 0===g?void 0:g.courseTitle,href:"/mentor/course/".concat(f.query.courseId)})})};t.default=(0,u.Z)(g,{roles:["mentor","evaluator","admin","creator"],layout:"mentor"})},645:function(e,t,r){"use strict";var o=r(67686),n=r(66613);t.Z=new class{getCountCardData(e){return n.Z.post("/mentor/full-overview",e)}getCourseCardData(e){return n.Z.post("/mentor/dashboard/my-course-cards",e)}getCourseDetailsByCourseId(e){return n.Z.get("/mentor/course-card/courseId?courseId=".concat(e))}getCourseReportByCourseId(e,t){return n.Z.get("/mentor/student-report-details?courseId=".concat(e,"&studentId=").concat(t))}evaluateStudents(e){return n.Z.post("/assignmentstudent/complete",e)}getAssignmentsDetailsByCourseId(e,t){return n.Z.get("mentor/student-assignment-details?courseId=".concat(e,"&studentId=").concat(t))}async getStudentListByCourseId(e){var t,r,u,s;let d=await n.Z.post("/mentor/view-course-details/courseId",e),i=null==d?void 0:null===(t=d.data)||void 0===t?void 0:null===(r=t.content)||void 0===r?void 0:r.map(e=>e.picture),l=await o.Z.getFilesInfoMap(i),a=null==d?void 0:null===(u=d.data)||void 0===u?void 0:null===(s=u.content)||void 0===s?void 0:s.map(e=>{var t;return{...e,picture:(null===(t=l[e.picture])||void 0===t?void 0:t.Url)||e.picture}});return Promise.resolve({...d,data:{...d.data,content:a}})}}}},function(e){e.O(0,[3874,6556,2013,8166,260,8445,8005,878,2512,4129,827,1280,1033,2732,9422,9774,2888,179],function(){return e(e.s=26519)}),_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.