PageSourceSearch

https://metabuilding.com/static/js/8363.536cb606.chunk.js

js metabuilding.com collected 2026-10-03 19:38:47 UTC 56,971 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkclusterly_ng_frontend=self.webpackChunkclusterly_ng_frontend||[]).push([[8363],{8016:(e,s,a)=>{a.d(s,{AU:()=>K,Dv:()=>j,Eb:()=>k,Gw:()=>U,HD:()=>W,Jp:()=>O,Jy:()=>w,Ke:()=>p,Kt:()=>t,LB:()=>u,LQ:()=>T,Ns:()=>x,Nz:()=>Z,O1:()=>B,OD:()=>I,R3:()=>E,RE:()=>D,S8:()=>C,SD:()=>_,Sm:()=>v,Vk:()=>S,WA:()=>y,Xd:()=>P,Z7:()=>L,Zi:()=>r,_$:()=>V,gj:()=>z,gx:()=>G,iH:()=>b,l0:()=>c,mr:()=>o,nR:()=>N,nV:()=>m,oJ:()=>f,qZ:()=>l,qp:()=>g,sp:()=>i,vM:()=>F,vk:()=>A,wt:()=>n,xi:()=>d,zU:()=>M,zm:()=>h});const t={title:"",contactEmail:"",contactName:"",website:"",logoLink:"",description:"",refs:"",developmentStage:"",serviceType:"",isoCertificatesTagCategories:[],dynamicMap:""},i={title:"",startDate:null,endDate:null,workField:"",relatedCapabilities:"",associateInnovations:"",associatedOrganisation:"",fundSource:"",website:"",contactName:"",contactEmail:"",description:"",dynamicMap:""},n={title:"",contactEmail:"",contactName:"",website:"",logoLink:"",description:"",features:"",refs:"",developmentStage:"",innovationDevelopmentStatus:1,innovationTypeTagCategories:null,dppLink:"",qrLink:"",dynamicMap:""},l={title:"",description:"",opportunityType:"",expiryDate:null,associate:"",organisationRole:"",contactName:"",contactEmail:"",linkedClusters:[],relatedLink:"",dynamicMap:""},o={subject:"",content:"",relatedLink:"",postType:"",entityName:"",entityType:"",linkedClusters:[],videoLink:"",linkedinStatus:!1},r={img1:"",img1_height:"",img2:"",img2_height:"",img3:"",img3_height:"",img4:"",img4_height:"",img5:"",img5_ratio:"",img6:"",img6_height:""},d={username:"",password:"",confirmPassword:"",firstName:"",lastName:"",responseCaptcha:"",privacyPolicy:!1},c={name:"",country:"",orgType:"",contactEmail:"",website:""},m={username:"",password:"",responseCaptcha:""},u={name:"",country:"",contactEmail:"",website:"",orgType:"",region:"",city:"",orgInfo:"",orgStatus:"",picNumber:"",noOfEmployees:"",cordisLink:"",orgDescription:"",vision:"",expertise:"",logoLink:"",dynamicMap:"",buildingAssetProvider:!1,membersVisible:!0,oitbMember:!1},p={img1:"",img1_height:""},v={supportCategory:"",supportMessage:"",contactAcceptStatus:!0},g={sector:"Sector",bannerText:"",bannerSubText:"",colorCode:"",logoLink:"",description:"",videoLink:""},h={subject:"",content:"",relatedLink:"",newsType:"",videoLink:"",promoteEcosystemStatus:"1",bannerURL:"",entityType:"",promoteOrganisationStatus:!1},x={subject:"",content:"",relatedLink:"",videoLink:"",bannerURL:"",entityType:""},j={title:"",fundSource:"",description:null,website:"",numberOfProjectToBeFunded:"",budget:"",logoLink:"",callType:"",callStatus:"",deadline:null},f={link:"",description:""},b={username:"",firstName:"",lastName:"",role:"",selectedLanguage:"",profession:"",expertise:"",innovationExpertise:"",projects:"",orcidLink:"",googleScholarLink:"",keyArticles:"",avatarLink:""},N={username:"",firstname:"",lastname:"",role:""},y={name:"",subdomain:"",fulldomain:"",email:"",emailFrom:"",sector:"",bannerText:"",countryClusterStatus:"",status:"",logoLink:"",tagCopyEcosystemId:0,iconLink:"",aboutPageLink:"",newsLogoLink:""},w={logo:"",logo_height:""},k={logo:"",logo_height:""},C={documentName:"",documentURL:"",fileName:"",uploadURL:"",description:"",imgRatio:""},S={name:"",categoryType:"",categoryName:"",status:"",id:"",children:""},D={fieldLength:"",optionLabel1:"",optionValue1:"",optionLabel2:"",optionValue2:"",multiChoiceValueArray:[]},T={name:"",fieldName:"",status:0,ecosystemId:"",categoryId:"",type:0,dynamicEntityFieldValue:{}},L={name:"",status:"",tagCategories:[],ecosystemId:""},M={name:"",type:"",totalOrganisation:"",totalCluster:"",totalWorkingGroup:"",totalNews:"",totalPost:"",totalUser:"",status:""},I={licenceTypeId:"",licenceType:"",expirationTime:"",ecosystemId:"",clusterId:"",status:""},E={logStart:null,logEnd:null,logType:null,usidOpr:null,usid:null,ecid:null,clid:null,wgid:null,orid:null,pageNo:"",pageSize:""},A={apiKeyType:"",ecosystemId:""},F={name:"",contactEmail:"",website:"",bannerURL:"",bannerText:"",bannerSubText:"",clusterType:"",description:"",offerDescription:"",country:"",selectedLanguage:"",logoLink:"",colorCode:"",region:"",workingGroupStatus:"2",opportunityStatus:"2",innovationStatus:"2",serviceStatus:"2",projectStatus:"2",connectionStatus:"2",resourceStatus:"2",collaborationTypes:"1,1,1,1",videoLink:""},Z={name:"",cluster:"",contactEmail:"",website:"",shortLink:"",linkId:"",workingGroupType:"1",description:null,bannerURL:"",bannerText:"",bannerSubText:"",colorCode:"",logoLink:"",selectedLanguage:"",joinNotes:"",relatedCallIds:[],users:[],resourceStatus:"2",calendarStatus:"2",taskStatus:"2"},O={name:"",company:"",position:"",email:"",organisationType:"",sector:"",sectorOtherInfo:"",currentStatusOfDevelopment:"",developmentSectors:"",developmentSectorOtherInfo:"",developmentDescription:"",areas:"",areaInfo:"",reasons:"",reasonInfo:""},B={name:"",company:"",email:"",message:"",mailAgreement:!1},P={content:"",emailStatus:"n"},_={title:"",start:"",end:"",description:"",color:"",backgroundColor:"",priority:"",progress:""},G={subject:"",content:"",calendarStatus:!1,startDate:null,dueDate:null,priority:null,progress:null},K={name:"",country:"",region:"",address:"",hostingFacility:"",facilityProvi
1deServices:"",contactName:"",description:"",processInformation:"",typeOfProduct:null,testingConditions:null,harmonisedStandards:"",featureAndBenefits:"",techInformation:"",serviceWebPage:"",relatedLink:"",accessible:!0},U={serviceName:"",description:"",featureAndBenefits:"",priceOfTestService:"",testedCharacteristics:"",processInformation:"",relatedStandards:"",accreditation:"",testDuration:"",references:"",accessible:!0},V={name:"",company:"",email:"",country:"",requestText:"",requestType:""},z={accessible:!0,name:"",briefInformation:"",buildingOwner:"2",buildingOwnerName:"",typeOfOwnership:"",buildingType:"",constructionYear:"",contactEmail:"",country:"",region:"",address:"",latLon:"",latLng:"",climateInformation:"",hostedAnyPilotingActivities:"",numberOfStoreys:"",totalFloorArea:"",envelopeMaterialComposition:"",sanitaryAndElectricalSystems:"",renovations:"",videoLink:"",otherLink:""},W={brandName:"",name:"",productLineDescriptions:[],year:""}},8314:(e,s,a)=>{a.d(s,{HU:()=>c,IQ:()=>p,S1:()=>u,YU:()=>v,jf:()=>m,mZ:()=>o,pT:()=>d,xC:()=>r});var t=a(1387),i=a(2599),n=a(5590),l=a(6417);function o(e){var s=document.createElement("a");s.target="_blank",s.href=e.documentURL,s.setAttribute("download",e.documentName),s.click()}const r=e=>{switch(e){case"Aluminum, Steel & Iron":return"/assets/img/sidebaricon/1.png";case"Batteries":return"/assets/img/sidebaricon/2.png";case"Chemicals":return"/assets/img/sidebaricon/3.png";case"Construction":return"/assets/img/sidebaricon/4.png";case"Detergents":return"/assets/img/sidebaricon/5.png";case"Digital Industry":case"Digital industry":return"/assets/img/sidebaricon/6.png";case"Electrical and electronic equipment":return"/assets/img/sidebaricon/7.png";case"Footwear":return"/assets/img/sidebaricon/8.png";case"Furniture":return"/assets/img/sidebaricon/9.png";case"Manufacturing":return"/assets/img/sidebaricon/10.png";case"Paints & lubricants":return"/assets/img/sidebaricon/11.png";case"Personal care products":return"/assets/img/sidebaricon/12.png";case"Plastics & Composites":return"/assets/img/sidebaricon/13.png";case"Safety/Security/Surveillance":return"/assets/img/sidebaricon/14.png";case"Textiles":return"/assets/img/sidebaricon/17.png";case"Toys":return"/assets/img/sidebaricon/15.png";case"Tyres":return"/assets/img/sidebaricon/16.png";case"Packaging":return"/assets/img/sidebaricon/18.png"}},d=["bold","color","font","italic","link","size","strike","underline","header","indent","list","align","direction"],c=()=>(0,l.jsx)(t.Ix,{autoClose:3e3,position:t.Am.POSITION.TOP_CENTER,hideProgressBar:!0,newestOnTop:!1,closeOnClick:!0,rtl:!1,theme:"colored",pauseOnFocusLoss:!0,draggable:!1,pauseOnHover:!0}),m=e=>{if(void 0!==e&&null!==e){const s=new Date(e);return(0,i.WU)(s,"dd/MM/yyyy")}},u=e=>{if(void 0!==e&&null!==e){const s=new Date(e);return(0,i.WU)(s,"dd/MM/yyyy HH:mm")}},p=(e,s,a)=>{const i=document.createElement("div");i.innerHTML=e;const o=i.textContent||i.innerText||"";if(o.length>s){switch(a){case"offerDesc":t.Am.warning((0,l.jsx)(n.cC,{i18nKey:"warnMandatoryOfferDesc"}));break;case"desc":t.Am.warning((0,l.jsx)(n.cC,{i18nKey:"warnMandatoryDesc"}));break;case"orgPostContent":t.Am.warning((0,l.jsx)(n.cC,{i18nKey:"warnMandatoryPostDesc"}));break;case"clusterCallDesc":t.Am.warning((0,l.jsx)(n.cC,{i18nKey:"warnMandatoryCallDesc"}));break;case"ecosystemDesc":t.Am.warning((0,l.jsx)(n.cC,{i18nKey:"warnMandatoryEcosystemDesc"}));break;case"clusterNewsContent":case"ecosystemNewsContent":t.Am.warning((0,l.jsx)(n.cC,{i18nKey:"warnMandatoryNewsDesc"}));break;case"orgDesc":t.Am.warning((0,l.jsx)(n.cC,{i18nKey:"warnMandatoryOrganisationAboutDesc"}));break;case"orgVision":t.Am.warning((0,l.jsx)(n.cC,{i18nKey:"warnMandatoryOrgVision"}));break;case"orgExpertise":t.Am.warning((0,l.jsx)(n.cC,{i18nKey:"warnMandatoryOrgExpertise"}));break;case"postContent":t.Am.warning((0,l.jsx)(n.cC,{i18nKey:"warnMandatoryContentSize"}));break;case"WorkingGroupDesc":t.Am.warning((0,l.jsx)(n.cC,{i18nKey:"warnMandatoryDescv1000"}))}return null}return o},v=(e,s)=>{if(-1!=e.findIndex((e=>"Other"==e[s]))){const a=e[e.findIndex((e=>"Other"==e[s]))];e.splice(e.findIndex((e=>"Other"==e[s])),1),e.push(a)}return e}},8363:(e,s,a)=>{a.r(s),a.d(s,{default:()=>J});var t=a(7313),i=a(3229),n=a(5590),l=a(3499),o=a(2371),r=a(8314),d=a(2395),c=a(390),m=a(9831),u=a(7220),p=a(5668),v=a(7031),g=a(9094),h=a(6185),x=a(7114),j=a.n(x),f=a(8352),b=a(7691),N=a(1387),y=a(1812),w=a(8678),k=a(6814),C=a(4755),S=a(8649),D=a(5539),T=a(3140),L=a(3152),M=a(6417);const I=(0,n.Zh)()((e=>{let{t:s,data:a,setData:t,selectedMembers:i,setSelectedMembers:n,filtredMembers:l,searchMember:o,taskActionType:r}=e;return(0,M.jsxs)(d.RL,{children:[(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(u.o,{id:"subject",value:null===a||void 0===a?void 0:a.subject,className:"w-full p-in
1puttext-sm",onChange:e=>t({...a,subject:e.target.value})}),(0,M.jsxs)("label",{htmlFor:"subject",children:[s("subject")," (*)"]})]}),(0,M.jsxs)("div",{className:"input-wrapper",children:[(0,M.jsx)("div",{className:"input-item",children:(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(C.L,{value:null===a||void 0===a?void 0:a.priority,options:L.jY,onChange:e=>t({...a,priority:e.value}),optionLabel:"name",optionValue:"code",className:"p-inputtext-sm w-full",id:"priority"}),(0,M.jsx)("label",{htmlFor:"priority",children:s("priority")})]})}),(0,M.jsx)("div",{className:"input-item",children:(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(C.L,{value:null===a||void 0===a?void 0:a.progress,options:L.lZ,onChange:e=>t({...a,progress:e.value}),optionLabel:"name",optionValue:"code",className:"p-inputtext-sm w-full",id:"progress"}),(0,M.jsx)("label",{htmlFor:"progress",children:s("progress")})]})})]}),(0,M.jsxs)("div",{className:"input-wrapper",children:[(0,M.jsx)("div",{className:"input-item",children:(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(T.f,{value:null!==a&&void 0!==a&&a.startDate?new Date(null===a||void 0===a?void 0:a.startDate):null,onChange:e=>t({...a,startDate:e.value}),dateFormat:"dd/mm/yy",className:"p-inputtext-sm w-full",showIcon:!0,id:"startDate",maxDate:null!==a&&void 0!==a&&a.dueDate?new Date(null===a||void 0===a?void 0:a.dueDate):null,showButtonBar:!0,appendTo:"self",readOnlyInput:!0}),(0,M.jsxs)("label",{htmlFor:"startDate",children:[s("startDate")," (*)"]})]})}),(0,M.jsx)("div",{className:"input-item",children:(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(T.f,{value:null!==a&&void 0!==a&&a.dueDate?new Date(null===a||void 0===a?void 0:a.dueDate):null,onChange:e=>t({...a,dueDate:e.value}),dateFormat:"dd/mm/yy",className:"p-inputtext-sm w-full",showIcon:!0,id:"dueDate",minDate:null!==a&&void 0!==a&&a.startDate?new Date(null===a||void 0===a?void 0:a.startDate):null,appendTo:"self",readOnlyInput:!0}),(0,M.jsxs)("label",{htmlFor:"dueDate",children:[s("dueDate")," (*)"]})]})})]}),(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(S.Q,{value:i,suggestions:l,completeMethod:o,itemTemplate:e=>(0,M.jsxs)(M.Fragment,{children:[e.firstName," ",e.lastName]}),field:"firstName",multiple:!0,onChange:e=>n(e.value),id:"assignMembers"}),(0,M.jsxs)("label",{className:"platformColor",htmlFor:"assignMembers",children:[s("assignMembers")," (*)"]})]}),(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(g.g,{value:null===a||void 0===a?void 0:a.content,onChange:e=>t({...a,content:e.target.value}),rows:5,cols:30,className:"w-full",id:"notes"}),(0,M.jsxs)("label",{className:"platformColor",htmlFor:"notes",children:[s("notes")," (*)"]})]}),"add"===r&&(0,M.jsxs)("div",{className:"flex align-items-center gap-3",children:[(0,M.jsx)(D.Q,{checked:null===a||void 0===a?void 0:a.calendarStatus,onChange:e=>{t({...a,calendarStatus:e.value})},trueValue:!0,falseValue:!1}),(0,M.jsx)("span",{children:s("addTaskOnCalendar")})]})]})}));var E=a(8016),A=a(9513);const F="https://online.clusterly.net/ws-discussion",Z=(0,n.Zh)()((e=>{let{t:s,workingGroupId:a,members:i,loading:o,setLoading:x}=e;const{device:C}=(0,h.a)({breakpoints:{desktop:1200,tablet:576,mobile:0},debounceDelay:0}),[S,D]=(0,t.useState)([]),[T,L]=(0,t.useState)([]),[A,Z]=(0,t.useState)(""),[O,B]=(0,t.useState)([]),[P,_]=(0,t.useState)([]),[G,K]=(0,t.useState)(""),[U,V]=(0,t.useState)(""),[z,W]=(0,t.useState)(null),[H,R]=(0,t.useState)("0"),[Q,q]=(0,t.useState)(!1),[Y,J]=(0,t.useState)(""),[X,$]=(0,t.useState)(!1),[ee,se]=(0,t.useState)(!1),[ae,te]=(0,t.useState)(!1),[ie,ne]=(0,t.useState)(!1),[le,oe]=(0,t.useState)(!1),[re,de]=(0,t.useState)(!1),[ce,me]=(0,t.useState)(E.gx),[ue,pe]=(0,t.useState)(""),ve=()=>{x(!0),f.Z.getAllTasks(a).then((e=>{x(!1),D(null===e||void 0===e?void 0:e.data)}),(e=>{const a=e.response&&e.response.data&&e.response.data.message||e.message||e.timeoutErrorMessage||e.toString();x(!1),j().fire({title:s(a),icon:"error",timer:2e3,showConfirmButton:!1})}))},ge=e=>{"Enter"===e.key&&(e.preventDefault(),be())},he=e=>{q(!0),V(e)};let xe="";const je=e=>{R("1"),clearTimeout(xe),xe=setTimeout((()=>{R("0")}),900),L((s=>[...s,e]))};(0,t.useEffect)((()=>{ve()}),[a]),(0,t.useEffect)((()=>{Z(S[0])}),[S]),(0,t.useEffect)((()=>{null!==A&&void 0!==A&&""!==A&&(x(!0),b.Z.getTaskDiscussions(null===A||void 0===A?void 0:A.id).then((e=>{L(e.data),x(!1)}),(e=>{const a=e.response&&e.response.data&&e.response.data.message||e.message||e.timeoutErrorMessage||e.toString();x(!1),j().fire({title:s(a),icon:"error",timer:2e3,showConfirmButton:!1})}))),z&&(L((e=>[...e,z])),W(null))}),[null===A||void 0===A?void 0:A.id,H,z]);const fe=()=>{},be=()=>(x(!0),""===G.trim()?(x(!1),void N.Am.warning((0,M.jsx)(n.cC,{i18nKey:"warnProfile1"}))):G.length>500?(x(!1),void N.Am.warning((0,M.jsx)(n.cC,{i18nKey:"contentDesc"}))):void(void 0===A&&null===A||b.Z.addTaskDiscussionMessage(a,null===A||void 0===A?void 0:A.id,G).then((e=>{K(""),W(e.data),x(!1)}),(e=>{const a=e.response&&e.response.data&&e.response.data.message||e.message||e.timeoutErrorMessage||e.toString();x(!1),j().fire({title:s(a),icon:"error",timer:2e3,showConfirmButton:!1})})))),Ne=e=>(0,M.jsx)("div",{className:"flex justify-content-center align-items-center",children:(0,M.jsx)(v.Z,{placement:"top",delay:{show:250,hide:0},overlay:s=>(0,M.jsxs)(p.Z,{id:e.id,...s,children:[e.firstName," ",e.lastName]}),children:(0,M.jsx)("img",{src:e.avatarLink,alt:"",style:{borderRadius:"50%",height:"43px",width:"43px",objectFit:"contain"},className:"userImg"})})}),ye=e=>{switch(e){case 0:return{visibility:"hidden"};case 1:return{backgroundColor:"#B0EF7F"};case 2:return{backgroundColor:"#7FCAEF"};case 3:return{backgroundColor:"#EFEDEB"};default:return{backgroundColor:"#999"}}},we=e=>{switch(e){case 1:return(0,M.jsx)("span",{style:{color:"green"},children:(0,M.jsx)(n.cC,{i18nKey:"priority1"})});case 2:return(0,M.jsx)("span",{style:{color:"orange"},children:(0,M.jsx)(n.cC,{i18nKey:"priority2"})});case 3:return(0,M.jsx)("span",{style:{color:"red"},children:(0,M.jsx)(n.cC,{i18nKey:"priority3"})});default:return null}},ke=e=>{switch(e){case 0:return(0,M.jsx)("div",{});case 1:return(0,M.jsx)(n.cC,{i18nKey:"progress1"});case 2:return(0,M.jsx)(n.cC,{i18nKey:"progress2"});case 3:return(0,M.jsx)(n.cC,{i18nKey:"progress3"})}},Ce=e=>{switch(e){case"detail":$(!0),se(!1),te(!1);break;case"message":se(!0),$(!1),te(!1);break;case"mail":te(!0),$(!1),se(!1)}},Se=e=>(0,M.jsx)("span",{style:{color:"#116182",fontWeight:"bold",fontSize:"16px"},children:s(e)}),De=()=>{ne(!1),Z(S[0]),pe(""),me(E.gx),B([])},Te=()=>{if(x(!0),"add"===ue){if(""===ce.subject.trim()||""===ce.content.trim()||null===(null===ce||void 0===ce?void 0:ce.startDate)||null===(null===ce||void 0===ce?void 0:ce.dueDate)||0===(null===O||void 0===O?void 0:O.length))return x(!1),void N.Am.warning((0,M.jsx)(n.cC,{i18nKey:"warn
1Mandatory"}));if(ce.content.length>500)return x(!1),void N.Am.warning((0,M.jsx)(n.cC,{i18nKey:"contentDesc"}));if(ce.subject.length>100)return x(!1),void N.Am.warning((0,M.jsx)(n.cC,{i18nKey:"contentDesc"}));const e={...ce,workingGroupId:a,assignedUsers:O};f.Z.addTask(e).then((e=>{x(!1),ne(!1),ve(),me(E.gx),B([])}),(e=>{const a=e.response&&e.response.data&&e.response.data.message||e.message||e.timeoutErrorMessage||e.toString();x(!1),j().fire({title:s(a),icon:"error",timer:2e3,showConfirmButton:!1})}))}else{if(""===A.subject.trim()||""===A.content.trim()||null===A.startDate||null===A.dueDate||0===(null===O||void 0===O?void 0:O.length))return x(!1),void N.Am.warning((0,M.jsx)(n.cC,{i18nKey:"warnMandatory"}));if(A.subject.length>100)return x(!1),void N.Am.warning((0,M.jsx)(n.cC,{i18nKey:"contentDesc"}));if(A.content.length>500)return x(!1),void N.Am.warning((0,M.jsx)(n.cC,{i18nKey:"contentDesc"}));const e={...A,workingGroupId:a,assignedUsers:O};f.Z.updateTask(e).then((e=>{x(!1),ne(!1),ve(),me(E.gx),B([])}),(e=>{const a=e.response&&e.response.data&&e.response.data.message||e.message||e.timeoutErrorMessage||e.toString();x(!1),j().fire({title:s(a),icon:"error",timer:2e3,showConfirmButton:!1})}))}};return(0,M.jsxs)(t.Fragment,{children:[(0,M.jsxs)(d.CC,{children:[(0,M.jsxs)("div",{className:"left-section",children:[(0,M.jsx)("div",{children:(0,M.jsx)(l.z,{className:"add-button",label:s("addTask"),onClick:()=>{pe("add"),ne(!0)}})}),(0,M.jsx)("div",{className:"tasks-wrapper",children:null===S||void 0===S?void 0:S.map(((e,t)=>{var i,n;return(0,M.jsxs)("div",{children:[(0,M.jsxs)("div",{className:(null===e||void 0===e?void 0:e.id)===(null===A||void 0===A?void 0:A.id)?"selectedTask":"task",onClick:()=>(e=>{Z(e);let s=[];for(let a=0;a<e.assignMemberList.length;a++)s.push(e.assignMemberList[a].user);B(s)})(e),children:[(0,M.jsxs)("div",{className:"flex align-items-center justify-content-between",children:[(0,M.jsxs)("div",{className:"date",children:[(0,r.jf)(null===e||void 0===e?void 0:e.dueDate)," "]}),3===(null===e||void 0===e?void 0:e.priority)&&(0,M.jsx)("div",{children:(0,M.jsx)("img",{src:"/assets/img/urgentIcon.png",alt:"",className:"urgent-icon"})})]}),(0,M.jsx)("div",{className:"header",children:(0,M.jsx)("div",{className:"title",children:null===e||void 0===e||null===(i=e.subject)||void 0===i?void 0:i.toUpperCase()})}),(0,M.jsx)("div",{className:"content",children:null===e||void 0===e?void 0:e.content}),(0,M.jsxs)("div",{children:[s("addedBy")," ",null===e||void 0===e?void 0:e.createdBy]}),(0,M.jsxs)("div",{className:"footer",children:[(0,M.jsx)("div",{className:"tag",style:ye(null===e||void 0===e?void 0:e.progress),children:ke(null===e||void 0===e?void 0:e.progress)}),(0,M.jsxs)("div",{className:"flex align-items-center gap-2",children:[(0,M.jsx)("span",{className:"action-buttons",onClick:()=>Ce("detail"),children:(0,M.jsx)("i",{className:"pi pi-info-circle"})}),(0,M.jsx)("span",{className:"action-buttons",onClick:()=>Ce("message"),children:(0,M.jsx)("i",{className:"pi pi-comment"})}),(0,M.jsx)("span",{className:"action-buttons",onClick:()=>Ce("mail"),children:(0,M.jsx)("i",{className:"pi pi-envelope"})}),(0,c.GJ)()||(null===e||void 0===e||null===(n=e.createdBy)||void 0===n?void 0:n.username)===(null===e||void 0===e?void 0:e.username)&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)("span",{className:"action-buttons",onClick:()=>(e=>{pe("update"),Z(e);let s=[];for(let a=0;a<e.assignMemberList.length;a++)s.push(e.assignMemberList[a].user);B(s),ne(!0)})(e),children:(0,M.jsx)("i",{className:"pi pi-pencil"})}),(0,M.jsx)("span",{className:"action-buttons",onClick:()=>(e=>{Z(e),de(!0)})(e),children:(0,M.jsx)("i",{className:"pi pi-trash"})})]})]})]})]}),"mobile"===C&&X&&(null===e||void 0===e?void 0:e.id)===(null===A||void 0===A?void 0:A.id)&&(0,M.jsxs)("div",{className:"task-info-container mt-2 p-2",children:[(0,M.jsx)("div",{className:"title",children:s("taskInfo").toUpperCase()}),(0,M.jsxs)("div",{className:"task-info-wrapper",children:[(0,M.jsxs)("div",{className:"task-members",children:[(0,M.jsx)("div",{className:"fw-bold",children:s("assignedMembers")}),(0,M.jsx)("div",{className:"w-full",children:(0,M.jsx)(m.l,{value:O,numVisible:3,numScroll:3,itemTemplate:Ne,showIndicators:!1})})]}),(0,M.jsxs)("div",{className:"info-section",children:[(0,M.jsxs)("div",{className:"info-wrapper",children:[(0,M.jsxs)("div",{className:"info-item",children:[(0,M.jsx)("h6",{className:"fw-bold",children:s("startDate")}),(0,M.jsxs)("span",{className:"startDate",children:[(0,r.jf)(null===A||void 0===A?void 0:A.startDate),(0,M.jsx)("i",{className:"pi pi-calendar\r\n"})]})]}),(0,M.jsxs)("div",{className:"info-item",children:[(0,M.jsx)("h6",{className:"fw-bold",children:s("dueDate")}),(0,M.jsxs)("span",{className:"startDate",children:[(0,r.jf)(null===A||void 0===A?void 0:A.dueDate),(0,M.jsx)("i",{className:"pi pi-calendar\r\n"})]})]})]}),(0,M.jsxs)("div",{className:"info-wrapper",children:[0!==(null===A||void 0===A?void 0:A.priority)&&(0,M.jsxs)("div",{className:"info-item",children:[(0,M.jsx)("h6",{className:"platformColor fw-bold",children:s("priority")}),(0,M.jsx)("span",{className:"startDate",children:we(null===A||void 0===A?void 0:A.priority)})]}),0!==(null===A||void 0===A?void 0:A.progress)&&(0,M.jsxs)("div",{className:"info-item",children:[(0,M.jsx)("h6",{className:"platformColor fw-bold",children:s("progress")}),(0,M.jsx)("span",{className:"startDate",children:ke(null===A||void 0===A?void 0:A.progress)})]})]})]}),(0,M.jsx)("div",{className:"note-section",children:(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(g.g,{id:"notes",value:null===A||void 0===A?void 0:A.content,className:"w-full p-in
1puttext-sm",rows:7,disabled:!0}),(0,M.jsxs)("label",{className:"notes fw-bold",htmlFor:"notes",children:[s("notes")," (*)"]})]})})]})]}),"mobile"===C&&ee&&(null===e||void 0===e?void 0:e.id)===(null===A||void 0===A?void 0:A.id)&&(0,M.jsxs)("div",{className:"message-board-container",children:[(0,M.jsx)("div",{className:"title",children:s("messageBoardAboutTheTask")}),(0,M.jsx)(w.Z,{url:F,topics:["/topic/message/wg"+a],onConnect:void 0,onDisconnect:void 0,onMessage:e=>je(e),debug:!1}),(0,M.jsx)("div",{className:"message-wrapper",children:null===T||void 0===T?void 0:T.map(((e,s)=>(0,M.jsxs)("div",{className:"message",children:[(0,M.jsx)("div",{className:"date",children:(0,r.jf)(null===e||void 0===e?void 0:e.submitTime)}),(0,M.jsxs)("div",{className:"content",children:[(0,M.jsx)("div",{className:"message-image-wrapper",children:(0,M.jsx)("img",{className:"message-img",src:null===e||void 0===e?void 0:e.userAvatar,alt:""})}),(0,M.jsxs)("div",{className:"content-wrapper",children:[(0,M.jsxs)("div",{children:[" ",null===e||void 0===e?void 0:e.userFullName]}),(0,M.jsxs)("div",{children:[" ",null===e||void 0===e?void 0:e.organisationName]}),(0,M.jsxs)("div",{children:[" ",null===e||void 0===e?void 0:e.body]})]})]}),(0,M.jsx)("div",{className:"footer",children:(0,M.jsx)("i",{className:"pi pi-trash icon",onClick:()=>he(e)})})]},s)))}),(0,M.jsxs)("div",{className:"message-sender",children:[(0,M.jsx)("div",{className:"w-full",children:(0,M.jsx)(u.o,{type:"text",className:"p-inputtext-sm send-input",value:G,onChange:e=>{K(e.target.value)},placeholder:s("typeNewMessageHere"),onKeyDown:ge})}),(0,M.jsxs)("span",{label:s("save"),onClick:()=>be(),children:[(0,M.jsx)("i",{className:"pi pi-send send-icon"})," "]})]})]}),"mobile"===C&&ae&&(null===e||void 0===e?void 0:e.id)===(null===A||void 0===A?void 0:A.id)&&(0,M.jsxs)("div",{className:"mail-board-container",children:[(0,M.jsx)("div",{className:"title",children:s("sendAsAnEmail")}),(0,M.jsxs)("div",{className:"mail-wrapper",children:[(0,M.jsx)("div",{children:s("sendThisTaskAsAnEmailToAllTaskMembers")}),(0,M.jsx)("div",{className:"w-full",children:(0,M.jsx)(m.l,{value:O,numVisible:3,numScroll:3,itemTemplate:Ne,showIndicators:!1})}),(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(g.g,{id:"mailText",value:Y,className:"w-full p-inputtext-sm",rows:10}),(0,M.jsxs)("label",{className:"notes",htmlFor:"mailText",children:[s("writeYourMessage")," (*)"]})]}),(0,M.jsx)("div",{className:"w-full",children:(0,M.jsx)(l.z,{label:s("send"),className:"send-button"})})]})]})]},t)}))})]}),(0,M.jsxs)("div",{className:"right-section",children:[X&&"mobile"!==C&&(0,M.jsxs)("div",{className:"task-info-container",children:[(0,M.jsx)("div",{className:"title",children:s("taskInfo").toUpperCase()}),(0,M.jsxs)("div",{className:"task-info-wrapper",children:[(0,M.jsxs)("div",{className:"task-members",children:[(0,M.jsx)("div",{className:"fw-bold",children:s("assignedMembers")}),(0,M.jsx)("div",{className:"w-full",children:(0,M.jsx)(m.l,{value:O,numVisible:3,numScroll:3,itemTemplate:Ne,showIndicators:!1})})]}),(0,M.jsxs)("div",{className:"info-section",children:[(0,M.jsxs)("div",{className:"info-wrapper",children:[(0,M.jsxs)("div",{className:"info-item",children:[(0,M.jsx)("h6",{className:"fw-bold",children:s("startDate")}),(0,M.jsxs)("span",{className:"startDate",children:[(0,r.jf)(null===A||void 0===A?void 0:A.startDate),(0,M.jsx)("i",{className:"pi pi-calendar\r\n"})]})]}),(0,M.jsxs)("div",{className:"info-item",children:[(0,M.jsx)("h6",{className:"fw-bold",children:s("dueDate")}),(0,M.jsxs)("span",{className:"dueDate",children:[(0,r.jf)(null===A||void 0===A?void 0:A.dueDate),(0,M.jsx)("i",{className:"pi pi-calendar\r\n"})]})]})]}),(0,M.jsxs)("div",{className:"info-wrapper",children:[0!==(null===A||void 0===A?void 0:A.priority)&&(0,M.jsxs)("div",{className:"info-item",children:[(0,M.jsx)("h6",{className:"platformColor fw-bold",children:s("priority")}),(0,M.jsx)("span",{className:"startDate",children:we(null===A||void 0===A?void 0:A.priority)})]}),0!==(null===A||void 0===A?void 0:A.progress)&&(0,M.jsxs)("div",{className:"info-item",children:[(0,M.jsx)("h6",{className:"platformColor fw-bold",children:s("progress")}),(0,M.jsx)("span",{className:"dueDate",children:ke(null===A||void 0===A?void 0:A.progress)})]})]})]}),(0,M.jsx)("div",{className:"note-section",children:(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(g.g,{id:"notes",value:null===A||void 0===A?void 0:A.content,className:"w-full p-in
1puttext-sm",rows:7,readOnly:!0}),(0,M.jsxs)("label",{className:"notes fw-bold",htmlFor:"notes",children:[s("notes")," (*)"]})]})})]})]}),ee&&"mobile"!==C&&(0,M.jsxs)("div",{className:"message-board-container",children:[(0,M.jsx)("div",{className:"title",children:s("messageBoardAboutTheTask")}),(0,M.jsx)(w.Z,{url:F,topics:["/topic/message/wg"+a],onConnect:void 0,onDisconnect:void 0,onMessage:e=>je(e),debug:!1}),(0,M.jsx)("div",{className:"message-wrapper",children:null===T||void 0===T?void 0:T.map(((e,s)=>(0,M.jsxs)("div",{className:"message",children:[(0,M.jsx)("div",{className:"date",children:(0,r.jf)(null===e||void 0===e?void 0:e.submitTime)}),(0,M.jsxs)("div",{className:"content",children:[(0,M.jsx)("div",{className:"message-image-wrapper",children:(0,M.jsx)("img",{className:"message-img",src:null===e||void 0===e?void 0:e.userAvatar,alt:""})}),(0,M.jsxs)("div",{className:"content-wrapper",children:[(0,M.jsxs)("div",{children:[" ",null===e||void 0===e?void 0:e.userFullName]}),(0,M.jsxs)("div",{children:[" ",null===e||void 0===e?void 0:e.organisationName]}),(0,M.jsxs)("div",{children:[" ",null===e||void 0===e?void 0:e.body]})]})]}),(0,M.jsx)("div",{className:"footer",children:(0,M.jsx)("i",{className:"pi pi-trash icon",onClick:()=>he(e)})})]},s)))}),(0,M.jsxs)("div",{className:"message-sender",children:[(0,M.jsx)("div",{className:"w-full",children:(0,M.jsx)(u.o,{id:"firstName",type:"text",className:"w-full p-inputtext-sm block",value:G,onChange:e=>{K(e.target.value)},placeholder:s("typeNewMessageHere"),onKeyDown:ge})}),(0,M.jsx)("div",{children:(0,M.jsxs)("span",{className:"w-full",label:s("save"),onClick:()=>be(),children:[(0,M.jsx)("i",{className:"pi pi-send send-icon"})," "]})})]})]}),ae&&"mobile"!==C&&(0,M.jsxs)("div",{className:"mail-board-container",children:[(0,M.jsx)("div",{className:"title",children:s("sendAsAnEmail")}),(0,M.jsxs)("div",{className:"mail-wrapper",children:[(0,M.jsx)("div",{children:s("sendThisTaskAsAnEmailToAllTaskMembers")}),(0,M.jsx)("div",{className:"w-full",children:(0,M.jsx)(m.l,{value:O,numVisible:3,numScroll:3,itemTemplate:Ne,showIndicators:!1})}),(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(g.g,{id:"mailText",value:Y,className:"w-full p-inputtext-sm",rows:10,onChange:e=>J(e.target.value)}),(0,M.jsxs)("label",{className:"notes",htmlFor:"mailText",children:[s("writeYourMessage")," (*)"]})]}),(0,M.jsx)("div",{className:"w-full",children:(0,M.jsx)(l.z,{label:s("send"),className:"send-button",onClick:()=>{x(!0),f.Z.sendTaskInfo(null===A||void 0===A?void 0:A.id,Y).then((()=>{x(!1),N.Am.success(s("1096")),J("")})).catch((e=>{const a=e.response&&e.response.data&&e.response.data.message||e.message||e.timeoutErrorMessage||e.toString();x(!1),j().fire({title:s(a),icon:"error",timer:2e3,showConfirmButton:!1})}))}})})]})]})]})]}),(0,M.jsx)(y.Q,{visible:Q,onHide:()=>q(!1),message:s("confirmationMessage"),icon:"pi pi-exclamation-triangle",accept:()=>{x(!0),b.Z.deleteTaskDiscussionMessage(U.id).then((e=>{x(!1),N.Am.success(s(e.data.message)),L((e=>e.filter((e=>e.id!==U.id))))}),(e=>{const a=e.response&&e.response.data&&e.response.data.message||e.message||e.timeoutErrorMessage||e.toString();x(!1),j().fire({title:s(a),icon:"error",timer:2e3,showConfirmButton:!1})}))},reject:fe}),(0,M.jsx)(k.V,{visible:ie,modal:!0,className:"p-fluid w-75 h-75",footer:()=>(0,M.jsxs)("div",{className:"flex align-items-center justify-content-between",children:[(0,M.jsx)(l.z,{label:s("cancel"),className:"dialog-cancel-button",onClick:De}),(0,M.jsx)(l.z,{label:s("add"===ue?"addTask":"updateTask"),className:"dialog-save-fourth-button",onClick:()=>oe(!0)}),(0,M.jsx)(y.Q,{visible:le,onHide:()=>oe(!1),message:s("confirmationMessage"),accept:Te,reject:fe})]}),onHide:De,header:Se("add"===ue?"addTask":"updateTask"),children:(0,M.jsx)(I,{data:"add"===ue?ce:A,setData:"add"===ue?me:Z,filtredMembers:P,setFilteredMembers:_,searchMember:e=>{setTimeout((()=>{let s;s=e.query.trim().length?i.filter((s=>s.firstName.toLowerCase().startsWith(e.query.toLowerCase()))):[...i],_(s)}),250)},selectedMembers:O,setSelectedMembers:B,taskActionType:ue})}),(0,M.jsx)(y.Q,{visible:re,onHide:()=>de(!1),message:s("confirmationMessage"),icon:"pi pi-exclamation-triangle",accept:()=>{x(!0),f.Z.deleteTask(null===A||void 0===A?void 0:A.id).then((e=>{x(!1),ve()}),(e=>{const a=e.response&&e.response.data&&e.response.data.message||e.message||e.timeoutErrorMessage||e.toString();x(!1),j().fire({title:s(a),icon:"error",timer:2e3,showConfirmButton:!1})}))},reject:fe,acceptLabel:s("delete"),rejectLabel:s("no")})]})}));var O=a(3479),B=a(5861),P=a(1682),_=a(2e3),G=a(4298),K=a(1035),U=a(4032);const V=(0,n.Zh)()((e=>
1{let{isWgAdmin:s,t:a,workingGroupId:i,loading:o,setLoading:r,members:c}=e;const[m,p]=(0,t.useState)([]),[v,h]=(0,t.useState)(!1),[x,b]=(0,t.useState)(!1),[w,D]=(0,t.useState)(!1),[I,A]=(0,t.useState)(E.SD),[F,Z]=(0,t.useState)(""),[O,B]=(0,t.useState)(!1),[V,z]=(0,t.useState)(!1),[W,H]=(0,t.useState)([]),[R,Q]=(0,t.useState)([]);(0,t.useEffect)((()=>{""!==i&&(()=>{let e=[];f.Z.getAllCalendarEvents(i).then((s=>{r(!1);for(let l=0;l<s.data.length;l++){var a,t,i,n;const o={event_id:s.data[l].id,start:new Date(s.data[l].startDate),end:new Date(s.data[l].dueDate),title:s.data[l].subject,description:s.data[l].content,creator:s.data[l].createdBy.firstName+" "+s.data[l].createdBy.lastName,color:s.data[l].color,backgroundColor:s.data[l].color,priority:null===(a=s.data[l])||void 0===a?void 0:a.priority,progress:null===(t=s.data[l])||void 0===t?void 0:t.progress,members:null===(i=s.data[l])||void 0===i||null===(n=i.assignMemberList)||void 0===n?void 0:n.map((e=>null===e||void 0===e?void 0:e.user))};e.push(o)}p(e)}),(e=>{const s=e.response&&e.response.data&&e.response.data.message||e.message||e.timeoutErrorMessage||e.toString();r(!1),j().fire({title:a(s),icon:"error",timer:2e3,showConfirmButton:!1})}))})()}),[i]);const q=()=>{h(!1),b(!1),z(!1),A(E.SD),H([])},Y=()=>{b(!1),A(E.SD),H([])},J=()=>{},X=(0,M.jsxs)("div",{className:"flex align-items-center justify-content-evenly",children:[(0,M.jsx)(l.z,{label:a("cancel"),className:"dialog-cancel-button",onClick:q,id:"buttonFontWeight"}),(0,M.jsx)(l.z,{label:a("save"),onClick:()=>D(!0),className:"dialog-save-fourth-button",id:"buttonFontWeight"}),(0,M.jsx)(y.Q,{visible:w,onHide:()=>D(!1),message:a("confirmationMessage"),accept:()=>{if(""===I.title.trim()||""===I.description.trim()||""===I.color.trim()||""===I.start||null===I.start||""===I.end||null===I.end)return r(!1),void N.Am.warning((0,M.jsx)(n.cC,{i18nKey:"warnMandatory"}));if(V){const e=F.event,s={id:I.event_id,subject:I.title,content:I.description,color:I.color,startDate:I.start,dueDate:I.end,priority:I.priority,progress:I.progress,workingGroupId:i,assignedUsers:W};f.Z.updateCalendarEvent(s).then((()=>{e.setExtendedProp("event_id",I.event_id),e.setExtendedProp("description",I.description),e.setExtendedProp("creator",I.creator),e.setProp("title",I.title),e.setProp("backgroundColor",I.backgroundColor),e.setStart(I.start),e.setEnd(I.end),e.setExtendedProp("progress",I.progress),e.setExtendedProp("priority",I.priority),Z(""),h(!1),b(!1),z(!1)}),(e=>{const s=e.response&&e.response.data&&e.response.data.message||e.message||e.timeoutErrorMessage||e.toString();r(!1),j().fire({title:a(s),icon:"error",timer:2e3,showConfirmButton:!1})}))}else{const e=F.view.calendar,s={subject:I.title,content:I.description,color:I.color,startDate:I.start,dueDate:I.end,priority:I.priority,progress:I.progress,assignedUsers:W,workingGroupId:i};f.Z.addCalendarEvent(s).then((s=>{e.addEvent({...I,event_id:s.data.calendarEvent.id}),e.unselect(),Z(""),h(!1)}),(e=>{const s=e.response&&e.response.data&&e.response.data.message||e.message||e.timeoutErrorMessage||e.toString();r(!1),j().fire({title:a(s),icon:"error",timer:2e3,showConfirmButton:!1})}))}},reject:J})]}),$=(0,M.jsx)("div",{className:"flex align-items-center justify-content-evenly",children:(0,M.jsx)(l.z,{label:a("cancel"),className:"dialog-cancel-button",onClick:Y})}),ee=e=>(0,M.jsx)("span",{style:{color:"#116182",fontWeight:"bold",fontSize:"16px"},children:a(e)}),se=e=>(0,M.jsxs)(M.Fragment,{children:[e.firstName," ",e.lastName]}),ae=e=>{setTimeout((()=>{let s;s=e.query.trim().length?c.filter((s=>s.firstName.toLowerCase().startsWith(e.query.toLowerCase()))):[...I.members],Q(s)}),250)};return(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(d.Kb,{children:(0,M.jsx)(P.Z,{themeSystem:"Simplex",plugins:[_.Z,G.Z,K.ZP,U.Z],headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay,listMonth"},initialView:"dayGridMonth",selectable:!0,dayMaxEvents:!0,eventClick:e=>{var s,a,t;Z(e),A({...I,event_id:e.event._def.extendedProps.event_id,title:e.event.title,start:e.event.start,end:e.event.end,description:e.event._def.extendedProps.description,creator:e.event._def.extendedProps.creator,color:e.event._def.ui.backgroundColor,backgroundColor:e.event._def.ui.backgroundColor,priority:e.event._def.extendedProps.priority,progress:e.event._def.extendedProps.progress}),b(!0);const i=null===e||void 0===e||null===(s=e.event)||void 0===s||null===(a=s._def)||void 0===a||null===(t=a.extendedProps)||void 0===t?void 0:t.members;H(i)},select:e=>{s&&(Z(e),A({...I,start:e.start?e.start:"",end:e.end?e.end:""}),h(!0))},events:m})}
1),(0,M.jsx)(k.V,{visible:v,modal:!0,className:"p-fluid dialog-size",onHide:q,footer:X,header:ee("event"),children:(0,M.jsx)("div",{id:"dialogContainer",className:"flex flex-column gap-3 mt-2",children:(0,M.jsxs)("div",{id:"callInputs",className:"flex flex-column gap-3",children:[(0,M.jsx)("div",{id:"title",children:(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(u.o,{id:"title",type:"text",className:"w-full p-inputtext-sm block",value:I.title,maxLength:50,onChange:e=>{A({...I,title:e.target.value})}}),(0,M.jsxs)("label",{className:"platformColor",htmlFor:"title",children:[a("title")," (*)"]})]})}),(0,M.jsxs)("div",{id:"typeOfCallAndDeadline",className:"flex align-items-center gap-2",children:[(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(T.f,{className:"w-full p-inputtext-sm",id:"start",value:I.start,showTime:!0,onChange:e=>A({...I,start:e.target.value}),dateFormat:"dd/mm/yy",appendTo:"self",readOnlyInput:!0}),(0,M.jsxs)("label",{className:"platformColor",htmlFor:"start",children:[a("start")," (*)"]})]}),(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(T.f,{className:"w-full p-inputtext-sm",id:"end",minDate:I.start,value:I.end,showTime:!0,onChange:e=>A({...I,end:e.target.value}),dateFormat:"dd/mm/yy",appendTo:"self",readOnlyInput:!0}),(0,M.jsxs)("label",{className:"platformColor",htmlFor:"end",children:[a("end")," (*)"]})]})]}),(0,M.jsx)("div",{className:"input-item",children:(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(C.L,{value:null===I||void 0===I?void 0:I.priority,options:L.jY,onChange:e=>A({...I,priority:e.value}),optionLabel:"name",optionValue:"code",className:"p-inputtext-sm w-full",id:"priority"}),(0,M.jsx)("label",{htmlFor:"priority",children:a("priority")})]})}),(0,M.jsx)("div",{className:"input-item",children:(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(C.L,{value:null===I||void 0===I?void 0:I.progress,options:L.lZ,onChange:e=>A({...I,progress:e.value}),optionLabel:"name",optionValue:"code",className:"p-inputtext-sm w-full",id:"progress"}),(0,M.jsx)("label",{htmlFor:"progress",children:a("progress")})]})}),(0,M.jsx)("div",{className:"input-item",children:(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(S.Q,{value:W,suggestions:R,completeMethod:ae,itemTemplate:se,field:"firstName",multiple:!0,onChange:e=>H(e.value),id:"assignMembers"}),(0,M.jsxs)("label",{className:"platformColor",htmlFor:"assignMembers",children:[a("assignMembers")," (*)"]})]})}),(0,M.jsx)("div",{id:"details",children:(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(g.g,{id:"details",type:"text",className:"w-full p-inputtext-sm block",value:I.description,maxLength:50,rows:12,onChange:e=>A({...I,description:e.target.value})}),(0,M.jsxs)("label",{className:"platformColor",htmlFor:"details",children:[a("details")," (*)"]})]})}),(0,M.jsx)("div",{id:"color",children:(0,M.jsxs)("div",{className:"p-float-label w-full mb-5",children:[(0,M.jsx)(C.L,{id:"color",className:"w-full p-inputtext-sm",value:I.color,options:L.uY,valueTemplate:(e,s)=>e?(0,M.jsxs)("div",{className:"flex align-items-center gap-2",children:[(0,M.jsx)("span",{style:{width:"17px",height:"17px",backgroundColor:"".concat(e.value),borderRadius:"50%",borderColor:"".concat(e.value," !important")}}),(0,M.jsx)("div",{children:e.text})]}):(0,M.jsx)("span",{children:s.placeholder}),itemTemplate:e=>(0,M.jsxs)("div",{className:"flex align-items-center gap-2",children:[(0,M.jsx)("span",{style:{width:"17px",height:"17px",backgroundColor:"".concat(e.value),borderRadius:"50%",borderColor:"".concat(e.value," !important")}}),(0,M.jsx)("div",{children:null===e||void 0===e?void 0:e.text})]}),onChange:e=>{A({...I,color:e.value,backgroundColor:e.value})},optionLabel:"text",optionValue:"value",appendTo:"self"}),(0,M.jsxs)("label",{className:"platformColor",htmlFor:"color",children:[a("color")," (*)"]})]})})]})})}),(0,M.jsx)(k.V,{visible:x,modal:!0,className:"p-fluid dialog-size",footer:$,onHide:Y,header:()=>(0,M.jsxs)("div",{className:"flex justify-content-between align-items-center",children:[(0,M.jsx)("div",{id:"date",children:ee("taskInfo")}),s&&(0,M.jsxs)("div",{id:"buttons",className:"flex align-items-center gap-4",children:[(0,M.jsx)("i",{onClick:()=>(h(!0),void z(!0)),className:"pi pi-pencil",style:{color:"#595959",cursor:"pointer"}}),(0,M.jsx)("i",{onClick:()=>B(!0),className:"pi pi-trash",style:{color:"#595959",cursor:"pointer"}})]})]}),closable:!1,children:(0,M.jsxs)(d.RL,{children:[(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(u.o,{id:"subject",value:null===I||void 0===I?void 0:I.title,className:"w-full p-in
1puttext-sm",disabled:!0}),(0,M.jsxs)("label",{htmlFor:"title",children:[a("title")," (*)"]})]}),(0,M.jsxs)("div",{className:"input-wrapper",children:[(0,M.jsx)("div",{className:"input-item",children:(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(C.L,{value:null===I||void 0===I?void 0:I.priority,options:L.jY,optionLabel:"name",optionValue:"code",className:"p-inputtext-sm w-full",id:"priority",disabled:!0}),(0,M.jsx)("label",{htmlFor:"priority",children:a("priority")})]})}),(0,M.jsx)("div",{className:"input-item",children:(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(C.L,{value:null===I||void 0===I?void 0:I.progress,options:L.lZ,optionLabel:"name",optionValue:"code",className:"p-inputtext-sm w-full",id:"progress",disabled:!0}),(0,M.jsx)("label",{htmlFor:"progress",children:a("progress")})]})})]}),(0,M.jsxs)("div",{className:"input-wrapper",children:[(0,M.jsx)("div",{className:"input-item",children:(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(T.f,{value:null===I||void 0===I?void 0:I.start,dateFormat:"dd/mm/yy",className:"p-inputtext-sm w-full",showIcon:!0,id:"startDate",showButtonBar:!0,appendTo:"self",readOnlyInput:!0,disabled:!0}),(0,M.jsxs)("label",{htmlFor:"startDate",children:[a("startDate")," (*)"]})]})}),(0,M.jsx)("div",{className:"input-item",children:(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(T.f,{value:null===I||void 0===I?void 0:I.end,dateFormat:"dd/mm/yy",className:"p-inputtext-sm w-full",showIcon:!0,id:"dueDate",appendTo:"self",readOnlyInput:!0,disabled:!0}),(0,M.jsxs)("label",{htmlFor:"dueDate",children:[a("dueDate")," (*)"]})]})})]}),(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(S.Q,{value:W,suggestions:R,completeMethod:ae,itemTemplate:se,field:"firstName",multiple:!0,onChange:e=>H(e.value),id:"assignMembers",disabled:!0}),(0,M.jsxs)("label",{className:"platformColor",htmlFor:"assignMembers",children:[a("assignMembers")," (*)"]})]}),(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(g.g,{value:null===I||void 0===I?void 0:I.description,rows:5,cols:30,className:"w-full",id:"notes",disabled:!0}),(0,M.jsxs)("label",{className:"platformColor",htmlFor:"notes",children:[a("notes")," (*)"]})]})]})}),(0,M.jsx)(y.Q,{visible:O,onHide:()=>B(!1),message:a("confirmationMessage"),accept:()=>{f.Z.deleteCalendarEvent(I.event_id).then((()=>{F.event.remove(),b(!1),A(E.SD)}),(e=>{const s=e.response&&e.response.data&&e.response.data.message||e.message||e.timeoutErrorMessage||e.toString();r(!1),j().fire({title:a(s),icon:"error",timer:2e3,showConfirmButton:!1})}))},reject:J})]})}));var z=a(8467),W=a(2135),H=a(3346);const R=(0,n.Zh)()((e=>{let{t:s,workingGroupUpdatesContent:a,setWorkingGroupUpdatesContent:t}=e;return(0,M.jsx)("div",{className:"w-full",children:(0,M.jsxs)("div",{className:"flex flex-column gap-3",children:[(0,M.jsxs)("span",{children:[" ",s("addUpdate")]}),(0,M.jsxs)("div",{className:"p-float-label w-full",children:[(0,M.jsx)(g.g,{value:a.content,onChange:e=>{t({...a,content:e.target.value})},rows:5,cols:30,className:"w-full",id:"updateDesc"}),(0,M.jsx)("label",{htmlFor:"updateDesc",children:s("updateAboutTheWorkingGroup")})]}),(0,M.jsxs)("div",{className:"flex gap-3",children:[(0,M.jsx)(D.Q,{checked:a.emailStatus,onChange:e=>{t({...a,emailStatus:e.value})},trueValue:"y",falseValue:"n"}),(0,M.jsx)("span",{children:s("doYouWantToSendEmailToWorkingGroupMembers")})]})]})})}));var Q=a(5821),q=a(1742),Y=a(8925);const J=(0,n.Zh)()((e=>{var s;let{t:a}=e;const{id:d}=(0,z.UO)(),[c,m]=(0,t.useState)(!1),[p,v]=(0,t.useState)(!1),[g,h]=(0,t.useState)(!1),[x,b]=(0,t.useState)(!1),[w,S]=(0,t.useState)(""),[D,T]=(0,t.useState)(""),[L,I]=(0,t.useState)([]),[F,P]=(0,t.useState)([]),[_,G]=(0,t.useState)([]),[K,U]=(0,t.useState)([]),[J,X]=(0,t.useState)([]),[$,ee]=(0,t.useState)(null),[se,ae]=(0,t.useState)(E.Xd),[te,ie]=(0,t.useState)(!1),[ne,le]=(0,t.useState)(""),[oe,re]=(0,t.useState)({global:{value:"",matchMode:q.a6.CONTAINS}}),de={target:"_blank",rel:"noopener noreferrer"},ce=()=>{m(!0),f.Z.getPosts(D,2).then((e=>{m(!1),P(e.data)}),(e=>{const s=e.response&&e.response.data&&e.response.data.message||e.message||e.timeoutErrorMessage||e.toString();m(!1),j().fire({title:a(s),icon:"error",timer:2e3,showConfirmButton:!1})}))};(0,t.useEffect)((()=>{m(!0),f.Z.getWorkingGroupWithLinkId(d).then((e=>{m(!1),T(e.data.workingGroup.id),S(e.data.workingGroup);const s=e.data.userList.map((e=>({...e,id:e.traUserId})));I(s),b(e.data.access);const a=(null===e||void 0===e?void 0:e.data.workingGroup.documentList)||[],t=(null===e||void 0===e?void 0:e.data.workingGroup.usefulLinkList)||[],i=[...a.filter((e=>1===e.docType)),...t];U(i)}),(e=>{const s=e.response&&e.response.data&&e.response.data.message||e.message||e.timeoutErrorMessage||e.toString();m(!1),j().fire({title:a(s),icon:"error",timer:2e3,showConfirmButton:!1})}))}),[]),(0,t.useEffect)((()=>{""!==D&&(ce(),f.Z.getDocumentCategory(D).then((e=>{X(e.data)}),(e=>{const s=e.response&&e.response.data&&e.response.data.message||e.message||e.timeoutErrorMessage||e.toString();m(!1),j().fire({title:a(s),icon:"error",timer:2e3,showConfirmButton:!1})})))}),[D]),(0,t.useEffect)((()=>{void 0!==(null===w||void 0===w?void 0:w.name)&&null!==(null===w||void 0===w?void 0:w.name)&&""!==(null===w||void 0===w?void 0:w.name)&&(document.title=null===w||void 0===w?void 0:w.name)}),[w]);const me=()=>{v(!1),ae(E.Xd)},ue=()=>{},pe=(0,M.jsxs)("div",{className:"flex align-items-center justify-content-center",children:[(0,M.jsx)(l.z,{label:a("cancel"),onClick:me,className:"dialog-cancel-button"}),(0,M.jsx)(l.z,{label:a("publishUpdate"),onClick:()=>h(!0),className:"dialog-save-fourth-button"}),(0,M.jsx)(y.Q,{visible:g,onHide:()=>h(!1),message:a("confirmationMessage"),accept:()=>{if(m(!0),""===se.content.trim())return m(!1),void N.Am.warning((0,M.jsx)(n.cC,{i18nKey:"warn
1Mandatory"}));if(D){const e={...se,postType:2,workingGroupId:D,subject:""};f.Z.addPost(e).then((e=>{ce(),v(!1),ae(E.Xd)}),(e=>{const s=e.response&&e.response.data&&e.response.data.message||e.message||e.timeoutErrorMessage||e.toString();m(!1),j().fire({title:a(s),icon:"error",timer:2e3,showConfirmButton:!1})}))}},reject:ue})]}),ve=(0,M.jsxs)("div",{className:"w-full flex flex-column gap-2",children:[(0,M.jsxs)("span",{className:"p-input-icon-right w-full",children:[(0,M.jsx)("i",{className:"pi pi-search"}),(0,M.jsx)(u.o,{value:ne,onChange:e=>{const s=e.target.value,a={...oe,global:{...oe.global||{},value:s}};re(a),le(s)},placeholder:a("search"),className:"w-full",style:{height:"35px"}})]}),(0,M.jsxs)("div",{className:"p-float-label w-full ",children:[(0,M.jsx)(C.L,{className:"w-full p-inputtext-sm",value:$,options:J,onChange:e=>ee(e.value),optionLabel:"name",optionValue:"name",appendTo:"self"}),(0,M.jsx)("label",{htmlFor:"category",children:a("category")})]}),(0,M.jsxs)("div",{onClick:()=>{re({global:{value:"",matchMode:q.a6.CONTAINS}}),le(""),ee(null)},className:"flex align-items-center justify-content-between underline",children:[(0,M.jsx)("label",{className:"cursor-pointer",onClick:()=>{const e=[["File Name","Title","Description",...D?["Category"]:[]],...ge.map((e=>[e.fileName||e.link||"",e.documentTitle||e.title||"",e.description||"",...D?[e.category||""]:[]]))].map((e=>e.map((e=>'"'.concat(String(e).replace(/"/g,'""'),'"'))).join(","))).join("\n"),s=new Blob([e],{type:"text/csv;charset=utf-8;"}),a="".concat(null!==w&&void 0!==w&&w.name?(null===w||void 0===w?void 0:w.name)+"_":"","resources.csv");(0,Y.saveAs)(s,a)},children:a("exportCSV")}),(0,M.jsx)("label",{className:"cursor-pointer",children:a("resetFilter")})]})]}),ge=(0,t.useMemo)((()=>{let e=K;if($&&(e=e.filter((e=>(e.category?String(e.category).toLowerCase():"")===String($).toLowerCase()))),ne){const s=ne.toLowerCase();e=e.filter((e=>{const a=(e.documentTitle||e.title||"").toLowerCase(),t=(e.description||"").toLowerCase(),i=(e.category||"").toLowerCase(),n=(e.fileName||"").toLowerCase(),l=(e.link||"").toLowerCase();return a.includes(s)||t.includes(s)||i.includes(s)||n.includes(s)||l.includes(s)}))}return e}),[K,$,ne]);return(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)(i.ju,{children:[(0,M.jsxs)("div",{className:"banner-container",children:[(0,M.jsx)("div",{className:"banner",children:(0,M.jsx)("img",{className:"banner-img",src:null===w||void 0===w?void 0:w.bannerURL,alt:""})}),(0,M.jsxs)("div",{className:"working-group-info",children:[(0,M.jsxs)("div",{className:"left-section",children:[(0,M.jsx)("div",{className:"flex align-items-center justify-content-center",children:(0,M.jsx)("img",{src:null===w||void 0===w||null===(s=w.cluster)||void 0===s?void 0:s.logoLink,alt:"",className:"cluster-logo"})}),(0,M.jsxs)("div",{className:"flex flex-column gap-2",children:[(0,M.jsx)("div",{className:"name",children:null===w||void 0===w?void 0:w.name}),(0,M.jsx)("div",{className:"subtext",children:null===w||void 0===w?void 0:w.bannerText}),(0,M.jsx)("div",{className:"cluster-type",children:(e=>{switch(e){case"1":return a("private");case"2":return a("public")}})(null===w||void 0===w?void 0:w.workingGroupType)})]})]}),(0,M.jsxs)("div",{className:"right-section",children:[(0,M.jsxs)("div",{children:[a("contactEmail"),":"," ",(0,M.jsx)("span",{children:null===w||void 0===w?void 0:w.contactEmail})]}),x&&(0,M.jsx)(W.OL,{to:"/workingGroupProfile",state:w,children:(0,M.jsx)(l.z,{className:"join-button",icon:"pi pi-file-edit",label:a("updatePage")})})]})]})]}),(0,M.jsxs)("div",{className:"about-working-group",children:[(0,M.jsx)("div",{className:"title",children:a("aboutWorkingGroup")}),(0,M.jsx)("div",{className:"wg-description",children:(null===w||void 0===w?void 0:w.description)&&(0,H.ZP)(null===w||void 0===w?void 0:w.description)})]}),(0,M.jsxs)("div",{className:"members-updates-container",children:[(0,M.jsxs)("div",{className:"members-container",children:[(0,M.jsx)("div",{className:"title",children:a("members")}),(0,M.jsx)("div",{className:"members-wrapper",children:null===L||void 0===L?void 0:L.map(((e,s)=>(0,M.jsxs)("div",{className:"member",children:[(0,M.jsx)("div",{className:2===(null===e||void 0===e?void 0:e.traUserTypeStatus)&&"isAdminImageContainer",children:(0,M.jsx)("img",{className:"member-img",src:null===e||void 0===e?void 0:e.avatarLink,alt:""})}),(0,M.jsxs)("div",{className:"flex flex-column gap-2",children:[(0,M.jsxs)("div",{className:2===(null===e||void 0===e?void 0:e.traUserTypeStatus)&&"isAdmin",children:[null===e||void 0===e?void 0:e.firstName," ",null===e||void 0===e?void 0:e.lastName]}),(0,M.jsx)("div",{className:2===(null===e||void 0===e?void 0:e.traUserTypeStatus)&&"isAdmin",children:null===e||void 0===e?void 0:e.traOrgName})]})]},s)))})]}),(0,M.jsxs)("div",{className:"updates-container",children:[(0,M.jsx)("div",{className:"w-full",children:(0,M.jsx)(l.z,{className:"add-button",label:a("addUpdate"),onClick:()=>v(!0)})}),(0,M.jsx)("div",{className:"updates-wrapper",children:null===F||void 0===F?void 0:F.map(((e,s)=>(0,M.jsxs)("div",{className:"update",children:[(0,M.jsxs)("div",{className:"update-container d-flex justify-content-between",children:[(0,M.jsx)("div",{className:"content",children:(0,M.jsx)(Q.Z,{options:de,children:null===e||void 0===e?void 0:e.content})}),(0,M.jsx)("div",{className:"date",style:{alignItems:"start"},children:(0,r.jf)(null===e||void 0===e?void 0:e.creationTime)})]}),(0,M.jsxs)("div",{className:"footer mt-2",style:{marginTop:"auto"},children:[(0,M.jsxs)("div",{children:[a("addedBy")," ",null===e||void 0===e?void 0:e.createdBy]}),(0,M.jsx)("div",{children:(0,M.jsx)("span",{onClick:()=>{G(e),ie(!0)},children:(0,M.jsx)("i",{className:"pi pi-trash deleteIcon"})})})]})]},s)))})]})]}),(0,M.jsx)("div",{className:"tab-panels py-1",children:(0,M.jsxs)(o.f,{children:["2"===(null===w||void 0===w?void 0:w.taskStatus)&&""!==D&&(0,M.jsx)(o.x,{header:a("tasks"),children:(0,M.jsx)(Z,{workingGroupId:D,members:L,loading:c,setLoading:m})}),"2"===(null===w||void 0===w?void 0:w.calendarStatus)&&(0,M.jsx)(o.x,{header:a("calendar"),children:(0,M.jsx)(V,{isWgAdmin:x,workingGroupId:D,loading:c,members:L,setLoading:m})}),"2"===(null===w||void 0===w?void 0:w.resourceStatus)&&(0,M.jsx)(o.x,{header:a("resourcesCapitalized"),children:(0,M.jsxs)(B.w,{name:"dtDoc",size:"small",showGridlines:!0,value:ge,dataKey:"fileName",stripedRows:!0,responsiveLayout:"scroll",emptyMessage:a("noDocumentFound"),rows:25,loading:c,header:ve,filters:oe,globalFilterFields:["fileName","documentTitle","description","category","link"],children:[(0,M.jsx)(O.s,{body:e=>{const s=e.documentName?"pi pi-file":"pi pi-link",t=e.documentName?a("document"):a("link");return(0,M.jsx)("i",{className:"".concat(s),title:t,style:{fontSize:"1rem",color:"#116182"}})},style:{width:"5%",textAlign:"center"}}),(0,M.jsx)(O.s,{body:e=>e.fileName||e.link,style:{width:"25%"},header:a("fileName")}
1),(0,M.jsx)(O.s,{body:e=>e.documentTitle||e.title,style:{width:"20%"},header:a("title")}),(0,M.jsx)(O.s,{field:"description",style:{width:"20%"},header:a("description")}),D&&(0,M.jsx)(O.s,{field:"category",style:{width:"20%"},header:a("category")}),(0,M.jsx)(O.s,{header:a("actions"),style:{textAlign:"center",width:"10%"},headerStyle:{backgroundColor:"rgb(248, 214, 189)"},body:(e,s)=>{var t;const i=null===e||void 0===e?void 0:e.documentName;return(0,M.jsx)("div",{children:i?(0,M.jsx)(l.z,{icon:"pi pi-download",tooltip:a("download"),className:"p-button-rounded p-button-text",onClick:()=>(0,r.mZ)(e,s)}):(0,M.jsx)("a",{href:null!==e&&void 0!==e&&null!==(t=e.link)&&void 0!==t&&t.startsWith("http")?e.link:"https://".concat(e.link),target:"_blank",rel:"noopener noreferrer",children:(0,M.jsx)(l.z,{icon:"pi pi-external-link",tooltip:a("goToLink"),className:"p-button-rounded p-button-text"})})})}})]})})]})}),(0,M.jsx)("div",{})]}),(0,M.jsx)(k.V,{visible:p,modal:!0,className:"p-fluid dialog-size",footer:pe,onHide:me,children:(0,M.jsx)(R,{workingGroupUpdatesContent:se,setWorkingGroupUpdatesContent:ae})}),(0,M.jsx)(y.Q,{visible:te,onHide:()=>ie(!1),message:a("confirmationDelete"),icon:"pi pi-exclamation-triangle",accept:()=>{m(!0),f.Z.deletePost(null===_||void 0===_?void 0:_.id,2).then((e=>{ce(),m(!1)}),(e=>{const s=e.response&&e.response.data&&e.response.data.message||e.message||e.timeoutErrorMessage||e.toString();m(!1),j().fire({title:a(s),icon:"error",timer:2e3,showConfirmButton:!1})}))},reject:ue,className:"delete",acceptLabel:a("delete"),rejectLabel:a("no")}),(0,M.jsx)(A.Z,{loading:c,lang:a})]})}))},5877:(e,s,a)=>{a.d(s,{Z:()=>i});var t=a(3152);function i(){const e=JSON.parse(localStorage.getItem(t.AI)),s={"Content-Type":"application/json",Accept:"application/json"};return e&&e.token?{...s,Authorization:"Bearer "+e.token}:{}}},7691:(e,s,a)=>{a.d(s,{Z:()=>n});var t=a(8180),i=a(5877);const n=new class{getOrganisation(e){return t.Z.get("es/findOrganisationByOrganisationId",{params:{orgId:e},headers:(0,i.Z)()})}searchLogs(e){return t.Z.post("es/searchLogs",{newLogSearchData:e},{headers:(0,i.Z)()})}getDiscussions(e){return t.Z.get("es/discussions",{params:{wgId:e},headers:(0,i.Z)()})}addDiscussionMessage(e,s){return t.Z.post("es/addDiscussionMessage",{wgId:e,body:s},{headers:(0,i.Z)()})}deleteDiscussionMessage(e){return t.Z.get("es/deleteDiscussionMessage",{params:{msgid:e},headers:(0,i.Z)()})}getTaskDiscussions(e){return t.Z.get("es/taskDiscussions",{params:{taskId:e},headers:(0,i.Z)()})}addTaskDiscussionMessage(e,s,a){return t.Z.post("es/addTaskDiscussionMessage",{wgId:e,taskId:s,body:a},{headers:(0,i.Z)()})}deleteTaskDiscussionMessage(e){return t.Z.get("es/deleteTaskDiscussionMessage",{params:{msgid:e},headers:(0,i.Z)()})}getCordis(e){return t.Z.get("es/findProjectsByOrganisationId",{params:{orgId:e},headers:(0,i.Z)()})}}}}]);

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.