1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8510],{4681:(e,t,s)=>{"use strict";s.d(t,{Z:()=>E});var n=s(37876),i=s(46817),r=s(77328),l=s.n(r),a=s(90486),c=s(67768),o=s(15039),d=s.n(o),u=s(14e3),k=s(14232),m=s(480),x=s(95226);let h=["BookMeeting","ImmediateBooking","EnrollAndImmediateBooking"];var j=s(77502),T=s.n(j);let p=({task:e})=>{let t=(0,u.usePathname)(),s=(0,c.jE)(),r=d()({"is-color-warning":e.isUrgent,"is-semibold":e.isUrgent}),l=((e,t)=>{if(h.includes(e.taskType)){let{bookingType:s,interviewDeadlineIdentifier:n}=e;return{pathname:t,query:{taskType:e.taskType,bookingType:s,..."BookMeeting"===e.taskType&&n?{interviewDeadlineIdentifier:n}:{}}}}return"ConfirmMeeting"===e.taskType?{pathname:t,query:{taskType:e.taskType,bookingIdentifier:e.bookingIdentifier}}:e.callToAction?.url??""})(e,t),[a,o]=(0,k.useState)(!1);return(0,n.jsx)(i.Zp,{className:`flex-column ${T().taskCardStretch}`,children:(0,n.jsx)(i.Wu,{children:(0,n.jsxs)(i.fI,{align:"center",className:"w-percent-100 gap-xs-medium",children:[(0,n.jsx)(i.fv,{col:12,md:4,children:(0,n.jsx)(i.EY,{className:"is-semibold",children:e.title})}),(0,n.jsx)(i.fv,{col:12,md:5,children:(0,n.jsx)(i.EY,{className:r,children:e.description})}),(0,n.jsx)(i.fv,{col:12,md:3,className:"d-flex justify-content-md-end",children:e.callToAction&&("ScreeningRehab"===e.taskType?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.$n,{onClick:()=>{o(!0)},buttonType:i.VQ.Tertiary,children:e.callToAction.text}),(0,n.jsx)(m.n,{show:a,dismiss:()=>{s.refetchQueries({queryKey:["YourTasks"]}),o(!1)}})]}):(0,n.jsx)(x.I,{href:l,label:e.callToAction.text}))})]})})})},f=e=>{let{tasks:t}=e;return t?(0,n.jsx)(i.BJ,{direction:"column",gap:"large",className:"mb-5",children:t.map(e=>{let t,s;return(0,n.jsx)(p,{task:e},(t="ConfirmMeeting"===e.taskType?e.bookingIdentifier:null,s="BookMeeting"===e.taskType?e.interviewDeadlineIdentifier:null,[e.taskType,e.title,e.callToAction?.url,t,s].filter(Boolean).join("-")))})}):null};var g=s(12433),y=s(63886),b=s(7634),_=s(90767),N=s(72334);let E=()=>{let{content:e}=(0,g.H)(b.b.Tasks),{data:t,isLoading:s}=(0,y.N)(),r=(0,_.c)(e?.yourTasksTitle);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l(),{children:(0,n.jsx)("title",{children:r})}),(0,n.jsx)(i.DZ,{tag:"h1",children:e?.yourTasksTitle}),(0,n.jsx)(a.A,{body:e?.yourTasksDescription,className:"mb-6"}),s?(0,n.jsx)(i.EA,{variant:"card"}):(0,n.jsx)(f,{tasks:t}),(0,n.jsx)(N.p,{})]})}},13228:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/mit-jobnet/tasks",function(){return s(45247)}])},45247:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>l});var n=s(37876),i=s(4681),r=s(67399);function l(){return(0,n.jsx)(r.r,{title:"Opgaver",children:(0,n.jsx)(i.Z,{})})}},77502:e=>{e.exports={taskCardStretch:"TaskCard_taskCardStretch__kE2Z8"}}},e=>{e.O(0,[9720,5151,7628,958,5294,2817,480,636,6593,8792],()=>e(e.s=13228)),_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.