1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[212],{21017:function(e,r,l){"use strict";l.d(r,{Z:function(){return M}});var i=l(67294),n=l(64761),s=l(48427),t=l(82623);let a=(0,i.createContext)({padding:0}),o=a.Provider,useCardPadding=()=>(0,i.useContext)(a).padding;var d=l(56817),c=l(14258),h=l(96768),u=(0,d.k)((e,{padding:r,withBorder:l,inheritPadding:i})=>{let n=(0,c.a)({size:r,sizes:e.spacing}),s=`calc(-1 * ${n})`,t="dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3];return{cardSection:{display:"block",marginLeft:s,marginRight:s,paddingLeft:i?n:void 0,paddingRight:i?n:void 0,borderTop:l?`${(0,h.h)(1)} solid ${t}`:void 0,borderBottom:l?`${(0,h.h)(1)} solid ${t}`:void 0,"& + &":{borderTop:0},"&[data-first]":{marginTop:s,borderTop:0,borderBottom:l?`${(0,h.h)(1)} solid ${t}`:void 0},"&[data-last]":{marginBottom:s,borderBottom:0}}}}),x=l(64523),g=Object.defineProperty,j=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,r,l)=>r in e?g(e,r,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[r]=l,__spreadValues=(e,r)=>{for(var l in r||(r={}))p.call(r,l)&&__defNormalProp(e,l,r[l]);if(j)for(var l of j(r))f.call(r,l)&&__defNormalProp(e,l,r[l]);return e},__objRest=(e,r)=>{var l={};for(var i in e)p.call(e,i)&&0>r.indexOf(i)&&(l[i]=e[i]);if(null!=e&&j)for(var i of j(e))0>r.indexOf(i)&&f.call(e,i)&&(l[i]=e[i]);return l};let m={withBorder:!1,inheritPadding:!1},v=(0,i.forwardRef)((e,r)=>{let l=(0,n.N4)("CardSection",m,e),{className:s,withBorder:t,inheritPadding:a,unstyled:o,variant:d}=l,c=__objRest(l,["className","withBorder","inheritPadding","unstyled","variant"]),{classes:h,cx:g}=u({padding:useCardPadding(),withBorder:t,inheritPadding:a},{name:"Card",unstyled:o,variant:d});return i.createElement(x.x,__spreadValues({className:g(h.cardSection,s),ref:r},c))});v.displayName="@mantine/core/CardSection";let b=(0,s.F)(v);var w=(0,d.k)(e=>({root:{position:"relative",overflow:"hidden",backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.white}})),y=Object.defineProperty,C=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable,Card_defNormalProp=(e,r,l)=>r in e?y(e,r,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[r]=l,Card_spreadValues=(e,r)=>{for(var l in r||(r={}))z.call(r,l)&&Card_defNormalProp(e,l,r[l]);if(C)for(var l of C(r))Z.call(r,l)&&Card_defNormalProp(e,l,r[l]);return e},Card_objRest=(e,r)=>{var l={};for(var i in e)z.call(e,i)&&0>r.indexOf(i)&&(l[i]=e[i]);if(null!=e&&C)for(var i of C(e))0>r.indexOf(i)&&Z.call(e,i)&&(l[i]=e[i]);return l};let k={padding:"md"},S=(0,i.forwardRef)((e,r)=>{let l=(0,n.N4)("Card",k,e),{className:s,padding:a,radius:d,children:c,unstyled:h,variant:u}=l,x=Card_objRest(l,["className","padding","radius","children","unstyled","variant"]),{classes:g,cx:j}=w(null,{name:"Card",unstyled:h,variant:u}),p=i.Children.toArray(c),f=p.map((e,r)=>"object"==typeof e&&e&&"type"in e&&e.type===b?(0,i.cloneElement)(e,{variant:u,padding:a,"data-first":0===r||void 0,"data-last":r===p.length-1||void 0}):e);return i.createElement(o,{value:{padding:a}},i.createElement(t.X,Card_spreadValues({className:j(g.root,s),radius:d,p:a,ref:r},x),f))});S.Section=b,S.displayName="@mantine/core/Card";let M=(0,s.F)(S)},39759:function(e,r,l){"use strict";l.d(r,{c:function(){return useDebouncedValue}});var i=l(67294);function useDebouncedValue(e,r,l={leading:!1}){let[n,s]=(0,i.useState)(e),t=(0,i.useRef)(!1),a=(0,i.useRef)(null),o=(0,i.useRef)(!1),cancel=()=>window.clearTimeout(a.current);return(0,i.useEffect)(()=>{t.current&&(!o.current&&l.leading?(o.current=!0,s(e)):(cancel(),a.current=window.setTimeout(()=>{o.current=!1,s(e)},r)))},[e,l.leading,r]),(0,i.useEffect)(()=>(t.current=!0,cancel),[]),[n,cancel]}},88198:function(e,r,l){"use strict";l.d(r,{Z:function(){return i}});var i=(0,l(30853).Z)("check","IconCheck",[["path",{d:"M5 12l5 5l10 -10",key:"svg-0"}]])},1177:function(e,r,l){"use strict";l.d(r,{Z:function(){return i}});var i=(0,l(30853).Z)("plus","IconPlus",[["path",{d:"M12 5l0 14",key:"svg-0"}],["path",{d:"M5 12l14 0",key:"svg-1"}]])},79741:function(e,r,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/talent-partners",function(){return l(21491)}])},17005:function(e,r,l){"use strict";l.d(r,{$:function(){return UnauthorizedPage}});var i=l(85893),n=l(67841),s=l(96768);l(67294);var t=l(68873),a=l(41664),o=l.n(a),d=l(45938),c=l(53596);let UnauthorizedPage=()=>(0,i.jsx)(t.t,{title:"Sorry, out of bounds!",subtitle:"To access this page, please log in as a different user type (e.g. recruiter or job seeker).",illustration:(0,i.jsx)(c.G,{}),body:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o(),{href:d.P.HOME(),children:(0,i.jsx)(n.z,{children:"Go home"})}),(0,i.jsx)(o(),{href:d.P.LOGOUT(),children:(0,i.jsx)(n.z,{ml:(0,s.h)(16),variant:"default",children:"Log out"})})]})})},95727:function(e,r,l){"use strict";l.d(r,{C:function(){return TableData}});var i=l(85893),n=l(95117),s=l(96768),t=l(92470),a=l(41242),o=l(49834),d=l(71232),c=l(67841),h=l(97564),u=l(17829),x=l(92261),g=l(41664),j=l.n(g);l(67294);var p=l(34951);let TableData=e=>{let r,l,g,{value:f,secondarySlot:m,secondarySlotHref:v,children:b,style:w,backgroundColor:y,borderRight:C,popoverSlot:z,popoverItems:Z,href:k,allHref:S,prefix:M,centered:P}=e,_={...w||{},backgroundColor:y};if(C&&(_.borderRight="1px solid #dee2e6"),m&&(l=(0,i.jsx)(n.x,{lh:(0,s.h)(14),size:"xs",children:m}),v&&(l=(0,i.jsx)(j(),{href:v,children:l}))),null!=b)r=b;else{if(0===f||null==f)return(0,i.jsx)("td",{style:{..._,textAlign:P?"center":"left"},children:(0,i.jsx)(n.x,{c:"gray",children:"-"})});r=(0,i.jsxs)(n.x,{component:"pre",m:0,ta:P?"center":Number.isNaN(f)?void 0:"left",lh:(0,s.h)(14),style:{textOverflow:"ellipsis",overflow:"hidden",height:"1.2em",whiteSpace:"nowrap"},children:[M,f]})}return k&&(r=(0,i.jsx)(j(),{href:k,children:r})),(z||Z)&&(z=[...S?[(0,i.jsx)(j(),{href:S,style:{textDecoration:"none"},children:(0,i.jsx)(t.O,{icon:(0,i.jsx)(u.Z,{size:18}),label:"See All"})},"see-all")]:[],...z?[z]:Z?[(0,i.jsx)(p.Yu,{items:Z}
1,"popover-items")]:[]],l||b?g=(0,i.jsxs)(a.J,{width:(0,s.h)(400),children:[(0,i.jsx)(a.J.Target,{children:(0,i.jsx)(o.A,{size:"xs",variant:"subtle",children:(0,i.jsx)(x.Z,{})})}),(0,i.jsx)(a.J.Dropdown,{children:z})]}):r=(0,i.jsx)(d.Z,{position:"right",children:(0,i.jsxs)(a.J,{width:(0,s.h)(400),children:[(0,i.jsx)(a.J.Target,{children:(0,i.jsx)(c.z,{size:"xs",variant:"outline",children:r})}),(0,i.jsx)(a.J.Dropdown,{children:z})]})})),(l||b)&&(r=(0,i.jsxs)(d.Z,{noWrap:!0,position:"apart",children:[(0,i.jsxs)(h.K,{spacing:3,children:[r,l]}),g]})),(0,i.jsx)("td",{style:_,children:r})}},46670:function(e,r,l){"use strict";l.d(r,{s:function(){return TableHead}});var i=l(85893),n=l(95117),s=l(96768),t=l(88393);l(67294);var a=l(71232),o=l(49834),d=l(25675),c=l.n(d);function SortableTitle(e){let{field:r,title:l,tooltipLabel:n,icon:d,iconAscending:h=(0,i.jsx)(c(),{src:"/ordering/ascending.svg",width:22,height:22,alt:"ascending"}),iconDescending:u=(0,i.jsx)(c(),{src:"/ordering/descending.svg",width:22,height:22,alt:"descending"}),iconRest:x=(0,i.jsx)(c(),{src:"/ordering/rest.svg",width:22,height:22,alt:"unset"}),toggleSortField:g,sortingOptions:j}=e,p=j&&r&&j[r],f=(0,i.jsxs)(a.Z,{spacing:(0,s.h)(6),noWrap:!0,children:[d,l,g&&r&&(0,i.jsx)(o.A,{size:(0,s.h)(20),color:void 0!==p?"blue":"gray",onClick:()=>g(r),"data-test-id":"".concat(r,"-sort-icon"),children:void 0===p?x:"asc"===p?h:u})]});return n?(0,i.jsx)(t.u,{label:n,children:f}):f}function TableHead(e){let{children:r,backgroundColor:l,tooltipLabel:a,minWidth:o,sortingOptions:d,field:c,onToggleSortField:h,setSortingOptions:u,centered:x}=e,g=(0,i.jsx)(n.x,{c:"black",ta:x?"center":"left",fz:(0,s.h)(12),lh:(0,s.h)(14),children:r});return d&&c&&(u||h)&&(g=(0,i.jsx)(SortableTitle,{title:r,field:c,sortingOptions:d,toggleSortField:h||(u?()=>{u(e=>({...e,[c]:"desc"===e[c]?"asc":"asc"===e[c]?void 0:"desc"}))}:void 0)})),(0,i.jsx)("th",{style:{whiteSpace:"nowrap",backgroundColor:l,minWidth:o,textAlign:x?"center":void 0},children:a?(0,i.jsx)(t.u,{label:a,children:g}):g})}},53596:function(e,r,l){"use strict";l.d(r,{G:function(){return IllustrationWarning}});var i=l(85893);let IllustrationWarning=()=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 524.67001 418.27099",xmlnsXlink:"http://www.w3.org/1999/xlink",children:[(0,i.jsx)("path",{d:"M442.17403,400.47713c2.06599,.12871,3.20692-2.43846,1.64338-3.93389l-.1557-.61814c.0204-.04935,.04089-.09868,.06153-.14794,1.23211-2.94003,4.62545-4.33201,7.57137-3.11404,9.3142,3.85087-.51966,12.69986,.21957,18.68773,.25911,2.06671,8.35473,2.18034,7.89681,4.2086,4.30482-9.41207,6.56835-19.68889,6.56478-30.02306-.0009-2.59653-.14392-5.19297-.43543-7.78281-.23975-2.11845-.56985-4.22389-.9969-6.30999-2.30966-11.27639-7.30614-22.01572-14.51084-30.98461-3.46263-1.89129-1.35074-4.85018-3.09586-8.39544-.62694-1.27868-6.21792-1.30745-6.45092-2.70892,.25019,.03272,3.86434-3.721,2.6705-5.5767-.78555-1.22107-.54106-2.7763,.4681-3.82017,.09887-.1023,.19234-.2103,.27796-.32648,2.98093-4.04443,7.09003-3.33985,9.23695,2.15406,4.58304,2.31107,4.62871,6.14647,1.81834,9.83619-1.78798,2.34745-2.03264,5.52304-3.60129,8.03604,.16157,.20664,.32958,.40684,.49112,.61348,2.96237,3.79686,5.52482,7.87809,7.68524,12.16592-.61182-4.76599,.28705-10.50831,1.8215-14.21023,1.75933-4.24835,5.06953-7.8221,7.96883-11.49665,3.46275-4.38865,10.5104-2.39707,11.12286,3.15951,.00588,.05337,.0116,.10665,.01724,.16003-.42884,.24212-.84895,.49935-1.25929,.77094-2.33882,1.54808-1.52824,5.17442,1.24391,5.60071l.06278,.00965c-.1545,1.54372-5.63258,6.40679-6.01957,7.91187,3.70514,14.30838,.93282,16.19755-10.46624,16.43703l-.59825,.8522c1.08024,3.1058,1.94956,6.2861,2.60235,9.50743,.61462,2.99021,1.042,6.01282,1.28197,9.04845,.29847,3.82994,.27396,7.6795-.04769,11.50325l.01933-.13563c.81879-4.21143,3.1039-8.1457,6.42284-10.87249,4.94421-4.06436,11.93091-5.56281,17.2652-8.83022,2.56778-1.57285,5.85959,.45742,5.41241,3.4352l-.02177,.14262c-.79432,.32315-1.56922,.69808-2.31831,1.11814-.42921,.24237-.84965,.49978-1.26032,.77165-2.33916,1.54848-1.52796,5.1753,1.24498,5.60009l.06281,.00962c.0452,.00645,.08399,.01291,.12913,.0194-1.3617,3.23628-14.33553,7.80147-16.71149,10.39229-2.31031,12.49793-1.17531,12.12596-11.81075,8.49032h-.00647c-1.16085,5.06419-2.85
178,10.01225-5.03931,14.72794l-18.0202,.00623c-.06471-.2002-.12288-.40688-.18109-.60712,1.66645,.10285,3.34571,.00534,4.98619-.29875-1.33757-1.64013-2.67509-3.29317-4.01266-4.93324-.0323-.03228-.05819-.06459-.08402-.09686l-.02036-.02517-1.85532-6.10724c.14644-1.35476,.38536-2.69828,.70958-4.02051l.00049-.00037v.00006Z",fill:"#f2f2f2"}),(0,i.jsx)("path",{d:"M251.74443,416.41995l-159.45702,.05516c-8.01074,.00277-15.18649-4.13684-19.19426-11.07295-2.00413-3.46855-3.00642-7.27337-3.00774-11.07904-.00132-3.80518,.99882-7.61119,3.00007-11.08063l79.67786-145.04905c4.00346-6.93937,11.17634-11.08346,19.18708-11.08623s15.18649,4.13635,19.19475,11.07295l79.78843,145.01196c1.99876,3.45927,2.99861,7.25971,2.99894,11.06293-.00015,3.80322-.99981,7.60874-3.00154,11.07868-4.00297,6.93889-11.17585,11.08346-19.1866,11.08623h.00002Zm-179.65463-22.09948c-.00026,3.46387,17.5953-4.00023,19.41817-.8451,3.64623,6.31026-6.50934,21.00225,.77874,20.99973,0,0,173.27016-3.828,176.91202-10.14078,1.82069-3.15639,2.73062-6.61911,2.72942-10.08102s-.91353-6.92351-2.73688-10.07864l-79.78845-145.01196c-3.63597-6.2922-10.16364-10.05801-17.45172-10.05549-7.28467,.00252-99.86105,161.74891-99.86132,165.21326h.00002Z",fill:"#3f3d56"}),(0,i.jsx)("path",{d:"M253.51521,414.41934c-1.99862,4.00069,91.61376,2.7712,92.72051,2.77082,0,0,26.3119-.58131,26.86492-1.53993,.27648-.47931,.41466-1.00515,.41448-1.53084s-.13873-1.05137-.4156-1.5305l-12.11626-22.02074c-.55215-.9555-1.54341-1.52736-2.65013-1.52698-.04608,.00002-.11394,.04093-.20168,.11933-16.16328,14.44385-36.0828,23.99237-57.75707,24.31469-23.047,.34272-46.73217,.6899-46.85919,.94416h.00002Z",fill:"#3f3d56"}),(0,i.jsx)("path",{d:"M0,417.0814c.00023,.66003,.53044,1.18982,1.19047,1.18959l522.28995-.18066c.65997-.00023,1.18982-.53038,1.18959-1.19041-.00023-.65997-.53044-1.18982-1.19041-1.18959l-522.28995,.18066c-.66003,.00023-1.18988,.53044-1.18965,1.19041Z",fill:"#ccc"}),(0,i.jsxs)("g",{children:[(0,i.jsx)("polygon",{points:"403.87773 411.30541 394.83299 411.30765 390.51828 376.42194 403.86746 376.41823 403.87773 411.30541",fill:"#a0616a"}),(0,i.jsx)("path",{d:"M372.88925,411.11096h0c-.28145,.4744-.42951,2.00528-.42932,2.55685h0c.00059,1.6954,1.37542,3.06935,3.07089,3.06876l28.01047-.00969c1.15659-.0004,2.09391-.93832,2.09351-2.09496l-.0004-1.16617s1.38444-3.50542-1.46987-7.82444c0,0-3.54448,3.38386-8.84444-1.91244l-1.56336-2.82981-11.30656,8.27506-6.26838,.77377c-1.3714,.16927-2.58738-.02532-3.29241,1.16307h-.00012Z",fill:"#2f2e41"})]}),(0,i.jsxs)("g",{children:[(0,i.jsx)("polygon",{points:"369.19708 381.46752 360.62951 384.36642 345.36911 352.70019 358.01396 348.42131 369.19708 381.46752",fill:"#a0616a"}),(0,i.jsx)("path",{d:"M339.77867,391.20807h0c-.11468,.53956,.23535,2.03724,.41217,2.5597h0c.54355,1.60589,2.28601,2.46714,3.89196,1.92358l26.53193-8.98019c1.09554-.3708,1.68312-1.55951,1.31228-2.65512l-.37389-1.10461s.18882-3.76416-3.8984-6.94155c0,0-2.27401,4.34084-8.99107,1.02096l-2.38732-2.18005-8.0607,11.46034-5.69037,2.74062c-1.24494,.59958-2.45919,.80471-2.74651,2.15628l-.00009,.00003Z",fill:"#2f2e41"})]}),(0,i.jsx)("polygon",{points:"355.22599 179.09003 337.68255 237.19081 316.97199 289.45207 349.76053 364.08569 361.91802 358.67731 347.37062 290.11706 377.87822 243.59436 392.11437 388.82623 404.27349 388.14652 420.76309 212.84336 423.11421 174.67566 355.22599 179.09003",fill:"#2f2e41"}),(0,i.jsx)("path",{d:"M408.20979,50.38513l-25.66813,4.73752-2.02258,11.48454-15.53439,7.43609-8.07702,84.4428s-13.50433,17.56819-2.69414,22.96862l68.9007-6.77904s3.37327-12.4903-.00473-13.67529-3.38832-31.01955-3.38832-31.01955l15.51573-61.36599-22.97048-8.09829-4.05664-10.13141Z",fill:"#e6e6e6"}),(0,i.jsx)("circle",{cx:"393.06995",cy:"29.43589",r:"20.7276",fill:"#a0616a"}),(0,i.jsx)("path",{d:"M406.79605,32.51227c-1.65401,.9055-.08471,5.22869-1.11848,5.60245-1.19492,.43202-5.55162-4.52715-5.60554-10.08176-.01633-1.68115,.37051-2.48839-.00155-4.48164-.48668-2.6073-1.98045-5.68253-3.36317-5.60089-.81965,.04839-1.62013,1.20723-1.67986,2.2414-.0837,1.44941,1.32419,2.01989,1.12139,2.80064-.38627,1.4871-6.29829,2.5138-8.40308,.00291-1.65013-1.9685-.38463-5.4247-1.12236-5.60167-.54378-.13045-1.12759,1.77241-3.35988,3.9226-.84103,.8101-2.09186,2.0149-2.80044,1.68159-1.02397-.48167-.28003-3.87624-.56157-3.92125-.23314-.03727-.37947,2.3487-1.67908,4.48223-1.66968,2.74103-5.11398,4.85374-6.72112,3.92377-.98466-.56978-1.06245-2.15606-1.12158-3.36084-.1245-2.53816-3.81308-8.37644-2.85882-11.09166,
11.94221-5.5263,5.2701-1.63078,6.7752-3.47504,2.03756-2.49669,3.86572-1.15434,7.28133-3.92396,3.33668-2.70564,3.36577-5.42504,5.60011-5.604,2.01221-.16116,2.7278,1.98528,5.04242,1.67887,1.96079-.25957,2.38749-1.92436,3.92087-1.68198,1.40389,.2219,1.49646,1.68849,3.36201,2.23966,1.19101,.35188,1.45267-.15743,2.80103-.00097,2.80559,.32556,4.69002,2.88083,5.043,3.35949,1.36081,1.84526,.83282,2.62341,2.24236,4.48086,1.21555,1.6018,3.90913,.9216,4.92189,1.72162,3.30928,2.61409,4.73124,7.43497,4.75994,12.92962,.0201,3.8431-.48103,5.78482-1.59913,10.63564-.84901,3.6834-4.78175,8.44334-6.94987,10.5659-.58199,.56975-2.21351,2.167-3.36066,1.68178-1.08704-.45979-1.11995-2.52764-1.12139-2.80064-.0049-.93901,.24521-2.1009,2.23907-5.04263,2.09442-3.09006,2.92645-3.44271,2.79948-4.48262-.22445-1.83818-3.16424-3.52123-4.48263-2.79948h.00012Z",fill:"#2f2e41"}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M334.49457,225.75979c-.64513,5.40264,1.61895,10.11513,5.05699,10.52567s6.7481-3.63632,7.39324-9.03898c.28242-2.36492,.00723-4.59754-.6797-6.39504l2.44642-22.92684-10.7834-.91891-1.26717,22.69891c-1.09088,1.58522-1.88401,3.69026-2.16639,6.05519h.00003Z",fill:"#a0616a"}),(0,i.jsx)("path",{d:"M365.49095,73.49769s-5.58664,.07946-9.28568,7.30383c-1.96565,3.83897-12.48211,75.62767-12.48211,75.62767l-9.68742,58.80847,16.50214,.08313,12.859-55.69302,10.81723-32.30088-8.72315-53.82921Z",fill:"#e6e6e6"})]}),(0,i.jsx)("path",{d:"M411.92961,217.13028c-1.58023,5.20651-.17535,10.24237,3.13786,11.24797s7.28015-2.39987,8.86035-7.60638c.69172-2.27906,.81133-4.5254,.44941-6.41533l6.4191-22.14543-10.45641-2.79098-5.21815,22.12729c-1.35133,1.36996-2.50044,3.30383-3.19216,5.58289v-.00003Z",fill:"#a0616a"}),(0,i.jsx)("path",{d:"M423.41564,69.63219s8.10413-6.08248,14.86262,3.37246c6.75846,9.45495,9.48742,87.1388,9.48742,87.1388l-18.89796,47.96845-14.18755-4.72373,13.49008-58.7749-23.65861-44.57614,18.90403-30.40494h-.00003Z",fill:"#e6e6e6"}),(0,i.jsxs)("g",{children:[(0,i.jsx)("circle",{cx:"218.47958",cy:"311.43145",r:"73",fill:"#0073FF"}),(0,i.jsxs)("g",{children:[(0,i.jsx)("circle",{cx:"218.49274",cy:"349.47878",r:"6.70264",f
1ill:"#fff"}),(0,i.jsx)("path",{d:"M218.4641,266.68145c-.6157,4.0912,.48747,4.94727,.49357,22.58508,.0061,17.63782,3.66579,41.28574-.47148,41.28717s-5.65047-48.80276-20.01681-53.12218c-16.89088-5.07846,21.98785-23.99409,19.99471-10.75007Z",fill:"#fff"})]})]}),(0,i.jsx)("path",{d:"M120.50313,348.70219l-6.59532,13.93527c7.97328-5.71745,20.42715-10.64598,30.3376-13.28567-9.23403-4.46037-20.53313-11.65189-27.2835-18.77194l3.7934,14.72434c-44.47393-9.0585-76.41138-43.17661-76.4249-82.25924l-1.60648-.5527c.01412,40.82281,31.50971,76.96121,77.7792,86.20995Z",fill:"#3f3d56"})]})},21491:function(e,r,l){"use strict";l.r(r),l.d(r,{default:function(){return A}});var i=l(85893),n=l(97564),s=l(95117),t=l(28855),a=l(71232),o=l(19236),d=l(17789),c=l(21017),h=l(80061),u=l(67841),x=l(43523),g=l(20966),j=l(95078),p=l(49834),f=l(88393),m=l(37065),v=l(39759),b=l(67294),w=l(34951),y=l(99386),C=l(58959),z=l(79153),Z=l(1177),k=l(50263),S=l(88198),M=l(85158),P=l(99899),_=(0,l(30853).Z)("arrows-shuffle","IconArrowsShuffle",[["path",{d:"M18 4l3 3l-3 3",key:"svg-0"}],["path",{d:"M18 20l3 -3l-3 -3",key:"svg-1"}],["path",{d:"M3 7h3a5 5 0 0 1 5 5a5 5 0 0 0 5 5h5",key:"svg-2"}],["path",{d:"M21 7h-5a4.978 4.978 0 0 0 -3 1m-4 8a4.984 4.984 0 0 1 -3 1h-3",key:"svg-3"}]]),T=l(95727),O=l(46670),N=l(25963),R=l(74922);let E=(0,y.T)({admin:!0},()=>{let[e,r]=(0,b.useState)(1),[l,y]=(0,b.useState)(20),[E,A]=(0,b.useState)(""),[D,I]=(0,b.useState)("all"),[B,F]=(0,b.useState)(""),[K]=(0,v.c)(E,300),{data:J,isLoading:L,refetch:U}=C.h.studentOrganizationAdmin.getAllPaginated.useQuery({page:e,pageSize:l,search:K,filter:D}),$=C.h.studentOrganizationAdmin.updateDictionary.useMutation({onSuccess:()=>{U(),R.N9.show({title:"Success",message:"Organization updated successfully",color:"green"})},onError:e=>{R.N9.show({title:"Error",message:e.message,color:"red"})}}),V=C.h.studentOrganizationAdmin.create.useMutation({onSuccess:()=>{U(),F(""),R.N9.show({title:"Success",message:"Organization created successfully",color:"green"})},onError:e=>{R.N9.show({title:"Error",message:e.message,color:"red"})}}),W=C.h.studentOrganizationAdmin.merge.useMutation({onSuccess:e=>{U(),R.N9.show({title:"Success",message:"Organizations merged successfully into ".concat(e.mergedInto),color:"green"})},onError:e=>{R.N9.show({title:"Error",message:e.message,color:"red"})}}),handleToggleDisabled=(e,r)=>{$.mutate({id:e,disabled:r})},handleToggleReviewed=(e,r)=>{$.mutate({id:e,reviewed:r})},handleSetParent=(e,r)=>{$.mutate({id:e,parentId:r})},handleRemoveFromParent=e=>{N.qk.openConfirmModal({title:"Remove from parent",children:"Are you sure you want to remove this organization from its parent?",labels:{confirm:"Remove",cancel:"Cancel"},confirmProps:{color:"red"},onConfirm:()=>handleSetParent(e,null)})},handleCreate=()=>{""!==B.trim()&&V.mutate({name:B})},handleMerge=e=>{N.qk.open({title:'Merge "'.concat(e.name,'"'),children:(0,i.jsxs)(n.K,{children:[(0,i.jsxs)(s.x,{size:"sm",children:['Select the organization to merge "',e.name,'" into. All data associated with "',e.name,'" will be transferred to the target organization.']}),(0,i.jsx)(t.Ph,{label:"Target Organization",placeholder:"Select target organization",data:(null==J?void 0:J.items.filter(r=>r.id!==e.id).map(e=>({value:e.id,label:e.name})))||[],searchable:!0,onKeyDown:e=>e.stopPropagation(),onChange:r=>{r&&(N.qk.closeAll(),N.qk.openConfirmModal({title:"Confirm Merge",children:(0,i.jsxs)(s.x,{size:"sm",children:['Are you sure you want to merge "',e.name,'" into the selected organization? This action cannot be undone.']}),labels:{confirm:"Merge",cancel:"Cancel"},confirmProps:{color:"red"},onConfirm:()=>{W.mutate({sourceId:e.id,targetId:r})}}))}})]})})},isTalentPartnersData=e=>!!e&&"object"==typeof e&&!!(e.items&&Array.isArray(e.items)&&e.items.length>0&&"parent"in e.items[0]),q={enabled:0,disabled:0,toReview:0};return J&&isTalentPartnersData(J)&&(q.enabled=J.items.filter(e=>!e.disabled&&e.reviewed).length,q.disabled=J.items.filter(e=>e.disabled&&e.reviewed).length,q.toReview=J.items.filter(e=>!e.reviewed).length),(0,i.jsx)(w.ry,{children:(0,i.jsxs)(n.K,{spacing:"lg",children:[(0,i.jsxs)(a.Z,{position:"apart",children:[(0,i.jsx)(o.D,{order:2,children:"Talent Partners"}),(0,i.jsxs)(d.C,{size:"lg",variant:"outline",children:["Total: ",(null==J?void 0:J.totalCount)||0]})]}),(0,i.jsxs)(a.Z,{children:[(0,i.jsxs)(c.Z,{withBorder:!0,p:"xs",children:[(0,i.jsx)(s.x,{size:"xs",color:"dimmed",children:"Enabled"}),(0,i.jsx)(s.x,{size:"xl",weight:700,color:"green",children:q.enabled})]}),(0,i.jsxs)(c.Z,{withBorder:!0,p:"xs",children:[(0,i.jsx)(s.x,{size:"xs",color:"dimmed",children:"To Review"}),(0,i.jsx)(s.x,{size:"xl",weight:700,color:"orange",children:q.toReview})]}),(0,i.jsxs)(c.Z,{withBorder:!0,p:"xs",children:[(0,i.jsx)(s.x,{size:"xs",color:"dimmed",children:"Disabled"}),(0,i.jsx)(s.x,{size:"xl",weight:700,color:"gray",children:q.disabled})]})]}),(0,i.jsx)(c.Z,{withBorder:!0,children:(0,i.jsxs)(a.Z,{children:[(0,i.jsx)(h.o,{placeholder:"Search organizations...",value:E,onChange:e=>{A(e.target.value),r(1)},icon:(0,i.jsx)(z.Z,{size:16}),style:{flex:1}}),(0,i.jsx)(t.Ph,{value:D,onChange:e=>{I(e),r(1)},data:[{value:"all",label:"All Organizations"},{value:"enabled",label:"Enabled Only"},{value:"review",label:"To Review"},{value:"disabled",label:"Disabled Only"}],style:{width:200}}),(0,i.jsx)(t.Ph,{value:l.toString(),onChange:e=>{y(parseInt(e||"20")),r(1)},data:[{value:"10",label:"10 per page"},{value:"20",label:"20 per page"},{value:"50",label:"50 per page"}],style:{width:120}})]})}),(0,i.jsx)(c.Z,{withBorder:!0,children:(0,i.jsxs)(a.Z,{children:[(0,i.jsx)(h.o,{placeholder:"New organization name...",value:B,onChange:e=>F(e.target.value),onKeyDown:e=>{"Enter"===e.key&&handleCreate()},style:{flex:1}}),(0,i.jsx)(u.z,{leftIcon:(0,i.jsx)(Z.Z,{size:16}),onClick:handleCreate,loading:V.isLoading,disabled:!B.trim(),children:"Create Organization"})]})}),L?(0,i.jsx)(c.Z,{children:(0,i.jsx)(x.M,{py:"xl",children:(0,i.jsx)(g.a,{})})}):J&&J.items.length>0&&isTalentPartnersData(J)?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(c.Z,{p:0,children:(0,i.jsxs)(j.i,{highlightOnHover:!0,children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)(O.s,{children:"Name"}),(0,i.jsx)(O.s,{children:"Parent"}),(0,i.jsx)(O.s,{children:"Children"}),(0,i.jsx)(O.s,{children:"Usage"}),(0,i.jsx)(O.s,{children:"Status"}),(0,i.jsx)(O.s,{children:"Actions"})]})}),(0,i.jsx)("tbody",{children:J.items.map(e=>{var r,l,o;return(0,i.jsxs)("tr",{children:[(0,i.jsx)(T.C,{children:(0,i.jsx)(s.x,{weight:500,children:e.name})}),(0,i.jsx)(T.C,{children:e.parent?(0,i.jsx)(d.C,{variant:"light",children:e.parent.name}):(0,i.jsx)(s.x,{size:"sm",color:"dimmed",children:"No parent"})}),(0,i.jsx)(T.C,{children:(0,i.jsxs)(n.K,{spacing:4,children:[e.children.length>0?e.children.slice(0,3).map(e=>(0,i.jsxs)(a.Z,{spacing:4,noWrap:!0,style:{backgroundColor:"#e8f4ff",padding:"2px 8px",borderRadius:4},children:[(0,i.jsx)(s.x,{size:"sm",style:{flex:1},children:e.name}),(0,i.jsx)(p.A,{size:"xs",onClick:()=>handleRemoveFromParent(e.id),children:(0,i.jsx)(k.Z,{size:14})})]},e.id)):(0,i.jsx)(s.x,{size:"sm",color:"dimmed",children:"No children"}),e.children.length>3&&(0,i.jsxs)(s.x,{size:"xs",color:"dimmed",children:["+",e.children.length-3," more"]})]})}),(0,i.jsx)(T.C,{children:(0,i.jsxs)(n.K,{spacing:2,children:[e._count.jobSeekers>0&&(0,i.jsxs)(s.x,{size:"xs",children:["Job Seekers: ",e._count.jobSeekers]}),e._count.profiles>0&&(0,i.jsxs)(s.x,{size:"xs",children:["Profiles: ",e._count.profiles]}),e._count.boardMembers>0&&(0,i.jsxs)(s.x,{size:"xs",children:["Board Members: ",e._count.boardMembers]}),0===e._count.jobSeekers&&0===e._count.profiles&&0===e._count.boardMembers&&(0,i.jsx)(s.x,{size:"xs",color:"dimmed",children:"No usage"})]})}),(0,i.jsx)(T.C,{children:(0,i.jsxs)(a.Z,{spacing:4,children:[!e.reviewed&&(0,i.jsx)(d.C,{color:"orange",size:"sm",children:"To Review"}),e.disabled&&(0,i.jsx)(d.C,{color:"gray",size:"sm",children:"Disabled"}),e.reviewed&&!e.disabled&&(0,i.jsx)(d.C,{color:"green",size:"sm",children:"Active"})]})}),(0,i.jsx)(T.C,{children:(0,i.jsxs)(a.Z,{spacing:4,noWrap:!0,children:[(0,i.jsx)(f.u,{label:e.reviewed?"Mark as unreviewed":"Mark as reviewed",children:(0,i.jsx)(p.A,{color:e.reviewed?"green":"orange",variant:e.reviewed?"light":"filled",onClick:()=>handleToggleReviewed(e.id,!e.reviewed),loading:$.isLoading&&(null===(r=$.variables)||void 0===r?void 0:r.id)===e.id,children:e.reviewed?(0,i.jsx)(S.Z,{size:16}):(0,i.jsx)(M.Z,{size:16})})}),(0,i.jsx)(f.u,{label:e.disabled?"Enable":"Disable",children:(0,i.jsx)(p.A,{color:e.disabled?"gray":"blue",variant:"light",onClick:()=>handleToggleDisabled(e.id,!e.disabled),loading:$.isLoading&&(null===(l=$.variables)||void 0===l?void 0:l.id)===e.id,children:e.disabled?(0,i.jsx)(P.Z,{size:16}):(0,i.jsx)(M.Z,{size:16})})}),(0,i.jsx)(f.u,{label:"Merge with another organization",children:(0,i.jsx)(p.A,{color:"violet",variant:"light",onClick:()=>handleMerge(e),loading:W.isLoading&&(null===(o=W.variables)||void 0===o?void 0:o.sourceId)===e.id,children:(0,i.jsx)(_,{size:16})})}),(0,i.jsx)(t.Ph,{placeholder:"Set parent",size:"xs",value:e.parentId,onChange:r=>handleSetParent(e.id,r),data:J.items.filter(r=>r.id!==e.id&&!r.parentId).map(e=>({value:e.id,label:e.name})),clearable:!0,disabled:e._count.children>0,style:{width:150}})]})})]},e.id)})})]})}),J.pageCount>1&&(0,i.jsx)(c.Z,{children:(0,i.jsxs)(a.Z,{position:"apart",children:[(0,i.jsxs)(s.x,{size:"sm",color:"dimmed",children:["Showing ",(e-1)*l+1," to"," ",Math.min(e*l,J.totalCount)," of ",J.totalCount," organizations"]}
1),(0,i.jsx)(m.t,{value:e,onChange:r,total:J.pageCount,siblings:1,boundaries:1})]})})]}):(0,i.jsx)(c.Z,{children:(0,i.jsx)(x.M,{py:"xl",children:(0,i.jsxs)(n.K,{align:"center",spacing:"sm",children:[(0,i.jsx)(s.x,{size:"lg",color:"dimmed",children:"No organizations found"}),E&&(0,i.jsx)(u.z,{variant:"subtle",onClick:()=>A(""),children:"Clear search"})]})})})]})})});var A=E},20663:function(e,r,l){"use strict";l.d(r,{N:function(){return transformMeToUserTypes}});var i=l(40743);let transformMeToUserTypes=e=>{let r=[];return null!==e.recruiter&&r.push(i.F.RECRUITER),null!==e.jobSeeker&&r.push(i.F.JOB_SEEKER),null!==e.partnerUser&&r.push(i.F.PARTNER),r}}},function(e){e.O(0,[4871,5675,750,2424,3754,7065,9923,2926,3391,9774,2888,179],function(){return e(e.s=79741)}),_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.