1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2387],{76300:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return j}});var o=n(67294),i=n(41879),r=n(63523),s=n(25246),a=n(37485),c=n(31473),l=n(46902),u=n(59456),d=n(89254),p=n(88767),h=n(33299),m=n(59536),v=n(11163),_=n(85893),j=!0;t.default=e=>{var t,n,j,f,g,C;let{profile:w,project:I,publicProjects:b,userId:N}=e,{0:k,1:x}=(0,o.useState)(!0),{data:P}=(0,h.useSession)(),Z=(0,v.useRouter)(),{data:E}=(0,p.useQuery)(["getProject",I.id],async()=>{let e={};null!=P&&P.accessToken&&(e={Authorization:"Bearer ".concat(null==P?void 0:P.accessToken)});let t=(0,s.ui)({url:i.AX.projects.public.getOne,id:I.creatorId,toBeChanged:":creatorId"});return await r.Wf.get((0,s.ui)({url:t,id:I.id}),{headers:e}).then(e=>e.data)},{enabled:(null===(t=I.points)||void 0===t?void 0:t.length)>0,initialData:I});return(0,_.jsxs)(c.Z,{transparentNav:"basicNav",children:[(0,_.jsx)(a.Z,{title:I.name,description:"by ".concat(w.name).concat(null!==(n=I.uiChallenge)&&void 0!==n&&n.shortDescription?" - ".concat(null===(j=I.uiChallenge)||void 0===j?void 0:j.shortDescription):I.description?" - ".concat(I.description):""),heroImage:null==I||null===(f=I.mainImage)||void 0===f?void 0:f.url,url:Z.asPath.replace(/^\/+/,"")}),E&&(0,_.jsx)(l.Z,{profile:w,projects:[I],publicProjects:b,userId:N,feedbackImageComponent:E&&(null===(g=E.points)||void 0===g?void 0:g.length)>0?(0,_.jsx)(u.Z,{projectData:[E],showComments:k}):null,showComments:(null===(C=I.points)||void 0===C?void 0:C.length)>0?(0,_.jsx)(d.Z,{showComments:k,setShowComments:x}):null,asideComponent:(0,_.jsx)(m.Z,{comments:E.usersComments,projectId:I.id,creatorId:I.creatorId})})]})}},58192:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/profile/[id]/[projectId]",function(){return n(76300)}])}},function(e){e.O(0,[9332,1193,2758,526,2503,3225,2888,9774,179],function(){return e(e.s=58192)}),_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.