PageSourceSearch

https://career26.com/_next/static/chunks/pages/settings/academy-4faa7d7f8d4ebc33.js

js career26.com collected 2026-10-07 15:32:35 UTC 40,050 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6476],{18446:function(e,t,i){var n=i(90939);e.exports=function(e,t){return n(e,t)}},35995:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/settings/academy",function(){return i(67097)}])},30093:function(e,t,i){"use strict";i.d(t,{F5:function(){return x},FG:function(){return m},P7:function(){return c},Xh:function(){return p},_2:function(){return d},el:function(){return f},f:function(){return h},il:function(){return g},vp:function(){return u},zM:function(){return v}});var n=i(88144),l=i(24139),s=i(30202),r=i(98029),a=i(24998),o=i(75571);let d=()=>(0,n.a)({queryKey:["publicInterviews"],queryFn:()=>(0,o._)("interviews/public")}),c=e=>{let{skip:t}=e;return(0,n.a)({queryKey:["userInterviews"],queryFn:t?l.CN:()=>(0,o._)("interviews/user",{authorised:!0})})},u=e=>{let{skip:t}=e;return(0,n.a)({queryKey:["interviewAttempts"],queryFn:t?l.CN:()=>(0,o._)("interviews/attempts",{authorised:!0})})},h=e=>{let{skip:t}=e;return(0,n.a)({queryKey:["interviewsSummary"],queryFn:t?l.CN:()=>(0,o._)("interviews/summary",{authorised:!0})})},m=()=>{let e=(0,s.NL)();return(0,r.D)({mutationFn:e=>(0,o._)("interviews/invite/user/".concat(e),{method:"POST",authorised:!0}),onSuccess:()=>{e.invalidateQueries({queryKey:["interviewsSummary"]})}})},f=()=>(0,r.D)({mutationFn:e=>(0,o._)("interviews/invite/users",{method:"POST",authorised:!0,body:e}),onSuccess:e=>{if(e.failedEmails.length){a.N9.show({title:"Failed to invite (".concat(e.failedEmails.length,") users"),message:e.failedEmails.join(", "),color:"red"});return}a.N9.show({title:"Invite sent to users",message:"".concat(e.invites.length," users invited"),color:"green"})},onError:e=>{a.N9.show({title:"Failed to invite users",message:e.message,color:"red"})}}),p=function(){let{skip:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,n.a)({queryKey:["allInterviews"],queryFn:e?l.CN:()=>(0,o._)("interviews/all",{authorised:!0})})},v=()=>{let e=(0,s.NL)();return(0,r.D)({mutationKey:["updateInterviewState"],mutationFn:e=>{let{interviewKey:t,interviewState:i}=e;return(0,o._)("interview/state/".concat(t),{authorised:!0,body:i,method:"POST"})},onSuccess:()=>{e.invalidateQueries({queryKey:["allInterviews"]})}})},x=()=>{let e=(0,s.NL)();return(0,r.D)({mutationKey:["updateInterviewPrompt"],mutationFn:e=>{let{interviewKey:t,interviewPromptVariables:i}=e;return(0,o._)("interview/prompt/".concat(t),{authorised:!0,body:i,method:"POST"})},onSuccess:()=>{e.invalidateQueries({queryKey:["allInterviews"]})}})},g=()=>{let e=(0,s.NL)();return(0,r.D)({mutationKey:["syncInterviews"],mutationFn:()=>(0,o._)("interviews/sync",{authorised:!0,method:"POST"}),onSuccess:()=>{e.invalidateQueries({queryKey:["allInterviews"]})}})}},85594:function(e,t,i){"use strict";i.d(t,{QS:function(){return f},VS:function(){return u},Zo:function(){return x},eD:function(){return h},vP:function(){return p},yl:function(){return v},ze:function(){return m}});var n=i(24998),l=i(88144),s=i(30202),r=i(98029),a=i(24139),o=i(75571);let d=["webinarLinks"],c="webinars/links",u=()=>(0,l.a)({queryKey:d,queryFn:()=>(0,o._)(c,{authorised:!0})}),h=()=>{let e=(0,s.NL)();return(0,r.D)({mutationKey:["linkWebinars"],mutationFn:e=>(0,o._)(c,{method:"POST",body:e,authorised:!0}),onSuccess:t=>{e.invalidateQueries({queryKey:d}),t.links.forEach(e=>{n.N9.show({title:"Linked ".concat(e.syllabusTitle),message:e.details.title,color:"green"})}),Object.entries(t.failures).forEach(e=>{let[t,i]=e;n.N9.show({title:"Could not link ".concat(t),message:i,color:"red"})})},onError:e=>{n.N9.show({title:"Could not link webinars",message:e.message,color:"red"})}})},m=()=>{let e=(0,s.NL)();return(0,r.D)({mutationKey:["deleteWebinarLink"],mutationFn:e=>(0,o._)(c,{method:"DELETE",body:e,authorised:!0}),onSuccess:()=>{e.invalidateQueries({queryKey:d}),n.N9.show({message:"Webinar mapping deleted",color:"green"})},onError:e=>n.N9.show({title:"Delete failed",message:e.message,color:"red"})})},f=()=>(0,r.D)({mutationKey:["sendWebinarReminder"],mutationFn:e=>(0,o._)("webinars/reminder",{method:"POST",body:e,authorised:!0}),onSuccess:e=>{let{campaignId:t}=e;n.N9.show({title:"Reminder queued",message:"Campaign ".concat(t),color:"green"})},onError:e=>n.N9.show({title:"Reminder failed",message:e.message,color:"red"})}),p=()=>(0,r.D)({mutationKey:["sendWebinarCourseEmail"],mutationFn:e=>(0,o._)("webinars/email",{method:"POST",body:e,authorised:!0}),onSuccess:()=>{n.N9.show({message:"Course email queued",color:"green"})},onError:e=>n.N9.show({title:"Email failed",message:e.message,color:"red"})}),v=()=>(0,r.D)({mutationKey:["webinarAttendance"],mutationFn:e=>(0,o._)("webinars/attendance",{method:"POST",body:e,authorised:!0})}),x=e=>{let{skip:t}=e;return(0,l.a)({queryKey:["userWebinars"],queryFn:t?a.CN:()=>(0,o._)("webinars",{authorised:!0})})}},3662:function(e,t,i){"use strict";i.d(t,{n:function(){return r}});var n=i(85893),l=i(91992),s=i(50587);let r=e=>{let{onClick:t,disabled:i}=e;return(0,n.jsx)(l.A,{onClick:t,color:"red",variant:"subtle",size:"xs",disabled:i,children:(0,n.jsx)(s.Z,{size:"1rem"})})}},40891:function(e,t,i){"use strict";i.d(t,{P:function(){return s}});var n=i(85893);let l=(0,i(40885).Z)("filled","circle-filled","CircleFilled",[["path",{d:"M7 3.34a10 10 0 1 1 -4.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 4.995 -8.336z",key:"svg-0"}]]),s=e=>{let{value:t}=e;return(0,n.jsx)(l,{size:"1rem",color:t?"green":"red"})}},74936:function(e,t,i){"use strict";i.d(t,{h:function(){return a}});
1var n=i(85893),l=i(91992),s=i(24920),r=i(50587);let a=e=>{let{onClick:t,variant:i="icon"}=e;return"icon"===i?(0,n.jsx)(l.A,{onClick:t,color:"red",variant:"subtle",size:"sm",children:(0,n.jsx)(r.Z,{})}):(0,n.jsx)(s.z,{c:"white",onClick:t,color:"red",leftSection:(0,n.jsx)(r.Z,{size:"1rem"}),children:"Delete"})}},88536:function(e,t,i){"use strict";i.d(t,{d:function(){return f}});var n=i(85893),l=i(2054),s=i(8207),r=i(54410),a=i(36070),o=i(2687),d=i(356),c=i(24920),u=i(91923);let h=e=>1===e?"":"s",m=e=>e.charAt(0).toUpperCase()+e.slice(1),f=e=>{let{opened:t,onClose:i,value:f,onChange:p,onSubmit:v,result:x,title:g="Select by pasted values",description:j="Paste a list of values (e.g. copied from a spreadsheet column). One per line is ideal - commas, semicolons and spaces also work.",matchedNoun:b="row",tokenNoun:w="value",placeholder:y="[email protected]\[email protected]"}=e;return(0,n.jsx)(l.u,{opened:t,onClose:i,title:g,size:"lg",centered:!0,children:(0,n.jsxs)(s.K,{gap:"md",children:[(0,n.jsx)(r.x,{size:"sm",c:"dimmed",children:j}),(0,n.jsx)(a.g,{label:"".concat(m(w),"s"),placeholder:y,value:f,onChange:e=>p(e.currentTarget.value),autosize:!0,minRows:6,maxRows:14,autoFocus:!0}),x&&(0,n.jsx)(u.Y,{variant:x.notFound.length?"warning":"success",title:"Selected ".concat(x.matched," ").concat(b).concat(h(x.matched)),children:x.notFound.length>0?(0,n.jsxs)(s.K,{gap:"xs",children:[(0,n.jsxs)(r.x,{size:"sm",children:[x.notFound.length," ",w,h(x.notFound.length)," did not match any ",b,":"]}),(0,n.jsx)(o.x.Autosize,{mah:140,children:(0,n.jsx)(s.K,{gap:2,children:x.notFound.map(e=>(0,n.jsx)(r.x,{size:"xs",ff:"monospace",children:e},e))})})]}):(0,n.jsxs)(r.x,{size:"sm",children:["All pasted ",w,"s matched a ",b,"."]})}),(0,n.jsxs)(d.Z,{justify:"flex-end",mt:"md",children:[(0,n.jsx)(c.z,{variant:"default",onClick:i,children:x?"Done":"Cancel"}),(0,n.jsx)(c.z,{onClick:v,disabled:!f.trim(),children:"Select matching"})]})]})})}},59822:function(e,t,i){"use strict";i.d(t,{N:function(){return o}});var n=i(85893),l=i(89542),s=i(356),r=i(54410),a=i(24920);let o=e=>{let{count:t,actionLabel:i,onAction:o,noun:d="rows"}=e;return(0,n.jsxs)(s.Z,{justify:"flex-end",children:[(0,n.jsxs)(r.x,{c:"dimmed",children:["Selected"," ",(0,n.jsx)(r.x,{span:!0,fw:"bold",children:t})," ",d]}),(0,n.jsx)(a.z,{size:"sm",variant:"outline",leftSection:(0,n.jsx)(l.Z,{size:"1rem"}),disabled:0===t,onClick:o,children:i})]})}},38843:function(e,t,i){"use strict";i.d(t,{H:function(){return s}});var n=i(67294);let l=e=>Array.from(new Set(e.split(/[\s,;]+/).map(e=>e.trim().toLowerCase()).filter(Boolean))),s=e=>{let{gridRef:t,rows:i,getRowId:s,getMatchKey:r,gridRowsToken:a,prepareGrid:o}=e,[d,c]=(0,n.useState)(!1),[u,h]=(0,n.useState)(""),[m,f]=(0,n.useState)(),p=(0,n.useRef)(),v=(0,n.useCallback)(()=>{var e;let i=p.current,n=null==t?void 0:null===(e=t.current)||void 0===e?void 0:e.api;(null==i?void 0:i.size)&&n&&(n.deselectAll(),n.forEachNode(e=>{e.data&&i.has(s(e.data))&&e.setSelected(!0)}))},[t,s]);(0,n.useEffect)(()=>{v()},[a,v]);let x=(0,n.useCallback)(()=>{p.current=void 0,c(!1),h(""),f(void 0)},[]),g=(0,n.useCallback)(()=>{let e=l(u),t=new Map;(null!=i?i:[]).forEach(e=>t.set(r(e).toLowerCase(),e));let n=new Set,a=[];e.forEach(e=>{let i=t.get(e);i?n.add(s(i)):a.push(e)}),p.current=n,f({matched:n.size,notFound:a}),null==o||o(),v()},[u,i,r,s,o,v]);return{data:{opened:d,value:u,result:m},actions:{onOpen:(0,n.useCallback)(()=>c(!0),[]),onClose:x,onChange:h,onSubmit:g}}}},67097:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return ek}});var n=i(85893),l=i(8207),s=i(82591),r=i(75731),a=i(67294),o=i(54410),d=i(69084),c=i(2054),u=i(356),h=i(24920),m=i(32503),f=i(86851),p=i(3172),v=i(18627),x=i(57235),g=i(38843),j=i(23323),b=i(88536),w=i(26119),y=i(59822),S=i(80513),C=i(94021),k=i(12569),D=i(29231),z=i(91973);let N=(0,D.aj)(),I=e=>"".concat(e.cohortIdentifier,"-").concat(e.username),E=(e,t)=>t?null==e?void 0:e.filter(C.DE):e,q=()=>{var e,t,i,s,r,D,q;let F=(0,a.useRef)(null),A=(0,a.useRef)(null),[P,L]=(0,a.useState)(),[K,R]=(0,a.useState)(),[_,O]=(0,a.useState)(!1),{data:{cohorts:T},loading:Z}=(0,x.T)(),M=(0,a.useMemo)(()=>null==T?void 0:T.find(e=>e.identifier===K),[T,K]),[W,V]=(0,a.useState)(),[B,G]=(0,a.useState)([]),[U,Q]=(0,a.useState)(!1),[X,H]=(0,a.useState)(),[J,Y]=(0,a.useState)(),[$,ee]=(0,a.useState)(),{data:et,isLoading:ei}=(0,p.hG)({cohortIdentifier:null==M?void 0:M.identifier,skip:!M}),{data:en,isLoading:el}=(0,v.D_)({formIdentifier:null==M?void 0:M.formIdentifier,skip:!(null==M?void 0:M.formIdentifier)}),{data:es,isLoading:er}=(0,v.BG)({formIdentifier:null==M?void 0:M.formIdentifier,skip:!(null==M?void 0:M.formIdentifier)}),{mutate:ea,isPending:eo,data:ed}=(0,p.BN)(),ec=(0,a.useMemo)(()=>(0,C.ar)({applications:et,responses:es}),[et,es]),eu=(0,a.useMemo)(()=>E(ec,_),[ec,_]),eh=(0,a.useCallback)(e=>{var t;return[e.username,null!==(t=e.email)&&void 0!==t?t:"",(0,k.ok)(null==en?void 0:en.fields,e.answers
1)].filter(Boolean).join(" ")},[null==en?void 0:en.fields]),em=(0,a.useMemo)(()=>W?(0,k.hM)(es,e=>(0,C.u_)(e,W)):void 0,[es,W]),ef=!!X&&!["REJECTED","DECLINED"].includes(X),ep="OFFER"===X||"ACCEPTED"===X,ev=null==M?void 0:null===(e=M.courses)||void 0===e?void 0:e.find(e=>e.identifier===J),ex=null!=$?$:(null==ev?void 0:null===(t=ev.schedules)||void 0===t?void 0:t.length)===1?ev.schedules[0]:void 0,eg=!!X&&(!ep||!!J&&!!ex),ej=(0,a.useCallback)(()=>{V(void 0)},[]),eb=(0,a.useCallback)(()=>{eo||(Q(!1),H(void 0),Y(void 0),ee(void 0))},[eo]);(0,a.useEffect)(()=>{if((null==T?void 0:T.length)&&!K){var e;R(null===(e=(0,C.ye)(T)[0])||void 0===e?void 0:e.identifier)}},[T,K]),(0,a.useEffect)(()=>{eb()},[ed,eb]);let ew=(0,a.useCallback)(()=>{var e,t,i;null===(t=F.current)||void 0===t||null===(e=t.api)||void 0===e||e.exportDataAsCsv({fileName:"Applications - ".concat(null!==(i=null==M?void 0:M.name)&&void 0!==i?i:"",".csv"),allColumns:!0})},[null==M?void 0:M.name]),ey=(0,a.useMemo)(()=>(0,C.EI)({form:en,selectedCohort:M}),[en,M]),eS=(0,g.H)({gridRef:F,rows:ec,getRowId:I,getMatchKey:e=>{var t;return null!==(t=e.email)&&void 0!==t?t:""},gridRowsToken:P,prepareGrid:()=>{var e;null===(e=A.current)||void 0===e||e.call(A),O(!1)}});return(0,n.jsxs)(l.K,{children:[(0,n.jsx)(o.x,{fw:"bold",children:"Applications"}),(0,n.jsx)(d.P,{label:"Select cohort",placeholder:"Select cohort",value:null==M?void 0:M.identifier,onChange:e=>{R(null!=e?e:void 0),G([])},data:(0,C.ye)(null!=T?T:[]).map(e=>({label:e.name,value:e.identifier}))}),(0,n.jsx)(w.S,{gridRef:F,data:eu,getSearchString:eh,searchPlaceholder:"Search by username, email or answers",menuAriaLabel:"Application actions",menuOptions:[{label:"Show offers not accepted within 3 days",switch:{checked:_,onChange:O}},{label:"Select by email",icon:(0,n.jsx)(m.Z,{size:"1rem"}),onClick:eS.actions.onOpen},{label:"Download data",icon:(0,n.jsx)(f.Z,{size:"1rem"}),onClick:ew,disabled:!ec,dividerAbove:!0}],onFilteredChange:L,clearSearchRef:A,columnDefs:ey,loading:Z||ei||el||er,rowSelection:N,getRowId:e=>I(e.data),onSelectionChanged:e=>G(e.api.getSelectedRows()),onRowClicked:e=>V(e.data)}),(0,n.jsx)(b.d,{opened:eS.data.opened,onClose:eS.actions.onClose,value:eS.data.value,onChange:eS.actions.onChange,onSubmit:eS.actions.onSubmit,result:eS.data.result,matchedNoun:"applicant",tokenNoun:"email"}),(0,n.jsx)(y.N,{count:B.length,actionLabel:"Update applications",onAction:()=>Q(!0),noun:"applications"}),(0,n.jsx)(c.u,{opened:U,onClose:eb,closeOnClickOutside:!eo,closeOnEscape:!eo,title:"Update ".concat(B.length," application(s)"),size:"lg",children:(0,n.jsxs)(l.K,{gap:"md",children:[(0,n.jsx)(d.P,{label:"Update status",placeholder:"Select status",value:null!=X?X:null,onChange:e=>{H(e||void 0)},data:z.MH.map(e=>({value:e,label:(0,S.ck)(e)}))}),!ef&&X&&(0,n.jsx)(o.x,{size:"xs",c:"dimmed",children:"Course assignment is not available for Rejected or Declined."}),ep&&(0,n.jsx)(o.x,{size:"xs",c:"dimmed",children:"Offer and Accepted require a course and schedule to be assigned."}),J&&!(null==ev?void 0:null===(i=ev.schedules)||void 0===i?void 0:i.length)&&(0,n.jsx)(o.x,{size:"xs",c:"red",children:"This course has no schedules on the cohort - add them in Cohort admin first."}),!X&&(0,n.jsx)(o.x,{size:"xs",c:"dimmed",children:"Select a status first to choose a course and schedule."}),(0,n.jsx)(d.P,{label:"Assign to course",placeholder:"Select course",value:J,onChange:e=>{var t,i;let n=e||void 0;Y(n);let l=null==M?void 0:null===(t=M.courses)||void 0===t?void 0:t.find(e=>e.identifier===n);ee((null==l?void 0:null===(i=l.schedules)||void 0===i?void 0:i.length)===1?l.schedules[0]:void 0)},data:null==M?void 0:null===(s=M.courses)||void 0===s?void 0:s.map(e=>({label:e.name,value:e.identifier})),disabled:!ef,clearable:!0}),(0,n.jsx)(d.P,{label:"Assign schedule",placeholder:"Select schedule",value:null!=ex?ex:null,onChange:e=>ee(e||void 0),data:null==M?void 0:null===(q=M.courses)||void 0===q?void 0:null===(D=q.find(e=>e.identifier===J))||void 0===D?void 0:null===(r=D.schedules)||void 0===r?void 0:r.map(e=>({label:e,value:e})),disabled:!ef||!J,clearable:!0}),(0,n.jsxs)(u.Z,{justify:"flex-end",mt:"md",children:[(0,n.jsx)(h.z,{variant:"default",onClick:eb,disabled:eo,children:"Cancel"}),(0,n.jsx)(h.z,{onClick:()=>
1{if(!(null==M?void 0:M.identifier)||!X||!B.length||ep&&(!J||!ex))return;let e=B.map(e=>e.email).filter(e=>!!e),t={cohortIdentifier:M.identifier,status:X,emails:e};ef&&J&&ex?ea({...t,assignedCourse:{identifier:J,schedule:ex}}):ea(t)},loading:eo,disabled:!eg||eo,children:"Confirm"})]})]})}),(0,n.jsx)(c.u,{opened:!!W,onClose:ej,title:"Application to ".concat(null==M?void 0:M.name),size:"xl",centered:!0,children:W&&(en&&em?(0,n.jsx)(j.F,{form:en,response:em,disabled:!0}):(0,n.jsx)(o.x,{c:"dimmed",children:"No form response found for this applicant."}))})]})};var F=i(18446),A=i.n(F),P=i(26255),L=i(86414),K=i(36070),R=i(79291),_=i(95360),O=i(24998),T=i(63546),Z=i(50587),M=i(30093),W=i(42195),V=i(8629),B=i(91992),G=i(4951);let U=["Mondays","Tuesdays","Wednesdays","Thursdays","Fridays","Saturdays","Sundays"],Q=e=>{let{value:t,onChange:i,disabled:s,...r}=e,[c,h]=(0,a.useState)(null),[m,f]=(0,a.useState)(""),[p,v]=(0,a.useState)(""),x=null!=t?t:[],g=!s&&!!c&&!!m&&!!p,j=e=>i(x.filter(t=>t!==e));return(0,n.jsx)(W.I.Wrapper,{...r,children:(0,n.jsxs)(l.K,{gap:6,w:"100%",py:4,children:[x.length>0&&(0,n.jsx)(u.Z,{gap:6,children:x.map(e=>(0,n.jsx)(V.D,{size:"sm",withRemoveButton:!s,onRemove:()=>j(e),children:e},e))}),(0,n.jsxs)(u.Z,{gap:6,wrap:"nowrap",align:"center",children:[(0,n.jsx)(d.P,{size:"xs",w:120,placeholder:"Day",data:U,value:c,onChange:h,disabled:s}),(0,n.jsx)(G.M,{size:"xs",w:92,"aria-label":"Start time",value:m,onChange:e=>f(e.currentTarget.value),disabled:s}),(0,n.jsx)(o.x,{size:"xs",c:"dimmed",children:"-"}),(0,n.jsx)(G.M,{size:"xs",w:92,"aria-label":"End time",value:p,onChange:e=>v(e.currentTarget.value),disabled:s}),(0,n.jsx)(B.A,{variant:"light",size:"lg","aria-label":"Add schedule",disabled:!g,onClick:()=>{if(!g)return;let e="".concat(c," ").concat(m,"-").concat(p);x.includes(e)||i([...x,e]),h(null),f(""),v("")},children:(0,n.jsx)(P.Z,{size:"1rem"})})]})]})})};var X=i(72331),H=i(38878),J=i(7325),Y=i(3662),$=i(7965),ee=i(27825);let et=$.pG.map(e=>({value:e,label:e})),ei=(e,t,i)=>e.map((e,n)=>n===t?{...e,...i}:e),en=e=>{let{value:t,onChange:i,error:s}=e,r=null!=s?s:(0,ee.Fj)(t),a=t.allowLink||t.files.length>1;return(0,n.jsxs)(l.K,{gap:"md",children:[(0,n.jsxs)(o.x,{size:"sm",c:"dimmed",children:["Links and files are separate deliverable channels. Configure them independently; students must submit at least one allowed resource. The link is never a file slot - it uses"," ",(0,n.jsx)(o.x,{span:!0,ff:"monospace",size:"sm",children:"_link"})," ","when present. Each file slot accepts exactly one file; add more slots for more deliverables."]}),(0,n.jsxs)(l.K,{gap:"xs",children:[(0,n.jsx)(o.x,{size:"sm",fw:500,children:"Link"}),(0,n.jsx)(o.x,{size:"xs",c:"dimmed",children:"Optional URL channel (e.g. GitHub). Independent from file slots - enable it here, not by adding a file slot."}),(0,n.jsx)(X.X,{label:"Allow project link",description:"Students may include a LINK resource. Turn off to reject any link.",checked:t.allowLink,onChange:e=>{let n=e.currentTarget.checked;i({...t,allowLink:n,linkRequired:!!n&&t.linkRequired})}}),(0,n.jsx)(X.X,{label:"Link required",description:"Students must submit exactly one link. Only available when allow link is on.",disabled:!t.allowLink,checked:t.linkRequired,onChange:e=>i({...t,linkRequired:e.currentTarget.checked})})]}),(0,n.jsxs)(l.K,{gap:"sm",children:[(0,n.jsxs)(l.K,{gap:4,children:[(0,n.jsx)(o.x,{size:"sm",fw:500,children:"File slots"}),(0,n.jsx)(o.x,{size:"xs",c:"dimmed",children:"Each slot is one named FILE deliverable (label, accept list, required). Add a slot per deliverable (e.g. Report, Data). Leave empty for link-only when a link is allowed."})]}),t.files.map((e,s)=>
1(0,n.jsx)(H.Z,{withBorder:!0,p:"sm",radius:"sm",children:(0,n.jsxs)(l.K,{gap:"sm",children:[(0,n.jsxs)(u.Z,{justify:"space-between",align:"center",wrap:"nowrap",children:[(0,n.jsxs)(o.x,{size:"sm",fw:500,children:["File slot ",s+1]}),(0,n.jsx)(Y.n,{onClick:()=>i({...t,files:t.files.filter((e,t)=>t!==s)}),disabled:!a})]}),(0,n.jsx)(L.o,{label:"Label",description:"Shown to students and used as the candidates-table column header.",placeholder:"e.g. Report, Spreadsheet model",value:e.label,onChange:e=>i({...t,files:ei(t.files,s,{label:e.currentTarget.value})})}),(0,n.jsx)(J.N,{label:"Allowed extensions",description:"Students may only upload these types for this slot (platform allowlist).",data:et,value:e.allowedExtensions.map($.Ab),onChange:e=>i({...t,files:ei(t.files,s,{allowedExtensions:(0,ee.U3)(e)})}),searchable:!0}),(0,n.jsx)(X.X,{label:"Required",description:"If on, students must upload a file for this slot.",checked:e.required,onChange:e=>i({...t,files:ei(t.files,s,{required:e.currentTarget.checked})})})]})},e.fieldId))]}),(0,n.jsx)(h.z,{variant:"light",size:"sm",leftSection:(0,n.jsx)(P.Z,{size:"1rem"}),onClick:()=>i({...t,files:[...t.files,(0,z.vT)()]}),style:{alignSelf:"flex-start"},children:"Add file slot"}),r&&(0,n.jsx)(o.x,{size:"sm",c:"red",children:r})]})};var el=i(47317);let es={identifier:"",startDate:"",endDate:"",schedules:[],projectOpenDate:void 0,projectDeadline:void 0,interviewKey:void 0,projectSubmission:{allowLink:!1,linkRequired:!1,files:[]}},er=(e,t,i)=>e&&i[e]?i[e]:e||"New course ".concat(t+1),ea=e=>{var t,i;let{cohortForm:s,index:r,course:a,catalog:c,coursesLoading:h,interviews:m}=e,f="courses.".concat(r),p=!a.identifier,v=new Set(s.values.courses.map((e,t)=>t===r?void 0:e.identifier).filter(Boolean)),x=c.filter(e=>!v.has(e.identifier)).map(e=>({label:e.name,value:e.identifier}));return(0,n.jsxs)(l.K,{gap:"md",children:[p&&(0,n.jsx)(d.P,{withAsterisk:!0,searchable:!0,label:"Course",description:"Choose which course to add to this cohort.",placeholder:h?"Loading courses…":"Select course",data:x,disabled:h,...s.getInputProps("".concat(f,".identifier"))}),(0,n.jsx)(d.P,{clearable:!0,searchable:!0,label:"Interview",placeholder:"No interview",data:(null!=m?m:[]).map(e=>({label:e.title,value:e.key})),...s.getInputProps("".concat(f,".interviewKey"))}),(0,n.jsxs)(u.Z,{grow:!0,align:"flex-start",children:[(0,n.jsx)(T.x,{withAsterisk:!0,label:"Start date",value:a.startDate?new Date(a.startDate):null,onChange:e=>s.setFieldValue("".concat(f,".startDate"),e?(0,el.id)(e):""),error:s.errors["".concat(f,".startDate")]}),(0,n.jsx)(T.x,{withAsterisk:!0,label:"End date",value:a.endDate?new Date(a.endDate):null,onChange:e=>s.setFieldValue("".concat(f,".endDate"),e?(0,el.id)(e):""),error:s.errors["".concat(f,".endDate")]})]}),(0,n.jsxs)(u.Z,{grow:!0,align:"flex-start",children:[(0,n.jsx)(T.x,{label:"Project open date",description:"Optional. Defaults to course end date.",clearable:!0,value:a.projectOpenDate?new Date(a.projectOpenDate):null,onChange:e=>s.setFieldValue("".concat(f,".projectOpenDate"),e?(0,el.id)(e):void 0),error:s.errors["".concat(f,".projectOpenDate")]}),(0,n.jsx)(T.x,{label:"Project deadline",clearable:!0,value:a.projectDeadline?new Date(a.projectDeadline):null,onChange:e=>s.setFieldValue("".concat(f,".projectDeadline"),e?(0,el.id)(e):void 0)})]}),(0,n.jsx)(Q,{withAsterisk:!0,label:"Schedules",value:null!==(t=a.schedules)&&void 0!==t?t:[],onChange:e=>s.setFieldValue("".concat(f,".schedules"),e),error:s.errors["".concat(f,".schedules")]}),(0,n.jsxs)(l.K,{gap:"sm",children:[(0,n.jsx)(o.x,{size:"sm",fw:500,children:"Project uploads"}),(0,n.jsx)(en,{value:null!==(i=a.projectSubmission)&&void 0!==i?i:z.j1,onChange:e=>s.setFieldValue("".concat(f,".projectSubmission"),e)})]})]})},eo=e=>{let{cohortForm:t}=e,{data:i,isLoading:s}=(0,p.x5)(),{data:r}=(0,M.Xh)(),[c,m]=(0,a.useState)(t.values.courses.length?0:void 0),f=t.values.courses,v=Object.values(i||{}),x=Object.fromEntries(v.map(e=>[e.identifier,e.name]));(0,a.useEffect)(()=>{if(!f.length){m(void 0);return}(void 0===c||c>=f.length)&&m(0)},[f.length,c]);let g=void 0===c?void 0:f[c];return(0,n.jsxs)(l.K,{gap:"md",children:[(0,n.jsxs)(u.Z,{justify:"space-between",align:"flex-end",wrap:"wrap",children:[(0,n.jsx)(d.P,{label:"Course in this cohort",placeholder:f.length?"Select a course":"No courses yet",description:"Select a course to edit, or add a new one. Settings appear below.",searchable:!0,clearable:!1,disabled:!f.length,data:f.map((e,t)=>({value:String(t),label:er(e.identifier,t,x)})),value:void 0===c?null:String(c),onChange:e=>m(e?Number(e):void 0),style:{flex:1,minWidth:220}}),(0,n.jsxs)(u.Z,{gap:"xs",children:[(0,n.jsx)(h.z,{variant:"light",leftSection:(0,n.jsx)(P.Z,{size:"1rem"}),onClick:()=>{let e=f.length;t.setFieldValue("courses",[...f,es]),m(e)},children:"Add course"}),g&&(0,n.jsx)(h.z,{variant:"subtle",color:"red",leftSection:(0,n.jsx)(Z.Z,{size:"1rem"}),onClick:()=>
1{if(void 0===c)return;let e=f.filter((e,t)=>t!==c);if(t.setFieldValue("courses",e),!e.length){m(void 0);return}m(Math.min(c,e.length-1))},children:"Remove"})]})]}),g&&void 0!==c?(0,n.jsx)(ea,{cohortForm:t,index:c,course:g,catalog:v,coursesLoading:s,interviews:r}):(0,n.jsx)(o.x,{size:"sm",c:"dimmed",children:"Add a course to configure its schedule and project upload requirements."})]})},ed=function(){let{cohort:e,onClose:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutate:i,isPending:s,isSuccess:r,reset:o}=(0,p.dk)(),{data:c,isLoading:m}=(0,v.Rb)({}),f=e?{name:e.name,description:e.description,courses:e.courses.map(e=>{var t;return{...e,projectSubmission:null!==(t=e.projectSubmission)&&void 0!==t?t:z.j1}}),formIdentifier:e.formIdentifier}:z.AF,x=(0,_.c)({initialValues:f,validate:{name:e=>e?void 0:"Name is required",formIdentifier:e=>e?void 0:"Application form is required",description:e=>e?void 0:"Description is required",courses:{identifier:e=>e?void 0:"Course is required",startDate:e=>e?void 0:"Start date is required",endDate:e=>e?void 0:"End date is required",schedules:e=>(null==e?void 0:e.length)?void 0:"Schedules are required"}}}),g=(0,a.useCallback)(()=>{x.reset(),o(),null==t||t()},[x,o,t]);return(0,a.useEffect)(()=>{r&&g()},[r,g]),(0,n.jsxs)(l.K,{children:[(0,n.jsx)(L.o,{withAsterisk:!0,label:"Name",...x.getInputProps("name")}),(0,n.jsx)(d.P,{withAsterisk:!0,searchable:!0,label:"Application form",placeholder:m?"Loading forms…":"Select the application form",description:"Applicants apply by submitting this form. Its active state and expiry control the application window.",data:(null!=c?c:[]).map(e=>({value:e.identifier,label:e.title})),disabled:m,nothingFoundMessage:"No forms found",...x.getInputProps("formIdentifier")}),(0,n.jsx)(K.g,{withAsterisk:!0,label:"Description",...x.getInputProps("description"),minRows:3,autosize:!0}),(0,n.jsx)(eo,{cohortForm:x}),(0,n.jsxs)(u.Z,{justify:"space-between",py:"md",children:[(0,n.jsx)(h.z,{onClick:g,variant:"outline",children:"Cancel"}),(0,n.jsx)(h.z,{leftSection:(0,n.jsx)(R.Z,{}),onClick:()=>{if(x.errors.courses||!e)return;let t=x.values.courses.map(e=>{var t;return{...e,projectSubmission:null!==(t=e.projectSubmission)&&void 0!==t?t:z.j1}}),n=t.map(ee.I_).find(Boolean);if(n){O.N9.show({message:n,color:"red"});return}let l=t.map(e=>(0,ee.Fj)(e.projectSubmission)).find(Boolean);if(l){O.N9.show({message:"Project uploads for a course: ".concat(l),color:"red"});return}let s={...x.values,courses:t};"identifier"in e?i({...s,identifier:e.identifier}):i(s)},loading:s,children:"Save"})]})]})};var ec=i(59649),eu=i(40891);let eh=()=>{let[e,t]=(0,a.useState)(),{data:i,isLoading:s}=(0,p.dq)(),{data:r}=(0,p.x5)(),o=(0,a.useCallback)(()=>{t(void 0)},[]),d=[{headerName:"Applications Open",field:"applicationsOpen",maxWidth:80,filter:!1,sortable:!1,cellStyle:D.qi,cellRenderer:eu.P},{headerName:"",field:"identifier",sortable:!1,maxWidth:80,cellStyle:D.qi,cellRenderer:e=>{let{data:i}=e;return(0,ec.g)({onEdit:()=>t(i)})}},{headerName:"Name",field:"name"},{headerName:"Deadline",field:"deadline",valueFormatter:e=>{let{data:t}=e;return(0,el.yq)(null==t?void 0:t.deadline)}},{headerName:"Description",field:"description"},{headerName:"Courses",field:"courses",valueFormatter:e=>{let{data:t}=e;return(null==t?void 0:t.courses.map(e=>{var t;return(null==r?void 0:null===(t=r[e.identifier])||void 0===t?void 0:t.name)||""}).join(", "))||""}}];return(0,n.jsxs)(l.K,{children:[(0,n.jsx)(w.S,{data:i,getSearchString:e=>{var t;return"".concat(e.name," ").concat(null!==(t=e.description)&&void 0!==t?t:"")},searchPlaceholder:"Search cohorts",columnDefs:d,loading:s,actions:(0,n.jsx)(h.z,{variant:"subtle",leftSection:(0,n.jsx)(P.Z,{size:"1rem"}),onClick:()=>t(z.AF),children:"Add cohort"})}),(0,n.jsx)(c.u,{opened:!!e,onClose:o,title:A()(e,z.AF)?"Create Cohort":"Edit Cohort",size:"80%",children:(0,n.jsx)(ed,{cohort:e,onClose:o})})]})};var em=i(85594),ef=i(74936),ep=i(30969),ev=i(28009);let ex=e=>{let{data:t,onRename:i,error:l}=e;return t?(0,n.jsx)(L.o,{placeholder:"Lesson title",value:t.title,onChange:e=>i(t.identifier,e.currentTarget.value),error:!!l&&!t.title.trim()||void 0,size:"xs",style:{width:"100%"}}):null},eg=e=>{let{value:t,onChange:i,linkedSyllabusIds:s,error:r}=e,a=(0,ev.zt)(t),d=e=>i((0,ev.Cv)(e)),c=e=>{if(null==s?void 0:s.has(e)){O.N9.show({title:"Unlink webinar first",message:"This syllabus item is linked to a webinar. Remove the webinar mapping before deleting it.",color:"red"});return}d(a.filter(t=>t.identifier!==e))},u=[{headerName:"#",maxWidth:70,filter:!1,cellStyle:D.qi,valueGetter:e=>{let{node:t}=e;return(null==t?void 0:t.rowIndex)!=null?t.rowIndex+1:""}},{headerName:"Lesson",field:"title",flex:1,cellStyle:{overflow:"visible",display:"flex",alignItems:"center",paddingLeft:"var(--mantine-spacing-sm)"},cellRenderer:ex,cellRendererParams:{onRename:(e,t)=>
1{d(a.map(i=>i.identifier===e?{...i,title:t}:i))},error:r}},{headerName:"",maxWidth:60,filter:!1,cellStyle:D.qi,cellRenderer:e=>{let{data:t}=e;return(0,ef.h)({onClick:()=>t?c(t.identifier):void 0})}}],m=Math.min(360,Math.max(120,48*a.length+48));return(0,n.jsxs)(l.K,{gap:"xs",children:[(0,n.jsxs)(o.x,{size:"sm",fw:500,children:["Syllabus"," ",(0,n.jsx)(o.x,{span:!0,c:"red",children:"*"})]}),(0,n.jsx)(o.x,{size:"xs",c:"dimmed",children:"Each item has a stable id. Renaming or reordering keeps webinar and video links intact; unlink a webinar before removing its lesson. Drag rows to change order."}),a.length>0&&(0,n.jsx)(ep.k,{rowData:a,columnDefs:u,height:m,getRowId:e=>{var t,i;return null!==(i=null===(t=e.data)||void 0===t?void 0:t.identifier)&&void 0!==i?i:""},onReorder:d}),(0,n.jsx)(h.z,{variant:"subtle",leftSection:(0,n.jsx)(P.Z,{size:"1rem"}),onClick:()=>{d([...a,(0,ev.kN)("",a.length)])},style:{alignSelf:"flex-start"},children:"Add lesson"}),r&&(0,n.jsx)(o.x,{size:"xs",c:"red",children:r})]})},ej=function(){let{course:e,onClose:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutate:i,isPending:s,data:r,reset:o}=(0,p.ZG)(),{data:d}=(0,em.VS)(),c=(0,_.c)({initialValues:e?{...e,syllabus:(0,ev.Cv)((0,ev.zt)(e.syllabus))}:z.qC,validate:{name:e=>e?null:"Name is required",description:e=>e?null:"Description is required",syllabus:e=>(null==e?void 0:e.length)?e.some(e=>!e.title.trim())?"Every syllabus item needs a title":null:"At least one syllabus item is required"}}),m=e&&"identifier"in e?e.identifier:void 0,f=(0,a.useMemo)(()=>m&&(null==d?void 0:d.length)?new Set(d.filter(e=>e.courseIdentifier===m).map(e=>e.syllabusId)):new Set,[m,d]),v=(0,a.useCallback)(()=>{c.reset(),o(),null==t||t()},[c,o,t]);return(0,a.useEffect)(()=>{r&&v()},[r,v]),(0,n.jsxs)(l.K,{children:[(0,n.jsx)(L.o,{withAsterisk:!0,label:"Name",...c.getInputProps("name")}),(0,n.jsx)(K.g,{withAsterisk:!0,label:"Description",...c.getInputProps("description"),rows:3}),(0,n.jsx)(eg,{value:c.values.syllabus,onChange:e=>c.setFieldValue("syllabus",e),linkedSyllabusIds:f,error:c.errors.syllabus}),(0,n.jsxs)(u.Z,{justify:"space-between",py:"md",children:[(0,n.jsx)(h.z,{onClick:v,variant:"outline",children:"Cancel"}),(0,n.jsx)(h.z,{leftSection:(0,n.jsx)(R.Z,{}),onClick:()=>{if(c.validate().hasErrors||!e)return;let t={...c.values,syllabus:(0,ev.Cv)((0,ev.zt)(c.values.syllabus))};"identifier"in e?i({...t,identifier:e.identifier}):i(t)},loading:s,children:"Save"})]})]})},eb=()=>{let[e,t]=(0,a.useState)(),{data:i,isLoading:s}=(0,p.x5)(),{isPending:r}=(0,p.ZG)(),o=Object.values(i||{}),d=r||s,u=(0,a.useCallback)(()=>{t(void 0)},[]),m=[{headerName:"",field:"identifier",width:80,cellStyle:D.qi,sortable:!1,cellRenderer:e=>{let{data:i}=e;return(0,ec.g)({onEdit:()=>t(i)})}},{headerName:"Name",field:"name"},{headerName:"Description",field:"description"},{headerName:"Syllabus Items",field:"syllabus",width:80,cellStyle:D.qi,valueFormatter:e=>{var t,i;let{data:n}=e;return(null==n?void 0:null===(i=n.syllabus)||void 0===i?void 0:null===(t=i.length)||void 0===t?void 0:t.toString())||""}}];return(0,n.jsxs)(l.K,{children:[(0,n.jsx)(w.S,{data:o,getSearchString:e=>{var t;return"".concat(e.name," ").concat(null!==(t=e.description)&&void 0!==t?t:"")},searchPlaceholder:"Search courses",columnDefs:m,loading:!o&&s,actions:(0,n.jsx)(h.z,{variant:"subtle",leftSection:(0,n.jsx)(P.Z,{size:"1rem"}),onClick:()=>t(z.qC),disabled:d,children:"Add course"})}),(0,n.jsx)(c.u,{opened:!!e,onClose:u,title:A()(e,z.qC)?"Create Course":"Edit Course",size:"xl",children:(0,n.jsx)(ej,{course:e,onClose:u})})]})};var ew=i(80596),ey=i(91923);let eS=()=>(0,n.jsx)(ey.Y,{children:(0,n.jsxs)(l.K,{gap:"xs",children:[(0,n.jsxs)(o.x,{size:"sm",children:["The ",(0,n.jsx)("strong",{children:"CohortForm"})," controls the dates and upload requirements per cohort per course."]}),(0,n.jsxs)(o.x,{size:"sm",children:["The cohort application deadline does"," ",(0,n.jsx)(o.x,{span:!0,fs:"italic",inherit:!0,children:"not"})," ","affect project submissions."]}),(0,n.jsx)(o.x,{size:"sm",children:"When a student can submit a project follows this workflow:"}),(0,n.jsxs)(ew.a,{size:"sm",spacing:4,withPadding:!0,children:[(0,n.jsxs)(ew.a.Item,{children:[(0,n.jsx)("strong",{children:"Start date:"})," course begins; syllabus progress is calculated"]}),(0,n.jsxs)(ew.a.Item,{children:[(0,n.jsx)("strong",{children:"End date:"})," course ends. If no project open date is set, submissions open here"]}),(0,n.jsxs)(ew.a.Item,{children:[(0,n.jsx)("strong",{children:"Project open date:"})," optional; when set (on/after end date), submissions open on this date instead. Until then the academy stays active and students see a waiting state"]}),(0,n.jsxs)(ew.a.Item,{children:[(0,n.jsx)("strong",{children:"Project deadline:"})," last day to submit; required without it, submissions stay disabled. Interview invite is sent as soon as a project is submitted"]}),(0,n.jsxs)(ew.a.Item,{children:[(0,n.jsx)("strong",{children:"Project uploads:"})," two channels: ",(0,n.jsx)("em",{children:"File slots"})," (one file each, with their own extensions / required) and an optional ",(0,n.jsx)("em",{children:"link"}),". Configure them separately; students must submit at least one allowed resource"]})]})]})});var eC=i(29999),ek=()=>(0,n.jsx)(eC._,{roles:["ADMIN"],children:(0,n.jsx)(r.e,{children:(0,n.jsx)(s.$,{dimmed:!0,title:"Academy",subtitle:"Manage the academy",children:(0,n.jsxs)(l.K,{children:[(0,n.jsx)(eS,{}),(0,n.jsx)(eh,{}),(0,n.jsx)(eb,{}),(0,n.jsx)(q,{})]})})})})},27825:function(e,t,i){"use strict";i.d(t,{Fj:function(){return f},I_:function(){return c},N3:function(){return r},Oe:function(){return p},U3:function(){return h},Z6:function(){return s},c3:function(){return v},nn:function(){return d},oT:function(){return a},xV:function(){return o}});var n=i(7965),l=i(47317);let s="_link",r="Please select one",a={confidenceBefore:void 0,confidenceAfter:void 0,helpful:void 0,paceOfCourse:void 0,willingToMentor:void 0},o=e=>{var t;return null!==(t=e.projectOpenDate)&&void 0!==t?t:e.endDate},d=e=>{let{course:t,project:i}=e;if(i)return{canSubmit:!1,message:"Project submitted on ".concat((0,l.g3)(i.submittedAt))};if(!(null==t?void 0:t.projectDeadline))return{canSubmit:!1,message:void 0};if(new Date>new Date(t.projectDeadline))return{canSubmit:!1,message:"Deadline passed"};
1if(new Date<new Date(t.startDate))return{canSubmit:!1,message:"Course not started"};let n=o(t);return new Date<new Date(n)?{canSubmit:!1,message:"Project submissions open on ".concat((0,l.g3)(n))}:{canSubmit:!0,message:"Submit by ".concat((0,l.g3)(t.projectDeadline))}},c=e=>{if(!e.projectOpenDate)return;let t=new Date(e.projectOpenDate);return t<new Date(e.endDate)?"Project open date must be on or after the course end date":e.projectDeadline&&t>new Date(e.projectDeadline)?"Project open date must be on or before the project deadline":void 0},u=e=>n.pG.includes((0,n.Ab)(e)),h=e=>Array.from(new Set(e.map(n.Ab).filter(u))),m=(e,t)=>{let i=e.fieldId.trim(),n=e.label.trim()||i;return i?i===s?'"'.concat(s,'" is reserved for links'):t.has(i)?"File slot field ids must be unique":(t.add(i),e.label.trim())?e.allowedExtensions.length?e.allowedExtensions.some(e=>!u(e))?'Extensions for "'.concat(n,'" must be from the platform allowlist'):void 0:'Add allowed extensions for "'.concat(n,'"'):"Each file slot needs a label":"Each file slot needs a field id"},f=e=>{if(!e)return"Project upload requirements are required";if(!e.allowLink&&0===e.files.length)return"Add at least one file slot or allow a link";if(e.linkRequired&&!e.allowLink)return"Link required needs allow link enabled";let t=new Set;return e.files.map(e=>m(e,t)).find(Boolean)},p=(e,t)=>{if(e.required&&!t)return"".concat(e.label," is required");if(t&&!(0,n._C)(t.name,e.allowedExtensions)){let i=e.allowedExtensions.map(n.Ab).join(", ");return"".concat(t.name," must be one of: ").concat(i)}},v=async e=>{let{resourceLink:t,slotFiles:i,projectSubmission:l,cohortIdentifier:r,courseIdentifier:a,uploadFile:o}=e,d=l.files.map(e=>({file:i[e.fieldId],fieldId:e.fieldId})).filter(e=>!!e.file),c=await Promise.all(d.map(async e=>{let{file:t,fieldId:i}=e,l=(0,n.NU)(t);if(!l)throw Error("Could not determine file type for ".concat(t.name));let s=t.type===l?t:new File([t],t.name,{type:l}),d=await o({file:s,userFileType:"PROJECT",pathParameters:{cohort_identifier:r,course_identifier:a,field_id:i},onSuccess:()=>void 0});return{fieldId:i,type:"FILE",fileKey:d.key}}));return l.allowLink&&t.trim()?[...c,{fieldId:s,type:"LINK",link:t.trim()}]:c}},93967:function(e,t){var i;!function(){"use strict";var n={}.hasOwnProperty;function l(){for(var e="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(e=s(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return l.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var i in e)n.call(e,i)&&e[i]&&(t=s(t,i));return t}(i)))}return e}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(l.default=l,e.exports=l):void 0!==(i=(function(){return l}).apply(t,[]))&&(e.exports=i)}()},80596:function(e,t,i){"use strict";i.d(t,{a:function(){return x}});var n=i(85893);i(67294);var l=i(69429),s=i(13637),r=i(90987),a=i(46976),o=i(33583),d=i(9535);let[c,u]=(0,i(70679).R)("List component was not found in tree");var h={root:"m_abbac491",item:"m_abb6bec2",itemWrapper:"m_75cd9f71",itemIcon:"m_60f83e5b"};let m={},f=(0,d.d5)((e,t)=>{let{classNames:i,className:l,style:s,styles:a,vars:d,icon:c,children:h,mod:f,...p}=(0,r.w)("ListItem",m,e),v=u(),x=c||v.icon,g={classNames:i,styles:a};return(0,n.jsx)(o.x,{...v.getStyles("item",{...g,className:l,style:s}),component:"li",mod:[{"with-icon":!!x,centered:v.center},f],ref:t,...p,children:(0,n.jsxs)("div",{...v.getStyles("itemWrapper",g),children:[x&&(0,n.jsx)("span",{...v.getStyles("itemIcon",g),children:x}),(0,n.jsx)("span",{...v.getStyles("itemLabel",g),children:h})]})})});f.classes=h,f.displayName="@mantine/core/ListItem";let p={type:"unordered"},v=(0,s.Z)((e,{size:t,spacing:i})=>({root:{"--list-fz":(0,l.yv)(t),"--list-lh":(0,l.Dp)(t),"--list-spacing":(0,l.bG)(i)}})),x=(0,d.d5)((e,t)=>{let i=(0,r.w)("List",p,e),{classNames:l,className:s,style:d,styles:u,unstyled:m,vars:f,children:x,type:g,withPadding:j,icon:b,spacing:w,center:y,listStyleType:S,mod:C,...k}=i,D=(0,a.y)({name:"List",classes:h,props:i,className:s,style:d,classNames:l,styles:u,unstyled:m,vars:f,varsResolver:v});return(0,n.jsx)(c,{value:{center:y,icon:b,getStyles:D},children:(0,n.jsx)(o.x,{...D("root",{style:{listStyleType:S}}
1),component:"unordered"===g?"ul":"ol",mod:[{"with-padding":j},C],ref:t,...k,children:x})})});x.classes=h,x.displayName="@mantine/core/List",x.Item=f},32503:function(e,t,i){"use strict";i.d(t,{Z:function(){return n}});let n=(0,i(40885).Z)("outline","clipboard-list","ClipboardList",[["path",{d:"M9 5h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2h-2",key:"svg-0"}],["path",{d:"M9 3m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v0a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z",key:"svg-1"}],["path",{d:"M9 12l.01 0",key:"svg-2"}],["path",{d:"M13 12l2 0",key:"svg-3"}],["path",{d:"M9 16l.01 0",key:"svg-4"}],["path",{d:"M13 16l2 0",key:"svg-5"}]])},89542:function(e,t,i){"use strict";i.d(t,{Z:function(){return n}});let n=(0,i(40885).Z)("outline","users-plus","UsersPlus",[["path",{d:"M5 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0",key:"svg-0"}],["path",{d:"M3 21v-2a4 4 0 0 1 4 -4h4c.96 0 1.84 .338 2.53 .901",key:"svg-1"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"svg-2"}],["path",{d:"M16 19h6",key:"svg-3"}],["path",{d:"M19 16v6",key:"svg-4"}]])}},function(e){e.O(0,[5563,1859,3623,2687,7194,7883,6410,487,6348,7835,461,2290,3975,2171,1993,7235,9786,7755,2888,9774,179],function(){return e(e.s=35995)}),_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.