PageSourceSearch

https://www.dentalcare.com/_next/static/chunks/pages/en-us/dashboard/review-assignment-06aa4bf31038fdcc.js

js dentalcare.com collected 2026-10-02 05:22:20 UTC 38,415 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4760,3521,3632,780,4229,1596,1556,4251,7375,3206,6048,8834,8722,4974,6338,145,418,9232],{80009:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/en-us/dashboard/review-assignment",function(){return l(34852)}])},84229:function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return r}});let n=l(67294),a=l(84474),s="function"==typeof IntersectionObserver,i=new Map,o=[];function r(e){let{rootRef:t,rootMargin:l,disabled:r}=e,d=r||!s,[c,u]=(0,n.useState)(!1),m=(0,n.useRef)(null),v=(0,n.useCallback)(e=>{m.current=e},[]);return(0,n.useEffect)(()=>{if(s){if(d||c)return;let e=m.current;if(e&&e.tagName)return function(e,t,l){let{id:n,observer:a,elements:s}=function(e){let t;let l={root:e.root||null,margin:e.rootMargin||""},n=o.find(e=>e.root===l.root&&e.margin===l.margin);if(n&&(t=i.get(n)))return t;let a=new Map;return t={id:l,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=a.get(e.target),l=e.isIntersecting||e.intersectionRatio>0;t&&l&&t(l)})},e),elements:a},o.push(l),i.set(l,t),t}(l);return s.set(e,t),a.observe(e),function(){if(s.delete(e),a.unobserve(e),0===s.size){a.disconnect(),i.delete(n);let e=o.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&o.splice(e,1)}}}(e,e=>e&&u(e),{root:null==t?void 0:t.current,rootMargin:l})}else if(!c){let e=(0,a.requestIdleCallback)(()=>u(!0));return()=>(0,a.cancelIdleCallback)(e)}},[d,l,t,c,m.current]),[v,c,(0,n.useCallback)(()=>{u(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},76048:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(67294),s=l(45697),i=l.n(s),o=l(41664),r=l.n(o);let d=(0,a.forwardRef)((e,t)=>{let{children:l,className:s,component:i,role:o,gaClass:d,gaLabel:c,href:u="",target:m="",type:v="button",tabIndex:x,anchor:g=!1,ariaLabel:b,...h}=e,f=(0,a.useCallback)((e,t)=>{e.preventDefault(),document.querySelector(t)&&document.querySelector(t).scrollIntoView({behavior:"smooth"})},[]),p="",S={};return u?"#"===u[0]?(0,n.jsx)("a",{ref:t,...h,href:u,tabIndex:x,"data-action-detail":c||u,"aria-label":b||c||u,className:"".concat(s?s+" ":""," ").concat(d||"event_internal_link"),"data-testid":"anchor-link",onClick:g?null:e=>f(e,u),children:l}):u.match(/http.*|https.*|www.*/g)||g?(0,n.jsx)("a",{ref:t,...h,href:u,target:m||"_blank",rel:"noopener",tabIndex:x,"data-action-detail":c||u,"aria-label":b||c||(null==l?void 0:l[0]),className:"".concat(s?s+" ":"").concat(d||("_self"===m?"event_internal_link":"event_outbound_link")),children:l}):(0,n.jsx)(r(),{href:u,passHref:!0,...h,tabIndex:x,className:"".concat(s&&s+" "," ").concat(d||"event_internal_link"),target:m||"_self","data-action-detail":c,"aria-label":b||c,tabIndex:x,children:(0,n.jsx)(n.Fragment,{children:l})}):(p=i||"button",S.type="button"===p?v||"button":null,(0,n.jsx)(p,{ref:t,className:"".concat(s&&s+" "," ").concat(d||"event_button_click"),"data-action-detail":c,"aria-label":b||c,...h,...S,tabIndex:x,role:o,children:l}))});d.displayName="Button",d.propTypes={className:i().string,type:i().string,children:i().node,href:i().string,target:i().string,role:i().string,tabIndex:i().number,anchor:i().bool,gaClass:i().string,gaLabel:i().string,component:i().string,ariaLabel:i().string},t.default=(0,a.memo)(d)},24974:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(67294),s=l(45697),i=l.n(s),o=l(5152),r=l.n(o),d=l(94960),c=l(92723),u=l(83521),m=l(41135),v=l(29502),x=l(31596);let g=r()(()=>Promise.all([l.e(9755),l.e(4229)]).then(l.t.bind(l,89755,23)),{loadableGenerated:{webpack:()=>[89755]}}),b=r()(()=>Promise.all([l.e(1664),l.e(780)]).then(l.bind(l,76048)),{loadableGenerated:{webpack:()=>[76048]}}),h=r()(()=>Promise.all([l.e(7311),l.e(7441),l.e(1664),l.e(3632)]).then(l.bind(l,58834)),{loadableGenerated:{webpack:()=>[58834]}}),f=r()(()=>l.e(2668).then(l.bind(l,92668)),{loadableGenerated:{webpack:()=>[92668]}}),p=r()(()=>l.e(9442).then(l.bind(l,49442)),{loadableGenerated:{webpack:()=>[49442]}}),S=e=>{var t;let{locale:l,label:a,image:s,title:i,number:o,assignmentNumber:r,startDate:S,endDate:N,openViewScoreFn:j,cardData:y,buttonName:w,credits:k,description:_,getAssignmentDetails:T,listingPageCards:E,type:C,authors:A,pageFor:D="",notificationSendTo:I="N/A",isCourse:R=!1,isFacultyCourse:M=!1}=e,P=d.p8[null==l?void 0:l.toLowerCase()];return(0,n.jsxs)("div",{className:"asgnWrap bg-white rounded-15 overflow-hidden py-30 px-15 lg:pt-25 h-full lg:flex lg:flex-col",children:[r&&(0,n.jsxs)("div",{className:"hWrap flex flex-col mb-40 lg:mb-30",children:[(0,n.jsx)("h1",{className:"text-18 font-lato font-bold leading-25 text-rasinBlack",children:"Assignment Number: ".concat(r)}),D===d.Yt.createAndEdit&&(0,n.jsx)("div",{"data-testid":"create-edit-btn",children:(0,n.jsxs)(b,{className:"flex lg:block items-center lg:flex-wrap lg:justify-center","data-testid":"assignment-cta",onClick:()=>{T(C,r)},children:[(0,n.jsx)(f,{name:"Edit",className:"w-15 inline-block mr-5 lg:mr-0"}),(0,n.jsx)("p",{className:"text-12 font-lato uppercase leading-15 text-grayDavy",children:P.DASHBOARD_CREATE_ASSIGNMENT_PAGE.edit})]})})]}),(0,n.jsxs)("div",{className:"crCard flex flex-1",children:[(0,n.jsx)("div",{className:"imgWrap w-80 flex-none",children:s&&(null===(t=Object.keys(s))||void 0===t?void 0:t.length)>0&&(0,n.jsx)("div",{className:"imgWp rounded-15 overflow-hidden",children:(0,n.jsx)(g,{loader:u._,src:null==s?void 0:s.url,height:null==s?void 0:s.height,width:null==s?void 0:s.width,alt:null==s?void 0:s.altText,className:"crdImg",priority:!0,layout:"responsive"})})}),(0,n.jsxs)("div",{className:"leftSec pl-15 lg:flex lg:flex-col flex-1 lg:justify-between",children:[(0,n.jsxs)("div",{children:[a&&(0,n.jsx)(h,{content:P[a],className:""}),(0,n.jsx)("h3",{className:"cardTtl text-18 leading-25 font-lato font-bold text-rasinBlack mb-6 lg:pr-40",children:(0,n.jsx)(b,{href:o&&(0,m.o)({locale:l,pageType:R?d.pageTypes.courseOverviewPage:d.pageTypes.caseStudyDetailPage,slug:(0,v.QF)(R,k,o,M)}),target:"_blank",gaLabel:i,gaClass:"event_button_click",children:i})}),"number"==typeof o&&(0,n.jsx)(h,{content:"".concat(P.COURSE_LISTING_PAGE[R?"courseNumber":"caseStudyNumber"],": ").concat(R?(0,x.Jq)(M,o,k):o),className:"text-12 leading-16 font-lato text-rasinBlack uppercase mb-10"}),(0,n.jsx)("div",{className:(null==A?void 0:A.length)>0?"authortextwpr mb-20 text-16 leading-22 text-sonicSilver font-lato":"hidden",children:Array.isArray(A)?null==A?void 0:A.map((e,t)=>(0,n.jsxs)("div",{className:"inline items-center",children:[0!==t&&(0,n.jsx)("span",{className:"text-azurishWhite px-20 inline",children:"|"}),(0,n.jsx)(h,{content:((null==e?void 0:e.name)||"")+((null==e?void 0:e.qualification)?", "+e.qualification:""),className:"text-16 leading-22 font-lato text-sonicSilver inline"})]},null==e?void 0:e.sys)):(0,n.jsx)(h,{content:A})})]}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"courseBtmSec lg:flex lg:gap-40 mb-30",children:["number"==typeof k&&(0,n.jsxs)("div",{className:"mb-16 lg:mb-0",children:[(0,n.jsx)(h,{content:"".concat(P.COURSE_LISTING_PAGE.ceCredits,":"),className:"text-14 leading-19 font-lato text-sonicSilver mb-5"}),(0,n.jsx)(h,{content:"".concat(k," Hour(s)"),className:"text-16 leading-22 font-lato font-bold text-rasinBlack"})]}),S&&(0,n.jsxs)("div",{className:"mb-16 lg:mb-0",children:[(0,n.jsx)(h,{content:"".concat(P.DASHBOARD_PAGE.assignmentStartDate,": "),className:"text-14 leading-19 font-lato text-sonicSilver mb-5"}),(0,n.jsx)(h,{content:(0,c.YM)(new Date(S),null==l?void 0:l.toLowerCase(),c.lb.reviewAssignment),className:"text-16 leading-22 font-lato font-bold text-rasinBlack"})]}),N&&(0,n.jsxs)("div",{className:"mb-16 lg:mb-0",children:[(0,n.jsx)(h,{content:"".concat(P.DASHBOARD_PAGE.assignmentEndDate,"
1: "),className:"text-14 leading-19 font-lato text-sonicSilver mb-5"}),(0,n.jsx)(h,{content:(0,c.YM)(new Date(N),null==l?void 0:l.toLowerCase(),c.lb.reviewAssignment),className:"text-16 leading-22 font-lato font-bold text-rasinBlack"})]}),I&&(0,n.jsxs)("div",{className:"mb-16 lg:mb-0",children:[(0,n.jsx)(h,{content:"".concat(P.DASHBOARD_PAGE.notificationSendTo,": "),className:"text-14 leading-19 font-lato text-sonicSilver mb-5"}),(0,n.jsx)(h,{content:I,className:"text-16 leading-22 font-lato font-bold text-rasinBlack"})]})]}),w&&(0,n.jsx)(b,{onClick:()=>j(R,y),gaLabel:w,gaClass:"event_button_click","data-testid":"view-btn",className:"flex text-sm font-lato font-bold px-30 min-w-160 bg-secondary text-white rounded-40 leading-none inline-flex text-center justify-center items-center py-11",children:w})]})]})]}),_&&(0,n.jsxs)("div",{"data-testid":"has-description",className:"lg:pl-180",children:[(0,n.jsx)(h,{content:P.DASHBOARD_CREATE_ASSIGNMENT_PAGE[R?"courseAbstract":"caseStudyAbstract"],className:"text-18 font-lato font-bold leading-25 text-rasinBlack mb-20 lg:mb-16"}),(0,n.jsx)(h,{content:_,className:"text-18 leading-25 text-sonicSilver font-lato mb-0 ".concat(!R&&"bulletlist")})]}),E&&E.length>0&&(0,n.jsx)(p,{listingPageCards:E})]})};S.propTypes={locale:i().string,authors:i().oneOfType([i().array,i().string]),credits:i().number,href:i().string,label:i().string,image:i().string,title:i().string,variant:i().string,number:i().number,assignmentNumber:i().number,startDate:i().string,endDate:i().string,buttonName:i().string,isCourse:i().bool,openViewScoreFn:i().func,notificationSendTo:i().string,pageFor:i().string,description:i().string,preselectedData:i().object,listingPageCards:i().array,getAssignmentDetails:i().func,type:i().string,cardData:i().array,isFacultyCourse:i().bool},t.default=(0,a.memo)(S)},58834:function(e,t,l){"use strict";l.r(t);var n=l(67294),a=l(45697),s=l.n(a),i=l(87441),o=l(47311),r=l(76048);let d=["p"],c=e=>{let{className:t="",content:l="",component:a="div",br_allowed:s=!0,allow_br_tag:c=!1,linkAriaLabel:u="",title:m="",altText:v="",...x}=e;return(0,n.createElement)(a,{...t?{className:t}:{},...x},(0,o.ZP)((0,i.TU)(l||""),{replace:e=>{if("tag"===e.type&&"br"===e.name)return c?(0,n.createElement)("br"):(0,n.createElement)(n.Fragment);if("tag"===e.type&&"a"===e.name){let a={...e.attribs};if(!a["aria-label"]){var t,l;u?a["aria-label"]=u:(null===(l=e.children)||void 0===l?void 0:null===(t=l[0])||void 0===t?void 0:t.data)&&(a["aria-label"]=m?"".concat(e.children[0].data," about ").concat(m):"".concat(e.children[0].data))}return(0,n.createElement)(r.default,{...a,...a["aria-label"]?{ariaLabel:a["aria-label"]}:{}},e.children.map((e,t)=>"tag"===e.type&&"img"===e.name?(0,n.createElement)("img",{key:t,src:e.attribs.src,alt:e.attribs.alt||v||"image"}):e.data?e.data:(0,n.createElement)(n.Fragment,{key:t})))}return(e.parent&&-1!==d.indexOf(e.parent.name)||!e.parent&&e.prev&&e.next)&&"text"===e.type&&"\n"===e.data&&s?(0,n.createElement)("br"):"tag"===e.type&&"img"===e.name?(0,n.createElement)("img",{src:e.attribs.src,alt:e.attribs.alt||"image"}):void 0},trim:!0}))};c.propTypes={className:s().string,component:s().string,content:s().string,br_allowed:s().bool,allow_br_tag:s().bool,linkAriaLabel:s().string,title:s().string,altText:s().string},t.default=(0,n.memo)(c)},31596:function(e,t,l){"use strict";function n(e,t){document.querySelector(".quick-link-content")&&document.querySelector(".quick-link-content").classList.remove("quick-link-content"),e&&t&&t.classList.add("quick-link-content")}function a(e){let t=new Date;return e+String(t.getMonth()+1).padStart(2,"0")+String(t.getDate()).padStart(2,"0")+String(t.getFullYear())+".xlsx"}function s(e,t,l){return e&&"FDM"+t||(0===l?t+"A":t)}l.d(t,{Jq:function(){return s},a4:function(){return n},ak:function(){return r},jO:function(){return a},xH:function(){return o}});let i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",o=()=>{let e="",t=i.length;for(let l=0;l<10;l++)e+=i.charAt(Math.floor(Math.random()*t));return e},r=e=>{var t,l;let n=RegExp("[?&]".concat(e,"=([^&]*)")).exec(null===(l=window)||void 0===l?void 0:null===(t=l.location)||void 0===t?void 0:t.search);return n&&decodeURIComponent(n[1].replace(/\+/g," "))}},83521:function(e,t,l){"use strict";l.d(t,{_:function(){return n}});let n=e=>{let{src:t,width:l,quality:n}=e;return"".concat(t,"?w=").concat(l,"&q=").concat(n||70,"&fm=avif")}},34852:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSG:function(){return U},default:function(){return L},dynamic:function(){return Y}});var n=l(57006),a=l(85893),s=l(67294),i=l(45697),o=l.n(i),r=l(5152),d=l.n(r),c=l(94960),u=l(17087),m=l(51135),v=l(57690);let x={SET_COURSES_ASSIGNMENTS:"SET_COURSES_ASSIGNMENTS",SET_COURSES_ASSIGNMENT_SORT_BY:"SET_COURSES_ASSIGNMENT_SORT_BY",SET_CASE_STUDY_ASSIGNMENTS:"SET_CASE_STUDY_ASSIGNMENTS"};var g=()=>{let[e,t]=(0,s.useReducer)((e,t)=>{switch(t.type){case x.SET_COURSES_ASSIGNMENTS:return{...e,coursesAssignments:{...t.value},filteredCoursesAssignments:{...t.value}};case x.SET_CASE_STUDY_ASSIGNMENTS:return{...e,caseStudyAssignments:{...t.value},filteredCaseStudyAssignments:{...t.value}};default:return e}},{coursesAssignments:{},caseStudyAssignments:{},filteredCoursesAssignments:{},filteredCaseStudyAssignments:{},courseAssignmentsSortBy:null});return{state:e,dispatch:t}},b=l(30381),h=l.n(b),f=l(92723),p=l(49800),S=l(58834),N=l(24974);let j=[{header:"Full Name",key:"name",width:30},{header:"Email Id",key:"email",width:30},{header:"Score",key:"scoreUI",width:10},{header:"Date of Submission",key:"submitedDateUI",width:30}],y=d()(()=>Promise.resolve().then(l.bind(l,76048)),{loadableGenerated:{webpack:()=>[76048]}}),w=d()(()=>l.e(2668).then(l.bind(l,92668)),{loadableGenerated:{webpack:()=>[92668]}}),k=d()(()=>l.e(93).then(l.bind(l,60093)),{loadableGenerated:{webpack:()=>[60093]}}),_=e=>{var t,l,n,i,o,r,d,x,g;
1let{locale:b,assignmentType:_,viewData:T}=e,[E,C]=(0,s.useState)({}),[A,D]=(0,s.useState)({}),[I,R]=(0,s.useState)(!1),[M,P]=(0,s.useState)(1),[B,G]=(0,s.useState)(""),[O,F]=(0,s.useState)([]),[U,Y]=(0,s.useState)(!1),[L,q]=(0,s.useState)({}),[W,z]=(0,s.useState)(""),H=c.p8[b.toLowerCase()][c.pageTypes.reviewAssignmentPage]||{},{reduxState:{userProfile:V,isApiLoading:K},showLoading:Q}=(0,s.useContext)(m.ReduxContext),J=K?H.loading:"",X=e=>{G(""),R(!0),_?en(e):ea(e)},Z=e=>{Y(!0),q(e)},$=e=>{G(""),z("");let t=_?v.Pn.dashboard.deleteCourseTestResult:v.Pn.dashboard.deleteCaseStudyTestResult,l={..._?{courseTestResultId:null==e?void 0:e.courseTestResultId}:{caseStudyTestResultId:null==e?void 0:e.caseStudyTestResultId}};(0,u.k_)({locale:b,url:t,method:v.Fw.patch,params:l,token:V.accessToken}).then(e=>{let{status:t}=e;200===t&&(z(null==H?void 0:H.deleteScoreSuccessMsg),_?et():el())}).catch(()=>{G(null==H?void 0:H.deleteScoreErrorMsg)})};(0,s.useEffect)(()=>{_?et(M):el(M)},[_,M]);let ee=e=>"".concat(null==e?void 0:e.correctAnswers," / ").concat(null==e?void 0:e.totalQuestions," (").concat(Math.trunc((null==e?void 0:e.correctAnswers)/(null==e?void 0:e.totalQuestions)*100),"%)"),et=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=v.Pn.dashboard.courseScoreSummary,l={courseId:null==T?void 0:T.courseId,assignmentId:null==T?void 0:T.assignmentId,page:e-1,limit:c.Y8};Q(!0),(0,u.k_)({locale:b,url:t,method:v.Fw.get,params:l,token:V.accessToken}).then(t=>{let{data:l,status:n}=t,a=[];if(200===n){var s,i;C({...l}),null==l||null===(i=l.scoreSummeryDetails)||void 0===i||null===(s=i.scoreSummery)||void 0===s||s.forEach(e=>{a.push({...e,email:(null==e?void 0:e.email)||"NA",scoreUI:ee(e),submitedDateUI:(0,f.YM)(new Date(null==e?void 0:e.submitedDate),b.toLowerCase(),f.lb.reviewAssignment)})}),1===e?F([...a]):F([...O,...a])}Q(!1)}).catch(()=>{Q(!1),G(H.serverError)})},el=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=v.Pn.dashboard.caseStudyScoreSummary,l={caseStudyId:null==T?void 0:T.caseStudyId,caseStudyAssignmentId:null==T?void 0:T.assignmentId,page:e-1,limit:c.Y8};Q(!0),(0,u.k_)({locale:b,url:t,method:v.Fw.get,params:l,token:V.accessToken}).then(t=>{let{data:l,status:n}=t,a=[];if(200===n){var s,i;C({...l}),null==l||null===(i=l.scoreSummeryDetails)||void 0===i||null===(s=i.scoreSummery)||void 0===s||s.forEach(e=>{a.push({...e,email:(null==e?void 0:e.email)||"NA",scoreUI:ee(e),submitedDateUI:(0,f.YM)(new Date(null==e?void 0:e.submitedDate),b.toLowerCase(),f.lb.reviewAssignment)})}),1===e?F([...a]):F([...O,...a])}Q(!1)}).catch(()=>{Q(!1),G(H.serverError)})},en=e=>{let t=v.Pn.dashboard.courseTestResult,l={courseTestResultId:null==e?void 0:e.courseTestResultId};Q(!0),(0,u.k_)({locale:b,url:t,method:v.Fw.get,params:l,token:V.accessToken}).then(t=>{let{data:l,status:n}=t;200===n&&D({...l,...e}),Q(!1)}).catch(()=>{Q(!1),G(H.serverError)})},ea=e=>{let t=v.Pn.dashboard.caseStudycourseTestResult,l={caseStudyTestResultId:null==e?void 0:e.caseStudyTestResultId};Q(!0),(0,u.k_)({locale:b,url:t,method:v.Fw.get,params:l,token:V.accessToken}).then(t=>{let{data:l,status:n}=t;Q(!1),200===n&&D({...l,...e})}).catch(()=>{Q(!1),G(H.serverError)})};return(0,a.jsx)(s.Fragment,{children:0!==Object.keys(T).length&&(0,a.jsxs)("div",{className:"limitcont viewScore",children:[(0,a.jsxs)("div",{className:"px-20 lg:px-0 mb-40 lg:mb-50",children:[(0,a.jsx)(S.default,{content:null==H?void 0:H.viewScores,className:"text-22 lg:text-28 leading-30 lg:leading-39 font-mont font-bold text-primary mb-20 pt-20 lg:pt-25"}),(0,a.jsx)(S.default,{content:null==H?void 0:H.courseActivities,className:"text-18 font-lato leading-25 text-grayDavy"})]}),(0,a.jsxs)("div",{className:"lg:w-10/12 lg:mx-auto lg:px-40",children:[(0,a.jsx)("h1",{className:"mx-20 lg:mx-0 text-18 font-lato font-bold leading-25 text-rasinBlack pb-20 border-b border-azurishWhite",children:"Assignment Number: ".concat(null==T?void 0:T.assignmentNumber)}),(0,a.jsx)(N.default,{locale:b,authors:null==T?void 0:T.author,credits:null==T?void 0:T.credit,title:null==T?void 0:T.title,number:null==T?void 0:T.number,image:null==T?void 0:T.image,startDate:new Date(h()(null==T?void 0:T.startDate).subtract(330,"minutes")),endDate:new Date(h()(null==T?void 0:T.endDate).subtract(330,"minutes")),description:null==T?void 0:T.description,notificationSendTo:null==E?void 0:E.notificationSendTo,isCourse:_,pageFor:c.Yt.viewScore,isFacultyCourse:null==T?void 0:T.isFacultyCourse}),(0,a.jsxs)("div",{className:"px-20 lg:px-0 mb-80 ",children:[(0,a.jsx)(S.default,{content:null==H?void 0:H.scoreSummary,className:"text-18 leading-25 text-primary font-lato font-bold mb-16 mt-50"}),J?(0,a.jsx)(S.default,{content:J,className:"py-40 font-mont text-16 font-bold"}):(null==O?void 0:O.length)>0?(0,a.jsx)("div",{className:"CCTableWrpr score",children:(0,a.jsxs)("table",{className:"table",children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:null==H?void 0:null===(t=H.viewScoreTable)||void 0===t?void 0:t.sNo}),(0,a.jsx)("th",{children:null==H?void 0:null===(l=H.viewScoreTable)||void 0===l?void 0:l.fullName}),(0,a.jsx)("th",{children:null==H?void 0:null===(n=H.viewScoreTable)||void 0===n?void 0:n.email}),(0,a.jsx)("th",{children:null==H?void 0:null===(i=H.viewScoreTable)||void 0===i?void 0:i.score}),(0,a.jsx)("th",{children:null==H?void 0:null===(o=H.viewScoreTable)||void 0===o?void 0:o.dateOfSubmission}),(0,a.jsx)("th",{children:null==H?void 0:null===(r=H.viewScoreTable)||void 0===r?void 0:r.action})]}),null==O?void 0:O.map((e,t)=>{var l,n;return(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:t+1}),(0,a.jsx)("td",{className:"min-w-160",children:null==e?void 0:e.name}),(0,a.jsx)("td",{children:null==e?void 0:e.email}),(0,a.jsx)("td",{children:null==e?void 0:e.scoreUI}),(0,a.jsx)("td",{children:null==e?void 0:e.submitedDateUI}),(0,a.jsxs)("td",{className:"text-center flex flex-col w-full table-btn",children:[(0,a.jsx)(y,{onClick:()=>X(e),className:"primBtn py-5",children:null==H?void 0:null===(l=H.viewScoreTable)||void 0===l?void 0:l.view}),(0,a.jsx)(y,{onClick:()=>Z(e),style:{backgroundColor:"#DB000F",color:"#ffffff",borderColor:"#DB000F"},className:"secnBtn py-5 mt-10",children:null==H?void 0:null===(n=H.viewScoreTable)||void 0===n?void 0:n.delete})]})]},t)})]})}):(0,a.jsx)(S.default,{content:null==H?void 0:H.noScoreFound,className:"text-18 leading-25 text-primary font-lato font-bold mb-16 mt-50"}),M<(null==E?void 0:E.total)/c.Y8&&(0,a.jsx)("div",{children:(0,a.jsx)(y,{onClick:()=>P(e=>e+1),gaClass:"event_file_download",className:"mt-30 lg:-mb-50 text-16 font-lato leading-22 text-secondary flex justify-center w-full",children:(0,a.jsx)("p",{children:null==H?void 0:H.loadM
1ore})})}),(null==O?void 0:O.length)>0&&(0,a.jsx)("div",{children:(0,a.jsxs)(y,{onClick:()=>{G("");let e=v.Pn.dashboard.excelDownloadUrl;(0,u.dD)({locale:b,url:e,method:v.Fw.post,data:{tableData:O,columnHeader:j,workSheetName:"ScoreSummary"},responseType:"blob",token:V.accessToken}).then(e=>{let t="".concat(H.report,".xlsx");(0,p.M)(null==e?void 0:e.data,t)}).catch(e=>{G(H.serverError),console.error(e)})},gaClass:"event_file_download",className:"dwnBtn mt-30 lg:mt-0 lg:pt-30  flex items-center cursor-pointer",children:[(0,a.jsx)(w,{className:"arwIcon icon h-16",name:"DownloadIcon"}),(0,a.jsx)("p",{className:"text-16 leading-22 font-lato font-bold text-grayDavy pl-10",children:null==H?void 0:H.downloadScores})]})}),B&&(0,a.jsx)(S.default,{content:H.serverError,className:"py-40 text-errorRed font-mont text-16 font-bold text-center px-20"})]})]}),I&&(0,a.jsx)("div",{className:"fixed z-50 inset-0 overflow-y-auto","aria-labelledby":"modal-title",role:"dialog","aria-modal":"true",children:(0,a.jsxs)("div",{className:"flex items-center justify-center min-h-screen limitcont lg:pt-4 lg:px-4 lg:pb-20",children:[(0,a.jsx)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity","aria-hidden":"true"}),(0,a.jsxs)("div",{className:"bg-white h-90vh lg:h-600 rounded-15 shadow-xl transform transition-all px-20 py-30 w-full mx-20 lg:m-0 lg:w-2/3",children:[(0,a.jsxs)("div",{className:"flex justify-between mb-20 items-center",children:[(0,a.jsx)(S.default,{content:(null==A?void 0:A.name)||"",className:"text-18 leading-25 font-lato font-bold text-primary"}),(0,a.jsx)("div",{children:(0,a.jsx)(y,{onClick:()=>{R(!1),G(""),D({})},children:(0,a.jsx)(w,{name:H.close,className:"stroke-secondary w-16"})})})]}),(0,a.jsxs)("div",{className:"courseBtmSec lg:flex lg:gap-70 mb-30",children:[(0,a.jsxs)("div",{className:"mb-16 lg:mb-0",children:[(0,a.jsx)(S.default,{content:"".concat(H.viewScoreTable.email,": "),className:"text-14 leading-19 font-lato text-sonicSilver mb-5"}),(0,a.jsx)(S.default,{content:(null==A?void 0:A.email)||"",className:"text-16 leading-22 font-lato font-bold text-rasinBlack"})]}),(0,a.jsxs)("div",{className:"mb-16 lg:mb-0",children:[(0,a.jsx)(S.default,{content:"".concat(H.viewScoreTable.score,": "),className:"text-14 leading-19 font-lato text-sonicSilver mb-5"}),(0,a.jsx)(S.default,{content:(null===(d=Object.entries(A))||void 0===d?void 0:d.length)&&ee(A),className:"text-16 leading-22 font-lato font-bold text-rasinBlack"})]}),(0,a.jsxs)("div",{className:"mb-16 lg:mb-0",children:[(0,a.jsx)(S.default,{content:H.dateOfCompletion,className:"text-14 leading-19 font-lato text-sonicSilver mb-5"}),(0,a.jsx)(S.default,{content:(null==A?void 0:A.submitedDate)?(0,f.YM)(new Date(null==A?void 0:A.submitedDate),b.toLowerCase(),f.lb.reviewAssignment):"",className:"text-16 leading-22 font-lato font-bold text-rasinBlack"})]})]}),(0,a.jsxs)("div",{className:"scoreTable h-scPopup lg:h-430 overflow-y-auto no-scrollbar",children:[(B||J)&&(0,a.jsx)(S.default,{content:B||J,className:"py-40 ".concat(J?"":"text-errorRed"," font-mont text-16 font-bold text-center px-20")}),((null==A?void 0:null===(x=A.testdetails)||void 0===x?void 0:x.length)===0||(null==A?void 0:A.Message))&&(0,a.jsx)(S.default,{content:H.noTestResult,className:"py-40 font-mont text-16 font-bold text-center px-20"}),(0,a.jsx)("table",{children:null==A?void 0:null===(g=A.testdetails)||void 0===g?void 0:g.map((e,t)=>(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{className:"w-1/12",children:parseInt(null==e?void 0:e.isCorrect)?(0,a.jsx)(w,{name:"CorrectAnswerIcon",className:"w-16"}):(0,a.jsx)(w,{name:"WrongAnswerIcon",className:"w-16"})}),(0,a.jsx)("td",{className:"w-1/12",children:t+1}),(0,a.jsx)("td",{children:null==e?void 0:e.answer})]},t))})]})]})]})}),U&&(0,a.jsx)(k,{title:W?null==H?void 0:H.done:B?null==H?void 0:H.error:null==H?void 0:H.confirm,message:W?null==H?void 0:H.deleteScoreSuccessMsg:B?null==H?void 0:H.deleteScoreErrorMsg:null==H?void 0:H.confirmDeleteScoreMsg,children:(0,a.jsxs)("div",{className:"flex gap-16 mt-30 lg:mt-40",children:[!(B||W)&&(0,a.jsx)(y,{onClick:()=>$(L),className:"secnBtn px-70 py-14 flex-1 lg:flex-none min-width-0 font-lato",children:null==H?void 0:H.ok}),(0,a.jsx)(y,{onClick:()=>{Y(!1),G(""),z(""),q({})},className:"primBtn py-15 flex-1 lg:flex-none min-width-0 font-lato",children:B||W?null==H?void 0:H.ok:null==H?void 0:H.cancel})]})})]})})};
1_.propTypes={locale:o().string,assignmentType:o().bool,viewData:o().object};var T=(0,s.memo)(_),E=l(41135),C=l(11163),A=l(46140);let D=d()(()=>Promise.resolve().then(l.bind(l,58834)),{loadableGenerated:{webpack:()=>[58834]}}),I=d()(()=>Promise.resolve().then(l.bind(l,24974)),{loadableGenerated:{webpack:()=>[24974]}}),R=d()(()=>l.e(2636).then(l.bind(l,82636)),{loadableGenerated:{webpack:()=>[82636]}}),M=d()(()=>l.e(2668).then(l.bind(l,92668)),{loadableGenerated:{webpack:()=>[92668]}}),P=d()(()=>Promise.resolve().then(l.bind(l,76048)),{loadableGenerated:{webpack:()=>[76048]}}),B=d()(()=>l.e(9318).then(l.bind(l,69318)),{loadableGenerated:{webpack:()=>[69318]}}),G=e=>{let{title:t,message:l,children:n}=e;return(0,a.jsx)("div",{className:"fixed z-50 inset-0 overflow-y-auto","aria-labelledby":"modal-title",role:"dialog","aria-modal":"true",children:(0,a.jsxs)("div",{className:"flex items-center justify-center min-h-screen limitcont lg:pt-4 lg:px-4 lg:pb-20",children:[(0,a.jsx)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity","aria-hidden":"true"}),(0,a.jsxs)("div",{className:"bg-white  rounded-15 shadow-xl transform transition-all px-20 py-30 w-full mx-20 lg:m-0 lg:w-1/3",children:[(0,a.jsx)("div",{className:"flex justify-between mb-20 items-center",children:(0,a.jsx)(D,{content:t,className:"text-18 leading-25 font-lato font-bold text-primary"})}),(0,a.jsx)("div",{children:(0,a.jsx)(D,{content:l,className:"text-14 leading-19 font-lato text-sonicSilver mb-5"})}),n]})]})})};G.propTypes={children:o().element,title:o().string,message:o().string};let O=e=>{var t,l,n,i,o,r;let{locale:d,pageTitle:b,tabs:h,pageDescription:p}=e,S=(0,C.useRouter)(),N=e=>window.scrollTo(0,e.current.offsetTop),j=(0,s.useRef)(null),y=(0,s.useRef)(null),[w,k]=(0,s.useState)(0!==Object.keys(null==S?void 0:S.query).length?null==h?void 0:null===(t=h[1])||void 0===t?void 0:t.tabName:null==h?void 0:null===(l=h[0])||void 0===l?void 0:l.tabName),[_,O]=(0,s.useState)(1),[F,U]=(0,s.useState)(1),[Y,L]=(0,s.useState)({}),[q,W]=(0,s.useState)("listing"),[z,H]=(0,s.useState)(!1),[V,K]=(0,s.useState)(!1),[Q,J]=(0,s.useState)(""),[X,Z]=(0,s.use
1State)(!1),[$,ee]=(0,s.useState)(!1),[et,el]=(0,s.useState)({}),[en,ea]=(0,s.useState)(null),[es,ei]=(0,s.useState)(null),eo=c.Y8,{state:er,dispatch:ed}=g(),{filteredCoursesAssignments:{assignmentDetails:ec=[],total:eu},filteredCaseStudyAssignments:{caseStudyAssignments:em=[],total:ev}}=er,{reduxState:{userProfile:ex,restored:eg,isApiLoading:eb},dispatch:eh,showLoading:ef}=(0,s.useContext)(m.ReduxContext),ep=c.p8[d.toLowerCase()][c.pageTypes.reviewAssignmentPage]||{},eS=eb?ep.loading:"",eN=e=>{L(t=>({[e]:!t[e]}))},ej=(e,t)=>{ee(e),el({...t}),W("viewScore")},ey=e=>{eh({type:A.aO.SET_ASSIGNMENT_NUMBER,value:e.assignmentNumber}),S.push((0,E.o)({locale:d,pageType:c.pageTypes.dashboardEditAssignmentPage,slug:"edit-assignment"})||null),W("edit")},ew=e=>{H(!0),ei(e)},ek=e=>{eh({type:A.aO.SET_ASSIGNMENT_NUMBER,value:e.assignmentNumber}),S.push((0,E.o)({locale:d,pageType:c.pageTypes.dashboardEditAssignmentPage,slug:"edit-case-assignment"})||null),W("edit")},e_=e=>{var t;let l=e===(null==h?void 0:null===(t=h[0])||void 0===t?void 0:t.tabName),{assignmentNumber:n}=es;L({}),eC(l,n)};(0,s.useEffect)(()=>{var e,t;0!==Object.keys(null==S?void 0:S.query).length?(ed({type:x.SET_CASE_STUDY_ASSIGNMENTS,value:{}}),k(null==h?void 0:null===(e=h[1])||void 0===e?void 0:e.tabName),U(1)):(ed({type:x.SET_COURSES_ASSIGNMENTS,value:{}}),k(null==h?void 0:null===(t=h[0])||void 0===t?void 0:t.tabName),O(1)),ea(null)},[S.query]),(0,s.useEffect)(()=>{var e,t;w===(null==h?void 0:null===(e=h[0])||void 0===e?void 0:e.tabName)&&eg&&eT(_),w===(null==h?void 0:null===(t=h[1])||void 0===t?void 0:t.tabName)&&eg&&eE(F)},[_,F,eg,en,w]),(0,s.useEffect)(()=>{ed({type:x.SET_COURSES_ASSIGNMENT_SORT_BY,value:ep.reviewAssignmentCourseSortBy.items[0].value})},[]);let eT=e=>{let t=v.Pn.dashboard.courseAssignment,l={page:e-1,limit:c.Y8,sortBy:en||null};ef(!0),(0,u.k_)({locale:d,url:t,method:v.Fw.get,params:l,token:ex.accessToken}).then(e=>{let{data:t,status:l}=e;if(200===l){var n;t&&ed({type:x.SET_COURSES_ASSIGNMENTS,value:t}),(null==t?void 0:null===(n=t.assignmentDetails)||void 0===n?void 0:n.length)===0&&J(ep.noRecords),(null==t?void 0:t.message)&&J(null==t?void 0:t.message),ef(!1)}}).catch(()=>{ed({type:x.SET_COURSES_ASSIGNMENTS,value:{}}),ef(!1),J(ep.serverError)})},eE=e=>{let t=v.Pn.dashboard.caseStudyAssignment,l={page:e-1,limit:c.Y8,sortBy:en||null};ef(!0),(0,u.k_)({locale:d,url:t,method:v.Fw.get,params:l,token:ex.accessToken}).then(e=>{let{data:t,status:l}=e;if(200===l){var n;t&&ed({type:x.SET_CASE_STUDY_ASSIGNMENTS,value:t}),(null==t?void 0:null===(n=t.caseStudyAssignments)||void 0===n?void 0:n.length)===0&&J(ep.noRecords),(null==t?void 0:t.message)&&J(null==t?void 0:t.message)}ef(!1)}).catch(()=>{ed({type:x.SET_CASE_STUDY_ASSIGNMENTS,value:{}}),J(ep.serverError),ef(!1)})},eC=(e,t)=>{let l=e?v.Pn.dashboard.removeCourseAssignment:v.Pn.dashboard.removeCaseStudyAssignment;(0,u.k_)({locale:d,url:l,method:v.Fw.patch,params:{[e?"assignmentId":"caseStudyAssignmentId"]:t},token:ex.accessToken}).then(t=>{let{status:l}=t;200===l&&(H(!1),K(!0),e?eT(_):eE(F))}).catch(()=>{H(!1),Z(!0)})};return(0,a.jsxs)(s.Fragment,{children:["listing"===q&&(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"px-20 lg:px-40 limitcont mb-50 lg:mt-40",children:(0,a.jsxs)("div",{className:"lg:w-8/12 lg:pr-70",children:[(0,a.jsx)("h1",{className:"text-22 lg:text-28 leading-30 lg:leading-39 font-mont font-bold text-primary mb-20 pt-20 lg:pt-0",children:b}),(0,a.jsx)("div",{className:"text-18 font-lato leading-25 text-grayDavy",children:p})]})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"bg-aliceBlue sticky top-0 z-10 lg:relative lg:z-0 lg:top-auto",children:(0,a.jsx)("div",{className:"limitcont px-20  lg:px-40",children:(0,a.jsx)("div",{className:"dTabwr text-base leading-22 font-mont flex mb-30  pt-20",children:(null==h?void 0:h.length)&&(null==h?void 0:h.map(e=>(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("span",{onClick:()=>{k(null==e?void 0:e.tabName),O(1),U(1),ea(null),J("")},onKeyDown:()=>{k(null==e?void 0:e.tabName),O(1),U(1),ea(null),J("")},role:"button",tabIndex:0,className:"tbItem text-base leading-22 font-mont relative pb-15 transition cursor-pointer ".concat(w===(null==e?void 0:e.tabName)?"active text-primary font-bold":"text-rasinBlack opacity-60"),children:(0,a.jsx)(D,{content:null==e?void 0:e.tabName,className:"mr-80"})})})))})})}),w===(null==h?void 0:null===(n=h[0])||void 0===n?void 0:n.tabName)&&(0,a.jsxs)(s.Fragment,{children:[(0,a.jsx)("div",{className:"limitcont px-20 lg:px-40",children:(0,a.jsxs)("div",{ref:j,className:"flex flex-wrap justify-between pb-15 lg:pb-20 items-end",children:[(0,a.jsx)(D,{content:ep.courseAssignment,className:"text-18 w-5/12 leading-25 font-mont font-bold text-primary"}),(0,a.jsxs)("div",{className:"flex items-center w-7/12 justify-end",children:[(0,a.jsx)(D,{content:"".concat(ep.sortBy,": "),className:"text-14 leading-19 font-lato text-sonicSilver pr-10"}),(0,a.jsx)("div",{children:(0,a.jsx)(R,{onSelect:e=>ea(e),variant:c.pageTypes.dashboardPage,defaultValue:ep.reviewAssignmentC
1ourseSortBy.title,options:ep.reviewAssignmentCourseSortBy.items.map(e=>({title:e.name,value:e.value})),disabled:(null===(i=Object.keys(ec))||void 0===i?void 0:i.length)===0||0===eu})})]})]})}),(0,a.jsxs)("div",{className:"bg-flashWhite pt-30 pb-75 lg:pb-120",children:[(0,a.jsxs)("div",{className:"limitcont px-20 lg:px-40 ",children:[(Q||eS)&&(0,a.jsx)(D,{content:Q||eS,className:"py-40 ".concat(eS?"":"text-errorRed"," font-mont text-16 font-bold")}),(0,a.jsx)("div",{className:"-mx-15 lg:flex lg:flex-wrap lg:flex-row lg:items-stretch",children:(null==ec?void 0:ec.length)>0&&(null==ec?void 0:ec.map((e,t)=>(0,a.jsxs)("div",{className:"mb-20 relative lg:w-6/12 px-15 lg:flex lg:flex-col",children:[(0,a.jsx)(I,{locale:d,authors:null==e?void 0:e.author,credits:null==e?void 0:e.credit,title:null==e?void 0:e.title,number:null==e?void 0:e.number,image:null==e?void 0:e.image,assignmentNumber:null==e?void 0:e.assignmentNumber,assignmentId:null==e?void 0:e.assignmentId,startDate:(0,f.p6)(null==e?void 0:e.startDate),endDate:(0,f.p6)(null==e?void 0:e.endDate),buttonName:ep.viewScore,isCourse:!0,cardData:e,openViewScoreFn:ej,pageFor:c.Yt.courseAssignment,isFacultyCourse:e.isFacultyCourse}),(0,a.jsx)("div",{className:"absolute right-30 top-25 lg:top-15",children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("div",{className:"w-35",onClick:()=>eN(t),onKeyDown:()=>eN(t),role:"button",tabIndex:0,children:(0,a.jsx)(M,{name:"Ellipsis"})}),Y[t]&&(0,a.jsxs)("div",{className:"dropdown absolute right-0 min-w-216 shadow-3 pl-15 pr-20 pt-20 pb-10 bg-white rounded-10 rounded-tr-none rounded-br-10 top-50",children:[(0,a.jsx)(P,{onClick:()=>ey(e),gaClass:"event_button_click",gaLabel:ep.editAssignment,disabled:!(null==e?void 0:e.isActive)||(null==e?void 0:e.isArchived),className:"option text-16 leading-22 mb-15 font-lato text-sonicSilver text-left hover:text-primary block",children:ep.editAssignment}),(0,a.jsx)(P,{onClick:()=>ew(e),gaClass:"event_button_click",gaLabel:ep.remove,className:"option text-16 leading-22 mb-15 font-lato text-left text-sonicSilver hover:text-primary block",children:ep.remove})]})]})})]},t)))})]}),(0,a.jsx)("div",{className:"limitcont px-20 lg:px-40",children:(0,a.jsx)(B,{currentPage:_,totalCount:eu,pageSize:eo,onPageChange:O,executeScroll:()=>N(j)})})]})]}),w===(null==h?void 0:null===(o=h[1])||void 0===o?void 0:o.tabName)&&(0,a.jsxs)(s.Fragment,{children:[(0,a.jsx)("div",{className:"limitcont px-20 lg:px-40",children:(0,a.jsxs)("div",{ref:y,className:"flex flex-wrap justify-between pb-15 lg:pb-20 items-end",children:[(0,a.jsx)(D,{content:ep.caseStudyAssignment,className:"text-18 w-5/12 leading-25 font-mont font-bold text-primary"}),(0,a.jsxs)("div",{className:"flex items-center w-7/12 justify-end",children:[(0,a.jsx)(D,{content:"".concat(ep.sortBy,": "),className:"text-14 leading-19 font-lato text-sonicSilver pr-10"}),(0,a.jsx)("div",{children:(0,a.jsx)(R,{onSelect:e=>ea(e),variant:c.pageTypes.dashboardPage,defaultValue:ep.reviewAssignmentCaseStudySortBy.title,options:ep.reviewAssignmentCaseStudySortBy.items.map(e=>({title:e.name,value:e.value})),disabled:(null===(r=Object.keys(em))||void 0===r?void 0:r.length)===0||0===ev})})]})]})}),(0,a.jsxs)("div",{className:"bg-flashWhite pt-30 pb-75 lg:pb-120",children:[(0,a.jsxs)("div",{className:"limitcont px-20 lg:px-40 ",children:[(Q||eS)&&(0,a.jsx)(D,{content:Q||eS,className:"py-40 ".concat(eS?"":"text-errorRed"," font-mont text-16 font-bold")}),(0,a.jsx)("div",{className:"-mx-15 lg:flex lg:flex-wrap lg:flex-row lg:items-stretch",children:(null==em?void 0:em.length)>0&&(null==em?void 0:em.map((e,t)=>(0,a.jsxs)("div",{className:"mb-20 relative lg:w-6/12 px-15 lg:flex lg:flex-col",children:[(0,a.jsx)(I,{locale:d,title:null==e?void 0:e.title,number:null==e?void 0:e.number,image:null==e?void 0:e.image,assignmentNumber:null==e?void 0:e.assignmentNumber,startDate:(0,f.p6)(null==e?void 0:e.startDate),endDate:(0,f.p6)(null==e?void 0:e.endDate),isCourse:!1,cardData:e,buttonName:null==ep?void 0:ep.viewScore,openViewScoreFn:ej,pageFor:c.Yt.caseStudyAssignment}),(0,a.jsx)("div",{className:"absolute right-30 top-25 lg:top-15",children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("div",{className:"w-35",onClick:()=>eN(t),onKeyDown:()=>eN(t),role:"button",tabIndex:0,children:(0,a.jsx)(M,{name:"Ellipsis"})}),Y[t]&&(0,a.jsxs)("div",{className:"dropdown absolute right-0 min-w-216 shadow-3 pl-15 pr-20 pt-20 pb-10 bg-white rounded-10 rounded-tr-none rounded-br-10 top-50",children:[(0,a.jsx)(P,{onClick:()=>ek(e),gaClass:"event_button_click",gaLabel:ep.editAssignment,className:"option text-16 leading-22 mb-15 font-lato text-sonicSilver text-left hover:text-primary block",children:ep.editAssignment}),(0,a.jsx)(P,{onClick:()=>ew(e),gaClass:"event_button_click",gaLabel:ep.remove,className:"option text-16 leading-22 mb-15 font-lato text-left text-sonicSilver hover:text-primary block",children:ep.remove})]})]})})]},t)))})]}),(0,a.jsx)("div",{className:"limitcont px-20 lg:px-40 ",children:(0,a.jsx)(B,{currentPage:F,totalCount:ev,pageSize:eo,onPageChange:U,executeScroll:()=>N(y)})})]})]})]}),(z||V||X)&&(0,a.jsx)(G,{title:z?null==ep?void 0:ep.confirm:V?null==ep?void 0:ep.done:X?null==ep?void 0:ep.error:void 0,message:(()=>{let{assignmentNumber:e}=es;return z?null==ep?void 0:ep.confirmMsg:V?null==ep?void 0:ep.removeSuccessMsg.replace("__no__",e):X?null==ep?void 0:ep.removeErrorMsg.replace("__no__",e):void 0})(),children:(0,a.jsxs)("div",{className:"flex gap-16 mt-30 lg:mt-40",children:[z&&(0,a.jsx)(P,{onClick:()=>e_(w),className:"secnBtn px-70 py-14 flex-1 lg:flex-none min-width-0 font-lato",children:null==ep?void 0:ep.ok}),(0,a.jsx)(P,{onClick:()=>{L({}),H(!1),K(!1),Z(!1)},className:"primBtn px-70 py-15 flex-1 lg:flex-none min-width-0 font-lato",children:z?null==ep?void 0:ep.cancel:null==ep?void 0:ep.ok})]})})]}),"viewScore"===q&&(0,a.jsx)(T,{locale:d,assignmentType:$,viewData:et})]})};
1O.propTypes={locale:o().string,tabs:o().array,pageDescription:o().string,pageTitle:o().string};var F=(0,s.memo)(O),U=!0;let Y="force-dynamic";var L=(0,n.Z)(F)}},function(e){e.O(0,[2678,4885,7311,7441,9669,8863,1664,4960,9502,1135,7957,2888,9774,179],function(){return e(e.s=80009)}),_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.